|
@@ -2,7 +2,7 @@
|
|
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="visible" :append-to-body="true" width="600px">
|
|
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="visible" :append-to-body="true" width="600px">
|
|
<el-form ref="form" :model="taskForm" :rules="rules" label-width="80px">
|
|
<el-form ref="form" :model="taskForm" :rules="rules" label-width="80px">
|
|
<el-form-item label="支部成员" prop="userId">
|
|
<el-form-item label="支部成员" prop="userId">
|
|
- <el-select v-model="taskForm.userId" placeholder="请选择支部成员" disabled="true">
|
|
|
|
|
|
+ <el-select v-model="taskForm.userId" placeholder="请选择支部成员" :disabled="true">
|
|
<el-option
|
|
<el-option
|
|
v-for="dict in userList"
|
|
v-for="dict in userList"
|
|
:key="dict.dictValue"
|
|
:key="dict.dictValue"
|
|
@@ -55,9 +55,6 @@ export default {
|
|
// 用户列表
|
|
// 用户列表
|
|
userList: [],
|
|
userList: [],
|
|
rules: {
|
|
rules: {
|
|
- userId: [
|
|
|
|
- { required: true, message: "支部成员不能为空", trigger: "blur" }
|
|
|
|
- ],
|
|
|
|
oldDeptId: [
|
|
oldDeptId: [
|
|
{ required: true, message: "原支部不能为空", trigger: "blur" }
|
|
{ required: true, message: "原支部不能为空", trigger: "blur" }
|
|
],
|
|
],
|
|
@@ -88,9 +85,6 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
init(id, taskId, processId, taskName, dialogType) {
|
|
init(id, taskId, processId, taskName, dialogType) {
|
|
-
|
|
|
|
- this.getUserList();
|
|
|
|
-
|
|
|
|
// 流转列表
|
|
// 流转列表
|
|
getHistorylist({ "processId": processId }).then(response => {
|
|
getHistorylist({ "processId": processId }).then(response => {
|
|
this.historyList = response.rows;
|
|
this.historyList = response.rows;
|
|
@@ -117,8 +111,11 @@ export default {
|
|
this.taskForm.oldDeptId = Number(response.data.oldDeptId);
|
|
this.taskForm.oldDeptId = Number(response.data.oldDeptId);
|
|
this.taskForm.newDeptId = Number(response.data.newDeptId);
|
|
this.taskForm.newDeptId = Number(response.data.newDeptId);
|
|
this.taskForm.userId = Number(response.data.userId);
|
|
this.taskForm.userId = Number(response.data.userId);
|
|
|
|
+ console.log(typeof(this.taskForm.newDeptId))
|
|
|
|
+ console.log(typeof(this.taskForm.userId))
|
|
});
|
|
});
|
|
this.getTreeselect();
|
|
this.getTreeselect();
|
|
|
|
+ this.getUserList();
|
|
},
|
|
},
|
|
|
|
|
|
/** 查询用户列表 */
|
|
/** 查询用户列表 */
|