|
|
@@ -220,6 +220,7 @@
|
|
|
:dataForm="dataForm"
|
|
|
:remark="remark"
|
|
|
@clickTag="handleClickTagElse"
|
|
|
+ :method="method"
|
|
|
>
|
|
|
</component>
|
|
|
<div class="flex1" v-show="item.showSelectEle" style="margin-top:10px;margin-bottom:30px">
|
|
|
@@ -630,6 +631,7 @@ export default {
|
|
|
tableKey:'3',
|
|
|
initTableNameDev:'',//初始表名 允许偏差值范围
|
|
|
selectedTableKeyDev:'', // 存储
|
|
|
+ method:''
|
|
|
|
|
|
};
|
|
|
},
|
|
|
@@ -1571,6 +1573,10 @@ handleDelete(e) {
|
|
|
let resMore=formatArrayMore(this.$refs.dynamiccomponent[0].conditionList);
|
|
|
const resJson=generateResult(this.$refs.dynamiccomponent[0].conditionList);
|
|
|
let remark=this.$refs.dynamiccomponent[0].remark;
|
|
|
+ let method=this.$refs.dynamiccomponent[0].method;
|
|
|
+ console.log(method,'method');
|
|
|
+
|
|
|
+
|
|
|
console.log(remark,'remark');
|
|
|
|
|
|
console.log(resJson,'resJson');
|
|
|
@@ -1590,7 +1596,8 @@ console.log(remark,'remark');
|
|
|
scope:this.globaltype,
|
|
|
// projectId:this.curProjiect.id||this.projectId,
|
|
|
projectId:this.curProjiect.id||this.pid,
|
|
|
- dev:deviationRangeText
|
|
|
+ dev:deviationRangeText,
|
|
|
+ method:method
|
|
|
}).then(()=>{
|
|
|
this.formulaStringToArray();
|
|
|
this.$message({
|
|
|
@@ -1612,7 +1619,9 @@ console.log(remark,'remark');
|
|
|
dev:deviationRangeText,
|
|
|
// projectId:this.curProjiect.id||this.projectId,
|
|
|
projectId:this.curProjiect.id||this.pid,
|
|
|
- ver:this.version
|
|
|
+ ver:this.version,
|
|
|
+ method:method
|
|
|
+
|
|
|
}).then((res)=>{
|
|
|
if(res.data.data){
|
|
|
this.formulaid = res.data.data;
|
|
|
@@ -1852,6 +1861,7 @@ console.log(remark,'remark');
|
|
|
detail.formula = detail.formula.replace('FC.ifelseMulti','FC.ifelse');
|
|
|
this.isMore = true;
|
|
|
this.formulaDetailMap = detail.map;
|
|
|
+ this.method=detail.method;
|
|
|
this.moreConditions = restoreArrayMore(detail.formulas,this.formulaDetailMap)
|
|
|
|
|
|
}else if(detail&&detail.formula.includes('FC.switchCase')){
|