lrf402788946 4 gadi atpakaļ
vecāks
revīzija
84c9392240
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/personnel/user.vue

+ 1 - 1
src/views/personnel/user.vue

@@ -28,7 +28,7 @@
       <data-form v-model="form" :fields="fields" @save="turnSave" :rules="rules" status-icon>
       <data-form v-model="form" :fields="fields" @save="turnSave" :rules="rules" status-icon>
         <template #options="{item}">
         <template #options="{item}">
           <template v-if="item.model == 'role'">
           <template v-if="item.model == 'role'">
-            <el-option v-for="(item, index) in Options" :key="index" :value="item.value" :label="item.name"></el-option>
+            <el-option v-for="(item, index) in roleOptions" :key="index" :value="item.type" :label="item.name"></el-option>
           </template>
           </template>
         </template>
         </template>
         <template #custom="{item}">
         <template #custom="{item}">