Commit bad52098 authored by 刘怀志's avatar 刘怀志

66566 (28)检查管理,已经使用的检查项目可以删除吗

parent 3f96c2bd
......@@ -823,7 +823,6 @@ export default {
}
this.getAreaData()
this.handleUpdate()
this.getUserInfo()
this.getuseList()
},
computed: {
......@@ -991,7 +990,16 @@ export default {
// 获取检查项目下拉框
getItemByType() {
listItemByType({ itemType: this.itemType }).then(res => {
console.log('检查项目', res)
this.form.checkType = this.form.checkType.filter(item => {
let flag = false
res.rows.forEach(row => {
if (row.id === item) {
flag = true
}
})
return flag
})
console.log('检查项目23333', res, this.form)
this.checkItemOptions = res.rows
console.log('xdddd', this.checkItemOptions)
const result = []
......@@ -1184,6 +1192,7 @@ export default {
getDevice(this.id).then(response => {
this.form = response.data
console.log('查询是否为医院设备', this.form.isPrivate)
this.getUserInfo()
this.form.selectedOptions = response.data.addressCode.split(',').map(Number)
console.log('地址编码-------------', this.form.selectedOptions)
// this.getAreNameById(this.form.selectedOptions)
......
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