From ea220d6bba2fefd738acce188607e327f13bfced Mon Sep 17 00:00:00 2001 From: xyc <jc_xiong@hotmail.com> Date: 星期四, 07 三月 2024 21:58:06 +0800 Subject: [PATCH] 能解析5种模型(串联、并联、旁联、表决、桥联)的版本 --- web/src/views/modules/basicInfo/ParamDataExpect.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/views/modules/basicInfo/ParamDataExpect.vue b/web/src/views/modules/basicInfo/ParamDataExpect.vue index e6f4498..371f0a8 100644 --- a/web/src/views/modules/basicInfo/ParamDataExpect.vue +++ b/web/src/views/modules/basicInfo/ParamDataExpect.vue @@ -50,7 +50,7 @@ </el-table-column> <el-table-column v-if="dataForm.nodeType==='2'" :key="5" label="鍩烘湰鍙潬鎬ц绠�"> <!-- <zt-table-column-dict prop="joinCompute" :keys="6" label="鍙傚姞璁$畻" width="100" dict="is_or_not"/>--> - <el-table-column prop="joinCompute" label="鍙傚姞璁$畻" :key="6" v-slot="{ row }" width="100"> + <el-table-column prop="joinCompute" label="鍙傚姞璁$畻" :key="6" width="100"> <template v-slot="{ row }"> <el-select v-if="row.isEdit" v-model="row.joinCompute" placeholder="鍙傚姞璁$畻"> @@ -155,7 +155,7 @@ <el-table-column v-if="dataForm.nodeType==='2'" :key="22" label="缁翠慨鍒嗗竷"> <!-- <zt-table-column-dict prop="repairable" :keys="23" label="鍙淮淇�" dict="is_or_not"/>--> - <el-table-column prop="repairable" label="鍙淮淇�" :key="23" v-slot="{ row }"> + <el-table-column prop="repairable" label="鍙淮淇�" :key="23"> <template v-slot="{ row }"> <el-select v-if="row.isEdit" v-model="row.repairable" placeholder="褰撳墠鐘舵��"> @@ -170,7 +170,7 @@ </template> </el-table-column> <!-- <zt-table-column-dict prop="repairDistribType" :keys="24" label="缁翠慨鍒嗗竷绫诲瀷" width="140" dict="RepairDistribType"/>--> - <el-table-column prop="repairDistribType" label="缁翠慨鍒嗗竷绫诲瀷" :key="24" v-slot="{ row }" width="140"> + <el-table-column prop="repairDistribType" label="缁翠慨鍒嗗竷绫诲瀷" :key="24" width="140"> <template v-slot="{ row }"> <el-select v-if="row.isEdit" v-model="row.repairDistribType" placeholder="褰撳墠鐘舵��"> @@ -200,7 +200,7 @@ <!-- <zt-table-column-dict v-if="dataForm.nodeType==='2'" :key="27" prop="reliabDistribType" label="鍙潬鎬у垎甯冪被鍨�" width="160"/>--> - <el-table-column prop="reliabDistribType" label="鍙潬鎬у垎甯冪被鍨�" :key="27" width="160"> + <el-table-column v-if="dataForm.nodeType==='2'" prop="reliabDistribType" label="鍙潬鎬у垎甯冪被鍨�" :key="27" width="160"> <template v-slot="{ row }"> <el-select v-if="row.isEdit" v-model="row.reliabDistribType" placeholder="褰撳墠鐘舵��"> @@ -314,7 +314,7 @@ async handleSaveRows() { this.dataForm.dataThreeList = this.$refs.tableObj.dataList console.log(this.dataForm, 'this.dataForm this.dataForm') - let res = await this.$http.post('/basicInfo/ParamDataExpect/', this.dataForm) + let res = await this.$http.post('/basicInfo/ParamDataExpect/save', this.dataForm) if (res.success) { console.log(res.data) await this.$tip.success() -- Gitblit v1.9.1