作者 朱兆平

合并分支 'master_dev' 到 'master'

Master dev



查看合并请求 !27
@@ -20,7 +20,7 @@ export const selectByliscenNo = params => { return axios.get(`${baseServiceURL}/ @@ -20,7 +20,7 @@ export const selectByliscenNo = params => { return axios.get(`${baseServiceURL}/
20 //出任务 20 //出任务
21 export const insertSelective = params => { return http.post(`${baseServiceURL}/map/location/insertSelective`, params); }; 21 export const insertSelective = params => { return http.post(`${baseServiceURL}/map/location/insertSelective`, params); };
22 //获取用户列表 22 //获取用户列表
23 -export const getUserList = params => { return http.post(`${serviceName}/crm/list`, params) }; 23 +export const getUserList = (data,params) => { return http.post(`${serviceName}/crm/list`, data, params) };
24 24
25 //车辆轨迹 25 //车辆轨迹
26 export const historyTrack = params => { return axios.get(`${baseServiceURL}/map/location/historyTrack`, { params: params }); }; 26 export const historyTrack = params => { return axios.get(`${baseServiceURL}/map/location/historyTrack`, { params: params }); };
@@ -736,9 +736,10 @@ @@ -736,9 +736,10 @@
736 }, 736 },
737 //获取用户名列表 737 //获取用户名列表
738 getUsers() { 738 getUsers() {
739 - let para = {orgtype: "", pageSize: 1000, pageNum: 1}; 739 + let data = {orgtype: "",roleName:"",departmentid:""};
  740 + let para={pageSize: 1000, pageNum: 1}
740 this.listLoading = true; 741 this.listLoading = true;
741 - getUserList(para).then((res) => { 742 + getUserList(data,para).then((res) => {
742 this.usernames = res.data.data.list; 743 this.usernames = res.data.data.list;
743 }).catch((error) => { 744 }).catch((error) => {
744 this.$message.error(error.toString()); 745 this.$message.error(error.toString());