新增、编辑图形确认按钮给postFigureName多加参数

This commit is contained in:
qiudan 2023-12-05 15:44:04 +08:00
parent 188f216179
commit c116840922
1 changed files with 4 additions and 3 deletions

View File

@ -2125,6 +2125,7 @@ export default {
this.numberNew + this.numberNew +
',' + ',' +
form.Direction form.Direction
+',add'
) )
); );
} else { } else {
@ -2132,7 +2133,7 @@ export default {
.getElementById('mapModule') .getElementById('mapModule')
.contentWindow.postFigureName( .contentWindow.postFigureName(
JSON.stringify( JSON.stringify(
res.data.data + ',' + form.name + ',' + this.startFigureName + ',' + this.numberNew + ',' res.data.data + ',' + form.name + ',' + this.startFigureName + ',' + this.numberNew + ', '+',add'
) )
); );
} }
@ -2235,14 +2236,14 @@ export default {
.getElementById('mapModule') .getElementById('mapModule')
.contentWindow.postFigureName( .contentWindow.postFigureName(
JSON.stringify( JSON.stringify(
form.id + ',' + form.name + ',' + this.startFigureName + ',' + this.numberNew + ',' + form.Direction form.id + ',' + form.name + ',' + this.startFigureName + ',' + this.numberNew + ',' + form.Direction+',edit'
) )
); );
} else { } else {
document document
.getElementById('mapModule') .getElementById('mapModule')
.contentWindow.postFigureName( .contentWindow.postFigureName(
JSON.stringify(form.id + ',' + form.name + ',' + this.startFigureName + ',' + this.numberNew + ',') JSON.stringify(form.id + ',' + form.name + ',' + this.startFigureName + ',' + this.numberNew + ', '+',edit')
); );
} }