Explorar el Código

:alien: Updating code due to external API changes.

冷冷 hace 6 años
padre
commit
50b98c6302
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 3 3
      src/const/crud/user.js
  2. 1 1
      src/views/admin/user/index.vue

+ 3 - 3
src/const/crud/user.js

@@ -100,7 +100,7 @@ export const tableOption = {
         }],
     }, {
         label: '状态',
-        prop: 'lockFlag',
+        prop: "lockFlag",
         type: "select",
         solt: true,
         span: 24,
@@ -111,10 +111,10 @@ export const tableOption = {
         }],
         dicData: [{
             label: '有效',
-            value: '0'
+            value: "0"
         }, {
             label: '锁定',
-            value: '9'
+            value: "1"
         }]
     }, {
         width: 180,

+ 1 - 1
src/views/admin/user/index.vue

@@ -54,7 +54,7 @@
                   slot-scope="scope">
           {{scope.row.deptName}}
         </template>
-        <template slot="delFlag"
+        <template slot="lockFlag"
                   slot-scope="scope">
           <el-tag>{{scope.label}}</el-tag>
         </template>