29341
This commit is contained in:
@@ -178,7 +178,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="upload">
|
||||
<AiUploader :def.sync="photo" multiple placeholder="上传图片" :limit="1" action="/admin/file/add2"></AiUploader>
|
||||
<AiUploader :def.sync="photo" multiple placeholder="上传图片" :limit="1" action="/admin/file/add2" :disabled="id"></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -600,7 +600,7 @@ export default {
|
||||
this.flag = true
|
||||
this.id = query.id
|
||||
this.getInfo(this.id)
|
||||
this.photo = this.form.photo
|
||||
|
||||
} else {
|
||||
this.form.currentAreaId = this.user.areaId
|
||||
}
|
||||
@@ -780,6 +780,7 @@ export default {
|
||||
...this.form,
|
||||
...res.data
|
||||
}
|
||||
this.photo = [{url:this.form.photo}]
|
||||
|
||||
if(this.form.photo) {
|
||||
this.form.files = [{url: this.form.photo}]
|
||||
|
||||
@@ -361,7 +361,7 @@ export default {
|
||||
this.$http.post(`/app/apppreventionreturntopoverty/queryDetailById?id=${this.id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
|
||||
|
||||
let ylbxCount = 0
|
||||
let ylCount = 0
|
||||
if(res.data.family && res.data.family.length) {
|
||||
|
||||
@@ -51,7 +51,11 @@
|
||||
</div>
|
||||
<div class="item-info">
|
||||
<label>健康状况</label>
|
||||
<span>{{ $dict.getLabel('fpHealth', info.healthyStatus) }}</span>
|
||||
<span>
|
||||
<span v-for="(item, index) in healthyStatusList" :key="index"><span v-if="index > 0">,</span>{{$dict.getLabel("fpHealth", item)}}</span>
|
||||
</span>
|
||||
|
||||
<!-- <span v-for="(item,index) in">{{ $dict.getLabel('fpHealth', info.healthyStatus) }}</span> -->
|
||||
</div>
|
||||
<div class="item-info">
|
||||
<label>残疾类别</label>
|
||||
@@ -163,6 +167,7 @@ export default {
|
||||
return {
|
||||
id: '',
|
||||
info: {},
|
||||
healthyStatusList: []
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
@@ -176,6 +181,8 @@ export default {
|
||||
this.$http.post(`/app/apppreventionreturntopoverty/queryDetailById?id=${this.id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
this.healthyStatusList = res.data.healthyStatus.split(',')
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user