|
|
@ -190,7 +190,6 @@ |
|
|
|
@select-all="handleSelAll" |
|
|
|
style="width: 100%" |
|
|
|
> |
|
|
|
<!-- <el-table-column type="selection" width="55"></el-table-column> --> |
|
|
|
<el-table-column |
|
|
|
label="序号" |
|
|
|
header-align="center" |
|
|
@ -208,6 +207,7 @@ |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a |
|
|
|
style="cursor: pointer" |
|
|
|
v-if="scope.row.userId" |
|
|
|
@click="handleWatchPeopleInfo(scope.$index)" |
|
|
|
>{{ scope.row.name }}</a |
|
|
@ -256,6 +256,9 @@ |
|
|
|
label="隔离状态" |
|
|
|
width="180" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ optionsDict.isolatedState[scope.row.isolatedState] || "--" }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column |
|
|
@ -485,6 +488,9 @@ export default { |
|
|
|
options: { |
|
|
|
isolatedState: [], |
|
|
|
}, |
|
|
|
optionsDict: { |
|
|
|
isolatedState: {}, |
|
|
|
}, |
|
|
|
|
|
|
|
optionsV: [], |
|
|
|
optionsB: [], |
|
|
@ -533,11 +539,11 @@ export default { |
|
|
|
this.natNumList.push(obj); |
|
|
|
} |
|
|
|
|
|
|
|
await this.loadTable(); |
|
|
|
|
|
|
|
this.getFmOptions("isolatedState", "/sys/dict/data/dictlist", { |
|
|
|
await this.getFmOptions("isolatedState", "/sys/dict/data/dictlist", { |
|
|
|
dictType: "isolatedState", |
|
|
|
}); |
|
|
|
|
|
|
|
await this.loadTable(); |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
@ -557,6 +563,10 @@ export default { |
|
|
|
if (code === 0) { |
|
|
|
this.options[field] = |
|
|
|
typeof cookFn == "function" ? cookFn(data) : data || []; |
|
|
|
this.options[field].forEach((item) => { |
|
|
|
this.optionsDict[field][item.value] = item.label; |
|
|
|
}); |
|
|
|
console.log("红红火火恍恍惚惚或或或或或或或或", this.optionsDict); |
|
|
|
} else { |
|
|
|
this.$message.error("请求基础数据失败!"); |
|
|
|
} |
|
|
|