修复护工绑定科室多选问题
This commit is contained in:
parent
783dc47a84
commit
9b3fe8d6ee
@ -87,7 +87,6 @@
|
|||||||
<el-table-column label="姓名" align="center" prop="name"/>
|
<el-table-column label="姓名" align="center" prop="name"/>
|
||||||
<el-table-column label="所属公司" align="center" prop="corpName"/>
|
<el-table-column label="所属公司" align="center" prop="corpName"/>
|
||||||
<!-- <el-table-column label="员工类别" align="center" prop="staffType"/>-->
|
<!-- <el-table-column label="员工类别" align="center" prop="staffType"/>-->
|
||||||
<el-table-column label="报餐科室" align="center" prop="deptList"/>
|
|
||||||
<el-table-column label="补贴余额" align="center" prop="balance"/>
|
<el-table-column label="补贴余额" align="center" prop="balance"/>
|
||||||
<el-table-column label="创建日期" align="center" prop="createAt" width="180">
|
<el-table-column label="创建日期" align="center" prop="createAt" width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@ -308,8 +307,8 @@ export default {
|
|||||||
const staffId = row.staffId || this.ids;
|
const staffId = row.staffId || this.ids;
|
||||||
getNursingInfo(staffId).then(response => {
|
getNursingInfo(staffId).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
// this.form.deptList = response.data.deptList.split(',');
|
this.form.deptList = response.data.deptList.split(',').map(Number);
|
||||||
this.form.deptList =[2,3];
|
// this.form.deptList =['2','3'].map(Number);
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改护工管理";
|
this.title = "修改护工管理";
|
||||||
console.log("form-->", this.form);
|
console.log("form-->", this.form);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user