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

修改

parent 2895a356
...@@ -140,18 +140,17 @@ ...@@ -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="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="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="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="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">
<!-- <template slot-scope="scope">--> <span>{{scope.row.basicDiseaseName ? scope.row.basicDiseaseName.toString() : ''}}</span>
<!-- <dict-tag :options="dict.type.basic_disease" :value="scope.row.basicDisease.split(',')"/>--> </template>
<!-- </template>--> </el-table-column>
<!-- </el-table-column>-->
<el-table-column label="是否有人照顾" align="center" prop="isCare" width="100" :show-overflow-tooltip="true"> <el-table-column label="是否有人照顾" align="center" prop="isCare" width="100" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{scope.row.isCare === '0' ? '是':scope.row.isCare === '1' ? '否' : '' }}</span> <span>{{scope.row.isCare === '0' ? '是':scope.row.isCare === '1' ? '否' : '' }}</span>
</template> </template>
</el-table-column> </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="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" prop="remark" width="120" :show-overflow-tooltip="true" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
...@@ -737,7 +736,7 @@ export default { ...@@ -737,7 +736,7 @@ export default {
list = item.basicDisease.split(',') list = item.basicDisease.split(',')
for (let i = 0; i < list.length; i++) { for (let i = 0; i < list.length; i++) {
const name = this.basicdiseaseOptions.find(optionItem => optionItem.dictValue === list[i]).dictLabel 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) this.$set(item, 'basicDiseaseName', this.basicDiseaseName)
} else { } 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