snow 10 months ago
commit
ebbb5f5d33
100 changed files with 1194 additions and 0 deletions
  1. 14 0
      .editorconfig
  2. 2 0
      .env
  3. 38 0
      .env.development
  4. 29 0
      .env.production
  5. 19 0
      .env.staging
  6. 29 0
      .env.v2_pro
  7. 37 0
      .env.v3_pro
  8. 38 0
      .env.v3_sit
  9. 4 0
      .eslintignore
  10. 120 0
      .eslintrc.js
  11. 22 0
      .gitignore
  12. 5 0
      .gitpod.yml
  13. 11 0
      .markdownlint.json
  14. 6 0
      .prettierrc.js
  15. 3 0
      .stylelintignore
  16. 175 0
      CHANGELOG.zh_CN.md
  17. 21 0
      LICENSE
  18. 151 0
      README.en-US.md
  19. 157 0
      README.md
  20. 43 0
      action/index.ts
  21. 49 0
      build/index.ts
  22. 85 0
      build/info.ts
  23. 57 0
      build/plugins.ts
  24. 32 0
      commitlint.config.js
  25. 1 0
      dist/WW_verify_y5ZuZ7KL2R2XEiW4.txt
  26. 1 0
      dist/assets/403.e1355d83.js
  27. 0 0
      dist/assets/404.e8685675.js
  28. 0 0
      dist/assets/500.6ae58bb4.js
  29. 1 0
      dist/assets/Bar.afd31e1c.js
  30. 1 0
      dist/assets/Github.8cbf248b.js
  31. 1 0
      dist/assets/Infinite.a5f74877.css
  32. 0 0
      dist/assets/Infinite.c868726d.js
  33. 1 0
      dist/assets/Line.d1a2bf2c.js
  34. 1 0
      dist/assets/Pie.d5e55d7e.js
  35. 1 0
      dist/assets/_details.05947f76.js
  36. 1 0
      dist/assets/_details.0f4a1772.js
  37. 1 0
      dist/assets/_details.12185eef.js
  38. 1 0
      dist/assets/_details.3df1a21f.js
  39. 1 0
      dist/assets/_details.70698317.js
  40. 1 0
      dist/assets/_details.7c6ddbaa.js
  41. 1 0
      dist/assets/_details.7e8f00e4.js
  42. 1 0
      dist/assets/_details.810a642a.js
  43. 1 0
      dist/assets/_details.8934beca.js
  44. 1 0
      dist/assets/_details.930f66d0.js
  45. 1 0
      dist/assets/_details.f90e1169.js
  46. 1 0
      dist/assets/_details.fe0966e2.js
  47. 1 0
      dist/assets/_inv-dialog.c3a2db02.js
  48. 1 0
      dist/assets/_options.04c95e2d.js
  49. 1 0
      dist/assets/_options.31f08d77.js
  50. 1 0
      dist/assets/_options.61c25632.js
  51. 1 0
      dist/assets/_options.b664a184.js
  52. 1 0
      dist/assets/_options.cdd82887.js
  53. 1 0
      dist/assets/_rules.1a544eb3.js
  54. 1 0
      dist/assets/_rules.1ebcf188.js
  55. 1 0
      dist/assets/_rules.aa6432b7.js
  56. 1 0
      dist/assets/_rules.b6cc96d5.js
  57. 1 0
      dist/assets/_rules.da2e4e6a.js
  58. 0 0
      dist/assets/action-table.ea37cff6.js
  59. 1 0
      dist/assets/add-edit-form.21e10a88.css
  60. 0 0
      dist/assets/add-edit-form.93cb4ed7.js
  61. 1 0
      dist/assets/add-edit-form.d185d742.css
  62. 0 0
      dist/assets/add-edit-form.e2276dbc.js
  63. 0 0
      dist/assets/addEdit.24bb0c6f.js
  64. 0 0
      dist/assets/addEdit.251dd80b.js
  65. 0 0
      dist/assets/addEdit.257f4aa0.js
  66. 0 0
      dist/assets/addEdit.40aea4d9.js
  67. 0 0
      dist/assets/addEdit.5269c738.js
  68. 0 0
      dist/assets/addEdit.69c45eef.css
  69. 0 0
      dist/assets/addEdit.850d89e3.css
  70. 0 0
      dist/assets/addEdit.e0d8dbc1.js
  71. 1 0
      dist/assets/anchor.71ba8505.css
  72. 1 0
      dist/assets/anchor.80b1320d.js
  73. 0 0
      dist/assets/approval-modal.747b05b2.js
  74. 1 0
      dist/assets/approval-pending.57a32754.js
  75. 0 0
      dist/assets/approval-pending.70159752.js
  76. 1 0
      dist/assets/approval-pending.da1f3c84.css
  77. 0 0
      dist/assets/approval-pending.e3f42a65.js
  78. 0 0
      dist/assets/approval-pending.e8aa3ec6.js
  79. 0 0
      dist/assets/approval-pending.f6809f83.js
  80. BIN
      dist/assets/avatars.7f6d4cce.jpg
  81. 1 0
      dist/assets/avatars.b0b9f6c2.js
  82. 0 0
      dist/assets/back-modal.5acdf4bc.js
  83. 1 0
      dist/assets/basic-descriptions.5f176484.js
  84. 1 0
      dist/assets/basic-descriptions.f09bf70b.css
  85. 0 0
      dist/assets/basic-settings.8d375f71.js
  86. 1 0
      dist/assets/basic-settings.99a5d007.css
  87. 0 0
      dist/assets/basic-settings.c38d008d.js
  88. 1 0
      dist/assets/basic-settings.e9286fd0.css
  89. 1 0
      dist/assets/batch.edfa6665.js
  90. 0 0
      dist/assets/batchImportSendOrder.a1b18820.js
  91. 0 0
      dist/assets/batchImportSendOrder.d9fe4655.js
  92. BIN
      dist/assets/bg.7b14eacd.png
  93. 1 0
      dist/assets/calc.850c7422.js
  94. 0 0
      dist/assets/capital-modal.0ca9ac71.js
  95. 0 0
      dist/assets/capital-modal.24b479bf.js
  96. 1 0
      dist/assets/capital-modal.45fd8647.css
  97. 1 0
      dist/assets/capital-modal.52ea066f.css
  98. 1 0
      dist/assets/capital-modal.659531cd.js
  99. 1 0
      dist/assets/capital-modal.70910d53.css
  100. 0 0
      dist/assets/capital-modal.930924e7.js

+ 14 - 0
.editorconfig

@@ -0,0 +1,14 @@
+# http://editorconfig.org
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 2
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+insert_final_newline = false
+trim_trailing_whitespace = false

+ 2 - 0
.env

@@ -0,0 +1,2 @@
+# 项目本地运行端口号
+VITE_PORT = 8848

+ 38 - 0
.env.development

@@ -0,0 +1,38 @@
+# 项目本地运行端口号
+VITE_PORT = 8848
+
+# 开发环境读取配置文件路径
+VITE_PUBLIC_PATH = /
+
+# 开发环境代理
+VITE_PROXY_DOMAIN = /api
+
+# 开发环境路由历史模式
+VITE_ROUTER_HISTORY = "hash"
+# 钉钉企业id
+VITE_CORP_ID = "dingc78fa4301e1a424a35c2f4657eb6378f"
+# 企业微信appid
+VITE_APP_ID = "ww6076e6fd4268ee31"
+# 微信开发环境基础重定向url
+REDIRECT_BASE_URL = "http://cxinv.api.caixiao365.com"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL1 = "http://user.test241.wanyuhengtong.com"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL = "http://stockinv.test241.wanyuhengtong.com"
+# 开发环境后端业务地址
+VITE_PROXY_DOMAIN_REAL = "http://stockinv.test241.wanyuhengtong.com"
+
+VITE_IS_PROD = true
+
+# 跳转结算地址
+VITE_PURCHASE_URL = 'http://pin.caixiao365.com/'
+
+# 报表地址
+VITE_DASHBOARD_URL = 'http://web.report.caixiao365.com/'
+
+# token密钥
+VITE_SECRET_KEY = 'key123'
+
+
+# 跳转工单地址
+VITE_GD_URL = 'http://bug.caixiao365.com/'

+ 29 - 0
.env.production

@@ -0,0 +1,29 @@
+# 项目本地运行端口号
+VITE_PORT = 8848
+
+# 开发环境读取配置文件路径
+VITE_PUBLIC_PATH = /
+
+# 开发环境代理
+VITE_PROXY_DOMAIN = /api
+
+# 开发环境路由历史模式
+VITE_ROUTER_HISTORY = "hash"
+# 钉钉企业id
+VITE_CORP_ID = "dingc78fa4301e1a424a35c2f4657eb6378f"
+# 企业微信appid
+VITE_APP_ID = "ww6076e6fd4268ee31"
+# 微信开发环境基础重定向url
+REDIRECT_BASE_URL = "http://cxinv.api.caixiao365.com"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL = "http://cxinv.api.caixiao365.com"
+# 开发环境后端业务地址
+VITE_PROXY_DOMAIN_REAL = "http://cxinv.api.caixiao365.com"
+
+VITE_IS_PROD = true
+
+# 跳转结算地址
+VITE_PURCHASE_URL = 'http://pin.caixiao365.com/'
+
+# token密钥
+VITE_SECRET_KEY = 'key123'

+ 19 - 0
.env.staging

@@ -0,0 +1,19 @@
+# 项目本地运行端口号
+VITE_PORT = 8848
+
+# 开发环境读取配置文件路径
+VITE_PUBLIC_PATH = /
+
+# 开发环境代理
+VITE_PROXY_DOMAIN = /api
+
+# 开发环境路由历史模式
+VITE_ROUTER_HISTORY = "hash"
+# 钉钉企业id
+VITE_CORP_ID = "dingc78fa4301e1a424a35c2f4657eb6378f"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL = "http://stockinv.test241.wanyuhengtong.com"
+# 开发环境后端业务地址
+VITE_PROXY_DOMAIN_REAL = "http://cxinv.test241.wanyuhengtong.com"
+
+VITE_IS_PROD = false

+ 29 - 0
.env.v2_pro

@@ -0,0 +1,29 @@
+# 项目本地运行端口号
+VITE_PORT = 8848
+
+# 开发环境读取配置文件路径
+VITE_PUBLIC_PATH = /
+
+# 开发环境代理
+VITE_PROXY_DOMAIN = /api
+
+# 开发环境路由历史模式
+VITE_ROUTER_HISTORY = "hash"
+# 钉钉企业id
+VITE_CORP_ID = "dingc78fa4301e1a424a35c2f4657eb6378f"
+# 企业微信appid
+VITE_APP_ID = "ww6076e6fd4268ee31"
+# 微信开发环境基础重定向url
+REDIRECT_BASE_URL = "http://cxinv.caixiao.wanyuhengtong.cn"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL = "http://cxinv.caixiao.wanyuhengtong.cn"
+# 开发环境后端业务地址
+VITE_PROXY_DOMAIN_REAL = "http://cxinv.caixiao.wanyuhengtong.cn"
+
+VITE_IS_PROD = true
+
+# 跳转结算地址
+VITE_PURCHASE_URL = 'http://webstock3.test241.wanyuhengtong.com'
+
+# token密钥
+VITE_SECRET_KEY = 'key123'

+ 37 - 0
.env.v3_pro

@@ -0,0 +1,37 @@
+# 项目本地运行端口号
+VITE_PORT = 8848
+
+# 开发环境读取配置文件路径
+VITE_PUBLIC_PATH = /
+
+# 开发环境代理
+VITE_PROXY_DOMAIN = /api
+
+# 开发环境路由历史模式
+VITE_ROUTER_HISTORY = "hash"
+# 钉钉企业id
+VITE_CORP_ID = "dingc78fa4301e1a424a35c2f4657eb6378f"
+# 企业微信appid
+VITE_APP_ID = "ww6076e6fd4268ee31"
+# 微信开发环境基础重定向url
+REDIRECT_BASE_URL = "http://cxinv.api.caixiao365.com"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL1 = "http://user.api.caixiao365.com"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL = "http://cxinv.api.caixiao365.com"
+# 开发环境后端业务地址
+VITE_PROXY_DOMAIN_REAL = "http://cxinv.api.caixiao365.com"
+
+VITE_IS_PROD = true
+
+# 跳转采销地址
+VITE_PURCHASE_URL = 'http://pin.caixiao365.com/'
+# 跳转工单地址
+VITE_GD_URL = 'http://bug.caixiao365.com/'
+
+# 报表地址
+VITE_DASHBOARD_URL = 'http://web.report.caixiao365.com/'
+
+# token密钥
+VITE_SECRET_KEY = 'key123'
+

+ 38 - 0
.env.v3_sit

@@ -0,0 +1,38 @@
+# 项目本地运行端口号
+VITE_PORT = 8848
+
+# 开发环境读取配置文件路径
+VITE_PUBLIC_PATH = /
+
+# 开发环境代理
+VITE_PROXY_DOMAIN = /api
+
+# 开发环境路由历史模式
+VITE_ROUTER_HISTORY = "hash"
+# 钉钉企业id
+VITE_CORP_ID = "dingc78fa4301e1a424a35c2f4657eb6378f"
+# 企业微信appid
+VITE_APP_ID = "ww6076e6fd4268ee31"
+# 微信开发环境基础重定向url
+REDIRECT_BASE_URL = "http://cxinv.api.caixiao365.com"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL1 = "http://user.test241.wanyuhengtong.com"
+# 开发环境后端用户地址
+VITE_PROXY_USER_REAL = "http://stockinv.test241.wanyuhengtong.com"
+# 开发环境后端业务地址
+VITE_PROXY_DOMAIN_REAL = "http://stockinv.test241.wanyuhengtong.com"
+
+VITE_IS_PROD = true
+
+# 跳转结算地址
+VITE_PURCHASE_URL = 'http://pin.caixiao365.com/'
+
+# 报表地址
+VITE_DASHBOARD_URL = 'http://web.report.caixiao365.com/'
+
+# token密钥
+VITE_SECRET_KEY = 'key123'
+
+
+# 跳转工单地址
+VITE_GD_URL = 'http://bug.caixiao365.com/'

+ 4 - 0
.eslintignore

@@ -0,0 +1,4 @@
+public
+dist
+*.d.ts
+package.json

+ 120 - 0
.eslintrc.js

@@ -0,0 +1,120 @@
+module.exports = {
+  root: true,
+  env: {
+    node: true
+  },
+  globals: {
+    // Ref sugar (take 2)
+    $: "readonly",
+    $$: "readonly",
+    $ref: "readonly",
+    $shallowRef: "readonly",
+    $computed: "readonly",
+
+    // index.d.ts
+    // global.d.ts
+    Fn: "readonly",
+    PromiseFn: "readonly",
+    RefType: "readonly",
+    LabelValueOptions: "readonly",
+    EmitType: "readonly",
+    TargetContext: "readonly",
+    ComponentElRef: "readonly",
+    ComponentRef: "readonly",
+    ElRef: "readonly",
+    global: "readonly",
+    ForDataType: "readonly",
+    ComponentRoutes: "readonly",
+
+    // script setup
+    defineProps: "readonly",
+    defineEmits: "readonly",
+    defineExpose: "readonly",
+    withDefaults: "readonly"
+  },
+  extends: [
+    "plugin:vue/vue3-essential",
+    "eslint:recommended",
+    "@vue/typescript/recommended",
+    "@vue/prettier",
+    "@vue/eslint-config-typescript"
+  ],
+  parser: "vue-eslint-parser",
+  parserOptions: {
+    parser: "@typescript-eslint/parser",
+    ecmaVersion: 2020,
+    sourceType: "module",
+    jsxPragma: "React",
+    ecmaFeatures: {
+      jsx: true
+    }
+  },
+  overrides: [
+    {
+      files: ["*.ts", "*.vue"],
+      rules: {
+        "no-undef": "off"
+      }
+    },
+    {
+      files: ["*.vue"],
+      parser: "vue-eslint-parser",
+      parserOptions: {
+        parser: "@typescript-eslint/parser",
+        extraFileExtensions: [".vue"],
+        ecmaVersion: "latest",
+        ecmaFeatures: {
+          jsx: true
+        }
+      },
+      rules: {
+        "no-undef": "off"
+      }
+    }
+  ],
+  rules: {
+    "vue/no-v-html": "off",
+    "vue/require-default-prop": "off",
+    "vue/require-explicit-emits": "off",
+    "vue/multi-word-component-names": "off",
+    "@typescript-eslint/no-explicit-any": "off", // any
+    "no-debugger": "off",
+    "@typescript-eslint/explicit-module-boundary-types": "off", // setup()
+    "@typescript-eslint/ban-types": "off",
+    "@typescript-eslint/ban-ts-comment": "off",
+    "@typescript-eslint/no-empty-function": "off",
+    "@typescript-eslint/no-non-null-assertion": "off",
+    "vue/html-self-closing": [
+      "error",
+      {
+        html: {
+          void: "always",
+          normal: "always",
+          component: "always"
+        },
+        svg: "always",
+        math: "always"
+      }
+    ],
+    "@typescript-eslint/no-unused-vars": [
+      "error",
+      {
+        argsIgnorePattern: "^_",
+        varsIgnorePattern: "^_"
+      }
+    ],
+    "no-unused-vars": [
+      "error",
+      {
+        argsIgnorePattern: "^_",
+        varsIgnorePattern: "^_"
+      }
+    ],
+    "prettier/prettier": [
+      "error",
+      {
+        endOfLine: "auto"
+      }
+    ]
+  }
+}

+ 22 - 0
.gitignore

@@ -0,0 +1,22 @@
+node_modules
+.DS_Store
+# dist
+
+
+dist-ssr
+*.local
+.eslintcache
+
+yarn.lock
+npm-debug.log*
+.pnpm-error.log*
+.pnpm-debug.log
+tests/**/coverage/
+
+# Editor directories and files
+.idea
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+.history

+ 5 - 0
.gitpod.yml

@@ -0,0 +1,5 @@
+ports:
+  - port: 3344
+    onOpen: open-preview
+tasks:
+  - init: npm install && npm run serve

+ 11 - 0
.markdownlint.json

@@ -0,0 +1,11 @@
+{
+  "default": true,
+  "MD003": false,
+  "MD033": false,
+  "MD013": false,
+  "MD001": false,
+  "MD025": false,
+  "MD024": false,
+  "MD007": { "indent": 4 },
+  "no-hard-tabs": false
+}

+ 6 - 0
.prettierrc.js

@@ -0,0 +1,6 @@
+module.exports = {
+  bracketSpacing: true,
+  singleQuote: false,
+  arrowParens: "avoid",
+  trailingComma: "none"
+};

+ 3 - 0
.stylelintignore

@@ -0,0 +1,3 @@
+/dist/*
+/public/*
+public/*

+ 175 - 0
CHANGELOG.zh_CN.md

@@ -0,0 +1,175 @@
+# 3.3.0 (2022-5-11)
+
+### 🎫 Feat
+
+- 添加用户管理页面 demo
+- 添加角色管理页面 demo
+- 添加部门管理页面 demo
+- 添加卡片列表页面 demo
+- 集成表单设计器
+- 新增`PPT`demo
+- 在功能菜单中新增防抖截流 demo
+- 升级`wangeditorV5`(并支持国际化和自定义主题)
+- 集成`tauri`版本
+- 新增条形码功能
+- 新增二维码功能
+- 使用`element-plus`中的`Cascader`级联选择器编写中国省市区三级、二级联动 demo
+- 集成`Swiper`插件
+- 路由支持传`component`,代表组件路径
+- 添加预发布打包模式
+- 添加关闭某个标签的[hooks](https://github.com/xiaoxian521/vue-pure-admin/commit/5e8723a031923e79f507e5a17151d3bd88a51523)
+
+### ✔️ refactor
+
+- 重构登录页,更偏向实际业务场景
+- 使用`unocss`替换`windicss`,`unocss`开发环境下性能更好,没有内存泄露,而且`api`使用上兼容`windicss`
+
+### 🍏 Perf
+
+- 优化平台的`split-pane`组件样式
+- 优化图标选择器
+- 优化`layout`显示用户信息[commit](https://github.com/xiaoxian521/vue-pure-admin/commit/56f9dc85e7fbe0637605c43577c794de9f8968aa)
+
+### 🐞 Bug fixes
+
+- 修复路由初始化问题(Cannot access 'constantRoutes' before initialization)
+
+# 3.2.0 (2022-3-22)
+
+### 🎫 Feat
+
+- 图标选择组件
+- 菜单搜索功能
+- 添加结果页面
+- 扩展`element-plus`时间线组件
+- 扩展`element-plus`树组件,支持连接线
+- 添加树形选择器,支持单选和多选
+
+### 🍏 Perf
+
+- 优化错误页面 UI
+- 优化国际化功能
+- 优化路由`rank`排序,兼容路由`meta`中`rank`字段值为`null`的情况
+
+### 🐞 Bug fixes
+
+- 修复菜单展开折叠在部分电脑出现卡顿的情况
+
+# 3.1.0 (2022-3-3)
+
+### 🎫 Feat
+
+- iframe 支持动态加载
+- 水印示例
+- 打印示例(图片、表格、echarts)
+- 添加运行、打包信息, 使用`lodash-unified`替换`lodash-es`,`lodash-unified`支持`ESM`同时兼容`CJS`
+
+### 🐞 Bug fixes
+
+- 修复在一个菜单页面内单独跳转到另一个菜单页面,路由页面跳转了但是标签页不显示的情况
+- 修复后台返回动态三级及以上的路由,出现菜单与页面不对应的情况
+
+# 3.0 (2022-2-14)
+
+### 🎫 Feat
+
+- 添加混合导航
+
+### 🐞 Bug fixes
+
+- 修复标签页 bug
+
+# 2.9.0(2022-2-5)
+
+### 🎫 Feat
+
+- 添加打包大小分析,命令`pnpm report`
+
+### 🍏 Perf
+
+- 采用`iconify`按需引入图标,优化图标大小,减少网络请求
+- 优化路由,路由可不传`showLink: true`,默认显示
+
+# 2.8.5(2022-1-21)
+
+### 🎫 Feat
+
+- 添加 `WindiCSS` 支持
+- 添加线上环境删 console 插件`vite-plugin-remove-console`
+
+### ✔️ refactor
+
+- 使用`@iconify-icons/ep`替换`@element-plus/icons-vue`
+
+# 2.8.0(2022-1-4)
+
+### 🎫 Feat
+
+- 添加暗黑主题
+- 添加 element-plus 自定义主题
+- 添加引导页
+
+### 🍏 Perf
+
+- 优化后端返回路由结构
+- 优化本地存储,内置四个键`responsive-configure`、`responsive-locale`、`responsive-layout`、`responsive-tags`,分别为基本配置、国际化配置、布局配置、标签页持久化配置
+
+# 2.7.0(2021-12-18)
+
+### 🎫 Feat
+
+- 新增标签页复用
+- 新增消息提醒模版
+- 新增前端菜单树结构例子
+- 重构路由,优化权限模块,带来更方便的体验
+- 重构 env 环境和 http 请求,带来更方便的体验
+- 目前平台的标签页强制关联了本地存储,下一步标签页默认放到内存中并支持可配置持久化标签页
+- 导航菜单图标支持 fontawesome、iconfont、remixicon、element-plus/icons、自定义 svg
+- 更新 font-awesome 到 5.0 版本,因为 5.0 以下的版本官方不再维护,但平台依旧会兼容 font-awesome4 版本
+
+### 🍏 Perf
+
+- 优化标签页,带来更好的交互体验
+- 路由 title 支持直接写中文,可脱离国际化
+- 路由历史模式从 env 读取并支持 base 参数
+- 打包后的文件提供传统浏览器兼容性支持,配置 VITE_LEGACY 为 true
+
+# 2.6.0(2021-11-10)
+
+### 🎫 Feat
+
+- 重构导航主题色,支持多种配色
+- 重构登录页,插画风格
+
+### 🍏 Perf
+
+- 优化导航样式
+- 剔除导航强依赖 vxe-table
+- 同步更新 element-plus,使用 SVG Icon 替换 Font Icon
+
+# 2.1.0(2021-10-14)
+
+### 🎫 Feat
+
+- 路由动画(每个路由都可添加不同动画)
+- 额外图标(比如这个是新加的页面,路由菜单右上角显示个新图标)
+- 抽离默认配置选项
+- 完善类型文件
+
+### 🐞 Bug fixes
+
+- 修复 element-plus 国际化使用问题
+- 修复路由问题
+- 修复导航适配问题
+
+# 2.0.1(2021-9-29)
+
+### 🎫 Feat
+
+- 添加 horizontal 水平模式导航
+
+# 2.0.0(2021-4-13)
+
+### 🎫 Chores
+
+- 发布 2.0.0 版本

+ 21 - 0
LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2022 啝裳
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 151 - 0
README.en-US.md

@@ -0,0 +1,151 @@
+<h1>vue-pure-admin</h1>
+
+![GitHub license](https://img.shields.io/github/license/xiaoxian521/vue-pure-admin?style=flat)
+![GitHub stars](https://img.shields.io/github/stars/xiaoxian521/vue-pure-admin?color=fa6470&style=flat)
+![GitHub forks](https://img.shields.io/github/forks/xiaoxian521/vue-pure-admin?style=flat)
+
+**English** | [中文](./README.md)
+
+## Introduction
+
+vue-pure-admin is a free and open source middle and back-end template. Using the latest `vue3` `vite2` `Element-Plus` `TypeScript` and other mainstream technology development, the out-of-the-box middle and back-end front-end solutions can also be used for learning reference.
+
+## Supporting Video
+
+- [Click Watch Tutorial](https://www.bilibili.com/video/BV1534y1S7HV)
+- [Click Watch UI Design](https://www.bilibili.com/video/BV17g411T7rq)
+
+## Docs
+
+- [Click Watch Docs](https://pure-admin-doc.vercel.app)
+
+## Thin
+
+- [Click Watch Thin](https://github.com/xiaoxian521/pure-admin-thin)
+
+## Tauri
+
+- [Click Watch Tauri](https://github.com/xiaoxian521/tauri-pure-admin)
+
+## Preview
+
+- [vue-pure-admin](https://vue-pure-admin.vercel.app)
+
+<p align="center">
+  <img alt="PureAdmin Logo" width="100%" src="https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/b4857fc7eb7d4c0f8deeefc644c1f7dd~tplv-k3u1fbpfcp-watermark.awebp?">
+  <img alt="PureAdmin Logo" width="100%" src="https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/549c3184697f4d268a78c9833e5ec2ea~tplv-k3u1fbpfcp-watermark.awebp?">
+  <img alt="PureAdmin Logo" width="100%" src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/381fc957fac143db9f06efdd389d88a3~tplv-k3u1fbpfcp-watermark.awebp?">
+</p>
+
+### Use Gitpod
+
+Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.
+
+[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/xiaoxian521/vue-pure-admin)
+
+## Install and use
+
+- Get the project code
+
+```bash
+git clone https://github.com/xiaoxian521/vue-pure-admin.git
+or
+git clone https://gitee.com/yiming_chang/vue-pure-admin.git
+```
+
+- Installation dependencies
+
+```bash
+cd vue-pure-admin
+
+pnpm install
+
+```
+
+- run
+
+```bash
+pnpm serve
+```
+
+- build
+
+```bash
+pnpm build
+```
+
+## Change Log
+
+[CHANGELOG](./CHANGELOG.en_US.md)
+
+## How to contribute
+
+You are very welcome to join![Raise an issue](https://github.com/xiaoxian521/vue-pure-admin/issues/new/choose) Or submit a Pull Request
+
+**Pull Request:**
+
+1. Fork code!
+2. Create your own branch: `git checkout -b feat/xxxx`
+3. Submit your changes: `git commit -am 'feat(function): add xxxxx'`
+4. Push your branch: `git push origin feat/xxxx`
+5. submit`pull request`
+
+## Git Contribution submission specification
+
+- reference [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) specification ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular))
+
+  - `feat` Add new features
+  - `fix` Fix the problem/BUG
+  - `style` The code style is related and does not affect the running result
+  - `perf` Optimization/performance improvement
+  - `refactor` Refactor
+  - `revert` Undo edit
+  - `test` Test related
+  - `docs` Documentation/notes
+  - `chore` Dependency update/scaffolding configuration modification etc.
+  - `workflow` Workflow improvements
+  - `ci` Continuous integration
+  - `types` Type definition file changes
+  - `wip` In development
+
+## Browser support
+
+The `Chrome 80+` browser is recommended for local development
+
+Support modern browsers, not IE
+
+| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
+| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
+|                                                                                             not support                                                                                              |                                                                                            last 2 versions                                                                                             |                                                                                                  last 2 versions                                                                                                  |                                                                                                last 2 versions                                                                                                |                                                                                                last 2 versions                                                                                                |
+
+## Maintainer
+
+[xiaoxian521](https://github.com/xiaoxian521)、[Ten-K](https://github.com/Ten-K)
+
+## Donate
+
+If you think this project is helpful to you, you can help the author buy a glass of juice 🍹 Show your support
+
+<img src="https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/f69bf13c5b854ed5b699807cafa0e3ce~tplv-k3u1fbpfcp-zoom-in-crop-mark:1304:0:0:0.awebp?" width="150px" height="150px" />
+
+## License
+
+In principle, no fees and copyrights are charged, and you can use it with confidence, but if you need secondary open source, please contact the author for permission!
+
+[MIT © xiaoxian521-2020](./LICENSE)
+
+## Backers
+
+Thank you very much for your support, I believe the project will get better and better :heart:
+
+|                                                                xueyuheng                                                                 |                                                                taolei1990                                                                 |                                                                hang-kim                                                                 |                                                               madwolfcrazy                                                                |                                                                limuen                                                                 |                                                                BenLakes                                                                 |
+| :--------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------: |
+| <a href="https://github.com/xueyuheng"><img src="https://avatars.githubusercontent.com/u/48202935?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/taolei1990"><img src="https://avatars.githubusercontent.com/u/23173640?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/hang-kim"><img src="https://avatars.githubusercontent.com/u/52914259?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/madwolfcrazy"><img src="https://avatars.githubusercontent.com/u/223671?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/limuen"><img src="https://avatars.githubusercontent.com/u/31790606?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/BenLakes"><img src="https://avatars.githubusercontent.com/u/15206046?v=4" width="60px" height="60px" /></a> |
+|                                                                mollerzhu                                                                 |                                                                  TLovers                                                                  |                                                                  cnyyk                                                                  |                                                                                                                                           |                                                                                                                                       |                                                                                                                                         |
+| <a href="https://github.com/mollerzhu"><img src="https://avatars.githubusercontent.com/u/49627902?v=4" width="60px" height="60px" /></a> |  <a href="https://github.com/TLovers"><img src="https://avatars.githubusercontent.com/u/26561694?v=4" width="60px" height="60px" /></a>   |   <a href="https://github.com/cnyyk"><img src="https://avatars.githubusercontent.com/u/275233?v=4" width="60px" height="60px" /></a>    |                                                                                                                                           |                                                                                                                                       |                                                                                                                                         |
+
+## Contributors
+
+This project exists thanks to all the people who contribute :heart:
+
+<a href="https://github.com/xiaoxian521/vue-pure-admin/graphs/contributors"><img src="https://contrib.rocks/image?repo=xiaoxian521/vue-pure-admin" /></a>

+ 157 - 0
README.md

@@ -0,0 +1,157 @@
+<h1>vue-pure-admin</h1>
+
+![GitHub license](https://img.shields.io/github/license/xiaoxian521/vue-pure-admin?style=flat)
+![GitHub stars](https://img.shields.io/github/stars/xiaoxian521/vue-pure-admin?color=fa6470&style=flat)
+![GitHub forks](https://img.shields.io/github/forks/xiaoxian521/vue-pure-admin?style=flat)
+
+**中文** | [English](./README.en-US.md)
+
+## 简介
+
+vue-pure-admin 是一个免费开源的中后台模版。使用了最新的`vue3` `vite2` `Element-Plus` `TypeScript`等主流技术开发,开箱即用的中后台前端解决方案,也可用于学习参考。
+
+## 配套视频
+
+- [点我查看教程](https://www.bilibili.com/video/BV1534y1S7HV)
+- [点我查看 UI 设计](https://www.bilibili.com/video/BV17g411T7rq)
+
+## 配套文档
+
+- [点我查看文档](https://pure-admin-doc.vercel.app)
+
+## 精简版
+
+- [点我查看精简版](https://github.com/xiaoxian521/pure-admin-thin)
+
+## Tauri 版
+
+- [点我查看 Tauri 版](https://github.com/xiaoxian521/tauri-pure-admin)
+
+## 预览
+
+- [vue-pure-admin](https://vue-pure-admin.vercel.app)
+
+<p align="center">
+  <img alt="PureAdmin Logo" width="100%" src="https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/b4857fc7eb7d4c0f8deeefc644c1f7dd~tplv-k3u1fbpfcp-watermark.awebp?">
+  <img alt="PureAdmin Logo" width="100%" src="https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/549c3184697f4d268a78c9833e5ec2ea~tplv-k3u1fbpfcp-watermark.awebp?">
+  <img alt="PureAdmin Logo" width="100%" src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/381fc957fac143db9f06efdd389d88a3~tplv-k3u1fbpfcp-watermark.awebp?">
+</p>
+
+### 使用 Gitpod
+
+在 Gitpod(适用于 GitHub 的免费在线开发环境)中打开项目,并立即开始编码.
+
+[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/xiaoxian521/vue-pure-admin)
+
+## 安装使用
+
+- 获取项目代码
+
+```bash
+git clone https://github.com/xiaoxian521/vue-pure-admin.git
+or
+git clone https://gitee.com/yiming_chang/vue-pure-admin.git
+```
+
+- 安装依赖
+
+```bash
+cd vue-pure-admin
+
+pnpm install
+
+```
+
+- 运行
+
+```bash
+pnpm serve
+```
+
+- 打包
+
+```bash
+pnpm build
+```
+
+## 更新日志
+
+[CHANGELOG](./CHANGELOG.zh_CN.md)
+
+## 如何贡献
+
+非常欢迎你的加入![提一个 Issue](https://github.com/xiaoxian521/vue-pure-admin/issues/new/choose) 或者提交一个 Pull Request
+
+**Pull Request:**
+
+1. Fork 代码!
+2. 创建自己的分支: `git checkout -b feat/xxxx`
+3. 提交你的修改: `git commit -am 'feat(function): add xxxxx'`
+4. 推送您的分支: `git push origin feat/xxxx`
+5. 提交`pull request`
+
+## Git 贡献提交规范
+
+- 参考 [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) 规范 ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular))
+
+  - `feat` 增加新功能
+  - `fix` 修复问题/BUG
+  - `style` 代码风格相关无影响运行结果的
+  - `perf` 优化/性能提升
+  - `refactor` 重构
+  - `revert` 撤销修改
+  - `test` 测试相关
+  - `docs` 文档/注释
+  - `chore` 依赖更新/脚手架配置修改等
+  - `workflow` 工作流改进
+  - `ci` 持续集成
+  - `types` 类型定义文件更改
+  - `wip` 开发中
+
+## 浏览器支持
+
+本地开发推荐使用`Chrome 80+` 浏览器
+
+支持现代浏览器, 不支持 IE
+
+| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
+| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
+|                                                                                             not support                                                                                              |                                                                                            last 2 versions                                                                                             |                                                                                                  last 2 versions                                                                                                  |                                                                                                last 2 versions                                                                                                |                                                                                                last 2 versions                                                                                                |
+
+## 维护者
+
+[xiaoxian521](https://github.com/xiaoxian521)、[Ten-K](https://github.com/Ten-K)
+
+## 捐赠
+
+如果你觉得这个项目对您有帮助,可以帮作者买一杯果汁 🍹 表示支持
+
+<img src="https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/f69bf13c5b854ed5b699807cafa0e3ce~tplv-k3u1fbpfcp-zoom-in-crop-mark:1304:0:0:0.awebp?" width="150px" height="150px" />
+
+## QQ 交流群
+
+一群已满,下面是二群,群里严禁`黄`、`赌`、`毒`、`vpn`等违法行为!
+
+<img src="https://pure-admin-doc.vercel.app/img/support/qq.png" width="150px" height="225px" />
+
+## 许可证
+
+原则上不收取任何费用及版权,可以放心使用,不过如需二次开源(比如用此平台二次开发并开源)请联系作者获取许可!
+
+[MIT © xiaoxian521-2020](./LICENSE)
+
+## 捐赠者
+
+非常感谢你们的支持,相信项目会越来越好 :heart:
+
+|                                                                xueyuheng                                                                 |                                                                taolei1990                                                                 |                                                                hang-kim                                                                 |                                                               madwolfcrazy                                                                |                                                                limuen                                                                 |                                                                BenLakes                                                                 |
+| :--------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------: |
+| <a href="https://github.com/xueyuheng"><img src="https://avatars.githubusercontent.com/u/48202935?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/taolei1990"><img src="https://avatars.githubusercontent.com/u/23173640?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/hang-kim"><img src="https://avatars.githubusercontent.com/u/52914259?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/madwolfcrazy"><img src="https://avatars.githubusercontent.com/u/223671?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/limuen"><img src="https://avatars.githubusercontent.com/u/31790606?v=4" width="60px" height="60px" /></a> | <a href="https://github.com/BenLakes"><img src="https://avatars.githubusercontent.com/u/15206046?v=4" width="60px" height="60px" /></a> |
+|                                                                mollerzhu                                                                 |                                                                  TLovers                                                                  |                                                                  cnyyk                                                                  |                                                                                                                                           |                                                                                                                                       |                                                                                                                                         |
+| <a href="https://github.com/mollerzhu"><img src="https://avatars.githubusercontent.com/u/49627902?v=4" width="60px" height="60px" /></a> |  <a href="https://github.com/TLovers"><img src="https://avatars.githubusercontent.com/u/26561694?v=4" width="60px" height="60px" /></a>   |   <a href="https://github.com/cnyyk"><img src="https://avatars.githubusercontent.com/u/275233?v=4" width="60px" height="60px" /></a>    |                                                                                                                                           |                                                                                                                                       |                                                                                                                                         |
+
+## 贡献者
+
+这个项目的存在感谢所有做出贡献的人 :heart:
+
+<a href="https://github.com/xiaoxian521/vue-pure-admin/graphs/contributors"><img src="https://contrib.rocks/image?repo=xiaoxian521/vue-pure-admin" /></a>

+ 43 - 0
action/index.ts

@@ -0,0 +1,43 @@
+import { http } from "/@/utils/http";
+import { loadEnv } from "@build/index";
+const { VITE_PROXY_DOMAIN_REAL, VITE_PROXY_USER_REAL } = loadEnv();
+const userAPi = VITE_PROXY_DOMAIN_REAL;
+const yewuApi = VITE_PROXY_USER_REAL + "/admin/";
+interface ResponseType extends Promise<any> {
+  data?: object;
+  code?: number;
+  msg?: string;
+}
+// 添加
+export const httpAdd = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}roleadd`, { data });
+};
+
+// 列表
+export const httpList = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}rolelist`, { data });
+};
+// 详情
+export const httpDetail = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}roleinfo`, { data });
+};
+// 更新
+export const httpUpdate = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}rolesave`, { data });
+};
+// 状态
+export const httpStatus = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}rolestatus`, { data });
+};
+// 删除
+export const httpDelete = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}menustatus`, { data });
+};
+// 全部菜单按钮
+export const httpMenuAll = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}menuactionlist`, { data });
+};
+// 全部角色
+export const httpRoleAll = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}roleall`, { data });
+};

+ 49 - 0
build/index.ts

@@ -0,0 +1,49 @@
+// 处理环境变量
+const warpperEnv = (envConf: Recordable): ViteEnv => {
+  // 此处为默认值,无需修改
+  const ret: ViteEnv = {
+    VITE_PORT: 8848,
+    VITE_PUBLIC_PATH: "",
+    VITE_PROXY_DOMAIN: "",
+    VITE_PROXY_DOMAIN_REAL: "",
+    VITE_PROXY_USER_REAL: "",
+    VITE_ROUTER_HISTORY: "",
+    VITE_CORP_ID: "",
+    VITE_APP_ID: "",
+    REDIRECT_BASE_URL: "",
+    VITE_LEGACY: false,
+    VITE_PURCHASE_URL: "",
+    VITE_SECRET_KEY: "",
+    WECHAT_URL: "",
+    BACK_URL: ""
+  };
+
+  for (const envName of Object.keys(envConf)) {
+    let realName = envConf[envName].replace(/\\n/g, "\n");
+    realName =
+      realName === "true" ? true : realName === "false" ? false : realName;
+
+    if (envName === "VITE_PORT") {
+      realName = Number(realName);
+    }
+    ret[envName] = realName;
+    if (typeof realName === "string") {
+      process.env[envName] = realName;
+    } else if (typeof realName === "object") {
+      process.env[envName] = JSON.stringify(realName);
+    }
+  }
+  return ret;
+};
+
+// 跨域代理重写
+const regExps = (value: string, reg: string): string => {
+  return value.replace(new RegExp(`^${reg}`, "g"), "");
+};
+
+// 环境变量
+const loadEnv = (): ViteEnv => {
+  return import.meta.env;
+};
+
+export { warpperEnv, regExps, loadEnv };

+ 85 - 0
build/info.ts

@@ -0,0 +1,85 @@
+import { readdir, stat } from "fs";
+import type { Plugin } from "vite";
+import dayjs, { Dayjs } from "dayjs";
+import { sum } from "lodash-unified";
+import duration from "dayjs/plugin/duration";
+import { green, blue, bold } from "picocolors";
+dayjs.extend(duration);
+
+const staticPath = "dist";
+const fileListTotal: number[] = [];
+
+const recursiveDirectory = (folder: string, callback: Function): void => {
+  readdir(folder, (err, files: string[]) => {
+    if (err) throw err;
+    let count = 0;
+    const checkEnd = () => {
+      ++count == files.length && callback();
+    };
+    files.forEach((item: string) => {
+      stat(folder + "/" + item, async (err, stats) => {
+        if (err) throw err;
+        if (stats.isFile()) {
+          fileListTotal.push(stats.size);
+          checkEnd();
+        } else if (stats.isDirectory()) {
+          recursiveDirectory(`${staticPath}/${item}/`, checkEnd);
+        }
+      });
+    });
+    files.length === 0 && callback();
+  });
+};
+
+const formatBytes = (a: number, b?: number): string => {
+  if (0 == a) return "0 Bytes";
+  const c = 1024,
+    d = b || 2,
+    e = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"],
+    f = Math.floor(Math.log(a) / Math.log(c));
+  return parseFloat((a / Math.pow(c, f)).toFixed(d)) + " " + e[f];
+};
+
+export function viteBuildInfo(): Plugin {
+  let config: { command: string };
+  let startTime: Dayjs;
+  let endTime: Dayjs;
+  return {
+    name: "vite:buildInfo",
+    configResolved(resolvedConfig: { command: string }) {
+      config = resolvedConfig;
+    },
+    buildStart() {
+      console.log(
+        bold(
+          green(
+            `👏欢迎使用${blue(
+              "[vue-pure-admin]"
+            )},如果您感觉不错,记得点击后面链接给个star哦💖 https://github.com/xiaoxian521/vue-pure-admin`
+          )
+        )
+      );
+      if (config.command === "build") {
+        startTime = dayjs(new Date());
+      }
+    },
+    closeBundle() {
+      if (config.command === "build") {
+        endTime = dayjs(new Date());
+        recursiveDirectory(staticPath, () => {
+          console.log(
+            bold(
+              green(
+                `恭喜打包完成🎉(总用时${dayjs
+                  .duration(endTime.diff(startTime))
+                  .format("mm分ss秒")},打包后的大小为${formatBytes(
+                  sum(fileListTotal)
+                )})`
+              )
+            )
+          );
+        });
+      }
+    }
+  };
+}

+ 57 - 0
build/plugins.ts

@@ -0,0 +1,57 @@
+import Unocss from "unocss/vite";
+import vue from "@vitejs/plugin-vue";
+import { viteBuildInfo } from "./info";
+import svgLoader from "vite-svg-loader";
+import legacy from "@vitejs/plugin-legacy";
+import vueJsx from "@vitejs/plugin-vue-jsx";
+import { visualizer } from "rollup-plugin-visualizer";
+import removeConsole from "vite-plugin-remove-console";
+import themePreprocessorPlugin from "@pureadmin/theme";
+import { genScssMultipleScopeVars } from "../src/layout/theme";
+import DefineOptions from "unplugin-vue-define-options/vite";
+import OptimizationPersist from "vite-plugin-optimize-persist";
+import PkgConfig from "vite-plugin-package-config";
+
+export function getPluginsList(command, VITE_LEGACY) {
+  const lifecycle = process.env.npm_lifecycle_event;
+  return [
+    vue(),
+    // jsx、tsx语法支持
+    vueJsx(),
+    Unocss(),
+    DefineOptions(),
+    // 线上环境删除console
+    removeConsole({ external: ["src/assets/iconfont/iconfont.js"] }),
+    viteBuildInfo(),
+    // 自定义主题
+    themePreprocessorPlugin({
+      scss: {
+        multipleScopeVars: genScssMultipleScopeVars(),
+        // 在生产模式是否抽取独立的主题css文件,extract为true以下属性有效
+        extract: true,
+        // 会选取defaultScopeName对应的主题css文件在html添加link
+        themeLinkTagId: "head",
+        // "head"||"head-prepend" || "body" ||"body-prepend"
+        themeLinkTagInjectTo: "head",
+        // 是否对抽取的css文件内对应scopeName的权重类名移除
+        removeCssScopeName: false
+      }
+    }),
+    // svg组件化支持
+    svgLoader(),
+    // 依赖预构建
+    PkgConfig(),
+    OptimizationPersist(),
+    // 是否为打包后的文件提供传统浏览器兼容性支持
+    VITE_LEGACY
+      ? legacy({
+          targets: ["ie >= 11"],
+          additionalLegacyPolyfills: ["regenerator-runtime/runtime"]
+        })
+      : null,
+    // 打包分析
+    lifecycle === "report"
+      ? visualizer({ open: true, brotliSize: true, filename: "report.html" })
+      : null
+  ];
+}

+ 32 - 0
commitlint.config.js

@@ -0,0 +1,32 @@
+module.exports = {
+  ignores: [commit => commit.includes("init")],
+  extends: ["@commitlint/config-conventional"],
+  rules: {
+    "body-leading-blank": [2, "always"],
+    "footer-leading-blank": [1, "always"],
+    "header-max-length": [2, "always", 108],
+    "subject-empty": [2, "never"],
+    "type-empty": [2, "never"],
+    "type-enum": [
+      2,
+      "always",
+      [
+        "feat",
+        "fix",
+        "perf",
+        "style",
+        "docs",
+        "test",
+        "refactor",
+        "build",
+        "ci",
+        "chore",
+        "revert",
+        "wip",
+        "workflow",
+        "types",
+        "release"
+      ]
+    ]
+  }
+};

+ 1 - 0
dist/WW_verify_y5ZuZ7KL2R2XEiW4.txt

@@ -0,0 +1 @@
+y5ZuZ7KL2R2XEiW4

+ 1 - 0
dist/assets/403.e1355d83.js

@@ -0,0 +1 @@
+import{_ as c,d as u,r as l,aC as _,o as e,c as s,l as p,u as d,aF as y,b as m,H as o,M as a,G as f,C as v}from"./index.56c69f5a.js";const B={class:"flex justify-center items-center h-screen-sm"},x={class:"ml-12"},C={class:"font-medium text-4xl mb-4",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:100}}},h={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:300}}},E={name:"403"},F=u({...E,setup(b){return(n,i)=>{const r=l("el-button"),t=_("motion");return e(),s("div",B,[p(d(y)),m("div",x,[o((e(),s("p",C,[a(" 403 ")])),[[t]]),o((e(),s("p",h,[a(" \u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762 ")])),[[t]]),o((e(),f(r,{type:"primary",onClick:i[0]||(i[0]=k=>n.$router.push("/")),initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:500}}},{default:v(()=>[a(" \u8FD4\u56DE\u9996\u9875 ")]),_:1})),[[t]])])])}}});var w=c(F,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/error/403.vue"]]);export{w as default};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/404.e8685675.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/500.6ae58bb4.js


+ 1 - 0
dist/assets/Bar.afd31e1c.js

@@ -0,0 +1 @@
+import{_ as s,d as r,w as o,a$ as i,o as c,c as n}from"./index.56c69f5a.js";const l=r({__name:"Bar",setup(p){const e=o(null),{setOptions:a}=i(e);return a({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20%",height:"68%",containLabel:!0},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{interval:0},data:["open_issues","forks","watchers","star"]}],yAxis:[{type:"value"}],series:[{name:"GitHub\u4FE1\u606F",type:"bar",data:[3,204,1079,1079]}]},{name:"click",callback:t=>{}}),(t,u)=>(c(),n("div",{ref_key:"barChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var f=s(l,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/welcome/components/Bar.vue"]]);export{f as default};

+ 1 - 0
dist/assets/Github.8cbf248b.js

@@ -0,0 +1 @@
+import{_ as u,d as l,r as m,o as a,c as i,D as p,F as _,l as d}from"./index.56c69f5a.js";import{useColumns as f}from"./columns.dd3aa372.js";const v=l({__name:"Github",setup(C){const{columnsA:e,columnsB:n,columnsC:s}=f(),c=[{columns:e,column:3},{columns:n,column:2},{columns:s,column:1}];return(b,h)=>{const t=m("PureDescriptions");return a(),i(_,null,p(c,(o,r)=>d(t,{key:r,columns:o.columns,column:o.column,class:"margin-top",direction:"vertical",border:""},null,8,["columns","column"])),64)}}});var x=u(v,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/welcome/components/Github.vue"]]);export{x as default};

+ 1 - 0
dist/assets/Infinite.a5f74877.css

@@ -0,0 +1 @@
+.infinite .top[data-v-1ac0eab6]{width:95%;height:40px;line-height:40px;display:flex;margin:0 auto;font-size:14px;color:#909399;font-weight:400;background:#fafafa}.infinite .top li[data-v-1ac0eab6]{width:34%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.infinite .warp[data-v-1ac0eab6]{width:95%;height:215px;margin:0 auto;overflow:hidden}.infinite .warp li[data-v-1ac0eab6]{height:30px;line-height:30px;display:flex;font-size:15px}.infinite .warp span[data-v-1ac0eab6]{width:34%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/Infinite.c868726d.js


+ 1 - 0
dist/assets/Line.d1a2bf2c.js

@@ -0,0 +1 @@
+import{_ as s,d as r,w as i,a$ as o,o as n,c}from"./index.56c69f5a.js";const l=r({__name:"Line",setup(p){const e=i(null),{setOptions:t}=o(e);return t({grid:{bottom:"20%",height:"68%",containLabel:!0},tooltip:{trigger:"item"},xAxis:{type:"category",axisLabel:{interval:0},data:["open_issues","forks","watchers","star"]},yAxis:{type:"value"},series:[{data:[3,204,1079,1079],type:"line",areaStyle:{}}]},{name:"click",callback:a=>{}}),(a,_)=>(n(),c("div",{ref_key:"lineChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var f=s(l,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/welcome/components/Line.vue"]]);export{f as default};

+ 1 - 0
dist/assets/Pie.d5e55d7e.js

@@ -0,0 +1 @@
+import{_ as s,d as r,w as o,a$ as i,o as c,c as n}from"./index.56c69f5a.js";const l=r({__name:"Pie",setup(p){const e=o(null),{setOptions:t}=i(e);return t({tooltip:{trigger:"item"},legend:{orient:"vertical",right:!0},series:[{name:"Github\u4FE1\u606F",type:"pie",radius:"60%",center:["40%","50%"],data:[{value:1079,name:"watchers"},{value:1079,name:"star"},{value:204,name:"forks"},{value:3,name:"open_issues"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:a=>{}},{type:"zrender",name:"click",callback:a=>{}}),(a,u)=>(c(),n("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var _=s(l,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/welcome/components/Pie.vue"]]);export{_ as default};

+ 1 - 0
dist/assets/_details.05947f76.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u56DE\u7968\u7F16\u7801",prop:"hpNo",minWidth:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u53D1\u7968\u67E5\u9A8C\u65B9\u5F0F",prop:"checkApi",minWidth:100},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceNumber",minWidth:100,align:"left"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceCode",minWidth:140},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time",minWidth:130},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:130}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.0f4a1772.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u4ED8\u6B3E\u72B6\u6001",prop:"pay_status",minWidth:100},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110,align:"total_fee"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"total_fee"}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.12185eef.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u56DE\u7968\u7F16\u7801",prop:"hpNo",minWidth:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u53D1\u7968\u67E5\u9A8C\u65B9\u5F0F",prop:"checkApi",minWidth:100},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceNumber",minWidth:100,align:"left"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceCode",minWidth:140},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time",minWidth:130},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:130}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.3df1a21f.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u56DE\u7968\u7F16\u7801",prop:"hpNo",minWidth:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u53D1\u7968\u67E5\u9A8C\u65B9\u5F0F",prop:"checkApi",minWidth:100},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceNumber",minWidth:100,align:"left"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceCode",minWidth:140},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time",minWidth:130},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:130}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.70698317.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u56DE\u7968\u72B6\u6001",prop:"inv_status",minWidth:100},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110,align:"total_fee"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:120}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.7c6ddbaa.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u56DE\u7968\u7F16\u7801",prop:"hpNo",minWidth:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u53D1\u7968\u67E5\u9A8C\u65B9\u5F0F",prop:"checkApi",minWidth:100},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceNumber",minWidth:100,align:"left"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceCode",minWidth:140},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time",minWidth:130},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:130}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.7e8f00e4.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u56DE\u7968\u72B6\u6001",prop:"inv_status",minWidth:100},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110,align:"total_fee"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:120}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.810a642a.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u56DE\u7968\u72B6\u6001",prop:"inv_status",minWidth:100},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110,align:"total_fee"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:120}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.8934beca.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u56DE\u7968\u7F16\u7801",prop:"hpNo",minWidth:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u53D1\u7968\u67E5\u9A8C\u65B9\u5F0F",prop:"checkApi",minWidth:100},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceNumber",minWidth:100,align:"left"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invoiceCode",minWidth:140},{label:"\u5F00\u7968\u65F6\u95F4",prop:"open_time",minWidth:130},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:130}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.930f66d0.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u56DE\u7968\u72B6\u6001",prop:"inv_status",minWidth:100},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110,align:"total_fee"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:120}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.f90e1169.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u4ED8\u6B3E\u72B6\u6001",prop:"pay_status",minWidth:100},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110,align:"total_fee"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"total_fee"}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_details.fe0966e2.js

@@ -0,0 +1 @@
+const u=[{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",minWidth:160,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u7801",prop:"supplierNo",minWidth:150,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"companyNo",minWidth:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u56DE\u7968\u72B6\u6001",prop:"inv_status",minWidth:100},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110,align:"total_fee"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",minWidth:120}],l={1:[{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoiceType"},{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode"},{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber"},{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"},{label:"\u6821\u9A8C\u7801",prop:"checkNumber"},{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time"}],2:[{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img"}]};export{u as c,l as t};

+ 1 - 0
dist/assets/_inv-dialog.c3a2db02.js

@@ -0,0 +1 @@
+import{_ as r,d as u,w as n,r as c,o as p,G as m,C as v,l as _,u as d}from"./index.56c69f5a.js";import{I as f}from"./index.211aa9d2.js";import"./invoice.3cbb6342.js";import"./status.2df4810d.js";const g=u({__name:"_inv-dialog",setup(k,{expose:s}){const e=n(!1),o=n("");return s({onDisplay({YFPHM:a}){o.value=a,e.value=!0}}),(a,l)=>{const t=c("el-dialog");return p(),m(t,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=i=>e.value=i),width:"1040px","close-on-click-modal":!1},{default:v(()=>[_(d(f),{"inv-number":o.value,type:"sale"},null,8,["inv-number"])]),_:1},8,["modelValue"])}}});var I=r(g,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/redInk/components/_inv-dialog.vue"]]);export{I as default};

+ 1 - 0
dist/assets/_options.04c95e2d.js

@@ -0,0 +1 @@
+const u=[{value:"1",label:"\u4E70\u65B9\u516C\u53F8\u4E1A\u52A1\u5BA1\u6838"},{value:"2",label:"\u5BA1\u6838\u6210\u529F"},{value:"3",label:"\u4E70\u65B9\u9A73\u56DE"},{value:"4",label:"\u5DF2\u64A4\u9500\u5BF9\u8D26"}],e={customerNo:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E70\u65B9\u516C\u53F8\u7F16\u7801",trigger:"blur"}],companyNo:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E70\u65B9\u516C\u53F8\u7F16\u7801",trigger:"blur"}]};export{e as o,u as s};

+ 1 - 0
dist/assets/_options.31f08d77.js

@@ -0,0 +1 @@
+const u=[{value:"1",label:"\u672A\u4ED8\u6B3E"},{value:"2",label:"\u90E8\u5206\u4ED8\u6B3E"},{value:"3",label:"\u5DF2\u4ED8\u6B3E"}],l=[{value:"1",label:"\u672A\u56DE\u7968"},{value:"2",label:"\u90E8\u5206\u56DE\u7968"},{value:"3",label:"\u5DF2\u56DE\u7968"}],a=[{value:"1",label:"\u56DE\u7968\u6807\u7B7E"},{value:"2",label:"\u4ED8\u6B3E\u6807\u7B7E"},{value:"3",label:"\u4ED8\u6B3E\u56DE\u7968\u6700\u5C11\u6709\u4E00\u4E2A"},{value:"4",label:"\u4ED8\u6B3E\u56DE\u7968\u90FD\u6709"}];export{l as i,u as p,a as t};

+ 1 - 0
dist/assets/_options.61c25632.js

@@ -0,0 +1 @@
+const u=[{value:"1",label:"\u4E70\u65B9\u516C\u53F8\u4E1A\u52A1\u5BA1\u6838"},{value:"2",label:"\u5BA1\u6838\u6210\u529F"},{value:"3",label:"\u4E70\u65B9\u9A73\u56DE"},{value:"4",label:"\u5DF2\u64A4\u9500\u5BF9\u8D26"}],e={customerNo:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E70\u65B9\u516C\u53F8\u7F16\u7801",trigger:"blur"}],companyNo:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E70\u65B9\u516C\u53F8\u7F16\u7801",trigger:"blur"}]};export{e as o,u as s};

+ 1 - 0
dist/assets/_options.b664a184.js

@@ -0,0 +1 @@
+const u=[{value:"1",label:"\u672A\u4ED8\u6B3E"},{value:"2",label:"\u90E8\u5206\u4ED8\u6B3E"},{value:"3",label:"\u5DF2\u4ED8\u6B3E"}],l=[{value:"1",label:"\u672A\u56DE\u7968"},{value:"2",label:"\u90E8\u5206\u56DE\u7968"},{value:"3",label:"\u5DF2\u56DE\u7968"}],a=[{value:"1",label:"\u56DE\u7968\u6807\u7B7E"},{value:"2",label:"\u4ED8\u6B3E\u6807\u7B7E"},{value:"3",label:"\u4ED8\u6B3E\u56DE\u7968\u6700\u5C11\u6709\u4E00\u4E2A"},{value:"4",label:"\u4ED8\u6B3E\u56DE\u7968\u90FD\u6709"}];export{l as i,u as p,a as t};

+ 1 - 0
dist/assets/_options.cdd82887.js

@@ -0,0 +1 @@
+const u=[{value:"1",label:"\u4E70\u65B9\u516C\u53F8\u4E1A\u52A1\u5BA1\u6838"},{value:"2",label:"\u5BA1\u6838\u6210\u529F"},{value:"3",label:"\u4E70\u5BB6\u9A73\u56DE"},{value:"4",label:"\u5DF2\u64A4\u9500\u5BF9\u8D26"}],l=[{value:"1",label:"\u56DE\u7968\u6807\u7B7E"},{value:"2",label:"\u4ED8\u6B3E\u6807\u7B7E"},{value:"3",label:"\u4ED8\u6B3E\u56DE\u7968\u6700\u5C11\u6709\u4E00\u4E2A"},{value:"4",label:"\u4ED8\u6B3E\u56DE\u7968\u90FD\u6709"}],a=[{value:"1",label:"\u5F85\u4ED8\u6B3E"},{value:"2",label:"\u90E8\u5206\u4ED8\u6B3E"},{value:"3",label:"\u5DF2\u4ED8\u6B3E"}],e=[{value:"1",label:"\u5F85\u56DE\u7968"},{value:"2",label:"\u90E8\u5206\u56DE\u7968"},{value:"3",label:"\u5DF2\u56DE\u7968"}];export{e as i,a as p,u as s,l as t};

+ 1 - 0
dist/assets/_rules.1a544eb3.js

@@ -0,0 +1 @@
+const u={hpNo:{trigger:"change",required:!0,message:"\u8BF7\u9009\u62E9\u91C7\u8D2D\u56DE\u7968"},reason:{required:!0,message:"\u8BF7\u8F93\u5165\u89E3\u9664\u7406\u7531",trigger:"change"}},e={payNo:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u8BA2\u5355",required:!0}],invoiceType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7C7B\u578B",required:!0}],invType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u7533\u8BF7\u65B9\u5F0F",required:!0}],invNumber:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u4EE3\u7801",required:!0}],invCode:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7F16\u7801",required:!0}],open_time:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u5F00\u7968\u65F6\u95F4",required:!0}],subtotal_amount:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u91D1\u989D",required:!0}],invName:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u540D\u79F0",required:!0}],gold:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u91D1\u989D",required:!0}]};export{u as c,e as i};

+ 1 - 0
dist/assets/_rules.1ebcf188.js

@@ -0,0 +1 @@
+const u={hpNo:{trigger:"change",required:!0,message:"\u8BF7\u9009\u62E9\u91C7\u8D2D\u56DE\u7968"},reason:{required:!0,message:"\u8BF7\u8F93\u5165\u89E3\u9664\u7406\u7531",trigger:"change"}},e={payNo:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u8BA2\u5355",required:!0}],invoiceType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7C7B\u578B",required:!0}],invType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u7533\u8BF7\u65B9\u5F0F",required:!0}],invNumber:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u4EE3\u7801",required:!0}],invCode:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7F16\u7801",required:!0}],open_time:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u5F00\u7968\u65F6\u95F4",required:!0}],subtotal_amount:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u91D1\u989D",required:!0}],invName:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u540D\u79F0",required:!0}],gold:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u91D1\u989D",required:!0}]};export{u as c,e as i};

+ 1 - 0
dist/assets/_rules.aa6432b7.js

@@ -0,0 +1 @@
+const u={hpNo:{trigger:"change",required:!0,message:"\u8BF7\u9009\u62E9\u91C7\u8D2D\u56DE\u7968"},reason:{required:!0,message:"\u8BF7\u8F93\u5165\u89E3\u9664\u7406\u7531",trigger:"change"}},e={payNo:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u8BA2\u5355",required:!0}],invoiceType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7C7B\u578B",required:!0}],invType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u7533\u8BF7\u65B9\u5F0F",required:!0}],invNumber:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u4EE3\u7801",required:!0}],invCode:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7F16\u7801",required:!0}],open_time:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u5F00\u7968\u65F6\u95F4",required:!0}],subtotal_amount:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u91D1\u989D",required:!0}],invName:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u540D\u79F0",required:!0}],gold:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u91D1\u989D",required:!0}]};export{u as c,e as i};

+ 1 - 0
dist/assets/_rules.b6cc96d5.js

@@ -0,0 +1 @@
+const u={hpNo:{trigger:"change",required:!0,message:"\u8BF7\u9009\u62E9\u91C7\u8D2D\u56DE\u7968"},reason:{required:!0,message:"\u8BF7\u8F93\u5165\u89E3\u9664\u7406\u7531",trigger:"change"}},e={payNo:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u8BA2\u5355",required:!0}],invoiceType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7C7B\u578B",required:!0}],invType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u7533\u8BF7\u65B9\u5F0F",required:!0}],invNumber:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u4EE3\u7801",required:!0}],invCode:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7F16\u7801",required:!0}],open_time:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u5F00\u7968\u65F6\u95F4",required:!0}],subtotal_amount:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u91D1\u989D",required:!0}],invName:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u540D\u79F0",required:!0}],gold:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u91D1\u989D",required:!0}]};export{u as c,e as i};

+ 1 - 0
dist/assets/_rules.da2e4e6a.js

@@ -0,0 +1 @@
+const u={hpNo:{trigger:"change",required:!0,message:"\u8BF7\u9009\u62E9\u91C7\u8D2D\u56DE\u7968"},reason:{required:!0,message:"\u8BF7\u8F93\u5165\u89E3\u9664\u7406\u7531",trigger:"change"}},e={payNo:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u8BA2\u5355",required:!0}],invoiceType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7C7B\u578B",required:!0}],invType:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u7533\u8BF7\u65B9\u5F0F",required:!0}],invNumber:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u4EE3\u7801",required:!0}],invCode:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u53D1\u7968\u7F16\u7801",required:!0}],open_time:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u5F00\u7968\u65F6\u95F4",required:!0}],subtotal_amount:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u91D1\u989D",required:!0}],invName:[{trigger:"blur",message:"\u8BF7\u8F93\u5165\u53D1\u7968\u540D\u79F0",required:!0}],gold:[{trigger:"blur",message:"\u8BF7\u9009\u62E9\u91D1\u989D",required:!0}]};export{u as c,e as i};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/action-table.ea37cff6.js


+ 1 - 0
dist/assets/add-edit-form.21e10a88.css

@@ -0,0 +1 @@
+[data-v-9bdd5bf4] .el-descriptions{padding:0 0 10px 30px!important}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/add-edit-form.93cb4ed7.js


+ 1 - 0
dist/assets/add-edit-form.d185d742.css

@@ -0,0 +1 @@
+[data-v-21656682] .el-descriptions{padding:0 0 10px 30px!important}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/add-edit-form.e2276dbc.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.24bb0c6f.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.251dd80b.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.257f4aa0.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.40aea4d9.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.5269c738.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.69c45eef.css


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.850d89e3.css


File diff suppressed because it is too large
+ 0 - 0
dist/assets/addEdit.e0d8dbc1.js


+ 1 - 0
dist/assets/anchor.71ba8505.css

@@ -0,0 +1 @@
+.is-active[data-v-5d3b9dd1]{color:#60a5fae6;background-color:#f7f7f7}

+ 1 - 0
dist/assets/anchor.80b1320d.js

@@ -0,0 +1 @@
+import{_ as x,d as g,w as k,cn as y,x as b,o as l,c as u,F as C,D as B,B as T,L as D}from"./index.56c69f5a.js";const E={fixed:"","p-5":"","text-sm":"","font-bold":""},w=["onClick"],N=g({__name:"anchor",props:{map:{type:Map,required:!0}},setup(i){const n=i,r=k(null),{y:o}=y(r);b(()=>{r.value=document.getElementsByClassName("el-scrollbar__wrap")[1]});function d(s){const{top:e}=n.map.get(s);r.value.scrollTo({top:Number(e)})}function m(s){let e=0,t=0;const a=[...n.map.entries()],{top:v,index:c}=n.map.get(s);return a.forEach(([A,{index:p,top:_}])=>{const f=c+1===p,h=c-1===p;f&&(e=_),h&&(t=_)}),c===0?o.value>=0&&o.value<e:o.value>t&&o.value<e&&o.value>=v}return(s,e)=>(l(),u("ul",E,[(l(!0),u(C,null,B(i.map.entries(),([t],a)=>(l(),u("li",{class:T(["hover:text-blue hover:bg-#f7f7f7 cursor-pointer duration-200ms p-1.5 m-1 rounded",{"is-active":m(t)}]),onClick:()=>d(t),key:a},D(t),11,w))),128))]))}});var I=x(N,[["__scopeId","data-v-5d3b9dd1"],["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/search/standBook/components/anchor.vue"]]);export{I as default};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/approval-modal.747b05b2.js


+ 1 - 0
dist/assets/approval-pending.57a32754.js

@@ -0,0 +1 @@
+import{_ as B,d as E,Z as i,ag as V,w as b,a0 as F,r as o,o as d,G as _,C as a,l as e,u as c,a as D,M as h,aR as q}from"./index.56c69f5a.js";import A from"./img-upload.4376a188.js";const U=E({__name:"approval-pending",props:{returnType:{type:String,required:!0}},emits:["changeStatus"],setup(f,{emit:g}){const v=f,t=i({return_img:"",status:"",remark:""}),n=i({return_img:[{required:!0,trigger:"change",message:"\u8BF7\u4E0A\u4F20\u9000\u6B3E\u56DE\u6267"}],status:[{required:!0,trigger:"change",message:"\u9009\u62E9\u5BA1\u6838\u72B6\u6001"}],remark:[{required:!0,trigger:"change",message:"\u8BF7\u8F93\u5165\u5907\u6CE8"}]}),x=V(()=>v.returnType!=="2"),s=b(null),k=()=>{s.value.validate(p=>p&&g("changeStatus",t))};return F(()=>{n.remark[0].required=t.status==="2"}),(p,u)=>{const m=o("el-option"),y=o("el-select"),l=o("el-form-item"),C=o("el-input"),w=o("el-button");return d(),_(c(q),{ref_key:"formRef",ref:s,"label-width":"100px",size:"small",model:t,rules:n},{default:a(()=>[e(l,{label:"\u5BA1\u6279\u72B6\u6001",prop:"status","w-400px":""},{default:a(()=>[e(y,{"w-400px":"",modelValue:t.status,"onUpdate:modelValue":u[0]||(u[0]=r=>t.status=r)},{default:a(()=>[e(m,{label:"\u901A\u8FC7",value:"1"}),e(m,{label:"\u4E0D\u901A\u8FC7",value:"2"})]),_:1},8,["modelValue"])]),_:1}),c(x)?(d(),_(l,{key:0,label:"\u9000\u6B3E\u56DE\u6267",prop:"return_img","w-480px":""},{default:a(()=>[e(A,{onChange:u[1]||(u[1]=r=>t.return_img=r)})]),_:1})):D("v-if",!0),e(l,{label:"\u5907\u6CE8",prop:"remark","w-400px":""},{default:a(()=>[e(C,{type:"textarea",modelValue:t.remark,"onUpdate:modelValue":u[2]||(u[2]=r=>t.remark=r)},null,8,["modelValue"])]),_:1}),e(l,{"w-full":"",flex:"","justify-end":""},{default:a(()=>[e(w,{type:"primary",onClick:k},{default:a(()=>[h("\u4FDD\u5B58")]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});var I=B(U,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/refund/components/approval-process/approval-pending.vue"]]);export{I as default};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/approval-pending.70159752.js


+ 1 - 0
dist/assets/approval-pending.da1f3c84.css

@@ -0,0 +1 @@
+.upload{width:178px;height:178px;display:block;border:1px dashed var(--el-border-color)}.upload .text{font-size:20px;color:#8c939d;width:178px;height:178px;text-align:center;line-height:178px}.upload:hover{border-color:var(--el-color-primary)}.upload .avatar{width:178px;height:178px;display:block}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/approval-pending.e3f42a65.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/approval-pending.e8aa3ec6.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/approval-pending.f6809f83.js


BIN
dist/assets/avatars.7f6d4cce.jpg


+ 1 - 0
dist/assets/avatars.b0b9f6c2.js

@@ -0,0 +1 @@
+var a="/assets/avatars.7f6d4cce.jpg";export{a};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/back-modal.5acdf4bc.js


+ 1 - 0
dist/assets/basic-descriptions.5f176484.js

@@ -0,0 +1 @@
+import{d,l as t,aM as p,aN as c,r as m,J as b,M as f}from"./index.56c69f5a.js";const y={title:{type:String},colNumber:{type:Number,default:24},columns:{type:Array},data:{type:Object},labelWidth:{type:String},show:{type:Boolean,default:!0}};const h=d({name:"BasicDescriptions",props:y,setup(l,{slots:s}){return()=>{const{title:n,colNumber:r,columns:i,data:a,labelWidth:o,show:u}=l;return u?t(c,{title:n,border:!0,column:r,size:"small"},{default:()=>[i.map(e=>t(p,{label:e.label,key:e.field,span:e.span?e.span:6},{default:()=>[t("div",{class:"col-item"},[t("p",{class:"col-label",style:{width:o+"px"}},[e.label]),t("p",{class:"col-value"},[e.render?e.render(a[e.field],a):a[e.field]])])]})),s.custom&&s.custom(l.data)]}):t("div",{style:{display:"flex",width:"100%",justifyContent:"center",flexDirection:"column",alignItems:"center"}},[t(m("el-button"),{text:!0,size:"large",icon:b("warning-filled"),disabled:!0},null),t("span",null,[f("\u6682\u65E0\u6570\u636E")])])}}});export{h as B};

+ 1 - 0
dist/assets/basic-descriptions.f09bf70b.css

@@ -0,0 +1 @@
+.description-label{white-space:nowrap}.col-item{display:flex;align-items:center;justify-content:center;height:100%}.col-item p{border:1px solid #ebeef5;min-height:32px;margin-bottom:-1px;margin-left:-1px;height:100%;font-size:14px!important}.col-item .col-label{background-color:#f5f7fa;text-align:right;padding-right:5px;min-width:100px;height:100%;font-size:12px!important;display:flex;align-items:center;justify-content:flex-end}.col-item .col-value{flex:1;padding-left:5px;font-size:12px!important;display:flex;align-items:center;overflow:hidden}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/basic-settings.8d375f71.js


+ 1 - 0
dist/assets/basic-settings.99a5d007.css

@@ -0,0 +1 @@
+.settings__content[data-v-a5cd9d58]{padding:20px!important}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/basic-settings.c38d008d.js


+ 1 - 0
dist/assets/basic-settings.e9286fd0.css

@@ -0,0 +1 @@
+.settings__content[data-v-6a036583]{padding:20px!important}

File diff suppressed because it is too large
+ 1 - 0
dist/assets/batch.edfa6665.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/batchImportSendOrder.a1b18820.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/batchImportSendOrder.d9fe4655.js


BIN
dist/assets/bg.7b14eacd.png


+ 1 - 0
dist/assets/calc.850c7422.js

@@ -0,0 +1 @@
+function h(t,c){let e,r,n;try{e=t.toString().split(".")[1].length}catch{e=0}try{r=c.toString().split(".")[1].length}catch{r=0}return n=Math.pow(10,Math.max(e,r)),(t*n+c*n)/n}function s(t,c){let e=0,r=0,n,i;try{e=t.toString().split(".")[1].length}catch{}try{r=c.toString().split(".")[1].length}catch{}return n=Number(t.toString().replace(".","")),i=Number(c.toString().replace(".","")),a(n/i,Math.pow(10,r-e))}function a(t,c){let e=0,r=t.toString(),n=c.toString();try{e+=r.split(".")[1].length}catch{}try{e+=n.split(".")[1].length}catch{}return Number(r.replace(".",""))*Number(n.replace(".",""))/Math.pow(10,e)}function l(t,c){let e,r,n,i;try{e=t.toString().split(".")[1].length}catch{e=0}try{r=c.toString().split(".")[1].length}catch{r=0}return n=Math.pow(10,Math.max(e,r)),i=e>=r?e:r,((t*n-c*n)/n).toFixed(i)}function u(t){return t==="NaN"||Number(t)===0?"0":t<1e3&&t>0||t<0&&t>-1e3?t:s(t,1e4).toFixed(2)+"W"}function p(t){const c=Object.keys(t[0]);return t.reduce((e,r)=>c.reduce((n,i)=>({...n,[i]:h(e[i]||0,r[i])}),{}),{})}function m(t){return t?Number(t).toFixed(2):0}export{h as a,p as c,s as d,m as f,a as m,l as s,u};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/capital-modal.0ca9ac71.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/capital-modal.24b479bf.js


+ 1 - 0
dist/assets/capital-modal.45fd8647.css

@@ -0,0 +1 @@
+[data-v-6b3c49fd] .el-table__header .el-checkbox{display:none}

+ 1 - 0
dist/assets/capital-modal.52ea066f.css

@@ -0,0 +1 @@
+[data-v-1492c86a] .el-table__header .el-checkbox{display:none}

+ 1 - 0
dist/assets/capital-modal.659531cd.js

@@ -0,0 +1 @@
+import{_,d as f,w as v,bv as C,r as D,aC as w,o as h,G as O,C as g,H as s,l as i,u as a}from"./index.56c69f5a.js";import{h as x}from"./index.0d015942.js";import{B as n}from"./basic-descriptions.5f176484.js";import{C as y}from"./tragelog.c78945ab.js";import{O as B,G as U}from"./sale.07797b41.js";import"./tootip.fe6ea468.js";import"./status.2df4810d.js";const k=f({__name:"capital-modal",setup(L,{expose:d}){const e=v(!1),{data:o,run:u,loading:t}=C({initalData:{}});return d({onDisplay(r){e.value=!0,u(x({logNo:r}))}}),(r,c)=>{const m=D("el-dialog"),l=w("loading");return h(),O(m,{modelValue:e.value,"onUpdate:modelValue":c[0]||(c[0]=p=>e.value=p),center:"",title:"\u8D44\u91D1\u8BE6\u60C5",width:"1040px","close-on-click-modal":!1},{default:g(()=>[s(i(a(n),{style:{width:"100%"},columns:a(y),data:a(o)},null,8,["columns","data"]),[[l,a(t)]]),s(i(a(n),{style:{width:"100%"},columns:a(B),data:a(o)&&a(o).orderinfo?a(o).orderinfo:{}},null,8,["columns","data"]),[[l,a(t)]]),s(i(a(n),{style:{width:"100%"},columns:a(U),data:a(o)&&a(o).orderinfo?a(o).orderinfo:{}},null,8,["columns","data"]),[[l,a(t)]])]),_:1},8,["modelValue"])}}});var E=_(k,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/capitalPool/components/capital-modal.vue"]]);export{E as default};

+ 1 - 0
dist/assets/capital-modal.70910d53.css

@@ -0,0 +1 @@
+[data-v-31127b90] .el-table__header .el-checkbox{display:none}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/capital-modal.930924e7.js


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