@@ -196,7 +196,7 @@
<el-form ref="afform" :model="allocationForm" :rules="allocationFormRules" label-width="140px">
<el-form-item label="新负责人" prop="allocationStaff">
<dr-popover-select v-model="allocationForm.allocationStaffName" title="员工" type="CONTACTS_PARAM" :dataMapping="{
- allocationStaff: 'id',
+ allocationStaff: 'code',
allocationStaffName: 'name',
}" :source.sync="allocationForm"></dr-popover-select>
</el-form-item>
@@ -762,9 +762,8 @@ export default {
this.reset();
this.open = true;
this.operatingState = "Insert";
- const { id, orgId, deptId, nickName, deptName, orgName } =
+ const { id, name, orgId, deptId, nickName, deptName, orgName } = this.$store.state.user;
- this.$store.state.user;
+ this.form.principal = name;
- this.form.principal = id;
this.form.principalName = nickName;
this.form.dept = deptId;
this.form.deptName = deptName;
@@ -211,7 +211,7 @@ export default {
},
//员工参照列表选择后
selectionsToInput (selections) {
- this.form.staff = selections[0].userId;
+ this.form.staff = selections[0].userName;
this.form.staffName = selections[0].nickName;
}
@@ -349,7 +349,7 @@ export default {
selectionsToInput(selections) {
@@ -689,7 +689,7 @@ export default {
staffSelectionsToInput(selections) {
this.form.dept = selections[0].deptId;
this.form.deptName = selections[0].deptName;
@@ -625,7 +625,7 @@ export default {
@@ -491,12 +491,7 @@
@selection-change="handleMkCmCustomersDepartmentSelectionChange" ref="mkCmCustomersDepartment">
<el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" min-width="50" align="center" />
- <el-table-column label="科室名称" align="center" prop="name" min-width="150">
+ <el-table-column label="科室" align="center" prop="name" min-width="150" />
- <template slot-scope="scope">
- <dict-tag :options="dict.type.mk_bo_section" :value="scope.row.name"
- show-overflow-tooltip />
- </template>
- </el-table-column>
<el-table-column label="客户名称" align="center" prop="customersName" min-width="150" />
<el-table-column label="负责人姓名" align="center" prop="responsiblePersonName" min-width="150" />
<el-table-column label="联系人手机" align="center" prop="phone" min-width="150" />