Compare commits

..

No commits in common. 'qyt-20241231' and 'master' have entirely different histories.

@ -4,9 +4,8 @@ VUE_APP_TITLE = UDI追溯监管平台
# 开发环境配置
ENV = 'development'
#VUE_APP_BASE_API = 'https://ts.udims.com/api/'
VUE_APP_BASE_API = 'http://192.168.0.50:9002'
#VUE_APP_BASE_API = 'http://139.159.224.202/api'
# VUE_APP_BASE_API = 'https://ts.udims.com/api/'
VUE_APP_BASE_API = 'http://192.168.0.166:9998'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/'
@ -15,7 +14,6 @@ VUE_APP_CONTEXT_PATH = '/'
VUE_APP_MONITRO_ADMIN = 'http://localhost:9090/admin/login'
VUE_APP_XXL_JOB_ADMIN = 'http://localhost:9100/xxl-job-admin'
# xxl-job 控制台地址
# 路由懒加载

@ -10,16 +10,8 @@ ENV = 'production'
# 线上
VUE_APP_BASE_API = 'https://zhyj.e-govt.cn:9150/api'
# VUE_APP_BASE_API = 'http://192.168.66.133/api'
# VUE_APP_BASE_API = 'https://zhyj.e-govt.cn:9150/api'
#上传文件地址
VUE_APP_UPLOAD_BASE_API = 'https://zhyj.e-govt.cn:9150/syncApi'
VUE_APP_BASE_API = 'https://ts.udims.com/api/'
# VUE_APP_BASE_API = 'http://192.168.0.166:9150/UDI_CPT_SERVER/'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/'

@ -10,8 +10,4 @@ npm run build:stage
# 构建生产环境
npm run build:prod
```
npm install --save @antv/l7plot @jiaminghi/data-view --registry=https://mirrors.huaweicloud.com/repository/npm/
npm install --save vue-seamless-scroll --registry=https://mirrors.huaweicloud.com/repository/npm/
```

@ -5,7 +5,7 @@
"author": "LionLi",
"license": "MIT",
"scripts": {
"dev": " vue-cli-service serve --open",
"dev": "vue-cli-service serve",
"build:prod": "vue-cli-service build",
"build:test": "vue-cli-service build --mode test",
"preview": "node build/index.js --preview",
@ -37,15 +37,12 @@
"url": "https://gitee.com/y_project/RuoYi-Vue.git"
},
"dependencies": {
"@antv/l7plot": "^0.5.11",
"@jiaminghi/data-view": "^2.10.0",
"element-china-area-data": "^5.0.2",
"@riophae/vue-treeselect": "0.4.0",
"@tinymce/tinymce-vue": "3.0.1",
"axios": "0.24.0",
"clipboard": "2.0.8",
"core-js": "3.19.1",
"echarts": "^5.5.1",
"element-china-area-data": "^5.0.2",
"echarts": "4.9.0",
"element-ui": "2.15.8",
"file-saver": "2.0.5",
"fuse.js": "6.4.3",
@ -59,16 +56,16 @@
"quill": "1.3.7",
"screenfull": "5.0.2",
"sortablejs": "1.10.2",
"tinymce": "^6.2.0",
"vue": "2.6.12",
"vue-count-to": "1.0.13",
"vue-cropper": "0.5.5",
"vue-meta": "2.4.0",
"vue-router": "3.4.9",
"vue-seamless-scroll": "^1.1.23",
"vue2-verify": "^1.1.5",
"vuedraggable": "2.24.3",
"vuex": "3.6.0"
"vuex": "3.6.0",
"@tinymce/tinymce-vue": "3.0.1",
"tinymce": "^6.2.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.6",

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

@ -1 +0,0 @@
{"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

@ -1,63 +0,0 @@
.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;
}

@ -1,339 +0,0 @@
/*
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-04-28 10:25:38
*/
import axios from 'axios';
// import UtilVar from "@/config/UtilVar";
import router from '@/router'
import {getAdminId, getToken} from "@/utils/auth";
import {tansParams} from "@/utils/ruoyi";
import cache from "@/plugins/cache";
import errorCode from "@/utils/errorCode";
import {Message, MessageBox} from "element-ui";
import store from "@/store";
import {isRelogin} from "@/api/utils/request";
// import cache from "@/plugins/cache";
let baseUrl = process.env.VUE_APP_BASE_API
const CancelToken = axios.CancelToken;
export {baseUrl};
// axios.defaults.withCredentials = true;
//5/27 修改
axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
// 对应国际化资源文件后缀
axios.defaults.headers["Content-Language"] = "zh_CN";
// 创建axios实例
const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
timeout: 10000,
});
// request拦截器
service.interceptors.request.use(
(config) => {
// 是否需要设置 token
const isToken = (config.headers || {}).isToken === false;
// 是否需要防止数据重复提交
const isRepeatSubmit = (config.headers || {}).repeatSubmit === false;
if (getToken() && !isToken) {
// config.headers['ADMIN_TOKEN'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
config.headers = {
CLIENT_TYPE: "locWeb",
ADMIN_ID: getAdminId(),
ADMIN_TOKEN: getToken(),
};
}
// get请求映射params参数
if (config.method === "get" && config.params) {
let url = config.url + "?" + tansParams(config.params);
url = url.slice(0, -1);
config.params = {};
config.url = url;
}
if (
!isRepeatSubmit &&
(config.method === "post" || config.method === "put")
) {
const requestObj = {
url: config.url,
data:
typeof config.data === "object"
? JSON.stringify(config.data)
: config.data,
time: new Date().getTime(),
};
const sessionObj = cache.session.getJSON("sessionObj");
if (
sessionObj === undefined ||
sessionObj === null ||
sessionObj === ""
) {
cache.session.setJSON("sessionObj", requestObj);
} else {
const s_url = sessionObj.url; // 请求地址
const s_data = sessionObj.data; // 请求数据
const s_time = sessionObj.time; // 请求时间
const interval = 1000; // 间隔时间(ms),小于此时间视为重复提交
// if (
// s_data === requestObj.data &&
// requestObj.time - s_time < interval &&
// s_url === requestObj.url
// ) {
// const message = "数据正在处理,请勿重复提交";
// console.warn(`[${s_url}]: ` + message);
// return Promise.reject(new Error(message));
// } else {
// cache.session.setJSON("sessionObj", requestObj);
// }
cache.session.setJSON("sessionObj", requestObj);
}
}
return config;
},
(error) => {
console.log("2", error);
Promise.reject(error);
}
);
// 添加请求拦截器
// axios.interceptors.request.use(function (config) {
// // 在发送请求之前做些什么 传token
// let token = localStorage.getItem("token");
// config.headers.common['Content-Type'] = "application/json;charset=utf-8";
// config.headers.common['token'] = token; //Authorization
// return config;
// }, function (error) {
// // 对请求错误做些什么
// console.log(error)
// return Promise.reject(error);
// });
/**
* @响应拦截
*/
// 响应拦截器
service.interceptors.response.use(
(res) => {
// 未设置状态码则默认成功状态
const code = res.data.code || 200;
// 获取错误信息
const msg = errorCode[code] || res.data.message;
// 二进制数据则直接返回
if (
res.request.responseType === "blob" ||
res.request.responseType === "arraybuffer"
) {
return res.data;
}
if (code === 2) {
if (!isRelogin.show) {
isRelogin.show = true;
MessageBox.confirm(
"登录状态已过期,您可以继续留在该页面,或者重新登录",
"系统提示",
{
confirmButtonText: "重新登录",
cancelButtonText: "取消",
type: "warning",
}
)
.then(() => {
isRelogin.show = false;
store.dispatch("LogOut").then(() => {
location.href = process.env.VUE_APP_CONTEXT_PATH;
});
})
.catch(() => {
isRelogin.show = false;
});
}
return Promise.reject("无效的会话,或者会话已过期,请重新登录。");
} else {
return res.data;
}
},
/**
* else if (code === 500) {
Message({
message: msg,
type: 'error'
})
return Promise.reject(new Error(msg))
}
else if (code !== 20000) {
Notification.error({
title: msg
})
return Promise.reject('error')
}
*/
(error) => {
console.log("err" + error);
let {message} = error;
if (message == "Network Error") {
message = "后端接口连接异常";
} else if (message.includes("timeout")) {
message = "系统接口请求超时";
} else if (message.includes("Request failed with status code")) {
message = "系统接口" + message.substr(message.length - 3) + "异常";
}
Message({
message: message,
type: "error",
duration: 5 * 1000,
});
return Promise.reject(error);
}
);
// axios.interceptors.response.use(response => {
// if (response.status !== 20000) {
// return Promise.reject(response)
// }
// /**
// * @code 登录过期 token验证失败 根据后端调
// // */
// // if (response.data.code == UtilVar.code) {
// // // router.push("/login")
// // }
// return response.data
// }, error => {
// // console.log('axiosError',error);
// let err = {
// success: false,
// msg: "token过期未知异常请联系管理员"
// }
// return Promise.reject(err)
// })
// let configs_ENC = {
// headers: { 'enc': UtilVar.ENC }
// }
//处理是否加密数据
let isEncryptionParam = (params) => {
return params
}
export const GET = async (url, params) => {
try {
params = isEncryptionParam(params)
const data = await axios.get(`${baseUrl}${url}`, {
params: params,
headers: false,
}, false);
return data;
} catch (error) {
return error;
}
}
//没有基地址 访问根目录下文件
// export function GETNOBASE(url,query) {
// return axios({
// url:url,
// method: "get",
// params: query
// });
// }
export const GETNOBASE = async (url, params) => {
try {
const data = await axios.get(url, {
params: params,
});
return data;
} catch (error) {
return error;
}
}
export const POST = async (url, params) => {
try {
params = isEncryptionParam(params)
const data = await axios.post(`${baseUrl}${url}`, params, false);
return data;
} catch (error) {
return error;
}
}
export const PUT = async (url, params) => {
try {
params = isEncryptionParam(params)
const data = await axios.put(`${baseUrl}${url}`, params, false);
return data;
} catch (error) {
return error;
}
}
export const DELETE = async (url, params) => {
// console.log(params)
try {
params = isEncryptionParam(params)
const data = await axios.delete(`${baseUrl}${url}`, {data: params, headers: configs_ENC.headers}, configs_ENC);
return data;
} catch (error) {
return error;
}
}
/**
* @文件类型提交方法
*/
let configs = {
headers: {'Content-Type': 'multipart/form-data'},
}
export const FILESubmit = async (url, params, config) => {
try {
const data = await axios.post(`${baseUrl}${url}`, params, {
...configs,
cancelToken: new CancelToken(function executor(c) {
config.setCancel && config.setCancel(c)
}),
onUploadProgress: (e) => {
if (e.total > 0) {
e.percent = e.loaded / e.total * 100;
}
// console.log(config)
config.onProgress && config.onProgress(e)
},
});
return data;
} catch (err) {
return err;
}
}
/**
* 下载文档流
* @param {config.responseType} 下载文件流根据后端 配置 arraybuffer || blod
*/
export const FILE = async (config = {}, body, params) => {
try {
const data = await axios({
method: config.method || 'get',
url: `${baseUrl}${config.url}`,
data: body,
params: params,
responseType: config.responseType || 'blob',
onDownloadProgress: (e) => {
// console.log(e,e.currentTarget)
// if (e.currentTarget.response.size > 0) {
// e.percent = e.loaded / e.currentTarget.response.size * 100;
// }
// event.srcElement.getResponseHeader('content-length')
config.onProgress && config.onProgress(e)
},
});
return data;
} catch (err) {
return err;
}
}

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
//获取医院用户列表
export function getHospitalUserList(query) {

@ -1,34 +0,0 @@
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
});
}

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function filterCompanyProductRelevance(query) {
return axios(

@ -1,47 +0,0 @@
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
});
}

@ -1,34 +0,0 @@
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
});
}

@ -16,22 +16,6 @@ export function filterRel(query) {
});
}
export function filterGroupRel(query) {
return axios({
url: "/sup/product/filterGroupRel",
method: "get",
params: query
});
}
export function filterManu(query) {
return axios({
url: "/udiwms/udiinfo/manu/filter",
method: "get",
params: query
});
}
export function filterDict(query) {
return axios({
url: "/udiwms/udiinfo/dict/filter",

@ -11,16 +11,6 @@ export function filterRlCompany(query) {
)
}
export function filterProductInfoDetail(query) {
return axios(
{
url: "/udi/basic/rel/filterProductInfoDetail",
method: "post",
params: query
}
)
}
export function filterByUuid(query) {
return axios(
{
@ -50,16 +40,6 @@ export function seachCompany(query) {
)
}
export function seachCompanyOptimize(query) {
return axios(
{
url: "/udi/auth/user/comapny/searchOptimize",
method: "get",
params: query
}
)
}
export function deleteRel(query) {
return axios({
url: "/udi/basic/rel/delete",

@ -1,12 +0,0 @@
import axios from "@/utils/request";
export function uploadFile(query) {
return axios(
{
url: "/udiwms/upload/register/file",
method: "post",
data: query
}
)
}

@ -1,46 +0,0 @@
/*
* @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
}

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function filterList(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getDeviceInspectOrderList(params) {

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getRepairList(params) {

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getCountCodesList(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getCountOrderList(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getInvMAOrderList(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getPlaceDetailList(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getInvPlaceOrderList(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getInvProduct(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getInvPreProduct(params) {
return axios({

@ -1,118 +0,0 @@
/*
* @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
}

@ -10,17 +10,6 @@ export function filterCompanyCert(query) {
}
)
}
export function filterByid(query) {
return axios(
{
// url: "/sup/company/cert/filterList",
url: "/sup/company/cert/filterByid",
method: "get",
params: query
}
)
}
//产品
export function filterCompanyCPCert(query) {
return axios(

@ -1,51 +0,0 @@
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
});
}

@ -8,15 +8,6 @@ export function getSupCertRemindMsgList(params) {
});
}
export function getSupCertgetCount(params) {
return axios({
url: "/sup/cert/remind/msg/getCount",
method: "get",
params: params
});
}
export function confirmMsg(params) {
return axios({
url: "/sup/cert/remind/msg/confirmMsg",
@ -32,12 +23,3 @@ export function ignoreMsg(params) {
params: params
});
}
export function deleteMsg(data) {
return axios({
url: '/sup/cert/remind/msg/delete',
method: 'post',
data: data
})
}

@ -1,42 +0,0 @@
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
});
}

@ -1,47 +0,0 @@
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
});
}

@ -1,47 +0,0 @@
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
});
}

@ -1,9 +0,0 @@
import axios from "@/utils/request";
export function listOffline(query) {
return axios({
url: "/stat/offline/list",
method: "get",
params: query
});
}

@ -1,33 +0,0 @@
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
});
}

@ -1,32 +0,0 @@
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
});
}

@ -1,34 +0,0 @@
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
});
}

@ -1,41 +0,0 @@
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
});
}

@ -1,55 +1,6 @@
import request from "@/utils/request";
export function listYlqxzczh(query) {
return request({
url: "/user/cert/list",
method: "get",
params: query
});
}
// 保存
export function saveYlqxzczh(data, formName, method = "post") {
let url =
formName !== "edit"
? "/sup/info/insertCompanyCert"
: "/sale/sup/cert/audit";
return request({
url: url,
method: method,
data: data
});
}
export function filterMyAuth(query) {
return request({
url: "/user/cert/filterMyAuth",
method: "get",
params: query
});
}
export function batchAddAuth(data) {
return request({
url: "/user/cert/batchAddAuth",
method: "post",
data: data
});
}
// 删除
export function deleteYlqxzczh(data) {
return request({
url: "/user/cert/delete",
method: "post",
data: data
});
}
export function filterCompanyCert(param) {
return request({
//url: "/reg/company/cert/filterList",
@ -83,12 +34,3 @@ export function updateCert(param) {
data :param
});
}
export function getLocalCompanyCert(param) {
return request({
url: "/reg/company/cert/filterList",
method: "get",
params :param
});
}

@ -1,47 +0,0 @@
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
});
}

@ -51,12 +51,4 @@ export function delSupComapnys(query) {
export function getLocalCompanyInfo(param) {
return request({
url: "/udi/auth/user/comapny/filterRegCompany",
method: "get",
params :param
});
}

@ -23,10 +23,3 @@ export function daletePerSon(param) {
data :param
});
}
export function getUserPersonList(param) {
return request({
url: "/sup/company/person/filterList",
method: "get",
params :param
});
}

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getCompany() {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getInvRemindMsgList(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getInvRemindSetList(params) {
return axios({

@ -1,32 +0,0 @@
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
});
}

@ -18,18 +18,17 @@ export function getMenu(menuId) {
}
// 查询菜单下拉树结构
export function treeselect(query) {
export function treeselect() {
return request({
url: '/system/menu/treeselect',
method: 'get',
params: query
method: 'get'
})
}
// 根据角色ID查询菜单下拉树结构
export function roleMenuTreeselect(roleId,businessType) {
export function roleMenuTreeselect(roleId) {
return request({
url: '/system/menu/roleMenuTreeselect/' + roleId+'/'+businessType,
url: '/system/menu/roleMenuTreeselect/' + roleId,
method: 'get'
})
}
@ -58,4 +57,4 @@ export function delMenu(menuId) {
url: '/system/menu/' + menuId,
method: 'delete'
})
}
}

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
// 获取列表
export function systemParamConfigList(query) {

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getOriginBusType(query) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
//--------------获取ERP数据-------------------
export function getErpProduct(query) {

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function postOrder(query) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
// 权限管理

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function getConfig(params) {
return axios({

@ -1,4 +1,4 @@
import axios from "@/utils/request";
import axios from "../../utils/request";
export function filterThridSubAll(query) {
return axios({

@ -1,49 +0,0 @@
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
});
}

@ -1,41 +0,0 @@
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…
Cancel
Save