Explorar o código

判断是否删除组合

zhuliu hai 1 ano
pai
achega
0df99dbf9c

+ 2 - 2
src/views/report/InvalidResponse/components/reasonsAndEvidence/reasonsAndEvidence.vue

@@ -433,7 +433,7 @@
                         <div>
                             <template v-if="!getClaimDel(scope.row) || !getFeatureDel(scope.row)">
                                 <el-button @click="manageInvalidEvidence(scope.row)" type="text" size="small">管理{{ifSecondInvalid?'第二次':''}}无效证据</el-button>
-                                <el-button v-if="scope.row.proofGroupDescription || scope.row.proofGroupDescription2" @click="remove(scope.row)" type="text" size="small">删除组合</el-button> 
+                                <el-button v-if="scope.row.proofGroupId" @click="remove(scope.row)" type="text" size="small">删除组合</el-button> 
                             </template>
                             <el-button @click="details(scope)" type="text" size="small" v-if="showDetails(scope)">详情</el-button>
                             <el-button @click="details(scope)" type="text" size="small" v-else>关闭详情</el-button>
@@ -1266,7 +1266,7 @@ export default {
                 projectId:this.projectId,
                 descriptions:[
                     {
-                        description1:'',
+                        description1:null,
                     }
                 ],
                 statutesId:row.statutesId,