qymljy 2 years ago
parent
commit
83c439ff85

+ 2 - 2
node_modules/.vite/deps/@ant-design_icons-vue.js

@@ -57,10 +57,10 @@ import {
   svgBaseProps,
   useInsertStyles,
   warning
-} from "./chunk-BOZTDRRV.js";
+} from "./chunk-5XDXAD5U.js";
 import {
   createVNode
-} from "./chunk-3NMN3MUW.js";
+} from "./chunk-IDMHQ7FM.js";
 import "./chunk-4EOJPDL2.js";
 
 // node_modules/@ant-design/icons-svg/es/asn/AccountBookFilled.js

File diff suppressed because it is too large
+ 0 - 0
node_modules/.vite/deps/@ant-design_icons-vue.js.map


+ 27 - 27
node_modules/.vite/deps/_metadata.json

@@ -1,104 +1,104 @@
 {
-  "hash": "4374df86",
-  "browserHash": "ec4c1811",
+  "hash": "18bbf35d",
+  "browserHash": "174209d7",
   "optimized": {
     "@ant-design/icons-vue": {
       "src": "../../@ant-design/icons-vue/es/index.js",
       "file": "@ant-design_icons-vue.js",
-      "fileHash": "f1f31ea5",
+      "fileHash": "5938cea3",
       "needsInterop": false
     },
     "ant-design-vue": {
       "src": "../../ant-design-vue/es/index.js",
       "file": "ant-design-vue.js",
-      "fileHash": "e958e50c",
+      "fileHash": "45f9b0ec",
       "needsInterop": false
     },
     "ant-design-vue/es/locale/zh_CN": {
       "src": "../../ant-design-vue/es/locale/zh_CN.js",
       "file": "ant-design-vue_es_locale_zh_CN.js",
-      "fileHash": "c30f749f",
+      "fileHash": "298e1579",
       "needsInterop": false
     },
     "axios": {
       "src": "../../axios/index.js",
       "file": "axios.js",
-      "fileHash": "3abc17ec",
+      "fileHash": "eb7df329",
       "needsInterop": false
     },
     "dayjs": {
       "src": "../../dayjs/dayjs.min.js",
       "file": "dayjs.js",
-      "fileHash": "b2b743af",
+      "fileHash": "e0c0caf7",
       "needsInterop": true
     },
     "dayjs/locale/zh-cn": {
       "src": "../../dayjs/locale/zh-cn.js",
       "file": "dayjs_locale_zh-cn.js",
-      "fileHash": "5cd59bb2",
+      "fileHash": "f34e927d",
       "needsInterop": true
     },
     "js-md5": {
       "src": "../../js-md5/src/md5.js",
       "file": "js-md5.js",
-      "fileHash": "bd43d209",
+      "fileHash": "9d8e97a5",
       "needsInterop": true
     },
     "less": {
       "src": "../../less/dist/less.js",
       "file": "less.js",
-      "fileHash": "966ee37d",
+      "fileHash": "9b1ce05e",
       "needsInterop": true
     },
     "mathjs": {
       "src": "../../mathjs/lib/esm/index.js",
       "file": "mathjs.js",
-      "fileHash": "156f6ef5",
+      "fileHash": "2c610573",
       "needsInterop": false
     },
     "pinia": {
       "src": "../../pinia/dist/pinia.mjs",
       "file": "pinia.js",
-      "fileHash": "0eb43ba2",
+      "fileHash": "fce44de8",
       "needsInterop": false
     },
     "pinia-plugin-persist": {
       "src": "../../pinia-plugin-persist/dist/pinia-persist.es.js",
       "file": "pinia-plugin-persist.js",
-      "fileHash": "6a023e4e",
+      "fileHash": "02794d5a",
       "needsInterop": false
     },
     "vue": {
       "src": "../../vue/dist/vue.runtime.esm-bundler.js",
       "file": "vue.js",
-      "fileHash": "41933eaa",
+      "fileHash": "7ad6386c",
       "needsInterop": false
     },
     "vue-router": {
       "src": "../../vue-router/dist/vue-router.mjs",
       "file": "vue-router.js",
-      "fileHash": "346bff36",
+      "fileHash": "fe58ddc8",
       "needsInterop": false
     }
   },
   "chunks": {
-    "chunk-5OBJFL24": {
-      "file": "chunk-5OBJFL24.js"
+    "chunk-TQOCY6B2": {
+      "file": "chunk-TQOCY6B2.js"
     },
-    "chunk-KBUAZBQ3": {
-      "file": "chunk-KBUAZBQ3.js"
+    "chunk-VCGGRANA": {
+      "file": "chunk-VCGGRANA.js"
     },
-    "chunk-BOZTDRRV": {
-      "file": "chunk-BOZTDRRV.js"
+    "chunk-5XDXAD5U": {
+      "file": "chunk-5XDXAD5U.js"
     },
-    "chunk-3NMN3MUW": {
-      "file": "chunk-3NMN3MUW.js"
+    "chunk-IDMHQ7FM": {
+      "file": "chunk-IDMHQ7FM.js"
     },
-    "chunk-BCNMYODF": {
-      "file": "chunk-BCNMYODF.js"
+    "chunk-UVFXKAFZ": {
+      "file": "chunk-UVFXKAFZ.js"
     },
-    "chunk-WNF2IDJY": {
-      "file": "chunk-WNF2IDJY.js"
+    "chunk-WT3GSKHH": {
+      "file": "chunk-WT3GSKHH.js"
     },
     "chunk-XMOLR7NX": {
       "file": "chunk-XMOLR7NX.js"

+ 5 - 5
node_modules/.vite/deps/ant-design-vue.js

@@ -1,6 +1,6 @@
 import {
   _extends
-} from "./chunk-KBUAZBQ3.js";
+} from "./chunk-VCGGRANA.js";
 import {
   ArrowLeftOutlined_default,
   ArrowRightOutlined_default,
@@ -57,7 +57,7 @@ import {
   ZoomOutOutlined_default,
   generate,
   presetPrimaryColors
-} from "./chunk-BOZTDRRV.js";
+} from "./chunk-5XDXAD5U.js";
 import {
   Comment,
   Fragment,
@@ -104,16 +104,16 @@ import {
   watchEffect,
   withDirectives,
   withModifiers
-} from "./chunk-3NMN3MUW.js";
+} from "./chunk-IDMHQ7FM.js";
 import {
   _objectSpread2,
   zh_CN_default
-} from "./chunk-BCNMYODF.js";
+} from "./chunk-UVFXKAFZ.js";
 import {
   _defineProperty,
   _toPropertyKey,
   _typeof
-} from "./chunk-WNF2IDJY.js";
+} from "./chunk-WT3GSKHH.js";
 import {
   require_dayjs_min
 } from "./chunk-XMOLR7NX.js";

File diff suppressed because it is too large
+ 0 - 0
node_modules/.vite/deps/ant-design-vue.js.map


+ 2 - 2
node_modules/.vite/deps/ant-design-vue_es_locale_zh_CN.js

@@ -1,8 +1,8 @@
 import {
   _objectSpread2,
   zh_CN_default
-} from "./chunk-BCNMYODF.js";
-import "./chunk-WNF2IDJY.js";
+} from "./chunk-UVFXKAFZ.js";
+import "./chunk-WT3GSKHH.js";
 import "./chunk-4EOJPDL2.js";
 
 // node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js

File diff suppressed because it is too large
+ 0 - 0
node_modules/.vite/deps/ant-design-vue_es_locale_zh_CN.js.map


File diff suppressed because it is too large
+ 0 - 0
node_modules/.vite/deps/axios.js.map


File diff suppressed because it is too large
+ 0 - 0
node_modules/.vite/deps/js-md5.js.map


+ 2 - 2
node_modules/.vite/deps/mathjs.js

@@ -1,9 +1,9 @@
 import {
   _extends
-} from "./chunk-KBUAZBQ3.js";
+} from "./chunk-VCGGRANA.js";
 import {
   _defineProperty
-} from "./chunk-WNF2IDJY.js";
+} from "./chunk-WT3GSKHH.js";
 import {
   __commonJS,
   __export,

File diff suppressed because it is too large
+ 0 - 0
node_modules/.vite/deps/mathjs.js.map


+ 1 - 1
node_modules/.vite/deps/pinia-plugin-persist.js.map

@@ -1,7 +1,7 @@
 {
   "version": 3,
   "sources": ["../../pinia-plugin-persist/dist/pinia-persist.es.js"],
-  "sourcesContent": ["const updateStorage = (strategy, store) => {\n  const storage = strategy.storage || sessionStorage;\n  const storeKey = strategy.key || store.$id;\n  if (strategy.paths) {\n    const partialState = strategy.paths.reduce((finalObj, key) => {\n      finalObj[key] = store.$state[key];\n      return finalObj;\n    }, {});\n    storage.setItem(storeKey, JSON.stringify(partialState));\n  } else {\n    storage.setItem(storeKey, JSON.stringify(store.$state));\n  }\n};\nvar index = ({ options, store }) => {\n  var _a, _b, _c, _d;\n  if ((_a = options.persist) == null ? void 0 : _a.enabled) {\n    const defaultStrat = [{\n      key: store.$id,\n      storage: sessionStorage\n    }];\n    const strategies = ((_c = (_b = options.persist) == null ? void 0 : _b.strategies) == null ? void 0 : _c.length) ? (_d = options.persist) == null ? void 0 : _d.strategies : defaultStrat;\n    strategies.forEach((strategy) => {\n      const storage = strategy.storage || sessionStorage;\n      const storeKey = strategy.key || store.$id;\n      const storageResult = storage.getItem(storeKey);\n      if (storageResult) {\n        store.$patch(JSON.parse(storageResult));\n        updateStorage(strategy, store);\n      }\n    });\n    store.$subscribe(() => {\n      strategies.forEach((strategy) => {\n        updateStorage(strategy, store);\n      });\n    });\n  }\n};\nexport { index as default, updateStorage };\n"],
+  "sourcesContent": ["const updateStorage = (strategy, store) => {\r\n  const storage = strategy.storage || sessionStorage;\r\n  const storeKey = strategy.key || store.$id;\r\n  if (strategy.paths) {\r\n    const partialState = strategy.paths.reduce((finalObj, key) => {\r\n      finalObj[key] = store.$state[key];\r\n      return finalObj;\r\n    }, {});\r\n    storage.setItem(storeKey, JSON.stringify(partialState));\r\n  } else {\r\n    storage.setItem(storeKey, JSON.stringify(store.$state));\r\n  }\r\n};\r\nvar index = ({ options, store }) => {\r\n  var _a, _b, _c, _d;\r\n  if ((_a = options.persist) == null ? void 0 : _a.enabled) {\r\n    const defaultStrat = [{\r\n      key: store.$id,\r\n      storage: sessionStorage\r\n    }];\r\n    const strategies = ((_c = (_b = options.persist) == null ? void 0 : _b.strategies) == null ? void 0 : _c.length) ? (_d = options.persist) == null ? void 0 : _d.strategies : defaultStrat;\r\n    strategies.forEach((strategy) => {\r\n      const storage = strategy.storage || sessionStorage;\r\n      const storeKey = strategy.key || store.$id;\r\n      const storageResult = storage.getItem(storeKey);\r\n      if (storageResult) {\r\n        store.$patch(JSON.parse(storageResult));\r\n        updateStorage(strategy, store);\r\n      }\r\n    });\r\n    store.$subscribe(() => {\r\n      strategies.forEach((strategy) => {\r\n        updateStorage(strategy, store);\r\n      });\r\n    });\r\n  }\r\n};\r\nexport { index as default, updateStorage };\r\n"],
   "mappings": ";;;AAAA,IAAM,gBAAgB,CAAC,UAAU,UAAU;AACzC,QAAM,UAAU,SAAS,WAAW;AACpC,QAAM,WAAW,SAAS,OAAO,MAAM;AACvC,MAAI,SAAS,OAAO;AAClB,UAAM,eAAe,SAAS,MAAM,OAAO,CAAC,UAAU,QAAQ;AAC5D,eAAS,GAAG,IAAI,MAAM,OAAO,GAAG;AAChC,aAAO;AAAA,IACT,GAAG,CAAC,CAAC;AACL,YAAQ,QAAQ,UAAU,KAAK,UAAU,YAAY,CAAC;AAAA,EACxD,OAAO;AACL,YAAQ,QAAQ,UAAU,KAAK,UAAU,MAAM,MAAM,CAAC;AAAA,EACxD;AACF;AACA,IAAI,QAAQ,CAAC,EAAE,SAAS,MAAM,MAAM;AAClC,MAAI,IAAI,IAAI,IAAI;AAChB,OAAK,KAAK,QAAQ,YAAY,OAAO,SAAS,GAAG,SAAS;AACxD,UAAM,eAAe,CAAC;AAAA,MACpB,KAAK,MAAM;AAAA,MACX,SAAS;AAAA,IACX,CAAC;AACD,UAAM,eAAe,MAAM,KAAK,QAAQ,YAAY,OAAO,SAAS,GAAG,eAAe,OAAO,SAAS,GAAG,WAAW,KAAK,QAAQ,YAAY,OAAO,SAAS,GAAG,aAAa;AAC7K,eAAW,QAAQ,CAAC,aAAa;AAC/B,YAAM,UAAU,SAAS,WAAW;AACpC,YAAM,WAAW,SAAS,OAAO,MAAM;AACvC,YAAM,gBAAgB,QAAQ,QAAQ,QAAQ;AAC9C,UAAI,eAAe;AACjB,cAAM,OAAO,KAAK,MAAM,aAAa,CAAC;AACtC,sBAAc,UAAU,KAAK;AAAA,MAC/B;AAAA,IACF,CAAC;AACD,UAAM,WAAW,MAAM;AACrB,iBAAW,QAAQ,CAAC,aAAa;AAC/B,sBAAc,UAAU,KAAK;AAAA,MAC/B,CAAC;AAAA,IACH,CAAC;AAAA,EACH;AACF;",
   "names": []
 }

+ 2 - 2
node_modules/.vite/deps/pinia.js

@@ -1,6 +1,6 @@
 import {
   setupDevtoolsPlugin
-} from "./chunk-5OBJFL24.js";
+} from "./chunk-TQOCY6B2.js";
 import {
   computed,
   effectScope,
@@ -19,7 +19,7 @@ import {
   toRefs,
   unref,
   watch
-} from "./chunk-3NMN3MUW.js";
+} from "./chunk-IDMHQ7FM.js";
 import "./chunk-4EOJPDL2.js";
 
 // node_modules/pinia/node_modules/vue-demi/lib/index.mjs

+ 2 - 2
node_modules/.vite/deps/vue-router.js

@@ -1,6 +1,6 @@
 import {
   setupDevtoolsPlugin
-} from "./chunk-5OBJFL24.js";
+} from "./chunk-TQOCY6B2.js";
 import {
   computed,
   defineComponent,
@@ -18,7 +18,7 @@ import {
   unref,
   watch,
   watchEffect
-} from "./chunk-3NMN3MUW.js";
+} from "./chunk-IDMHQ7FM.js";
 import "./chunk-4EOJPDL2.js";
 
 // node_modules/vue-router/dist/vue-router.mjs

+ 1 - 1
node_modules/.vite/deps/vue.js

@@ -145,7 +145,7 @@ import {
   withMemo,
   withModifiers,
   withScopeId
-} from "./chunk-3NMN3MUW.js";
+} from "./chunk-IDMHQ7FM.js";
 import "./chunk-4EOJPDL2.js";
 export {
   BaseTransition,

+ 2 - 2
src/system/moduleNormal/depManage/detail/index.vue

@@ -16,7 +16,7 @@
 import Api from '@/api/api'
 import utils  from '@/utils/utils'
 
-import productList from '@/template/billProductTable/index.vue'
+import productList from '@/template/normalTable/index.vue'
 import detailTemplate from '@/components/detailTemplate/index.vue'
 import edit from './modules/edit.vue'
 import ceateAccount from './modules/ceateAccount.vue'
@@ -102,4 +102,4 @@ onMounted (()=>{
 })
 </script>
 <style>
-</style>
+</style>

+ 2 - 3
src/system/moduleNormal/depManage/detail/modules/edit.vue

@@ -157,8 +157,7 @@ const sexData = async () =>{
 const depOptions = ref([])
 const depData = async ()=>{
   const res = await Api.requested({
-    "classname": "webmanage.department.department",
-    "method": "querydepartment",
+    id:20230608101802,
     content:{
       nocache:true
     }
@@ -167,4 +166,4 @@ const depData = async ()=>{
 }
 </script>
 <style>
-</style>
+</style>

+ 4 - 5
src/system/moduleNormal/depManage/modules/addMainDep.vue

@@ -23,12 +23,12 @@
             <a-input v-model:value="form.depno" placeholder="请输入部门编号" autocomplete="off"></a-input>
           </a-form-item>
         </a-col>
-        <a-col :span="12">  
+        <a-col :span="12">
           <a-form-item label="部门描述" name="remarks">
             <a-input v-model:value="form.remarks" placeholder="请输入部门描述" autocomplete="off"></a-input>
           </a-form-item>
         </a-col>
-        <a-col :span="12">  
+        <a-col :span="12">
           <a-form-item label="排序">
             <a-input v-model:value="form.sequence" placeholder="请输入部门排序号" autocomplete="off"></a-input>
           </a-form-item>
@@ -83,8 +83,7 @@ const submit = async ()=>{
     const values = await formRef.value.validateFields();
     form.value.parentid = props.parentid
     const res = await Api.requested({
-     "classname": "webmanage.department.department",
-      "method": "insertormodify_department",
+     "id":20230608102002,
       "content": form.value
     })
     utils.message(res,'创建成功',()=>{
@@ -101,4 +100,4 @@ defineExpose({
 })
 </script>
 <style>
-</style>
+</style>

+ 2 - 3
src/system/moduleNormal/depManage/modules/addWorker.vue

@@ -155,8 +155,7 @@ const sexData = async () =>{
 const depOptions = ref([])
 const depData = async ()=>{
   const res = await Api.requested({
-    "classname": "webmanage.department.department",
-    "method": "querydepartment",
+    id:20230608101802,
     content:{
       nocache:true
     }
@@ -165,4 +164,4 @@ const depData = async ()=>{
 }
 </script>
 <style>
-</style>
+</style>

+ 6 - 9
src/system/moduleNormal/depManage/modules/editMainDep.vue

@@ -21,12 +21,12 @@
             <a-input v-model:value="form.depno" placeholder="请输入部门编号" autocomplete="off"></a-input>
           </a-form-item>
         </a-col>
-        <a-col :span="12">  
+        <a-col :span="12">
           <a-form-item label="部门描述" name="remarks">
             <a-input v-model:value="form.remarks" placeholder="请输入部门描述" autocomplete="off"></a-input>
           </a-form-item>
         </a-col>
-        <a-col :span="12">  
+        <a-col :span="12">
           <a-form-item label="排序">
             <a-input v-model:value="form.sequence" placeholder="请输入部门排序号" autocomplete="off"></a-input>
           </a-form-item>
@@ -92,8 +92,7 @@ const submit = async ()=>{
   try {
     const values = await formRef.value.validateFields();
     const res = await Api.requested({
-      "classname": "webmanage.department.department",
-      "method": "insertormodify_department",
+     "id":20230608102002,
       "content": form.value
     })
     utils.message(res,'编辑成功',()=>{
@@ -107,14 +106,12 @@ const submit = async ()=>{
 const onDelete = async ()=>{
   form.value.isused = 0
   await Api.requested({
-    "classname":"webmanage.department.department",
-    "method":"insertormodify_department",
+    "id":20230608102002,
     "content":form.value
   })
 
   const res = await Api.requested({
-    "classname":"webmanage.department.department",
-    "method":"delete_department",
+    "id":20230608102102,
     "content":{
       "departmentid":props.data.key
     }
@@ -129,4 +126,4 @@ defineExpose({
 })
 </script>
 <style>
-</style>
+</style>

+ 4 - 6
src/system/moduleNormal/depManage/modules/mainDep.vue

@@ -63,8 +63,7 @@
   })
   const getMainClass = async ()=>{
     const res = await Api.requested({
-      "classname": "webmanage.department.department",
-      "method": "querydepartment",
+      id:20230608101802,
       content:{
         nocache:true
       }
@@ -91,7 +90,7 @@
         sequence:node['sequence'],
         children: []
       }
-        
+
       if (node.subdep && node.subdep.length > 0) {
         // 如果存在子节点
         for (var index = 0; index < node.subdep.length; index++) {
@@ -134,8 +133,7 @@
   const deleteArea = async (node)=>{
     console.log(node)
     const res = await Api.requested({
-      "classname":"webmanage.department.department",
-      "method":"delete_department",
+      "id":20230608102102,
       "content":{
         "departmentid":node.key
       }
@@ -152,4 +150,4 @@
   })
 </script>
 <style>
-</style>
+</style>

+ 7 - 7
src/views/login/login.vue

@@ -4,7 +4,7 @@
     <div class="login-form">
       <p class="color-info">欢迎登录</p>
       <div>
-        <p class="title">楚楚E-订单系统</p>
+        <p class="title">班尼戈水务管理</p>
       </div>
       <a-form
         :model="formState"
@@ -17,7 +17,7 @@
         <a-form-item
           label="账号"
           name="phonenumber"
-          :rules="[{ required: true, message: '请输入账号' }]" 
+          :rules="[{ required: true, message: '请输入账号' }]"
         >
           <a-input v-model:value="formState.phonenumber" size="large" placeholder="请输入账号"/>
         </a-form-item>
@@ -43,7 +43,7 @@
     </div>
     <div class="login-wrap">
       <div class="top">
-        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#1890ff" fill-opacity="1" d="M0,288L48,266.7C96,245,192,203,288,202.7C384,203,480,245,576,245.3C672,245,768,203,864,202.7C960,203,1056,245,1152,272C1248,299,1344,309,1392,314.7L1440,320L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>    
+        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#1890ff" fill-opacity="1" d="M0,288L48,266.7C96,245,192,203,288,202.7C384,203,480,245,576,245.3C672,245,768,203,864,202.7C960,203,1056,245,1152,272C1248,299,1344,309,1392,314.7L1440,320L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>
       </div>
     </div>
     <a-layout-footer class="footer">
@@ -85,7 +85,7 @@ export default defineComponent({
       loading.value = true
       const res = await Api.loginbyaccount({
         "accountno":formState.phonenumber,
-        "password":md5(formState.password),  
+        "password":md5(formState.password),
         "systemclient": "web"
       })
       if (res.code === 1) {
@@ -95,7 +95,7 @@ export default defineComponent({
         accountList.value = res.account_list
         store.defaultAccount(res.account_list[0])
         router.replace({path:'/home'})
-        
+
       } else {
         loading.value = false
         message.error(res.msg)
@@ -178,7 +178,7 @@ export default defineComponent({
   overflow: hidden; /* 隐藏超出部分 */
   max-width: 700px; /* 固定宽度为 200 像素 */
   animation: typingH 5s forwards;
-  
+
   display: inline-block; /* 让行内元素可以自适应宽度、允许换行 */
 }
 
@@ -207,4 +207,4 @@ export default defineComponent({
     font-size: 15px;
   }
 }
-</style>
+</style>

Some files were not shown because too many files changed in this diff