zhang_li 8 months ago
parent
commit
64994a94ac
  1. 71
      .commitlintrc.js
  2. 4
      .env.development
  3. 4
      .env.production
  4. 2
      .env.test
  5. 2
      .eslintignore
  6. 49
      .eslintrc.json
  7. 31
      .gitignore
  8. 9
      .prettierrc.js
  9. 7
      Dockerfile
  10. 21
      LICENSE
  11. 260
      README.md
  12. 25
      index.html
  13. 53
      nginx.conf
  14. 80
      package.json
  15. 6260
      pnpm-lock.yaml
  16. 0
      src/App.vue
  17. 0
      src/api/http.ts
  18. 0
      src/api/login.js
  19. 0
      src/api/request2.js
  20. 0
      src/common/appUpdate.js
  21. 0
      src/common/array.js
  22. 0
      src/common/balance.js
  23. 0
      src/common/basic.js
  24. 0
      src/common/calc.js
  25. 0
      src/common/detail.js
  26. 0
      src/common/directory.js
  27. 0
      src/common/label.js
  28. 0
      src/common/record.js
  29. 0
      src/common/style/PDA_style-delete.css
  30. 0
      src/common/style/new_style.css
  31. 0
      src/common/style/pdabasic.css
  32. 0
      src/common/style/uni.css
  33. 0
      src/common/utils/auth.js
  34. 0
      src/common/utils/common.js
  35. 0
      src/common/utils/constant.js
  36. 0
      src/common/utils/errorCode.js
  37. 0
      src/common/utils/permission.js
  38. 0
      src/common/utils/ruoyi.js
  39. 0
      src/common/utils/storage.js
  40. 0
      src/components/amap-wx/js/util.js
  41. 0
      src/components/amap-wx/lib/amap-wx.js
  42. 0
      src/components/custom-nomore/custom-nomore.vue
  43. 0
      src/components/custom-refresher/custom-refresher.vue
  44. 0
      src/components/marked/index.js
  45. 0
      src/components/marked/lib/marked.js
  46. 0
      src/components/mpvue-citypicker/city-data/area.js
  47. 0
      src/components/mpvue-citypicker/city-data/city.js
  48. 0
      src/components/mpvue-citypicker/city-data/province.js
  49. 0
      src/components/mpvue-citypicker/mpvueCityPicker.vue
  50. 0
      src/components/mpvue-echarts/src/echarts.vue
  51. 0
      src/components/mpvue-echarts/src/wx-canvas.js
  52. 0
      src/components/mpvue-picker/mpvuePicker.vue
  53. 0
      src/components/mpvueGestureLock/gestureLock.js
  54. 0
      src/components/mpvueGestureLock/index.vue
  55. 0
      src/components/my-paging/my-paging.vue
  56. 0
      src/components/page-foot/page-foot.vue
  57. 0
      src/components/page-head/page-head.vue
  58. 0
      src/components/pullDown/pullDown.vue
  59. 0
      src/components/search/index.vue
  60. 0
      src/components/show-modal/show-modal.vue
  61. 0
      src/components/tab-nvue/mediaList.vue
  62. 0
      src/components/u-charts/u-charts.js
  63. 0
      src/components/verifition/Verify.vue
  64. 0
      src/components/verifition/utils/ase.js
  65. 0
      src/components/verifition/utils/request.js
  66. 0
      src/components/verifition/verifyPoint/verifyPoint.vue
  67. 0
      src/components/verifition/verifySlider/verifySlider.vue
  68. 0
      src/env.d.ts
  69. 0
      src/main.ts
  70. 0
      src/manifest.json
  71. 0
      src/pages.json
  72. 0
      src/pages/common/textview/index.vue
  73. 0
      src/pages/common/webview/index.vue
  74. 0
      src/pages/config/config.vue
  75. 0
      src/pages/container/coms/comContainerBindCard.vue
  76. 0
      src/pages/container/coms/comPalletRecord.vue
  77. 0
      src/pages/container/record/containerBindRecord.vue
  78. 0
      src/pages/container/record/containerUnBindRecord.vue
  79. 0
      src/pages/count/coms/comCountDetailCard.vue
  80. 0
      src/pages/count/coms/comCountJobCard.vue
  81. 0
      src/pages/count/coms/detailInfoPopup.vue
  82. 0
      src/pages/count/coms/jobInfoPopup.vue
  83. 0
      src/pages/count/coms/jobListPopup.vue
  84. 0
      src/pages/count/job/countDetail.vue
  85. 0
      src/pages/count/job/countJob.vue
  86. 0
      src/pages/count/record/countRecord.vue
  87. 0
      src/pages/customerReturn/coms/comReturnJobCard.vue
  88. 0
      src/pages/customerReturn/coms/comReturnRecord.vue
  89. 0
      src/pages/customerReturn/coms/comReturnRequestCard.vue
  90. 0
      src/pages/customerReturn/coms/detailInfoPopup.vue
  91. 0
      src/pages/customerReturn/coms/jobInfoPopup.vue
  92. 0
      src/pages/customerReturn/coms/jobListPopup.vue
  93. 0
      src/pages/customerReturn/coms/requestDetailInfoPopup.vue
  94. 0
      src/pages/customerReturn/coms/requestInfoPopup.vue
  95. 0
      src/pages/customerReturn/job/returnDetail.vue
  96. 0
      src/pages/customerReturn/job/returnJob.vue
  97. 0
      src/pages/customerReturn/record/returnRecord.vue
  98. 0
      src/pages/customerReturn/request/customerReturnRequest.vue
  99. 0
      src/pages/customerReturn/request/customerReturnRequestCreate.vue
  100. 0
      src/pages/customerReturn/request/customerReturnRequestDetail.vue

71
.commitlintrc.js

@ -0,0 +1,71 @@
// @ts-check
/** @type {import('cz-git').UserConfig} */
module.exports = {
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'],
'subject-case': [0],
'type-enum': [
2,
'always',
[
'feat',
'fix',
'perf',
'style',
'docs',
'test',
'refactor',
'build',
'ci',
'chore',
'revert',
'wip',
'workflow',
'types',
'release'
]
]
},
prompt: {
// 中英文对照版
// messages: {
// type: '选择你要提交的类型 :',
// scope: '选择一个提交范围 (可选):',
// customScope: '请输入自定义的提交范围 :',
// subject: '填写简短精炼的变更描述 :\n',
// body: '填写更加详细的变更描述 (可选)。使用 "|" 换行 :\n',
// breaking: '列举非兼容性重大的变更 (可选)。使用 "|" 换行 :\n',
// footerPrefixsSelect: '选择关联issue前缀 (可选):',
// customFooterPrefixs: '输入自定义issue前缀 :',
// footer: '列举关联issue (可选) 例如: #31, #I3244 :\n',
// confirmCommit: '是否提交或修改commit ?'
// },
// types: [
// { value: 'feat', name: 'feat: 新增功能' },
// { value: 'fix', name: 'fix: 修复缺陷' },
// { value: 'docs', name: 'docs: 文档变更' },
// { value: 'style', name: 'style: 代码格式' },
// { value: 'refactor', name: 'refactor: 代码重构' },
// { value: 'perf', name: 'perf: 性能优化' },
// { value: 'test', name: 'test: 添加疏漏测试或已有测试改动' },
// {
// value: 'build',
// name: 'build: 构建流程、外部依赖变更 (如升级 npm 包、修改打包配置等)'
// },
// { value: 'ci', name: 'ci: 修改 CI 配置、脚本' },
// { value: 'revert', name: 'revert: 回滚 commit' },
// {
// value: 'chore',
// name: 'chore: 对构建过程或辅助工具和库的更改 (不影响源文件、测试用例)'
// },
// { value: 'wip', name: 'wip: 正在开发中' },
// { value: 'workflow', name: 'workflow: 工作流程改进' },
// { value: 'types', name: 'types: 类型定义文件修改' }
// ]
}
}

4
.env.development

@ -0,0 +1,4 @@
VITE_BASE_URL=http://dev.ccwin-in.com:25102/api/admin-api
#VITE_BASE_URL=http://dev.ccwin-in.com:25203/api/admin-api
VITE_BASE_URL_IMAGE=http://localhost:12080/admin-api

4
.env.production

@ -0,0 +1,4 @@
# VITE_BASE_URL=http://dev.ccwin-in.com:23111/app
# VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:23111
VITE_BASE_URL=https://tmsapp.hongxianggroup.com.cn
VITE_BASE_URL_IMAGE=https://tmsapp.hongxianggroup.com.cn

2
.env.test

@ -0,0 +1,2 @@
VITE_BASE_URL=http://dev.ccwin-in.com:25203/api/admin-api
VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:25203/api/admin-api

2
.eslintignore

@ -0,0 +1,2 @@
dist
*.nvue

49
.eslintrc.json

@ -0,0 +1,49 @@
{
"parser": "vue-eslint-parser",
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 2021,
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:vue/vue3-essential",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["vue", "@typescript-eslint", "todo-ddl"],
"rules": {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"import/extensions": "off",
"quotes": ["warn", "single"],
"semi": ["warn", "never"],
"import/no-unresolved": "off",
"todo-ddl/diy": "warn",
"import/prefer-default-export": "off",
"no-param-reassign": "warn",
"import/no-extraneous-dependencies": "off",
"max-len": "warn",
"no-restricted-syntax": "off",
"no-bitwise": "off",
"camelcase": "off",
"no-case-declarations": "off",
"@typescript-eslint/no-namespace": "off",
"no-undef": "off",
"no-promise-executor-return": "off",
"vue/multi-word-component-names": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-ts-comment": "off",
"linebreak-style": "off"
}
}

31
.gitignore

@ -0,0 +1,31 @@
.DS_Store
node_modules/
unpackage/
dist/
wxcomponents
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.project
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
.hbuilderx
.gitee
.github
package-lock.json
yarn.lock

9
.prettierrc.js

@ -0,0 +1,9 @@
module.exports = {
printWidth: 700, // 一行的字符数,如果超过会进行换行,默认为80
tabWidth: 2, // 一个 tab 代表几个空格数,默认为 2 个
useTabs: false, //是否使用 tab 进行缩进,默认为false,表示用空格进行缩减
singleQuote: true, // 字符串是否使用单引号,默认为 false,使用双引号
semi: false, // 行尾是否使用分号,默认为true
trailingComma: 'none', // 是否使用尾逗号
bracketSpacing: true // 对象大括号直接是否有空格,默认为 true,效果:{ a: 1 }
}

7
Dockerfile

@ -0,0 +1,7 @@
# 设置基础镜像
FROM win-nginx
WORKDIR /opt/eam-pda
COPY nginx.conf /usr/local/nginx/conf/nginx.conf
# 将dist/build/h5/文件中的内容复制到 /opt/eam-pda 这个目录下面
COPY dist/build/h5/ /opt/eam-pda

21
LICENSE

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 sugar
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.

260
README.md

@ -0,0 +1,260 @@
# uni-vue3-ts-template
uni-app Vue3 + TypeScript + Vite + Pinia + Unocss 模板项目
支持小程序,H5,App
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxODc4OTk1OQ==653218789959)
![Unocss](https://fastly.jsdelivr.net/gh/MellowCo/image-host/2022/202211121156442.png)
| H5 | 微信小程序 | App(iOS) | App(Android) |
| :-------------------------------------------------------------------------: | :-------------------------------------------------------------------------: | :-------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: |
| ![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzE5Mzc4MzUyMQ==653193783521) | ![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzE5Mzc1Mzk1MQ==653193753951) | ![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxMDc2NTcwNg==653210765706) | <img src="https://img.cdn.sugarat.top/mdImg/MTY1MzIxMzkyOTQxNg==653213929416" width="360"/> |
其它模板
* Vue3的uni-app 纯js模板:[uni-app-template](https://github.com/ATQQ/uni-app-template)
* Vue3的Web应用模板:[vite-vue3-template](https://github.com/ATQQ/vite-vue3-template)
## Env Suggest
**Node >= 14.19**
**pnpm 7**
**Registry taobao - https://registry.npmmirror.com/**
## Use This Template
```sh
npx degit atqq/uni-vue3-ts-template#main my-uni-vue3-ts-vite-project
```
## Feature
### Prod
* [x] [Vue3](https://vuejs.org/)
* [x] [Pinia](https://pinia.vuejs.org/) - replace vuex
* [x] [Axios](https://github.com/axios/axios)
* UI/组件库
* [x] [uView](https://vkuviewdoc.fsq.pub/) - vk-uview-ui
* [ ] [uni-ui](https://github.com/dcloudio/uni-ui) - 待接入
### Dev
* [x] [Vite](https://github.com/vitejs/vite)
* [x] [TypeScript](https://github.com/microsoft/TypeScript/#readme)
* [x] [Sass](https://github.com/sass/sass)
* [x] [Less](https://github.com/less/less.js)
* [x] [Eslint](https://eslint.org/)
* [x] [Prettier](https://prettier.io/)
* [x] [Vitest](https://vitest.dev/) - replace jest
* [x] [unocss](https://github.com/unocss/unocss) - 即时按需原子 css 引擎
* [x] GitHooks [simple-git-hooks](https://github.com/toplenboren/simple-git-hooks#readme)
* ~~LintStaged~~
* ~~StyleLint~~
## 使用
### 安装依赖
**建议使用pnpm,依赖安装速度更快**
```sh
npm i -g pnpm
```
```sh
pnpm install
```
**MAC M1(ARM芯片),其它操作系统无需关注**,正常运行需要手动安装 `esbuild-darwin-64`即可
```sh
pnpm add esbuild-darwin-64@0.15.13 -D
```
## 本地启动
### 微信小程序
```sh
# 构建出产物
pnpm dev:mp-weixin
```
> **Q1:** 如果dev的时候发现报错,可以尝试删除`node_modules`之后再在命令行中运行`pnpm install --shamefully-hoist`重新安装依赖再`pnpm dev:mp-weixin`
>
> [详细参考文档](https://pnpm.io/zh/faq#%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%883)
> **Q2:** 如果运行白屏,有报错信息 “app.js错误ReferenceError: regeneratorRuntime is not defined”
>
> 参考[解决方案](https://blog.csdn.net/FUFCY/article/details/125160828) 给微信小程序IDE开启**增强编译选项**
然后将编译结果`dist/dev/mp-weixin`导入微信开发者工具即可运行
<details>
<summary>点击查看 导入详细步骤</summary>
![图片](https://img.cdn.sugarat.top/mdImg/MTYzNzQxNjc3MjA4Mw==637416772083)
![图片](https://img.cdn.sugarat.top/mdImg/MTYzNzQxNjg4MTUwNA==637416881504)
![图片](https://img.cdn.sugarat.top/mdImg/MTYzNzQxNjY3OTY0NQ==637416679645)
</details>
### H5
```sh
# CSR
pnpm dev:h5
# SSR
pnpm dev:h5:ssr
```
根据提示,打开对应地址即可访问
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxMTE0MDEzMg==653211140132)
### App
>**Q1:** 如启动到App侧有报错?
>请更新至最新的HBuilderX-Alpha客户端
#### 安装一些必要工具
需要使用 `uni-app` 官方提供的 [HBuilderX](https://www.dcloud.io/hbuilderx.html) 启动项目
**Android模拟器在MacOSX、Windows上都可以安装;iOS模拟器只能在MacOSX上安装。**
先安装相关模拟器,[详细参考文档](https://hx.dcloud.net.cn/Tutorial/App/installSimulator)
* 安卓:[夜神模拟器](https://www.yeshen.com/blog/)
* iOS:Mac上安装Xcode
准备就绪后,使用 HBuilderX 打开项目
#### iOS模拟器运行
通过顶部菜单栏,找到运行入口
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxMjk1MTgzNw==653212951837)
选择一个目标设备,点击启动即可
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxMjk3NDM0NQ==653212974345)
#### Android模拟器运行
这里以[夜神模拟器](https://www.yeshen.com/blog/)为例
<details>
<summary>点击查看 详细步骤</summary>
先通过 HBuilderX 修改模拟器端口为 `62001`
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxNDAzMjIwNg==653214032206)
打开夜神模拟器
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxNDA5OTYxNg==653214099616)
选择运行到 Android 基座
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxNDEzMzI0OA==653214133248)
选择已经打开的模拟器,点击运行即可
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxNDIxNjczNw==653214216737)
![图片](https://img.cdn.sugarat.top/mdImg/MTY1MzIxMzkyOTQxNg==653213929416)
</details>
## 打包构建
### 微信小程序
```
pnpm build:mp-weixin
```
### H5
```sh
# CSR
pnpm build:h5
# SSR
pnpm build:h5:ssr
```
### App
基于 `HBuilderX` 参考[官方文档](https://hx.dcloud.net.cn/Tutorial/App/SafePack)进行进一步的操作
其它更多运行脚本 查看 [package.json](./package.json)中的scripts
## css预处理
### 已配置`scss`和`less`全局变量
```typescript
// vite.config.ts
export default defineConfig({
// ......
css: {
preprocessorOptions: {
scss: {
additionalData: '@import "@/static/styles/variables.scss";'
},
less: {
additionalData: '@import "@/static/styles/variables.less";'
}
}
}
})
```
`additionalData`的值是文件的路径,可以按照自己业务需求去修改,**如果项目样式变量分的比较细,可以使用一个样式文件引入多个变量样式文件,然后在这里引入入口文件**
## 别名配置
如果我们想要在`import`的时候 src 的路径简写成`@`,下面的就是配置 vite 的别名,[属性类型请查看vite文档](https://vitejs.cn/config/#resolve-alias)
- `@` 代替 `./src`
- `@components`代替`./src/components`
```typescript
// vite.config.ts
export default defineConfig({
// ......
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'@components': path.resolve(__dirname, './src/components')
}
}
})
```
例子:
```diff
// pages/index/index.vue
- import Hello from '../../components/hello/index.vue'
+ import Hello from '@/components/hello/index.vue'
// 或者
+ import Hello from '@components/hello/index.vue'
```
### ts
如果是使用ts开发,这样还不够,ts不会识别路径的别名,显示找不到模块的报错,这个时候需要修改 `tsconfig.json` 文件,纠正下路径才可以。
```diff
// tsconfig.json
{
// ......
"compilerOptions": {
// ......
+ "baseUrl": "./",
+ "paths": {
+ "@/*": ["src/*"],
+ "@components/*": ["src/components/*"]
}
},
}
```
添加 `baseUrl``paths` 参数,就可以完美解决编辑器的报错提示了!
## 原子化css
* [unocss](https://github.com/unocss/unocss) - 即时按需原子 css 引擎
* [unocss-preset-weapp](https://github.com/MellowCo/unocss-preset-weapp) - 兼容小程序 unocss 预设
> 支持小程序,h5,app
![](https://fastly.jsdelivr.net/gh/MellowCo/image-host/2022/202211121156442.png)

25
index.html

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app">
<!--app-html-->
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>

53
nginx.conf

@ -0,0 +1,53 @@
user root;
worker_processes 2;
events {
worker_connections 1024;
}
http {
include mime.types;
charset utf-8,gbk;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" "$request_time $upstream_response_time"';
proxy_cache_path /opt/nginx_cache/ levels=1:2 keys_zone=my_zone:10m inactive=300s max_size=5g;
access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 600s;
client_max_body_size 200m;
gzip on;
gzip_min_length 10k;
gzip_comp_level 9;
gzip_buffers 4 16k;
gzip_types text/plain application/javascript text/css application/xml text/javascript image/jpeg image/gif image/png;
gzip_vary on;
gzip_disable "MSIE [1-6]\.";
upstream eam {
server localhost:25210 weight=10 max_fails=3 fail_timeout=10s;
}
server {
listen 25203;
server_name_in_redirect off;
server_name dev.ccwin-in.com;
location /api/ {
proxy_pass http://eam/;
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;
proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
}
location / {
proxy_cache my_zone;
proxy_cache_valid 200 304 12h;
proxy_cache_key $host$uri$is_args$args;
try_files $uri $uri/ /index.html;
root /opt/eam-pda;
index index.html index.htm;
}
}
}

80
package.json

@ -0,0 +1,80 @@
{
"name": "闻荫APP",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "uni",
"dev:mp-weixin": "uni -p mp-weixin",
"dev:app": "uni -p app",
"dev:custom": "uni -p",
"test": "uni build --mode test",
"test:mp-weixin": "uni build -p mp-weixin",
"test:app": "uni build -p app",
"test:custom": "uni build -p",
"prod": "uni build --mode production",
"prod:mp-weixin": "uni build -p mp-weixin --mode production",
"prod:app": "uni build -p app --mode production",
"prod:custom": "uni build -p --mode production"
},
"dependencies": {
"@dcloudio/uni-app": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-app-plus": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-components": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-h5": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3060920221114001",
"axios": "^0.27.2",
"cz-git": "^1.4.1",
"decimal.js": "^10.4.3",
"or": "^0.2.0",
"pinia": "^2.0.35",
"vk-uview-ui": "^1.3.7",
"vue": "^3.2.41",
"vue-demi": "latest",
"vue-i18n": "^9.1.9",
"vuex": "^4.0.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@dcloudio/types": "^3.0.16",
"@dcloudio/uni-automator": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3060920221114001",
"@dcloudio/uni-stacktracey": "3.0.0-alpha-3060920221114001",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3060920221114001",
"@types/node": "^17.0.45",
"@typescript-eslint/eslint-plugin": "^5.30.3",
"@typescript-eslint/parser": "^5.30.3",
"@vitejs/plugin-vue": "^2.3.3",
"@vitest/ui": "^0.10.5",
"c8": "^7.11.3",
"czg": "^1.4.1",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-todo-ddl": "^1.1.1",
"eslint-plugin-vue": "^9.1.1",
"jsdom": "^24.0.0",
"less": "^4.1.3",
"prettier": "^2.7.1",
"sass": "^1.53.0",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.7.4",
"unocss": "^0.46.4",
"unocss-preset-weapp": "^0.2.1",
"vite": "^3.1.8",
"vite-plugin-eslint": "^1.6.1",
"vitest": "^0.16.0"
},
"simple-git-hooks": {
"commit-msg": "npx --no-install commitlint --edit \"$1\""
}
}

6260
pnpm-lock.yaml

File diff suppressed because it is too large

0
App.vue → src/App.vue

0
api/http.ts → src/api/http.ts

0
api/login.js → src/api/login.js

0
api/request2.js → src/api/request2.js

0
common/appUpdate.js → src/common/appUpdate.js

0
common/array.js → src/common/array.js

0
common/balance.js → src/common/balance.js

0
common/basic.js → src/common/basic.js

0
common/calc.js → src/common/calc.js

0
common/detail.js → src/common/detail.js

0
common/directory.js → src/common/directory.js

0
common/label.js → src/common/label.js

0
common/record.js → src/common/record.js

0
common/style/PDA_style-delete.css → src/common/style/PDA_style-delete.css

0
common/style/new_style.css → src/common/style/new_style.css

0
common/style/pdabasic.css → src/common/style/pdabasic.css

0
common/style/uni.css → src/common/style/uni.css

0
common/utils/auth.js → src/common/utils/auth.js

0
common/utils/common.js → src/common/utils/common.js

0
common/utils/constant.js → src/common/utils/constant.js

0
common/utils/errorCode.js → src/common/utils/errorCode.js

0
common/utils/permission.js → src/common/utils/permission.js

0
common/utils/ruoyi.js → src/common/utils/ruoyi.js

0
common/utils/storage.js → src/common/utils/storage.js

0
components/amap-wx/js/util.js → src/components/amap-wx/js/util.js

0
components/amap-wx/lib/amap-wx.js → src/components/amap-wx/lib/amap-wx.js

0
components/custom-nomore/custom-nomore.vue → src/components/custom-nomore/custom-nomore.vue

0
components/custom-refresher/custom-refresher.vue → src/components/custom-refresher/custom-refresher.vue

0
components/marked/index.js → src/components/marked/index.js

0
components/marked/lib/marked.js → src/components/marked/lib/marked.js

0
components/mpvue-citypicker/city-data/area.js → src/components/mpvue-citypicker/city-data/area.js

0
components/mpvue-citypicker/city-data/city.js → src/components/mpvue-citypicker/city-data/city.js

0
components/mpvue-citypicker/city-data/province.js → src/components/mpvue-citypicker/city-data/province.js

0
components/mpvue-citypicker/mpvueCityPicker.vue → src/components/mpvue-citypicker/mpvueCityPicker.vue

0
components/mpvue-echarts/src/echarts.vue → src/components/mpvue-echarts/src/echarts.vue

0
components/mpvue-echarts/src/wx-canvas.js → src/components/mpvue-echarts/src/wx-canvas.js

0
components/mpvue-picker/mpvuePicker.vue → src/components/mpvue-picker/mpvuePicker.vue

0
components/mpvueGestureLock/gestureLock.js → src/components/mpvueGestureLock/gestureLock.js

0
components/mpvueGestureLock/index.vue → src/components/mpvueGestureLock/index.vue

0
components/my-paging/my-paging.vue → src/components/my-paging/my-paging.vue

0
components/page-foot/page-foot.vue → src/components/page-foot/page-foot.vue

0
components/page-head/page-head.vue → src/components/page-head/page-head.vue

0
components/pullDown/pullDown.vue → src/components/pullDown/pullDown.vue

0
components/search/index.vue → src/components/search/index.vue

0
components/show-modal/show-modal.vue → src/components/show-modal/show-modal.vue

0
components/tab-nvue/mediaList.vue → src/components/tab-nvue/mediaList.vue

0
components/u-charts/u-charts.js → src/components/u-charts/u-charts.js

0
components/verifition/Verify.vue → src/components/verifition/Verify.vue

0
components/verifition/utils/ase.js → src/components/verifition/utils/ase.js

0
components/verifition/utils/request.js → src/components/verifition/utils/request.js

0
components/verifition/verifyPoint/verifyPoint.vue → src/components/verifition/verifyPoint/verifyPoint.vue

0
components/verifition/verifySlider/verifySlider.vue → src/components/verifition/verifySlider/verifySlider.vue

0
env.d.ts → src/env.d.ts

0
main.ts → src/main.ts

0
manifest.json → src/manifest.json

0
pages.json → src/pages.json

0
pages/common/textview/index.vue → src/pages/common/textview/index.vue

0
pages/common/webview/index.vue → src/pages/common/webview/index.vue

0
pages/config/config.vue → src/pages/config/config.vue

0
pages/container/coms/comContainerBindCard.vue → src/pages/container/coms/comContainerBindCard.vue

0
pages/container/coms/comPalletRecord.vue → src/pages/container/coms/comPalletRecord.vue

0
pages/container/record/containerBindRecord.vue → src/pages/container/record/containerBindRecord.vue

0
pages/container/record/containerUnBindRecord.vue → src/pages/container/record/containerUnBindRecord.vue

0
pages/count/coms/comCountDetailCard.vue → src/pages/count/coms/comCountDetailCard.vue

0
pages/count/coms/comCountJobCard.vue → src/pages/count/coms/comCountJobCard.vue

0
pages/count/coms/detailInfoPopup.vue → src/pages/count/coms/detailInfoPopup.vue

0
pages/count/coms/jobInfoPopup.vue → src/pages/count/coms/jobInfoPopup.vue

0
pages/count/coms/jobListPopup.vue → src/pages/count/coms/jobListPopup.vue

0
pages/count/job/countDetail.vue → src/pages/count/job/countDetail.vue

0
pages/count/job/countJob.vue → src/pages/count/job/countJob.vue

0
pages/count/record/countRecord.vue → src/pages/count/record/countRecord.vue

0
pages/customerReturn/coms/comReturnJobCard.vue → src/pages/customerReturn/coms/comReturnJobCard.vue

0
pages/customerReturn/coms/comReturnRecord.vue → src/pages/customerReturn/coms/comReturnRecord.vue

0
pages/customerReturn/coms/comReturnRequestCard.vue → src/pages/customerReturn/coms/comReturnRequestCard.vue

0
pages/customerReturn/coms/detailInfoPopup.vue → src/pages/customerReturn/coms/detailInfoPopup.vue

0
pages/customerReturn/coms/jobInfoPopup.vue → src/pages/customerReturn/coms/jobInfoPopup.vue

0
pages/customerReturn/coms/jobListPopup.vue → src/pages/customerReturn/coms/jobListPopup.vue

0
pages/customerReturn/coms/requestDetailInfoPopup.vue → src/pages/customerReturn/coms/requestDetailInfoPopup.vue

0
pages/customerReturn/coms/requestInfoPopup.vue → src/pages/customerReturn/coms/requestInfoPopup.vue

0
pages/customerReturn/job/returnDetail.vue → src/pages/customerReturn/job/returnDetail.vue

0
pages/customerReturn/job/returnJob.vue → src/pages/customerReturn/job/returnJob.vue

0
pages/customerReturn/record/returnRecord.vue → src/pages/customerReturn/record/returnRecord.vue

0
pages/customerReturn/request/customerReturnRequest.vue → src/pages/customerReturn/request/customerReturnRequest.vue

0
pages/customerReturn/request/customerReturnRequestCreate.vue → src/pages/customerReturn/request/customerReturnRequestCreate.vue

0
pages/customerReturn/request/customerReturnRequestDetail.vue → src/pages/customerReturn/request/customerReturnRequestDetail.vue

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

Loading…
Cancel
Save