Răsfoiți Sursa

增加页面

zhoux 2 ani în urmă
părinte
comite
24c57ccab6

+ 1 - 1
.env.dev

@@ -1,6 +1,6 @@
 NODE_ENV = 'development'
 VUE_APP_BUILD_TYPE='dev'
-VUE_APP_SERVER_URL='https://s.dev01.dkiboss.com:6010/api'
+VUE_APP_SERVER_URL='http://localhost:7001'
 # VUE_APP_SERVER_URL='https://s.dev01.dkiboss.com:6010/api'
 VUE_APP_UPLOAD_URL='https://s.dev01.dkiboss.com:6010/api/mdm-server/file/upload'
 VUE_APP_EXPORT_URL='http://localhost:5000/'

+ 1 - 0
package.json

@@ -53,6 +53,7 @@
     "sortablejs": "^1.14.0",
     "svg-sprite-loader": "^6.0.11",
     "tinymce": "^5.10.7",
+    "v-click-outside-x": "^4.1.3",
     "v-viewer": "^1.6.4",
     "vconsole": "^3.15.0",
     "view-design": "^4.7.0",

BIN
public/logo1.png


+ 2 - 1
src/api/pages/core/role.js

@@ -19,6 +19,7 @@ export default {
 export const routeUrl = {
   role:{
     moduleRights:{key:'moduleRights',method:'moduleRights'},
-    addUser:{key:'addUser',method:'openAddUser'}
+    addUser:{key:'addUser',method:'openAddUser'},
+    enable:{key:'enable',method:'enable'}
   }
 }

+ 79 - 0
src/router/routers.js

@@ -120,6 +120,28 @@ let menu = [
             },
           },
           {
+            path: '/core/staff/add',
+            name: '员工管理-新建',
+            component: () => import('@/view/core/staff/add.vue'),
+            meta: {
+              title: '新建员工',
+              hideInMenu: true,
+              notCache: false,
+              flgRight:false,
+            },
+          },
+          {
+            path: '/core/staff/edit',
+            name: '员工管理-编辑',
+            component: () => import('@/view/core/staff/edit.vue'),
+            meta: {
+              title: '编辑客户员工',
+              hideInMenu: true,
+              notCache: false,
+              flgRight:false,
+            },
+          },
+          {
             path: '/core/system-setting/index',
             name: '系统参数',
             component: () => import('@/view/core/system-setting/index.vue'),
@@ -285,6 +307,28 @@ let menu = [
             },
           },
           {
+            path: '/pur/purOrder/add',
+            name: '采购订单-新建',
+            component: () => import('@/view/pur/pur-order/add.vue'),
+            meta: {
+              title: '新建采购订单',
+              hideInMenu: true,
+              notCache: false,
+              flgRight:false,
+            },
+          },
+          {
+            path: '/core/purOrder/edit',
+            name: '采购订单-编辑',
+            component: () => import('@/view/pur/pur-order/edit.vue'),
+            meta: {
+              title: '编辑采购订单',
+              hideInMenu: true,
+              notCache: false,
+              flgRight:false,
+            },
+          },
+          {
             path: '/pur/purReject/index',
             name: '采购退货',
             component: () => import('@/view/pur/pur-reject/index.vue'),
@@ -319,6 +363,41 @@ let menu = [
     ]
   },
   {
+    path: '',
+    name: '账务管理',
+    component: Main,
+    meta: {
+      title: '账务管理',
+      notCache: true
+    },
+    children:[
+      {
+        path: '',
+        name: '资金管理',
+        component: parentView,
+        flgRight: true,
+        meta: {
+          title: '资金管理',
+          notCache: true,
+          flgRight: true,
+        },
+        children: [
+          {
+            path: '/fin/fundAccount/index',
+            name: '资金账户',
+            component: () => import('@/view/fin/fundAccount/index.vue'),
+            meta: {
+              title: '资金账户',
+              notCache: false,
+              flgRight:true,
+            },
+          },
+        ]
+      },
+
+    ]
+  },
+  {
     path: '/401',
     name:
       'error_401',

+ 11 - 4
src/view/core/role/index.vue

@@ -64,11 +64,11 @@
       <DkForm ref="formInline" v-model="formData" :col-count="1">
         <!--  角色编码  -->
         <DkFormItem prop="角色编码" :required="true">
-          <InputPop v-model="formData.roleName" />
+          <InputPop v-model="formData.角色编码" />
         </DkFormItem>
         <!--  角色名称  -->
         <DkFormItem prop="角色名称" :required="true">
-          <InputPop v-model="formData.roleName" />
+          <InputPop v-model="formData.角色名称" />
         </DkFormItem>
         <!--  功能权限  -->
         <DkFormItem prop="功能权限" :data-type="$config.dataType.array">
@@ -107,8 +107,8 @@ export default {
     let self = this
     return {
       formData: {
-        roleCode:null,
-        roleName: '',
+        角色名称:null,
+        角色编码: '',
         functions: null,
         purviews: null,
         displayNo: 0,
@@ -124,7 +124,14 @@ export default {
     }
   },
   methods:{
+    /**
+     * @desc   : desc
+     * @author : 周兴
+     * @date   : 2024/1/30 14:10
+     */
+    enable(){
 
+    },
   },
   created() {
     this.primaryKey = 'roleId'  // 设置主键Id

+ 18 - 0
src/view/core/staff/add.vue

@@ -0,0 +1,18 @@
+<template>
+  <CommonForm type="add"></CommonForm>
+</template>
+
+<script>
+import CommonForm from "./form";
+
+export default {
+  name: "staff-add",
+  components: {
+    CommonForm
+  },
+}
+</script>
+
+<style scoped>
+
+</style>

+ 18 - 0
src/view/core/staff/edit.vue

@@ -0,0 +1,18 @@
+<template>
+  <CommonForm type="edit"></CommonForm>
+</template>
+
+<script>
+import CommonForm from "./form";
+
+export default {
+  name: "staff-edit",
+  components: {
+    CommonForm
+  },
+}
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/view/core/staff/form.vue

@@ -0,0 +1,13 @@
+<template>
+
+</template>
+
+<script>
+export default {
+  name: "form"
+}
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/view/fin/fundAccount/index.vue

@@ -0,0 +1,13 @@
+<template>
+
+</template>
+
+<script>
+export default {
+name: "index"
+}
+</script>
+
+<style scoped>
+
+</style>

+ 18 - 0
src/view/pur/pur-order/add.vue

@@ -0,0 +1,18 @@
+<template>
+  <CommonForm type="add"></CommonForm>
+</template>
+
+<script>
+import CommonForm from "./form";
+
+export default {
+  name: "pur-order-add",
+  components: {
+    CommonForm
+  },
+}
+</script>
+
+<style scoped>
+
+</style>

+ 18 - 0
src/view/pur/pur-order/edit.vue

@@ -0,0 +1,18 @@
+<template>
+  <CommonForm type="edit"></CommonForm>
+</template>
+
+<script>
+import CommonForm from "./form";
+
+export default {
+  name: "pur-order-edit",
+  components: {
+    CommonForm
+  },
+}
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/view/pur/pur-order/form.vue

@@ -0,0 +1,13 @@
+<template>
+
+</template>
+
+<script>
+export default {
+  name: "form"
+}
+</script>
+
+<style scoped>
+
+</style>