双击修改模拟区图形,缺少direction数据更新bug修改

This commit is contained in:
qiudan 2024-02-28 14:54:21 +08:00
parent eea792408a
commit 0a1052b26f
1 changed files with 5 additions and 3 deletions

View File

@ -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);