地区
This commit is contained in:
@@ -53,7 +53,8 @@
|
|||||||
<div v-for="(item, index) in applyForm" :key="index">
|
<div v-for="(item, index) in applyForm" :key="index">
|
||||||
<ai-title :title="index"></ai-title>
|
<ai-title :title="index"></ai-title>
|
||||||
<el-form-item v-for="e in item" :key="e.id" :label="[e.fieldName,e.fieldNameSuffix].join('')">
|
<el-form-item v-for="e in item" :key="e.id" :label="[e.fieldName,e.fieldNameSuffix].join('')">
|
||||||
<el-input :value="getFieldValue(e)" readonly style="width: 100%;" v-if="e.fieldDataType!=5"/>
|
<el-input :value="getFieldValue(e)" readonly style="width: 100%;" v-if="e.fieldDataType!=5 && e.fieldDataType!=10"/>
|
||||||
|
<el-input :value="getAreaName(e)" readonly style="width: 100%;" v-if="e.fieldDataType==10"/>
|
||||||
<el-checkbox-group v-model="!e.fieldValue ? '' : String(e.fieldValue).split(',')">
|
<el-checkbox-group v-model="!e.fieldValue ? '' : String(e.fieldValue).split(',')">
|
||||||
<el-checkbox :label="val.dictValue" disabled
|
<el-checkbox :label="val.dictValue" disabled
|
||||||
v-for="(val,idx) in dict.getDict(e.dictionaryCode)" :key="idx">{{val.dictName}}</el-checkbox>
|
v-for="(val,idx) in dict.getDict(e.dictionaryCode)" :key="idx">{{val.dictName}}</el-checkbox>
|
||||||
@@ -408,6 +409,9 @@ export default {
|
|||||||
getFieldValue(e) {
|
getFieldValue(e) {
|
||||||
return e.dictionaryCode ? this.dict.getLabel(e.dictionaryCode, e.fieldValue) : e.fieldValue
|
return e.dictionaryCode ? this.dict.getLabel(e.dictionaryCode, e.fieldValue) : e.fieldValue
|
||||||
},
|
},
|
||||||
|
getAreaName(e) {
|
||||||
|
return e.areaValue
|
||||||
|
},
|
||||||
color(status) {
|
color(status) {
|
||||||
return ['#2EA222', '#2EA222', '#FF4466', '#2EA222', '#FF8822', '#2EA222', '#2EA222', '#FF4466', '#FF8822', '#FF8822'][+status]
|
return ['#2EA222', '#2EA222', '#FF4466', '#2EA222', '#FF8822', '#2EA222', '#2EA222', '#FF4466', '#FF8822', '#FF8822'][+status]
|
||||||
},
|
},
|
||||||
@@ -648,7 +652,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.dict.load(['nodeType', 'approvalStatus', 'hbDepartment', 'sex', 'nation', 'marital', 'education', 'yesOrNo'])
|
this.dict.load(['nodeType', 'approvalStatus', 'hbDepartment', 'sex', 'nation', 'marital', 'education', 'yesOrNo'])
|
||||||
this.areaId = this.user.info.areaId.substring(0, 6) + '000000'
|
// this.areaId = this.user.info.areaId.substring(0, 6) + '000000'
|
||||||
this.searchDetail(this.detail.id);
|
this.searchDetail(this.detail.id);
|
||||||
this.searchLog(this.currentMenu)
|
this.searchLog(this.currentMenu)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user