|
@@ -341,13 +341,13 @@
|
|
|
</template>
|
|
|
</div>
|
|
|
<!-- 控制隐藏 -->
|
|
|
- <div class="controlShow" v-if="this.row.proofGroupId">
|
|
|
+ <div class="controlShow" v-if="this.row.proofGroupId && content.FirstEvidenceReason" >
|
|
|
<el-link type="primary" @click="controlShow">
|
|
|
{{ content.showFeature?'隐藏':'展开' }}
|
|
|
</el-link>
|
|
|
</div>
|
|
|
|
|
|
- <div v-if="(content.showFeature || edit) && this.row.proofGroupId">
|
|
|
+ <div v-if="(content.showFeature || edit) && this.row.proofGroupId && content.FirstEvidenceReason">
|
|
|
<div v-for="(item,index) in content.FirstEvidenceReason" :key="index">
|
|
|
<div class="content" style="background:#ffca00">
|
|
|
<div>
|
|
@@ -1263,8 +1263,29 @@ export default {
|
|
|
async getData(){
|
|
|
if(!this.row.details){
|
|
|
if(!this.row.proofGroupId){
|
|
|
+ var params = {
|
|
|
+ projectId:this.projectId,
|
|
|
+ descriptions:[
|
|
|
+ {
|
|
|
+ description1:'',
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ statutesId:this.row.statutesId,
|
|
|
+ claimId:this.row.claimId
|
|
|
+ }
|
|
|
+ await this.$api.addProofGroup(params).then(response=>{
|
|
|
+ if(response.code == 200){
|
|
|
+ this.row.proofGroupId = response.data.data[0]
|
|
|
+ this.content.proofGroupMessage = {}
|
|
|
+ this.content.showFeature = true
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.content.showFeature = false
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }).catch(error=>{
|
|
|
this.content.proofGroupMessage = {}
|
|
|
- return false
|
|
|
+ })
|
|
|
+ return false
|
|
|
}
|
|
|
this.loading= true
|
|
|
const [proofGroupMessage,FirstEvidenceReason,secondEvidenceReason] = await Promise.allSettled([this.getProofGroupMessage(),this.queryEvidenceReason(0),this.queryEvidenceReason(1)])
|