|
@@ -163,11 +163,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-show="!operationVisible && !showFunDetail && !deviationRange.show">
|
|
|
+ <div v-if="!operationVisible">
|
|
|
<div class="box-dashed" style="padding:10px" >
|
|
|
- <div class="mg-b-20">函数公式运算执行溯源</div>
|
|
|
- <div>
|
|
|
- <el-select
|
|
|
+ 函数公式运算执行溯源 <el-button type="info" @click="searchElement" v-if="!elementTbinfo">查询</el-button>
|
|
|
+ <el-button type="info" @click="searchElement1" v-if="elementTbinfo">收起</el-button>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <!-- <el-select
|
|
|
v-model="projectId"
|
|
|
@change="projectChange"
|
|
|
placeholder="请选择项目"
|
|
@@ -187,9 +190,9 @@
|
|
|
:label="item.contractName"
|
|
|
:value="item.id"
|
|
|
></el-option>
|
|
|
- </el-select>
|
|
|
- <el-button type="info">查询</el-button>
|
|
|
- </div>
|
|
|
+ </el-select> -->
|
|
|
+
|
|
|
+
|
|
|
<div>
|
|
|
<div class="box-dashed-1" v-if="elementTbinfo">
|
|
|
<span>
|
|
@@ -207,7 +210,7 @@
|
|
|
|
|
|
|
|
|
</div>
|
|
|
- <div class="box-dashed-1-tabinfo" v-if="istabinfo">
|
|
|
+ <div class="box-dashed-1-tabinfo" v-if="istabinfo&&elementTbinfo">
|
|
|
<div class="left_box">
|
|
|
<el-descriptions class="margin-top" :column="1" size="large" border >
|
|
|
<el-descriptions-item>
|
|
@@ -308,7 +311,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="!operationVisible && showFunDetail" class="flex1">
|
|
|
+ <div v-if="!operationVisible && showFunDetail&&!elementTbinfo" class="flex1">
|
|
|
<el-tabs v-model="actiFunIndex" closable @tab-remove="removeFun" :before-leave="funLeave">
|
|
|
<el-tab-pane v-for="(item,index) in equationSelectEle.children" :key="index" :label="item.name" :name="index.toString()">
|
|
|
<template v-if="!componentMap[item.name]">
|
|
@@ -861,6 +864,7 @@ export default {
|
|
|
operationEdit(){
|
|
|
this.selectEleFormula= JSON.parse(JSON.stringify(this.processFormula));
|
|
|
this.operationVisible = true;
|
|
|
+
|
|
|
},
|
|
|
|
|
|
eleAddFormula(){
|
|
@@ -1171,9 +1175,9 @@ export default {
|
|
|
this.processType = arrName;
|
|
|
item.selected = true;
|
|
|
if(arrName==='resultFormula'){
|
|
|
- this.elementTbinfo=true
|
|
|
+ // this.elementTbinfo=true
|
|
|
}else{
|
|
|
- this.elementTbinfo=false
|
|
|
+ // this.elementTbinfo=false
|
|
|
}
|
|
|
|
|
|
if(this.showFunDetail){
|
|
@@ -1186,6 +1190,24 @@ export default {
|
|
|
}
|
|
|
this.innerFormulaList=this.processFormula//内部元素嵌套公式
|
|
|
},
|
|
|
+ //显示函数公式溯源
|
|
|
+ searchElement(){
|
|
|
+ if(this.processType==='resultFormula'){
|
|
|
+ this.elementTbinfo=true
|
|
|
+ }else{
|
|
|
+ this.elementTbinfo=false
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+ searchElement1(){
|
|
|
+ if(this.processType==='resultFormula'){
|
|
|
+ this.elementTbinfo=false
|
|
|
+ }else{
|
|
|
+ this.elementTbinfo=false
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
//点选公式溯源公式
|
|
|
equationClicksouce(item,index){
|
|
|
console.log(item,'item');
|