|
@@ -1454,6 +1454,7 @@
|
|
|
fullscreen
|
|
|
append-to-body
|
|
|
class="full-dialog"
|
|
|
+ @close="closeformulaComp"
|
|
|
>
|
|
|
<FormulaEdit
|
|
|
:wbsid="id"
|
|
@@ -1473,6 +1474,7 @@
|
|
|
fullscreen
|
|
|
append-to-body
|
|
|
class="full-dialog"
|
|
|
+ @close="closeformulaComp1"
|
|
|
>
|
|
|
<FormulaEditone
|
|
|
:wbsid="id"
|
|
@@ -1628,7 +1630,7 @@ export default {
|
|
|
|
|
|
importVisible: false,
|
|
|
tempList: [],
|
|
|
-
|
|
|
+ checkRow:{},
|
|
|
curEleTable: {},
|
|
|
editEleVisible: false,
|
|
|
editEleList: [],
|
|
@@ -2199,6 +2201,8 @@ export default {
|
|
|
},
|
|
|
|
|
|
handleEditFormula(index, row) {
|
|
|
+ console.log( row, 'row');
|
|
|
+ this.checkRow = row;
|
|
|
this.curEleTable = row;
|
|
|
selectFormElements(this.curEleTable.id, { type: 1 }).then((res) => {
|
|
|
this.editEleListFilter = res.data.data;
|
|
@@ -2521,7 +2525,24 @@ export default {
|
|
|
this.formulaCompVisible = true;
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+ //关闭公式弹窗
|
|
|
+ closeformulaComp() {
|
|
|
+ console.log( this.checkRow,' this.checkRow');
|
|
|
+
|
|
|
+ console.log("关闭");
|
|
|
+ selectFormElements( this.checkRow.id, { type: 1 }).then((res) => {
|
|
|
+ this.editEleListFilter = res.data.data;
|
|
|
+ this.editEleListAll = [].concat(this.editEleListFilter);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ //关闭公式弹窗
|
|
|
+ closeformulaComp1() {
|
|
|
+ console.log("关闭");
|
|
|
+ selectFormElements( this.checkRow.id, { type: 0 }).then((res) => {
|
|
|
+ this.editEleListFilter = res.data.data;
|
|
|
+ this.editEleListAll = [].concat(this.editEleListFilter);
|
|
|
+ });
|
|
|
+ },
|
|
|
getNodeTypelist() {
|
|
|
const type = this.wbsType;
|
|
|
console.log(this.nodeTypelist, "this.nodeTypelist");
|