Browse Source

模版修改

hongchuangyanfa 3 years ago
parent
commit
7a5b2f3e2c
3 changed files with 30 additions and 5 deletions
  1. 1 0
      src/main.js
  2. 3 3
      src/views/manager/wbsinfo/edit.vue
  3. 26 2
      src/views/system/menu.vue

+ 1 - 0
src/main.js

@@ -14,6 +14,7 @@ import {
   iconfontUrl,
   iconfontVersion
 } from '@/config/env';
+
 import i18n from './lang'; // Internationalization
 import './styles/common.scss';
 import basicBlock from './components/basic-block/main';

+ 3 - 3
src/views/manager/wbsinfo/edit.vue

@@ -33,7 +33,7 @@
             </span>
           </el-tree>
           <el-tree v-show="filterText"
-            class="filter-tree" 
+            class="filter-tree"
             :data="treeData" @node-click="getNodeDetail"
             :props="defaultProps" :expand-on-click-node="false"
             highlight-current node-key="id"
@@ -538,7 +538,7 @@
             }
           })
         }
-        
+
       },
 
       showFormElement(){
@@ -641,7 +641,7 @@
       handleEditFormula(index,row){
         this.curEleTable = row;
         selectFormElements(this.curEleTable.id).then((res)=>{
-          
+
           this.editEleList = res.data.data;
         })
         this.editEleFormulaVisible = true;

+ 26 - 2
src/views/system/menu.vue

@@ -95,6 +95,18 @@
                 }
               ]
             },
+            {
+              label: "所属系统",
+              type: "select",
+              dicUrl: "/api/blade-system/client/getClinetAll",
+              props: {
+                label: "clientId",
+                value: "id"
+              },
+              slot: true,
+              prop: "sysId",
+              search: true,
+            },
             {
               label: "路由地址",
               prop: "path",
@@ -141,7 +153,6 @@
             {
               label: "菜单编号",
               prop: "code",
-              search: true,
               rules: [
                 {
                   required: true,
@@ -176,7 +187,6 @@
             {
               label: "菜单别名",
               prop: "alias",
-              search: true,
               rules: [
                 {
                   required: true,
@@ -230,6 +240,20 @@
               span: 24,
               minRows: 2,
               hide: true
+            },
+            {
+              label: "提示语",
+              prop: "textInfo",
+              type: "textarea",
+              span: 24,
+              minRows: 2,
+              rules: [
+                {
+                  required: true,
+                  message: "请输入菜单排序",
+                  trigger: "blur"
+                }
+              ]
             }
           ]
         },