Преглед на файлове

Merge branch 'ol_12_30' of http://git.dayaedu.com/molingzhide/dy-admin-manager into ol_12_30

mo преди 4 години
родител
ревизия
c933c46aa0
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      src/store/modules/selects.js
  2. 3 3
      src/views/categroyManager/insideSetting/modals/select-user.vue

+ 1 - 1
src/store/modules/selects.js

@@ -126,7 +126,7 @@ export default {
       }
       }
     },
     },
     async setTechnician({commit,state},force){
     async setTechnician({commit,state},force){
-      if ((!state.educations.length || force === true) && !loadings.commit_technician) {
+      if ((!state.technician.length || force === true) && !loadings.commit_technician) {
         loadings.commit_technician = true
         loadings.commit_technician = true
         try {
         try {
           const res = await findTechnician()
           const res = await findTechnician()

+ 3 - 3
src/views/categroyManager/insideSetting/modals/select-user.vue

@@ -29,8 +29,8 @@
             >
             >
               <el-option
               <el-option
                 v-for="option in options[row.organId]"
                 v-for="option in options[row.organId]"
-                :key="option.id"
-                :value="option.id"
+                :key="option.id || option.userId"
+                :value="option.id || option.userId"
                 :label="option.realName"
                 :label="option.realName"
               ></el-option>
               ></el-option>
             </el-select>
             </el-select>
@@ -57,7 +57,7 @@ export default {
       const types = {
       const types = {
         repair: '维修技师',
         repair: '维修技师',
         director: '乐队指导',
         director: '乐队指导',
-        education: '教务老师',
+        education: '乐团主管',
         teamTeacher: '运营主管',
         teamTeacher: '运营主管',
       }
       }
       return types[this.name]
       return types[this.name]