Просмотр исходного кода

权限规则增加备注字段

evoxwht 2 лет назад
Родитель
Сommit
18e66bd22b

+ 2 - 1
template/admin/src/pages/setting/systemMenus/index.vue

@@ -58,6 +58,7 @@
               :false-value="0"
               @on-change="onchangeIsShow(row)"
               size="large"
+              v-if="row.auth_type == 1"
             >
               <span slot="open">显示</span>
               <span slot="close">隐藏</span>
@@ -176,7 +177,7 @@ export default {
       roleData: {
         is_show: 1,
         keyword: '',
-        auth_type: 1,
+        // auth_type: 1,
       },
       defaultProps: {
         children: 'children',

+ 1 - 0
template/admin/src/pages/system/systemMenus/index.vue

@@ -64,6 +64,7 @@
             </i-switch>
           </template>
         </vxe-table-column>
+        <vxe-table-column field="mark" title="备注" min-width="120"></vxe-table-column>
         <vxe-table-column field="date" title="操作" align="right" width="250" fixed="right">
           <template v-slot="{ row }">
             <span>