Compare commits
64 Commits
master
...
20245024-w
Author | SHA1 | Date |
---|---|---|
|
5a17f76c98 | 2 months ago |
|
b0c02ead05 | 3 months ago |
|
fadb5dfd6e | 3 months ago |
|
d8db832b41 | 3 months ago |
|
69ca5ac10f | 3 months ago |
|
fcee2c8069 | 5 months ago |
|
9d8c6dfe91 | 5 months ago |
|
4627d4ae51 | 5 months ago |
|
efe4398584 | 5 months ago |
|
1323effc5d | 5 months ago |
|
37d326c01f | 5 months ago |
|
43493638fd | 5 months ago |
|
ef21d8033b | 6 months ago |
|
4c103588d9 | 6 months ago |
|
c38e9d3169 | 6 months ago |
|
6df86a9b32 | 6 months ago |
|
59cc6f1762 | 6 months ago |
|
a34e76ba80 | 6 months ago |
|
f958ce2aea | 6 months ago |
|
8464a235a0 | 6 months ago |
|
05692a60be | 6 months ago |
|
5819164db2 | 6 months ago |
|
64ebc93ded | 6 months ago |
|
38db820cf6 | 7 months ago |
|
5ed049e429 | 8 months ago |
|
92e8b6512e | 8 months ago |
|
1bd0caf0f7 | 11 months ago |
|
8851588265 | 11 months ago |
|
502b335c79 | 11 months ago |
|
35c35bd061 | 12 months ago |
|
241ff83934 | 12 months ago |
|
87b2d98e09 | 12 months ago |
|
a637ea917f | 12 months ago |
|
2b20cf56e1 | 12 months ago |
|
9b5de1f857 | 12 months ago |
|
03898c9ef5 | 12 months ago |
|
e34e03cce6 | 12 months ago |
|
92b2b8e22e | 12 months ago |
|
34e8534ef5 | 12 months ago |
|
9485bed2c2 | 12 months ago |
|
8275999fa6 | 12 months ago |
|
a72c716945 | 12 months ago |
|
7f67ab47a5 | 12 months ago |
|
4a89bbcc5c | 12 months ago |
|
e458463f3d | 1 year ago |
|
e1ddef2aa8 | 1 year ago |
|
9f31371f9c | 1 year ago |
|
2d56672b87 | 1 year ago |
|
e64296138e | 1 year ago |
|
1837328302 | 1 year ago |
|
8157b3e937 | 1 year ago |
|
c25482d7be | 1 year ago |
|
e78f5fe43e | 1 year ago |
|
14afd561a5 | 1 year ago |
|
7ce0a0c483 | 1 year ago |
|
4ce83ce80e | 1 year ago |
|
df4281c73d | 1 year ago |
|
8b5958523b | 1 year ago |
|
bd1da2f46f | 1 year ago |
|
cf7732a748 | 1 year ago |
|
a9479c32ab | 1 year ago |
|
46ae8533e0 | 1 year ago |
|
c718ed37cd | 1 year ago |
|
d0cf99cf85 | 1 year ago |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":710000,"name":"台湾省","center":[121.509062,25.044332],"centroid":[120.971485,23.749452],"childrenNum":0,"level":"province","acroutes":[100000],"parent":{"adcode":100000}},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.443558,22.441245],[120.517584,22.408536],[120.569903,22.361728],[120.640505,22.241347],[120.659209,22.15432],[120.662001,22.066983],[120.651464,22.033165],[120.667691,21.983168],[120.70157,21.927065],[120.743246,21.915569],[120.78155,21.923957],[120.85468,21.883333],[120.87291,21.897387],[120.866482,21.98436],[120.907315,22.033208],[120.904154,22.119757],[120.914955,22.302718],[120.981658,22.528305],[121.015009,22.584168],[121.033292,22.650725],[121.078498,22.669656],[121.170544,22.723133],[121.210481,22.770665],[121.237931,22.836327],[121.324708,22.945666],[121.354687,23.01006],[121.370388,23.084347],[121.409535,23.102669],[121.430294,23.137196],[121.415015,23.195973],[121.440358,23.272096],[121.479558,23.3223],[121.497788,23.419789],[121.521497,23.483198],[121.523078,23.538708],[121.587778,23.76102],[121.621604,23.92075],[121.659381,24.006893],[121.639992,24.064276],[121.643838,24.097713],[121.678085,24.133906],[121.689044,24.174401],[121.809172,24.339055],[121.826717,24.423579],[121.867498,24.478978],[121.885464,24.529677],[121.892524,24.617912],[121.862598,24.671515],[121.837993,24.76015],[121.845053,24.836269],[121.932883,24.938645],[122.012178,25.001469],[121.980776,25.03079],[121.947425,25.031955],[121.917077,25.137908],[121.842155,25.135332],[121.782407,25.160425],[121.750531,25.160716],[121.707327,25.191493],[121.700319,25.226913],[121.655324,25.241859],[121.623026,25.294694],[121.584986,25.308926],[121.535038,25.307515],[121.444415,25.270624],[121.413487,25.238912],[121.371864,25.159885],[121.319281,25.140691],[121.209322,25.127104],[121.133135,25.078728],[121.102102,25.075153],[121.024704,25.040479],[121.009688,24.993649],[120.960899,24.940227],[120.908475,24.852012],[120.892299,24.767526],[120.823753,24.688321],[120.762371,24.658335],[120.688661,24.600678],[120.64277,24.490172],[120.589187,24.432354],[120.546299,24.370413],[120.521009,24.312038],[120.470534,24.24259],[120.451461,24.182691],[120.392029,24.11824],[120.316158,23.984881],[120.278276,23.927798],[120.245768,23.840553],[120.175377,23.807385],[120.102773,23.700981],[120.094817,23.587466],[120.121741,23.504664],[120.107831,23.341264],[120.081434,23.29191],[120.018947,23.073115],[120.029537,23.048623],[120.131382,23.002118],[120.149138,22.896715],[120.200403,22.721101],[120.274272,22.560181],[120.297191,22.531315],[120.443558,22.441245]]],[[[124.542984,25.903911],[124.586346,25.913777],[124.572805,25.93974],[124.541825,25.931031],[124.542984,25.903911]]],[[[123.445286,25.725966],[123.472104,25.713024],[123.508933,25.723237],[123.514834,25.751226],[123.483063,25.768587],[123.444496,25.746514],[123.445286,25.725966]]],[[[119.64597,23.55091],[119.701081,23.550657],[119.678057,23.600041],[119.610089,23.603953],[119.594388,23.577245],[119.566306,23.584732],[119.562565,23.530377],[119.573788,23.505885],[119.609141,23.503864],[119.64597,23.55091]]],[[[123.667207,25.914066],[123.707092,25.916873],[123.678008,25.938667],[123.667207,25.914066]]],[[[119.506031,23.625567],[119.505241,23.575814],[119.472416,23.557136],[119.523207,23.563699],[119.525578,23.624895],[119.506031,23.625567]]],[[[119.49739,23.386683],[119.495125,23.350156],[119.516885,23.349903],[119.49739,23.386683]]],[[[119.557454,23.666474],[119.604083,23.616989],[119.615516,23.660925],[119.586485,23.675974],[119.557454,23.666474]]],[[[121.46823,22.676644],[121.476502,22.64166],[121.513541,22.631833],[121.5147,22.67639],[121.46823,22.676644]]],[[[121.510538,22.087185],[121.507693,22.048523],[121.534089,22.022146],[121.594522,21.995382],[121.604586,22.022699],[121.575028,22.037122],[121.575607,22.084421],[121.510538,22.087185]]],[[[122.097533,25.500168],[122.093581,25.47183],[122.124825,25.475932],[122.097533,25.500168]]],[[[119.421467,23.216684],[119.421309,23.18935],[119.453396,23.217697],[119.421467,23.216684]]],[[[120.355042,22.327259],[120.395454,22.342287],[120.383072,22.355573],[120.355042,22.327259]]]]}}]}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -0,0 +1,63 @@
|
||||
|
||||
.container_nomount{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
.container_nomount h2{
|
||||
margin-top: 20px;
|
||||
font-size: 1.5em;
|
||||
margin-block-start: 0.83em;
|
||||
margin-block-end: 0.83em;
|
||||
margin-inline-start: 0px;
|
||||
margin-inline-end: 0px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.container_nomount .loading{
|
||||
width: 80px;
|
||||
height: 40px;
|
||||
margin: 0 auto;
|
||||
margin-top: -40px;
|
||||
}
|
||||
.container_nomount .loading span{
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
background: #1890ff;
|
||||
|
||||
animation: load 1s ease infinite;
|
||||
}
|
||||
@keyframes load{
|
||||
0%,100%{
|
||||
height: 40px;
|
||||
background: #ff3378;
|
||||
|
||||
|
||||
}
|
||||
50%{
|
||||
height: 70px;
|
||||
margin: -15px 0;
|
||||
background: #1890ff;
|
||||
|
||||
}
|
||||
}
|
||||
.container_nomount .loading span:nth-child(2){
|
||||
animation-delay:0.2s;
|
||||
}
|
||||
.container_nomount .loading span:nth-child(3){
|
||||
animation-delay:0.4s;
|
||||
}
|
||||
.container_nomount .loading span:nth-child(4){
|
||||
animation-delay:0.6s;
|
||||
}
|
||||
.container_nomount .loading span:nth-child(5){
|
||||
animation-delay:0.8s;
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listPilot(query) {
|
||||
return axios({
|
||||
url: "/admin/company/pilot/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function savePilot(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/admin/company/pilot/save"
|
||||
: "/admin/company/pilot/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deletePilot(data) {
|
||||
return axios({
|
||||
url: "/admin/company/pilot/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,47 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
|
||||
export function filterCompany(query) {
|
||||
return axios(
|
||||
{
|
||||
url: "/udiwms/basic/manu/product/list",
|
||||
method: "get",
|
||||
params: query
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function updateCompany(query) {
|
||||
return axios({
|
||||
url: "/udiwms/basic/manu/product/update",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
export function addCompany(query) {
|
||||
return axios({
|
||||
url: "/udiwms/basic/manu/product/add",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function deleteCompany(query) {
|
||||
return axios({
|
||||
url: "/udiwms/basic/manu/product/delete",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,34 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listYlqxzczh(query) {
|
||||
return axios({
|
||||
url: "/udiwms/basic/manu/ylqxzczh/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveYlqxzczh(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/udiwms/basic/manu/ylqxzczh/save"
|
||||
: "/udiwms/basic/manu/ylqxzczh/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteYlqxzczh(data) {
|
||||
return axios({
|
||||
url: "/udiwms/basic/manu/ylqxzczh/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
|
||||
export function uploadFile(query) {
|
||||
return axios(
|
||||
{
|
||||
url: "/udiwms/upload/register/file",
|
||||
method: "post",
|
||||
data: query
|
||||
}
|
||||
)
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* @Author: daidai
|
||||
* @Date: 2021-12-09 10:47:56
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2022-04-27 16:32:31
|
||||
* @FilePath: \web-pc\src\api\index.js
|
||||
*/
|
||||
|
||||
|
||||
import { currentList,
|
||||
currentPage,
|
||||
currentSave,
|
||||
currentUpdate,
|
||||
currentDelete,
|
||||
currentSelect,
|
||||
currentSelectList,
|
||||
|
||||
currentPOST,
|
||||
currentGET,
|
||||
currentApi
|
||||
|
||||
} from './modules'
|
||||
import {
|
||||
GETNOBASE,
|
||||
GET
|
||||
} from './api'
|
||||
|
||||
|
||||
export {
|
||||
GETNOBASE,
|
||||
GET
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
currentApi,
|
||||
currentList,
|
||||
currentPage,
|
||||
currentSave,
|
||||
currentUpdate,
|
||||
currentDelete,
|
||||
currentSelect,
|
||||
currentSelectList,
|
||||
currentPOST,
|
||||
currentGET
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
/*
|
||||
* @Author: daidai
|
||||
* @Date: 2021-12-23 11:18:37
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2022-04-28 15:10:45
|
||||
* @FilePath: \web-pc\src\api\modules\index.js
|
||||
*/
|
||||
import * as API from "../api";
|
||||
|
||||
export const paramType = {
|
||||
'big1': "/cpt/bigVis/company/type/list", //企业分类统计
|
||||
'big2': "/cpt/bigVis/company/online/list", //报备企业统计
|
||||
'big3': "/cpt/bigVis/company/todo/msg", //设备提醒
|
||||
'big4': "/cpt/bigVis/company/trace/list", //报警次数
|
||||
'big5': '/cpt/bigVis/task/filter',//实时预警
|
||||
'big6': '/bigscreen/installationPlan',// 安装计划
|
||||
'big7': '/cpt/bigVis/company/product/list',// 企业维护UDI产品数量
|
||||
'big8': '/cpt/bigVis/city/company',// //中间地图
|
||||
'nmapCount': '/cpt/bigVis/nmap/total',
|
||||
'productCategory': '/cpt/bigVis/nmap/category', //产品分类统计
|
||||
'corpNmapProduct': "/cpt/bigVis/nmap/corp",
|
||||
'amapFlow': '/cpt/bigVis/amap/flow/list',
|
||||
'udiTrace': "/udi/trace/source/search",
|
||||
'recordResult': "/udi/trace/record/result",
|
||||
'product': "/udi/basic/rel/filter",
|
||||
'offlineCorp': "/cpt/bigVis/corp/offline",
|
||||
"regCorpList": "/admin/auth/register/list", //注册企业列表
|
||||
"cplbMonitor": "/bigVis/import/cpfl/list", //获取重点监控品种产品数量
|
||||
"corpInvList": "/bigVis/import/corp/inv/list", //获取重点监控品种产品数量
|
||||
"corpProductList": "/udi/basic/rel/filter", //获取企业产品
|
||||
"traceList": "/udi/trace/record/filter", //获取追溯查询日志列表
|
||||
"warnMsg": "/bigVis/warn/msg/list", //获取预警信息列表
|
||||
"adverseMsg": "/bigVis/adverse/msg/list", //获取不良事件列表
|
||||
"companyBusTypeStat": "/udi/basic/company/bussinessType/stat", //根据企业类型查询产品汇总
|
||||
"companyOnlineCheckStat": "/admin/auth/online/check/list", //现场检查
|
||||
"onlineCheckStat": "/udi/basic/online/check/stat",
|
||||
"monthStatList": "/bigVis/month/stat/list",
|
||||
'getNetworkFirmCount': '/bigVis/import/corp/inv/getNetworkFirmCount',//获取入网企业填报情况
|
||||
|
||||
|
||||
}
|
||||
/****************** 通用增删改查 ********************* */
|
||||
/**
|
||||
* 通用列表
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentList = (key, param) => {
|
||||
return API.GET(paramType[key] + "/list", param)
|
||||
}
|
||||
export const currentPage = (key, param) => {
|
||||
return API.GET(paramType[key] + "/page", param)
|
||||
}
|
||||
/**
|
||||
* 查询可选择的列表
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentSelectList = (key, param) => {
|
||||
return API.GET(paramType[key] + "/selectList", param)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 通用新增
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentSave = (key, param) => {
|
||||
return API.POST(paramType[key] + "/save", param)
|
||||
}
|
||||
/**
|
||||
* 通用修改
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentUpdate = (key, param) => {
|
||||
return API.POST(paramType[key] + "/update", param)
|
||||
}
|
||||
|
||||
/**
|
||||
* 通用删除
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentDelete = (key, param) => {
|
||||
return API.POST(paramType[key] + "/delete", param)
|
||||
}
|
||||
|
||||
/**
|
||||
* 通用获取所有不分页
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentSelect = (key, param) => {
|
||||
return API.GET(paramType[key] + "/select", param)
|
||||
}
|
||||
|
||||
/**
|
||||
* 通用GET
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentGET = (key, param) => {
|
||||
return API.GET(paramType[key], param)
|
||||
}
|
||||
/**
|
||||
* 通用POST
|
||||
* @param {*} param
|
||||
*/
|
||||
export const currentPOST = (key, param) => {
|
||||
return API.POST(paramType[key], param)
|
||||
}
|
||||
// 通用接口集合
|
||||
export const currentApi = {
|
||||
currentList,
|
||||
currentPage,
|
||||
currentSave,
|
||||
currentUpdate,
|
||||
currentDelete,
|
||||
currentSelect,
|
||||
currentSelectList,
|
||||
currentPOST,
|
||||
currentGET
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listYlqxzczh(query) {
|
||||
return axios({
|
||||
url: "/sup/cert/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function filterMyAuth(query) {
|
||||
return axios({
|
||||
url: "/sup/cert/filterMyAuth",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveYlqxzczh(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/sup/cert/save"
|
||||
: "/sup/cert/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
export function batchAddAuth(data) {
|
||||
return axios({
|
||||
url: "/sup/cert/batchAddAuth",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 删除
|
||||
export function deleteYlqxzczh(data) {
|
||||
return axios({
|
||||
url: "/sup/cert/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,42 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listCertType(query) {
|
||||
return axios({
|
||||
url: "/sup/cert/type/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function getCertType(query) {
|
||||
return axios({
|
||||
url: "/sup/cert/type/getCertType",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveCertType(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/sup/cert/type/save"
|
||||
: "/sup/cert/type/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteCertType(data) {
|
||||
return axios({
|
||||
url: "/sup/cert/type/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,47 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
|
||||
export function filterCompany(query) {
|
||||
return axios(
|
||||
{
|
||||
url: "/sup/product/list",
|
||||
method: "get",
|
||||
params: query
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function updateCompany(query) {
|
||||
return axios({
|
||||
url: "/sup/product/update",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
export function addCompany(query) {
|
||||
return axios({
|
||||
url: "/sup/product/add",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function deleteCompany(query) {
|
||||
return axios({
|
||||
url: "/sup/product/delete",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,47 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
|
||||
export function filterAuth(query) {
|
||||
return axios(
|
||||
{
|
||||
url: "/udiwms/sup/auth/list",
|
||||
method: "get",
|
||||
params: query
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
export function filterRelAuth(query) {
|
||||
return axios(
|
||||
{
|
||||
url: "/udiwms/sup/auth/filterRel",
|
||||
method: "get",
|
||||
params: query
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
export function batchAddAuth(query) {
|
||||
return axios({
|
||||
url: "/udiwms/sup/auth/batchAdd",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function deleteAuth(query) {
|
||||
return axios({
|
||||
url: "/udiwms/sup/auth//delete",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,9 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listOffline(query) {
|
||||
return axios({
|
||||
url: "/stat/offline/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listMonth(query) {
|
||||
return axios({
|
||||
url: "/stat/month/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveMonth(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/stat/month/save"
|
||||
: "/stat/month/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteMonth(data) {
|
||||
return axios({
|
||||
url: "/stat/month/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
@ -0,0 +1,32 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listOrder(query) {
|
||||
return axios({
|
||||
url: "/stat/order/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveOrder(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/stat/order/save"
|
||||
: "/stat/order/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteOrder(data) {
|
||||
return axios({
|
||||
url: "/stat/order/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listSet(query) {
|
||||
return axios({
|
||||
url: "/stat/set/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveSet(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/stat/set/save"
|
||||
: "/stat/set/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteSet(data) {
|
||||
return axios({
|
||||
url: "/stat/set/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,41 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listSetDetail(query) {
|
||||
return axios({
|
||||
url: "/stat/setDetail/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveSetDetail(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/stat/setDetail/save"
|
||||
: "/stat/setDetail/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteSetDetail(data) {
|
||||
return axios({
|
||||
url: "/stat/setDetail/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function getUdiProduct(query) {
|
||||
return axios({
|
||||
url: "/stat/setDetail/getUdiProduct",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
|
||||
export function filterAuth(query) {
|
||||
return axios(
|
||||
{
|
||||
url: "/udiwms/user/auth/list",
|
||||
method: "get",
|
||||
params: query
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
export function filterRelAuth(query) {
|
||||
return axios(
|
||||
{
|
||||
url: "/udiwms/user/auth/filterRel",
|
||||
method: "get",
|
||||
params: query
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
export function batchAddAuth(query) {
|
||||
return axios({
|
||||
url: "/udiwms/user/auth/batchAdd",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function deleteAuth(query) {
|
||||
return axios({
|
||||
url: "/udiwms/user/auth/delete",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,32 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listJar(query) {
|
||||
return axios({
|
||||
url: "/sys/jar/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveJar(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/sys/jar/save"
|
||||
: "/sys/jar/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteJar(data) {
|
||||
return axios({
|
||||
url: "/sys/jar/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listUd(query) {
|
||||
return axios({
|
||||
url: "/ud/info/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function saveUd(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/ud/info/save"
|
||||
: "/ud/info/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteUd(data) {
|
||||
return axios({
|
||||
url: "/ud/info/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
export function checkUd(data) {
|
||||
return axios({
|
||||
url: "/ud/info/check",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
export function allocateUd(data) {
|
||||
return axios({
|
||||
url: "/ud/info/allocate",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
@ -0,0 +1,41 @@
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function listPlan(query) {
|
||||
return axios({
|
||||
url: "/ud/plan/list",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 保存
|
||||
export function savePlan(data, formName, method = "post") {
|
||||
let url =
|
||||
formName !== "edit"
|
||||
? "/ud/plan/save"
|
||||
: "/ud/plan/edit";
|
||||
return axios({
|
||||
url: url,
|
||||
method: method,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deletePlan(data) {
|
||||
return axios({
|
||||
url: "/ud/plan/delete",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function updateStatusPlan(data) {
|
||||
return axios({
|
||||
url: "/ud/plan/updateStatus",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue