Răsfoiți Sursa

元素库修改

duy 2 ani în urmă
părinte
comite
3351860e9f

+ 2 - 1
src/views/manager/projectinfo/independent.vue

@@ -586,7 +586,7 @@ export default {
       this.excelHtml = false;
       this.excelHtml = false;
     },
     },
         //跳转到公式配置页面
         //跳转到公式配置页面
-    toFormulaEdit(row) {
+    toFormulaEdit(row,type) {
       // this.$router.push({
       // this.$router.push({
       //   path: '/formula/edit',
       //   path: '/formula/edit',
       //   query: {
       //   query: {
@@ -599,6 +599,7 @@ export default {
 
 
       this.formulaCurRow = row;
       this.formulaCurRow = row;
       this.formulaCompVisible = true;
       this.formulaCompVisible = true;
+      this.formulaCurRow.globaltype = type;
     },
     },
     // getNodeDetail(data, node) {
     // getNodeDetail(data, node) {
     //   let parentName = "";
     //   let parentName = "";

+ 2 - 1
src/views/manager/wbsinfo/element.vue

@@ -962,7 +962,7 @@ export default {
       })
       })
     },
     },
         //跳转到公式配置页面
         //跳转到公式配置页面
-    toFormulaEdit(row) {
+    toFormulaEdit(row,type) {
       // this.$router.push({
       // this.$router.push({
       //   path: '/formula/edit',
       //   path: '/formula/edit',
       //   query: {
       //   query: {
@@ -974,6 +974,7 @@ export default {
       // });
       // });
 
 
       this.formulaCurRow = row;
       this.formulaCurRow = row;
+      this.formulaCurRow.globaltype = type;
       this.formulaCompVisible = true;
       this.formulaCompVisible = true;
     },
     },
     editele(){
     editele(){