Compare commits
545 Commits
fe872490d5
...
master
Author | SHA1 | Date | |
---|---|---|---|
38dcbe7f7a | |||
71ba51772d | |||
11a3db5b61 | |||
b662da584a | |||
311623e208 | |||
fadbb6a911 | |||
0afefe44ca | |||
71ec027000 | |||
c913be2690 | |||
217cf85ea4 | |||
d5cf2a600e | |||
e6f235036e | |||
35a7825759 | |||
4bd192dc87 | |||
78de3276d3 | |||
cabf64088b | |||
a50fbc26d7 | |||
d92a540786 | |||
db6d39e02e | |||
d01a56d9dc | |||
16eb852d9d | |||
f006ca5a2b | |||
460472b29a | |||
3579ff100f | |||
731c423483 | |||
c3a2e68980 | |||
84246a3a61 | |||
23ceb718e9 | |||
9cb43687c4 | |||
fe9c299d64 | |||
16fda90d96 | |||
e3ff6020ac | |||
32dc012598 | |||
f6afa97b2d | |||
7be3859988 | |||
f1339ad082 | |||
ac812246ea | |||
177da7a28a | |||
4cd7efcfe4 | |||
e520f3b581 | |||
ee849ba62a | |||
0c3ea8fe73 | |||
cd9e00fc33 | |||
7738212dd7 | |||
942375b06b | |||
cf2b805770 | |||
7e7d21f9ce | |||
dc35cb8354 | |||
4a9a0c4214 | |||
e377368c41 | |||
f341f08248 | |||
8eac9bce6c | |||
2ec6dcd74f | |||
6e33ae2972 | |||
8631a697f4 | |||
22a1379ca8 | |||
38cf536f1b | |||
4f21a81706 | |||
178f44a5a3 | |||
4fa4c754f9 | |||
5101dc7657 | |||
b412e847d4 | |||
e39823db40 | |||
e71ec5b9c1 | |||
52342e6623 | |||
dd594676ac | |||
6380ee505f | |||
c5dac4fbcc | |||
d50dbe719d | |||
3fa3b5b508 | |||
dd12f54dc9 | |||
d37243af6b | |||
3e4b85fc48 | |||
b4dadc415d | |||
fff6fb5584 | |||
3d50132338 | |||
10538985ce | |||
2696d5cad5 | |||
f0af5e47fa | |||
a517e694aa | |||
03ec2223aa | |||
c9496f4400 | |||
db20b45f78 | |||
78dd437746 | |||
922af12760 | |||
b910c6fee2 | |||
eb895793dd | |||
19b48371ef | |||
26b2ff2370 | |||
b96217b9bb | |||
f68e5f96f6 | |||
c35a75d030 | |||
974b2e7038 | |||
f9a6ad7fda | |||
eaaf940960 | |||
6f7d7e56c2 | |||
0f439c9220 | |||
2b989e1d46 | |||
26bef3f724 | |||
e075ce1bfc | |||
a257068054 | |||
80bb267e7d | |||
57460d0af1 | |||
910b24019e | |||
4dd1f2d6d5 | |||
17ee714729 | |||
08556fbf7f | |||
23b6551829 | |||
9b06c042ef | |||
ab7d51d3a2 | |||
5f6547aeb1 | |||
d26db2d321 | |||
9d9224d6ad | |||
055811702b | |||
eb98e8c8c3 | |||
288ee14d5e | |||
26e4c899db | |||
a95d18906f | |||
2737e579c8 | |||
069841ea99 | |||
85e5572e53 | |||
46f9c0568c | |||
1a476b8ee8 | |||
d06d6a9504 | |||
0c81842fd6 | |||
2ba08c79ed | |||
ddccc64586 | |||
0c0e55a383 | |||
253e395ace | |||
9d1f96309f | |||
192ffb5091 | |||
9cecbeaa20 | |||
8a3f338e27 | |||
2415c96cf9 | |||
8b57f957b6 | |||
3b1ad5cd05 | |||
81d22d0b69 | |||
856ecd7c43 | |||
a74419c288 | |||
e0a4b1e8fa | |||
4f2eec9468 | |||
873aecf815 | |||
1eba94076d | |||
76488de0cd | |||
5c125bc37b | |||
80e22c8f92 | |||
c69a91651d | |||
5b118055c5 | |||
8887392758 | |||
a2ea5e5979 | |||
06d111b9e6 | |||
897e41c422 | |||
2b88c32489 | |||
ba2b8444af | |||
62ab2a4672 | |||
2815b7d6b0 | |||
203c808fa2 | |||
eba51942d7 | |||
8682b0d8b8 | |||
d9662b5e7d | |||
043d49cb20 | |||
8ff57e80d8 | |||
b1bc73cddb | |||
141aa7be4d | |||
fa46f632d9 | |||
15c4ad5484 | |||
c1b891b4b2 | |||
621084cd82 | |||
d3317b0e32 | |||
b0abb5f47b | |||
43419d52af | |||
99b7183e36 | |||
e99e27c8d1 | |||
47a8b17061 | |||
bbb105b622 | |||
5e3bd52949 | |||
31b00165cf | |||
6f2b503bd2 | |||
dc59ade2b8 | |||
bfafbc9591 | |||
70aa152b1a | |||
d09db36ed8 | |||
76d80b23b1 | |||
7c2e4d7e14 | |||
5465136879 | |||
b773a2d149 | |||
395f6f352a | |||
2290eb28d7 | |||
a21bf2f755 | |||
468dda51e1 | |||
ac579263b8 | |||
2b07329c87 | |||
6eed9d9244 | |||
09691bdbe6 | |||
384eb35d84 | |||
bf23c8c18f | |||
ade1177294 | |||
b0a05519f0 | |||
211b94d76b | |||
23313b9645 | |||
9ec6b9818c | |||
c0338033b4 | |||
2b25709c14 | |||
c9cceb53f7 | |||
53d5f677c4 | |||
72a8665906 | |||
6c96dc2abc | |||
fdab021ff2 | |||
e7cf93f7e4 | |||
cb817e47b4 | |||
b59bd89e43 | |||
6f73a308ba | |||
0c06379ff6 | |||
27f95371c5 | |||
46f46a7c75 | |||
8d453efb07 | |||
7d6c13e935 | |||
2c9c72d714 | |||
93c2f6e512 | |||
fa1f3215cf | |||
6e53520a33 | |||
e7dc466c88 | |||
e6c92a3b51 | |||
9fb3357c1f | |||
ead5b7bd70 | |||
ab68bbcd40 | |||
f637e65635 | |||
dc39b5861d | |||
18957eb7a7 | |||
cec48c13af | |||
0b6b578d25 | |||
c1d6a8d92c | |||
4e08f7387f | |||
48a72e22cf | |||
8d7736b3fc | |||
589d21d622 | |||
68b43b1246 | |||
5f42c21467 | |||
ee2f5ec71e | |||
a7f9339eb8 | |||
239c989a26 | |||
91b7f38f8c | |||
290fc16c32 | |||
70db0367e1 | |||
46bfa429d3 | |||
369ba1ad20 | |||
7ea0594610 | |||
874c04e497 | |||
fceb454b2a | |||
7c171e432f | |||
53e1f94c78 | |||
6832b91cfd | |||
bbbba22ebd | |||
ceabac7fb8 | |||
0d180e63f2 | |||
446d30ce35 | |||
0ea88f33b8 | |||
b256eb83f0 | |||
7f19586b93 | |||
2b339df606 | |||
160223bf5f | |||
4d0845ee53 | |||
5fdb8bdfe3 | |||
cfb6085bbf | |||
73772f036f | |||
dbb649d1ce | |||
f3f8ab0b87 | |||
31c21c7bb5 | |||
59d1f881dd | |||
b84985414a | |||
5ffe04d20e | |||
7e15764ba5 | |||
1c14669ddf | |||
6eb10c27a4 | |||
bb512fe0f3 | |||
6f79e07193 | |||
b4113bdf2a | |||
2bbeb83502 | |||
38dd85de64 | |||
ea56d292ec | |||
5258b37d07 | |||
ba037ac2cd | |||
31963f69c3 | |||
e4523299d4 | |||
340954167f | |||
169f5ae376 | |||
984ec9c4fb | |||
93df563660 | |||
1405857f55 | |||
b77d5fe171 | |||
9584ab4baa | |||
00122c93fc | |||
d45bce2ef8 | |||
92d8c52b18 | |||
72577614aa | |||
cff2ce34f1 | |||
8f9b042941 | |||
26e1493aa7 | |||
e3b4826dce | |||
fb105b7962 | |||
a712dce2cd | |||
e182b87f02 | |||
11bded87e4 | |||
291a5eca02 | |||
678f10c96b | |||
cb6ca3f709 | |||
ad04cff917 | |||
9dfa9ee146 | |||
f4cbde8ee2 | |||
e7558d770c | |||
c80984cb51 | |||
6c05e20e8d | |||
91423fdf5c | |||
d93b0d71a9 | |||
3588c5d386 | |||
58cbe1c902 | |||
dbc26a3d49 | |||
c1512c5a34 | |||
89bd2e6d92 | |||
a437d7a485 | |||
25786908b7 | |||
2e7a72a89a | |||
c6d971392b | |||
5556264b9e | |||
65f4191211 | |||
594de41607 | |||
40cb0589f8 | |||
479291d857 | |||
5870c66161 | |||
ce1665a2c6 | |||
f01487dc50 | |||
ddf3bcf651 | |||
5497871ce3 | |||
15a724a5fe | |||
1cdd24271c | |||
3469f1e186 | |||
37c914c662 | |||
288d7df341 | |||
d260f9983d | |||
6018fcc9ba | |||
e4f2548199 | |||
75f190907d | |||
3fe1767190 | |||
48a30fd508 | |||
aab67593eb | |||
589422ad0e | |||
67f58089ff | |||
9f45f2e3b5 | |||
f0577d7d27 | |||
5e162ef59d | |||
bc0c9e3a90 | |||
5c1aca212e | |||
30f53f75e9 | |||
2222649770 | |||
5454018914 | |||
396dcd5748 | |||
525733b9e5 | |||
8843763499 | |||
179d9ba6aa | |||
f7ec845a7b | |||
297048ab91 | |||
b4a023570f | |||
59325f7877 | |||
3b90f269ae | |||
7933ffbc0e | |||
37e01eda4b | |||
77150924b4 | |||
c092650aed | |||
4c01c0a4a3 | |||
6359daba49 | |||
7c1f07eb7d | |||
6dff42a6cb | |||
c414e541c1 | |||
c8cc1a329b | |||
4511145f52 | |||
10ed8585e3 | |||
4f6cb30832 | |||
4e18057981 | |||
aa6de50a78 | |||
1ac6a846ba | |||
25e3c62ad9 | |||
0098a9829d | |||
acdd8cf467 | |||
dae6c05005 | |||
34d0fee2f6 | |||
afd59bc373 | |||
d67de58a37 | |||
52056dde9d | |||
1dbde76257 | |||
388a31dd18 | |||
3c476fbba0 | |||
9f3e150509 | |||
314903104c | |||
c61582c631 | |||
1e822facc8 | |||
c98e3f72e1 | |||
16caf1b5e6 | |||
7e4a5e17cc | |||
c12fa631e4 | |||
4372472769 | |||
2c7b056405 | |||
18b5df1133 | |||
c68bbc7717 | |||
b8652c084b | |||
d80fcbf454 | |||
30ea9bc1dd | |||
786e7a516f | |||
6cab291522 | |||
f163893ccf | |||
d97838a919 | |||
52d4a07204 | |||
9049969546 | |||
0a790aebb5 | |||
616e9fc7b7 | |||
adb3ba7123 | |||
001adefac7 | |||
7ab2e0ae32 | |||
15742dd235 | |||
271f99fb16 | |||
da3a46189e | |||
53309746f5 | |||
3b61e84a7f | |||
ca09a1b326 | |||
9e2cf9c73a | |||
806ed029cf | |||
174ef50f6f | |||
12e80c57d3 | |||
896ea07fad | |||
12173054e9 | |||
53444ef514 | |||
23e3460853 | |||
8f9972343a | |||
4cf4efc094 | |||
65a86571d7 | |||
c92db7241e | |||
e1617585ab | |||
c7e0486528 | |||
faf25cf5a7 | |||
4e26581af6 | |||
0df7221c10 | |||
d5092e7a58 | |||
2e24c41b60 | |||
ab1b50e6a0 | |||
f2330cf965 | |||
6bfb3364db | |||
094a7ba0f0 | |||
3f588d0846 | |||
8cc384cdcb | |||
a43f56def7 | |||
000689d29d | |||
b555fd4482 | |||
1b4b1c0128 | |||
20b5d7d685 | |||
1e87b87bb9 | |||
192caba460 | |||
c20495785d | |||
359c7ec47f | |||
d325fb2505 | |||
a7b148bc96 | |||
ff2f36e88c | |||
c7b4af704d | |||
26386882f0 | |||
a4d4861ba8 | |||
34b4ccfc5f | |||
e6cebe233c | |||
d09275da0e | |||
384069ecbf | |||
e1295bdda0 | |||
70d829af6c | |||
5e8fc48bc7 | |||
b8c9dd5be5 | |||
ae979b47c0 | |||
802fd82d02 | |||
1d120cde0a | |||
15a3919ce9 | |||
f45389c1a7 | |||
8ececf8c12 | |||
3488536489 | |||
dfd7030de9 | |||
90e6ddc212 | |||
9184fe6974 | |||
8acfe27a8d | |||
a6c2df39e2 | |||
a305c5bc19 | |||
459396080b | |||
6a69798ec6 | |||
062fa5b080 | |||
a8922c5666 | |||
b45b57e0ab | |||
5e69d5c156 | |||
f6c21bf195 | |||
71c1bdcf1c | |||
8f26476c9b | |||
3158dc84f7 | |||
0872d4ff68 | |||
07b5d5238a | |||
6cc64cd59c | |||
759be564fc | |||
606722f19e | |||
f33dc4fa39 | |||
7ca3fbd439 | |||
d34324c565 | |||
b2d2df4fee | |||
9b522cb819 | |||
544cc07862 | |||
2879a0243e | |||
ffffcaee88 | |||
522652bed7 | |||
f06e1a0197 | |||
d16ef9d948 | |||
b90b0a457c | |||
6d102306df | |||
92be2998fa | |||
f150ce24d2 | |||
fbe1dae085 | |||
b515fdbe1a | |||
52db7e00ab | |||
8c024e6269 | |||
a7e78deb57 | |||
aecff98642 | |||
1ff2c759dd | |||
c7340572c9 | |||
6bbe8a83f7 | |||
b6e4f84570 | |||
bebd4e3a2e | |||
8ce6d2877c | |||
93a3ea764e | |||
6ef758653e | |||
a02ef2d6b4 | |||
4a250f30f2 | |||
f37ca487f6 | |||
0223d9d86e | |||
973bff351d | |||
fbf9424960 | |||
4a5856f614 | |||
bbc927edba | |||
a97db36e7d | |||
52908e6627 | |||
daff686afc | |||
ed996ee7f4 | |||
ab8fb27e23 | |||
09c8cf2333 | |||
0ac3f9da8f | |||
dd9b5da394 | |||
b79936b47b |
@ -1,14 +1,15 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_APP_TITLE = 新能源项目管理平台
|
VITE_APP_TITLE = 煤科建管平台
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
VITE_APP_ENV = 'development'
|
VITE_APP_ENV = 'development'
|
||||||
|
|
||||||
# 开发环境
|
# 开发环境
|
||||||
# VITE_APP_BASE_API = 'http://192.168.110.119:8899'
|
VITE_APP_BASE_API = 'http://192.168.110.209:8899'
|
||||||
VITE_APP_BASE_API = 'http://58.17.134.85:8899'
|
# VITE_APP_BASE_API = 'http://58.17.134.85:8899'
|
||||||
# GO开发环境
|
# GO开发环境
|
||||||
VITE_APP_BASE_API_GO = 'http://58.17.134.85:8919'
|
VITE_APP_BASE_API_GO = 'http://xny.yj-3d.com:7464'
|
||||||
|
# VITE_APP_BASE_API_GO = 'http://192.168.110.188:8919'
|
||||||
|
|
||||||
# 无人机接口地址
|
# 无人机接口地址
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_APP_TITLE = 新能源项目管理平台
|
VITE_APP_TITLE = 煤科建管平台
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
VITE_APP_ENV = 'production'
|
VITE_APP_ENV = 'production'
|
||||||
@ -14,14 +14,14 @@ VITE_APP_MONITOR_ADMIN = '/admin/applications'
|
|||||||
VITE_APP_SNAILJOB_ADMIN = '/snail-job'
|
VITE_APP_SNAILJOB_ADMIN = '/snail-job'
|
||||||
|
|
||||||
# 生产环境
|
# 生产环境
|
||||||
VITE_APP_BASE_API = 'http://58.17.134.85:8899'
|
|
||||||
# GO生产环境
|
# GO生产环境
|
||||||
VITE_APP_BASE_API_GO = 'http://58.17.134.85:7363'
|
VITE_APP_BASE_API_GO = 'http://58.17.134.85:7464'
|
||||||
|
VITE_APP_BASE_API = 'http://xny.yj-3d.com:8899'
|
||||||
|
|
||||||
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||||||
VITE_BUILD_COMPRESS = gzip
|
VITE_BUILD_COMPRESS = gzip
|
||||||
|
|
||||||
VITE_APP_PORT = 80
|
VITE_APP_PORT = 8081
|
||||||
|
|
||||||
# 接口加密功能开关(如需关闭 后端也必须对应关闭)
|
# 接口加密功能开关(如需关闭 后端也必须对应关闭)
|
||||||
VITE_APP_ENCRYPT = true
|
VITE_APP_ENCRYPT = true
|
||||||
|
1
absolute/path/to/index.vue
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
@ -6,7 +6,7 @@
|
|||||||
<meta name="renderer" content="webkit" />
|
<meta name="renderer" content="webkit" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<title>新能源项目管理平台</title>
|
<title>煤科建管平台</title>
|
||||||
<!--[if lt IE 11
|
<!--[if lt IE 11
|
||||||
]><script>
|
]><script>
|
||||||
window.location.href = '/html/ie.html';
|
window.location.href = '/html/ie.html';
|
||||||
|
@ -31,11 +31,14 @@
|
|||||||
"await-to-js": "3.0.0",
|
"await-to-js": "3.0.0",
|
||||||
"axios": "1.7.8",
|
"axios": "1.7.8",
|
||||||
"crypto-js": "4.2.0",
|
"crypto-js": "4.2.0",
|
||||||
|
"date-fns": "^4.1.0",
|
||||||
"diagram-js": "12.3.0",
|
"diagram-js": "12.3.0",
|
||||||
"didi": "9.0.2",
|
"didi": "9.0.2",
|
||||||
"echarts": "5.5.0",
|
"echarts": "5.5.0",
|
||||||
|
"echarts-gl": "^2.0.9",
|
||||||
"element-plus": "2.8.8",
|
"element-plus": "2.8.8",
|
||||||
"esbuild": "^0.25.0",
|
"esbuild": "^0.25.0",
|
||||||
|
"exceljs": "^4.4.0",
|
||||||
"ezuikit-js": "^8.1.10",
|
"ezuikit-js": "^8.1.10",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
"fuse.js": "7.0.0",
|
"fuse.js": "7.0.0",
|
||||||
@ -64,10 +67,12 @@
|
|||||||
"vue-json-pretty": "2.4.0",
|
"vue-json-pretty": "2.4.0",
|
||||||
"vue-print-nb": "^1.7.5",
|
"vue-print-nb": "^1.7.5",
|
||||||
"vue-router": "4.4.5",
|
"vue-router": "4.4.5",
|
||||||
|
"vue-simple-uploader": "^1.0.3",
|
||||||
"vue-types": "5.1.3",
|
"vue-types": "5.1.3",
|
||||||
"vue3-print-nb": "^0.1.4",
|
"vue3-print-nb": "^0.1.4",
|
||||||
"vue3-scroll-seamless": "^1.0.6",
|
"vue3-scroll-seamless": "^1.0.6",
|
||||||
"vxe-table": "4.5.22"
|
"vxe-table": "4.5.22",
|
||||||
|
"xlsx": "^0.18.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "9.15.0",
|
"@eslint/js": "9.15.0",
|
||||||
|
BIN
public/assets/demo/Sunny.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
public/assets/demo/avatar.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
public/assets/demo/back.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
public/assets/demo/back2.png
Normal file
After Width: | Height: | Size: 419 KiB |
BIN
public/assets/demo/back3.png
Normal file
After Width: | Height: | Size: 344 KiB |
BIN
public/assets/demo/back4.png
Normal file
After Width: | Height: | Size: 428 KiB |
BIN
public/assets/demo/fengshu.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
public/assets/demo/qiangdu.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
public/assets/demo/rain.png
Normal file
After Width: | Height: | Size: 1014 B |
BIN
public/assets/demo/rain1.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
public/assets/demo/rain_show.png
Normal file
After Width: | Height: | Size: 993 B |
BIN
public/assets/demo/riluo.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/assets/demo/sb1.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
public/assets/demo/sb2.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
public/assets/demo/sb3.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
public/assets/demo/sb4.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
public/assets/demo/sbi1.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
public/assets/demo/sbi2.png
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
public/assets/demo/shidu.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
public/assets/demo/sunny_s.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public/assets/demo/wcl.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
public/assets/demo/ycl.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
public/assets/demo/yin.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
public/assets/demo/zgjxx.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
public/assets/demo/zzcl.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
public/billOfQuantities.xlsx
Normal file
BIN
public/catalog.xlsx
Normal file
BIN
public/daolu.xlsx
Normal file
BIN
public/dikuai.xlsx
Normal file
BIN
public/enterRoad.xlsx
Normal file
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 34 KiB |
BIN
public/landBlock.xlsx
Normal file
BIN
public/materialsEquipment.xlsx
Normal file
1
public/vite.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/xx.xlsx
Normal file
21
src/App.vue
@ -8,33 +8,20 @@
|
|||||||
import useSettingsStore from '@/store/modules/settings';
|
import useSettingsStore from '@/store/modules/settings';
|
||||||
import { handleThemeStyle } from '@/utils/theme';
|
import { handleThemeStyle } from '@/utils/theme';
|
||||||
import useAppStore from '@/store/modules/app';
|
import useAppStore from '@/store/modules/app';
|
||||||
import { getProjectTeam } from './utils/projectTeam';
|
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
// 初始化主题样式
|
// 初始化主题样式
|
||||||
handleThemeStyle(useSettingsStore().theme);
|
handleThemeStyle(useSettingsStore().theme);
|
||||||
getProjectTeam();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
-webkit-touch-callout: none; /*系统默认菜单被禁用*/
|
-webkit-user-select: none; /* Safari */
|
||||||
-webkit-user-select: none; /*webkit浏览器*/
|
-moz-user-select: none; /* Firefox */
|
||||||
-khtml-user-select: none; /*早期浏览器*/
|
-ms-user-select: none; /* IE10+/Edge */
|
||||||
-moz-user-select: none; /*火狐*/
|
user-select: none; /* Standard syntax */
|
||||||
-ms-user-select: none; /*IE10*/
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
-webkit-user-select: auto; /*webkit浏览器*/
|
|
||||||
user-select: auto;
|
|
||||||
}
|
|
||||||
textarea {
|
|
||||||
user-select: auto;
|
|
||||||
-webkit-user-select: auto; /*webkit浏览器*/
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
31
src/api/bidding/appointment/index.ts
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询招标人员列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const biddingGetUser = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser/getUser',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 新增招投标人员
|
||||||
|
export const AddbiddingUser = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 查询招投标人员
|
||||||
|
export const biddingUserList = (projectId) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser/list',
|
||||||
|
method: 'get',
|
||||||
|
params: { projectId }
|
||||||
|
});
|
||||||
|
};
|
70
src/api/bidding/biddingLimit/index.ts
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导入成本-投标excel
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const BiddingImportExcelFile = (params?, data?) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/importExcelFile',
|
||||||
|
method: 'post',
|
||||||
|
params,
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 导出成本-投标excel
|
||||||
|
export const biddingLimitListExport = (data?) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/export',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取成本-投标详细信息
|
||||||
|
export const biddingLimitList = (id?) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 查询成本-投标列表
|
||||||
|
export const getTreeLimit = (params?) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/getTree',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 修改成本-投标
|
||||||
|
export const biddingLimitListUpdate = (data?) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList',
|
||||||
|
method: 'put',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//获取sheet
|
||||||
|
export const sheetList = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/sheetList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//获取sheet
|
||||||
|
export const obtainAllVersionNumbers = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/obtainAllVersionNumbers',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//获取sheet
|
||||||
|
export const getVersionDetail = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/getVersionDetail/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
63
src/api/bidding/biddingLimitList/index.ts
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { BiddingLimitListVO, BiddingLimitListForm, BiddingLimitListQuery } from '@/api/bidding/biddingLimitList/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询成本-投标列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listBiddingLimitList = (query?: BiddingLimitListQuery): AxiosPromise<BiddingLimitListVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询成本-投标详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getBiddingLimitList = (id: string | number): AxiosPromise<BiddingLimitListVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增成本-投标
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addBiddingLimitList = (data: BiddingLimitListForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改成本-投标
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateBiddingLimitList = (data: BiddingLimitListForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除成本-投标
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delBiddingLimitList = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingLimitList/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
201
src/api/bidding/biddingLimitList/types.ts
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
export interface BiddingLimitListVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目Id
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 版本号
|
||||||
|
*/
|
||||||
|
versions: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 表名
|
||||||
|
*/
|
||||||
|
sheet: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子ID
|
||||||
|
*/
|
||||||
|
sid: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父ID
|
||||||
|
*/
|
||||||
|
pid: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
num: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格
|
||||||
|
*/
|
||||||
|
specification: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
unit: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数量
|
||||||
|
*/
|
||||||
|
quantity: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单价
|
||||||
|
*/
|
||||||
|
unitPrice: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface BiddingLimitListForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目Id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 版本号
|
||||||
|
*/
|
||||||
|
versions?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 表名
|
||||||
|
*/
|
||||||
|
sheet?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子ID
|
||||||
|
*/
|
||||||
|
sid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父ID
|
||||||
|
*/
|
||||||
|
pid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
num?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数量
|
||||||
|
*/
|
||||||
|
quantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单价
|
||||||
|
*/
|
||||||
|
unitPrice?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface BiddingLimitListQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目Id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 版本号
|
||||||
|
*/
|
||||||
|
versions?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 表名
|
||||||
|
*/
|
||||||
|
sheet?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子ID
|
||||||
|
*/
|
||||||
|
sid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父ID
|
||||||
|
*/
|
||||||
|
pid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
num?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数量
|
||||||
|
*/
|
||||||
|
quantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单价
|
||||||
|
*/
|
||||||
|
unitPrice?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
63
src/api/bidding/biddingUser/index.ts
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { BiddingUserVO, BiddingUserForm, BiddingUserQuery } from '@/api/bidding/biddingUser/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询招投标人员列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listBiddingUser = (query?: BiddingUserQuery): AxiosPromise<BiddingUserVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询招投标人员详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getBiddingUser = (id: string | number): AxiosPromise<BiddingUserVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增招投标人员
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addBiddingUser = (data: BiddingUserForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改招投标人员
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateBiddingUser = (data: BiddingUserForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除招投标人员
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delBiddingUser = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/biddingUser/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
71
src/api/bidding/biddingUser/types.ts
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
export interface BiddingUserVO {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招投标人员id
|
||||||
|
*/
|
||||||
|
userId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招投标人员姓名
|
||||||
|
*/
|
||||||
|
userName: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface BiddingUserForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招投标人员id
|
||||||
|
*/
|
||||||
|
userId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招投标人员姓名
|
||||||
|
*/
|
||||||
|
userName?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface BiddingUserQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招投标人员id
|
||||||
|
*/
|
||||||
|
userId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招投标人员姓名
|
||||||
|
*/
|
||||||
|
userName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
63
src/api/bidding/listOfWinningBids/index.ts
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { ListOfWinningBidsVO, ListOfWinningBidsForm, ListOfWinningBidsQuery } from '@/api/bidding/listOfWinningBids/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询中标项目一览列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listListOfWinningBids = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/listOfWinningBids/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询中标项目一览详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getListOfWinningBids = (id: string | number): AxiosPromise<ListOfWinningBidsVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/listOfWinningBids/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增中标项目一览
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addListOfWinningBids = (data: ListOfWinningBidsForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/listOfWinningBids',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改中标项目一览
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateListOfWinningBids = (data: ListOfWinningBidsForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/listOfWinningBids',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除中标项目一览
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delListOfWinningBids = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/listOfWinningBids/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
296
src/api/bidding/listOfWinningBids/types.ts
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
export interface ListOfWinningBidsVO {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目状态
|
||||||
|
*/
|
||||||
|
projectStatus: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目名称
|
||||||
|
*/
|
||||||
|
projectName: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标价(原币)
|
||||||
|
*/
|
||||||
|
winningBidOriginal: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 汇率
|
||||||
|
*/
|
||||||
|
exchangeRate: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 币种
|
||||||
|
*/
|
||||||
|
currency: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属主体
|
||||||
|
*/
|
||||||
|
subject: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标价
|
||||||
|
*/
|
||||||
|
winningBid: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标日期
|
||||||
|
*/
|
||||||
|
bidWinningDate: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 投标保证金
|
||||||
|
*/
|
||||||
|
bidDeposit: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否退还
|
||||||
|
*/
|
||||||
|
whetherSendBack: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 建设单位(客户)
|
||||||
|
*/
|
||||||
|
construction: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 总造价
|
||||||
|
*/
|
||||||
|
totalCost: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项申请人
|
||||||
|
*/
|
||||||
|
projectApplicant: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项部门
|
||||||
|
*/
|
||||||
|
projectApplicantDept: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项申请日期
|
||||||
|
*/
|
||||||
|
projectApplicantTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程状态
|
||||||
|
*/
|
||||||
|
processStatus: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目编号
|
||||||
|
*/
|
||||||
|
projectNumbering: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ListOfWinningBidsForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目状态
|
||||||
|
*/
|
||||||
|
projectStatus?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目名称
|
||||||
|
*/
|
||||||
|
projectName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标价(原币)
|
||||||
|
*/
|
||||||
|
winningBidOriginal?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 汇率
|
||||||
|
*/
|
||||||
|
exchangeRate?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 币种
|
||||||
|
*/
|
||||||
|
currency?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属主体
|
||||||
|
*/
|
||||||
|
subject?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标价
|
||||||
|
*/
|
||||||
|
winningBid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标日期
|
||||||
|
*/
|
||||||
|
bidWinningDate?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 投标保证金
|
||||||
|
*/
|
||||||
|
bidDeposit?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否退还
|
||||||
|
*/
|
||||||
|
whetherSendBack?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 建设单位(客户)
|
||||||
|
*/
|
||||||
|
construction?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 总造价
|
||||||
|
*/
|
||||||
|
totalCost?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项申请人
|
||||||
|
*/
|
||||||
|
projectApplicant?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项部门
|
||||||
|
*/
|
||||||
|
projectApplicantDept?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项申请日期
|
||||||
|
*/
|
||||||
|
projectApplicantTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程状态
|
||||||
|
*/
|
||||||
|
processStatus?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目编号
|
||||||
|
*/
|
||||||
|
projectNumbering?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ListOfWinningBidsQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目状态
|
||||||
|
*/
|
||||||
|
projectStatus?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目名称
|
||||||
|
*/
|
||||||
|
projectName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标价(原币)
|
||||||
|
*/
|
||||||
|
winningBidOriginal?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 汇率
|
||||||
|
*/
|
||||||
|
exchangeRate?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 币种
|
||||||
|
*/
|
||||||
|
currency?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属主体
|
||||||
|
*/
|
||||||
|
subject?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标价
|
||||||
|
*/
|
||||||
|
winningBid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中标日期
|
||||||
|
*/
|
||||||
|
bidWinningDate?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 投标保证金
|
||||||
|
*/
|
||||||
|
bidDeposit?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否退还
|
||||||
|
*/
|
||||||
|
whetherSendBack?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 建设单位(客户)
|
||||||
|
*/
|
||||||
|
construction?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 总造价
|
||||||
|
*/
|
||||||
|
totalCost?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项申请人
|
||||||
|
*/
|
||||||
|
projectApplicant?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项部门
|
||||||
|
*/
|
||||||
|
projectApplicantDept?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立项申请日期
|
||||||
|
*/
|
||||||
|
projectApplicantTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程状态
|
||||||
|
*/
|
||||||
|
processStatus?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目编号
|
||||||
|
*/
|
||||||
|
projectNumbering?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
101
src/api/contract/index.ts
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
|
||||||
|
//获取版本
|
||||||
|
export const obtainAllVersionNumbers = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/billofquantitiesLimitList/obtainAllVersionNumbers',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//获取sheet
|
||||||
|
export const sheetList = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/billofquantitiesLimitList/sheetList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//获取一览表
|
||||||
|
export const listBillofquantitiesLimitList = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/billofquantitiesLimitList/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//获取一览数据树
|
||||||
|
export const treeList = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/billofquantitiesLimitList/getTree',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//修改单价
|
||||||
|
export const updatePrice = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/billofquantitiesLimitList',
|
||||||
|
method: 'put',
|
||||||
|
data: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//查询分标策划
|
||||||
|
export const getPlanningList = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/segmentedIndicatorPlanning/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//新增分标策划
|
||||||
|
export const segmentedIndicatorPlanning = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/segmentedIndicatorPlanning',
|
||||||
|
method: 'post',
|
||||||
|
data: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//编辑分标策划
|
||||||
|
export const updatePlanning = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/segmentedIndicatorPlanning',
|
||||||
|
method: 'put',
|
||||||
|
data: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//编辑分标策划
|
||||||
|
export const delPlanning = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/segmentedIndicatorPlanning/' + query.ids,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//导出分标
|
||||||
|
export const importExcelFile = (params: any, data: any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/billofquantitiesLimitList/importExcelFile',
|
||||||
|
method: 'post',
|
||||||
|
params,
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//获取详情
|
||||||
|
export const getDetailsList = (query: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/segmentedIndicatorPlanning/getMore',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//获取版本详情
|
||||||
|
export const getVersionDetails = (id: any): AxiosPromise<any> => {
|
||||||
|
return request({
|
||||||
|
url: '/tender/tenderPlanLimitList/getVersionDetail/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
@ -16,6 +16,17 @@ export const listContactnotice = (query?: ContactnoticeQuery): AxiosPromise<Cont
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据项目id查询项目班组班组长信息列表
|
||||||
|
* @param projectId
|
||||||
|
*/
|
||||||
|
export const listProjectTeamForeman = (projectId: string | number): AxiosPromise<any[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/project/projectTeam/listForeman/' + projectId,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询联系单详细
|
* 查询联系单详细
|
||||||
* @param id
|
* @param id
|
||||||
|
@ -8,6 +8,7 @@ export interface ContactnoticeVO {
|
|||||||
* 项目ID
|
* 项目ID
|
||||||
*/
|
*/
|
||||||
projectId: string | number;
|
projectId: string | number;
|
||||||
|
status: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 模板类型
|
* 模板类型
|
||||||
|
83
src/api/ctr/expensesContract/index.ts
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { ExpensesContractVO, ExpensesContractForm, ExpensesContractQuery } from '@/api/ctr/expensesContract/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询支出合同列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listExpensesContract = (query?: ExpensesContractQuery): AxiosPromise<ExpensesContractVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/expensesContract/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询支出合同详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getExpensesContract = (id: string | number): AxiosPromise<ExpensesContractVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/expensesContract/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增支出合同
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addExpensesContract = (data: ExpensesContractForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/expensesContract',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改支出合同
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateExpensesContract = (data: ExpensesContractForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/expensesContract',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除支出合同
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delExpensesContract = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/expensesContract/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 查看支出合同附件列表
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getFileList = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/expensesContract/file/list',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取招标计划
|
||||||
|
export const getTenderPlan = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/expensesContract/tender/list',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
141
src/api/ctr/expensesContract/types.ts
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
export interface ExpensesContractVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同编号
|
||||||
|
*/
|
||||||
|
contractCode: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同类型
|
||||||
|
*/
|
||||||
|
contractType: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供应商
|
||||||
|
*/
|
||||||
|
contractSupplier: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分包内容
|
||||||
|
*/
|
||||||
|
contractedContent: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同金额
|
||||||
|
*/
|
||||||
|
amount: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招标Id
|
||||||
|
*/
|
||||||
|
tenderId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ExpensesContractForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同编号
|
||||||
|
*/
|
||||||
|
contractCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同类型
|
||||||
|
*/
|
||||||
|
contractType?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供应商
|
||||||
|
*/
|
||||||
|
contractSupplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分包内容
|
||||||
|
*/
|
||||||
|
contractedContent?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同金额
|
||||||
|
*/
|
||||||
|
amount?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招标Id
|
||||||
|
*/
|
||||||
|
tenderId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ExpensesContractQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同编号
|
||||||
|
*/
|
||||||
|
contractCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同类型
|
||||||
|
*/
|
||||||
|
contractType?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供应商
|
||||||
|
*/
|
||||||
|
contractSupplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分包内容
|
||||||
|
*/
|
||||||
|
contractedContent?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同金额
|
||||||
|
*/
|
||||||
|
amount?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招标Id
|
||||||
|
*/
|
||||||
|
tenderId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
86
src/api/ctr/incomeContract/index.ts
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { IncomeContractVO, IncomeContractForm, IncomeContractQuery } from '@/api/ctr/incomeContract/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询收入合同列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listIncomeContract = (query?: IncomeContractQuery): AxiosPromise<IncomeContractVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/incomeContract/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询收入合同详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getIncomeContract = (id: string | number): AxiosPromise<IncomeContractVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/incomeContract/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增收入合同
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addIncomeContract = (data: IncomeContractForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/incomeContract',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改收入合同
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateIncomeContract = (data: IncomeContractForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/incomeContract',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除收入合同
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delIncomeContract = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/incomeContract/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 查看收入合同附件列表
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getFileList = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/ctr/incomeContract/file/list',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查看收入合同附件列表
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getInfoByProjectId = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/bidding/listOfWinningBids/getInfoByProjectId',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
126
src/api/ctr/incomeContract/types.ts
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
export interface IncomeContractVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同编号
|
||||||
|
*/
|
||||||
|
contractCode: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同类型
|
||||||
|
*/
|
||||||
|
contractType: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 业主单位
|
||||||
|
*/
|
||||||
|
contractOwner: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 承包内容
|
||||||
|
*/
|
||||||
|
contractedContent: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同金额
|
||||||
|
*/
|
||||||
|
amount: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IncomeContractForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同编号
|
||||||
|
*/
|
||||||
|
contractCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同类型
|
||||||
|
*/
|
||||||
|
contractType?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 业主单位
|
||||||
|
*/
|
||||||
|
contractOwner?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 承包内容
|
||||||
|
*/
|
||||||
|
contractedContent?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同金额
|
||||||
|
*/
|
||||||
|
amount?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IncomeContractQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同编号
|
||||||
|
*/
|
||||||
|
contractCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同类型
|
||||||
|
*/
|
||||||
|
contractType?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 业主单位
|
||||||
|
*/
|
||||||
|
contractOwner?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 承包内容
|
||||||
|
*/
|
||||||
|
contractedContent?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同金额
|
||||||
|
*/
|
||||||
|
amount?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
41
src/api/design/Professional/index.ts
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
// 提资计划
|
||||||
|
// 批量新增或修改
|
||||||
|
export const extractBatch = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/extract/batch',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 批量新增或修改
|
||||||
|
export const extractList = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/extract/list',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取提资清单详细信息
|
||||||
|
export const extractDetail = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/extract/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取提取资料
|
||||||
|
export const getFileList = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/extract/fileList/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取专业
|
||||||
|
export const extractUserMajor = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/extract/userMajor',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
});
|
||||||
|
};
|
37
src/api/design/appointment/index.ts
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
// 设计人员
|
||||||
|
// 新增
|
||||||
|
export const designUserAdd = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/user/batch',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 查询
|
||||||
|
export const designUserList = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/user/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 查询
|
||||||
|
export const systemUserList = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/system/user/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 查询
|
||||||
|
export const desUserList = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreviewReceipts/desUser/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
73
src/api/design/billofQuantities/index.ts
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
/**
|
||||||
|
* 获取所有版本号
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const obtainAllVersionNumbers = (query:any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/billofquantitiesVersions/obtainAllVersionNumbers',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导入excel
|
||||||
|
* @param data
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const importExcelFile = (params:any,data:any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/billofquantitiesVersions/importExcelFile',
|
||||||
|
method: 'post',
|
||||||
|
params,
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
/**
|
||||||
|
* 获取指定版本的sheet
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const obtainTheList = (query:any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/billofquantitiesVersions/obtainTheList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取指定版本的sheet
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const sheetList = (query:any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/billofquantitiesVersions/sheetList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物资设备清单审批详情
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const detailsMaterialAndEquipmentApproval = (versions:any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/billofquantitiesVersions/detailsMaterialAndEquipmentApproval/'+versions,
|
||||||
|
method: 'get',
|
||||||
|
});
|
||||||
|
};
|
27
src/api/design/condition/index.ts
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
// 收资计划
|
||||||
|
// 查询收资清单目录列表
|
||||||
|
export const collectCatalogueList = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/collectCatalogue/list',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 查询收资文件列表
|
||||||
|
export const collectFileList = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/collectFile/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取收资文件详细信息
|
||||||
|
export const getCollectFile = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/collectFile/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
@ -31,7 +31,7 @@ export const getDesignChange = (id: string | number): AxiosPromise<DesignChangeV
|
|||||||
* 新增设计变更管理
|
* 新增设计变更管理
|
||||||
* @param data
|
* @param data
|
||||||
*/
|
*/
|
||||||
export const addDesignChange = (data: DesignChangeForm) => {
|
export const addDesignChange = (data) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/design/designChange',
|
url: '/design/designChange',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@ -61,3 +61,23 @@ export const delDesignChange = (id: string | number | Array<string | number>) =>
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
/**
|
||||||
|
* 获取卷册号
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const blueprintList = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/designChange/blueprint/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取卷册列表
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const catalogList = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/designChange/catalogList/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
@ -61,3 +61,35 @@ export const delDrawing = (id: string | number | Array<string | number>) => {
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
/**
|
||||||
|
* 查阅
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const volumeFileViewer = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeFileViewer',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 查阅记录列表
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const volumeFileViewerList = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeFileViewer/list?volumeFileId=' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 查阅图纸列表
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const joinList = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeFile/joinList',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
105
src/api/design/drawingreview/index.ts
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
|
||||||
|
// 查询设计-图纸评审列表
|
||||||
|
export const listDrawingreview = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/listOfDesignDrawingsReview',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//查询设计-图纸评审详细
|
||||||
|
export const getDrawingreview = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//查询设计-图纸评审详细
|
||||||
|
export const drawingreviewzQuery = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/zQuery/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//新增设计-图纸评审
|
||||||
|
export const addDrawingreview = (params, data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/drawingReviewUpload',
|
||||||
|
method: 'post',
|
||||||
|
params: params,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 修改设计-图纸评审
|
||||||
|
export const updateDrawingreview = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/anewDrawingReviewUpload',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 设计验证表
|
||||||
|
export const fillOutTheDesignVerificationForm = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/fillOutTheDesignVerificationForm',
|
||||||
|
method: 'put',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 设计验证表
|
||||||
|
export const drawingreviewReceipts = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreviewReceipts',
|
||||||
|
method: 'put',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 设计验证表
|
||||||
|
export const subProjectListAll = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/subProjectList/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取历史设计图纸评审
|
||||||
|
export const ObtainHistoricalDesignDrawingsForReview = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/ObtainHistoricalDesignDrawingsForReview/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取详情
|
||||||
|
export const drawingreviewReceiptsList = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreviewReceipts/list',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 根据历史设计图纸评审查询详情
|
||||||
|
export const drawingreviewReceiptsDetail = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreviewReceipts/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 根据历史设计图纸评审查询详情
|
||||||
|
export const drawingreview = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreview/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 获取单据
|
||||||
|
export const getDrawingreviewReceipts = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/drawingreviewReceipts/review/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
63
src/api/design/prelimScheme/index.ts
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { PrelimSchemeVO, PrelimSchemeForm, PrelimSchemeQuery } from '@/api/design/prelimScheme/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询设计初步方案列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listPrelimScheme = (query?: PrelimSchemeQuery): AxiosPromise<PrelimSchemeVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/design/prelimScheme/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询设计初步方案详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getPrelimScheme = (id: string | number): AxiosPromise<PrelimSchemeVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/design/prelimScheme/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增设计初步方案
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addPrelimScheme = (data: PrelimSchemeForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/prelimScheme',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改设计初步方案
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updatePrelimScheme = (data: PrelimSchemeForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/prelimScheme/update/' + data.id,
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除设计初步方案
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delPrelimScheme = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/prelimScheme/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
101
src/api/design/prelimScheme/types.ts
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
export interface PrelimSchemeVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ossId
|
||||||
|
*/
|
||||||
|
ossId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名称
|
||||||
|
*/
|
||||||
|
fileName: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件访问路径
|
||||||
|
*/
|
||||||
|
fileUrl: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态
|
||||||
|
*/
|
||||||
|
status: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface PrelimSchemeForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ossId
|
||||||
|
*/
|
||||||
|
ossId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名称
|
||||||
|
*/
|
||||||
|
fileName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件访问路径
|
||||||
|
*/
|
||||||
|
fileUrl?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态
|
||||||
|
*/
|
||||||
|
status?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface PrelimSchemeQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ossId
|
||||||
|
*/
|
||||||
|
ossId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名称
|
||||||
|
*/
|
||||||
|
fileName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件访问路径
|
||||||
|
*/
|
||||||
|
fileUrl?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态
|
||||||
|
*/
|
||||||
|
status?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
34
src/api/design/received/index.ts
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
// 收资计划
|
||||||
|
// 批量新增或修改
|
||||||
|
export const collectBatch = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/collect/batch',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 获取收资清单详细信息
|
||||||
|
export const byProjectId = (ProjectId) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/collect/byProjectId/' + ProjectId,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 导出收资清单
|
||||||
|
export const exportWord = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/collect/exportWord?id=' + params.id,
|
||||||
|
method: 'post'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 导出模版
|
||||||
|
export const exportExcel = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/collect/exportExcel',
|
||||||
|
method: 'post',
|
||||||
|
params: params
|
||||||
|
});
|
||||||
|
};
|
63
src/api/design/scheme/index.ts
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { SchemeVO, SchemeForm, SchemeQuery } from '@/api/design/scheme/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询设计初步方案列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listScheme = (query?: SchemeQuery): AxiosPromise<SchemeVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/design/scheme/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询设计初步方案详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getScheme = (id: string | number): AxiosPromise<SchemeVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/design/scheme/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增设计初步方案
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addScheme = (data: SchemeForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/scheme',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改设计初步方案
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateScheme = (data: SchemeForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/scheme/update/' + data.id,
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除设计初步方案
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delScheme = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/scheme/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
101
src/api/design/scheme/types.ts
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
export interface SchemeVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ossId
|
||||||
|
*/
|
||||||
|
ossId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名称
|
||||||
|
*/
|
||||||
|
fileName: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件访问路径
|
||||||
|
*/
|
||||||
|
fileUrl: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态
|
||||||
|
*/
|
||||||
|
status: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SchemeForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ossId
|
||||||
|
*/
|
||||||
|
ossId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名称
|
||||||
|
*/
|
||||||
|
fileName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件访问路径
|
||||||
|
*/
|
||||||
|
fileUrl?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态
|
||||||
|
*/
|
||||||
|
status?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SchemeQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ossId
|
||||||
|
*/
|
||||||
|
ossId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名称
|
||||||
|
*/
|
||||||
|
fileName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件访问路径
|
||||||
|
*/
|
||||||
|
fileUrl?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态
|
||||||
|
*/
|
||||||
|
status?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
63
src/api/design/subcontract/index.ts
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { SubcontractVO, SubcontractForm, SubcontractQuery } from '@/api/design/subcontract/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询设计分包列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listSubcontract = (query?: SubcontractQuery): AxiosPromise<SubcontractVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/design/subcontract/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询设计分包详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getSubcontract = (id: string | number): AxiosPromise<SubcontractVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/design/subcontract/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增设计分包
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addSubcontract = (data: SubcontractForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/subcontract',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改设计分包
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateSubcontract = (data: SubcontractForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/subcontract',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除设计分包
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delSubcontract = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/subcontract/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
56
src/api/design/subcontract/types.ts
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
export interface SubcontractVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分包内容
|
||||||
|
*/
|
||||||
|
subContent: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SubcontractForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分包内容
|
||||||
|
*/
|
||||||
|
subContent?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SubcontractQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分包内容
|
||||||
|
*/
|
||||||
|
subContent?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
154
src/api/design/volumeCatalog/index.ts
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { VolumeCatalogVO, VolumeCatalogForm, VolumeCatalogQuery } from '@/api/design/volumeCatalog/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询卷册目录列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listVolumeCatalog = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询卷册目录详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getVolumeCatalog = (id: string | number): AxiosPromise<VolumeCatalogVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询卷册目录文件列表
|
||||||
|
* @param id
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const getVolumeCatafileList = (id: string | number): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog/listFileById/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查阅卷册目录文件
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const lookViewerFile = (id: string | number): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog/viewerFile/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 新增卷册目录
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addVolumeCatalog = (data: VolumeCatalogForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改卷册目录
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateVolumeCatalog = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除卷册目录
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delVolumeCatalog = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上传卷册文件
|
||||||
|
* @param query
|
||||||
|
*/
|
||||||
|
export const uploadVolumeFile = (query?: any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeFile',
|
||||||
|
method: 'POST',
|
||||||
|
data: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取文件列表
|
||||||
|
* @param query
|
||||||
|
*/
|
||||||
|
export const volumeFileList = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeFile/list',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取文件详情
|
||||||
|
* @param query
|
||||||
|
*/
|
||||||
|
export const getileDetail = (id) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeFile/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取专业列表
|
||||||
|
* @param query
|
||||||
|
*/
|
||||||
|
export const majorList = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog/majorList',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取人员列表
|
||||||
|
* @param query
|
||||||
|
*/
|
||||||
|
export const copyUserList = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/design/volumeCatalog/copyUserList',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取二维码信息
|
||||||
|
* @param query
|
||||||
|
*/
|
||||||
|
export const codeInfo = (id) => {
|
||||||
|
const config: any = {
|
||||||
|
url: '/design/volumeFile/codeInfo?id=' + id,
|
||||||
|
method: 'get'
|
||||||
|
};
|
||||||
|
config.headers = {
|
||||||
|
Authorization: '1'
|
||||||
|
};
|
||||||
|
return request(config);
|
||||||
|
};
|
90
src/api/design/volumeCatalog/types.ts
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
export interface VolumeCatalogVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
design: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设计子项ID
|
||||||
|
*/
|
||||||
|
designSubitemId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 卷册号
|
||||||
|
*/
|
||||||
|
volumeNumber: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资料名称
|
||||||
|
*/
|
||||||
|
documentName: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface VolumeCatalogForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
design?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设计子项ID
|
||||||
|
*/
|
||||||
|
designSubitemId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 卷册号
|
||||||
|
*/
|
||||||
|
volumeNumber?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资料名称
|
||||||
|
*/
|
||||||
|
documentName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface VolumeCatalogQuery extends PageQuery {
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设计子项ID
|
||||||
|
*/
|
||||||
|
designSubitemId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 卷册号
|
||||||
|
*/
|
||||||
|
volumeNumber?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资料名称
|
||||||
|
*/
|
||||||
|
documentName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
13
src/api/enterpriseLarge/index.ts
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询企业关键指标
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const keyIndex = () => {
|
||||||
|
return request({
|
||||||
|
url: '/enterprise/big/screen/keyIndex',
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
111
src/api/equipment/index.ts
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { EquipmentVO, EquipmentForm, EquipmentQuery } from '@/api/equipment/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询GPS设备详细列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listEquipment = (query?: EquipmentQuery): AxiosPromise<EquipmentVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询GPS设备详细详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getEquipment = (id: string | number): AxiosPromise<EquipmentVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增GPS设备详细
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addEquipment = (data: EquipmentForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改GPS设备详细
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateEquipment = (data: EquipmentForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除GPS设备详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delEquipment = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
export const bindUser = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment/bindManmachine',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getUserId = (projectId) => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment/userList',
|
||||||
|
method: 'get',
|
||||||
|
|
||||||
|
params: { projectId }
|
||||||
|
});
|
||||||
|
};
|
||||||
|
export const gethistroyUser = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment/getUserList',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 解除绑定接口定义(确保使用POST方法并正确传递data)
|
||||||
|
export function getRemoveBind(data: { id: number; clientId: string }) {
|
||||||
|
return request({
|
||||||
|
url: '/gps/equipment/unbindManmachine',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getProjectId() {
|
||||||
|
return request({
|
||||||
|
url: 'gps/equipment/getProjectList',
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export const getFootNote = (data) => {
|
||||||
|
return request({
|
||||||
|
url: 'gps/equipmentSon/getList',
|
||||||
|
method: 'get',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
169
src/api/equipment/types.ts
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
export interface EquipmentVO {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
userId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备标识
|
||||||
|
*/
|
||||||
|
clientId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备名称
|
||||||
|
*/
|
||||||
|
deviceName: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否使用UDP协议:0=否,1=是
|
||||||
|
*/
|
||||||
|
udp: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 远程连接地址(IP:端口)
|
||||||
|
*/
|
||||||
|
remoteAddressStr: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 连接创建时间
|
||||||
|
*/
|
||||||
|
creationTime: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最后活动时间
|
||||||
|
*/
|
||||||
|
lastAccessedTime: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否已注册:0=未注册,1=已注册
|
||||||
|
*/
|
||||||
|
registered: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface EquipmentForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
userId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备标识
|
||||||
|
*/
|
||||||
|
clientId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备名称
|
||||||
|
*/
|
||||||
|
deviceName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否使用UDP协议:0=否,1=是
|
||||||
|
*/
|
||||||
|
udp?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 远程连接地址(IP:端口)
|
||||||
|
*/
|
||||||
|
remoteAddressStr?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 连接创建时间
|
||||||
|
*/
|
||||||
|
creationTime?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最后活动时间
|
||||||
|
*/
|
||||||
|
lastAccessedTime?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否已注册:0=未注册,1=已注册
|
||||||
|
*/
|
||||||
|
registered?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface EquipmentQuery extends PageQuery {
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
/**
|
||||||
|
* 是否绑定
|
||||||
|
*/
|
||||||
|
type?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
userId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备标识
|
||||||
|
*/
|
||||||
|
clientId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备名称
|
||||||
|
*/
|
||||||
|
deviceName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否使用UDP协议:0=否,1=是
|
||||||
|
*/
|
||||||
|
udp?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 远程连接地址(IP:端口)
|
||||||
|
*/
|
||||||
|
remoteAddressStr?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 连接创建时间
|
||||||
|
*/
|
||||||
|
creationTime?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最后活动时间
|
||||||
|
*/
|
||||||
|
lastAccessedTime?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否已注册:0=未注册,1=已注册
|
||||||
|
*/
|
||||||
|
registered?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
118
src/api/formalities/formalitiesAreConsolidated/index.ts
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import {
|
||||||
|
FormalitiesAreConsolidatedVO,
|
||||||
|
FormalitiesAreConsolidatedForm,
|
||||||
|
FormalitiesAreConsolidatedQuery
|
||||||
|
} from '@/api/formalities/formalitiesAreConsolidated/types';
|
||||||
|
import { ListOfFormalitiesQuery, ListOfFormalitiesVO } from '../listOfFormalities/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询合规性手续合账列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listFormalitiesAreConsolidated = (query?: FormalitiesAreConsolidatedQuery): AxiosPromise<FormalitiesAreConsolidatedVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询合规性手续合账详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getFormalitiesAreConsolidated = (id: string | number): AxiosPromise<FormalitiesAreConsolidatedVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增合规性手续合账
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addFormalitiesAreConsolidated = (data: FormalitiesAreConsolidatedForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改合规性手续合账
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateFormalitiesAreConsolidated = (data: FormalitiesAreConsolidatedForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/edit',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除合规性手续合账
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delFormalitiesAreConsolidated = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑状态
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const editStatus = (data: FormalitiesAreConsolidatedForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/editStatus',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询合规性手续合账文件列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const listFormalitiesAnnex = (query?: any): AxiosPromise<FormalitiesAreConsolidatedVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAnnex/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除合规性手续合账文件
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delFormalitiesAnnex = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAnnex/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询手续办理清单模板属性列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const getTemplateTreeList = (query?: any): AxiosPromise<ListOfFormalitiesVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/getTree',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
160
src/api/formalities/formalitiesAreConsolidated/types.ts
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
export interface FormalitiesAreConsolidatedVO {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
/**
|
||||||
|
* 办理状态
|
||||||
|
*/
|
||||||
|
status: string;
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
planTheEndTime: string;
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续办理清单模板父id
|
||||||
|
*/
|
||||||
|
formalitiesPid: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续办理清单模板id
|
||||||
|
*/
|
||||||
|
formalitiesId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划开始时间
|
||||||
|
*/
|
||||||
|
planTheStartTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 负责人
|
||||||
|
*/
|
||||||
|
head: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际完成时间
|
||||||
|
*/
|
||||||
|
actualCompletionTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 办理状态
|
||||||
|
*/
|
||||||
|
processingStatus: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续材料
|
||||||
|
*/
|
||||||
|
formalitiesUrl: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface FormalitiesAreConsolidatedForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
planTheEndTime?: string;
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续办理清单模板父id
|
||||||
|
*/
|
||||||
|
formalitiesPid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续办理清单模板id
|
||||||
|
*/
|
||||||
|
formalitiesId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划开始时间
|
||||||
|
*/
|
||||||
|
planTheStartTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 负责人
|
||||||
|
*/
|
||||||
|
head?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际完成时间
|
||||||
|
*/
|
||||||
|
actualCompletionTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 办理状态
|
||||||
|
*/
|
||||||
|
processingStatus?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续材料
|
||||||
|
*/
|
||||||
|
formalitiesUrl?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface FormalitiesAreConsolidatedQuery extends PageQuery {
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续办理清单模板父id
|
||||||
|
*/
|
||||||
|
formalitiesPid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续办理清单模板id
|
||||||
|
*/
|
||||||
|
formalitiesId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划开始时间
|
||||||
|
*/
|
||||||
|
planTheStartTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 负责人
|
||||||
|
*/
|
||||||
|
head?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际完成时间
|
||||||
|
*/
|
||||||
|
actualCompletionTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 办理状态
|
||||||
|
*/
|
||||||
|
processingStatus?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手续材料
|
||||||
|
*/
|
||||||
|
formalitiesUrl?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
86
src/api/formalities/listOfFormalities/index.ts
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { ListOfFormalitiesVO, ListOfFormalitiesForm, ListOfFormalitiesQuery } from '@/api/formalities/listOfFormalities/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询手续办理清单模板列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listListOfFormalities = (query?: ListOfFormalitiesQuery): AxiosPromise<ListOfFormalitiesVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/listOfFormalities/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询手续办理清单模板详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getListOfFormalities = (id: string | number): AxiosPromise<ListOfFormalitiesVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/listOfFormalities/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增手续办理清单模板
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addListOfFormalities = (data: ListOfFormalitiesForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/listOfFormalities',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改手续办理清单模板
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateListOfFormalities = (data: ListOfFormalitiesForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/listOfFormalities',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除手续办理清单模板
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delListOfFormalities = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/listOfFormalities/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询手续办理清单模板是否存在
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getWhetherItExists = (id: string | number): AxiosPromise<ListOfFormalitiesVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/getWhetherItExists',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
projectId: id
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//模版新增
|
||||||
|
export const addFormalities = (data: any): AxiosPromise<ListOfFormalitiesVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/formalities/formalitiesAreConsolidated/addFormalities',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
56
src/api/formalities/listOfFormalities/types.ts
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
export interface ListOfFormalitiesVO {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父级id
|
||||||
|
*/
|
||||||
|
pid: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ListOfFormalitiesForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父级id
|
||||||
|
*/
|
||||||
|
pid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ListOfFormalitiesQuery extends PageQuery {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父级id
|
||||||
|
*/
|
||||||
|
pid?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
|||||||
import request from '@/utils/request-go';
|
import request from '@/utils/request-go';
|
||||||
|
import request1 from '@/utils/request';
|
||||||
import { AxiosPromise } from 'axios';
|
import { AxiosPromise } from 'axios';
|
||||||
import {
|
import {
|
||||||
QualityVO,
|
QualityVO,
|
||||||
@ -172,7 +173,7 @@ export const getweatherList = (): AxiosPromise<weatherVO[]> => {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export const getSafetyDay = (id?: string): AxiosPromise<safetyDayVO> => {
|
export const getSafetyDay = (id?: string): AxiosPromise<safetyDayVO> => {
|
||||||
return request({
|
return request1({
|
||||||
url: '/project/project/safetyDay/' + id,
|
url: '/project/project/safetyDay/' + id,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
});
|
});
|
||||||
|
115
src/api/largeScreen/index.ts
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { MasterVO, MasterForm, MasterQuery } from '@/api/patch/types';
|
||||||
|
/**
|
||||||
|
* 合同金额
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
export const totalAmount = () => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/totalAmount',
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询项目位置列表
|
||||||
|
*
|
||||||
|
*/ export const projectGis = (clientid?: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/project/gis',
|
||||||
|
method: 'get',
|
||||||
|
params: clientid
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应收实收
|
||||||
|
*
|
||||||
|
*/ export const incomePay = (clientid) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/income/pay',
|
||||||
|
method: 'get',
|
||||||
|
params: clientid
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 收入合同分析
|
||||||
|
*
|
||||||
|
*/ export const incomeAnalyze = (clientid) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/income/analyze',
|
||||||
|
method: 'get',
|
||||||
|
params: clientid
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 应付实付
|
||||||
|
*
|
||||||
|
*/ export const expensesPay = (clientid) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/expenses/pay',
|
||||||
|
method: 'get',
|
||||||
|
params: clientid
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 支出合同分析
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
export const expensesAnalyze = (clientid) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/expenses/analyze',
|
||||||
|
method: 'get',
|
||||||
|
params: clientid
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 成本
|
||||||
|
*
|
||||||
|
*/ export const cost = (clientid) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/cost',
|
||||||
|
method: 'get',
|
||||||
|
params: clientid
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 资金KPI
|
||||||
|
export const monthMoney = () => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/monthMoney',
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 现金流
|
||||||
|
export const monthCash = () => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/monthCash',
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 现金流总和
|
||||||
|
|
||||||
|
export const cashTotal = () => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/cashTotal',
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//安全天数
|
||||||
|
export const getSafetyDay = (projectId) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/safetyDay/' + projectId,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//安全天数
|
||||||
|
export const getWeather = (projectId) => {
|
||||||
|
return request({
|
||||||
|
url: '/money/big/screen/weather/' + projectId,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
@ -129,8 +129,10 @@ export function getGoToken(): AxiosPromise<any> {
|
|||||||
data: {
|
data: {
|
||||||
status: 'yjdsj',
|
status: 'yjdsj',
|
||||||
verifyCode: '1111',
|
verifyCode: '1111',
|
||||||
|
// username: 'admin',
|
||||||
|
// password: 'zmkg@2023A'
|
||||||
username: 'admin',
|
username: 'admin',
|
||||||
password: 'zmkg@2023A'
|
password: 'zmkg@2023C'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1,63 +1,45 @@
|
|||||||
import request from '@/utils/request';
|
import request from '@/utils/request-go';
|
||||||
import { AxiosPromise } from 'axios';
|
// 查询机械列表
|
||||||
import { MachineryForm, MachineryQuery, MachineryVO } from '@/api/machinery/machinery/types';
|
export function listBusMachinery(query: object) {
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询机械列表
|
|
||||||
* @param query
|
|
||||||
* @returns {*}
|
|
||||||
*/
|
|
||||||
|
|
||||||
export const listMachinery = (query?: MachineryQuery): AxiosPromise<MachineryVO[]> => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machinery/list',
|
url: '/zm/api/v1/system/busMachinery/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 查询机械详细
|
||||||
/**
|
export function getBusMachinery(id: number) {
|
||||||
* 查询机械详细
|
|
||||||
* @param id
|
|
||||||
*/
|
|
||||||
export const getMachinery = (id: string | number): AxiosPromise<MachineryVO> => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machinery/' + id,
|
url: '/zm/api/v1/system/busMachinery/get',
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
id: id.toString()
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 新增机械
|
||||||
/**
|
export function addBusMachinery(data: object) {
|
||||||
* 新增机械
|
|
||||||
* @param data
|
|
||||||
*/
|
|
||||||
export const addMachinery = (data: MachineryForm): AxiosPromise<string | number> => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machinery',
|
url: '/zm/api/v1/system/busMachinery/add',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 修改机械
|
||||||
/**
|
export function updateBusMachinery(data: object) {
|
||||||
* 修改机械
|
|
||||||
* @param data
|
|
||||||
*/
|
|
||||||
export const updateMachinery = (data: MachineryForm) => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machinery',
|
url: '/zm/api/v1/system/busMachinery/edit',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data: data
|
data: data
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 删除机械
|
||||||
/**
|
export function delBusMachinery(ids: number[]) {
|
||||||
* 删除机械
|
|
||||||
* @param id
|
|
||||||
*/
|
|
||||||
export const delMachinery = (id: string | number | Array<string | number>) => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machinery/' + id,
|
url: '/zm/api/v1/system/busMachinery/delete',
|
||||||
method: 'delete'
|
method: 'delete',
|
||||||
|
data: {
|
||||||
|
ids: ids
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
@ -1,63 +1,45 @@
|
|||||||
import request from '@/utils/request';
|
import request from '@/utils/request-go';
|
||||||
import { AxiosPromise } from 'axios';
|
// 查询机械详情列表
|
||||||
import { MachineryDetailForm, MachineryDetailQuery, MachineryDetailVO } from '@/api/machinery/machineryDetail/types';
|
export function listBusMachineryDetail(query: object) {
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询机械详情列表
|
|
||||||
* @param query
|
|
||||||
* @returns {*}
|
|
||||||
*/
|
|
||||||
|
|
||||||
export const listMachineryDetail = (query?: MachineryDetailQuery): AxiosPromise<MachineryDetailVO[]> => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machineryDetail/list',
|
url: '/zm/api/v1/system/busMachineryDetail/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 查询机械详情详细
|
||||||
/**
|
export function getBusMachineryDetail(id: number) {
|
||||||
* 查询机械详情详细
|
|
||||||
* @param id
|
|
||||||
*/
|
|
||||||
export const getMachineryDetail = (id: string | number): AxiosPromise<MachineryDetailVO> => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machineryDetail/' + id,
|
url: '/zm/api/v1/system/busMachineryDetail/get',
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
id: id.toString()
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 新增机械详情
|
||||||
/**
|
export function addBusMachineryDetail(data: object) {
|
||||||
* 新增机械详情
|
|
||||||
* @param data
|
|
||||||
*/
|
|
||||||
export const addMachineryDetail = (data: MachineryDetailForm): AxiosPromise<string | number> => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machineryDetail',
|
url: '/zm/api/v1/system/busMachineryDetail/add',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 修改机械详情
|
||||||
/**
|
export function updateBusMachineryDetail(data: object) {
|
||||||
* 修改机械详情
|
|
||||||
* @param data
|
|
||||||
*/
|
|
||||||
export const updateMachineryDetail = (data: MachineryDetailForm) => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machineryDetail',
|
url: '/zm/api/v1/system/busMachineryDetail/edit',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data: data
|
data: data
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
// 删除机械详情
|
||||||
/**
|
export function delBusMachineryDetail(ids: number[]) {
|
||||||
* 删除机械详情
|
|
||||||
* @param id
|
|
||||||
*/
|
|
||||||
export const delMachineryDetail = (id: string | number | Array<string | number>) => {
|
|
||||||
return request({
|
return request({
|
||||||
url: '/machinery/machineryDetail/' + id,
|
url: '/zm/api/v1/system/busMachineryDetail/delete',
|
||||||
method: 'delete'
|
method: 'delete',
|
||||||
|
data: {
|
||||||
|
ids: ids
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
28
src/api/materials/appointment/index.ts
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
// 设计人员
|
||||||
|
// 新增
|
||||||
|
export const designUserAdd = (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/purchaseUser/addOrUpdate',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 查询
|
||||||
|
export const designUserDetail = (projectId) => {
|
||||||
|
return request({
|
||||||
|
url: `/cailiaoshebei/purchaseUser/byProject/${projectId}`,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// 查询
|
||||||
|
export const systemUserList = (query) => {
|
||||||
|
return request({
|
||||||
|
url: '/system/user/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
172
src/api/materials/batchPlan/index.ts
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { CailiaoshebeiVO, CailiaoshebeiForm, CailiaoshebeiQuery } from '@/api/materials/cailiaoshebei/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listCailiaoshebei = (query?: any): AxiosPromise<CailiaoshebeiVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialbatchdemandplan/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getCailiaoshebei = (id: string | number): AxiosPromise<CailiaoshebeiVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/mrpBase/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增物资-材料设备
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addCailiaoshebei = (data: CailiaoshebeiForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialbatchdemandplan',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改物资-材料设备
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateCailiaoshebei = (data: CailiaoshebeiForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/mrpBase/batch',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除物资-材料设备
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delCailiaoshebei = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/remove/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备批次列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const listBatch = (query?: any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/mrpBase/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增物资-材料设备批次
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const getBatch = (query: any) => {
|
||||||
|
const config: any = {
|
||||||
|
url: '/cailiaoshebei/materialbatchdemandplan/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
};
|
||||||
|
|
||||||
|
// 如果 query.token 存在,就覆盖请求头里的 token
|
||||||
|
if (query.token) {
|
||||||
|
config.headers = {
|
||||||
|
Authorization: query.token
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return request(config);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除物资-材料设备批次
|
||||||
|
* @param ids
|
||||||
|
*/
|
||||||
|
export const delBatch = (ids: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/mrpBase/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备批次详情
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getPcDetail = (id: string | number): AxiosPromise<CailiaoshebeiVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialbatchdemandplan/spQuery/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备选择列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const listSelectCailiaoshebei = (query?: any): AxiosPromise<CailiaoshebeiVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialbatchdemandplan/masterDataList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询字典数据
|
||||||
|
* @param dictType
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const getDictList = (query: any): AxiosPromise<any[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/purchaseDoc/engineeringList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
export const coryEngineeringList = (query: any): AxiosPromise<any[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/mrpBase/coryEngineeringList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取到物资状态为已完成的版本
|
||||||
|
*/
|
||||||
|
export const obtainTheVersion = (query: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/mrpBase/obtainTheVersion',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 获取到物资剩余量
|
||||||
|
*/
|
||||||
|
export const mrpBaseRemaining = (query: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/mrpBase/remaining',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
229
src/api/materials/batchPlan/types.ts
Normal file
@ -0,0 +1,229 @@
|
|||||||
|
export interface CailiaoshebeiVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
cailiaoshebeiId?: string | number;
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CailiaoshebeiForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
projectId?: string | number;
|
||||||
|
batchNumber?: string | number;
|
||||||
|
addDataList?: any[];
|
||||||
|
approvalProject?: string;
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CailiaoshebeiQuery extends PageQuery {
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId?: string | number;
|
||||||
|
projectId?: string | number;
|
||||||
|
batchNumber?: string;
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
110
src/api/materials/cailiaoshebei/index.ts
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { CailiaoshebeiVO, CailiaoshebeiForm, CailiaoshebeiQuery } from '@/api/materials/cailiaoshebei/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listCailiaoshebei = (query?: CailiaoshebeiQuery): AxiosPromise<CailiaoshebeiVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getCailiaoshebei = (id: string | number): AxiosPromise<CailiaoshebeiVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增物资-材料设备
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addCailiaoshebei = (data: CailiaoshebeiForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改物资-材料设备
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateCailiaoshebei = (data: CailiaoshebeiForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除物资-材料设备
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delCailiaoshebei = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/remove/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备批次列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const listBatch = (query?: any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/pcList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增物资-材料设备批次
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const getBatch = (data: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/pcAdd',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除物资-材料设备批次
|
||||||
|
* @param ids
|
||||||
|
*/
|
||||||
|
export const delBatch = (ids: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/pcDelete/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备批次详情
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getPcDetail = (id: string | number): AxiosPromise<CailiaoshebeiVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/spQuery/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
231
src/api/materials/cailiaoshebei/types.ts
Normal file
@ -0,0 +1,231 @@
|
|||||||
|
export interface CailiaoshebeiVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CailiaoshebeiForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
projectId?: string | number;
|
||||||
|
batchNumber?: string | number;
|
||||||
|
approvalDesign?: string;
|
||||||
|
bo: any;
|
||||||
|
file: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CailiaoshebeiQuery extends PageQuery {
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId?: string | number;
|
||||||
|
projectId?: string | number;
|
||||||
|
batchNumber?: string;
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
import request from '@/utils/request-go';
|
import requestGo from '@/utils/request-go';
|
||||||
|
import request from '@/utils/request';
|
||||||
import { AxiosPromise } from 'axios';
|
import { AxiosPromise } from 'axios';
|
||||||
import { CompanyForm, CompanyQuery, CompanyVO } from '@/api/materials/company/types';
|
import { CompanyForm, CompanyQuery, CompanyVO } from '@/api/materials/company/types';
|
||||||
|
|
||||||
@ -9,11 +10,23 @@ import { CompanyForm, CompanyQuery, CompanyVO } from '@/api/materials/company/ty
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export const listCompany = (query?: CompanyQuery): AxiosPromise<CompanyVO[]> => {
|
export const listCompany = (query?: CompanyQuery): AxiosPromise<CompanyVO[]> => {
|
||||||
return request({
|
return requestGo({
|
||||||
url: '/zm/api/v1/system/busCompany/list',
|
url: '/zm/api/v1/system/busCompany/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
|
}; /**
|
||||||
|
* 查询材料提供商
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const supplierInputGet = (query?) => {
|
||||||
|
return request({
|
||||||
|
url: '/supplierInput/supplierInput/getList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -61,3 +61,25 @@ export const delMaterialIssue = (id: string | number | Array<string | number>) =
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
//获取一起名称
|
||||||
|
export const getMaterialName = (id: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materials/inventoryNumber/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//获取出库记录
|
||||||
|
export const inventoryList = (id: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialIssue/inventory/list/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//获取材料表信息
|
||||||
|
export const getMaterialInfo = (id: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materials/listByFormCode/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
27
src/api/materials/materialOutbound/index.ts
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
//获取出库材料得列表
|
||||||
|
export const outboundMaterials = (query?: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materials/listRelevancy',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//新增出库
|
||||||
|
export const addOutbound = (data?: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialsInventory',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//获取材料列表
|
||||||
|
export const getMaterialsList = (query?: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materials/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
@ -61,3 +61,16 @@ export const delMaterialReceive = (id: string | number | Array<string | number>)
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
/**
|
||||||
|
* 获取合同列表数据
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getContractNameList = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialReceive/ctrList',
|
||||||
|
params: {
|
||||||
|
projectId: id
|
||||||
|
},
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import request from '@/utils/request-go';
|
import requestGo from '@/utils/request-go';
|
||||||
|
import request from '@/utils/request';
|
||||||
import { AxiosPromise } from 'axios';
|
import { AxiosPromise } from 'axios';
|
||||||
import { MaterialsForm, MaterialsQuery, MaterialsVO } from '@/api/materials/materials/types';
|
import { MaterialsForm, MaterialsQuery, MaterialsVO } from '@/api/materials/materials/types';
|
||||||
|
|
||||||
@ -8,7 +9,7 @@ import { MaterialsForm, MaterialsQuery, MaterialsVO } from '@/api/materials/mate
|
|||||||
* @returns {*}
|
* @returns {*}
|
||||||
*/
|
*/
|
||||||
export const listMaterials = (query?: MaterialsQuery): AxiosPromise<MaterialsVO[]> => {
|
export const listMaterials = (query?: MaterialsQuery): AxiosPromise<MaterialsVO[]> => {
|
||||||
return request({
|
return requestGo({
|
||||||
url: '/zm/api/v1/system/busEquipmentMaterials/list',
|
url: '/zm/api/v1/system/busEquipmentMaterials/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
@ -20,7 +21,7 @@ export const listMaterials = (query?: MaterialsQuery): AxiosPromise<MaterialsVO[
|
|||||||
* @param id
|
* @param id
|
||||||
*/
|
*/
|
||||||
export const getMaterials = (id: string | number): AxiosPromise<MaterialsVO> => {
|
export const getMaterials = (id: string | number): AxiosPromise<MaterialsVO> => {
|
||||||
return request({
|
return requestGo({
|
||||||
url: '/zm/api/v1/system/busEquipmentMaterials/get',
|
url: '/zm/api/v1/system/busEquipmentMaterials/get',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import request from '@/utils/request-go';
|
import requestGo from '@/utils/request-go';
|
||||||
|
import request from '@/utils/request';
|
||||||
import { AxiosPromise } from 'axios';
|
import { AxiosPromise } from 'axios';
|
||||||
import { MaterialsInventoryForm, MaterialsInventoryQuery, MaterialsInventoryVO } from '@/api/materials/materialsInventory/types';
|
import { MaterialsInventoryForm, MaterialsInventoryQuery, MaterialsInventoryVO } from '@/api/materials/materialsInventory/types';
|
||||||
|
|
||||||
@ -9,7 +10,7 @@ import { MaterialsInventoryForm, MaterialsInventoryQuery, MaterialsInventoryVO }
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export const listMaterialsInventory = (query?: MaterialsInventoryQuery): AxiosPromise<MaterialsInventoryVO[]> => {
|
export const listMaterialsInventory = (query?: MaterialsInventoryQuery): AxiosPromise<MaterialsInventoryVO[]> => {
|
||||||
return request({
|
return requestGo({
|
||||||
url: '/zm/api/v1/system/busEquipmentMaterialsInventory/excellist',
|
url: '/zm/api/v1/system/busEquipmentMaterialsInventory/excellist',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
@ -61,3 +62,13 @@ export const delMaterialsInventory = (id: string | number | Array<string | numbe
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//获取新的列表数据
|
||||||
|
export const getLedgerList = (query?: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materials/listUseDetail',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
//导出
|
||||||
|
@ -82,7 +82,10 @@ export interface MaterialsInventoryForm extends BaseEntity {
|
|||||||
* 主键id
|
* 主键id
|
||||||
*/
|
*/
|
||||||
id?: string | number;
|
id?: string | number;
|
||||||
|
/**
|
||||||
|
* 使用部位
|
||||||
|
*/
|
||||||
|
usePart?: string;
|
||||||
/**
|
/**
|
||||||
* 材料id
|
* 材料id
|
||||||
*/
|
*/
|
||||||
|
70
src/api/materials/materialsUseRecord/index.ts
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { MaterialsUseRecordVO, MaterialsUseRecordForm, MaterialsUseRecordQuery } from '@/api/materials/materialsUseRecord/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询材料使用登记列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listMaterialsUseInventory = (query?: MaterialsUseRecordQuery): AxiosPromise<MaterialsUseRecordVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialsInventory/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
export const listMaterialsUseRecord = (query?: MaterialsUseRecordQuery): AxiosPromise<MaterialsUseRecordVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialsUseRecord/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询材料使用登记详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getMaterialsUseRecord = (id: string | number): AxiosPromise<MaterialsUseRecordVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialsUseRecord/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增材料使用登记
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addMaterialsUseRecord = (data: MaterialsUseRecordForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialsUseRecord',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改材料使用登记
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateMaterialsUseRecord = (data: MaterialsUseRecordForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialsUseRecord',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除材料使用登记
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delMaterialsUseRecord = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/materials/materialsUseRecord/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
106
src/api/materials/materialsUseRecord/types.ts
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
export interface MaterialsUseRecordVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 库存ID
|
||||||
|
*/
|
||||||
|
inventoryId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用部位
|
||||||
|
*/
|
||||||
|
usePart: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用数量
|
||||||
|
*/
|
||||||
|
useNumber: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 剩余量
|
||||||
|
*/
|
||||||
|
residueNumber: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface MaterialsUseRecordForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 库存ID
|
||||||
|
*/
|
||||||
|
inventoryId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用部位
|
||||||
|
*/
|
||||||
|
usePart?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用数量
|
||||||
|
*/
|
||||||
|
useNumber?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 剩余量
|
||||||
|
*/
|
||||||
|
residueNumber?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface MaterialsUseRecordQuery extends PageQuery {
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
projectId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 库存ID
|
||||||
|
*/
|
||||||
|
inventoryId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用部位
|
||||||
|
*/
|
||||||
|
usePart?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用数量
|
||||||
|
*/
|
||||||
|
useNumber?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 剩余量
|
||||||
|
*/
|
||||||
|
residueNumber?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
materialsId?: string | number;
|
||||||
|
}
|
110
src/api/materials/orderEquipment/index.ts
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
import request from '@/utils/request';
|
||||||
|
import { AxiosPromise } from 'axios';
|
||||||
|
import { CailiaoshebeiVO, CailiaoshebeiForm, CailiaoshebeiQuery } from '@/api/materials/cailiaoshebei/types';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const listCailiaoshebei = (query?: any): AxiosPromise<CailiaoshebeiVO[]> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialsorder/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备详细
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getCailiaoshebei = (id: string | number): AxiosPromise<CailiaoshebeiVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增物资-材料设备
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const addCailiaoshebei = (data: CailiaoshebeiForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialsorder/modifyTheOrderForm',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改物资-材料设备
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const updateCailiaoshebei = (data: CailiaoshebeiForm) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除物资-材料设备
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const delCailiaoshebei = (id: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/cailiaoshebei/remove/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备批次列表
|
||||||
|
* @param query
|
||||||
|
* @returns {*}
|
||||||
|
*/
|
||||||
|
export const listBatch = (query?: any): AxiosPromise => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialsorder/pcPlanList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增物资-材料设备批次
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
export const getBatch = (data: any) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialbatchdemandplan/pcAdd',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除物资-材料设备批次
|
||||||
|
* @param ids
|
||||||
|
*/
|
||||||
|
export const delBatch = (ids: string | number | Array<string | number>) => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialbatchdemandplan/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询物资-材料设备批次详情
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
export const getPcDetail = (id: string | number): AxiosPromise<CailiaoshebeiVO> => {
|
||||||
|
return request({
|
||||||
|
url: '/cailiaoshebei/materialsorder/spQuery/' + id,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
};
|
229
src/api/materials/orderEquipment/types.ts
Normal file
@ -0,0 +1,229 @@
|
|||||||
|
export interface CailiaoshebeiVO {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CailiaoshebeiForm extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
id?: string | number;
|
||||||
|
projectId?: string | number;
|
||||||
|
batchNumber?: string | number;
|
||||||
|
addDataList?: any[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CailiaoshebeiQuery extends PageQuery {
|
||||||
|
/**
|
||||||
|
* 批次ID
|
||||||
|
*/
|
||||||
|
batchId?: string | number;
|
||||||
|
projectId?: string | number;
|
||||||
|
batchNumber?: string;
|
||||||
|
/**
|
||||||
|
* 供货商ID
|
||||||
|
*/
|
||||||
|
supplierId?: string | number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货商
|
||||||
|
*/
|
||||||
|
supplier?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备材料名称
|
||||||
|
*/
|
||||||
|
name?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供货来源(字典)
|
||||||
|
*/
|
||||||
|
supply?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
specification?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特征描述
|
||||||
|
*/
|
||||||
|
signalment?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料编码
|
||||||
|
*/
|
||||||
|
materialCode?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划到场时间
|
||||||
|
*/
|
||||||
|
arrivalTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划完成时间
|
||||||
|
*/
|
||||||
|
finishTime?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
unit?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
plan?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际数量
|
||||||
|
*/
|
||||||
|
realQuantity?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期范围参数
|
||||||
|
*/
|
||||||
|
params?: any;
|
||||||
|
}
|