Переглянути джерело

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

mo 4 роки тому
батько
коміт
c933c46aa0

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

@@ -126,7 +126,7 @@ export default {
       }
     },
     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
         try {
           const res = await findTechnician()

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

@@ -29,8 +29,8 @@
             >
               <el-option
                 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"
               ></el-option>
             </el-select>
@@ -57,7 +57,7 @@ export default {
       const types = {
         repair: '维修技师',
         director: '乐队指导',
-        education: '教务老师',
+        education: '乐团主管',
         teamTeacher: '运营主管',
       }
       return types[this.name]