Jelajahi Sumber

导师带徒 bugfix

jiangbiao 1 tahun lalu
induk
melakukan
c811c9ef65
1 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 4 3
      ui/src/views/training/bccnew/tsnew/index.vue

+ 4 - 3
ui/src/views/training/bccnew/tsnew/index.vue

@@ -241,7 +241,7 @@
             <el-option
               v-for="item in userOption"
               :key="item.staffid"
-              :label="item.name +'  '+ item.deptName"
+              :label="item.nickName +'  '+ item.dept.deptName"
               :value="item.staffid"
               :disabled="item.disabled">
             </el-option>
@@ -273,7 +273,7 @@
             <el-option
               v-for="item in userOption"
               :key="item.staffid"
-              :label="item.name +'  '+ item.deptName"
+              :label="item.nickName +'  '+ item.dept.deptName"
               :value="item.staffid"
               :disabled="item.disabled">
             </el-option>
@@ -442,6 +442,7 @@ import {listStaff} from "@/api/training/newstaff/tnNew";
 import {allFileList, delCommonfile} from "@/api/common/commonfile";
 import { Loading } from 'element-ui';
 import {date} from "mockjs/src/mock/random/date";
+import {listUserNoPage} from "@/api/system/user";
 
 export default {
   name: "Tsnew",
@@ -604,7 +605,7 @@ export default {
     this.getDicts("training_newstaff_type").then(response => {
       this.planTypeOptions = response.data;
     });
-    listStaff(this.queryParams).then(response => {
+    listUserNoPage({}).then(response => {
       this.userOption = response.data;
     });
   },