Compare commits
59 Commits
56ba9d9843
...
987df0f846
| Author | SHA1 | Date |
|---|---|---|
|
|
987df0f846 | |
|
|
958177952f | |
|
|
a249052559 | |
|
|
28471a4fef | |
|
|
fefd70a01a | |
|
|
0f47c609e7 | |
|
|
6616b60bf4 | |
|
|
432199be72 | |
|
|
7da697bdc2 | |
|
|
6d2ae6196b | |
|
|
790e9a7ef0 | |
|
|
b11b73b2e6 | |
|
|
52e60f5d65 | |
|
|
6db5831718 | |
|
|
5fa57eb9f2 | |
|
|
25c5c9e95c | |
|
|
461ffa19e0 | |
|
|
fc51e54c32 | |
|
|
ccd5595032 | |
|
|
49c083f6c4 | |
|
|
25d5677540 | |
|
|
ac8c3277f4 | |
|
|
e9191ace5a | |
|
|
2ecb435a6f | |
|
|
4c0af07c28 | |
|
|
0d8e5555d1 | |
|
|
68ee85256e | |
|
|
8a26b4a7b0 | |
|
|
26377853ab | |
|
|
a2d59e84ea | |
|
|
1ed5af4681 | |
|
|
cce1ddfa72 | |
|
|
9235c5c9d6 | |
|
|
490d38ddfa | |
|
|
c895d830b0 | |
|
|
c754a53302 | |
|
|
03c1301cf1 | |
|
|
264617edf2 | |
|
|
1708e6bacf | |
|
|
d2c606ce1b | |
|
|
0934b414cd | |
|
|
0d66c6fe90 | |
|
|
fbe7631373 | |
|
|
5b5ad82daa | |
|
|
75285db645 | |
|
|
19cc95bc1b | |
|
|
7e8c42ca60 | |
|
|
e0e046f3d8 | |
|
|
7285b415f0 | |
|
|
667e274b3f | |
|
|
c61cfa7ee6 | |
|
|
91ad9927f2 | |
|
|
55fe602e97 | |
|
|
4f1cb6fbc4 | |
|
|
71c1f897d8 | |
|
|
e863e405a2 | |
|
|
1b5e8a483e | |
|
|
b3fcdf4c1b | |
|
|
d467e20dba |
|
|
@ -0,0 +1,51 @@
|
|||
version: '1.0'
|
||||
name: branch-pipeline
|
||||
displayName: BranchPipeline
|
||||
stages:
|
||||
- stage:
|
||||
name: compile
|
||||
displayName: 编译
|
||||
steps:
|
||||
- step: build@nodejs
|
||||
name: build_nodejs
|
||||
displayName: Nodejs 构建
|
||||
# 支持8.16.2、10.17.0、12.16.1、14.16.0、15.12.0五个版本
|
||||
nodeVersion: 14.16.0
|
||||
# 构建命令:安装依赖 -> 清除上次打包产物残留 -> 执行构建 【请根据项目实际产出进行填写】
|
||||
commands:
|
||||
- npm install && rm -rf ./dist && npm run build
|
||||
# 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除
|
||||
artifacts:
|
||||
# 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址
|
||||
- name: BUILD_ARTIFACT
|
||||
# 构建产物获取路径,是指代码编译完毕之后构建物的所在路径
|
||||
path:
|
||||
- ./dist
|
||||
- step: publish@general_artifacts
|
||||
name: publish_general_artifacts
|
||||
displayName: 上传制品
|
||||
# 上游构建任务定义的产物名,默认BUILD_ARTIFACT
|
||||
dependArtifact: BUILD_ARTIFACT
|
||||
# 上传到制品库时的制品命名,默认output
|
||||
artifactName: output
|
||||
dependsOn: build_nodejs
|
||||
- stage:
|
||||
name: release
|
||||
displayName: 发布
|
||||
steps:
|
||||
- step: publish@release_artifacts
|
||||
name: publish_release_artifacts
|
||||
displayName: '发布'
|
||||
# 上游上传制品任务的产出
|
||||
dependArtifact: output
|
||||
# 发布制品版本号
|
||||
version: '1.0.0.0'
|
||||
# 是否开启版本号自增,默认开启
|
||||
autoIncrement: true
|
||||
triggers:
|
||||
push:
|
||||
branches:
|
||||
exclude:
|
||||
- master
|
||||
include:
|
||||
- .*
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
version: '1.0'
|
||||
name: master-pipeline
|
||||
displayName: MasterPipeline
|
||||
stages:
|
||||
- stage:
|
||||
name: compile
|
||||
displayName: 编译
|
||||
steps:
|
||||
- step: build@nodejs
|
||||
name: build_nodejs
|
||||
displayName: Nodejs 构建
|
||||
# 支持8.16.2、10.17.0、12.16.1、14.16.0、15.12.0五个版本
|
||||
nodeVersion: 14.16.0
|
||||
# 构建命令:安装依赖 -> 清除上次打包产物残留 -> 执行构建 【请根据项目实际产出进行填写】
|
||||
commands:
|
||||
- npm install && rm -rf ./dist && npm run build
|
||||
# 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除
|
||||
artifacts:
|
||||
# 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址
|
||||
- name: BUILD_ARTIFACT
|
||||
# 构建产物获取路径,是指代码编译完毕之后构建物的所在路径
|
||||
path:
|
||||
- ./dist
|
||||
- step: publish@general_artifacts
|
||||
name: publish_general_artifacts
|
||||
displayName: 上传制品
|
||||
# 上游构建任务定义的产物名,默认BUILD_ARTIFACT
|
||||
dependArtifact: BUILD_ARTIFACT
|
||||
# 上传到制品库时的制品命名,默认output
|
||||
artifactName: output
|
||||
dependsOn: build_nodejs
|
||||
- stage:
|
||||
name: release
|
||||
displayName: 发布
|
||||
steps:
|
||||
- step: publish@release_artifacts
|
||||
name: publish_release_artifacts
|
||||
displayName: '发布'
|
||||
# 上游上传制品任务的产出
|
||||
dependArtifact: output
|
||||
# 发布制品版本号
|
||||
version: '1.0.0.0'
|
||||
# 是否开启版本号自增,默认开启
|
||||
autoIncrement: true
|
||||
triggers:
|
||||
push:
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
version: '1.0'
|
||||
name: pr-pipeline
|
||||
displayName: PRPipeline
|
||||
stages:
|
||||
- stage:
|
||||
name: compile
|
||||
displayName: 编译
|
||||
steps:
|
||||
- step: build@nodejs
|
||||
name: build_nodejs
|
||||
displayName: Nodejs 构建
|
||||
# 支持8.16.2、10.17.0、12.16.1、14.16.0、15.12.0五个版本
|
||||
nodeVersion: 14.16.0
|
||||
# 构建命令:安装依赖 -> 清除上次打包产物残留 -> 执行构建 【请根据项目实际产出进行填写】
|
||||
commands:
|
||||
- npm install && rm -rf ./dist && npm run build
|
||||
# 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除
|
||||
artifacts:
|
||||
# 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址
|
||||
- name: BUILD_ARTIFACT
|
||||
# 构建产物获取路径,是指代码编译完毕之后构建物的所在路径
|
||||
path:
|
||||
- ./dist
|
||||
- step: publish@general_artifacts
|
||||
name: publish_general_artifacts
|
||||
displayName: 上传制品
|
||||
# 上游构建任务定义的产物名,默认BUILD_ARTIFACT
|
||||
dependArtifact: BUILD_ARTIFACT
|
||||
# 上传到制品库时的制品命名,默认output
|
||||
artifactName: output
|
||||
dependsOn: build_nodejs
|
||||
triggers:
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
83
README.md
|
|
@ -1,4 +1,4 @@
|
|||
# school-front
|
||||
# 朋义矿场一体化平台
|
||||
|
||||
## Build Setup
|
||||
|
||||
|
|
@ -17,53 +17,70 @@ $ yarn start
|
|||
$ yarn generate
|
||||
```
|
||||
|
||||
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
|
||||
|
||||
## Special Directories
|
||||
|
||||
You can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality.
|
||||
### mixins
|
||||
|
||||
vue混入代码,主要是自适应相关的代码
|
||||
|
||||
### `assets`
|
||||
|
||||
The assets directory contains your uncompiled assets such as Stylus or Sass files, images, or fonts.
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/assets).
|
||||
静态资源
|
||||
|
||||
### `components`
|
||||
|
||||
The components directory contains your Vue.js components. Components make up the different parts of your page and can be reused and imported into your pages, layouts and even other components.
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/components).
|
||||
公共组件目录
|
||||
|
||||
### `layouts`
|
||||
|
||||
Layouts are a great help when you want to change the look and feel of your Nuxt app, whether you want to include a sidebar or have distinct layouts for mobile and desktop.
|
||||
布局目录,多了一个管理页
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/layouts).
|
||||
## 组件库文档地址
|
||||
|
||||
https://1x.antdv.com/components/icon/
|
||||
|
||||
## 路由说明
|
||||
|
||||
登录页 /login 对接完成
|
||||
|
||||
### 管理页
|
||||
|
||||
用户管理 /manager/user 对接完成
|
||||
角色管理 /manager/role 对接完成
|
||||
菜单管理 /manager/menu 对接完成
|
||||
设备管理 /manager/device 对接完成
|
||||
工序管理 /manager/organized 对接完成
|
||||
|
||||
### 用户端
|
||||
|
||||
首页 /home
|
||||
|
||||
#### 有组织
|
||||
|
||||
有组织排放 /youzuzhi/paifang 缺少排放源清单接口
|
||||
有组织排放统计 /youzuzhi/paifangtongji 待联调 接口暂无
|
||||
|
||||
#### 无组织
|
||||
|
||||
无组织排放 /wuzuzhi/paifang 待联调 接口暂无
|
||||
洗车机管理 /wuzuzhi/xichejiguanli 待联调 缺少导出接口 监控信息 运行信息
|
||||
环境治理 /wuzuzhi/huanjingzhili 待联调 缺少 实时数据的接口
|
||||
环卫巡航 /wuzuzhi/huanweixunhang 待联调
|
||||
|
||||
#### 清洁运输
|
||||
|
||||
清洁运输 /cleanTravel/home 联调完成
|
||||
厂区车辆台账 /cleanTravel/ledger 联调完成
|
||||
清洁运输趋势 /cleanTravel/trend 待联调 /api/Transport/gettransport
|
||||
磅秤台账 /cleanTravel/bangcheng 待联调 不要了
|
||||
|
||||
#### 视频广场
|
||||
|
||||
视频广场 /video/list 未做
|
||||
|
||||
|
||||
### `pages`
|
||||
|
||||
This directory contains your application views and routes. Nuxt will read all the `*.vue` files inside this directory and setup Vue Router automatically.
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/get-started/routing).
|
||||
访问地址
|
||||
|
||||
### `plugins`
|
||||
|
||||
The plugins directory contains JavaScript plugins that you want to run before instantiating the root Vue.js Application. This is the place to add Vue plugins and to inject functions or constants. Every time you need to use `Vue.use()`, you should create a file in `plugins/` and add its path to plugins in `nuxt.config.js`.
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/plugins).
|
||||
|
||||
### `static`
|
||||
|
||||
This directory contains your static files. Each file inside this directory is mapped to `/`.
|
||||
|
||||
Example: `/static/robots.txt` is mapped as `/robots.txt`.
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/static).
|
||||
|
||||
### `store`
|
||||
|
||||
This directory contains your Vuex store files. Creating a file in this directory automatically activates Vuex.
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/store).
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
@font-face {
|
||||
font-family: AlimamaShuHeiTi-Bold;
|
||||
src: url("./Alimama_ShuHeiTi_Bold.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: YouSheBiaoTiHei;
|
||||
src: url("./优设标题黑.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: MicrosoftYaHei;
|
||||
src: url("./Microsoft-YaHei-Bold.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: MicrosoftYaHei-Bold;
|
||||
src: url("./Microsoft-YaHei-Bold.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 思源黑体;
|
||||
src: url("./思源黑体1 SourceHanSansCN-ExtraLight.otf") format("truetype");
|
||||
}
|
||||
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 532 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 2.6 MiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 6.1 KiB |