|
@@ -58,6 +58,7 @@
|
|
<el-table-column type="index" label="序号" />
|
|
<el-table-column type="index" label="序号" />
|
|
<el-table-column prop="account" label="工号" />
|
|
<el-table-column prop="account" label="工号" />
|
|
<el-table-column prop="group_name" label="部门" />
|
|
<el-table-column prop="group_name" label="部门" />
|
|
|
|
+ <el-table-column prop="KSMC" label="科室" />
|
|
<el-table-column prop="realname" label="姓名" />
|
|
<el-table-column prop="realname" label="姓名" />
|
|
<el-table-column prop="phone" label="手机号" />
|
|
<el-table-column prop="phone" label="手机号" />
|
|
<el-table-column prop="login_at" label="最后登陆" />
|
|
<el-table-column prop="login_at" label="最后登陆" />
|
|
@@ -215,6 +216,7 @@ export default {
|
|
phone: null,
|
|
phone: null,
|
|
pwd: null,
|
|
pwd: null,
|
|
group_id: null,
|
|
group_id: null,
|
|
|
|
+ KSDM: null,
|
|
desc: null
|
|
desc: null
|
|
},
|
|
},
|
|
delForm: {
|
|
delForm: {
|
|
@@ -241,7 +243,15 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
getDeportmentList() {
|
|
getDeportmentList() {
|
|
getDeportmentList().then(res => {
|
|
getDeportmentList().then(res => {
|
|
- this.deportmentList = res.p.list
|
|
|
|
|
|
+ const { p } = res
|
|
|
|
+ if (Object.keys(p.list).length) {
|
|
|
|
+ for (const key in p.list) {
|
|
|
|
+ this.deportmentList.push({
|
|
|
|
+ id: key,
|
|
|
|
+ name: p.list[key]
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
console.log(error)
|
|
console.log(error)
|
|
})
|
|
})
|
|
@@ -299,6 +309,7 @@ export default {
|
|
this.alertForm.phone = data.phone
|
|
this.alertForm.phone = data.phone
|
|
this.alertForm.realname = data.realname
|
|
this.alertForm.realname = data.realname
|
|
this.alertForm.group_id = parseInt(data.group_id)
|
|
this.alertForm.group_id = parseInt(data.group_id)
|
|
|
|
+ this.alertForm.KSDM = data.KSDM
|
|
this.alertForm.desc = data.desc
|
|
this.alertForm.desc = data.desc
|
|
this.dialogStatus = 'update'
|
|
this.dialogStatus = 'update'
|
|
this.dialogVisible = true
|
|
this.dialogVisible = true
|
|
@@ -319,6 +330,7 @@ export default {
|
|
phone: null,
|
|
phone: null,
|
|
pwd: null,
|
|
pwd: null,
|
|
group_id: null,
|
|
group_id: null,
|
|
|
|
+ KSDM: null,
|
|
desc: null
|
|
desc: null
|
|
}
|
|
}
|
|
},
|
|
},
|