双击修改模拟区图形,缺少direction数据更新bug修改
This commit is contained in:
parent
eea792408a
commit
0a1052b26f
|
@ -1859,9 +1859,10 @@ export default {
|
|||
}
|
||||
});
|
||||
},
|
||||
//修改模拟区组件、图形
|
||||
//双击修改模拟区组件、图形
|
||||
getSimulationAreaEdit(id, type, componentType, name, number) {
|
||||
//console.log('number', number);
|
||||
// console.log('执行了getSimulationAreaEdit');
|
||||
// console.log('number', number);
|
||||
this.numberNew = number;
|
||||
if (type == '图形') {
|
||||
this.form.id = id;
|
||||
|
@ -1871,6 +1872,7 @@ export default {
|
|||
getJianktxDetails({ GraphicId: this.form.id }).then((res) => {
|
||||
this.form.name = res.data.data.graphicName;
|
||||
this.form.type = res.data.data.graphicType;
|
||||
this.form.Direction = res.data.data.direction;
|
||||
this.typeCheckList = res.data.data.type.split('|');
|
||||
if (res.data.data.isPerceptualCoding == '0') {
|
||||
this.switchValue = 0;
|
||||
|
@ -2042,7 +2044,7 @@ export default {
|
|||
this.title = this.figureType(item);
|
||||
this.orderShow = false;
|
||||
},
|
||||
//双击图形修改图形名称弹框
|
||||
//右击图形修改图形名称弹框
|
||||
getModifyTheNameN(data, number) {
|
||||
this.orderShow = true;
|
||||
//console.log('data', data);
|
||||
|
|
Loading…
Reference in New Issue