@ -0,0 +1,9 @@ |
|||
# 页面标题 |
|||
VITE_APP_TITLE = 联美运营系统 |
|||
|
|||
# 开发环境配置 |
|||
VITE_APP_ENV = 'development' |
|||
|
|||
# 联美运营系统/开发环境 |
|||
VITE_APP_BASE_API = 'http://localhost:9010' |
|||
VITE_APP_BASE_API_IMAGE = 'http://localhost:9010' |
@ -0,0 +1,12 @@ |
|||
# 页面标题 |
|||
VITE_APP_TITLE = 联美管理驾驶舱 |
|||
|
|||
# 生产环境配置 |
|||
VITE_APP_ENV = 'production' |
|||
|
|||
# 若依管理系统/生产环境 |
|||
VITE_APP_BASE_API = '/prod-api/' |
|||
VITE_APP_BASE_API_IMAGE = '/prod-api/' |
|||
|
|||
# 是否在打包时开启压缩,支持 gzip 和 brotli |
|||
VITE_BUILD_COMPRESS = gzip |
@ -0,0 +1,12 @@ |
|||
# 页面标题 |
|||
VITE_APP_TITLE = 鸿翔TMS |
|||
|
|||
# 生产环境配置 |
|||
VITE_APP_ENV = 'test' |
|||
|
|||
# 若依管理系统/生产环境 |
|||
VITE_APP_BASE_API = 'http://dev.ccwin-in.com:23111/api' |
|||
VITE_APP_BASE_API_IMAGE = 'http://dev.ccwin-in.com:23111' |
|||
|
|||
# 是否在打包时开启压缩,支持 gzip 和 brotli |
|||
VITE_BUILD_COMPRESS = gzip |
@ -0,0 +1,215 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
|
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|||
<meta name="renderer" content="webkit"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
|||
<link rel="icon" href="/favicon.ico"> |
|||
<title>联美运营系统</title> |
|||
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> |
|||
<style> |
|||
html, |
|||
body, |
|||
#app { |
|||
height: 100%; |
|||
margin: 0px; |
|||
padding: 0px; |
|||
} |
|||
|
|||
.chromeframe { |
|||
margin: 0.2em 0; |
|||
background: #ccc; |
|||
color: #000; |
|||
padding: 0.2em 0; |
|||
} |
|||
|
|||
#loader-wrapper { |
|||
position: fixed; |
|||
top: 0; |
|||
left: 0; |
|||
width: 100%; |
|||
height: 100%; |
|||
z-index: 999999; |
|||
} |
|||
|
|||
#loader { |
|||
display: block; |
|||
position: relative; |
|||
left: 50%; |
|||
top: 50%; |
|||
width: 150px; |
|||
height: 150px; |
|||
margin: -75px 0 0 -75px; |
|||
border-radius: 50%; |
|||
border: 3px solid transparent; |
|||
border-top-color: #FFF; |
|||
-webkit-animation: spin 2s linear infinite; |
|||
-ms-animation: spin 2s linear infinite; |
|||
-moz-animation: spin 2s linear infinite; |
|||
-o-animation: spin 2s linear infinite; |
|||
animation: spin 2s linear infinite; |
|||
z-index: 1001; |
|||
} |
|||
|
|||
#loader:before { |
|||
content: ""; |
|||
position: absolute; |
|||
top: 5px; |
|||
left: 5px; |
|||
right: 5px; |
|||
bottom: 5px; |
|||
border-radius: 50%; |
|||
border: 3px solid transparent; |
|||
border-top-color: #FFF; |
|||
-webkit-animation: spin 3s linear infinite; |
|||
-moz-animation: spin 3s linear infinite; |
|||
-o-animation: spin 3s linear infinite; |
|||
-ms-animation: spin 3s linear infinite; |
|||
animation: spin 3s linear infinite; |
|||
} |
|||
|
|||
#loader:after { |
|||
content: ""; |
|||
position: absolute; |
|||
top: 15px; |
|||
left: 15px; |
|||
right: 15px; |
|||
bottom: 15px; |
|||
border-radius: 50%; |
|||
border: 3px solid transparent; |
|||
border-top-color: #FFF; |
|||
-moz-animation: spin 1.5s linear infinite; |
|||
-o-animation: spin 1.5s linear infinite; |
|||
-ms-animation: spin 1.5s linear infinite; |
|||
-webkit-animation: spin 1.5s linear infinite; |
|||
animation: spin 1.5s linear infinite; |
|||
} |
|||
|
|||
|
|||
@-webkit-keyframes spin { |
|||
0% { |
|||
-webkit-transform: rotate(0deg); |
|||
-ms-transform: rotate(0deg); |
|||
transform: rotate(0deg); |
|||
} |
|||
|
|||
100% { |
|||
-webkit-transform: rotate(360deg); |
|||
-ms-transform: rotate(360deg); |
|||
transform: rotate(360deg); |
|||
} |
|||
} |
|||
|
|||
@keyframes spin { |
|||
0% { |
|||
-webkit-transform: rotate(0deg); |
|||
-ms-transform: rotate(0deg); |
|||
transform: rotate(0deg); |
|||
} |
|||
|
|||
100% { |
|||
-webkit-transform: rotate(360deg); |
|||
-ms-transform: rotate(360deg); |
|||
transform: rotate(360deg); |
|||
} |
|||
} |
|||
|
|||
|
|||
#loader-wrapper .loader-section { |
|||
position: fixed; |
|||
top: 0; |
|||
width: 51%; |
|||
height: 100%; |
|||
background: #7171C6; |
|||
z-index: 1000; |
|||
-webkit-transform: translateX(0); |
|||
-ms-transform: translateX(0); |
|||
transform: translateX(0); |
|||
} |
|||
|
|||
#loader-wrapper .loader-section.section-left { |
|||
left: 0; |
|||
} |
|||
|
|||
#loader-wrapper .loader-section.section-right { |
|||
right: 0; |
|||
} |
|||
|
|||
|
|||
.loaded #loader-wrapper .loader-section.section-left { |
|||
-webkit-transform: translateX(-100%); |
|||
-ms-transform: translateX(-100%); |
|||
transform: translateX(-100%); |
|||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
} |
|||
|
|||
.loaded #loader-wrapper .loader-section.section-right { |
|||
-webkit-transform: translateX(100%); |
|||
-ms-transform: translateX(100%); |
|||
transform: translateX(100%); |
|||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
} |
|||
|
|||
.loaded #loader { |
|||
opacity: 0; |
|||
-webkit-transition: all 0.3s ease-out; |
|||
transition: all 0.3s ease-out; |
|||
} |
|||
|
|||
.loaded #loader-wrapper { |
|||
visibility: hidden; |
|||
-webkit-transform: translateY(-100%); |
|||
-ms-transform: translateY(-100%); |
|||
transform: translateY(-100%); |
|||
-webkit-transition: all 0.3s 1s ease-out; |
|||
transition: all 0.3s 1s ease-out; |
|||
} |
|||
|
|||
.no-js #loader-wrapper { |
|||
display: none; |
|||
} |
|||
|
|||
.no-js h1 { |
|||
color: #222222; |
|||
} |
|||
|
|||
#loader-wrapper .load_title { |
|||
font-family: 'Open Sans'; |
|||
color: #FFF; |
|||
font-size: 19px; |
|||
width: 100%; |
|||
text-align: center; |
|||
z-index: 9999999999999; |
|||
position: absolute; |
|||
top: 60%; |
|||
opacity: 1; |
|||
line-height: 30px; |
|||
} |
|||
|
|||
#loader-wrapper .load_title span { |
|||
font-weight: normal; |
|||
font-style: italic; |
|||
font-size: 13px; |
|||
color: #FFF; |
|||
opacity: 0.5; |
|||
} |
|||
</style> |
|||
</head> |
|||
|
|||
<body> |
|||
<div id="app"> |
|||
<div id="loader-wrapper"> |
|||
<div id="loader"></div> |
|||
<div class="loader-section section-left"></div> |
|||
<div class="loader-section section-right"></div> |
|||
<div class="load_title">正在加载系统资源,请耐心等待</div> |
|||
</div> |
|||
</div> |
|||
<script type="module" src="/src/main.js"></script> |
|||
</body> |
|||
|
|||
</html> |
@ -0,0 +1,51 @@ |
|||
{ |
|||
"name": "lianmei", |
|||
"version": "3.8.5", |
|||
"description": "联美运营系统", |
|||
"author": "联美", |
|||
"license": "MIT", |
|||
"scripts": { |
|||
"dev": "vite", |
|||
"test": "vite build --mode test", |
|||
"prod": "vite build --mode production", |
|||
"preview": "vite preview" |
|||
}, |
|||
"repository": { |
|||
"type": "git", |
|||
"url": "https://gitee.com/y_project/RuoYi-Vue.git" |
|||
}, |
|||
"dependencies": { |
|||
"@element-plus/icons-vue": "2.0.10", |
|||
"@kjgl77/datav-vue3": "^1.6.1", |
|||
"@vee-validate/rules": "4.5.8", |
|||
"@vueuse/core": "9.5.0", |
|||
"axios": "0.27.2", |
|||
"bpmn-js": "^11.4.1", |
|||
"diagram-js": "^11.9.1", |
|||
"echarts": "5.4.0", |
|||
"element-plus": "2.2.27", |
|||
"file-saver": "2.0.5", |
|||
"fuse.js": "6.6.2", |
|||
"highlight.js": "11.7.0", |
|||
"js-cookie": "3.0.1", |
|||
"jsencrypt": "3.3.1", |
|||
"nprogress": "0.2.0", |
|||
"pinia": "2.0.22", |
|||
"vee-validate": "4.5.8", |
|||
"vkbeautify": "^0.99.3", |
|||
"vue": "3.2.45", |
|||
"vue-baidu-map-3x": "^1.0.34", |
|||
"vue-cropper": "1.0.3", |
|||
"vue-router": "4.1.4" |
|||
}, |
|||
"devDependencies": { |
|||
"@vitejs/plugin-vue": "3.1.0", |
|||
"@vue/compiler-sfc": "3.2.45", |
|||
"sass": "1.56.1", |
|||
"unplugin-auto-import": "0.11.4", |
|||
"vite": "3.2.3", |
|||
"vite-plugin-compression": "0.5.1", |
|||
"vite-plugin-svg-icons": "2.0.1", |
|||
"vite-plugin-vue-setup-extend": "0.4.0" |
|||
} |
|||
} |
After Width: | Height: | Size: 5.5 KiB |
@ -0,0 +1,15 @@ |
|||
<template> |
|||
<router-view /> |
|||
</template> |
|||
|
|||
<script setup> |
|||
import useSettingsStore from '@/store/modules/settings' |
|||
import { handleThemeStyle } from '@/utils/theme' |
|||
|
|||
onMounted(() => { |
|||
nextTick(() => { |
|||
// 初始化主题样式 |
|||
handleThemeStyle(useSettingsStore().theme) |
|||
}) |
|||
}) |
|||
</script> |
@ -0,0 +1,140 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程定义列表
|
|||
export function listDefinition(query) { |
|||
return request({ |
|||
url: '/flowable/definition/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function definitionStart(procDefId, data) { |
|||
return request({ |
|||
url: '/flowable/definition/start/' + procDefId, |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 获取流程变量
|
|||
export function getProcessVariables(taskId) { |
|||
return request({ |
|||
url: '/flowable/task/processVariables/' + taskId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 激活/挂起流程
|
|||
export function updateState(params) { |
|||
return request({ |
|||
url: '/flowable/definition/updateState', |
|||
method: 'put', |
|||
params: params |
|||
}) |
|||
} |
|||
|
|||
// 指定流程办理人员列表
|
|||
export function userList(query) { |
|||
return request({ |
|||
url: '/flowable/definition/userList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 指定流程办理组列表
|
|||
export function roleList(query) { |
|||
return request({ |
|||
url: '/flowable/definition/roleList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 指定流程表达式
|
|||
export function expList(query) { |
|||
return request({ |
|||
url: '/flowable/definition/expList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 读取xml文件
|
|||
export function readXml(deployId) { |
|||
return request({ |
|||
url: '/flowable/definition/readXml/' + deployId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 读取image文件
|
|||
export function readImage(deployId) { |
|||
return request({ |
|||
url: '/flowable/definition/readImage/' + deployId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 获取流程执行节点
|
|||
export function getFlowViewer(procInsId, executionId) { |
|||
return request({ |
|||
url: '/flowable/task/flowViewer/' + procInsId + '/' + executionId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 流程节点数据
|
|||
export function flowXmlAndNode(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowXmlAndNode', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 读取xml文件
|
|||
export function saveXml(data) { |
|||
return request({ |
|||
url: '/flowable/definition/save', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(deployId) { |
|||
return request({ |
|||
url: '/flowable/definition/' + deployId, |
|||
method: 'delete', |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,44 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程达式列表
|
|||
export function listExpression(query) { |
|||
return request({ |
|||
url: '/system/expression/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询流程达式详细
|
|||
export function getExpression(id) { |
|||
return request({ |
|||
url: '/system/expression/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程达式
|
|||
export function addExpression(data) { |
|||
return request({ |
|||
url: '/system/expression', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程达式
|
|||
export function updateExpression(data) { |
|||
return request({ |
|||
url: '/system/expression', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程达式
|
|||
export function delExpression(id) { |
|||
return request({ |
|||
url: '/system/expression/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,79 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询已办任务列表
|
|||
export function finishedList(query) { |
|||
return request({ |
|||
url: '/flowable/task/finishedList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 任务流转记录
|
|||
export function flowRecord(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowRecord', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 撤回任务
|
|||
export function revokeProcess(data) { |
|||
return request({ |
|||
url: '/flowable/task/revokeProcess', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function deployStart(deployId) { |
|||
return request({ |
|||
url: '/flowable/process/startFlow/' + deployId, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
|
|||
// 查询流程定义详细
|
|||
export function getDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(id) { |
|||
return request({ |
|||
url: '/flowable/instance/delete/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,68 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程表单列表
|
|||
export function listForm(query) { |
|||
return request({ |
|||
url: '/system/form/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
export function listAllForm(query) { |
|||
return request({ |
|||
url: '/system/form/formList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询流程表单详细
|
|||
export function getForm(formId) { |
|||
return request({ |
|||
url: '/system/form/' + formId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程表单
|
|||
export function addForm(data) { |
|||
return request({ |
|||
url: '/system/form', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程表单
|
|||
export function updateForm(data) { |
|||
return request({ |
|||
url: '/system/form', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
// 挂载表单
|
|||
export function addDeployForm(data) { |
|||
return request({ |
|||
url: '/system/form/addDeployForm', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程表单
|
|||
export function delForm(formId) { |
|||
return request({ |
|||
url: '/flowable/form/' + formId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程表单
|
|||
export function exportForm(query) { |
|||
return request({ |
|||
url: '/flowable/form/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,44 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程监听列表
|
|||
export function listListener(query) { |
|||
return request({ |
|||
url: '/system/listener/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询流程监听详细
|
|||
export function getListener(id) { |
|||
return request({ |
|||
url: '/system/listener/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程监听
|
|||
export function addListener(data) { |
|||
return request({ |
|||
url: '/system/listener', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程监听
|
|||
export function updateListener(data) { |
|||
return request({ |
|||
url: '/system/listener', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程监听
|
|||
export function delListener(id) { |
|||
return request({ |
|||
url: '/system/listener/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,113 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 我的发起的流程
|
|||
export function myProcessList(query) { |
|||
return request({ |
|||
url: '/flowable/task/myProcess', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
export function flowFormData(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowFormData', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
export function flowTaskInfo(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowTaskInfo', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 完成任务
|
|||
export function complete(data) { |
|||
return request({ |
|||
url: '/flowable/task/complete', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 取消申请
|
|||
export function stopProcess(data) { |
|||
return request({ |
|||
url: '/flowable/task/stopProcess', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 驳回任务
|
|||
export function rejectTask(data) { |
|||
return request({ |
|||
url: '/flowable/task/reject', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 可退回任务列表
|
|||
export function returnList(data) { |
|||
return request({ |
|||
url: '/flowable/task/returnList', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function deployStart(deployId) { |
|||
return request({ |
|||
url: '/flowable/process/startFlow/' + deployId, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
|
|||
// 查询流程定义详细
|
|||
export function getDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,132 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询待办任务列表
|
|||
export function todoList(query) { |
|||
return request({ |
|||
url: '/flowable/task/todoList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 完成任务
|
|||
export function complete(data) { |
|||
return request({ |
|||
url: '/flowable/task/complete', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 委派任务
|
|||
export function delegate(data) { |
|||
return request({ |
|||
url: '/flowable/task/delegate', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 退回任务
|
|||
export function returnTask(data) { |
|||
return request({ |
|||
url: '/flowable/task/return', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 驳回任务
|
|||
export function rejectTask(data) { |
|||
return request({ |
|||
url: '/flowable/task/reject', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 可退回任务列表
|
|||
export function returnList(data) { |
|||
return request({ |
|||
url: '/flowable/task/returnList', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 下一节点
|
|||
export function getNextFlowNode(data) { |
|||
return request({ |
|||
url: '/flowable/task/nextFlowNode', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 下一节点
|
|||
export function getNextFlowNodeByStart(data) { |
|||
return request({ |
|||
url: '/flowable/task/nextFlowNodeByStart', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function deployStart(deployId) { |
|||
return request({ |
|||
url: '/flowable/process/startFlow/' + deployId, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
|
|||
// 查询流程定义详细
|
|||
export function getDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 流程节点表单
|
|||
export function flowTaskForm(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowTaskForm', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,59 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 登录方法
|
|||
export function login(username, password, code, uuid) { |
|||
const data = { |
|||
username, |
|||
password, |
|||
code, |
|||
uuid |
|||
} |
|||
return request({ |
|||
url: '/login', |
|||
headers: { |
|||
isToken: false |
|||
}, |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 注册方法
|
|||
export function register(data) { |
|||
return request({ |
|||
url: '/register', |
|||
headers: { |
|||
isToken: false |
|||
}, |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 获取用户详细信息
|
|||
export function getInfo() { |
|||
return request({ |
|||
url: '/getInfo', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 退出方法
|
|||
export function logout() { |
|||
return request({ |
|||
url: '/logout', |
|||
method: 'post' |
|||
}) |
|||
} |
|||
|
|||
// 获取验证码
|
|||
export function getCodeImg() { |
|||
return request({ |
|||
url: '/captchaImage', |
|||
headers: { |
|||
isToken: false |
|||
}, |
|||
method: 'get', |
|||
timeout: 20000 |
|||
}) |
|||
} |
@ -0,0 +1,9 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 获取路由
|
|||
export const getRouters = () => { |
|||
return request({ |
|||
url: '/getRouters', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,98 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备告警列表
|
|||
export function listAlert(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备告警详细
|
|||
export function getAlert(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备告警
|
|||
export function addAlert(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备告警
|
|||
export function updateAlert(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备告警
|
|||
export function delAlert(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备告警
|
|||
export function exportAlert(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询警告列表
|
|||
export function getAlertTableInfo(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/alertDeviceInfo', |
|||
method: 'post', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询未添加警告设备列表
|
|||
export function getNoAlertDevice(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/noAlertDevice', |
|||
method: 'post', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询警告设备列表
|
|||
export function getParamsAlert(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/alertDeviceParam', |
|||
method: 'post', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询未添加警告设备列表
|
|||
export function getParamsNoAlert(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/noAlertDeviceParam', |
|||
method: 'post', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询告警设备信息
|
|||
export function getDeviceParamsAlertInfo(query) { |
|||
return request({ |
|||
url:'/model/dcBusiAlertDevcie/selectDeviceParamsAlert', |
|||
method: 'post', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,63 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询告警模版列表
|
|||
export function listModel(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertModel/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询告警模版详细
|
|||
export function getModel(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertModel/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增告警模版
|
|||
export function addModel(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertModel', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改告警模版
|
|||
export function updateModel(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertModel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除告警模版
|
|||
export function delModel(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertModel/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出告警模版
|
|||
export function exportModel(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
|
|||
// 查询告警模版列表
|
|||
export function listModelEnabledNoPage(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertModel/listEnabledNoPage', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,94 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备信息列表
|
|||
export function listDevice(query) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 查询设备信息列表无分页
|
|||
export function listDeviceNoPage(query) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/listNoPage', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备信息详细
|
|||
export function getDevice(id) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备信息
|
|||
export function addDevice(data) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备信息
|
|||
export function updateDevice(data) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备信息
|
|||
export function delDevice(id) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备信息
|
|||
export function exportDevice(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
//获取总台设备的UUID
|
|||
export function getUuid(){ |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/getUuid', |
|||
method: 'post', |
|||
}) |
|||
} |
|||
|
|||
//获取字段筛选项
|
|||
export function getfilterItem(){ |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/getfilterItem', |
|||
method: 'get', |
|||
}) |
|||
} |
|||
|
|||
//获取列表带筛选值
|
|||
export function listWithFilterColumn(data){ |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/listWithFilterColumn', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
|
|||
//获取最大排序
|
|||
export function selectDcBaseDeviceinfoMaxSort(){ |
|||
return request({ |
|||
url: '/model/dcBaseDeviceinfo/selectDcBaseDeviceinfoMaxSort', |
|||
method: 'get' |
|||
}); |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备模型信息列表
|
|||
export function listDevicemodel(query) { |
|||
return request({ |
|||
url: '/model/dcModelDevice/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备模型信息详细
|
|||
export function getDevicemodel(id) { |
|||
return request({ |
|||
url: '/model/dcModelDevice/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备模型信息
|
|||
export function addDevicemodel(data) { |
|||
return request({ |
|||
url: '/model/dcModelDevice', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备模型信息
|
|||
export function updateDevicemodel(data) { |
|||
return request({ |
|||
url: '/model/dcModelDevice', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备模型信息
|
|||
export function delDevicemodel(id) { |
|||
return request({ |
|||
url: '/model/dcModelDevice/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备模型信息
|
|||
export function exportDevicemodel(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,64 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询告警逻辑列表
|
|||
export function listLogicconfig(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertLogicConfig/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询告警逻辑详细
|
|||
export function getLogicconfig(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertLogicConfig/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增告警逻辑
|
|||
export function addLogicconfig(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertLogicConfig', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改告警逻辑
|
|||
export function updateLogicconfig(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertLogicConfig', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除告警逻辑
|
|||
export function delLogicconfig(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertLogicConfig/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出告警逻辑
|
|||
export function exportLogicconfig(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询告警逻辑列表
|
|||
export function listLogicconfigNoPage(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertLogicConfig/listNoPage', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
|
@ -0,0 +1,71 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询告警方式列表
|
|||
export function listMethod(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertMethod/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询告警方式详细
|
|||
export function getMethod(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertMethod/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增告警方式
|
|||
export function addMethod(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertMethod', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改告警方式
|
|||
export function updateMethod(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertMethod', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除告警方式
|
|||
export function delMethod(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertMethod/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出告警方式
|
|||
export function exportMethod(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询告警方式列表
|
|||
export function listMethodNoPage(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertMethod/listNoPage', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询告警方式列表为去重
|
|||
export function listForJudgeRepetition(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertMethod/listForJudgeRepetition', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备模型类别列表
|
|||
export function listModelType(query) { |
|||
return request({ |
|||
url: '/model/dcModelType/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备模型类别详细
|
|||
export function getModelType(id) { |
|||
return request({ |
|||
url: '/model/dcModelType/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备模型类别
|
|||
export function addModelType(data) { |
|||
return request({ |
|||
url: '/model/dcModelType', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备模型类别
|
|||
export function updateModelType(data) { |
|||
return request({ |
|||
url: '/model/dcModelType', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备模型类别
|
|||
export function delModelType(id) { |
|||
return request({ |
|||
url: '/model/dcModelType/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备模型类别
|
|||
export function exportModelType(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备模型参数明细列表
|
|||
export function listModelparam(query) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备模型参数明细详细
|
|||
export function getModelparam(id) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备模型参数明细
|
|||
export function addModelparam(data) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备模型参数明细
|
|||
export function updateModelparam(data) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备模型参数明细
|
|||
export function delModelparam(id) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备模型参数明细
|
|||
export function exportModelparam(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备模型参数明细列表
|
|||
export function listModelparamrela(query) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备模型参数明细详细
|
|||
export function getModelparamrela(id) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备模型参数明细
|
|||
export function addModelparamrela(data) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备模型参数明细
|
|||
export function updateModelparamrela(data) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备模型参数明细
|
|||
export function delModelparamrela(id) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备模型参数明细
|
|||
export function exportModelparamrela(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,71 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询参数模型信息列表
|
|||
export function listParamclass(query) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询参数模型信息详细
|
|||
export function getParamclass(id) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增参数模型信息
|
|||
export function addParamclass(data) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改参数模型信息
|
|||
export function updateParamclass(data) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除参数模型信息
|
|||
export function delParamclass(id) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出参数模型信息
|
|||
export function exportParamclass(query) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询参数模型信息列表
|
|||
export function listParamclassNoPage(query) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass/listNoPage', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询参数模型信息列表
|
|||
export function listParamclassForRepetition(query) { |
|||
return request({ |
|||
url: '/model/dcModelParamclass/listParamclassForRepetition', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,70 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备参数明细列表
|
|||
export function listParams(query) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceParam/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 查询设备参数明细列表不分页
|
|||
export function listParamsNoPage(query) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceParam/listNoPage', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备参数明细详细
|
|||
export function getParams(id) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceParam/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备参数明细
|
|||
export function addParams(data) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceParam', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备参数明细
|
|||
export function updateParams(data) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceParam', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备参数明细
|
|||
export function delParams(id) { |
|||
return request({ |
|||
url: '/model/dcBaseDeviceParam/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备参数明细
|
|||
export function exportParams(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
//获取列表带筛选值
|
|||
export function listWithFilterColumn(data){ |
|||
return request({ |
|||
url: '/model/dcBaseDeviceParam/listWithFilterColumn', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
@ -0,0 +1,117 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询参数值状态策略列表
|
|||
export function listPolicy(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询参数值状态策略详细
|
|||
export function getPolicy(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增参数值状态策略
|
|||
export function addPolicy(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改参数值状态策略
|
|||
export function updatePolicy(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除参数值状态策略
|
|||
export function delPolicy(id) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出参数值状态策略
|
|||
export function exportPolicy(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 导出参数值状态策略
|
|||
export function selectDeviceParamPolicy(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/selectDeviceParamPolicy', |
|||
method: 'post', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
|
|||
// 批量新增参数值状态策略
|
|||
export function addPolicyBatch(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/addBatch', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 批量查询参数值状态策略列表
|
|||
export function listPolicyNoPage(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/listNoPage', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 批量修改参数值状态策略
|
|||
export function updatePolicyBatch(updateList,deleteList,addList,deviceUuid) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/batchUpdate', |
|||
method: 'put', |
|||
data: {"updateList":updateList,"deleteList":deleteList,"addList":addList,"deviceUuid":deviceUuid} |
|||
}) |
|||
} |
|||
|
|||
|
|||
// 查询参数值状态策略信息列表
|
|||
export function listPolicyInfo(data) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/listInfo', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除参数值状态策略
|
|||
export function newDelPolicy(ids) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertParamPolicy/newBatchRemove/' + ids, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
//告警设备参数查询
|
|||
export function listAlertParamSelect(query) { |
|||
return request({ |
|||
url: '/model/dcBusiAlertDevcie/listAlertParamSelect', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,57 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询缓存详细
|
|||
export function getCache() { |
|||
return request({ |
|||
url: '/monitor/cache', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询缓存名称列表
|
|||
export function listCacheName() { |
|||
return request({ |
|||
url: '/monitor/cache/getNames', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询缓存键名列表
|
|||
export function listCacheKey(cacheName) { |
|||
return request({ |
|||
url: '/monitor/cache/getKeys/' + cacheName, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询缓存内容
|
|||
export function getCacheValue(cacheName, cacheKey) { |
|||
return request({ |
|||
url: '/monitor/cache/getValue/' + cacheName + '/' + cacheKey, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 清理指定名称缓存
|
|||
export function clearCacheName(cacheName) { |
|||
return request({ |
|||
url: '/monitor/cache/clearCacheName/' + cacheName, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清理指定键名缓存
|
|||
export function clearCacheKey(cacheKey) { |
|||
return request({ |
|||
url: '/monitor/cache/clearCacheKey/' + cacheKey, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清理全部缓存
|
|||
export function clearCacheAll() { |
|||
return request({ |
|||
url: '/monitor/cache/clearCacheAll', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,71 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询定时任务调度列表
|
|||
export function listJob(query) { |
|||
return request({ |
|||
url: '/monitor/job/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询定时任务调度详细
|
|||
export function getJob(jobId) { |
|||
return request({ |
|||
url: '/monitor/job/' + jobId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增定时任务调度
|
|||
export function addJob(data) { |
|||
return request({ |
|||
url: '/monitor/job', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改定时任务调度
|
|||
export function updateJob(data) { |
|||
return request({ |
|||
url: '/monitor/job', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除定时任务调度
|
|||
export function delJob(jobId) { |
|||
return request({ |
|||
url: '/monitor/job/' + jobId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 任务状态修改
|
|||
export function changeJobStatus(jobId, status) { |
|||
const data = { |
|||
jobId, |
|||
status |
|||
} |
|||
return request({ |
|||
url: '/monitor/job/changeStatus', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
|
|||
// 定时任务立即执行一次
|
|||
export function runJob(jobId, jobGroup) { |
|||
const data = { |
|||
jobId, |
|||
jobGroup |
|||
} |
|||
return request({ |
|||
url: '/monitor/job/run', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
@ -0,0 +1,26 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询调度日志列表
|
|||
export function listJobLog(query) { |
|||
return request({ |
|||
url: '/monitor/jobLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 删除调度日志
|
|||
export function delJobLog(jobLogId) { |
|||
return request({ |
|||
url: '/monitor/jobLog/' + jobLogId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清空调度日志
|
|||
export function cleanJobLog() { |
|||
return request({ |
|||
url: '/monitor/jobLog/clean', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,34 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询登录日志列表
|
|||
export function list(query) { |
|||
return request({ |
|||
url: '/monitor/logininfor/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 删除登录日志
|
|||
export function delLogininfor(infoId) { |
|||
return request({ |
|||
url: '/monitor/logininfor/' + infoId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 解锁用户登录状态
|
|||
export function unlockLogininfor(userName) { |
|||
return request({ |
|||
url: '/monitor/logininfor/unlock/' + userName, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 清空登录日志
|
|||
export function cleanLogininfor() { |
|||
return request({ |
|||
url: '/monitor/logininfor/clean', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,18 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询在线用户列表
|
|||
export function list(query) { |
|||
return request({ |
|||
url: '/monitor/online/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 强退用户
|
|||
export function forceLogout(tokenId) { |
|||
return request({ |
|||
url: '/monitor/online/' + tokenId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,26 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询操作日志列表
|
|||
export function list(query) { |
|||
return request({ |
|||
url: '/monitor/operlog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 删除操作日志
|
|||
export function delOperlog(operId) { |
|||
return request({ |
|||
url: '/monitor/operlog/' + operId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清空操作日志
|
|||
export function cleanOperlog() { |
|||
return request({ |
|||
url: '/monitor/operlog/clean', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,9 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 获取服务信息
|
|||
export function getServer() { |
|||
return request({ |
|||
url: '/monitor/server', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,60 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询参数列表
|
|||
export function listConfig(query) { |
|||
return request({ |
|||
url: '/system/config/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询参数详细
|
|||
export function getConfig(configId) { |
|||
return request({ |
|||
url: '/system/config/' + configId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 根据参数键名查询参数值
|
|||
export function getConfigKey(configKey) { |
|||
return request({ |
|||
url: '/system/config/configKey/' + configKey, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增参数配置
|
|||
export function addConfig(data) { |
|||
return request({ |
|||
url: '/system/config', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改参数配置
|
|||
export function updateConfig(data) { |
|||
return request({ |
|||
url: '/system/config', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除参数配置
|
|||
export function delConfig(configId) { |
|||
return request({ |
|||
url: '/system/config/' + configId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 刷新参数缓存
|
|||
export function refreshCache() { |
|||
return request({ |
|||
url: '/system/config/refreshCache', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,52 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询部门列表
|
|||
export function listDept(query) { |
|||
return request({ |
|||
url: '/system/dept/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询部门列表(排除节点)
|
|||
export function listDeptExcludeChild(deptId) { |
|||
return request({ |
|||
url: '/system/dept/list/exclude/' + deptId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询部门详细
|
|||
export function getDept(deptId) { |
|||
return request({ |
|||
url: '/system/dept/' + deptId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增部门
|
|||
export function addDept(data) { |
|||
return request({ |
|||
url: '/system/dept', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改部门
|
|||
export function updateDept(data) { |
|||
return request({ |
|||
url: '/system/dept', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除部门
|
|||
export function delDept(deptId) { |
|||
return request({ |
|||
url: '/system/dept/' + deptId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,52 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询字典数据列表
|
|||
export function listData(query) { |
|||
return request({ |
|||
url: '/system/dict/data/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询字典数据详细
|
|||
export function getData(dictCode) { |
|||
return request({ |
|||
url: '/system/dict/data/' + dictCode, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 根据字典类型查询字典数据信息
|
|||
export function getDicts(dictType) { |
|||
return request({ |
|||
url: '/system/dict/data/type/' + dictType, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增字典数据
|
|||
export function addData(data) { |
|||
return request({ |
|||
url: '/system/dict/data', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改字典数据
|
|||
export function updateData(data) { |
|||
return request({ |
|||
url: '/system/dict/data', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除字典数据
|
|||
export function delData(dictCode) { |
|||
return request({ |
|||
url: '/system/dict/data/' + dictCode, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,60 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询字典类型列表
|
|||
export function listType(query) { |
|||
return request({ |
|||
url: '/system/dict/type/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询字典类型详细
|
|||
export function getType(dictId) { |
|||
return request({ |
|||
url: '/system/dict/type/' + dictId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增字典类型
|
|||
export function addType(data) { |
|||
return request({ |
|||
url: '/system/dict/type', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改字典类型
|
|||
export function updateType(data) { |
|||
return request({ |
|||
url: '/system/dict/type', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除字典类型
|
|||
export function delType(dictId) { |
|||
return request({ |
|||
url: '/system/dict/type/' + dictId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 刷新字典缓存
|
|||
export function refreshCache() { |
|||
return request({ |
|||
url: '/system/dict/type/refreshCache', |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 获取字典选择框列表
|
|||
export function optionselect() { |
|||
return request({ |
|||
url: '/system/dict/type/optionselect', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,60 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询菜单列表
|
|||
export function listMenu(query) { |
|||
return request({ |
|||
url: '/system/menu/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询菜单详细
|
|||
export function getMenu(menuId) { |
|||
return request({ |
|||
url: '/system/menu/' + menuId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询菜单下拉树结构
|
|||
export function treeselect() { |
|||
return request({ |
|||
url: '/system/menu/treeselect', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 根据角色ID查询菜单下拉树结构
|
|||
export function roleMenuTreeselect(roleId) { |
|||
return request({ |
|||
url: '/system/menu/roleMenuTreeselect/' + roleId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增菜单
|
|||
export function addMenu(data) { |
|||
return request({ |
|||
url: '/system/menu', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改菜单
|
|||
export function updateMenu(data) { |
|||
return request({ |
|||
url: '/system/menu', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除菜单
|
|||
export function delMenu(menuId) { |
|||
return request({ |
|||
url: '/system/menu/' + menuId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,44 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询公告列表
|
|||
export function listNotice(query) { |
|||
return request({ |
|||
url: '/system/notice/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询公告详细
|
|||
export function getNotice(noticeId) { |
|||
return request({ |
|||
url: '/system/notice/' + noticeId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增公告
|
|||
export function addNotice(data) { |
|||
return request({ |
|||
url: '/system/notice', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改公告
|
|||
export function updateNotice(data) { |
|||
return request({ |
|||
url: '/system/notice', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除公告
|
|||
export function delNotice(noticeId) { |
|||
return request({ |
|||
url: '/system/notice/' + noticeId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,44 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询岗位列表
|
|||
export function listPost(query) { |
|||
return request({ |
|||
url: '/system/post/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询岗位详细
|
|||
export function getPost(postId) { |
|||
return request({ |
|||
url: '/system/post/' + postId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增岗位
|
|||
export function addPost(data) { |
|||
return request({ |
|||
url: '/system/post', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改岗位
|
|||
export function updatePost(data) { |
|||
return request({ |
|||
url: '/system/post', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除岗位
|
|||
export function delPost(postId) { |
|||
return request({ |
|||
url: '/system/post/' + postId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,119 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询角色列表
|
|||
export function listRole(query) { |
|||
return request({ |
|||
url: '/system/role/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询角色详细
|
|||
export function getRole(roleId) { |
|||
return request({ |
|||
url: '/system/role/' + roleId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增角色
|
|||
export function addRole(data) { |
|||
return request({ |
|||
url: '/system/role', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改角色
|
|||
export function updateRole(data) { |
|||
return request({ |
|||
url: '/system/role', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 角色数据权限
|
|||
export function dataScope(data) { |
|||
return request({ |
|||
url: '/system/role/dataScope', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 角色状态修改
|
|||
export function changeRoleStatus(roleId, status) { |
|||
const data = { |
|||
roleId, |
|||
status |
|||
} |
|||
return request({ |
|||
url: '/system/role/changeStatus', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除角色
|
|||
export function delRole(roleId) { |
|||
return request({ |
|||
url: '/system/role/' + roleId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 查询角色已授权用户列表
|
|||
export function allocatedUserList(query) { |
|||
return request({ |
|||
url: '/system/role/authUser/allocatedList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询角色未授权用户列表
|
|||
export function unallocatedUserList(query) { |
|||
return request({ |
|||
url: '/system/role/authUser/unallocatedList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 取消用户授权角色
|
|||
export function authUserCancel(data) { |
|||
return request({ |
|||
url: '/system/role/authUser/cancel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 批量取消用户授权角色
|
|||
export function authUserCancelAll(data) { |
|||
return request({ |
|||
url: '/system/role/authUser/cancelAll', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 授权用户选择
|
|||
export function authUserSelectAll(data) { |
|||
return request({ |
|||
url: '/system/role/authUser/selectAll', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 根据角色ID查询部门树结构
|
|||
export function deptTreeSelect(roleId) { |
|||
return request({ |
|||
url: '/system/role/deptTree/' + roleId, |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,135 @@ |
|||
import request from '@/utils/request' |
|||
import { parseStrEmpty } from "@/utils/ruoyi"; |
|||
|
|||
// 查询用户列表
|
|||
export function listUser(query) { |
|||
return request({ |
|||
url: '/system/user/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询用户详细
|
|||
export function getUser(userId) { |
|||
return request({ |
|||
url: '/system/user/' + parseStrEmpty(userId), |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增用户
|
|||
export function addUser(data) { |
|||
return request({ |
|||
url: '/system/user', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改用户
|
|||
export function updateUser(data) { |
|||
return request({ |
|||
url: '/system/user', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除用户
|
|||
export function delUser(userId) { |
|||
return request({ |
|||
url: '/system/user/' + userId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 用户密码重置
|
|||
export function resetUserPwd(userId, password) { |
|||
const data = { |
|||
userId, |
|||
password |
|||
} |
|||
return request({ |
|||
url: '/system/user/resetPwd', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 用户状态修改
|
|||
export function changeUserStatus(userId, status) { |
|||
const data = { |
|||
userId, |
|||
status |
|||
} |
|||
return request({ |
|||
url: '/system/user/changeStatus', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 查询用户个人信息
|
|||
export function getUserProfile() { |
|||
return request({ |
|||
url: '/system/user/profile', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 修改用户个人信息
|
|||
export function updateUserProfile(data) { |
|||
return request({ |
|||
url: '/system/user/profile', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 用户密码重置
|
|||
export function updateUserPwd(oldPassword, newPassword) { |
|||
const data = { |
|||
oldPassword, |
|||
newPassword |
|||
} |
|||
return request({ |
|||
url: '/system/user/profile/updatePwd', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 用户头像上传
|
|||
export function uploadAvatar(data) { |
|||
return request({ |
|||
url: '/system/user/profile/avatar', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 查询授权角色
|
|||
export function getAuthRole(userId) { |
|||
return request({ |
|||
url: '/system/user/authRole/' + userId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 保存授权角色
|
|||
export function updateAuthRole(data) { |
|||
return request({ |
|||
url: '/system/user/authRole', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 查询部门下拉树结构
|
|||
export function deptTreeSelect() { |
|||
return request({ |
|||
url: '/system/user/deptTree', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,76 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询生成表数据
|
|||
export function listTable(query) { |
|||
return request({ |
|||
url: '/tool/gen/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 查询db数据库列表
|
|||
export function listDbTable(query) { |
|||
return request({ |
|||
url: '/tool/gen/db/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询表详细信息
|
|||
export function getGenTable(tableId) { |
|||
return request({ |
|||
url: '/tool/gen/' + tableId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 修改代码生成信息
|
|||
export function updateGenTable(data) { |
|||
return request({ |
|||
url: '/tool/gen', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 导入表
|
|||
export function importTable(data) { |
|||
return request({ |
|||
url: '/tool/gen/importTable', |
|||
method: 'post', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 预览生成代码
|
|||
export function previewTable(tableId) { |
|||
return request({ |
|||
url: '/tool/gen/preview/' + tableId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 删除表数据
|
|||
export function delTable(tableId) { |
|||
return request({ |
|||
url: '/tool/gen/' + tableId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 生成代码(自定义路径)
|
|||
export function genCode(tableName) { |
|||
return request({ |
|||
url: '/tool/gen/genCode/' + tableName, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 同步数据库
|
|||
export function synchDb(tableName) { |
|||
return request({ |
|||
url: '/tool/gen/synchDb/' + tableName, |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询IOServer变量转换列表
|
|||
export function listKingcodetransform(query) { |
|||
return request({ |
|||
url: '/dc/dcBusiKingcodetransform/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询IOServer变量转换详细
|
|||
export function getKingcodetransform(id) { |
|||
return request({ |
|||
url: '/dc/dcBusiKingcodetransform/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增IOServer变量转换
|
|||
export function addKingcodetransform(data) { |
|||
return request({ |
|||
url: '/dc/dcBusiKingcodetransform', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改IOServer变量转换
|
|||
export function updateKingcodetransform(data) { |
|||
return request({ |
|||
url: '/dc/dcBusiKingcodetransform', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除IOServer变量转换
|
|||
export function delKingcodetransform(id) { |
|||
return request({ |
|||
url: '/dc/dcBusiKingcodetransform/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出IOServer变量转换
|
|||
export function exportKingcodetransform(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询运维监视视图配置列表
|
|||
export function listViewConfig(query) { |
|||
return request({ |
|||
url: '/dc/dcSysMonitorConfig/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询运维监视视图配置详细
|
|||
export function getViewConfig(id) { |
|||
return request({ |
|||
url: '/dc/dcSysMonitorConfig/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增运维监视视图配置
|
|||
export function addViewConfig(data) { |
|||
return request({ |
|||
url: '/dc/dcSysMonitorConfig', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改运维监视视图配置
|
|||
export function updateViewConfig(data) { |
|||
return request({ |
|||
url: '/dc/dcSysMonitorConfig', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除运维监视视图配置
|
|||
export function delViewConfig(id) { |
|||
return request({ |
|||
url: '/dc/dcSysMonitorConfig/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出运维监视视图配置
|
|||
export function exportViewConfig(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
After Width: | Height: | Size: 160 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 954 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 179 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 971 B |
After Width: | Height: | Size: 717 B |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 418 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 356 B |
After Width: | Height: | Size: 724 B |
After Width: | Height: | Size: 818 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 347 B |
After Width: | Height: | Size: 497 B |
After Width: | Height: | Size: 459 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 944 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 421 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 320 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 744 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 1017 B |
After Width: | Height: | Size: 444 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 669 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 883 B |
After Width: | Height: | Size: 821 B |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 1.8 KiB |