Compare commits
345 Commits
master
...
projects/m
Author | SHA1 | Date | |
---|---|---|---|
4bf610eeb1 | |||
8e0ac6f962 | |||
d41ae3bc76 | |||
f4eaddf6ae | |||
9699e90ab3 | |||
9fc6f013cc | |||
cee303fd20 | |||
4b621a6699 | |||
916f99a852 | |||
|
9581d91c52 | ||
|
c847ba1595 | ||
|
2ab8a99ff5 | ||
|
d65dcb8712 | ||
5711468b10 | |||
1b82ff5a96 | |||
59f33a2ef5 | |||
3c620f4dfa | |||
|
2213b93f0a | ||
|
d6acfa4fd7 | ||
ca08b46f77 | |||
54b3652c0e | |||
884fad3b0e | |||
7eb4fdb790 | |||
48c678d260 | |||
22ca86e0fa | |||
38145f08ac | |||
ad0acc0f22 | |||
ad7ef729d0 | |||
b4b0446747 | |||
|
0029af4ffa | ||
69aaacb1c7 | |||
|
dbe784cec6 | ||
e8d566e121 | |||
c3d6b87151 | |||
d925556ed6 | |||
ec6c7120ea | |||
39571053f5 | |||
|
7ca1f07f56 | ||
|
21988ae8b0 | ||
e4c6154eb6 | |||
f4e847aa46 | |||
d44c366a19 | |||
c2defa2da6 | |||
6aabe6dd90 | |||
|
2a801bf834 | ||
|
a6fe9e654e | ||
3e51a00e17 | |||
506f12d405 | |||
587985e3c6 | |||
7e6cfb6345 | |||
b3623d29c5 | |||
f043a6a0a2 | |||
0f70fe85c8 | |||
5a00db7dcd | |||
9bcb4d42fa | |||
87bca23d96 | |||
9b20252e27 | |||
c9fe2ba296 | |||
|
5e4df4d849 | ||
|
1d3372ed69 | ||
86f246eb94 | |||
e2a16332be | |||
69b6942f35 | |||
e28cd67e20 | |||
eb063779b4 | |||
|
a2672c1742 | ||
4e97989ede | |||
|
67200710c9 | ||
7e2b75aaa5 | |||
8ad9b9d717 | |||
3bf2757e42 | |||
|
2267444b4a | ||
|
fa5a303c08 | ||
|
37586a31c5 | ||
|
40b023cd8d | ||
5dce57e4bb | |||
50a75dcb74 | |||
9ed4c944c5 | |||
6702521f31 | |||
f37bba6747 | |||
365aafc21a | |||
de65afef11 | |||
a135877df1 | |||
|
8d26a9e487 | ||
|
76771489da | ||
|
27faa04c7a | ||
c0daa74a84 | |||
6e7339bca3 | |||
|
904350a4d8 | ||
|
4873f750d8 | ||
13b522475e | |||
1a7e8cfc19 | |||
a0790a6e19 | |||
b76b8f4fe9 | |||
978291e68a | |||
a5c17d2276 | |||
a7b4e72bc2 | |||
99f771a445 | |||
7201c26792 | |||
ad56aaf359 | |||
|
5033bbb206 | ||
|
6fc4794300 | ||
|
79c9f1ca66 | ||
c74269b282 | |||
57deff3875 | |||
68d3b46bab | |||
4323982b89 | |||
|
c76078214e | ||
|
b527589e0f | ||
375273419d | |||
a18929a261 | |||
6d465c17c2 | |||
669345c983 | |||
b86094c630 | |||
2fdee9cafd | |||
4348d66e53 | |||
76c2f50bf3 | |||
888b5aa91f | |||
|
a7f1087775 | ||
|
b0efd66a75 | ||
51f72ea5d2 | |||
d5507ec4c0 | |||
8802c932e2 | |||
ee26741e62 | |||
|
7f5b9d5228 | ||
|
9eea7e049a | ||
328b3ff560 | |||
b3a117f6c6 | |||
8929e53724 | |||
a8fa98cb91 | |||
db081c1bd1 | |||
3e9540bcc9 | |||
69ceadab69 | |||
601387184e | |||
54b63a7f53 | |||
b625ef0118 | |||
|
8004c85c32 | ||
|
9041428003 | ||
39d06cd902 | |||
d79ba71bd7 | |||
0225be1c94 | |||
265024d989 | |||
960751a264 | |||
978aa3a1d1 | |||
2eb1afe9b2 | |||
8cd53915c1 | |||
571d204d68 | |||
|
8dbc1d512d | ||
|
8af06c6c42 | ||
|
afafbccc0c | ||
|
0948737f1a | ||
0ce6bc07a0 | |||
e318aa4f59 | |||
ab09a2b08c | |||
d2d5503792 | |||
6940155e4f | |||
dfc758bfae | |||
ec2994e928 | |||
|
5492666b53 | ||
cd55b4c860 | |||
|
a7f811aa3e | ||
33188481bf | |||
0200fc08f1 | |||
|
a22da566c3 | ||
|
3c99ddc4c0 | ||
96705bd4d9 | |||
ac28476024 | |||
1299a56e22 | |||
b348a31b24 | |||
67d639c413 | |||
c6d618b2b8 | |||
aa79d15f52 | |||
c8fb8d7589 | |||
51baca61cc | |||
847e34fcc6 | |||
32a43fbc3b | |||
20975948ef | |||
c46c4dbf65 | |||
685a3308db | |||
ac041c2f4a | |||
dd23c49ba0 | |||
44452f2e89 | |||
8ddef0de9d | |||
7249abf5b1 | |||
76f5385140 | |||
27f4e034be | |||
75f59c3279 | |||
bb731dfcd4 | |||
8c37647aab | |||
bad7175f87 | |||
231e9227a5 | |||
d3eb9d8fbc | |||
9a7521e691 | |||
e82ee4e542 | |||
|
40e7d6b6d8 | ||
|
1d9b97f1d0 | ||
cfaa17ee28 | |||
d1cbac481d | |||
c895975703 | |||
6ef90a8eba | |||
e63b98161f | |||
c99393dd12 | |||
23c1b4b3c6 | |||
88615a52a4 | |||
bc3959412d | |||
|
010e51c0f6 | ||
|
a6b48280aa | ||
9f11fa3e00 | |||
|
c4091b7181 | ||
|
34e6a73852 | ||
79a6a4804a | |||
|
7523f98f84 | ||
|
b349432eaa | ||
4393c0e0e8 | |||
42177846e8 | |||
c5b5de7a78 | |||
0884159dd7 | |||
87eccc7b25 | |||
8a819b84b6 | |||
d37c5881a5 | |||
2b0579dc70 | |||
6a10afd04e | |||
7c1c61f8f8 | |||
fb967fb825 | |||
|
25d1ac8d90 | ||
|
3667b98da9 | ||
d3c289f11e | |||
bbdf0a75f0 | |||
5339854df4 | |||
26658accfc | |||
31033dd7e2 | |||
|
3832aee028 | ||
|
2fbc6ea5e7 | ||
d0cb4d383e | |||
|
4ce62c14ee | ||
|
e5966c27a3 | ||
ea1d981a5a | |||
3e9f629888 | |||
|
ecabeeeea9 | ||
0f7a8fbf73 | |||
d7366e80ee | |||
3da077bdf3 | |||
|
aef062b4c9 | ||
|
952490f0d4 | ||
51d6ce5dbb | |||
0ae68aacef | |||
2ab686a797 | |||
a37fa65e8f | |||
887390cf91 | |||
5d054254f7 | |||
76cdc34af1 | |||
0fefe4d432 | |||
|
ecc84a1c4b | ||
|
95f7004d1c | ||
9a1aa047b0 | |||
de06dfddf4 | |||
26100af90a | |||
67612c79df | |||
26862423c1 | |||
a1a7256af5 | |||
d2c82fa692 | |||
5654b3aeef | |||
ebae332674 | |||
afae859d8b | |||
7f6fa0af96 | |||
ba92da2d5d | |||
06c124a149 | |||
e369fe25ca | |||
|
e6158cd59b | ||
|
624ed7bc27 | ||
afba54fcab | |||
|
f7846f2767 | ||
|
a8adb317c0 | ||
b185d3ebf7 | |||
045843bc1c | |||
3812eb38a9 | |||
|
1962ecc6df | ||
e64e33a203 | |||
3ada2c5d08 | |||
0eb6a99fa9 | |||
9e8276d3a7 | |||
|
f9741b07c0 | ||
|
fcb1885bf7 | ||
123d45afa9 | |||
97e6a665de | |||
6e1bf994c2 | |||
298789bf24 | |||
876f7d8f3c | |||
5695c3db90 | |||
9537c55f0e | |||
|
1d38a560ec | ||
|
0ae3c66dc3 | ||
e49084d85d | |||
0deb38647e | |||
5521f07c18 | |||
14d426b020 | |||
046a5eea32 | |||
b468204f88 | |||
|
e5978d1700 | ||
|
91eb13af26 | ||
fe29043ab1 | |||
2075b42427 | |||
c851188989 | |||
|
0fa310609e | ||
57a4ca96e7 | |||
af868a7cd7 | |||
cb1ad9edec | |||
|
34e8178ddc | ||
|
6c094b2a2e | ||
4a796130d0 | |||
60f65e6f85 | |||
3bf8150764 | |||
bacf2eab0b | |||
8155a78649 | |||
013c08710c | |||
00fba0a83b | |||
c71613f3fc | |||
|
4615e975e8 | ||
|
e961bf6cfa | ||
216aa6291d | |||
66660bfef7 | |||
d25261b256 | |||
583b934511 | |||
55e023d0a8 | |||
503e988f7b | |||
06e8a72f80 | |||
6c348202a1 | |||
5ba186b0c6 | |||
e153d7e077 | |||
3c31e5d63a | |||
619cf9e1ce | |||
392c1ea09b | |||
ac4565e587 | |||
6006ae13d9 | |||
74d5646d65 | |||
|
2c3bdde403 | ||
106d0ed89c | |||
cfbd00b560 | |||
a787935263 | |||
15da20fac7 | |||
6b4e906e75 | |||
d121e408af | |||
f8baaa8955 | |||
416d4bb390 | |||
fe7821cbd8 |
34
.env.dev
@ -1,21 +1,33 @@
|
||||
###
|
||||
# @Author: Do not edit
|
||||
# @Date: 2023-08-29 09:40:39
|
||||
# @LastEditTime: 2023-10-16 09:22:52
|
||||
# @LastEditors: DY
|
||||
# @Description:
|
||||
###
|
||||
# @LastEditTime: 2024-10-21 16:41:54
|
||||
# @LastEditors: zwq
|
||||
# @Description:
|
||||
###
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 产线监控系统
|
||||
VUE_APP_TITLE = MES系统
|
||||
|
||||
# 芋道管理系统/开发环境
|
||||
# VUE_APP_BASE_API = 'http://192.168.1.49:48080'
|
||||
# VUE_APP_BASE_API = 'http://192.168.1.8:48080'
|
||||
VUE_APP_BASE_API = 'http://192.168.0.33:48080'
|
||||
# VUE_APP_BASE_API = 'http://192.168.1.188:48080'
|
||||
# VUE_APP_BASE_API = 'http://100.64.0.26:48082'
|
||||
# VUE_APP_BASE_API = 'http://192.168.0.33:48082'
|
||||
# VUE_APP_BASE_API = 'http://192.168.4.173:48080'
|
||||
# VUE_APP_BASE_API = 'http://192.168.2.173:48080'
|
||||
# VUE_APP_BASE_API = 'http://192.168.1.81:48082'
|
||||
# VUE_APP_BASE_API = 'http://192.168.1.8:48082'
|
||||
# VUE_APP_BASE_API = 'http://192.168.4.159:48080'
|
||||
# VUE_APP_BASE_API = 'http://192.168.1.56:48082'
|
||||
# VUE_APP_BASE_API = 'http://192.168.4.159:48080'
|
||||
# VUE_APP_BASE_API = 'http://192.168.1.64:48082'
|
||||
VUE_APP_BASE_API = 'http://mes2.kszny.picaiba.com'
|
||||
|
||||
|
||||
|
||||
# 积木报表指向地址
|
||||
VUE_APP_JIMU_API = 'http://192.168.0.33:48082'
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
@ -23,11 +35,9 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
# 多租户的开关
|
||||
VUE_APP_TENANT_ENABLE = true
|
||||
|
||||
# 验证码的开关
|
||||
VUE_APP_CAPTCHA_ENABLE = true
|
||||
|
||||
# 文档的开关
|
||||
VUE_APP_DOC_ENABLE = true
|
||||
|
||||
# 百度统计
|
||||
# VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
@ -13,9 +14,6 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
# 多租户的开关
|
||||
VUE_APP_TENANT_ENABLE = true
|
||||
|
||||
# 验证码的开关
|
||||
VUE_APP_CAPTCHA_ENABLE = true
|
||||
|
||||
# 文档的开关
|
||||
VUE_APP_DOC_ENABLE = true
|
||||
|
||||
|
23
.env.prod
@ -1,15 +1,29 @@
|
||||
###
|
||||
# @Author: zhp
|
||||
# @Date: 2023-11-07 19:11:40
|
||||
# @LastEditTime: 2024-10-17 09:09:05
|
||||
# @LastEditors: zwq
|
||||
# @Description:
|
||||
###
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 产线监控系统
|
||||
VUE_APP_TITLE = MES系统
|
||||
|
||||
# 芋道管理系统/生产环境
|
||||
VUE_APP_BASE_API = '/prod-api'
|
||||
# VUE_APP_BASE_API = '/prod-api'
|
||||
VUE_APP_BASE_API = ''
|
||||
|
||||
# 积木报表指向地址
|
||||
# VUE_APP_JIMU_API = 'http://192.168.0.33:48082'
|
||||
VUE_APP_JIMU_API = ''
|
||||
|
||||
|
||||
# 根据服务器或域名修改
|
||||
# PUBLIC_PATH = 'http://my-pi.com:8888/yudao-admin/'
|
||||
PUBLIC_PATH = 'http://192.168.0.33:8888/'
|
||||
# PUBLIC_PATH = 'http://192.168.0.33:8889/'
|
||||
PUBLIC_PATH = ''
|
||||
|
||||
# 二级部署路径
|
||||
VUE_APP_APP_NAME ='yudao-admin'
|
||||
@ -17,9 +31,6 @@ VUE_APP_APP_NAME ='yudao-admin'
|
||||
# 多租户的开关
|
||||
VUE_APP_TENANT_ENABLE = true
|
||||
|
||||
# 验证码的开关
|
||||
VUE_APP_CAPTCHA_ENABLE = true
|
||||
|
||||
# 文档的开关
|
||||
VUE_APP_DOC_ENABLE = false
|
||||
|
||||
|
12
.env.production
Normal file
@ -0,0 +1,12 @@
|
||||
###
|
||||
# @Author: zhp
|
||||
# @Date: 2023-10-30 14:18:30
|
||||
# @LastEditTime: 2023-11-02 16:16:09
|
||||
# @LastEditors: zhp
|
||||
# @Description:
|
||||
###
|
||||
# just a flag
|
||||
ENV = 'production'
|
||||
|
||||
# base api
|
||||
# VUE_APP_BASE_API = '/api'
|
@ -15,11 +15,9 @@ PUBLIC_PATH = 'http://static.yudao.iocoder.cn/'
|
||||
# 多租户的开关
|
||||
VUE_APP_TENANT_ENABLE = true
|
||||
|
||||
# 验证码的开关
|
||||
VUE_APP_CAPTCHA_ENABLE = true
|
||||
|
||||
# 文档的开关
|
||||
VUE_APP_DOC_ENABLE = false
|
||||
|
||||
# 百度统计
|
||||
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
||||
|
||||
|
@ -17,9 +17,6 @@ VUE_APP_APP_NAME ='/admin-ui-vue2/'
|
||||
# 多租户的开关
|
||||
VUE_APP_TENANT_ENABLE = true
|
||||
|
||||
# 验证码的开关
|
||||
VUE_APP_CAPTCHA_ENABLE = true
|
||||
|
||||
# 文档的开关
|
||||
VUE_APP_DOC_ENABLE = true
|
||||
|
||||
|
@ -41,17 +41,19 @@
|
||||
"url": "https://github.com/YunaiV/ruoyi-vue-pro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/x6": "^2.15.3",
|
||||
"@babel/parser": "7.18.4",
|
||||
"@riophae/vue-treeselect": "0.4.0",
|
||||
"axios": "0.27.2",
|
||||
"benz-amr-recorder": "^1.1.5",
|
||||
"bpmn-js-token-simulation": "0.10.0",
|
||||
"clipboard": "2.0.8",
|
||||
"code-brick-zj": "^1.0.2",
|
||||
"code-brick-zj": "^1.0.5",
|
||||
"core-js": "^3.26.0",
|
||||
"crypto-js": "^4.0.0",
|
||||
"diagram-js": "^12.3.0",
|
||||
"echarts": "5.4.0",
|
||||
"el-tree-transfer": "^2.4.7",
|
||||
"element-ui": "2.15.12",
|
||||
"file-saver": "^2.0.5",
|
||||
"fuse.js": "6.6.2",
|
||||
@ -70,6 +72,7 @@
|
||||
"screenfull": "5.0.2",
|
||||
"sortablejs": "1.10.2",
|
||||
"throttle-debounce": "2.1.0",
|
||||
"uuid": "^9.0.1",
|
||||
"video.js": "^8.5.2",
|
||||
"vue": "2.7.14",
|
||||
"vue-count-to": "1.0.13",
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 4.2 KiB |
BIN
public/static/videos/login.webm
Normal file
@ -1,3 +1,10 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2024-06-28 17:03:29
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2024-09-27 09:24:09
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取走势分析数据
|
||||
@ -8,7 +15,24 @@ export function getEnergyTrend(data) {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导出走势分析数据
|
||||
export function exportTrend(data) {
|
||||
return request({
|
||||
url: '/analysis/energy-analysis/exportTrend',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
// 导出对比分析数据
|
||||
export function exportCompare(data) {
|
||||
return request({
|
||||
url: '/analysis/energy-analysis/exportCompare',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
// 获取对比分析数据
|
||||
export function getCompare(data) {
|
||||
return request({
|
||||
@ -27,6 +51,24 @@ export function getYoy(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 导出同比分析数据
|
||||
export function exportYoy(data) {
|
||||
return request({
|
||||
url: '/analysis/energy-analysis/exportYoy',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
// 导出环比分析数据
|
||||
export function exportChain(data) {
|
||||
return request({
|
||||
url: '/analysis/energy-analysis/exportChain',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
// 获取环比分析数据(1:月,2:周,3:日)
|
||||
export function getQoq(data) {
|
||||
return request({
|
||||
@ -34,4 +76,4 @@ export function getQoq(data) {
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
}
|
||||
|
60
src/api/base/coreAlarmLog.js
Normal file
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-03 15:25:55
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建异常警告
|
||||
export function createcoreAlarmLog(data) {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新异常警告
|
||||
export function updatecoreAlarmLog(data) {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除异常警告
|
||||
export function deletecoreAlarmLog(id) {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得异常警告
|
||||
export function getcoreAlarmLog(id) {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得警告分页
|
||||
export function getcoreAlarmLogPage(query) {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getcoreAlarmLogList(query) {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
68
src/api/base/coreCustomer.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-02 20:25:36
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建客户
|
||||
export function createCustomer(data) {
|
||||
return request({
|
||||
url: '/base/core-customer/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新客户
|
||||
export function updateCustomer(data) {
|
||||
return request({
|
||||
url: '/base/core-customer/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除客户
|
||||
export function deleteCustomer(id) {
|
||||
return request({
|
||||
url: '/base/core-customer/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得客户
|
||||
export function getCustomer(id) {
|
||||
return request({
|
||||
url: '/base/core-customer/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得客户code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-customer/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得客户分页
|
||||
export function getCustomerPage(query) {
|
||||
return request({
|
||||
url: '/base/core-customer/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCustomerList(query) {
|
||||
return request({
|
||||
url: '/base/core-customer/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
68
src/api/base/coreDepartment.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-10-30 14:37:28
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建部门
|
||||
export function createCoreDepartment(data) {
|
||||
return request({
|
||||
url: '/base/core-department/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新部门
|
||||
export function updateCoreDepartment(data) {
|
||||
return request({
|
||||
url: '/base/core-department/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除部门
|
||||
export function deleteCoreDepartment(id) {
|
||||
return request({
|
||||
url: '/base/core-department/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得部门
|
||||
export function getCoreDepartment(id) {
|
||||
return request({
|
||||
url: '/base/core-department/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得部门code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-department/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得部门分页
|
||||
export function getCoreDepartmentPage(query) {
|
||||
return request({
|
||||
url: '/base/core-department/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCoreDepartmentList(query) {
|
||||
return request({
|
||||
url: '/base/core-department/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
68
src/api/base/coreHotMaterial.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-15 15:56:14
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建原料
|
||||
export function createHotMaterial(data) {
|
||||
return request({
|
||||
url: '/base/core-hot-material/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新原料
|
||||
export function updateHotMaterial(data) {
|
||||
return request({
|
||||
url: '/base/core-hot-material/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除原料
|
||||
export function deleteHotMaterial(id) {
|
||||
return request({
|
||||
url: '/base/core-hot-material/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得原料
|
||||
export function getHotMaterial(id) {
|
||||
return request({
|
||||
url: '/base/core-hot-material/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得原料code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-hot-material/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得原料分页
|
||||
export function getHotMaterialPage(query) {
|
||||
return request({
|
||||
url: '/base/core-hot-material/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getHotMaterialList(query) {
|
||||
return request({
|
||||
url: '/base/core-hot-material/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
68
src/api/base/coreMajor.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-10-31 15:11:25
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建专业
|
||||
export function createCoreMajor(data) {
|
||||
return request({
|
||||
url: '/base/core-major/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新专业
|
||||
export function updateCoreMajor(data) {
|
||||
return request({
|
||||
url: '/base/core-major/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除专业
|
||||
export function deleteCoreMajor(id) {
|
||||
return request({
|
||||
url: '/base/core-major/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得专业
|
||||
export function getCoreMajor(id) {
|
||||
return request({
|
||||
url: '/base/core-major/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得专业code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-major/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得专业分页
|
||||
export function getCoreMajorPage(query) {
|
||||
return request({
|
||||
url: '/base/core-major/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCoreMajorList(query) {
|
||||
return request({
|
||||
url: '/base/core-major/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
111
src/api/base/coreProduct.js
Normal file
@ -0,0 +1,111 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2024-07-08 14:35:17
|
||||
* @LastEditors: zwq
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建产品
|
||||
export function createCoreProduct(data) {
|
||||
return request({
|
||||
url: '/base/core-product/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新产品
|
||||
export function updateCoreProduct(data) {
|
||||
return request({
|
||||
url: '/base/core-product/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除产品
|
||||
export function deleteCoreProduct(id) {
|
||||
return request({
|
||||
url: '/base/core-product/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品
|
||||
export function getCoreProduct(id) {
|
||||
return request({
|
||||
url: '/base/core-product/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-product/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品分页
|
||||
export function getCoreProductPage(query) {
|
||||
return request({
|
||||
url: '/base/core-product/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCoreProductList(query) {
|
||||
return request({
|
||||
url: '/base/core-product-material/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建产品属性
|
||||
export function createCoreProductAttr(data) {
|
||||
return request({
|
||||
url: '/base/core-product-attr/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新产品属性
|
||||
export function updateCoreProductAttr(data) {
|
||||
return request({
|
||||
url: '/base/core-product-attr/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除产品属性
|
||||
export function deleteCoreProductAttr(id) {
|
||||
return request({
|
||||
url: '/base/core-product-attr/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品属性
|
||||
export function getCoreProductAttr(id) {
|
||||
return request({
|
||||
url: '/base/core-product-attr/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品属性分页
|
||||
export function getCoreProductAttrPage(query) {
|
||||
return request({
|
||||
url: '/base/core-product-attr/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
68
src/api/base/coreProductionLine.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-03 19:06:15
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建产线
|
||||
export function createCorePL(data) {
|
||||
return request({
|
||||
url: '/base/core-production-line/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新产线
|
||||
export function updateCorePL(data) {
|
||||
return request({
|
||||
url: '/base/core-production-line/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除产线
|
||||
export function deleteCorePL(id) {
|
||||
return request({
|
||||
url: '/base/core-production-line/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产线
|
||||
export function getCorePL(id) {
|
||||
return request({
|
||||
url: '/base/core-production-line/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产线code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-production-line/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产线分页
|
||||
export function getCorePLPage(query) {
|
||||
return request({
|
||||
url: '/base/core-production-line/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCorePLList(query) {
|
||||
return request({
|
||||
url: '/base/core-production-line/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
68
src/api/base/coreSupplier.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-03 10:39:44
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建供应商
|
||||
export function createCoreSupplier(data) {
|
||||
return request({
|
||||
url: '/base/core-supplier/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新供应商
|
||||
export function updateCoreSupplier(data) {
|
||||
return request({
|
||||
url: '/base/core-supplier/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除供应商
|
||||
export function deleteCoreSupplier(id) {
|
||||
return request({
|
||||
url: '/base/core-supplier/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得供应商
|
||||
export function getCoreSupplier(id) {
|
||||
return request({
|
||||
url: '/base/core-supplier/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得供应商code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-supplier/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得供应商分页
|
||||
export function getCoreSupplierPage(query) {
|
||||
return request({
|
||||
url: '/base/core-supplier/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCoreSupplierList(query) {
|
||||
return request({
|
||||
url: '/base/core-supplier/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
163
src/api/base/coreWorkOrder.js
Normal file
@ -0,0 +1,163 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-15 17:19:19
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建工单
|
||||
export function createCoreWO(data) {
|
||||
return request({
|
||||
url: '/base/core-work-order/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取工艺模式工单预计消耗物料
|
||||
export function getMaterialCostWorkOrder(data) {
|
||||
return request({
|
||||
url: '/extend/process-retrospect/getMaterialCostWorkOrder',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 更新工单
|
||||
export function updateCoreWO(data) {
|
||||
return request({
|
||||
url: '/base/core-work-order/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除工单
|
||||
export function deleteCoreWO(id) {
|
||||
return request({
|
||||
url: '/base/core-work-order/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工单
|
||||
export function getCoreWO(id) {
|
||||
return request({
|
||||
url: '/base/core-work-order/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工单code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-work-order/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工单分页
|
||||
export function getCoreWOPage(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCoreWOList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 根据工单id获得所有列表
|
||||
export function getCoreWOListById(ids) {
|
||||
return request({
|
||||
url: '/base/core-work-order/list?ids='+ ids ,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建工单预使用原料
|
||||
export function createCoreWOMa(data) {
|
||||
return request({
|
||||
url: '/base/core-work-order-material/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新工单预使用原料
|
||||
export function updateCoreWOMa(data) {
|
||||
return request({
|
||||
url: '/base/core-work-order-material/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除工单预使用原料
|
||||
export function deleteCoreWOMa(id) {
|
||||
return request({
|
||||
url: '/base/core-work-order-material/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工单预使用原料
|
||||
export function getCoreWOMa(id) {
|
||||
return request({
|
||||
url: '/base/core-work-order-material/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工单预使用原料分页
|
||||
export function getCoreWOMaPage(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order-material/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得预计用料信息分页
|
||||
export function getMaterialBomPage(query) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/bomUseNum',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得订单分页
|
||||
export function getConOrderList(query) {
|
||||
return request({
|
||||
url: '/base/order/listConOrder',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 改变工单状态 激活暂停完成作废
|
||||
export function statusChange(data) {
|
||||
return request({
|
||||
url: '/base/core-work-order/statusChange',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 创建分配产量
|
||||
export function createConCoreWOr(data) {
|
||||
return request({
|
||||
url: '/base/core-order-con-work-order/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
103
src/api/base/coreWorker.js
Normal file
@ -0,0 +1,103 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-02 19:49:52
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建员工
|
||||
export function createCoreWorker(data) {
|
||||
return request({
|
||||
url: '/base/core-worker/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新员工
|
||||
export function updateCoreWorker(data) {
|
||||
return request({
|
||||
url: '/base/core-worker/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除员工
|
||||
export function deleteCoreWorker(id) {
|
||||
return request({
|
||||
url: '/base/core-worker/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得员工
|
||||
export function getCoreWorker(id) {
|
||||
return request({
|
||||
url: '/base/core-worker/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得员工code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-worker/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得员工分页
|
||||
export function getCoreWorkerPage(query) {
|
||||
return request({
|
||||
url: '/base/core-worker/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCoreWorkerList(query) {
|
||||
return request({
|
||||
url: '/base/core-worker/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建员工--专业
|
||||
export function createWoBindMa(data) {
|
||||
return request({
|
||||
url: '/base/core-worker-bind-major/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新员工--专业
|
||||
export function updateWoBindMa(data) {
|
||||
return request({
|
||||
url: '/base/core-worker-bind-major/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除员工--专业
|
||||
export function deleteWoBindMa(id) {
|
||||
return request({
|
||||
url: '/base/core-worker-bind-major/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得员工--专业分页
|
||||
export function getWoBindMaPage(query) {
|
||||
return request({
|
||||
url: '/base/core-worker-bind-major/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
68
src/api/base/coreWorkshopSection.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-03 19:18:00
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建工段
|
||||
export function createCWSection(data) {
|
||||
return request({
|
||||
url: '/base/core-workshop-section/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新工段
|
||||
export function updateCWSection(data) {
|
||||
return request({
|
||||
url: '/base/core-workshop-section/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除工段
|
||||
export function deleteCWSection(id) {
|
||||
return request({
|
||||
url: '/base/core-workshop-section/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工段
|
||||
export function getCWSection(id) {
|
||||
return request({
|
||||
url: '/base/core-workshop-section/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工段code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/core-workshop-section/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工段分页
|
||||
export function getCWSectionPage(query) {
|
||||
return request({
|
||||
url: '/base/core-workshop-section/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getCWSectionList(query) {
|
||||
return request({
|
||||
url: '/base/core-workshop-section/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
8
src/api/base/customer.js
Normal file
@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
// 获得所有客户列表
|
||||
export function getCustomerList() {
|
||||
return request({
|
||||
url: '/base/core-customer/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
100
src/api/base/delivery.js
Normal file
@ -0,0 +1,100 @@
|
||||
// 成品发货
|
||||
import request from '@/utils/request'
|
||||
// 获得成品发货清单分页
|
||||
export function deliveryLogPage(data) {
|
||||
return request({
|
||||
url: '/extend/delivery-log/page',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取发货进度分页
|
||||
export function deliveryProgressPage(data) {
|
||||
return request({
|
||||
url: '/extend/delivery-progress/page',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取订单列表
|
||||
export function listOrderList(query) {
|
||||
return request({
|
||||
url: '/extend/delivery-log/listOrderList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取发货进度分页
|
||||
export function deliveryLogDetPage(data) {
|
||||
return request({
|
||||
url: '/extend/delivery-log-det/page',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 创建成品发货清单
|
||||
export function deliveryLogCreate(data) {
|
||||
return request({
|
||||
url: '/extend/delivery-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新成品发货清单
|
||||
export function deliveryLogUpdate(data) {
|
||||
return request({
|
||||
url: '/extend/delivery-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得成品发货清单
|
||||
export function getDeliveryLog(query) {
|
||||
return request({
|
||||
url: '/extend/delivery-log/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除成品发货清单
|
||||
export function deliveryLogDelete(query) {
|
||||
return request({
|
||||
url: '/extend/delivery-log/delete',
|
||||
method: 'delete',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 装车
|
||||
export function deliveryLogDetCreate(data) {
|
||||
return request({
|
||||
url: '/extend/delivery-log-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得一条发货详细
|
||||
export function deliveryLogDetGet(query) {
|
||||
return request({
|
||||
url: '/extend/delivery-log-det/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 编辑发货详情
|
||||
export function deliveryLogDetUpdate(data) {
|
||||
return request({
|
||||
url: '/extend/delivery-log-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 创建设备
|
||||
export function createEquipment(data) {
|
||||
return request({
|
||||
url: '/base/equipment/create',
|
||||
url: '/base/core-equipment/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@ -12,7 +12,7 @@ export function createEquipment(data) {
|
||||
// 更新设备
|
||||
export function updateEquipment(data) {
|
||||
return request({
|
||||
url: '/base/equipment/update',
|
||||
url: '/base/core-equipment/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@ -21,7 +21,7 @@ export function updateEquipment(data) {
|
||||
// 删除设备
|
||||
export function deleteEquipment(id) {
|
||||
return request({
|
||||
url: '/base/equipment/delete?id=' + id,
|
||||
url: '/base/core-equipment/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@ -29,7 +29,7 @@ export function deleteEquipment(id) {
|
||||
// 获得设备
|
||||
export function getEquipment(id) {
|
||||
return request({
|
||||
url: '/base/equipment/get?id=' + id,
|
||||
url: '/base/core-equipment/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@ -37,7 +37,7 @@ export function getEquipment(id) {
|
||||
// 获得设备分页
|
||||
export function getEquipmentPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment/page',
|
||||
url: '/base/core-equipment/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -46,7 +46,7 @@ export function getEquipmentPage(query) {
|
||||
// 导出设备 Excel
|
||||
export function exportEquipmentExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment/export-excel',
|
||||
url: '/base/core-equipment/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
@ -55,7 +55,7 @@ export function exportEquipmentExcel(query) {
|
||||
// 获得所有设备列表
|
||||
export function getEquipmentAll() {
|
||||
return request({
|
||||
url: '/base/equipment/listAll',
|
||||
url: '/base/core-equipment/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 创建设备类型
|
||||
export function createEquipmentType(data) {
|
||||
return request({
|
||||
url: '/base/equipment-type/create',
|
||||
url: '/base/core-equipment-type/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@ -12,7 +12,7 @@ export function createEquipmentType(data) {
|
||||
// 更新设备类型
|
||||
export function updateEquipmentType(data) {
|
||||
return request({
|
||||
url: '/base/equipment-type/update',
|
||||
url: '/base/core-equipment-type/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@ -21,7 +21,7 @@ export function updateEquipmentType(data) {
|
||||
// 删除设备类型
|
||||
export function deleteEquipmentType(id) {
|
||||
return request({
|
||||
url: '/base/equipment-type/delete?id=' + id,
|
||||
url: '/base/core-equipment-type/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@ -29,7 +29,7 @@ export function deleteEquipmentType(id) {
|
||||
// 获得设备类型
|
||||
export function getEquipmentType(id) {
|
||||
return request({
|
||||
url: '/base/equipment-type/get?id=' + id,
|
||||
url: '/base/core-equipment-type/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@ -37,7 +37,7 @@ export function getEquipmentType(id) {
|
||||
// 获得设备类型分页
|
||||
export function getEquipmentTypePage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-type/page',
|
||||
url: '/base/core-equipment-type/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -46,7 +46,7 @@ export function getEquipmentTypePage(query) {
|
||||
// 导出设备类型 Excel
|
||||
export function exportEquipmentTypeExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-type/export-excel',
|
||||
url: '/base/core-equipment-type/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
|
@ -2,7 +2,7 @@ import request from '@/utils/request'
|
||||
// 获得工厂产线工段设备树形结构
|
||||
export function getTree() {
|
||||
return request({
|
||||
url: '/base/factory/getTree',
|
||||
url: '/base/core-factory/getTree',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -51,6 +51,13 @@ export function getCode() {
|
||||
})
|
||||
}
|
||||
|
||||
// 获得可用的班次列表
|
||||
export function listClassesEnabled() {
|
||||
return request({
|
||||
url: '/base/group-classes/listEnable',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 导出班次基础信息 Excel
|
||||
export function exportGroupClassesExcel(query) {
|
||||
return request({
|
||||
|
125
src/api/base/groupSchedulingPlan.js
Normal file
@ -0,0 +1,125 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建排班计划配置基础信息
|
||||
export function createGroupPlan(data) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新排班计划配置基础信息
|
||||
export function updateGroupPlan(data) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除排班计划配置基础信息
|
||||
export function deleteGroupPlan(id) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得排班计划配置基础信息
|
||||
export function getGroupPlan(id) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得排班计划配置基础信息分页
|
||||
export function getGroupPlanPage(query) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有排班计划列表
|
||||
export function groupPlanList() {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得排班计划相关班组列表
|
||||
export function groupPlanTeamList(id) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan-team/teamListByPlanId?planId=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得排班计划相关班次列表
|
||||
export function groupPlanClassesList(id) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan-classes/classesListByPlanId?planId=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获取code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出排班计划配置基础信息 Excel
|
||||
export function exportGroupPlanExcel(query) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产线工段树形结构
|
||||
export function getGroupPlanTree() {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan/getLineSectionTree',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建排班计划产线工段
|
||||
export function createGroupPlanLine(data) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan-line-section/createPlanLineSection',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新排班计划产线工段
|
||||
export function updateGroupPlanLine(data) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan-line-section/updatePlanLineSection',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得排班计划配置基础信息
|
||||
export function getGroupPlanLine(id) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan-line-section/getLineSectionByPlanId?planId=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得当前登录用户所在部门id
|
||||
export function getLoginUserDeptId() {
|
||||
return request({
|
||||
url: '/base/group-scheduling-plan-line-section/getLoginUserDeptId',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
54
src/api/base/groupSchedulingRule.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建排班规则基础信息
|
||||
export function createGroupRule(data) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-rule/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新排班规则基础信息
|
||||
export function updateGroupRule(data) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-rule/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除排班规则基础信息
|
||||
export function deleteGroupRule(id) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-rule/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得排班规则基础信息
|
||||
export function getGroupRule(id) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-rule/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得排班规则基础信息分页
|
||||
export function getGroupRulePage(query) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-rule/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出排班规则基础信息 Excel
|
||||
export function exportGroupRuleExcel(query) {
|
||||
return request({
|
||||
url: '/base/group-scheduling-rule/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
@ -58,3 +58,49 @@ export function listEnabled() {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得班组组员信息分页
|
||||
export function groupTeamPage(query) {
|
||||
return request({
|
||||
url: '/base/group-team-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得班组组员信息
|
||||
export function groupTeamDet(query) {
|
||||
return request({
|
||||
url: '/base/group-team-det/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 创建班组组员信息
|
||||
export function teamDetCreate(data) {
|
||||
return request({
|
||||
url: '/base/group-team-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新班组组员信息
|
||||
export function teamDetUpdate(data) {
|
||||
return request({
|
||||
url: '/base/group-team-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除班组组员信息
|
||||
export function teamDetDelete(query) {
|
||||
return request({
|
||||
url: '/base/group-team-det/delete',
|
||||
method: 'delete',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
@ -8,7 +8,14 @@ export function getPreset(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取某月预排班
|
||||
export function getScheduling(query) {
|
||||
return request({
|
||||
url: '/base/group-team-scheduling/getScheduling',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 批量创建-更新排班信息
|
||||
export function createOrUpdateList(data) {
|
||||
return request({
|
||||
@ -25,4 +32,4 @@ export function autoSet(query) {
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
}
|
||||
|
202
src/api/base/material.js
Normal file
@ -0,0 +1,202 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2024-07-05 10:09:18
|
||||
* @LastEditors: zwq
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建物料
|
||||
export function createMaterial(data) {
|
||||
return request({
|
||||
url: '/base/material/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新物料
|
||||
export function updateMaterial(data) {
|
||||
return request({
|
||||
url: '/base/material/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除物料
|
||||
export function deleteMaterial(id) {
|
||||
return request({
|
||||
url: '/base/material/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料
|
||||
export function getMaterial(id) {
|
||||
return request({
|
||||
url: '/base/material/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/material/getMaterialCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料分页
|
||||
export function getMaterialPage(query) {
|
||||
return request({
|
||||
url: '/base/material/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料列表
|
||||
export function getMaterialList(query) {
|
||||
return request({
|
||||
url: '/base/core-product-material/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得供应商所有列表
|
||||
export function getSupplierList(query) {
|
||||
return request({
|
||||
url: '/base/core-supplier/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料属性列表
|
||||
export function getMaterialAttrList(query) {
|
||||
return request({
|
||||
url: '/base/material-attr/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建物料属性
|
||||
export function createMaterialAttr(data) {
|
||||
return request({
|
||||
url: '/base/material-attr/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新物料属性
|
||||
export function updateMaterialAttr(data) {
|
||||
return request({
|
||||
url: '/base/material-attr/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除物料属性
|
||||
export function deleteMaterialAttr(id) {
|
||||
return request({
|
||||
url: '/base/material-attr/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料属性
|
||||
export function getMaterialAttr(query) {
|
||||
return request({
|
||||
url: '/base/material-attr/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 获得物料树结构
|
||||
export function getMaterialTree() {
|
||||
return request({
|
||||
url: '/base/core-product-material-type/listTree',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建物料树
|
||||
export function createMaterialTree(data) {
|
||||
return request({
|
||||
url: '/base/core-product-material-type/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新物料树
|
||||
export function updateMaterialTree(data) {
|
||||
return request({
|
||||
url: '/base/core-product-material-type/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除物料树
|
||||
export function deleteMaterialTree(id) {
|
||||
return request({
|
||||
url: '/base/core-product-material-type/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品物料分页
|
||||
export function getProductMaterialPage(query) {
|
||||
return request({
|
||||
url: '/base/core-product-material/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 删除产品物料
|
||||
export function deleteProductMaterial(id) {
|
||||
return request({
|
||||
url: '/base/core-product-material/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
// 创建产品物料
|
||||
export function createProductMaterial(data) {
|
||||
return request({
|
||||
url: '/base/core-product-material/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新产品物料
|
||||
export function updateProductMaterial(data) {
|
||||
return request({
|
||||
url: '/base/core-product-material/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得产品物料
|
||||
export function getProductMaterial(id) {
|
||||
return request({
|
||||
url: '/base/core-product-material/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品物料code
|
||||
export function getProductMaterialCode() {
|
||||
return request({
|
||||
url: '/base/core-product-material/getCode',
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
68
src/api/base/materialDate.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-10-24 17:09:59
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建物料批次
|
||||
export function createMaterialDate(data) {
|
||||
return request({
|
||||
url: '/base/material-date/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新物料批次
|
||||
export function updateMaterialDate(data) {
|
||||
return request({
|
||||
url: '/base/material-date/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除物料批次
|
||||
export function deleteMaterialDate(id) {
|
||||
return request({
|
||||
url: '/base/material-date/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料批次
|
||||
export function getMaterialDate(id) {
|
||||
return request({
|
||||
url: '/base/material-date/getDetail?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料批次code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/material-date/getMaterialDateCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料批次分页
|
||||
export function getMaterDatePage(query) {
|
||||
return request({
|
||||
url: '/base/material-date/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料批次列表
|
||||
export function getMaterDateList(query) {
|
||||
return request({
|
||||
url: '/base/material-date/listbyfilter',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
120
src/api/base/materialProductBom.js
Normal file
@ -0,0 +1,120 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-11-27 17:54:28
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建产品Bom
|
||||
export function createMaterialPB(data) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新产品Bom
|
||||
export function updateMaterialPB(data) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除产品Bom
|
||||
export function deleteMaterialPB(id) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品Bom
|
||||
export function getMaterialPB(id) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品Bomcode
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/material-product-bom/getMaterialProductBomCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品Bom分页
|
||||
export function getMaterialPBPage(query) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品Bom列表
|
||||
export function getMaterialPBList(query) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/listbyfilter',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品列表
|
||||
export function getProList(query) {
|
||||
return request({
|
||||
url: '/base/core-product-material/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品Bom详细分页
|
||||
export function getProBomList(query) {
|
||||
return request({
|
||||
url: '/base/material-product-bom-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建产品Bom详细
|
||||
export function createMaterialPBDet(data) {
|
||||
return request({
|
||||
url: '/base/material-product-bom-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新产品Bom详细
|
||||
export function updateMaterialPBDet(data) {
|
||||
return request({
|
||||
url: '/base/material-product-bom-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除产品Bom详细
|
||||
export function deleteMaterialPBDet(id) {
|
||||
return request({
|
||||
url: '/base/material-product-bom-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得产品Bom详细
|
||||
export function getMaterialPBDet(id) {
|
||||
return request({
|
||||
url: '/base/material-product-bom-det/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
69
src/api/base/materialUseLog.js
Normal file
@ -0,0 +1,69 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 11:50:46
|
||||
* @LastEditTime: 2023-10-26 09:32:21
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建物料使用记录
|
||||
export function createMaterialLog(data) {
|
||||
return request({
|
||||
url: '/base/material-use-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新物料使用记录
|
||||
export function updateMaterialLog(data) {
|
||||
return request({
|
||||
url: '/base/material-use-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料使用记录
|
||||
export function getMaterialLog(id) {
|
||||
return request({
|
||||
url: '/base/material-use-log/getDetail?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物料使用记录分页
|
||||
export function getMaterialLogPage(query) {
|
||||
return request({
|
||||
url: '/base/material-use-log/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有设备列表
|
||||
export function getEqListAll(query) {
|
||||
return request({
|
||||
url: '/base/core-equipment/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有员工列表
|
||||
export function getworkerAll(query) {
|
||||
return request({
|
||||
url: '/base/core-worker/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除物料使用记录
|
||||
export function deleteMaterialLog(id) {
|
||||
return request({
|
||||
url: '/base/material-use-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
68
src/api/base/modelType.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-18 09:33:57
|
||||
* @LastEditTime: 2023-10-18 16:02:09
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建包装
|
||||
export function createPackingType(data) {
|
||||
return request({
|
||||
url: '/base/packaging-print-type/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/getPackagingSerialCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 更新包装
|
||||
export function updatePackingType(data) {
|
||||
return request({
|
||||
url: '/base/packaging-print-type/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除包装
|
||||
export function deletePackingType(id) {
|
||||
return request({
|
||||
url: '/base/packaging-print-type/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装
|
||||
export function getPackingType(id) {
|
||||
return request({
|
||||
url: '/base/packaging-print-type/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装分页
|
||||
export function getPackingTypePage(query) {
|
||||
return request({
|
||||
url: '/base/packaging-print-type/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出包装 Excel
|
||||
export function exportPackingExcel(query) {
|
||||
return request({
|
||||
url: '/base/packaging-print-type/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
72
src/api/base/orderGroup.js
Normal file
@ -0,0 +1,72 @@
|
||||
import request from '@/utils/request'
|
||||
// 获得集团订单分页
|
||||
export function getOrderGroupPage(query) {
|
||||
return request({
|
||||
url: '/base/order-group/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得集团订单
|
||||
export function getOrderGroup(query) {
|
||||
return request({
|
||||
url: '/base/order-group/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 更新集团订单
|
||||
export function updateOrderGroup(data) {
|
||||
return request({
|
||||
url: '/base/order-group/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 创建集团订单
|
||||
export function createOrderGroup(data) {
|
||||
return request({
|
||||
url: '/base/order-group/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改集团订单状态,结束-终止-作废用
|
||||
export function groupOrderStatusSet(data) {
|
||||
return request({
|
||||
url: '/base/order-group/groupOrderStatusSet',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得集团订单详情
|
||||
export function orderGroupDetail(query) {
|
||||
return request({
|
||||
url: '/base/order-group/getDetail',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建集团订单与厂务订单表关联表 一对多
|
||||
export function orderConGroupOrder(data) {
|
||||
return request({
|
||||
url: '/base/order-con-group-order/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 订单监控
|
||||
export function orderGroupMonitor(query) {
|
||||
return request({
|
||||
url: '/base/order-group/orderGroupMonitor',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
224
src/api/base/orderManage.js
Normal file
@ -0,0 +1,224 @@
|
||||
import request from '@/utils/request'
|
||||
// 条件获得订单列表
|
||||
export function orderList(query) {
|
||||
return request({
|
||||
url: '/base/order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 条件获得工单列表
|
||||
export function workOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得订单分页
|
||||
export function getOrderPage(query) {
|
||||
return request({
|
||||
url: '/base/order/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取订单code
|
||||
export function getOrderCode() {
|
||||
return request({
|
||||
url: '/base/order/getOrderCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取工单code
|
||||
export function getWorkOrderCode() {
|
||||
return request({
|
||||
url: '/base/order/getWorkOrderCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得订单
|
||||
export function getOrderById(query) {
|
||||
return request({
|
||||
url: '/base/order/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 订单进度-获取普通模式订单剩余数量
|
||||
export function getOrderRemainNum(id) {
|
||||
return request({
|
||||
url: '/base/order/getOrderRemainNum?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 订单进度-获取工艺模式订单预计消耗物料(计算后)
|
||||
export function getMaterialCostOrder(data) {
|
||||
return request({
|
||||
url: '/extend/process-retrospect/getMaterialCostOrder',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工艺流程列表
|
||||
export function getProcessFlowList() {
|
||||
return request({
|
||||
url: '/extend/process-flow/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 获得工艺流程列表
|
||||
export function getProcessFlowPage(query) {
|
||||
return request({
|
||||
url: '/extend/process-flow/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建订单
|
||||
export function orderCreate(data) {
|
||||
return request({
|
||||
url: '/base/order/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新订单
|
||||
export function orderUpdate(data) {
|
||||
return request({
|
||||
url: '/base/order/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除订单
|
||||
export function orderDelete(query) {
|
||||
return request({
|
||||
url: '/base/order/delete',
|
||||
method: 'delete',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 下发订单,绑定的穿工单id,新建不传
|
||||
export function orderIssue(data) {
|
||||
return request({
|
||||
url: '/base/order/issue',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得工单
|
||||
export function getWorkOrderById(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 订单监控
|
||||
export function orderMonitor(query) {
|
||||
return request({
|
||||
url: '/base/order/orderMonitor',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取订单绑定的工单和数量信息,可传订单id列表,map索引为订单id
|
||||
export function orderAssignmentList(query) {
|
||||
return request({
|
||||
url: '/base/order/orderAssignmentList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有客户列表
|
||||
export function customerList() {
|
||||
return request({
|
||||
url: 'base/core-customer/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得订单详情
|
||||
export function orderDetail(query) {
|
||||
return request({
|
||||
url: '/base/order/getDetail',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 产品bom消耗信息
|
||||
export function bomUseNum(query) {
|
||||
return request({
|
||||
url: '/base/material-product-bom/bomUseNum',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 完成订单
|
||||
export function orderFinish(query) {
|
||||
return request({
|
||||
url: '/base/order/finish',
|
||||
method: 'post',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 作废订单
|
||||
export function orderVoid(data) {
|
||||
return request({
|
||||
url: 'base/order/invalid',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function orderSplit(data) {
|
||||
return request({
|
||||
url: '/base/order/split',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getDetailTree(data) {
|
||||
return request({
|
||||
url: 'base/order/getDetailTree',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
export function getDetailTreeInfo(data) {
|
||||
return request({
|
||||
url: 'base/order/getDetailTreeInfoById',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function orderStop(data) {
|
||||
return request({
|
||||
url: 'base/order/stop',
|
||||
method: 'post',
|
||||
params: data
|
||||
})
|
||||
}
|
92
src/api/base/packingInfo.js
Normal file
@ -0,0 +1,92 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-18 09:33:57
|
||||
* @LastEditTime: 2023-10-18 16:18:12
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建包装
|
||||
export function createPacking(data) {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/getPackagingSerialCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 更新包装
|
||||
export function updatePacking(data) {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除包装
|
||||
export function deletePacking(id) {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装
|
||||
export function getPacking(id) {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装分页
|
||||
export function getPackingPage(query) {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出包装 Excel
|
||||
export function exportPackingExcel(query) {
|
||||
return request({
|
||||
url: '/base/packaging-print-log/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
export function getWorkOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getCustomerList(query) {
|
||||
return request({
|
||||
url: '/base/core-customer/listAll',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getModelList(query) {
|
||||
return request({
|
||||
url: '/base/packaging-print-model/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
92
src/api/base/printModel.js
Normal file
@ -0,0 +1,92 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-18 09:33:57
|
||||
* @LastEditTime: 2023-10-19 15:28:00
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建包装
|
||||
export function createPackingModel(data) {
|
||||
return request({
|
||||
url: '/base/packaging-print-model/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装code
|
||||
// export function getCode() {
|
||||
// return request({
|
||||
// url: '/base/packaging-print-log/getPackagingSerialCode',
|
||||
// method: 'get'
|
||||
// })
|
||||
// }
|
||||
// 更新包装
|
||||
export function updatePackingModel(data) {
|
||||
return request({
|
||||
url: '/base/packaging-print-model/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除包装
|
||||
export function deletePackingModel(id) {
|
||||
return request({
|
||||
url: '/base/packaging-print-model/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装
|
||||
export function getPackingModel(id) {
|
||||
return request({
|
||||
url: '/base/packaging-print-model/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得包装分页
|
||||
export function getPackingModelPage(query) {
|
||||
return request({
|
||||
url: '/base/packaging-print-model/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出包装 Excel
|
||||
// export function exportPackingExcel(query) {
|
||||
// return request({
|
||||
// url: '/base/packaging-print-log/export-excel',
|
||||
// method: 'get',
|
||||
// params: query,
|
||||
// responseType: 'blob'
|
||||
// })
|
||||
// }
|
||||
|
||||
// export function getWorkOrderList(query) {
|
||||
// return request({
|
||||
// url: '/base/core-work-order/listbyfilter',
|
||||
// method: 'get',
|
||||
// params: query,
|
||||
// })
|
||||
// }
|
||||
|
||||
// export function getCustomerList(query) {
|
||||
// return request({
|
||||
// url: '/base/core-customer/listAll',
|
||||
// method: 'get',
|
||||
// params: query,
|
||||
// })
|
||||
// }
|
||||
|
||||
export function getTypeList(query) {
|
||||
return request({
|
||||
url: '/base/packaging-print-type/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
8
src/api/base/product.js
Normal file
@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
// 获得产品列表
|
||||
export function getProductAll() {
|
||||
return request({
|
||||
url: '/base/core-product-material/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -2,7 +2,7 @@ import request from '@/utils/request'
|
||||
// 获得所有工厂产线列表
|
||||
export function getLineAll() {
|
||||
return request({
|
||||
url: '/base/production-line/listAll',
|
||||
url: '/base/core-production-line/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -1,3 +1,10 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-17 09:26:38
|
||||
* @LastEditTime: 2023-11-20 15:50:08
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建质量检测信息基础
|
||||
@ -52,3 +59,11 @@ export function exportQualityInspectionDetExcel(query) {
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
export function getQualityInspectionDetList(query) {
|
||||
return request({
|
||||
url: '/base/quality-inspection-det/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
69
src/api/base/qualityScrapDet.js
Normal file
@ -0,0 +1,69 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-11-06 15:38:12
|
||||
* @LastEditTime: 2023-11-06 15:39:39
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建质量检测类型基础
|
||||
export function createQualityScrapDet(data) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新质量检测类型基础
|
||||
export function updateQualityScrapDet(data) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除质量检测类型基础
|
||||
export function deleteQualityScrapDet(id) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得质量检测类型基础
|
||||
export function getQualityScrapDet(id) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-det/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得质量检测类型基础分页
|
||||
export function getQualityScrapDetPage(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出质量检测类型基础 Excel
|
||||
export function exportQualityScrapTypeExcel(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
export function getCode(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-det/getCode',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
100
src/api/base/qualityScrapLog.js
Normal file
@ -0,0 +1,100 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-11-07 15:02:37
|
||||
* @LastEditTime: 2023-11-07 18:32:07
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建质量检测类型基础
|
||||
export function createQualityScrapLog(data) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新质量检测类型基础
|
||||
export function updateQualityScrapLog(data) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除质量检测类型基础
|
||||
export function deleteQualityScrapLog(id) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得质量检测类型基础
|
||||
export function getQualityScrapLog(id) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-log/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得质量检测类型基础分页
|
||||
export function getQualityScrapLogPage(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-log/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出质量检测类型基础 Excel
|
||||
export function exportQualityScrapTypeExcel(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
export function getCode(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-log/getCode',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function getWorkOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getTeamList(query) {
|
||||
return request({
|
||||
url: '/base/group-team/listAll',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getLineList(query) {
|
||||
return request({
|
||||
url: '/base/core-production-line/listAll',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getDetList(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-det/listAll',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
76
src/api/base/qualityScrapType.js
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-11-04 18:27:11
|
||||
* @LastEditTime: 2023-11-06 15:55:24
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建质量检测类型基础
|
||||
export function createQualityScrapType(data) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新质量检测类型基础
|
||||
export function updateQualityScrapType(data) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除质量检测类型基础
|
||||
export function deleteQualityScrapType(id) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得质量检测类型基础
|
||||
export function getQualityScrapType(id) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得质量检测类型基础分页
|
||||
export function getQualityScrapTypePage(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出质量检测类型基础 Excel
|
||||
export function exportQualityScrapTypeExcel(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
export function getCode(query) {
|
||||
return request({
|
||||
url: '/base/quality-scrap-type/getCode',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function getList(query) {
|
||||
return request({
|
||||
url: 'base/quality-scrap-type/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
8
src/api/base/workOrder.js
Normal file
@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
// 获得工单列表
|
||||
export function workOrderList() {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
26
src/api/base/worker.js
Normal file
@ -0,0 +1,26 @@
|
||||
import request from '@/utils/request'
|
||||
// 获得所有员工列表
|
||||
export function getWorkerList() {
|
||||
return request({
|
||||
url: '/base/core-worker/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得员工
|
||||
export function getWorker(query) {
|
||||
return request({
|
||||
url: '/base/core-worker/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得该班组其他可选组员列表(除去现有组员)
|
||||
export function otherWorkerList(query) {
|
||||
return request({
|
||||
url: '/base/group-team-det/otherWorkerList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
@ -2,7 +2,7 @@ import request from '@/utils/request'
|
||||
// 获得所有产线工段列表
|
||||
export function getWorkShopAll() {
|
||||
return request({
|
||||
url: '/base/workshop-section/listAll',
|
||||
url: '/base/core-workshop-section/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -1,23 +1,24 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-09-12 14:07:04
|
||||
* @LastEditTime: 2023-09-13 09:53:45
|
||||
* @LastEditors: zhp
|
||||
* @LastEditTime: 2023-11-10 10:23:43
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getYieldAnalysisPageData(data) {
|
||||
export function getYieldAnalysisPageData(query) {
|
||||
return request({
|
||||
url: '/analysis/production-analysis/getOutput',
|
||||
method: 'post',
|
||||
data: data
|
||||
url: '/base/core-production-line-rec-day/monthList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 产线平衡分析
|
||||
export function getCT(data) {
|
||||
return request({
|
||||
url: '/analysis/production-analysis/getCT',
|
||||
url: '/analysis/equipment-analysis/getCT',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
@ -1,9 +1,16 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-10-21 10:11:01
|
||||
* @LastEditTime: 2023-11-03 19:03:44
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建工厂
|
||||
export function createFactory(data) {
|
||||
return request({
|
||||
url: '/base/factory/create',
|
||||
url: '/base/core-factory/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@ -12,7 +19,7 @@ export function createFactory(data) {
|
||||
// 更新工厂
|
||||
export function updateFactory(data) {
|
||||
return request({
|
||||
url: '/base/factory/update',
|
||||
url: '/base/core-factory/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@ -21,7 +28,7 @@ export function updateFactory(data) {
|
||||
// 删除工厂
|
||||
export function deleteFactory(id) {
|
||||
return request({
|
||||
url: '/base/factory/delete?id=' + id,
|
||||
url: '/base/core-factory/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@ -29,21 +36,30 @@ export function deleteFactory(id) {
|
||||
// 获得工厂
|
||||
export function getFactory(id) {
|
||||
return request({
|
||||
url: '/base/factory/get?id=' + id,
|
||||
url: '/base/core-factory/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得工厂code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/factory/getCode',
|
||||
url: '/base/core-factory/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得工厂分页
|
||||
export function getFactoryPage(query) {
|
||||
return request({
|
||||
url: '/base/factory/page',
|
||||
url: '/base/core-factory/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function getFactoryList(query) {
|
||||
return request({
|
||||
url: '/base/core-factory/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -52,7 +68,7 @@ export function getFactoryPage(query) {
|
||||
// 导出工厂 Excel
|
||||
export function exportFactoryExcel(query) {
|
||||
return request({
|
||||
url: '/base/factory/export-excel',
|
||||
url: '/base/core-factory/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
|
@ -1,17 +1,17 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-09-12 09:44:53
|
||||
* @LastEditTime: 2023-09-15 14:12:26
|
||||
* @LastEditTime: 2023-11-06 18:57:05
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得近24小时产线生产数据
|
||||
export function getPdlDataOneDay(data) {
|
||||
export function getPdlDataOneDay(query) {
|
||||
return request({
|
||||
url: '/monitoring/production-monitor/getPdlDataOneDay',
|
||||
method: 'post',
|
||||
data: data
|
||||
url: '/base/core-production-line-rec-hour/list24h',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
37
src/api/equipment/analysis/statistics.js
Normal file
@ -0,0 +1,37 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-10 09:27:39
|
||||
* @LastEditTime: 2023-11-10 09:30:00
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得设备统计分析
|
||||
export function getEqAnalysis(query) {
|
||||
return request({
|
||||
url: '/analysis/equipment-analysis/statistics',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备统计分析
|
||||
export function exportEqAnalysisExcel(query) {
|
||||
return request({
|
||||
url: '/analysis/equipment-analysis/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备状态追溯
|
||||
export function exportEfficiencyExcel(query) {
|
||||
return request({
|
||||
url: '/analysis/equipment-analysis/export-efficiency',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
60
src/api/equipment/base/alarm/records.js
Normal file
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-08 15:56:52
|
||||
* @LastEditTime: 2023-11-09 17:42:27
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建设备报警处理
|
||||
export function createAlarmHand(data) {
|
||||
return request({
|
||||
url: '/base/equipment-alarm-hand/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备报警处理
|
||||
export function updateAlarmHand(data) {
|
||||
return request({
|
||||
url: '/base/equipment-alarm-hand/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备报警处理
|
||||
export function deleteAlarmHand(id) {
|
||||
return request({
|
||||
url: '/base/equipment-alarm-hand/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
//获得设备报警处理
|
||||
export function getAlarmHand(id) {
|
||||
return request({
|
||||
url: '/base/equipment-alarm-hand/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备报警处理分页
|
||||
export function getAlarmHandPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-alarm-hand/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//获得设备报警记录
|
||||
export function getAlarmLog(id) {
|
||||
return request({
|
||||
url: '/base/equipment-alarm-log/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
61
src/api/equipment/base/inspection/items.js
Normal file
@ -0,0 +1,61 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2024-07-23 13:44:00
|
||||
* @LastEditTime: 2024-07-31 09:34:17
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2024-07-12 15:31:41
|
||||
* @LastEditTime: 2024-07-22 09:33:20
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function deleteData(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-program/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function getItemPageData(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-program/page',
|
||||
method: 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getItemData(id) {
|
||||
return request({
|
||||
url: 'base/equipment-check-program/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function updateItemData(data) {
|
||||
return request({
|
||||
url: 'base/equipment-check-program/update',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function createItemData(data) {
|
||||
return request({
|
||||
url: 'base/equipment-check-program/create',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteProgramTypeData(id) {
|
||||
return request({
|
||||
url: 'base/equipment-check-program-type/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
133
src/api/equipment/base/inspection/record.js
Normal file
@ -0,0 +1,133 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-08 15:56:52
|
||||
* @LastEditTime: 2024-02-28 18:16:56
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 根据设备获得所有巡检内容列表
|
||||
export function getcheckAllList(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备巡检计划记录
|
||||
export function createCheckLog(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备巡检计划记录
|
||||
export function updateCheckLog(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检计划记录
|
||||
export function getEqCheckLog(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-log/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备巡检计划记录
|
||||
export function exportCheckLogExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-log/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备巡检单记录
|
||||
export function exportCheckOrderExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 根据设备获得所有巡检配置列表
|
||||
export function getcheckConfigByEqList(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备巡检记录
|
||||
export function deleteEqCheckLog(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检单详情分页
|
||||
export function getCheckOrderDetPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备巡检单详情
|
||||
export function createCheckOrderDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备巡检单详情
|
||||
export function updateCheckOrderDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备巡检单详情
|
||||
export function deleteCheckOrderDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检计划单
|
||||
export function getEqCheckOrder(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检单分页
|
||||
export function getCheckOrderPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
162
src/api/equipment/base/inspection/settings.js
Normal file
@ -0,0 +1,162 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-08 15:56:52
|
||||
* @LastEditTime: 2024-02-25 22:23:54
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得设备巡检设置
|
||||
export function getEqCheck(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建巡检项目
|
||||
export function createCheckDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新巡检项目
|
||||
export function updateCheckDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除巡检项目
|
||||
export function deleteCheckDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
//巡检项目
|
||||
export function getCheckDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config-det/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得巡检项目分页
|
||||
export function getCheckDetPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检所有列表
|
||||
export function getcheckList(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除巡检内容
|
||||
export function deleteCheck(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检设置code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/equipment-check-config/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建巡检配置
|
||||
export function createCheckConfig(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新巡检配置
|
||||
export function updateCheckConfig(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-config/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 创建巡检单
|
||||
export function createCheckOrder(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新巡检单
|
||||
export function updateCheckOrder(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检单code
|
||||
export function getOrderCode() {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得巡检单
|
||||
export function getCheckOrder(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得巡检单详细
|
||||
export function getCheckOrderDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order-det/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建巡检单详情
|
||||
export function createCheckOrderDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新巡检单详情
|
||||
export function updateCheckOrderDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
26
src/api/equipment/base/maintain/confirm.js
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2024-02-26 15:01:48
|
||||
* @LastEditTime: 2024-02-26 18:09:39
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得设备保养记录分页
|
||||
export function getLogDetPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备巡检单
|
||||
export function getCheckOrder(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
54
src/api/equipment/base/maintain/items.js
Normal file
@ -0,0 +1,54 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2024-07-12 15:31:41
|
||||
* @LastEditTime: 2024-07-30 16:44:47
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除设备保养记录
|
||||
export function deleteData(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-program/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function getItemPageData(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-program/page',
|
||||
method: 'get',
|
||||
params:data
|
||||
})
|
||||
}
|
||||
|
||||
export function getItemData(id) {
|
||||
return request({
|
||||
url: 'base/equipment-maintain-program/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function updateItemData(data) {
|
||||
return request({
|
||||
url: 'base/equipment-maintain-program/update',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function createItemData(data) {
|
||||
return request({
|
||||
url: 'base/equipment-maintain-program/create',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteProgramTypeData(id) {
|
||||
return request({
|
||||
url: 'base/equipment-maintain-program-type/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
104
src/api/equipment/base/maintain/logConfig.js
Normal file
@ -0,0 +1,104 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2024-07-30 15:46:23
|
||||
* @LastEditTime: 2024-07-31 09:18:25
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得设备保养计划配置分页
|
||||
export function getLogPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备保养计划
|
||||
export function createLog(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备保养计划
|
||||
export function updateLog(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得计划code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得计划
|
||||
export function getLog(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备保养计划配置详情分页
|
||||
export function getLogDetPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备保养计划详情
|
||||
export function createLogDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备保养计划详情
|
||||
export function updateLogDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得计划详情
|
||||
export function getLogDet(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备保养计划
|
||||
export function deleteLog(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备保养计划详情
|
||||
export function deleteLogDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
104
src/api/equipment/base/maintain/planconfig.js
Normal file
@ -0,0 +1,104 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2024-02-22 15:14:19
|
||||
* @LastEditTime: 2024-02-23 19:18:22
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得设备保养计划配置分页
|
||||
export function getPlanPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备保养计划
|
||||
export function createPlan(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备保养计划
|
||||
export function updatePlan(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得计划code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得计划
|
||||
export function getPlan(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备保养计划配置详情分页
|
||||
export function getPlanDetPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备保养计划详情
|
||||
export function createPlanDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备保养计划详情
|
||||
export function updatePlanDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得计划详情
|
||||
export function getPlanDet(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan-det/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备保养计划
|
||||
export function deletePlan(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备保养计划详情
|
||||
export function deletePlanDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
80
src/api/equipment/base/maintain/record.js
Normal file
@ -0,0 +1,80 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-08 15:56:52
|
||||
* @LastEditTime: 2024-02-26 17:02:53
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除设备保养记录
|
||||
export function deleteEqMaintainLog(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备保养计划配置
|
||||
export function deleteEqMaintainPlan(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备保养监控
|
||||
export function exportMaintainMonitorExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-plan/monitor-export',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备保养记录
|
||||
export function exportMaintainLogExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出巡检单
|
||||
export function exportCheckOrderExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-check-order/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得保养记录
|
||||
export function getLog(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log/get',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备保养记录详情分页
|
||||
export function getLogDetPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备保养记录详情
|
||||
export function deleteLogDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-maintain-log-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
43
src/api/equipment/base/repair.js
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-10 16:09:33
|
||||
* @LastEditTime: 2023-11-23 20:29:28
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
//获得设备维修
|
||||
export function getEqRepair(id) {
|
||||
return request({
|
||||
url: '/base/equipment-repair-log/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 更新设备维修记录
|
||||
export function updateEqRepair(data) {
|
||||
return request({
|
||||
url: '/base/equipment-repair-log/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除维修记录
|
||||
export function deleteRepair(id) {
|
||||
return request({
|
||||
url: '/base/equipment-repair-log/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备维修
|
||||
export function exportRepairLogExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-repair-log/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
68
src/api/equipment/base/spare-parts/config.js
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-11 16:18:57
|
||||
* @LastEditTime: 2023-11-16 20:52:06
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
//获得备品备件配置
|
||||
export function getSparePartConfig(id) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-config/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备备品备件配置--抽屉
|
||||
export function createConfigDet(data) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-config-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备备品备件配置--抽屉
|
||||
export function deleteConfigDet(id) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-config-det/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得抽屉表格分页
|
||||
export function getConfigDetPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-config-det/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得备品备件列表
|
||||
export function getSparePartList(query) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备备品备件配置
|
||||
export function deleteConfig(id) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-config/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得备品备件分页
|
||||
export function getSparePartPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
16
src/api/equipment/base/spare-parts/list.js
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-22 13:59:17
|
||||
* @LastEditTime: 2023-11-22 13:59:45
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 删除设备备品备件
|
||||
export function deleteSparePart(id) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
45
src/api/equipment/base/spare-parts/monitor.js
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-11-11 16:18:57
|
||||
* @LastEditTime: 2023-11-11 18:44:51
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得抽屉表格分页
|
||||
export function getConfigDetMonitorPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-config-det/monitor',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 创建设备备品备件更换log
|
||||
export function createSparePartLog(data) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-log/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得设备备品备件更换log分页
|
||||
export function getSparePartLogPage(query) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-log/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出设备备品备件更换log
|
||||
export function exportSparePartLogExcel(query) {
|
||||
return request({
|
||||
url: '/base/equipment-spare-part-log/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
121
src/api/extend/processEquMaterialBom.js
Normal file
@ -0,0 +1,121 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-11-07 19:47:48
|
||||
* @LastEditTime: 2024-07-08 14:33:12
|
||||
* @LastEditors: zwq
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得能耗统计查询分页
|
||||
export function processEquMaterialBomPage(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom/page',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function updateProcessEquMaterialBom(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function createProcessEquMaterialBom(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function getProcessEquMaterialBom(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom/get',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteProcessEquMaterialBom(id) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom/delete?id=' + id,
|
||||
method: 'delete',
|
||||
// data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getEquipmentList(data) {
|
||||
return request({
|
||||
url: '/base/core-equipment/listAll',
|
||||
method: 'get',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteProcessEquMaterialBomDet(id) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom-det/delete?id=' + id,
|
||||
method: 'delete',
|
||||
// data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function processEquMaterialBomDetPage(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom-det/page',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function updateProcessEquMaterialBomDet(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function createProcessEquMaterialBomDet(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getProcessEquMaterialBomDet(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom-det/get',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getMaterialList(data) {
|
||||
return request({
|
||||
url: '/base/core-product-material/listAll',
|
||||
method: 'get',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
export function getMaterialCode(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom/getCode',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function createProcessEquMaterialBomDetList(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-material-bom-det/createByList',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
122
src/api/extend/processEquValueBom.js
Normal file
@ -0,0 +1,122 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-11-09 09:37:14
|
||||
* @LastEditTime: 2023-11-23 14:15:45
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function processEquValueBomPage(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom/page',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function updateProcessEquValueBom(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function createProcessEquValueBom(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function getProcessEquValueBom(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom/get',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteProcessEquValueBom(id) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom/delete?id=' + id,
|
||||
method: 'delete',
|
||||
// data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getEquipmentList(data) {
|
||||
return request({
|
||||
url: '/base/core-equipment/listAll',
|
||||
method: 'get',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteProcessEquValueBomDet(id) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom-det/delete?id=' + id,
|
||||
method: 'delete',
|
||||
// data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function processEquValueBomDetPage(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom-det/page',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function updateProcessEquValueBomDet(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom-det/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function createProcessEquValueBomDet(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom-det/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getProcessEquValueBomDet(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom-det/get',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getValueList(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom-det/getEnableValuesByEquId',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getValueCode(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom/getCode',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function createProcessEquValueBomDetList(data) {
|
||||
return request({
|
||||
url: '/extend/process-equ-value-bom-det/createByList',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
54
src/api/home.js
Normal file
@ -0,0 +1,54 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2024-09-12 13:38:33
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2024-09-13 15:25:07
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
// 获得首页生产总览以及工单监控
|
||||
export function getHomeOrder(data) {
|
||||
return request({
|
||||
url: '/base/core-work-order/homeOrder',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得首页生产总览-完成订单数量
|
||||
export function getHomeOrderNum(data) {
|
||||
return request({
|
||||
url: '/base/order/homeOrder',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 首页设备总览
|
||||
export function getHomeEquipment() {
|
||||
return request({
|
||||
url: '/monitoring/equipment-monitor/homeEquipment',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 首页设备报警信息
|
||||
export function getHomeEquipmentAlarmList() {
|
||||
return request({
|
||||
url: '/base/equipment-alarm-realtime/homeEquipmentAlarmList',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获取是否存在报警(右上角红点)
|
||||
export function getHomeGetAlarm() {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/homeGetAlarm',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 条件查询获得异常警告列表
|
||||
export function getHomeAlarmList(query) {
|
||||
return request({
|
||||
url: '/base/core-alarm-log/listbyfilter',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
27
src/api/monitoring/groupTeamView.js
Normal file
@ -0,0 +1,27 @@
|
||||
import request from '@/utils/request'
|
||||
// 执行班组追溯 根据工单
|
||||
export function getByWorkOrder(query) {
|
||||
return request({
|
||||
url: '/monitoring/schedulingmonitoring/getByWorkOrder',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 执行班组追溯详情 根据工单班组
|
||||
export function getByTeam(query) {
|
||||
return request({
|
||||
url: '/monitoring/schedulingmonitoring/getByTeam',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取某次排班的生产情况详情
|
||||
export function getByScheduling(query) {
|
||||
return request({
|
||||
url: '/monitoring/schedulingmonitoring/getByScheduling',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
19
src/api/monitoring/orderEnergy.js
Normal file
@ -0,0 +1,19 @@
|
||||
import request from '@/utils/request'
|
||||
// 获取工单信息
|
||||
export function getWorkOrderMsg(data) {
|
||||
return request({
|
||||
url: '/monitoring/energy-work-order/getWorkOrderMsg',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取工单能源消耗数据
|
||||
export function getOrderEnergyData(data) {
|
||||
return request({
|
||||
url: '/monitoring/energy-work-order/getData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
@ -1,9 +1,16 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-17 09:26:38
|
||||
* @LastEditTime: 2023-11-02 17:00:17
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建质量检查信息记录表
|
||||
export function createQualityInspectionRecord(data) {
|
||||
return request({
|
||||
url: '/monitoring/quality-inspection-record/create',
|
||||
url: '/base/quality-inspection-record/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@ -12,7 +19,7 @@ export function createQualityInspectionRecord(data) {
|
||||
// 更新质量检查信息记录表
|
||||
export function updateQualityInspectionRecord(data) {
|
||||
return request({
|
||||
url: '/monitoring/quality-inspection-record/update',
|
||||
url: '/base/quality-inspection-record/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@ -21,7 +28,7 @@ export function updateQualityInspectionRecord(data) {
|
||||
// 删除质量检查信息记录表
|
||||
export function deleteQualityInspectionRecord(id) {
|
||||
return request({
|
||||
url: '/monitoring/quality-inspection-record/delete?id=' + id,
|
||||
url: '/base/quality-inspection-record/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@ -29,7 +36,7 @@ export function deleteQualityInspectionRecord(id) {
|
||||
// 获得质量检查信息记录表
|
||||
export function getQualityInspectionRecord(id) {
|
||||
return request({
|
||||
url: '/monitoring/quality-inspection-record/get?id=' + id,
|
||||
url: '/base/quality-inspection-record/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@ -37,7 +44,7 @@ export function getQualityInspectionRecord(id) {
|
||||
// 获得质量检查信息记录表分页
|
||||
export function getQualityInspectionRecordPage(query) {
|
||||
return request({
|
||||
url: '/monitoring/quality-inspection-record/page',
|
||||
url: '/base/quality-inspection-record/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -46,7 +53,7 @@ export function getQualityInspectionRecordPage(query) {
|
||||
// 导出质量检查信息记录表 Excel
|
||||
export function exportQualityInspectionRecordExcel(query) {
|
||||
return request({
|
||||
url: '/monitoring/quality-inspection-record/export-excel',
|
||||
url: '/base/quality-inspection-record/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
|
48
src/api/monitoring/statisticalData.js
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-11-07 14:10:18
|
||||
* @LastEditTime: 2023-11-16 17:49:52
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得质量检查信息记录表分页
|
||||
export function getStatisticalDataPage(query) {
|
||||
return request({
|
||||
url: '/base/statistical-data/getStatisticData',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getWorkOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
export function getProductList(query) {
|
||||
return request({
|
||||
url: '/base/core-product-material/listAll',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getInspectionData(query) {
|
||||
return request({
|
||||
url: '/base/statistical-data/getInspectionData',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getRecordInOneDay(query) {
|
||||
return request({
|
||||
url: '/analysis/record-in-one-day/get',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
28
src/api/monitoring/teamProduction.js
Normal file
@ -0,0 +1,28 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得排班信息分页 建议size 150
|
||||
export function groupTeamSchedulingPage(query) {
|
||||
return request({
|
||||
url: '/base/group-team-scheduling/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得不同产线每小时报废数据,用于班组检测 班组生产情况详情(动态结构)
|
||||
export function getSchedulingMonitoringRecord(query) {
|
||||
return request({
|
||||
url: '/base/quality-inspection-record/getSchedulingMonitoringRecord',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获得所有列表
|
||||
export function groupClassesListAll(query) {
|
||||
return request({
|
||||
url: '/base/group-classes/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
35
src/api/quality/deviceParameters.js
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-18 09:33:57
|
||||
* @LastEditTime: 2023-11-03 09:31:17
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 获得物料信息追溯page
|
||||
export function getTreeData(query) {
|
||||
return request({
|
||||
url: '/base/core-factory/getTreeByWorkOrder',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getWorkOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
// 导出物料信息
|
||||
export function exportEnergyPlcExcel(query) {
|
||||
return request({
|
||||
url: '/base/material-use-log/materialTraceExport',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
35
src/api/quality/materialTraceability.js
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-18 09:33:57
|
||||
* @LastEditTime: 2023-10-31 10:28:51
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 获得物料信息追溯page
|
||||
export function getMaterialUseLogPage(query) {
|
||||
return request({
|
||||
url: '/base/material-use-log/materialTrace',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getWorkOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
// 导出物料信息
|
||||
export function exportEnergyPlcExcel(query) {
|
||||
return request({
|
||||
url: '/base/material-use-log/materialTraceExport',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
43
src/api/quality/processTraceability.js
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-31 15:05:06
|
||||
* @LastEditTime: 2023-11-28 09:28:05
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 获得工艺信息追溯page
|
||||
export function getProcessTraceabilityPage(query) {
|
||||
return request({
|
||||
url: '/extend/process-retrospect/get',
|
||||
method: 'post',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getWorkOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
export function getCoreProduct(id) {
|
||||
return request({
|
||||
url: '/base/core-product/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出物料信息
|
||||
// export function exportEnergyPlcExcel(query) {
|
||||
// return request({
|
||||
// url: '/base/material-use-log/materialTraceExport',
|
||||
// method: 'get',
|
||||
// params: query,
|
||||
// responseType: 'blob'
|
||||
// })
|
||||
// }
|
43
src/api/quality/processTraceabilityDetail.js
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-18 09:33:57
|
||||
* @LastEditTime: 2023-11-09 15:33:20
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 获得物料信息追溯page
|
||||
export function getDetMaterial(query) {
|
||||
return request({
|
||||
url: '/extend/process-retrospect/getDetMaterial',
|
||||
method: 'post',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getDetValue(query) {
|
||||
return request({
|
||||
url: '/extend/process-retrospect/getDetValue',
|
||||
method: 'post',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
// export function getWorkOrderList(query) {
|
||||
// return request({
|
||||
// url: '/base/core-work-order/listbyfilter',
|
||||
// method: 'get',
|
||||
// params: query,
|
||||
// })
|
||||
// }
|
||||
// // 导出物料信息
|
||||
// export function exportEnergyPlcExcel(query) {
|
||||
// return request({
|
||||
// url: '/base/material-use-log/materialTraceExport',
|
||||
// method: 'get',
|
||||
// params: query,
|
||||
// responseType: 'blob'
|
||||
// })
|
||||
// }
|
35
src/api/quality/rawMaterialTraceability.js
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2023-10-31 10:55:20
|
||||
* @LastEditTime: 2023-10-31 15:05:30
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 获得原料信息追溯page
|
||||
export function getRawMaterialPage(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order-material/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getWorkOrderList(query) {
|
||||
return request({
|
||||
url: '/base/core-work-order/listbyfilter',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
// 导出物料信息
|
||||
export function exportEnergyPlcExcel(query) {
|
||||
return request({
|
||||
url: '/base/material-use-log/materialTraceExport',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
84
src/api/warehouse/warehouse-area-setup.js
Normal file
@ -0,0 +1,84 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-02 16:20:15
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2024-08-09 09:55:56
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建库区设置
|
||||
export function createWarehouseArea(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新库区设置
|
||||
export function updateWarehouseArea(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除库区设置
|
||||
export function deleteWarehouseArea(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库区设置
|
||||
export function getWarehouseArea(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库区设置列表
|
||||
export function getWarehouseAreaList(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/listAll?warehouseId=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库区设置列表
|
||||
export function getWarehouseAreaListAll() {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库区设置分页
|
||||
export function getWarehouseAreaPage(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/page',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
// 获得code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 导出库区设置 Excel
|
||||
export function exportWarehouseAreaExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-area/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
75
src/api/warehouse/warehouse-info.js
Normal file
@ -0,0 +1,75 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-02 14:21:18
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2023-11-02 14:34:29
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建仓库
|
||||
export function createWarehouse(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新仓库
|
||||
export function updateWarehouse(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除仓库
|
||||
export function deleteWarehouse(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得仓库
|
||||
export function getWarehouse(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得仓库列表
|
||||
export function getWarehouseList() {
|
||||
return request({
|
||||
url: '/extend/warehouse/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得仓库code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/extend/warehouse/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得仓库分页
|
||||
export function getWarehousePage(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出仓库 Excel
|
||||
export function exportWarehouseExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
91
src/api/warehouse/warehouse-location-setup.js
Normal file
@ -0,0 +1,91 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-02 16:20:15
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2024-08-21 11:03:14
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建库位设置
|
||||
export function createWarehouseLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新库位设置
|
||||
export function updateWarehouseLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除库位设置
|
||||
export function deleteWarehouseLocation(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库位设置
|
||||
export function getWarehouseLocation(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 库位存储详情
|
||||
export function getStoreInfo(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/getStoreInfo?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得库位设置列表
|
||||
export function getWarehouseLocationTree() {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/getTree',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库位设置列表
|
||||
export function getWarehouseLocationList() {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库位设置分页
|
||||
export function getWarehouseLocationPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/page',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 导出库位设置 Excel
|
||||
export function exportWarehouseLocationExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
84
src/api/warehouse/warehouse-setup.js
Normal file
@ -0,0 +1,84 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-02 16:20:15
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2024-07-30 14:14:48
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建仓库设置
|
||||
export function createWarehouse(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新仓库设置
|
||||
export function updateWarehouse(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除仓库设置
|
||||
export function deleteWarehouse(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得仓库设置
|
||||
export function getWarehouse(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得仓库设置列表
|
||||
export function getWarehouseList() {
|
||||
return request({
|
||||
url: '/extend/warehouse/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得仓库首页统计信息
|
||||
export function getWarehouseAllInfo() {
|
||||
return request({
|
||||
url: '/extend/warehouse/getAllInfo',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得仓库设置分页
|
||||
export function getWarehousePage(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse/page',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
// 获得code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/extend/warehouse/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 导出仓库设置 Excel
|
||||
export function exportWarehouseExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
76
src/api/warehouse/warehouseGoods.js
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-02 16:20:15
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2023-11-03 15:26:05
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建物品
|
||||
export function createWarehouseGoods(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新物品
|
||||
export function updateWarehouseGoods(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除物品
|
||||
export function deleteWarehouseGoods(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物品
|
||||
export function getWarehouseGoods(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物品列表
|
||||
export function getListByType(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/getListByType?type=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得物品分页
|
||||
export function getWarehouseGoodsPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/page',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 导出物品 Excel
|
||||
export function exportWarehouseGoodsExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-goods/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
98
src/api/warehouse/warehouseLocation.js
Normal file
@ -0,0 +1,98 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-02 14:31:42
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2024-08-02 15:51:37
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建库位
|
||||
export function createWarehouseLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新库位
|
||||
export function updateWarehouseLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除库位
|
||||
export function deleteWarehouseLocation(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库位
|
||||
export function getWarehouseLocation(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得库位列表(通过仓库id)
|
||||
export function listByWarehouse(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/listByWarehouse',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
// 获得库位列表(All)
|
||||
export function listAll() {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/listAll',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得库位code
|
||||
export function getCode() {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/getCode',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得库位分页
|
||||
export function getWarehouseLocationPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/page',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得库存总览数据
|
||||
export function getOverview(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-monitoring/getOverview',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得库位占用率数据
|
||||
export function getRate(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-monitoring/getRate',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导出库位 Excel
|
||||
export function exportWarehouseLocationExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
91
src/api/warehouse/warehouseRealtime.js
Normal file
@ -0,0 +1,91 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建出入库-无库位-入库
|
||||
export function createWarehouseRealtime(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 创建出入库-无库位-出库
|
||||
export function outWarehouseRealtime(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/out',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 更新出入库-无库位
|
||||
export function updateWarehouseRealtime(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除出入库-无库位
|
||||
export function deleteWarehouseRealtime(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得出入库-无库位
|
||||
export function getWarehouseRealtime(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得出入库-无库位-展开详情
|
||||
export function getWarehouseRealtimeDet(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/getDet?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得出入库-无库位-批次列表
|
||||
export function getBatchList(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/getBatchList?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得出入库-无库位分页
|
||||
export function getWarehouseRealtimePage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/page',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得库存列表分页
|
||||
export function inventoryPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/allPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得出入库-无库位-历史分页
|
||||
export function getWarehouseRealtimeHisPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-his/page',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导出出入库-无库位 Excel
|
||||
export function exportWarehouseRealtimeExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
110
src/api/warehouse/warehouseRealtimeLocation.js
Normal file
@ -0,0 +1,110 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建出入库-有库位
|
||||
export function createWarehouseRealtimeLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新出入库-有库位
|
||||
export function updateWarehouseRealtimeLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 出入库-有库位 > 出库操作
|
||||
export function outWarehouseRealtimeLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/out',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 出入库-有库位 > 移库操作
|
||||
export function moveWarehouseRealtimeLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/move',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 出入库-有库位 > 批量出库操作
|
||||
export function outWarehouseRealtimeLocationList(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/outList',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 出入库-有库位 > 入库操作
|
||||
export function inWarehouseRealtimeLocation(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/in',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除出入库-有库位
|
||||
export function deleteWarehouseRealtimeLocation(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得出入库-有库位
|
||||
export function getWarehouseRealtimeLocation(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得出入库历史-有库位详情列表
|
||||
export function getWarehouseLocationHisDet(id) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location-his-det/list?hisId=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 获得出入库-有库位分页
|
||||
export function getWarehouseRealtimeLocationPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/page',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得出入库历史-有库位分页
|
||||
export function getWarehouseLocationHisPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location-his/inAndOutPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获得移库历史-有库位分页
|
||||
export function getMoveHisPage(data) {
|
||||
return request({
|
||||
url: '/extend/warehouse-location-his/movePage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导出出入库-有库位 Excel
|
||||
export function exportWarehouseRealtimeLocationExcel(query) {
|
||||
return request({
|
||||
url: '/extend/warehouse-realtime-location/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
12
src/assets/icons/svg/alarm-home.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>切片</title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.300397">
|
||||
<g id="异常警告" transform="translate(-1468.000000, -122.000000)" fill="#000000" fill-rule="nonzero">
|
||||
<g id="编组" transform="translate(1468.000000, 122.000000)">
|
||||
<rect id="矩形" opacity="0" x="0" y="0" width="20" height="20"></rect>
|
||||
<path d="M9.30923195,2.02433324 C9.77491134,1.74507539 10.3606909,1.77046228 10.8045305,2.10049178 L16.9348344,6.65833873 L17.0554341,6.75466057 C17.5620417,7.18880359 17.858553,7.83620671 17.858553,8.52258247 L17.858553,15.8725474 L17.8541939,16.0176907 C17.7819026,17.2175976 16.8194895,18.1676569 15.6429193,18.1676569 L4.35708075,18.1676569 L4.21696353,18.1631414 C3.05860736,18.088257 2.14144699,17.0913218 2.14144699,15.8725474 L2.14144699,8.52279895 L2.14667089,8.36514909 C2.19177438,7.68568874 2.52672869,7.05865465 3.06516484,6.65833926 L9.19546584,2.10049447 Z M10.0594243,2.9649471 C9.98106349,2.94811965 9.89748036,2.96494528 9.8295714,3.01542217 L3.69926285,7.57327258 L3.6053427,7.65125711 C3.36716077,7.8716339 3.22876238,8.18810985 3.22876238,8.52279895 L3.22876238,15.8725474 L3.2339275,15.9851099 C3.28860185,16.5778056 3.77058378,17.041339 4.35708075,17.041339 L9.37562475,17.0406466 L9.45894699,16.9543314 L9.45935013,12.0522655 L9.46519481,11.973647 C9.50370053,11.7169857 9.72785233,11.5189729 10,11.5189729 C10.2788031,11.5189729 10.5102651,11.7278709 10.5378921,11.998001 L10.5407652,12.056799 L10.5406137,16.9543234 L10.6239359,17.0406466 L15.6429082,17.041339 L15.7515746,17.0359886 C16.3237555,16.9793531 16.7712376,16.4800823 16.7712376,15.8725474 L16.7712376,8.52279895 L16.7648256,8.39829639 C16.7308293,8.06937748 16.5632607,7.76840693 16.3007289,7.57326642 L10.1704369,3.01542833 L10.1168893,2.98387768 Z" id="形状结合" stroke="#000000" stroke-width="0.1"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
15
src/assets/icons/svg/alarm.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="3-设备管理-设备保养-保养项目设置" transform="translate(-1713.000000, -32.000000)">
|
||||
<g id="icon/banner/消息" transform="translate(1713.000000, 32.000000)">
|
||||
<g id="编组">
|
||||
<rect id="矩形" x="0" y="0" width="24" height="24"></rect>
|
||||
<path d="M13.875,20.6585751 L13.9796526,20.6647179 C14.3523487,20.7094224 14.6,20.9943408 14.6,21.3949387 C14.6,21.793137 14.3546839,22.079785 13.9805499,22.1250542 L13.8720425,22.1313899 L10.125,22.1313023 L10.0203474,22.1251595 C9.64765132,22.080455 9.4,21.7955365 9.4,21.3949387 C9.4,20.9967404 9.64531608,20.7100924 10.0194501,20.6648232 L10.1279575,20.6584875 L13.875,20.6585751 Z M12,0.930991914 L12.114202,0.938656892 C12.4461465,0.982430206 12.6786924,1.21840343 12.7188472,1.56053658 L12.7250824,1.6705356 L12.724,2.83025932 L12.975759,2.90430031 L13.2244725,2.9413468 C16.687784,3.51732717 19.3536312,6.48703662 19.5838508,10.0724929 L19.5959741,10.3244915 L19.6000064,10.5775585 L19.6,18.0623023 L20.7499628,18.1131205 L20.8641749,18.1204751 C21.1961465,18.1642484 21.4286924,18.4002216 21.4688472,18.7423548 L21.4750824,18.8523538 L21.4678171,18.9675593 C21.4246486,19.3025982 21.1922705,19.5388574 20.8555499,19.5795997 L20.7470425,19.5859353 L3.25,19.5859353 L3.14534744,19.5797049 C2.77265132,19.5350005 2.525,19.250082 2.525,18.8494841 C2.525,18.4512975 2.77030543,18.1646386 3.1443756,18.1193685 L3.25285992,18.113033 L4.35003719,18.1123023 L4.4,10.5767569 L4.40403631,10.3246942 C4.524824,6.55675169 7.34298069,3.38911146 11.0266305,2.90405757 L11.229889,2.87995432 L11.275,1.66770897 L11.2823355,1.55103724 C11.3211556,1.24947788 11.5116242,1.02739927 11.7956288,0.955808301 L11.897531,0.937079811 L12,0.930991914 Z M12,4.31312051 C8.70150639,4.31312051 5.97362451,6.99932148 5.85407645,10.3480678 L5.85000794,10.5758657 L5.849,18.0622956 L18.099,18.1123023 L18.099,18.0619919 L18.1,17.9609919 L18.15,10.5767635 L18.1459233,10.3480647 C18.0266869,7.00812062 15.3071214,4.31312051 12,4.31312051 Z" id="形状结合" fill="#000000" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
<circle id="Oval-1-Copy-2" fill="#F5222D" cx="18" cy="6" r="3"></circle>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
27
src/assets/icons/svg/back.svg
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="72px" height="72px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>rollback</title>
|
||||
<defs>
|
||||
<filter x="-1.1%" y="-5.8%" width="102.1%" height="115.3%" filterUnits="objectBoundingBox" id="filter-1">
|
||||
<feOffset dx="0" dy="5" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
||||
<feGaussianBlur stdDeviation="6" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
||||
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0926573427 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
|
||||
<feMerge>
|
||||
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
||||
<feMergeNode in="SourceGraphic"></feMergeNode>
|
||||
</feMerge>
|
||||
</filter>
|
||||
</defs>
|
||||
<g id="页面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="页内多种导航方式" transform="translate(-1914.000000, -745.000000)" fill-rule="nonzero">
|
||||
<g id="编组-16" filter="url(#filter-1)" transform="translate(94.000000, 641.000000)">
|
||||
<g id="编组-3备份" transform="translate(1816.000000, 96.000000)">
|
||||
<g id="rollback" transform="translate(16.000000, 15.000000)">
|
||||
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="20" height="20"></rect>
|
||||
<path d="M11.390625,3.78125 L5.71875,3.78125 L5.71875,2.625 C5.71875,2.5203125 5.5984375,2.4625 5.5171875,2.5265625 L3.2984375,4.2765625 C3.234375,4.3265625 3.234375,4.4234375 3.2984375,4.4734375 L5.5171875,6.2234375 C5.5984375,6.2875 5.71875,6.2296875 5.71875,6.125 L5.71875,4.96875 L11.203125,4.96875 C11.7554097,4.96875 12.203125,5.41646525 12.203125,5.96875 L12.203125,11.3125 C12.203125,11.8647847 11.7554097,12.3125 11.203125,12.3125 L2.93775156,12.3125 L2.93775156,12.3125 C2.55569144,12.3125 2.36466138,12.4938859 2.36466138,12.8566576 C2.36466138,13.5 2.93775156,13.5 2.93775156,13.5 C2.93775156,13.5 5.75537604,13.5 11.390625,13.5 C13,13.5 13.390625,12.8986083 13.390625,11.9909216 L13.390625,4.96875 C13.390625,4.06071182 13,3.78125 11.390625,3.78125 Z" id="路径" fill="#0B58FF"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
12
src/assets/icons/svg/exitbtn.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>exit</title>
|
||||
<g id="7能源管理" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="系统退出" transform="translate(-1783.000000, -56.000000)" fill="#000000" fill-rule="nonzero">
|
||||
<g id="exit" transform="translate(1783.000000, 56.000000)">
|
||||
<rect id="矩形" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M12.0719591,1.5140625 C12.3862828,1.52338993 12.6391466,1.78322084 12.6391466,2.1015625 C12.6391466,2.41990416 12.3862828,2.67973507 12.0690068,2.68910609 L3.64375,2.6890625 L3.54375,2.7890625 L3.54375,13.26875 L3.64375,13.36875 L12.0690068,13.3687064 C12.3862828,13.3780774 12.6391466,13.6379083 12.6391466,13.95625 C12.6391466,14.2745917 12.3862828,14.5344226 12.0690068,14.5437936 L3.0890625,14.5437936 C2.69272847,14.5437936 2.36875,14.2197715 2.36875,13.8234375 L2.36875,2.234375 C2.36875,1.83804097 2.69272847,1.5140625 3.0890625,1.5140625 Z M10.8144607,5.05039818 C11.0425957,4.82226311 11.4167793,4.82226311 11.6449143,5.05039818 L14.2074143,7.61289818 C14.4357222,7.84120602 14.4353075,8.21522958 14.2060583,8.44314597 L11.6433518,11.0058518 C11.4152168,11.2339869 11.0410332,11.2339869 10.8128982,11.0058518 C10.5847631,10.7777168 10.5847631,10.4035332 10.8128982,10.1753982 L12.1519607,8.83633568 L12.08125,8.665625 L7.1640625,8.665625 C6.81403169,8.665625 6.5265625,8.37857547 6.5265625,8.028125 C6.5265625,7.67809419 6.81361203,7.390625 7.1640625,7.390625 L12.0828125,7.390625 L12.1535232,7.21991432 L10.8144607,5.88085182 C10.5863256,5.65271675 10.5863256,5.27853325 10.8144607,5.05039818 Z" id="形状结合"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
20
src/assets/icons/svg/helpbtn.svg
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>编组 17</title>
|
||||
<g id="页面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.695141">
|
||||
<g id="最新参考" transform="translate(-1780.000000, -57.000000)" fill="#000000" fill-rule="nonzero">
|
||||
<g id="编组-4" transform="translate(1772.000000, 48.000000)">
|
||||
<g id="编组-17" transform="translate(8.000000, 9.000000)">
|
||||
<rect id="矩形备份-2" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="文档" transform="translate(2.436519, 1.472460)">
|
||||
<path d="M9.61879642,0.990942446 C9.83682412,0.990942446 10.0548518,1.18867806 10.0548518,1.38641367 L10.0548518,11.6686655 C10.0548518,11.8664011 9.83682412,12.0641367 9.61879642,12.0641367 L3.60123204,12.0641367 L1.02850524,9.69130935 L1.02850524,1.38641367 C1.02850524,1.18867806 1.24653294,0.990942446 1.46456063,0.990942446 L9.61879642,0.990942446 M9.61879642,0.2 L1.50816617,0.2 C0.810477546,0.2 0.2,0.753659712 0.2,1.38641367 L0.2,10.0076863 L3.25238773,12.8550791 L9.61879642,12.8550791 C10.316485,12.8550791 10.9269626,12.3014194 10.9269626,11.6686655 L10.9269626,1.38641367 C10.9269626,0.753659712 10.316485,0.2 9.61879642,0.2 Z" id="形状"></path>
|
||||
<path d="M9.61879642,0 C10.4228194,0 11.1269626,0.638607809 11.1269626,1.38641367 L11.1269626,11.6686655 C11.1269626,12.4164713 10.4228194,13.0550791 9.61879642,13.0550791 L3.25238773,13.0550791 L3.11596256,13.0013261 L0.0635748259,10.1539333 L0,10.0076863 L0,1.38641367 C0,0.638607809 0.704143212,0 1.50816617,0 L9.61879642,0 Z M9.61879642,0.4 L1.50816617,0.4 C0.91681188,0.4 0.4,0.868711615 0.4,1.38641367 L0.4,9.921 L3.331,12.6550791 L9.61879642,12.6550791 C10.1707271,12.6550791 10.657723,12.2467792 10.7202028,11.7714283 L10.7269626,11.6686655 L10.7269626,1.38641367 C10.7269626,0.868711615 10.2101507,0.4 9.61879642,0.4 Z M9.61879642,0.790942446 C9.94315845,0.790942446 10.2548518,1.07362615 10.2548518,1.38641367 L10.2548518,11.6686655 C10.2548518,11.981453 9.94315845,12.2641367 9.61879642,12.2641367 L3.60123204,12.2641367 L3.46563766,12.2111542 L0.892910861,9.83832691 L0.828505241,9.69130935 L0.828505241,1.38641367 C0.828505241,1.07362615 1.1401986,0.790942446 1.46456063,0.790942446 L9.61879642,0.790942446 Z M9.69667678,1.08901006 L1.38668992,1.08901006 C1.27286315,1.08901006 1.14612572,1.20395189 1.14612572,1.28821491 L1.14561083,9.66174324 L3.64342649,11.9659298 L9.69667678,11.9660691 C9.79153243,11.9660691 9.8953538,11.8862484 9.92732605,11.8108781 L9.93724098,11.7668642 L9.93724098,1.28821491 C9.93724098,1.20395189 9.81050356,1.08901006 9.69667678,1.08901006 Z" id="形状"></path>
|
||||
<path d="M4.54092961,3.67913093 L2.25985278,3.67913093 C2.22052387,3.67913093 2.22052387,3.65291165 2.22052387,3.65291165 L2.22052387,2.91877199 C2.22052387,2.89255271 2.22052387,2.89255271 2.25985278,2.89255271 L4.54092961,2.89255271 C4.58025852,2.89255271 4.58025852,2.89255271 4.58025852,2.91877199 L4.58025852,3.65291165 L4.54092961,3.67913093 Z M8.86710981,5.44893192 L2.25985278,5.44893192 C2.22052387,5.44893192 2.22052387,5.44893192 2.22052387,5.40960301 L2.22052387,4.70168261 C2.22052387,4.6623537 2.22052387,4.6623537 2.25985278,4.6623537 L8.86710981,4.6623537 C8.90643872,4.6623537 8.90643872,4.6623537 8.90643872,4.70168261 L8.90643872,5.40960301 L8.86710981,5.44893192 Z M8.86710981,7.41537746 L2.25985278,7.41537746 C2.22052387,7.41537746 2.22052387,7.41537746 2.22052387,7.37604855 L2.22052387,6.66812815 C2.22052387,6.62879924 2.22052387,6.62879924 2.25985278,6.62879924 L8.86710981,6.62879924 C8.90643872,6.62879924 8.90643872,6.62879924 8.90643872,6.66812815 L8.90643872,7.37604855 L8.86710981,7.41537746 Z" id="形状"></path>
|
||||
<path d="M8.86710981,6.44841431 C9.00606257,6.44841431 9.08682365,6.5291754 9.08682365,6.66812815 L9.08682365,7.37604855 L9.03399013,7.50359996 L8.99466122,7.54292887 L8.86710981,7.59576239 L2.25985278,7.59576239 C2.12090003,7.59576239 2.04013894,7.51500131 2.04013894,7.37604855 L2.04013894,6.66812815 C2.04013894,6.5291754 2.12090003,6.44841431 2.25985278,6.44841431 L8.86710981,6.44841431 Z M8.72520451,6.80870958 L2.40090881,6.80870958 L2.40090881,7.23441802 L8.72520451,7.23441802 L8.72520451,6.80870958 Z M8.86710981,4.48196877 C9.00606257,4.48196877 9.08682365,4.56272985 9.08682365,4.70168261 L9.08682365,5.40960301 L9.03399013,5.53715441 L8.99466122,5.57648333 L8.86710981,5.62931685 L2.25985278,5.62931685 C2.12090003,5.62931685 2.04013894,5.54855576 2.04013894,5.40960301 L2.04013894,4.70168261 C2.04013894,4.56272985 2.12090003,4.48196877 2.25985278,4.48196877 L8.86710981,4.48196877 Z M8.72520451,4.84251382 L2.40090881,4.84251382 L2.40090881,5.26822226 L8.72520451,5.26822226 L8.72520451,4.84251382 Z M4.54092961,2.71216778 C4.66811215,2.71216778 4.76064346,2.77385532 4.76064346,2.91877199 L4.76064346,3.65291165 L4.68031808,3.80300099 L4.64098917,3.82922026 L4.54092961,3.85951586 L2.25985278,3.85951586 C2.18859958,3.85951586 2.12331983,3.83050264 2.08113204,3.77425225 C2.04130723,3.6964836 2.04130723,3.6964836 2.04013894,3.65291165 L2.04013894,2.91877199 C2.04013894,2.77385532 2.13267025,2.71216778 2.25985278,2.71216778 L4.54092961,2.71216778 Z M4.39957385,3.07293764 L2.40090881,3.07293764 L2.40090881,3.49864608 L4.39957385,3.49864608 L4.39957385,3.07293764 Z" id="形状"></path>
|
||||
<path d="M3.50158987,12.5394187 L3.50158987,9.83587533 L0.88525753,9.83587533 L0.88525753,8.96376455 L3.93764526,8.96376455 C4.19927849,8.96376455 4.37370065,9.1381867 4.37370065,9.39981994 L4.37370065,12.5394187 L3.50158987,12.5394187 Z" id="路径"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.8 KiB |
15
src/assets/icons/svg/home-alarm-white-circle.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-1713.000000, -32.000000)">
|
||||
<g id="icon/banner/消息" transform="translate(1713.000000, 32.000000)">
|
||||
<g id="编组">
|
||||
<rect id="矩形" x="0" y="0" width="24" height="24"></rect>
|
||||
<path d="M13.875,20.6585751 L13.9796526,20.6647179 C14.3523487,20.7094224 14.6,20.9943408 14.6,21.3949387 C14.6,21.793137 14.3546839,22.079785 13.9805499,22.1250542 L13.8720425,22.1313899 L10.125,22.1313023 L10.0203474,22.1251595 C9.64765132,22.080455 9.4,21.7955365 9.4,21.3949387 C9.4,20.9967404 9.64531608,20.7100924 10.0194501,20.6648232 L10.1279575,20.6584875 L13.875,20.6585751 Z M12,0.930991914 L12.114202,0.938656892 C12.4461465,0.982430206 12.6786924,1.21840343 12.7188472,1.56053658 L12.7250824,1.6705356 L12.724,2.83025932 L12.975759,2.90430031 L13.2244725,2.9413468 C16.687784,3.51732717 19.3536312,6.48703662 19.5838508,10.0724929 L19.5959741,10.3244915 L19.6000064,10.5775585 L19.6,18.0623023 L20.7499628,18.1131205 L20.8641749,18.1204751 C21.1961465,18.1642484 21.4286924,18.4002216 21.4688472,18.7423548 L21.4750824,18.8523538 L21.4678171,18.9675593 C21.4246486,19.3025982 21.1922705,19.5388574 20.8555499,19.5795997 L20.7470425,19.5859353 L3.25,19.5859353 L3.14534744,19.5797049 C2.77265132,19.5350005 2.525,19.250082 2.525,18.8494841 C2.525,18.4512975 2.77030543,18.1646386 3.1443756,18.1193685 L3.25285992,18.113033 L4.35003719,18.1123023 L4.4,10.5767569 L4.40403631,10.3246942 C4.524824,6.55675169 7.34298069,3.38911146 11.0266305,2.90405757 L11.229889,2.87995432 L11.275,1.66770897 L11.2823355,1.55103724 C11.3211556,1.24947788 11.5116242,1.02739927 11.7956288,0.955808301 L11.897531,0.937079811 L12,0.930991914 Z M12,4.31312051 C8.70150639,4.31312051 5.97362451,6.99932148 5.85407645,10.3480678 L5.85000794,10.5758657 L5.849,18.0622956 L18.099,18.1123023 L18.15,10.5767635 L18.1459233,10.3480647 C18.0266869,7.00812062 15.3071214,4.31312051 12,4.31312051 Z" id="形状结合" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
<circle id="Oval-1-Copy-2" fill="#F5222D" cx="18" cy="6" r="3"></circle>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
14
src/assets/icons/svg/home-alarm-white.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-1713.000000, -32.000000)">
|
||||
<g id="icon/banner/消息" transform="translate(1713.000000, 32.000000)">
|
||||
<g id="编组">
|
||||
<rect id="矩形" x="0" y="0" width="24" height="24"></rect>
|
||||
<path d="M13.875,20.6585751 L13.9796526,20.6647179 C14.3523487,20.7094224 14.6,20.9943408 14.6,21.3949387 C14.6,21.793137 14.3546839,22.079785 13.9805499,22.1250542 L13.8720425,22.1313899 L10.125,22.1313023 L10.0203474,22.1251595 C9.64765132,22.080455 9.4,21.7955365 9.4,21.3949387 C9.4,20.9967404 9.64531608,20.7100924 10.0194501,20.6648232 L10.1279575,20.6584875 L13.875,20.6585751 Z M12,0.930991914 L12.114202,0.938656892 C12.4461465,0.982430206 12.6786924,1.21840343 12.7188472,1.56053658 L12.7250824,1.6705356 L12.724,2.83025932 L12.975759,2.90430031 L13.2244725,2.9413468 C16.687784,3.51732717 19.3536312,6.48703662 19.5838508,10.0724929 L19.5959741,10.3244915 L19.6000064,10.5775585 L19.6,18.0623023 L20.7499628,18.1131205 L20.8641749,18.1204751 C21.1961465,18.1642484 21.4286924,18.4002216 21.4688472,18.7423548 L21.4750824,18.8523538 L21.4678171,18.9675593 C21.4246486,19.3025982 21.1922705,19.5388574 20.8555499,19.5795997 L20.7470425,19.5859353 L3.25,19.5859353 L3.14534744,19.5797049 C2.77265132,19.5350005 2.525,19.250082 2.525,18.8494841 C2.525,18.4512975 2.77030543,18.1646386 3.1443756,18.1193685 L3.25285992,18.113033 L4.35003719,18.1123023 L4.4,10.5767569 L4.40403631,10.3246942 C4.524824,6.55675169 7.34298069,3.38911146 11.0266305,2.90405757 L11.229889,2.87995432 L11.275,1.66770897 L11.2823355,1.55103724 C11.3211556,1.24947788 11.5116242,1.02739927 11.7956288,0.955808301 L11.897531,0.937079811 L12,0.930991914 Z M12,4.31312051 C8.70150639,4.31312051 5.97362451,6.99932148 5.85407645,10.3480678 L5.85000794,10.5758657 L5.849,18.0622956 L18.099,18.1123023 L18.15,10.5767635 L18.1459233,10.3480647 C18.0266869,7.00812062 15.3071214,4.31312051 12,4.31312051 Z" id="形状结合" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
15
src/assets/icons/svg/home-device-alarm.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-992.000000, -521.000000)">
|
||||
<g id="设备告警" transform="translate(992.000000, 521.000000)">
|
||||
<rect id="矩形" fill="#0B58FF" x="0" y="0" width="32" height="32" rx="16"></rect>
|
||||
<g id="告警视图" transform="translate(8.196906, 8.196906)" fill-rule="nonzero">
|
||||
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="15.6061876" height="15.6061876"></rect>
|
||||
<path d="M0,11.6800274 L0,1 C-1.78657678e-16,0.44771525 0.44771525,5.45542273e-16 1,0 L14.6061876,0 C15.1584723,-1.01453063e-16 15.6061876,0.44771525 15.6061876,1 L15.6061876,11.6800274 C15.6061876,12.2323122 15.1584723,12.6800274 14.6061876,12.6800274 L1,12.6800274 C0.44771525,12.6800274 -3.76453835e-16,12.2323122 0,11.6800274 Z M13.6554141,1.95077345 L1.95077345,1.95077345 L1.95077345,10.729254 L13.6554141,10.729254 L13.6554141,1.95077345 Z M7.80309379,6.82770706 C7.26440257,6.82770706 6.82770706,6.39101155 6.82770706,5.85232034 L6.82770706,3.90154689 C6.82770706,3.36285568 7.26440257,2.92616017 7.80309379,2.92616017 C8.341785,2.92616017 8.77848051,3.36285568 8.77848051,3.90154689 L8.77848051,5.85232034 C8.77848051,6.39101155 8.341785,6.82770706 7.80309379,6.82770706 Z M7.80309379,9.75386723 C7.26440257,9.75386723 6.82770706,9.31717172 6.82770706,8.77848051 C6.82770706,8.2397893 7.26440257,7.80309379 7.80309379,7.80309379 C8.341785,7.80309379 8.77848051,8.2397893 8.77848051,8.77848051 C8.77848051,9.31717172 8.341785,9.75386723 7.80309379,9.75386723 Z M11.7046407,15.6061876 L3.90154689,15.6061876 C3.36285568,15.6061876 2.92616017,15.1694921 2.92616017,14.6308009 C2.92616017,14.0921096 3.36285568,13.6554141 3.90154689,13.6554141 L11.7046407,13.6554141 C12.2433319,13.6554141 12.6800274,14.0921096 12.6800274,14.6308009 C12.6800274,15.1694921 12.2433319,15.6061876 11.7046407,15.6061876 Z" id="形状" fill="#FFFFFF"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
33
src/assets/icons/svg/home-device-menu.svg
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="56px" height="56px" viewBox="0 0 56 56" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-873.000000, -386.000000)">
|
||||
<g id="设备管理" transform="translate(873.000000, 386.000000)">
|
||||
<rect id="矩形备份-7" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="55" height="55"></rect>
|
||||
<g id="编组-13" transform="translate(3.180289, 2.923263)">
|
||||
<g id="编组-10" fill-rule="nonzero">
|
||||
<g id="设备" fill="#0B58FF">
|
||||
<rect id="矩形" opacity="0" x="2.00676053" y="1.65338444" width="46.1399529" height="46.1399529"></rect>
|
||||
<g id="烧瓶,实验,化学,科学">
|
||||
<rect id="矩形" opacity="0" x="4.42964393" y="4.42964393" width="41.294186" height="41.294186"></rect>
|
||||
<g id="还原画布">
|
||||
<rect id="矩形" opacity="0" x="0" y="0" width="50.1534739" height="50.1534739"></rect>
|
||||
<path d="M1.72467326,45.9476439 C1.72467326,47.1152471 2.60037565,47.9909495 3.76797884,47.9909495 L46.3854951,47.9909495 C47.5530983,47.9909495 48.4288007,47.1152471 48.4288007,45.9476439 L48.4288007,13.8385563 L1.72467326,13.8385563 L1.72467326,45.9476439 Z M18.1370611,29.0173977 L38.650124,29.0173977 C39.6980043,29.0173977 40.5474792,29.8668726 40.5474792,30.9147529 C40.5474792,31.9626332 39.6980043,32.8121081 38.650124,32.8121081 L18.1370611,32.8121081 C17.0891807,32.8121081 16.2397059,31.9626332 16.2397059,30.9147529 C16.2397059,29.8668726 17.0891807,29.0173977 18.1370611,29.0173977 Z M10.2370348,36.6068184 L38.650124,36.6068184 C39.6980043,36.6068184 40.5474792,37.4562933 40.5474792,38.5041736 C40.5474792,39.5520539 39.6980043,40.4015288 38.650124,40.4015288 L10.2370348,40.4015288 C9.18915443,40.4015288 8.33967958,39.5520539 8.33967958,38.5041736 C8.33967958,37.4562933 9.18915443,36.6068184 10.2370348,36.6068184 Z M24.2010346,11.7952507 L1.72467326,11.7952507 L6.395086,3.62202844 C6.9788876,2.74632605 8.14649078,2.16252446 9.31409396,2.16252446 L23.9091338,2.16252446 L23.9091338,11.7952507 L24.2010346,11.7952507 Z M48.4288007,11.7952507 L26.2443401,11.7952507 L26.2443401,2.45442526 L40.8393799,2.45442526 C42.0069831,2.45442526 43.1745863,3.03822685 43.7583879,3.91392924 L48.4288007,11.7952507 Z" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="还原画布" transform="translate(1.723618, 2.162524)" fill="#18104D">
|
||||
<path d="M22.4763613,9.63272627 L0,9.63272627 L4.67041274,1.45950398 C5.25421433,0.583801592 6.42181752,0 7.5894207,0 L22.1844605,0 L22.1844605,9.63272627 L22.4763613,9.63272627 Z" id="形状"></path>
|
||||
</g>
|
||||
<g id="还原画布" transform="translate(26.191259, 2.454425)" fill="#18104D">
|
||||
<path d="M22.1844605,9.34082548 L0,9.34082548 L0,0 L14.5950398,0 C15.762643,0 16.9302462,0.583801592 17.5140478,1.45950398 L22.1844605,9.34082548 Z" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
<path d="M12.3066146,-5.29775726 L15.1753655,-3.62876956 C15.5740069,-3.25849694 15.8853072,-2.83209012 16.1092662,-2.34954908 C16.3332252,-1.86700804 16.4452047,-1.36084209 16.4452047,-0.831051217 L16.4452047,13.7613962 L12.3066146,13.7613962 L12.3066146,-5.29775726 Z" id="矩形" fill="#69F8AF" transform="translate(14.375910, 4.231819) rotate(-90.000000) translate(-14.375910, -4.231819) "></path>
|
||||
<path d="M33.62186,-5.29775726 L36.4906108,-3.62876956 C36.8892523,-3.25849694 37.2005525,-2.83209012 37.4245115,-2.34954908 C37.6484705,-1.86700804 37.76045,-1.36084209 37.76045,-0.831051217 L37.76045,13.7613962 L33.62186,13.7613962 L33.62186,-5.29775726 Z" id="矩形备份-5" fill="#69F8AF" transform="translate(35.691155, 4.231819) scale(-1, 1) rotate(-90.000000) translate(-35.691155, -4.231819) "></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.3 KiB |
25
src/assets/icons/svg/home-device.svg
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-992.000000, -164.000000)">
|
||||
<g id="编组-8备份" transform="translate(968.000000, 140.000000)">
|
||||
<g id="设备总览" transform="translate(24.000000, 24.000000)">
|
||||
<rect id="矩形" fill="#0B58FF" x="0" y="0" width="32" height="32" rx="16"></rect>
|
||||
<g id="烧瓶,实验,化学,科学" transform="translate(7.000000, 7.000000)" fill="#FFFFFF" fill-rule="nonzero">
|
||||
<rect id="矩形" opacity="0" x="0.723623255" y="0.596198408" width="16.6377315" height="16.6377315"></rect>
|
||||
<g>
|
||||
<rect id="矩形" opacity="0" x="1.59729739" y="1.59729739" width="14.8903832" height="14.8903832"></rect>
|
||||
<g id="还原画布">
|
||||
<rect id="矩形" opacity="0" x="0" y="0" width="18.084978" height="18.084978"></rect>
|
||||
<g id="玻璃" transform="translate(0.634017, 0.634017)">
|
||||
<path d="M13.2593143,16.8169433 L0.5,16.8169433 C0.223857625,16.8169433 2.55862292e-16,16.5930857 0,16.3169433 L0,0.5 C-3.38176876e-17,0.223857625 0.223857625,1.61748834e-16 0.5,0 L13.2593143,0 C13.5354566,-5.07265313e-17 13.7593143,0.223857625 13.7593143,0.5 L13.7593143,16.3169433 C13.7593143,16.5930857 13.5354566,16.8169433 13.2593143,16.8169433 Z M1.37593143,15.2881288 L12.3833828,15.2881288 L12.3833828,1.52881452 L1.37593143,1.52881452 L1.37593143,15.2881288 Z M16.3169433,15.2881288 L13.4949152,15.2881288 C13.2187728,15.2881288 12.9949152,15.0642712 12.9949152,14.7881288 L12.9949152,2.02881452 C12.9949152,1.75267215 13.2187728,1.52881452 13.4949152,1.52881452 L16.3169433,1.52881452 C16.5930857,1.52881452 16.8169433,1.75267215 16.8169433,2.02881452 L16.8169433,14.7881288 C16.8169433,15.0642712 16.5930857,15.2881288 16.3169433,15.2881288 Z M3.2320096,9.37531556 C2.97585886,9.13419414 2.9636752,8.7310754 3.20479662,8.47492467 C3.20919378,8.47025343 3.21366127,8.46564888 3.21819754,8.46111261 L9.1694159,2.50989424 C9.42803493,2.25127521 9.84535293,2.24497024 10.1116667,2.49565843 C10.3678175,2.73677985 10.3800011,3.13989859 10.1388797,3.39604932 C10.1344826,3.40072056 10.1300151,3.40532511 10.1254788,3.40986138 L4.17426043,9.36107975 C3.9156414,9.61969878 3.4983234,9.62600375 3.2320096,9.37531556 Z M4.03073192,13.7322196 C3.77458118,13.4910982 3.76239752,13.0879795 4.00351894,12.8318287 C4.00791611,12.8271575 4.01238359,12.8225529 4.01691986,12.8180167 L9.96813823,6.86679831 C10.2267573,6.60817928 10.6440753,6.60187431 10.9103891,6.85256249 C11.1665398,7.09368392 11.1787235,7.49680265 10.937602,7.75295339 C10.9332049,7.75762463 10.9287374,7.76222918 10.9242011,7.76676545 L4.97298275,13.7179838 C4.71436372,13.9766028 4.29704572,13.9829078 4.03073192,13.7322196 Z" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
17
src/assets/icons/svg/home-order-menu.svg
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="56px" height="56px" viewBox="0 0 56 56" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-506.000000, -386.000000)">
|
||||
<g id="订单管理" transform="translate(506.000000, 386.000000)">
|
||||
<rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="55" height="55"></rect>
|
||||
<g id="订单" transform="translate(0.499522, 1.000000)" fill-rule="nonzero">
|
||||
<path d="M29.5269045,4.05189545 C43.5955288,4.05189545 55.0009567,15.4573234 55.0009567,29.5259477 C55.0009567,43.594572 43.5955288,55 29.5269045,55 C15.4582801,55 4.05285219,43.594572 4.05285219,29.5259477 C4.05285219,15.4573234 15.4582801,4.05189545 29.5269045,4.05189545 L29.5269045,4.05189545 Z M29.5269045,9.84145279 C18.6552737,9.84145279 9.84240952,18.654317 9.84240952,29.5259477 C9.84240952,40.3975785 18.6552737,49.2104427 29.5269045,49.2104427 C40.3985352,49.2104427 49.2113994,40.3975785 49.2113994,29.5259477 C49.2113994,18.654317 40.3985352,9.84145279 29.5269045,9.84145279 Z M29.5269045,13.3151872 C38.4798759,13.3151872 45.737665,20.5729763 45.737665,29.5259477 C45.737665,38.4789192 38.4798759,45.7367083 29.5269045,45.7367083 C20.573933,45.7367083 13.3161439,38.4789192 13.3161439,29.5259477 C13.3161439,20.5729763 20.573933,13.3151872 29.5269045,13.3151872 Z" id="形状" fill="#0B58FF"></path>
|
||||
<path d="M29.5269045,17.9468331 C35.9220495,17.9468331 41.1060191,23.1308027 41.1060191,29.5259477 C41.1060191,35.9210928 35.9220495,41.1050624 29.5269045,41.1050624 C23.1317594,41.1050624 17.9477898,35.9210928 17.9477898,29.5259477 C17.9477898,23.1308027 23.1317594,17.9468331 29.5269045,17.9468331 Z M29.5269045,21.4205675 C25.0504265,21.4205675 21.4215242,25.0494698 21.4215242,29.5259477 C21.4215242,34.0024256 25.0504265,37.631328 29.5269045,37.631328 C34.0033824,37.631328 37.6322847,34.0024256 37.6322847,29.5259477 C37.6322847,25.0494698 34.0033824,21.4205675 29.5269045,21.4205675 Z" id="形状" fill="#69F8AF"></path>
|
||||
<path d="M26.0531701,29.5259477 C26.0531701,30.7669935 26.7152601,31.9137671 27.7900372,32.53429 C28.8648144,33.154813 30.1889945,33.154813 31.2637717,32.53429 C32.3385489,31.9137671 33.0006389,30.7669935 33.0006389,29.5259477 C33.0006389,27.6074572 31.445395,26.0522133 29.5269045,26.0522133 C27.6084139,26.0522133 26.0531701,27.6074572 26.0531701,29.5259477 L26.0531701,29.5259477 Z" id="路径" fill="#69F8AF"></path>
|
||||
<path d="M5.16097346,0.068680005 L11.4032742,6.31213864 C11.5452724,6.45390019 11.6069803,6.65727562 11.5676976,6.8540412 L10.9864261,9.75692525 L30.1405975,28.9122546 C30.4594387,29.2544288 30.4500307,29.787647 30.1193172,30.1183605 C29.7886037,30.449074 29.2553855,30.458482 28.9132114,30.1396408 L9.75788199,10.9854693 L6.85499794,11.5667409 C6.65823235,11.6060236 6.45485693,11.5443156 6.31309537,11.4023174 L0.070794654,5.16001673 C0.00785917816,5.09751387 -0.0154139259,5.00536463 0.010295925,4.92047361 C0.036005776,4.8355826 0.10649489,4.77182992 0.19353327,4.75474771 L3.60358254,4.07273786 C3.84074434,4.02516282 4.02611955,3.8397876 4.0736946,3.6026258 L4.75686236,0.192576532 C4.77415833,0.106307273 4.83733049,0.0364492466 4.92143088,0.0105907928 C5.00553127,-0.015267661 5.0970389,0.00703077709 5.15981555,0.068680005 L5.16097346,0.068680005 Z" id="路径" fill="#18104D"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.6 KiB |
18
src/assets/icons/svg/home-order-monitor.svg
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-64.000000, -521.000000)">
|
||||
<g id="工单监控" transform="translate(64.000000, 521.000000)">
|
||||
<g id="监控" transform="translate(0.000000, 0.000000)" fill="#000000" fill-rule="nonzero" opacity="0">
|
||||
<rect id="矩形" x="0" y="0" width="32" height="32"></rect>
|
||||
</g>
|
||||
<rect id="矩形" fill="#0B58FF" x="0" y="0" width="32" height="32" rx="16"></rect>
|
||||
<path d="M7.95196014,15.04804 C7.95196014,17.9233277 9.4859078,20.5802032 11.97598,22.0178471 C14.4660522,23.455491 17.5339478,23.455491 20.02402,22.0178471 C22.5140922,20.5802032 24.0480399,17.9233277 24.0480399,15.04804 C24.0480399,12.1727522 22.5140922,9.51587679 20.02402,8.07823291 C17.5339477,6.64058903 14.4660523,6.64058903 11.97598,8.07823291 C9.48590782,9.51587679 7.95196014,12.1727522 7.95196014,15.04804 L7.95196014,15.04804 Z" id="路径" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||
<path d="M10.5399801,15.04804 C10.5399801,18.0635257 12.9845143,20.5080599 16,20.5080599 C19.0154857,20.5080599 21.4600199,18.0635257 21.4600199,15.04804 C21.4600199,12.0325543 19.0154857,9.58802008 16,9.58802008 C12.9845143,9.58802008 10.5399801,12.0325543 10.5399801,15.04804 L10.5399801,15.04804 Z" id="路径" fill="#0B58FF" fill-rule="nonzero"></path>
|
||||
<path d="M13.12154,13.60882 C13.12154,14.4036848 13.7659053,15.04805 14.56077,15.04805 C15.3556348,15.04805 16,14.4036848 16,13.60882 C16,12.8139552 15.3556348,12.16959 14.56077,12.16959 C13.7659053,12.16959 13.12154,12.8139552 13.12154,13.60882 Z" id="路径" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||
<path d="M11.4822601,22.9347398 L10.8368601,22.9347398 L10.1914601,24.9999998 L21.8085399,24.9999998 L21.1631399,22.9347398 L20.5177399,22.9347398 C17.7631022,24.6949766 14.2368978,24.6949766 11.4822601,22.9347398 L11.4822601,22.9347398 Z" id="路径" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
14
src/assets/icons/svg/home-produce.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title></title>
|
||||
<g id="主界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="主页" transform="translate(-64.000000, -164.000000)">
|
||||
<g id="编组-8" transform="translate(40.000000, 140.000000)">
|
||||
<g id="生产总览" transform="translate(24.000000, 24.000000)">
|
||||
<rect id="矩形" fill="#0B58FF" x="0" y="0" width="32" height="32" rx="16"></rect>
|
||||
<path d="M8.37437968,12.8114326 L15.7504058,17.0898781 C15.8242411,17.1328167 15.9080324,17.1555207 15.9933456,17.1555207 C16.0810002,17.1555207 16.1670458,17.131811 16.2414377,17.0872002 L23.5609995,12.8417393 C23.7926594,12.7069596 23.8719923,12.4078775 23.7377553,12.1750584 C23.6941637,12.0993735 23.6311005,12.036866 23.5563023,11.9947862 L16.2647451,7.74687591 C16.1909326,7.70388503 16.1071411,7.68113461 16.0218216,7.68113461 C15.9265067,7.68101965 15.8332679,7.70910321 15.7537378,7.76188227 L8.44005972,12.0039794 C8.20831857,12.137714 8.12809173,12.4360124 8.26123967,12.6689293 C8.29129448,12.7215224 8.33087471,12.7680046 8.37793917,12.8059787 L8.37437968,12.8114326 Z M21.6810442,15.0685273 L21.2137792,15.3395552 L21.2137792,15.3395552 L16.4927009,18.0091478 C16.1870188,18.1819995 15.8130711,18.1818429 15.5075339,18.0087351 L10.3178102,15.0684002 C10.0088558,14.8933563 9.63024672,14.895282 9.32308895,15.0734597 L8.44007598,15.5856824 L8.44007598,15.5856824 C8.20833482,15.719417 8.12807547,16.017699 8.26125592,16.2505344 C8.29182536,16.3040667 8.33225083,16.351269 8.38037719,16.3896249 L8.37728903,16.3948175 L15.7504708,20.6715484 C15.9025556,20.7600033 16.0903428,20.7590041 16.2414864,20.6689358 L23.5609995,16.4234259 C23.7926756,16.2885809 23.8720085,15.9895315 23.7377716,15.7567777 C23.6940662,15.6810601 23.6310842,15.61852 23.556286,15.5764238 L22.6861859,15.0694958 C22.3756549,14.8885777 21.9919233,14.8882079 21.6810442,15.0685273 Z M21.6866857,18.6534468 L21.2195166,18.924426 L21.2195166,18.924426 L16.4950848,21.6207262 C16.1882146,21.7958614 15.8117014,21.7960578 15.5046487,21.6212428 L10.7829566,18.9330314 L10.7829566,18.9330314 L10.3151216,18.661704 C10.0048329,18.4817477 9.6219281,18.4817646 9.31165532,18.6617485 L8.44007598,19.1673364 L8.44007598,19.1673364 C8.20833482,19.3010546 8.12810798,19.5993693 8.26125592,19.8322047 C8.29148444,19.8851411 8.33137304,19.9318794 8.37883311,19.9699725 L8.37546865,19.9753448 L15.7504221,24.2531371 C15.8242543,24.2960928 15.9080429,24.3187608 15.9933618,24.3188656 C16.0806614,24.3189335 16.1663657,24.2953601 16.2414539,24.2506225 L23.5610157,20.0050799 C23.7926756,19.8702023 23.8720085,19.5710875 23.7377716,19.3384318 C23.6941799,19.2627141 23.6311817,19.2001577 23.5563023,19.1580778 L22.6918543,18.6544197 C22.3813173,18.4734898 21.9975724,18.4731184 21.6866857,18.6534468 Z" id="形状" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.1 KiB |