This commit is contained in:
2025-09-02 10:01:05 +08:00
parent 1484bd44fc
commit ff5f583326
68 changed files with 983 additions and 14306 deletions

View File

@ -765,21 +765,21 @@ export default {
},
// 添加文本框
addTextBox(position) {
this.$sendChanel("textTetlie", "标注");
this.$changeComponentShow(".textModelBox", true);
this.$recvChanel("textModelContent", (data) => {
console.log(data.text);
// this.$sendChanel("textTetlie", "标注");
// this.$changeComponentShow(".textModelBox", true);
// this.$recvChanel("textModelContent", (data) => {
// console.log(data.text);
let that = this;
let source_id = that.$md5(new Date().getTime() + "文本框");
let textBox = {
id: source_id,
position: position,
text: data.text,
text: '',
show: true,
};
let DbOption = {
source_id,
source_name: data.text,
source_name: '文本框',
source_type: "textBox",
p_id: findParentId(that.treeObj),
};
@ -791,7 +791,7 @@ export default {
cusAddNodes(that.$parent.treeObj, DbOption.p_id, [node]);
}
});
})
// })
},
// 获取当前得node