Commit 284126b6 authored by 张伯涛's avatar 张伯涛

修改

parent 2895a356
......@@ -140,18 +140,17 @@
<el-table-column label="楼层" align="center" prop="floor" width="100" :show-overflow-tooltip="true" />
<el-table-column label="门牌号" align="center" prop="house" width="100" :show-overflow-tooltip="true" />
<el-table-column label="住址" align="center" prop="address" width="100" :show-overflow-tooltip="true" />
<el-table-column label="基础病情况" align="center" prop="basicDiseaseName" width="100" :show-overflow-tooltip="true"/>
<!-- <el-table-column label="基础病情况" align="center" prop="basicDisease" width="100" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- <dict-tag :options="dict.type.basic_disease" :value="scope.row.basicDisease.split(',')"/>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="基础病情况" align="center" prop="basicDiseaseName" width="100" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{scope.row.basicDiseaseName ? scope.row.basicDiseaseName.toString() : ''}}</span>
</template>
</el-table-column>
<el-table-column label="是否有人照顾" align="center" prop="isCare" width="100" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{scope.row.isCare === '0' ? '是':scope.row.isCare === '1' ? '否' : '' }}</span>
</template>
</el-table-column>
<el-table-column label="同住人数(不包括自己)" align="center" prop="cohabitantsNumber" width="100" :show-overflow-tooltip="true" />
<el-table-column label="同住人数(不包括自己)" align="center" prop="cohabitantsNumber" width="160" :show-overflow-tooltip="true" />
<!-- <el-table-column label="状态" align="center" prop="status" width="100" :show-overflow-tooltip="true" />-->
<el-table-column label="备注" align="center" prop="remark" width="120" :show-overflow-tooltip="true" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
......@@ -737,7 +736,7 @@ export default {
list = item.basicDisease.split(',')
for (let i = 0; i < list.length; i++) {
const name = this.basicdiseaseOptions.find(optionItem => optionItem.dictValue === list[i]).dictLabel
this.basicDiseaseName.push(name+ ',')
this.basicDiseaseName.push(name)
}
this.$set(item, 'basicDiseaseName', this.basicDiseaseName)
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment