|
@@ -3,11 +3,12 @@
|
|
<el-container>
|
|
<el-container>
|
|
<el-header>
|
|
<el-header>
|
|
<div class="head">
|
|
<div class="head">
|
|
- <el-dropdown split-button type="primary" size="small" @command="handleCommand" @click="handleCommand('1')">
|
|
|
|
|
|
+ <el-dropdown split-button type="primary" size="small" @command="handleCommand" @click="handleCommand('0')">
|
|
<span>
|
|
<span>
|
|
- 添加无效理由
|
|
|
|
|
|
+ 显示栏位管理
|
|
</span>
|
|
</span>
|
|
<el-dropdown-menu slot="dropdown">
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
|
+ <el-dropdown-item command="1">添加无效理由</el-dropdown-item>
|
|
<el-dropdown-item command="2">添加证据组合</el-dropdown-item>
|
|
<el-dropdown-item command="2">添加证据组合</el-dropdown-item>
|
|
<el-dropdown-item command="3">添加复审委决定</el-dropdown-item>
|
|
<el-dropdown-item command="3">添加复审委决定</el-dropdown-item>
|
|
<el-dropdown-item command="4">添加法院决定</el-dropdown-item>
|
|
<el-dropdown-item command="4">添加法院决定</el-dropdown-item>
|
|
@@ -26,7 +27,189 @@
|
|
|
|
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="claimSort" label="权要/说明书/附图" width="120" align="center">
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <el-table-column v-for="item in columnList.filter(item=>!item.ifHidden)" :key="item.value" :prop="item.field" :label="item.name" align="center">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div>
|
|
|
|
+ <!-- 权要/说明书/附图 -->
|
|
|
|
+ <template v-if="item.value == 'claimSort'">
|
|
|
|
+ <div>
|
|
|
|
+ <span v-if="scope.row.relatedContent == 1">
|
|
|
|
+ <span :class="getClaimDel(scope.row)?'del':''">权要{{ scope.row.claimSort + 1}} </span>
|
|
|
|
+ <span v-if="['5','4','8'].indexOf(scope.row.statutesId) ==-1">
|
|
|
|
+ <el-popover
|
|
|
|
+ popper-class="reasonAndEvidence"
|
|
|
|
+ placement="bottom"
|
|
|
|
+ width="100"
|
|
|
|
+ trigger="click"
|
|
|
|
+ >
|
|
|
|
+ <div class="menuList">
|
|
|
|
+ <div class="menuListLi" v-if="!getClaimDel(scope.row)" @click="delClaim(scope.row)">删除</div>
|
|
|
|
+ <div class="menuListLi" @click="checkHistory(scope.row,1)">查看</div>
|
|
|
|
+ <div class="menuListLi" v-if="!getClaimDel(scope.row)" @click="addClaimFeature(scope.row)">添加特征</div>
|
|
|
|
+ </div>
|
|
|
|
+ <i slot="reference" class="el-icon-caret-bottom"></i>
|
|
|
|
+ </el-popover>
|
|
|
|
+ </span>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else-if="scope.row.relatedContent == 0">说明书</span>
|
|
|
|
+ <span v-else>附图</span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 无效法条 -->
|
|
|
|
+ <template v-if="item.value == 'statutesId'">
|
|
|
|
+ <div>
|
|
|
|
+ <span>{{ getProvisionName(scope.row.statutesId) }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 证据组合 -->
|
|
|
|
+ <template v-if="item.value == 'proofGroup'">
|
|
|
|
+ <div>
|
|
|
|
+ <div v-if="scope.row.proofGroupDescription">第一次证据组合:{{ scope.row.proofGroupDescription }}</div>
|
|
|
|
+ <div v-if="scope.row.proofGroupDescription2">第二次证据组合:{{ scope.row.proofGroupDescription2 }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 原权要特征内容 -->
|
|
|
|
+ <template v-if="item.value == 'feature'">
|
|
|
|
+ <div v-if="scope.row.featureText && ['4','8'].indexOf(scope.row.statutesId) ==-1">
|
|
|
|
+ <span :class="getFeatureDel(scope.row)?'del':''">{{ scope.row.featureText }}</span>
|
|
|
|
+ <span v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
|
|
+ <el-popover
|
|
|
|
+ popper-class="reasonAndEvidence"
|
|
|
|
+ placement="bottom"
|
|
|
|
+ width="100"
|
|
|
|
+ trigger="click"
|
|
|
|
+ >
|
|
|
|
+ <div class="menuList">
|
|
|
|
+ <div class="menuListLi" v-if="!getFeatureDel(scope.row)" @click="delFeature(scope.row)">删除</div>
|
|
|
|
+ <div class="menuListLi" @click="checkHistory(scope.row,2)">查看</div>
|
|
|
|
+ </div>
|
|
|
|
+ <i slot="reference" class="el-icon-caret-bottom"></i>
|
|
|
|
+ </el-popover>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ <div v-if="scope.row.featureText">
|
|
|
|
+ <el-image style="width:120px" :src="$commonJS.checkViewer(scope.row.featureText)" :preview-src-list="[$commonJS.checkViewer(scope.row.featureText)]"></el-image>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 第一次无效及补充证据 -->
|
|
|
|
+ <template v-if="item.value == 'evidenceText'">
|
|
|
|
+ <div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
|
|
+ <span v-for="(item,index) in scope.row.literatures" :key="item.id">
|
|
|
|
+ <span v-if="item.id <= 0">{{ item.name }}</span>
|
|
|
|
+ <span v-else class="cursor_pointer" @click="checkEvidenceDetails(item)">D{{ item.sysOrder }}</span>
|
|
|
|
+ <span v-if="index < scope.row.literatures.length-1"> + </span>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-if="['4','8'].indexOf(scope.row.statutesId) !=-1" v-html="getImageHTML(scope.row.evidenceText)"></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ <span v-html="getEvidenceDescription(scope.row,1)"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 修改后权要特征 -->
|
|
|
|
+ <template v-if="item.value == 'feature1'">
|
|
|
|
+ <div>
|
|
|
|
+ {{ getFeatureCommon(scope.row,1) }}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 第一次答辩意见 -->
|
|
|
|
+ <template v-if="item.value == 'erIfPresentOpinions1'">
|
|
|
|
+ <div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
|
|
+ <span v-if="scope.row.erIfPresentOpinions1==true">
|
|
|
|
+ 针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else-if="scope.row.erIfPresentOpinions1==false">
|
|
|
|
+ 未针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ <span v-if="scope.row.feIfPresentOpinions1==true">
|
|
|
|
+ 针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else-if="scope.row.feIfPresentOpinions1==false">
|
|
|
|
+ 未针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 第二次无效证据 -->
|
|
|
|
+ <template v-if="item.value == 'secondEvidence'">
|
|
|
|
+ <div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
|
|
+ <span v-for="(item,index) in scope.row.secondLiteratures" :key="item.id">
|
|
|
|
+ <span v-if="item.id <= 0">{{ item.name }}</span>
|
|
|
|
+ <span v-else class="cursor_pointer" @click="checkEvidenceDetails(item)">D{{ item.sysOrder }}</span>
|
|
|
|
+ <span v-if="index < scope.row.secondLiteratures.length-1"> + </span>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-if="['4','8'].indexOf(scope.row.statutesId) !=-1" v-html="getImageHTML(scope.row.secondEvidenceText)"></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ <span v-html="getEvidenceDescription(scope.row,2)"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 第二次修改后权要特征 -->
|
|
|
|
+ <template v-if="item.value == 'feature2'">
|
|
|
|
+ <div>
|
|
|
|
+ {{ getFeatureCommon(scope.row,2) }}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 第二次答辩意见 -->
|
|
|
|
+ <template v-if="item.value == 'secondErIfPresentOpinions1'">
|
|
|
|
+ <div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
|
|
+ <span v-if="scope.row.secondErIfPresentOpinions1==true">
|
|
|
|
+ 针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else-if="scope.row.secondErIfPresentOpinions1==false">
|
|
|
|
+ 未针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ <span v-if="scope.row.feIfPresentOpinions2==true">
|
|
|
|
+ 针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else-if="scope.row.feIfPresentOpinions2==false">
|
|
|
|
+ 未针对性陈述
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 复审委意见 -->
|
|
|
|
+ <template v-if="item.value == 'erRbSummary'">
|
|
|
|
+ <div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
|
|
+ <span v-html="scope.row.erRbSummary"></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <span v-html="scope.row.feRbSummary"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 复审委决定 -->
|
|
|
|
+ <template v-if="item.value == 'rbDecision'">
|
|
|
|
+ <div>
|
|
|
|
+ <span v-html="scope.row.rbDecision"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 一审法院决定 -->
|
|
|
|
+ <template v-if="item.value == 'courtDecision1'">
|
|
|
|
+ <div>
|
|
|
|
+ <span v-html="scope.row.courtDecision1"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 二审法院决定 -->
|
|
|
|
+ <template v-if="item.value == 'courtDecision2'">
|
|
|
|
+ <div>
|
|
|
|
+ <span v-html="scope.row.courtDecision2"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <!-- <el-table-column prop="claimSort" label="权要/说明书/附图" width="120" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
<span v-if="scope.row.relatedContent == 1">
|
|
<span v-if="scope.row.relatedContent == 1">
|
|
@@ -59,8 +242,15 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="proofGroupDescription" label="证据组合" align="center"></el-table-column>
|
|
|
|
- <el-table-column prop="featureOrder" label="特征内容">
|
|
|
|
|
|
+ <el-table-column prop="proofGroupDescription" label="证据组合" align="center">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div>
|
|
|
|
+ <div v-if="scope.row.proofGroupDescription">第一次证据组合:{{ scope.row.proofGroupDescription }}</div>
|
|
|
|
+ <div v-if="scope.row.proofGroupDescription2">第二次证据组合:{{ scope.row.proofGroupDescription2 }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="featureOrder" label="特征内容" min-width="250">
|
|
<template slot-scope="scope" >
|
|
<template slot-scope="scope" >
|
|
<div v-if="scope.row.featureText && ['4','8'].indexOf(scope.row.statutesId) ==-1">
|
|
<div v-if="scope.row.featureText && ['4','8'].indexOf(scope.row.statutesId) ==-1">
|
|
<span :class="getFeatureDel(scope.row)?'del':''">{{ scope.row.featureText }}</span>
|
|
<span :class="getFeatureDel(scope.row)?'del':''">{{ scope.row.featureText }}</span>
|
|
@@ -113,19 +303,19 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
<div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
<span v-if="scope.row.erIfPresentOpinions1==true">
|
|
<span v-if="scope.row.erIfPresentOpinions1==true">
|
|
- 已陈述
|
|
|
|
|
|
+ 针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else-if="scope.row.erIfPresentOpinions1==false">
|
|
<span v-else-if="scope.row.erIfPresentOpinions1==false">
|
|
- 未陈述
|
|
|
|
|
|
+ 未针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else></span>
|
|
<span v-else></span>
|
|
</div>
|
|
</div>
|
|
<div v-else>
|
|
<div v-else>
|
|
<span v-if="scope.row.feIfPresentOpinions1==true">
|
|
<span v-if="scope.row.feIfPresentOpinions1==true">
|
|
- 已陈述
|
|
|
|
|
|
+ 针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else-if="scope.row.feIfPresentOpinions1==false">
|
|
<span v-else-if="scope.row.feIfPresentOpinions1==false">
|
|
- 未陈述
|
|
|
|
|
|
+ 未针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else></span>
|
|
<span v-else></span>
|
|
</div>
|
|
</div>
|
|
@@ -158,19 +348,19 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
<div v-if="['2','3','4','8'].indexOf(scope.row.statutesId) !=-1">
|
|
<span v-if="scope.row.secondErIfPresentOpinions1==true">
|
|
<span v-if="scope.row.secondErIfPresentOpinions1==true">
|
|
- 已陈述
|
|
|
|
|
|
+ 针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else-if="scope.row.secondErIfPresentOpinions1==false">
|
|
<span v-else-if="scope.row.secondErIfPresentOpinions1==false">
|
|
- 未陈述
|
|
|
|
|
|
+ 未针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else></span>
|
|
<span v-else></span>
|
|
</div>
|
|
</div>
|
|
<div v-else>
|
|
<div v-else>
|
|
<span v-if="scope.row.feIfPresentOpinions2==true">
|
|
<span v-if="scope.row.feIfPresentOpinions2==true">
|
|
- 已陈述
|
|
|
|
|
|
+ 针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else-if="scope.row.feIfPresentOpinions2==false">
|
|
<span v-else-if="scope.row.feIfPresentOpinions2==false">
|
|
- 未陈述
|
|
|
|
|
|
+ 未针对性陈述
|
|
</span>
|
|
</span>
|
|
<span v-else></span>
|
|
<span v-else></span>
|
|
</div>
|
|
</div>
|
|
@@ -207,7 +397,7 @@
|
|
<span v-html="scope.row.courtDecision2"></span>
|
|
<span v-html="scope.row.courtDecision2"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- </el-table-column>
|
|
|
|
|
|
+ </el-table-column> -->
|
|
<el-table-column prop="proofGroupDescription" label="操作" align="center" min-width="130px">
|
|
<el-table-column prop="proofGroupDescription" label="操作" align="center" min-width="130px">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
@@ -232,6 +422,7 @@
|
|
<ReviewCommittee ref="ReviewCommittee" :projectId="projectId" :ifSecondInvalid="ifSecondInvalid" @save="getList"></ReviewCommittee>
|
|
<ReviewCommittee ref="ReviewCommittee" :projectId="projectId" :ifSecondInvalid="ifSecondInvalid" @save="getList"></ReviewCommittee>
|
|
<addFeature ref="addFeature" :projectId="projectId" :ifSecondInvalid="ifSecondInvalid" @save="getList"></addFeature>
|
|
<addFeature ref="addFeature" :projectId="projectId" :ifSecondInvalid="ifSecondInvalid" @save="getList"></addFeature>
|
|
|
|
|
|
|
|
+ <fields ref="field" :projectId="projectId" url="setEvidenceReasonTableColumns" @getFieldList="getFieldList"></fields>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -242,6 +433,7 @@ import claimAndFeatureHistory from '../dialog/claimAndFeatureHistory.vue';
|
|
import reasonsAndEvidenceDetails from './details.vue'
|
|
import reasonsAndEvidenceDetails from './details.vue'
|
|
import ReviewCommittee from '../dialog/ReviewCommittee.vue';
|
|
import ReviewCommittee from '../dialog/ReviewCommittee.vue';
|
|
import addFeature from '../dialog/addFeature.vue'
|
|
import addFeature from '../dialog/addFeature.vue'
|
|
|
|
+import fields from '@/views/components/dialog/fields.vue';
|
|
import { getTableHeight } from '@/views/components/mixins'
|
|
import { getTableHeight } from '@/views/components/mixins'
|
|
import mixins from './mixins';
|
|
import mixins from './mixins';
|
|
export default {
|
|
export default {
|
|
@@ -251,12 +443,13 @@ export default {
|
|
claimAndFeatureHistory,
|
|
claimAndFeatureHistory,
|
|
reasonsAndEvidenceDetails,
|
|
reasonsAndEvidenceDetails,
|
|
ReviewCommittee,
|
|
ReviewCommittee,
|
|
- addFeature
|
|
|
|
|
|
+ addFeature,
|
|
|
|
+ fields
|
|
},
|
|
},
|
|
mixins:[getTableHeight,mixins],
|
|
mixins:[getTableHeight,mixins],
|
|
props: {
|
|
props: {
|
|
projectId:{
|
|
projectId:{
|
|
- default:0
|
|
|
|
|
|
+ default:null
|
|
},
|
|
},
|
|
ifSecondInvalid:{
|
|
ifSecondInvalid:{
|
|
default:false
|
|
default:false
|
|
@@ -275,7 +468,8 @@ export default {
|
|
mergeArr: ['claimSort','statutesId','proofGroupDescription','featureOrder'],
|
|
mergeArr: ['claimSort','statutesId','proofGroupDescription','featureOrder'],
|
|
expends:[],
|
|
expends:[],
|
|
refreshData:true,
|
|
refreshData:true,
|
|
- claims:[]
|
|
|
|
|
|
+ claims:[],
|
|
|
|
+ columnList:[]
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {},
|
|
watch: {},
|
|
@@ -285,7 +479,8 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|
|
- mounted() {
|
|
|
|
|
|
+ async mounted() {
|
|
|
|
+ this.columnList = await this.$commonJS.getCustomField(null,{projectId:this.projectId},'getEvidenceReasonTableColumns')
|
|
this.getList()
|
|
this.getList()
|
|
this.getClaims()
|
|
this.getClaims()
|
|
},
|
|
},
|
|
@@ -427,6 +622,18 @@ export default {
|
|
},
|
|
},
|
|
//更新数据
|
|
//更新数据
|
|
updateData(field,val,row,num,ifGroup){
|
|
updateData(field,val,row,num,ifGroup){
|
|
|
|
+ if(['description2','description'].includes(field)){
|
|
|
|
+ var proofGroupId = row.id
|
|
|
|
+ var obj = {
|
|
|
|
+ description2:'proofGroupDescription2',
|
|
|
|
+ description:'proofGroupDescription',
|
|
|
|
+ }
|
|
|
|
+ var index = this.tableData.findIndex(item=>{
|
|
|
|
+ return item.proofGroupId == proofGroupId
|
|
|
|
+ })
|
|
|
|
+ this.tableData[index][obj[field]] = val
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
if(['rbDecision','courtDecision1','courtDecision1'].includes(field)){
|
|
if(['rbDecision','courtDecision1','courtDecision1'].includes(field)){
|
|
var claimId = row.claimId
|
|
var claimId = row.claimId
|
|
var index = this.tableData.findIndex(item=>{
|
|
var index = this.tableData.findIndex(item=>{
|
|
@@ -542,6 +749,7 @@ export default {
|
|
...obj,
|
|
...obj,
|
|
proofGroupId : obj.proofGroups[j].id,
|
|
proofGroupId : obj.proofGroups[j].id,
|
|
proofGroupDescription : obj.proofGroups[j].description,
|
|
proofGroupDescription : obj.proofGroups[j].description,
|
|
|
|
+ proofGroupDescription2 : obj.proofGroups[j].description2,
|
|
evidenceReason:obj.proofGroups[j].evidenceReason
|
|
evidenceReason:obj.proofGroups[j].evidenceReason
|
|
}
|
|
}
|
|
if( obj.proofGroups[j].evidenceReason && obj.proofGroups[j].evidenceReason.length>0){
|
|
if( obj.proofGroups[j].evidenceReason && obj.proofGroups[j].evidenceReason.length>0){
|
|
@@ -876,6 +1084,9 @@ export default {
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
switch(option){
|
|
switch(option){
|
|
|
|
+ case '0':// 显示栏位管理
|
|
|
|
+ this.showField()
|
|
|
|
+ break;
|
|
case '1'://添加无效理由(无效法条)
|
|
case '1'://添加无效理由(无效法条)
|
|
case '2'://添加证据组合
|
|
case '2'://添加证据组合
|
|
this.addInvalidResponse(option)
|
|
this.addInvalidResponse(option)
|
|
@@ -891,6 +1102,14 @@ export default {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ // 显示栏位管理
|
|
|
|
+ showField() {
|
|
|
|
+ this.$refs.field.open(this.columnList)
|
|
|
|
+ },
|
|
|
|
+ // 显示栏位管理组件返回数据
|
|
|
|
+ getFieldList(val) {
|
|
|
|
+ this.columnList = val
|
|
|
|
+ },
|
|
//添加无效理由、证据组合
|
|
//添加无效理由、证据组合
|
|
addInvalidResponse(type){
|
|
addInvalidResponse(type){
|
|
var titles = {
|
|
var titles = {
|
|
@@ -933,7 +1152,11 @@ export default {
|
|
if(statutes.indexOf(row.statutesId)==-1 && !row.proofGroupId){
|
|
if(statutes.indexOf(row.statutesId)==-1 && !row.proofGroupId){
|
|
var params = {
|
|
var params = {
|
|
projectId:this.projectId,
|
|
projectId:this.projectId,
|
|
- descriptions:[''],
|
|
|
|
|
|
+ descriptions:[
|
|
|
|
+ {
|
|
|
|
+ description1:'',
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
statutesId:row.statutesId,
|
|
statutesId:row.statutesId,
|
|
claimId:row.claimId
|
|
claimId:row.claimId
|
|
}
|
|
}
|
|
@@ -941,12 +1164,13 @@ export default {
|
|
if(response.code == 200){
|
|
if(response.code == 200){
|
|
row.proofGroupId = response.data.data[0]
|
|
row.proofGroupId = response.data.data[0]
|
|
row.proofGroupDescription = ''
|
|
row.proofGroupDescription = ''
|
|
|
|
+ row.proofGroupDescription2 = ''
|
|
var form = {
|
|
var form = {
|
|
groupId:row.proofGroupId,
|
|
groupId:row.proofGroupId,
|
|
claimSort:row.claimSort,
|
|
claimSort:row.claimSort,
|
|
claimId:row.claimId,
|
|
claimId:row.claimId,
|
|
claimText:row.claimText,
|
|
claimText:row.claimText,
|
|
- proofGroupDescription:row.proofGroupDescription,
|
|
|
|
|
|
+ proofGroupDescription:this.ifSecondInvalid?row.proofGroupDescription2:row.proofGroupDescription,
|
|
statutesId:row.statutesId,
|
|
statutesId:row.statutesId,
|
|
statutesContent:this.getProvisionName(row.statutesId),
|
|
statutesContent:this.getProvisionName(row.statutesId),
|
|
}
|
|
}
|
|
@@ -971,13 +1195,12 @@ export default {
|
|
var data = this.tableData.filter(item=>{
|
|
var data = this.tableData.filter(item=>{
|
|
return item.proofGroupId == row.proofGroupId && item.featureId
|
|
return item.proofGroupId == row.proofGroupId && item.featureId
|
|
})
|
|
})
|
|
- console.log(data)
|
|
|
|
var form = {
|
|
var form = {
|
|
groupId:row.proofGroupId,
|
|
groupId:row.proofGroupId,
|
|
claimSort:row.claimSort,
|
|
claimSort:row.claimSort,
|
|
claimId:row.claimId,
|
|
claimId:row.claimId,
|
|
claimText:row.claimText,
|
|
claimText:row.claimText,
|
|
- proofGroupDescription:row.proofGroupDescription,
|
|
|
|
|
|
+ proofGroupDescription:this.ifSecondInvalid?row.proofGroupDescription2:row.proofGroupDescription,
|
|
statutesId:row.statutesId,
|
|
statutesId:row.statutesId,
|
|
statutesContent:this.getProvisionName(row.statutesId),
|
|
statutesContent:this.getProvisionName(row.statutesId),
|
|
}
|
|
}
|