Explorar o código

修改邀约订单--员工搜索

plg hai 11 meses
pai
achega
4be7257368
Modificáronse 2 ficheiros con 6 adicións e 4 borrados
  1. 2 2
      src/utils/http.js
  2. 4 2
      src/views/manage/orderManage/orderInvite.vue

+ 2 - 2
src/utils/http.js

@@ -16,8 +16,8 @@ import { router } from "@/router";
 // axios.defaults.baseURL = 'https://81.70.207.4:8070';
 // axios.defaults.baseURL = 'https://child.hhnao.com:8070';
 // axios.defaults.baseURL = 'https://child.hhnao.com:8070';
-export const basePath='http://10.113.248.3:8086'
-// export const basePath='http://43.143.198.30:8086'
+// export const basePath='http://10.113.248.3:8086'
+export const basePath='http://43.143.198.30:8086'
 axios.defaults.baseURL = basePath;
 // axios.defaults.baseURL = "http://43.143.198.30:8086";
 

+ 4 - 2
src/views/manage/orderManage/orderInvite.vue

@@ -13,8 +13,8 @@
                 :key="item.id"
               ></el-option> </el-select
             >&nbsp;&nbsp;&nbsp;&nbsp;
-            <span>用户:</span>
-            <el-select v-model="staffId" placeholder="请选择用户">
+            <span>员工:</span>
+            <el-select v-model="staffId" placeholder="请选择员工">
               <el-option
                 :label="item.name"
                 :value="item.id"
@@ -275,6 +275,7 @@ export default {
   methods: {
     //渠道发生变化
     changeChannel() {
+        debugger;
       this.getUserInfo();
       this.searchTarget();
     },
@@ -371,6 +372,7 @@ export default {
     clearSearch() {
       this.channel = "";
       this.staffId='';
+      this.userList=[]
       this.searchTarget();
     },
     formatterRole(val) {