|
@@ -224,7 +224,8 @@
|
|
|
|
|
|
<!-- 公式 -->
|
|
|
<el-dialog title="元素公式" :visible.sync="formulaCompVisible" fullscreen append-to-body class="full-dialog">
|
|
|
- <FormulaEdit :wbsid="wbsid" :nodeid="nodeid" :eleid="eleid" :projectid="pid" @hideDialog="formulaCompVisible = false" v-if="formulaCompVisible" :globaltype="globaltype"></FormulaEdit>
|
|
|
+ <FormulaEdit :wbsid="wbsid" :nodeid="nodeid" :eleid="eleid" :projectid="pid" @hideDialog="formulaCompVisible = false" v-if="formulaCompVisible"
|
|
|
+ :globaltype="globaltype" :fromcurNode="editElementQuery"></FormulaEdit>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="" :visible.sync="formulaCompVisible1" fullscreen append-to-body class="full-dialog">
|
|
|
<FormulaEditone :wbsid="wbsid" :nodeid="nodeid" :eleid="eleid" :elementType="elementType" :projectid="pid" :fromcurNode="curEleTable"
|
|
@@ -292,7 +293,11 @@ export default {
|
|
|
default:false
|
|
|
},
|
|
|
curEleTable:{
|
|
|
- type:Object,
|
|
|
+ type:Object,
|
|
|
+ default:{}
|
|
|
+ },
|
|
|
+ editElementQuery:{
|
|
|
+ type:Object,
|
|
|
default:{}
|
|
|
}
|
|
|
},
|