Commit 16e5726a authored by dcy's avatar dcy

添加跟单客服

parent 19322c62
...@@ -156,6 +156,13 @@ ...@@ -156,6 +156,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="跟单客服">
<el-select v-model="form.customerServiceId" placeholder="请选择">
<el-option v-for="dict in followUpList" :key="parseInt(dict.id)" :label="dict.nickname" :value="parseInt(dict.id)"/>
</el-select>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
...@@ -231,7 +238,7 @@ import { ...@@ -231,7 +238,7 @@ import {
importTemplate, importTemplate,
listUser, listUser,
resetUserPwd, resetUserPwd,
updateUser updateUser, userList
} from "@/api/system/user"; } from "@/api/system/user";
import {getToken} from "@/utils/auth"; import {getToken} from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect"; import Treeselect from "@riophae/vue-treeselect";
...@@ -309,7 +316,7 @@ export default { ...@@ -309,7 +316,7 @@ export default {
username: undefined, username: undefined,
mobile: undefined, mobile: undefined,
status: undefined, status: undefined,
deptId: undefined deptId: undefined,
}, },
// 列信息 // 列信息
columns: [ columns: [
...@@ -355,6 +362,7 @@ export default { ...@@ -355,6 +362,7 @@ export default {
// 数据字典 // 数据字典
statusDictDatas: getDictDatas(DICT_TYPE.COMMON_STATUS), statusDictDatas: getDictDatas(DICT_TYPE.COMMON_STATUS),
sexDictDatas: getDictDatas(DICT_TYPE.SYSTEM_USER_SEX), sexDictDatas: getDictDatas(DICT_TYPE.SYSTEM_USER_SEX),
followUpList:[],
}; };
}, },
watch: { watch: {
...@@ -369,6 +377,9 @@ export default { ...@@ -369,6 +377,9 @@ export default {
this.getConfigKey("sys.user.init-password").then(response => { this.getConfigKey("sys.user.init-password").then(response => {
this.initPassword = response.msg; this.initPassword = response.msg;
}); });
userList('documentary customer service').then(r => {
this.followUpList = r.data;
})
}, },
methods: { methods: {
// 更多操作 // 更多操作
...@@ -462,7 +473,8 @@ export default { ...@@ -462,7 +473,8 @@ export default {
status: "0", status: "0",
remark: undefined, remark: undefined,
postIds: [], postIds: [],
roleIds: [] roleIds: [],
customerServiceId:undefined
}; };
this.resetForm("form"); this.resetForm("form");
}, },
......
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