|
@@ -1202,13 +1202,13 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-link
|
|
|
:type="scope.row.globalFormula == 1 ? 'warning' : 'primary'"
|
|
|
- @click="toFormulaEdit(scope.row,10)"
|
|
|
+ @click="toFormulaEdit(scope.row,1)"
|
|
|
>全局公式</el-link
|
|
|
>
|
|
|
<el-link
|
|
|
class="mg-l-10"
|
|
|
:type="scope.row.isSaveFormula == 1 ? 'warning' : 'primary'"
|
|
|
- @click="toFormulaEdit(scope.row,20)"
|
|
|
+ @click="toFormulaEdit(scope.row,2)"
|
|
|
>节点公式</el-link
|
|
|
>
|
|
|
<!-- <el-link
|
|
@@ -2505,7 +2505,7 @@ export default {
|
|
|
|
|
|
this.formulaCurRow = row;
|
|
|
this.formulaCurRow.globaltype = type;
|
|
|
- if(type===10){
|
|
|
+ if(type===1){
|
|
|
this.formulaCompVisible1 = true;
|
|
|
this.formulaCurRow.elementType = false;
|
|
|
this.istableType=true;
|