From 91861fec4e3113339b2e7e34a10318ff7d891df2 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 16 七月 2024 15:20:26 +0800
Subject: [PATCH] 修改
---
web/src/views/modules/basicInfo/ParamData.vue | 46 +++++++++++++++++++++++++++++-----------------
1 files changed, 29 insertions(+), 17 deletions(-)
diff --git a/web/src/views/modules/basicInfo/ParamData.vue b/web/src/views/modules/basicInfo/ParamData.vue
index f90d815..78efdca 100644
--- a/web/src/views/modules/basicInfo/ParamData.vue
+++ b/web/src/views/modules/basicInfo/ParamData.vue
@@ -1,12 +1,12 @@
<template>
<div>
<el-row :gutter="5">
- <el-col :span="4">
+ <el-col :span="5">
<div class="fa-card-a" style="margin-right: 5px;height: calc(100vh - 123px)">
<product-model-tree @on-selected="onProductSelected" showXdy="false"/>
</div>
</el-col>
- <el-col :span="20">
+ <el-col :span="19">
<div class="mod-basicInfo-paramData fa-card-a" style="margin-left: 5px;">
<zt-table-wraper ref="tableObj" defaultNotQuery="true" query-url="/basicInfo/ParamData/page"
delete-url="/basicInfo/ParamData/"
@@ -43,7 +43,7 @@
@selection-change="table.selectionChangeHandle">
<el-table-column type="selection" :key="1" width="40" align="center"/>
<el-table-column prop="name" :key="2" label="鍚嶇О" fixed="left" width="120"/>
- <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='2'"
+ <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='4'"
prop="reliabDistribType"
label="鍙潬鎬у垎甯冪被鍨�" :key="27"
>
@@ -61,13 +61,13 @@
:hit="hit"/>
</template>
</el-table-column>
- <el-table-column v-if="dataForm.productType==='4'" :key="3" prop="baseOperatRatio" label="鍩烘湰鍙潬鎬ц繍琛屾瘮">
+ <el-table-column v-if="dataForm.productType==='2'" :key="3" prop="baseOperatRatio" label="鍩烘湰鍙潬鎬ц繍琛屾瘮">
<template slot-scope="scope">
<el-input v-if="scope.row.isEdit" v-model="scope.row.baseOperatRatio"></el-input>
<span v-else v-text="scope.row.baseOperatRatio"></span>
</template>
</el-table-column>
- <el-table-column v-if="dataForm.productType==='5'||dataForm.productType==='4'" :key="4"
+ <el-table-column v-if="dataForm.productType==='1'||dataForm.productType==='2'" :key="4"
prop="actualRunTime"
label="瀹為檯杩愯鏃堕棿">
<template slot-scope="scope">
@@ -75,7 +75,7 @@
<span v-else v-text="scope.row.actualRunTime"></span>
</template>
</el-table-column>
- <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='2'" :key="5"
+ <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='4'" :key="5"
label="鍩烘湰鍙潬鎬ц绠�">
<!-- <zt-table-column-dict prop="joinCompute" :keys="6" label="鍙傚姞璁$畻" width="100" dict="is_or_not"/>-->
<el-table-column prop="basicJoinCompute" label="鍙傚姞璁$畻" :key="6" width="100">
@@ -154,7 +154,7 @@
</el-tab-pane>
- <el-tab-pane label="浠诲姟鍙潬鎬�" name="second" v-if="dataForm.productType==='3'||dataForm.productType==='2'">
+ <el-tab-pane label="浠诲姟鍙潬鎬�" name="second" v-if="dataForm.productType==='3'||dataForm.productType==='4'">
<el-table v-loading="table.dataLoading" :data="table.dataList" height="100px"
v-adaptive="{bottomOffset:30}"
class="paramsDataTable"
@@ -162,7 +162,7 @@
<el-table-column type="selection" :key="1" width="40" align="center"/>
<el-table-column prop="name" :key="2" label="鍚嶇О" fixed="left" width="120"/>
- <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='2'" :key="15"
+ <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='4'" :key="15"
label="浠诲姟鍙潬鎬ц绠�">
<el-table-column prop="taskMtbcfRegulate" :key="16" label="MTBCF" width="100">
<template slot-scope="scope">
@@ -194,14 +194,20 @@
<span v-else v-text="scope.row.taskMtbcfOperatingRatio"></span>
</template>
</el-table-column>
- <el-table-column prop="taskMtbcfOtherParams" :key="21" label="MTBCF鍏朵粬鍙傛暟" >
+ <el-table-column prop="taskMtbcfOtherParams2" :key="21" label="MTBCF鍏朵粬鍙傛暟2" >
<template slot-scope="scope">
- <el-input v-if="scope.row.isEdit" v-model="scope.row.taskMtbcfOtherParams"></el-input>
- <span v-else v-text="scope.row.taskMtbcfOtherParams"></span>
+ <el-input v-if="scope.row.isEdit" v-model="scope.row.taskMtbcfOtherParams2"></el-input>
+ <span v-else v-text="scope.row.taskMtbcfOtherParams2"></span>
+ </template>
+ </el-table-column>
+ <el-table-column prop="taskMtbcfOtherParams3" :key="30" label="MTBCF鍏朵粬鍙傛暟3" >
+ <template slot-scope="scope">
+ <el-input v-if="scope.row.isEdit" v-model="scope.row.taskMtbcfOtherParams3"></el-input>
+ <span v-else v-text="scope.row.taskMtbcfOtherParams3"></span>
</template>
</el-table-column>
</el-table-column>
- <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='2'" :key="22" label="缁翠慨鍒嗗竷">
+ <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='4'" :key="22" label="缁翠慨鍒嗗竷">
<!-- <zt-table-column-dict prop="repairable" :keys="23" label="鍙淮淇�" dict="is_or_not"/>-->
<el-table-column prop="repairable" label="鍙淮淇�" :key="23" width="80">
<template v-slot="{ row }">
@@ -240,10 +246,16 @@
<span v-else v-text="scope.row.repairMttcr"></span>
</template>
</el-table-column>
- <el-table-column prop="repairMttcrOtherParams" :key="26" label="MTTCR鍏朵粬鍙傛暟" >
+ <el-table-column prop="repairMttcrOtherParams2" :key="26" label="MTTCR鍏朵粬鍙傛暟2" >
<template slot-scope="scope">
- <el-input v-if="scope.row.isEdit" v-model="scope.row.repairMttcrOtherParams"></el-input>
- <span v-else v-text="scope.row.repairMttcrOtherParams"></span>
+ <el-input v-if="scope.row.isEdit" v-model="scope.row.repairMttcrOtherParams2"></el-input>
+ <span v-else v-text="scope.row.repairMttcrOtherParams2"></span>
+ </template>
+ </el-table-column>
+ <el-table-column prop="repairMttcrOtherParams3" :key="27" label="MTTCR鍏朵粬鍙傛暟3" >
+ <template slot-scope="scope">
+ <el-input v-if="scope.row.isEdit" v-model="scope.row.repairMttcrOtherParams3"></el-input>
+ <span v-else v-text="scope.row.repairMttcrOtherParams3"></span>
</template>
</el-table-column>
</el-table-column>
@@ -293,7 +305,7 @@
srcId: '',
name: '',
dataThreeList: null,
- productType: '5',
+ productType: '1',
basicJoinCompute: '',
repairable: '',
repairDistribType: '',
@@ -364,7 +376,7 @@
},
add() {
this.$refs.SelectTyModel.$refs.dialog.init(null, {
- type: this.dataForm.productType - 1,
+ type: this.dataForm.productType + 1,
id: this.dataForm.srcId,
pageCode: this.pageCode
})
--
Gitblit v1.9.1