Commit 80a9e9ad authored by 王飞龙's avatar 王飞龙

bug修改

parent 9be7028e
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.deviceType=== null||scope.row.deviceType=== '' ">{{ "-" }}</span> <span v-if="scope.row.deviceType=== null||scope.row.deviceType=== '' ">{{ "-" }}</span>
<span v-else> <span v-else>
<dict-tag :options="dict.type.device_type" :value="scope.row.deviceType " /> <span>{{ selectDictLabel(dict.type.device_type,scope.row.deviceType) }}</span>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
import { regionData } from 'element-china-area-data' import { regionData } from 'element-china-area-data'
import { listDevice, delDevice } from '@/api/business/device' import { listDevice, delDevice } from '@/api/business/device'
import { getInfo } from '@/api/login' import { getInfo } from '@/api/login'
import { parseTime } from '@/utils/ruoyi' import { parseTime, selectDictLabel } from '@/utils/ruoyi'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import { listItem } from '@/api/business/item' import { listItem } from '@/api/business/item'
import { signHospitalMessage } from '@/api/business/hospital' import { signHospitalMessage } from '@/api/business/hospital'
...@@ -370,6 +370,7 @@ export default { ...@@ -370,6 +370,7 @@ export default {
} }
], ],
dictdata: '设备类型超长字符测试啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊',
// 预约方式 // 预约方式
options: [{ options: [{
value: '1', value: '1',
...@@ -509,6 +510,7 @@ export default { ...@@ -509,6 +510,7 @@ export default {
this.getUserInfo() this.getUserInfo()
}, },
methods: { methods: {
selectDictLabel,
// 获取登陆人信息 // 获取登陆人信息
getUserInfo() { getUserInfo() {
getInfo().then(res => { getInfo().then(res => {
......
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