|
@@ -11,7 +11,7 @@
|
|
<div>
|
|
<div>
|
|
<!-- table按钮部分 -->
|
|
<!-- table按钮部分 -->
|
|
<div style="margin-top:20px;display:flex;justify-content:space-between">
|
|
<div style="margin-top:20px;display:flex;justify-content:space-between">
|
|
- <el-button-group v-if="show" >
|
|
|
|
|
|
+ <el-button-group :style="{visibility:show&&typeFto!=1?'visible':'hidden'}">
|
|
<el-button @click="merge" :disabled="row.length>0?false:true">合并</el-button>
|
|
<el-button @click="merge" :disabled="row.length>0?false:true">合并</el-button>
|
|
<el-button @click="split" :disabled="row.length>0?false:true">拆分</el-button>
|
|
<el-button @click="split" :disabled="row.length>0?false:true">拆分</el-button>
|
|
</el-button-group>
|
|
</el-button-group>
|
|
@@ -135,7 +135,7 @@
|
|
<el-table-column v-if="this.taskWorkRemakA==0" prop="compareResult2" align="center" label="协同比对结果" width="300px">
|
|
<el-table-column v-if="this.taskWorkRemakA==0" prop="compareResult2" align="center" label="协同比对结果" width="300px">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div v-if="scope.row">
|
|
<div v-if="scope.row">
|
|
- <span v-if="scope.row.compareResult2.toString()!=''">{{ options.filter(item=>item.value==scope.row.compareResult2)[0].label }}</span>
|
|
|
|
|
|
+ <span v-if="scope.row.hasOwnProperty('compareResult2') && scope.row.compareResult2.toString()!=''">{{ options.filter(item=>item.value==scope.row.compareResult2)[0].label }}</span>
|
|
</div>
|
|
</div>
|
|
<!-- <el-select v-model="scope.row.compareResult2" placeholder="请选择">
|
|
<!-- <el-select v-model="scope.row.compareResult2" placeholder="请选择">
|
|
<el-option
|
|
<el-option
|
|
@@ -239,7 +239,7 @@
|
|
// }
|
|
// }
|
|
// },
|
|
// },
|
|
mounted() {
|
|
mounted() {
|
|
- this.show = this.isshow == false ? this.isshow : true
|
|
|
|
|
|
+ this.show = this.isshow == false ? this.isshow : this.show
|
|
console.log(this.coordinationA, this.taskWorkRemakA);
|
|
console.log(this.coordinationA, this.taskWorkRemakA);
|
|
if (this.typeFto==1) {
|
|
if (this.typeFto==1) {
|
|
this.queryCompareMessage()
|
|
this.queryCompareMessage()
|