|
@@ -422,7 +422,7 @@
|
|
|
<ReviewCommittee ref="ReviewCommittee" :projectId="projectId" :ifSecondInvalid="ifSecondInvalid" @save="getList"></ReviewCommittee>
|
|
|
<addFeature ref="addFeature" :projectId="projectId" :ifSecondInvalid="ifSecondInvalid" @save="getList"></addFeature>
|
|
|
|
|
|
- <fields ref="field" :projectId="projectId" url="setEvidenceReasonTableColumns" @getFieldList="getFieldList"></fields>
|
|
|
+ <fields ref="field" :projectId="projectId" :order="false" url="setEvidenceReasonTableColumns" @getFieldList="getFieldList"></fields>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -469,7 +469,23 @@ export default {
|
|
|
expends:[],
|
|
|
refreshData:true,
|
|
|
claims:[],
|
|
|
- columnList:[]
|
|
|
+ columnList:[],
|
|
|
+ FixedField:{
|
|
|
+ 'claimSort':1,
|
|
|
+ 'statutesId':2,
|
|
|
+ 'proofGroup':3,
|
|
|
+ 'feature':4,
|
|
|
+ 'evidenceText':5,
|
|
|
+ 'feature1':6,
|
|
|
+ 'erIfPresentOpinions1':7,
|
|
|
+ 'secondEvidence':8,
|
|
|
+ 'feature2':9,
|
|
|
+ 'secondErIfPresentOpinions1':10,
|
|
|
+ 'erRbSummary':11,
|
|
|
+ 'rbDecision':12,
|
|
|
+ 'courtDecision1':13,
|
|
|
+ 'courtDecision2':14
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
watch: {},
|
|
@@ -480,11 +496,20 @@ export default {
|
|
|
},
|
|
|
created() {},
|
|
|
async mounted() {
|
|
|
- this.columnList = await this.$commonJS.getCustomField(null,{projectId:this.projectId},'getEvidenceReasonTableColumns')
|
|
|
+ await this.getColumnList()
|
|
|
this.getList()
|
|
|
this.getClaims()
|
|
|
},
|
|
|
methods: {
|
|
|
+ async getColumnList(){
|
|
|
+ var data = await this.$commonJS.getCustomField(null,{projectId:this.projectId},'getEvidenceReasonTableColumns')
|
|
|
+ for(var i = 0;i<data.length;i++){
|
|
|
+ data[i].order = this.FixedField[data[i].value]
|
|
|
+ }
|
|
|
+ this.columnList = data.sort((a,b)=>{
|
|
|
+ return a.order - b.order
|
|
|
+ })
|
|
|
+ },
|
|
|
getImageHTML(text){
|
|
|
if(!text){
|
|
|
return ''
|