@sugarat/easypicker2-client 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +6 -0
- package/.env.production +3 -0
- package/.env.test +4 -0
- package/.eslintignore +0 -0
- package/.eslintrc.json +57 -0
- package/.github/workflows/main.yml +61 -0
- package/.prettierrc.js +9 -0
- package/LICENSE +21 -0
- package/README.md +86 -0
- package/auto-imports.d.ts +6 -0
- package/components.d.ts +56 -0
- package/docker/ep_backup/easypicker2.sql +214 -0
- package/docker/ep_backup/mongodb/easypicker2/action.bson +0 -0
- package/docker/ep_backup/mongodb/easypicker2/action.metadata.json +1 -0
- package/docker/ep_backup/mongodb/easypicker2/log.bson +0 -0
- package/docker/ep_backup/mongodb/easypicker2/log.metadata.json +1 -0
- package/docker/ep_backup/user-config.json +176 -0
- package/docs/.env +1 -0
- package/docs/.env.production +2 -0
- package/docs/.vitepress/config.ts +204 -0
- package/docs/.vitepress/theme/bg.png +0 -0
- package/docs/.vitepress/theme/index.scss +41 -0
- package/docs/.vitepress/theme/index.ts +5 -0
- package/docs/author.md +24 -0
- package/docs/auto-imports.d.ts +6 -0
- package/docs/components.d.ts +17 -0
- package/docs/deploy/design/api.md +3 -0
- package/docs/deploy/design/db.md +3 -0
- package/docs/deploy/design/index.md +3 -0
- package/docs/deploy/design/shell.md +9 -0
- package/docs/deploy/faq.md +86 -0
- package/docs/deploy/index.md +9 -0
- package/docs/deploy/local.md +275 -0
- package/docs/deploy/online-new.md +610 -0
- package/docs/deploy/online.md +683 -0
- package/docs/deploy/qiniu.md +183 -0
- package/docs/index.md +40 -0
- package/docs/introduction/about/code.md +26 -0
- package/docs/introduction/about/index.md +33 -0
- package/docs/introduction/feature/index.md +3 -0
- package/docs/plan/log.md +333 -0
- package/docs/plan/todo.md +127 -0
- package/docs/plan/wish.md +29 -0
- package/docs/praise/index.md +45 -0
- package/docs/public/favicon.ico +0 -0
- package/docs/public/logo.png +0 -0
- package/docs/public/robots.txt +2 -0
- package/docs/src/apis/ajax.ts +66 -0
- package/docs/src/apis/index.ts +1 -0
- package/docs/src/apis/modules/wish.ts +20 -0
- package/docs/src/components/Avatar.vue +60 -0
- package/docs/src/components/Home.vue +85 -0
- package/docs/src/components/Picture.vue +13 -0
- package/docs/src/components/Praise.vue +52 -0
- package/docs/src/components/WishBtn.vue +98 -0
- package/docs/src/components/WishPanel.vue +170 -0
- package/docs/src/components/callme/index.vue +72 -0
- package/docs/vite.config.ts +42 -0
- package/index.html +127 -0
- package/package.json +52 -0
- package/public/favicon.ico +0 -0
- package/public/logo.png +0 -0
- package/scripts/deploy/docs.mjs +24 -0
- package/scripts/deploy/prod.mjs +24 -0
- package/scripts/deploy/test.mjs +26 -0
- package/src/@types/ajax.d.ts +5 -0
- package/src/@types/api.d.ts +305 -0
- package/src/@types/lib.d.ts +26 -0
- package/src/@types/page.d.ts +18 -0
- package/src/App.vue +36 -0
- package/src/apis/ajax.ts +70 -0
- package/src/apis/index.ts +20 -0
- package/src/apis/modules/action.ts +17 -0
- package/src/apis/modules/category.ts +20 -0
- package/src/apis/modules/config.ts +19 -0
- package/src/apis/modules/file.ts +150 -0
- package/src/apis/modules/people.ts +81 -0
- package/src/apis/modules/public.ts +49 -0
- package/src/apis/modules/super/overview.ts +56 -0
- package/src/apis/modules/super/user.ts +62 -0
- package/src/apis/modules/task.ts +67 -0
- package/src/apis/modules/user.ts +56 -0
- package/src/apis/modules/wish.ts +31 -0
- package/src/assets/i/EasyPicker.png +0 -0
- package/src/assets/logo.png +0 -0
- package/src/assets/styles/app.css +69 -0
- package/src/components/HomeFooter/index.vue +134 -0
- package/src/components/HomeHeader/index.vue +156 -0
- package/src/components/InfosForm/index.vue +73 -0
- package/src/components/MessageList/index.vue +155 -0
- package/src/components/MessagePanel/index.vue +42 -0
- package/src/components/Praise/index.vue +102 -0
- package/src/components/QrCode.vue +44 -0
- package/src/components/linkDialog.vue +104 -0
- package/src/components/loginPanel.vue +92 -0
- package/src/constants/index.ts +83 -0
- package/src/env.d.ts +8 -0
- package/src/main.ts +19 -0
- package/src/pages/404/index.vue +59 -0
- package/src/pages/about/index.vue +152 -0
- package/src/pages/callme/index.vue +155 -0
- package/src/pages/dashboard/config/index.vue +264 -0
- package/src/pages/dashboard/files/index.vue +1152 -0
- package/src/pages/dashboard/index.vue +335 -0
- package/src/pages/dashboard/manage/config/index.vue +97 -0
- package/src/pages/dashboard/manage/index.vue +105 -0
- package/src/pages/dashboard/manage/overview/index.vue +488 -0
- package/src/pages/dashboard/manage/user/index.vue +679 -0
- package/src/pages/dashboard/manage/wish/index.vue +257 -0
- package/src/pages/dashboard/tasks/components/CategoryPanel.vue +208 -0
- package/src/pages/dashboard/tasks/components/CreateTask.vue +93 -0
- package/src/pages/dashboard/tasks/components/TaskInfo.vue +129 -0
- package/src/pages/dashboard/tasks/components/infoPanel/ddl.vue +96 -0
- package/src/pages/dashboard/tasks/components/infoPanel/file.vue +175 -0
- package/src/pages/dashboard/tasks/components/infoPanel/info.vue +477 -0
- package/src/pages/dashboard/tasks/components/infoPanel/people.vue +567 -0
- package/src/pages/dashboard/tasks/components/infoPanel/template.vue +146 -0
- package/src/pages/dashboard/tasks/components/infoPanel/tip.vue +55 -0
- package/src/pages/dashboard/tasks/components/infoPanel/tipInfo.vue +196 -0
- package/src/pages/dashboard/tasks/index.vue +302 -0
- package/src/pages/dashboard/tasks/public.ts +32 -0
- package/src/pages/disabled/index.vue +47 -0
- package/src/pages/feedback/index.vue +5 -0
- package/src/pages/home/index.vue +72 -0
- package/src/pages/login/index.vue +270 -0
- package/src/pages/register/index.vue +211 -0
- package/src/pages/reset/index.vue +186 -0
- package/src/pages/task/index.vue +897 -0
- package/src/pages/wish/index.vue +152 -0
- package/src/router/Interceptor/index.ts +112 -0
- package/src/router/index.ts +13 -0
- package/src/router/routes/index.ts +197 -0
- package/src/shims-vue.d.ts +6 -0
- package/src/store/index.ts +17 -0
- package/src/store/modules/category.ts +44 -0
- package/src/store/modules/public.ts +27 -0
- package/src/store/modules/task.ts +55 -0
- package/src/store/modules/user.ts +57 -0
- package/src/utils/elementUI.ts +8 -0
- package/src/utils/networkUtil.ts +236 -0
- package/src/utils/other.ts +25 -0
- package/src/utils/regExp.ts +11 -0
- package/src/utils/stringUtil.ts +242 -0
- package/tsconfig.json +24 -0
- package/vite.config.ts +55 -0
package/.env
ADDED
package/.env.production
ADDED
package/.env.test
ADDED
package/.eslintignore
ADDED
|
File without changes
|
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"parser": "vue-eslint-parser",
|
|
3
|
+
"env": {
|
|
4
|
+
"browser": true,
|
|
5
|
+
"commonjs": true,
|
|
6
|
+
"es2021": true
|
|
7
|
+
},
|
|
8
|
+
"parserOptions": {
|
|
9
|
+
"ecmaVersion": 2021,
|
|
10
|
+
"parser": "@typescript-eslint/parser",
|
|
11
|
+
"sourceType": "module",
|
|
12
|
+
"ecmaFeatures": {
|
|
13
|
+
"jsx": true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"extends": [
|
|
17
|
+
"airbnb-base",
|
|
18
|
+
"eslint:recommended",
|
|
19
|
+
"plugin:vue/vue3-essential",
|
|
20
|
+
"plugin:@typescript-eslint/recommended",
|
|
21
|
+
"plugin:prettier/recommended"
|
|
22
|
+
],
|
|
23
|
+
"plugins": [
|
|
24
|
+
"vue",
|
|
25
|
+
"@typescript-eslint",
|
|
26
|
+
"todo-ddl",
|
|
27
|
+
"prettier"
|
|
28
|
+
],
|
|
29
|
+
"rules": {
|
|
30
|
+
"prettier/prettier": "error",
|
|
31
|
+
"@typescript-eslint/ban-types": "off",
|
|
32
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
33
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
34
|
+
"import/extensions": "off",
|
|
35
|
+
"quotes": [
|
|
36
|
+
"warn",
|
|
37
|
+
"single"
|
|
38
|
+
],
|
|
39
|
+
"semi": [
|
|
40
|
+
"warn",
|
|
41
|
+
"never"
|
|
42
|
+
],
|
|
43
|
+
"import/no-unresolved": "off",
|
|
44
|
+
"todo-ddl/diy": "warn",
|
|
45
|
+
"import/prefer-default-export": "off",
|
|
46
|
+
"no-param-reassign": "off",
|
|
47
|
+
"import/no-extraneous-dependencies": "off",
|
|
48
|
+
"no-restricted-syntax": "off",
|
|
49
|
+
"no-bitwise": "off",
|
|
50
|
+
"camelcase": "off",
|
|
51
|
+
"no-case-declarations": "off",
|
|
52
|
+
"@typescript-eslint/no-namespace": "off",
|
|
53
|
+
"no-undef": "off",
|
|
54
|
+
"no-shadow": "off",
|
|
55
|
+
"max-len": "off"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# This is a basic workflow to help you get started with Actions
|
|
2
|
+
|
|
3
|
+
name: prod-CI
|
|
4
|
+
|
|
5
|
+
# Controls when the action will run.
|
|
6
|
+
on:
|
|
7
|
+
# Triggers the workflow on push or pull request events but only for the master branch
|
|
8
|
+
push:
|
|
9
|
+
branches: [ release ]
|
|
10
|
+
pull_request:
|
|
11
|
+
types: [ assigned ]
|
|
12
|
+
branches: [ release ]
|
|
13
|
+
|
|
14
|
+
# Allows you to run this workflow manually from the Actions tab
|
|
15
|
+
workflow_dispatch:
|
|
16
|
+
|
|
17
|
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
18
|
+
jobs:
|
|
19
|
+
# This workflow contains a single job called "build"
|
|
20
|
+
build:
|
|
21
|
+
# The type of runner that the job will run on
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
|
|
24
|
+
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
25
|
+
steps:
|
|
26
|
+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
27
|
+
- uses: actions/checkout@v2
|
|
28
|
+
# 配置rsa密钥自动登陆
|
|
29
|
+
- uses: webfactory/ssh-agent@v0.4.1
|
|
30
|
+
with:
|
|
31
|
+
ssh-private-key: ${{ secrets.ACCESS_TOKEN }}
|
|
32
|
+
- name: Setup knownhosts
|
|
33
|
+
run: ssh-keyscan ${{ secrets.REMOTE_ORIGIN }} >> ~/.ssh/known_hosts
|
|
34
|
+
|
|
35
|
+
- name: Install dependence
|
|
36
|
+
run: |
|
|
37
|
+
echo 开始----安装依赖
|
|
38
|
+
yarn install
|
|
39
|
+
- name: Build
|
|
40
|
+
run: |
|
|
41
|
+
echo 开始----构建
|
|
42
|
+
yarn build
|
|
43
|
+
- name: Compress dist
|
|
44
|
+
run: |
|
|
45
|
+
echo 开始----压缩
|
|
46
|
+
yarn compress
|
|
47
|
+
# 上传压缩的内容
|
|
48
|
+
- name: Upload package
|
|
49
|
+
uses: easingthemes/ssh-deploy@v2.1.5
|
|
50
|
+
env:
|
|
51
|
+
SSH_PRIVATE_KEY: ${{ secrets.ACCESS_TOKEN }}
|
|
52
|
+
ARGS: "-rltgoDzvO --delete"
|
|
53
|
+
SOURCE: "ep-dev-clinet.tar.gz"
|
|
54
|
+
REMOTE_HOST: ${{ secrets.REMOTE_ORIGIN }}
|
|
55
|
+
REMOTE_USER: ${{ secrets.REMOTE_USER }}
|
|
56
|
+
TARGET: ${{ secrets.TARGET }}
|
|
57
|
+
# 部署上传的包
|
|
58
|
+
- name: Deploy
|
|
59
|
+
run: |
|
|
60
|
+
echo 开始----部署
|
|
61
|
+
yarn deploy
|
package/.prettierrc.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
printWidth: 80, // 一行的字符数,如果超过会进行换行,默认为80
|
|
3
|
+
tabWidth: 2, // 一个 tab 代表几个空格数,默认为 2 个
|
|
4
|
+
useTabs: false, //是否使用 tab 进行缩进,默认为false,表示用空格进行缩减
|
|
5
|
+
singleQuote: true, // 字符串是否使用单引号,默认为 false,使用双引号
|
|
6
|
+
semi: false, // 行尾是否使用分号,默认为true
|
|
7
|
+
trailingComma: 'none', // 是否使用尾逗号
|
|
8
|
+
bracketSpacing: true // 对象大括号直接是否有空格,默认为 true,效果:{ a: 1 }
|
|
9
|
+
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 sugar
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!-- <p align="center">
|
|
2
|
+
<a href="https://ep.sugarat.top">
|
|
3
|
+
<img width="50%" src="https://img.cdn.sugarat.top/mdImg/MTY0NzY5OTk0NTY1NQ==647699945655"
|
|
4
|
+
alt="Status">
|
|
5
|
+
</a>
|
|
6
|
+
</p> -->
|
|
7
|
+
|
|
8
|
+
<h1 align="center">EasyPicker(轻取)</h1>
|
|
9
|
+
|
|
10
|
+
<p align="center">为提高在线文件收取效率而生</p>
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://ep.sugarat.top">
|
|
13
|
+
<img src="https://img.shields.io/badge/status-updating-success.svg"
|
|
14
|
+
alt="Status">
|
|
15
|
+
</a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
## 简介
|
|
21
|
+
[在线文件收取平台](https://docs.ep.sugarat.top/)
|
|
22
|
+
|
|
23
|
+
应用开源,支持[私有化部署](https://docs.ep.sugarat.top/)
|
|
24
|
+
|
|
25
|
+
## 快速体验
|
|
26
|
+
* [应用主页](https://ep2.sugarat.top)
|
|
27
|
+
* [提交文件](https://ep2.sugarat.top/task/627bd3b18a567f1b47bcdace)
|
|
28
|
+
|
|
29
|
+
## 项目背景
|
|
30
|
+
校园学习或者工作场景中会出现以下几个场景:
|
|
31
|
+
* 每次碰到上机课的时候,都会遇到收取实验报告。
|
|
32
|
+
* 需要收取每个人填写的各种电子表格。
|
|
33
|
+
* 需要通过QQ/微信等等收集各种截图
|
|
34
|
+
* 类似场景还有不少就不列举了。。。
|
|
35
|
+
|
|
36
|
+
通常的方式是,通过QQ/微信/邮箱等收取,弊端显而易见,太过于麻烦且不方便整理统计。还占用电脑/手机内存。为了解决这个问题,此项目应运而生。
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
欢迎[体验](https://ep.sugarat.top)分享
|
|
40
|
+
|
|
41
|
+
<img width="25%" src="https://img.cdn.sugarat.top/TIM图片20191015225526-20191015.gif"/>
|
|
42
|
+
|
|
43
|
+
## 赞赏
|
|
44
|
+
如果觉得项目还ok,可以请作者喝 `茶`,支持一下
|
|
45
|
+
|
|
46
|
+
| 赞赏 | 加微信 |
|
|
47
|
+
| ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
48
|
+
| <p align="center"><img src="https://img.cdn.sugarat.top/mdImg/MTY1MTU0Nzc1NDQ3Mw==651547754473"/></p> | <img src="https://img.cdn.sugarat.top/mdImg/MTYxOTE1NTk3MTkyNA==619155971925" /> |
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## 反馈
|
|
53
|
+
* [问卷反馈](https://www.wenjuan.com/s/UZBZJvA040/)
|
|
54
|
+
* [提需求](https://ep.sugarat.top/wish)
|
|
55
|
+
|
|
56
|
+
## 相关文档
|
|
57
|
+
* [开发规划](https://docs.ep.sugarat.top/plan/todo.html)
|
|
58
|
+
* [本地启动&线上部署指南](https://docs.ep.sugarat.top/)
|
|
59
|
+
* [接口文档](https://easy2.w.eolink.com/share/index?shareCode=7SF9Na)
|
|
60
|
+
* [数据库设计文档](https://github.com/ATQQ/easypicker2-server/tree/master/docs)
|
|
61
|
+
* [更新日志](https://docs.ep.sugarat.top/plan/log.html)
|
|
62
|
+
|
|
63
|
+
## 相关地址
|
|
64
|
+
注:两环境数据不互通,新功能会先在测试环境进行实验
|
|
65
|
+
|
|
66
|
+
1. 正式环境:
|
|
67
|
+
* https://ep.sugarat.top
|
|
68
|
+
* https://ep2.sugarat.top
|
|
69
|
+
2. 测试环境:
|
|
70
|
+
* https://ep.test.sugarat.top
|
|
71
|
+
* https://ep.dev.sugarat.top
|
|
72
|
+
|
|
73
|
+
## 其它信息
|
|
74
|
+
### 技术栈
|
|
75
|
+
* 前端:Vue3,Typescript,Vite - [模板仓库](https://github.com/ATQQ/vite-vue3-template)
|
|
76
|
+
* 服务端:Typescript,Node.js - [模板仓库](https://github.com/ATQQ/node-server)
|
|
77
|
+
### 相关仓库
|
|
78
|
+
#### EasyPicker1.0(已下线)
|
|
79
|
+
1. ~~服务端(Java-已弃用):https://github.com/ATQQ/EasyPicker~~
|
|
80
|
+
2. 客户端(web) :https://github.com/ATQQ/EasyPicker-webpack
|
|
81
|
+
3. 服务端(Node.js):https://github.com/ATQQ/easypicker-server
|
|
82
|
+
|
|
83
|
+
#### [EasyPicker2.0](https://ep2.sugarat.top)
|
|
84
|
+
1. 客户端(Web):https://github.com/ATQQ/easypicker2-client
|
|
85
|
+
2. 服务端(Node.js):https://github.com/ATQQ/easypicker2-server
|
|
86
|
+
|
package/components.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// generated by unplugin-vue-components
|
|
2
|
+
// We suggest you to commit this file into source control
|
|
3
|
+
// Read more: https://github.com/vuejs/vue-next/pull/3399
|
|
4
|
+
|
|
5
|
+
declare module 'vue' {
|
|
6
|
+
export interface GlobalComponents {
|
|
7
|
+
ElBadge: typeof import('element-plus/es')['ElBadge']
|
|
8
|
+
ElButton: typeof import('element-plus/es')['ElButton']
|
|
9
|
+
ElCard: typeof import('element-plus/es')['ElCard']
|
|
10
|
+
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
|
11
|
+
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
|
12
|
+
ElDialog: typeof import('element-plus/es')['ElDialog']
|
|
13
|
+
ElDivider: typeof import('element-plus/es')['ElDivider']
|
|
14
|
+
ElDropdown: typeof import('element-plus/es')['ElDropdown']
|
|
15
|
+
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
|
|
16
|
+
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
|
|
17
|
+
ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
|
18
|
+
ElForm: typeof import('element-plus/es')['ElForm']
|
|
19
|
+
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
|
20
|
+
ElIcon: typeof import('element-plus/es')['ElIcon']
|
|
21
|
+
ElImage: typeof import('element-plus/es')['ElImage']
|
|
22
|
+
ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
|
|
23
|
+
ElInput: typeof import('element-plus/es')['ElInput']
|
|
24
|
+
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
|
|
25
|
+
ElLink: typeof import('element-plus/es')['ElLink']
|
|
26
|
+
ElMenu: typeof import('element-plus/es')['ElMenu']
|
|
27
|
+
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
|
28
|
+
ElOption: typeof import('element-plus/es')['ElOption']
|
|
29
|
+
ElPagination: typeof import('element-plus/es')['ElPagination']
|
|
30
|
+
ElPopover: typeof import('element-plus/es')['ElPopover']
|
|
31
|
+
ElRadio: typeof import('element-plus/es')['ElRadio']
|
|
32
|
+
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
|
33
|
+
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
|
34
|
+
ElSelect: typeof import('element-plus/es')['ElSelect']
|
|
35
|
+
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
|
36
|
+
ElTable: typeof import('element-plus/es')['ElTable']
|
|
37
|
+
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
|
38
|
+
ElTabPane: typeof import('element-plus/es')['ElTabPane']
|
|
39
|
+
ElTabs: typeof import('element-plus/es')['ElTabs']
|
|
40
|
+
ElTag: typeof import('element-plus/es')['ElTag']
|
|
41
|
+
ElTooltip: typeof import('element-plus/es')['ElTooltip']
|
|
42
|
+
ElUpload: typeof import('element-plus/es')['ElUpload']
|
|
43
|
+
HomeFooter: typeof import('./src/components/HomeFooter/index.vue')['default']
|
|
44
|
+
HomeHeader: typeof import('./src/components/HomeHeader/index.vue')['default']
|
|
45
|
+
InfosForm: typeof import('./src/components/InfosForm/index.vue')['default']
|
|
46
|
+
LinkDialog: typeof import('./src/components/linkDialog.vue')['default']
|
|
47
|
+
Loading: typeof import('element-plus/es')['ElLoadingDirective']
|
|
48
|
+
LoginPanel: typeof import('./src/components/loginPanel.vue')['default']
|
|
49
|
+
MessageList: typeof import('./src/components/MessageList/index.vue')['default']
|
|
50
|
+
MessagePanel: typeof import('./src/components/MessagePanel/index.vue')['default']
|
|
51
|
+
Praise: typeof import('./src/components/Praise/index.vue')['default']
|
|
52
|
+
QrCode: typeof import('./src/components/QrCode.vue')['default']
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { }
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
-- MariaDB dump 10.19 Distrib 10.11.4-MariaDB, for debian-linux-gnu (aarch64)
|
|
2
|
+
--
|
|
3
|
+
-- Host: localhost Database: easypicker2
|
|
4
|
+
-- ------------------------------------------------------
|
|
5
|
+
-- Server version 10.11.4-MariaDB-1~deb12u1
|
|
6
|
+
|
|
7
|
+
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
8
|
+
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
9
|
+
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
10
|
+
/*!40101 SET NAMES utf8mb4 */;
|
|
11
|
+
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
12
|
+
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
13
|
+
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
14
|
+
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
15
|
+
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
16
|
+
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
17
|
+
|
|
18
|
+
--
|
|
19
|
+
-- Table structure for table `category`
|
|
20
|
+
--
|
|
21
|
+
|
|
22
|
+
DROP TABLE IF EXISTS `category`;
|
|
23
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
24
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
25
|
+
CREATE TABLE `category` (
|
|
26
|
+
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键自增',
|
|
27
|
+
`name` varchar(256) NOT NULL COMMENT '分类名称',
|
|
28
|
+
`user_id` int(11) NOT NULL COMMENT '所属用户',
|
|
29
|
+
`k` varchar(128) NOT NULL COMMENT '分类唯一标识',
|
|
30
|
+
PRIMARY KEY (`id`)
|
|
31
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='任务分类';
|
|
32
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
33
|
+
|
|
34
|
+
--
|
|
35
|
+
-- Dumping data for table `category`
|
|
36
|
+
--
|
|
37
|
+
|
|
38
|
+
LOCK TABLES `category` WRITE;
|
|
39
|
+
/*!40000 ALTER TABLE `category` DISABLE KEYS */;
|
|
40
|
+
/*!40000 ALTER TABLE `category` ENABLE KEYS */;
|
|
41
|
+
UNLOCK TABLES;
|
|
42
|
+
|
|
43
|
+
--
|
|
44
|
+
-- Table structure for table `files`
|
|
45
|
+
--
|
|
46
|
+
|
|
47
|
+
DROP TABLE IF EXISTS `files`;
|
|
48
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
49
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
50
|
+
CREATE TABLE `files` (
|
|
51
|
+
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
52
|
+
`task_key` varchar(256) NOT NULL COMMENT '所属任务',
|
|
53
|
+
`task_name` varchar(256) NOT NULL COMMENT '提交时的任务名称',
|
|
54
|
+
`category_key` varchar(256) NOT NULL COMMENT '所属分类',
|
|
55
|
+
`user_id` int(11) NOT NULL COMMENT '所属用户',
|
|
56
|
+
`name` varchar(1024) NOT NULL COMMENT '文件名',
|
|
57
|
+
`info` varchar(10240) DEFAULT NULL COMMENT '提交填写的信息',
|
|
58
|
+
`hash` varchar(512) NOT NULL COMMENT '文件hash',
|
|
59
|
+
`date` timestamp NOT NULL DEFAULT current_timestamp() COMMENT '上传日期',
|
|
60
|
+
`size` int(11) NOT NULL COMMENT '文件大小',
|
|
61
|
+
`people` varchar(256) DEFAULT NULL COMMENT '人员姓名',
|
|
62
|
+
`origin_name` varchar(1024) DEFAULT '' COMMENT '原文件名',
|
|
63
|
+
`del` tinyint(4) DEFAULT 0 COMMENT '是否删除',
|
|
64
|
+
PRIMARY KEY (`id`)
|
|
65
|
+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='用户提交的问题';
|
|
66
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
67
|
+
|
|
68
|
+
--
|
|
69
|
+
-- Dumping data for table `files`
|
|
70
|
+
--
|
|
71
|
+
|
|
72
|
+
LOCK TABLES `files` WRITE;
|
|
73
|
+
/*!40000 ALTER TABLE `files` DISABLE KEYS */;
|
|
74
|
+
INSERT INTO `files` VALUES
|
|
75
|
+
(1,'653df1224dee60010fa3c94a','123','',1,'\'EasyPicker File List.png','[{\"type\":\"input\",\"text\":\"姓名\",\"value\":\"123\"}]','00eed43886148c9909014ed890baa90d','2023-10-29 06:03:30',402805,'','\'EasyPicker File List.png',0);
|
|
76
|
+
/*!40000 ALTER TABLE `files` ENABLE KEYS */;
|
|
77
|
+
UNLOCK TABLES;
|
|
78
|
+
|
|
79
|
+
--
|
|
80
|
+
-- Table structure for table `people`
|
|
81
|
+
--
|
|
82
|
+
|
|
83
|
+
DROP TABLE IF EXISTS `people`;
|
|
84
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
85
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
86
|
+
CREATE TABLE `people` (
|
|
87
|
+
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
|
88
|
+
`task_key` varchar(128) NOT NULL COMMENT '关联任务id',
|
|
89
|
+
`user_id` int(11) NOT NULL COMMENT '所属用户id',
|
|
90
|
+
`name` varchar(128) DEFAULT NULL COMMENT '人员姓名',
|
|
91
|
+
`status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否提交',
|
|
92
|
+
`submit_date` timestamp NOT NULL DEFAULT current_timestamp() COMMENT '最后提交时间',
|
|
93
|
+
`submit_count` int(11) NOT NULL DEFAULT 0,
|
|
94
|
+
PRIMARY KEY (`id`)
|
|
95
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='任务关联人员表';
|
|
96
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
97
|
+
|
|
98
|
+
--
|
|
99
|
+
-- Dumping data for table `people`
|
|
100
|
+
--
|
|
101
|
+
|
|
102
|
+
LOCK TABLES `people` WRITE;
|
|
103
|
+
/*!40000 ALTER TABLE `people` DISABLE KEYS */;
|
|
104
|
+
/*!40000 ALTER TABLE `people` ENABLE KEYS */;
|
|
105
|
+
UNLOCK TABLES;
|
|
106
|
+
|
|
107
|
+
--
|
|
108
|
+
-- Table structure for table `task`
|
|
109
|
+
--
|
|
110
|
+
|
|
111
|
+
DROP TABLE IF EXISTS `task`;
|
|
112
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
113
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
114
|
+
CREATE TABLE `task` (
|
|
115
|
+
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
|
116
|
+
`user_id` int(11) NOT NULL COMMENT '所属用户id',
|
|
117
|
+
`category_key` varchar(128) NOT NULL COMMENT '关联分类key',
|
|
118
|
+
`name` varchar(256) NOT NULL COMMENT '任务名称',
|
|
119
|
+
`k` varchar(128) NOT NULL COMMENT '任务唯一标识',
|
|
120
|
+
`del` tinyint(4) DEFAULT 0 COMMENT '是否删除',
|
|
121
|
+
PRIMARY KEY (`id`)
|
|
122
|
+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='任务表';
|
|
123
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
124
|
+
|
|
125
|
+
--
|
|
126
|
+
-- Dumping data for table `task`
|
|
127
|
+
--
|
|
128
|
+
|
|
129
|
+
LOCK TABLES `task` WRITE;
|
|
130
|
+
/*!40000 ALTER TABLE `task` DISABLE KEYS */;
|
|
131
|
+
INSERT INTO `task` VALUES
|
|
132
|
+
(1,1,'default','123','653df1224dee60010fa3c94a',0);
|
|
133
|
+
/*!40000 ALTER TABLE `task` ENABLE KEYS */;
|
|
134
|
+
UNLOCK TABLES;
|
|
135
|
+
|
|
136
|
+
--
|
|
137
|
+
-- Table structure for table `task_info`
|
|
138
|
+
--
|
|
139
|
+
|
|
140
|
+
DROP TABLE IF EXISTS `task_info`;
|
|
141
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
142
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
143
|
+
CREATE TABLE `task_info` (
|
|
144
|
+
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
145
|
+
`user_id` int(11) NOT NULL COMMENT '关联user_id',
|
|
146
|
+
`task_key` varchar(256) NOT NULL COMMENT '关联任务的key',
|
|
147
|
+
`template` varchar(512) DEFAULT NULL COMMENT '模板文件名称',
|
|
148
|
+
`rewrite` tinyint(4) NOT NULL DEFAULT 0 COMMENT '自动重命名',
|
|
149
|
+
`format` varchar(1024) DEFAULT NULL COMMENT '文件名格式',
|
|
150
|
+
`info` varchar(10240) DEFAULT NULL COMMENT '提交必填的内容(表单)',
|
|
151
|
+
`ddl` timestamp NULL DEFAULT NULL COMMENT '截止日期',
|
|
152
|
+
`share_key` varchar(128) NOT NULL COMMENT '用于分享的链接',
|
|
153
|
+
`limit_people` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否限制提交人员',
|
|
154
|
+
`tip` text DEFAULT '' COMMENT '批注信息',
|
|
155
|
+
PRIMARY KEY (`id`)
|
|
156
|
+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='任务附加属性';
|
|
157
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
158
|
+
|
|
159
|
+
--
|
|
160
|
+
-- Dumping data for table `task_info`
|
|
161
|
+
--
|
|
162
|
+
|
|
163
|
+
LOCK TABLES `task_info` WRITE;
|
|
164
|
+
/*!40000 ALTER TABLE `task_info` DISABLE KEYS */;
|
|
165
|
+
INSERT INTO `task_info` VALUES
|
|
166
|
+
(1,1,'653df1224dee60010fa3c94a','',0,'','[\"姓名\"]',NULL,'653df1224dee60010fa3c94b',0,'');
|
|
167
|
+
/*!40000 ALTER TABLE `task_info` ENABLE KEYS */;
|
|
168
|
+
UNLOCK TABLES;
|
|
169
|
+
|
|
170
|
+
--
|
|
171
|
+
-- Table structure for table `user`
|
|
172
|
+
--
|
|
173
|
+
|
|
174
|
+
DROP TABLE IF EXISTS `user`;
|
|
175
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
176
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
177
|
+
CREATE TABLE `user` (
|
|
178
|
+
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '唯一标识',
|
|
179
|
+
`account` varchar(64) DEFAULT NULL COMMENT '用于登录的账号',
|
|
180
|
+
`phone` varchar(22) DEFAULT NULL COMMENT '手机号',
|
|
181
|
+
`password` varchar(256) NOT NULL COMMENT '密码',
|
|
182
|
+
`power` tinyint(4) NOT NULL DEFAULT 6 COMMENT '账户权限',
|
|
183
|
+
`status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '账户权限',
|
|
184
|
+
`join_time` timestamp NOT NULL DEFAULT current_timestamp() COMMENT '注册时间',
|
|
185
|
+
`login_time` timestamp NULL DEFAULT NULL COMMENT '最后登录时间',
|
|
186
|
+
`login_count` int(11) NOT NULL DEFAULT 1 COMMENT '登陆次数',
|
|
187
|
+
`open_time` timestamp NULL DEFAULT NULL COMMENT '解封时间',
|
|
188
|
+
PRIMARY KEY (`id`),
|
|
189
|
+
UNIQUE KEY `user_account_uindex` (`account`),
|
|
190
|
+
UNIQUE KEY `user_phone_uindex` (`phone`)
|
|
191
|
+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='用户表';
|
|
192
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
193
|
+
|
|
194
|
+
--
|
|
195
|
+
-- Dumping data for table `user`
|
|
196
|
+
--
|
|
197
|
+
|
|
198
|
+
LOCK TABLES `user` WRITE;
|
|
199
|
+
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
|
|
200
|
+
INSERT INTO `user` VALUES
|
|
201
|
+
(1,'admin',NULL,'3Eg+gKegvZ73HYz5c2c5JA==',0,0,'2023-10-29 05:43:55','2023-10-29 06:02:55',2,NULL);
|
|
202
|
+
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
|
|
203
|
+
UNLOCK TABLES;
|
|
204
|
+
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
205
|
+
|
|
206
|
+
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
207
|
+
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
208
|
+
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
209
|
+
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
210
|
+
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
211
|
+
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
212
|
+
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
213
|
+
|
|
214
|
+
-- Dump completed on 2023-10-29 6:07:43
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"747ff22250b44adba207e55c9d855a03","collectionName":"action","type":"collection"}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"581db34a6b4f4506b11bff952a2b45eb","collectionName":"log","type":"collection"}
|