소스 검색

1.2.45 更新 curd

liuyanpeng 1 년 전
부모
커밋
b8ecc0230f
3개의 변경된 파일37개의 추가작업 그리고 8개의 파일을 삭제
  1. 3 3
      package.json
  2. 12 5
      src/main.js
  3. 22 0
      src/routes/route-base-v4.js

+ 3 - 3
package.json

@@ -1,7 +1,7 @@
 {
   "name": "prodog-pc-client",
   "description": "Leanwo Prodog Client",
-  "version": "1.2.44",
+  "version": "1.2.45",
   "author": "yangzhijie1488 <yangzhijie1488@163.com>",
   "scripts": {
     "dev": "cross-env webpack serve --config ./webpack.dev.js",
@@ -15,8 +15,8 @@
     "ant-design-vue": "^4.2.1",
     "axios": "^0.19.2",
     "click-outside-vue3": "^4.0.1",
-    "client-base-v4": "4.0.75",
-    "client-dic-v3": "^3.0.33",
+    "client-base-v4": "4.0.76",
+    "client-dic-v3": "^3.0.34",
     "client-eam-v3": "^3.0.78",
     "client-role-v3": "^3.0.24",
     "client-sensor-v3": "^1.0.2",

+ 12 - 5
src/main.js

@@ -48,12 +48,19 @@ window.Common = Common;
 window.Notify = Notify;
 
 const menuColor = {
-  logoWidth: 150, // logo宽度 (80)
-  mainColor: '#277fd0', // 菜单栏主题色 ('#2a3f54')
-  secondLevelColor: '#2e8ee7', // 二级菜单颜色 ('linear-gradient(#334556, #2c4257), #2a3f54')
-  threeLevelColor: '#6db0ee',  // 三级菜单悬浮颜色 ('#495d70')
-  searchInputColor: '#1673c0', // 菜单搜索框颜色 ('#1c3e4b')
+  logoWidth: 150, // logo宽度
+  mainColor: '#2a3f54', // 菜单栏主题色 
+  secondLevelColor: 'linear-gradient(#334556, #2c4257), #2a3f54', // 二级菜单颜色
+  threeLevelColor: '#495d70', // 三级菜单悬浮颜色
+  searchInputColor: '#1c3e4b', // 菜单搜索框颜色
 }
+// const menuColor = {
+//   logoWidth: 150,
+//   mainColor: '#277fd0',
+//   secondLevelColor: '#2e8ee7',
+//   threeLevelColor: '#6db0ee',
+//   searchInputColor: '#1673c0',
+// }
 localStorage.setItem('menuSetting', JSON.stringify(menuColor))
 
 const app = createApp(App);

+ 22 - 0
src/routes/route-base-v4.js

@@ -58,6 +58,9 @@ import {
     SamlLogin,
     CasLogin,
     PrinterConfiguration,
+    Window1,
+    TabFormEdit1,
+    TabFormView1,
 } from 'client-base-v4/dist/client-base-v4.js';
 
 
@@ -125,6 +128,25 @@ const router = [
             // eslint-disable-next-line
             { path: 'window/window-read/:type/:windowNo/:tabIndex/:recordId', component: TabFormView },
 
+
+
+            { path: 'window1/:windowNo', component: Window1 },
+
+            // CRUD编辑窗口
+            // eslint-disable-next-line
+            { path: 'window1/window-edit/:type/:uuid', component: TabFormEdit1 },
+            // eslint-disable-next-line
+            { path: 'window1/window-edit/:type/:windowNo/:tabIndex', component: TabFormEdit1 },
+            // eslint-disable-next-line
+            { path: 'window1/window-edit/:type/:windowNo/:tabIndex/:recordId', component: TabFormEdit1 },
+
+            // CRUD不可编辑窗口
+            // eslint-disable-next-line
+            { path: 'window1/window-read/:type/:uuid', component: TabFormView1 },
+            // eslint-disable-next-line
+            { path: 'window1/window-read/:type/:windowNo/:tabIndex/:recordId', component: TabFormView1 },
+            { path: '/window1/window-read/:type/:windowNo/:tabIndex/:recordId', component: TabFormView1 },
+
             // 属性编辑窗口
             {
                 path: 'attribute-edit/:uuid', component: AttributeEditPanel,