This commit is contained in:
2024-05-09 18:46:28 +08:00
parent 59945b5652
commit 1ad42cf661
7 changed files with 34 additions and 232 deletions

View File

@@ -1,118 +0,0 @@
import createAxios from '@/utils/request'
import { PROCESS_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = PROCESS_BOOT + '/workflow/model'
/**
* 查询流程模型数据
*/
export const listWFModel = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/list',
method: 'POST',
data: data
})
}
/**
* 查询流程模型的历史数据
*/
export const listHistoryWFModel = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/historyList',
method: 'POST',
data: data
})
}
/**
* 根据id查询模型详细信息
*/
export const getModelById = (id: string) => {
return createAxios({
url: MAPPING_PATH + '/getModelById?id=' + id,
method: 'GET'
})
}
/**
* 根据id查询模型bpmn的xml
*/
export const getBpmnXmlById = (id: string) => {
return createAxios({
url: MAPPING_PATH + '/getBpmnXmlById?id=' + id,
method: 'GET'
})
}
/**
* 新增流程模型
*/
export const addWFModel = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/add',
method: 'POST',
data: data
})
}
/**
* 更新流程模型
*/
export const updateWFModel = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/update',
method: 'POST',
data: data
})
}
/**
* 保存模型中的bpmn模型
*/
export const saveBpmnXml = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/saveBpmnXml',
method: 'POST',
data: data
})
}
/**
* 设为最新流程模型
*/
export const latestModel = (id: string) => {
return createAxios({
url: MAPPING_PATH + '/latest?id=' + id,
method: 'GET'
})
}
/**
* 部署流程模型
*/
export const deployModel = (id: string) => {
return createAxios({
url: MAPPING_PATH + '/deploy?id=' + id,
method: 'GET'
})
}
/**
* 删除流程模型
*/
export const deleteWFModel = (data: any) => {
let ids = [data]
return createAxios({
url: MAPPING_PATH + '/delete',
method: 'POST',
data: ids
})
}

View File

@@ -0,0 +1,16 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/workflow/wfForm'
/**
* 查询流程表单数据
*/
export const getUserReport = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/getUserReport',
method: 'POST',
data: data
})
}

View File

@@ -1,47 +0,0 @@
import createAxios from '@/utils/request'
import { WORKFLOW_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = WORKFLOW_BOOT + '/flw/model'
/**
* 新增流程
*/
export const addModel = (data:any) => {
return createAxios({
url: MAPPING_PATH + '/add',
method: 'POST',
data: data
})
}
/**
* 获取执行监听器选择器
*/
export const executionListenerSelector = () => {
return createAxios({
url: MAPPING_PATH + '/executionListenerSelector',
method: 'GET'
})
}
/**
* 获取自定义事件执行监听器选择器
*/
export const executionListenerSelectorForCustomEvent = () => {
return createAxios({
url: MAPPING_PATH + '/executionListenerSelectorForCustomEvent',
method: 'GET'
})
}
/**
* 获取任务监听器选择器
*/
export const taskListenerSelector = () => {
return createAxios({
url: MAPPING_PATH + '/taskListenerSelector',
method: 'GET'
})
}

View File

@@ -1,43 +0,0 @@
import createAxios from '@/utils/request'
import { WORKFLOW_BOOT } from '@/utils/constantRequest'
const MAPPING_SN_PATH = WORKFLOW_BOOT + '/flw/templateSn'
const MAPPING_PRINT_PATH = WORKFLOW_BOOT + '/flw/templatePrint'
/**
* 新增流程
*/
export const addModel = (data:any) => {
return createAxios({
url: MAPPING_SN_PATH + '/add',
method: 'POST',
data: data
})
}
/**
* 获取流水号模板列表选择器
*/
export const flwTemplateSnSelector = (data:any) => {
return createAxios({
url: MAPPING_SN_PATH + '/flwTemplateSnSelector',
method: 'POST',
data: data
})
}
/**
* 获取打印模板列表选择器
*/
export const flwTemplatePrintSelector = (data:any) => {
return createAxios({
url: MAPPING_PRINT_PATH + '/flwTemplatePrintSelector',
method: 'POST',
data: data
})
}

View File

@@ -5,7 +5,7 @@ export const ADVANCE_BOOT = '/advance-boot'
export const PROCESS_BOOT = '/process-boot'
//工作流模块
export const WORKFLOW_BOOT = '/workflow-boot'
//于道工作流模块
export const BPM_BOOT = '/bpm-boot'
//冀北技术监督
export const SUPERVISION_BOOT = '/supervision-boot'

View File

@@ -1,30 +1,23 @@
<template>
<TableHeader area ref="TableHeaderRef">
<TableHeader ref="TableHeaderRef">
<template #select>
<el-form-item label="干扰源类型">
<el-select v-model="tableStore.table.params.loadType" clearable placeholder="请选择干扰源类型">
<el-form-item label="工程名称">
<el-input
v-model="tableStore.table.params.searchValue"
clearable
></el-input>
</el-form-item>
<el-form-item label="所属地市">
<el-select v-model="tableStore.table.params.loadType" clearable placeholder="请选择所属地市">
<el-option
v-for="item in interferenceType"
v-for="item in areaOptionList"
:key="item.id"
:label="item.name"
:value="item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="干扰源用户名称">
<el-input
v-model="tableStore.table.params.userName"
clearable
placeholder="请选择干扰源用户名称"
></el-input>
</el-form-item>
<el-form-item label="是否上传报告:">
<el-select v-model="tableStore.table.params.fileUploadflag" clearable placeholder="请选择是否上传报告">
<el-option label="否" value="0" />
<el-option label="是" value="1" />
</el-select>
</el-form-item>
</template>
<template #operation>
<el-button icon="el-icon-Plus" type="primary" @click="addList">新增</el-button>
@@ -53,6 +46,7 @@ const dictData = useDictData()
const TableHeaderRef = ref()
const tableRef = ref()
const interferenceType = dictData.getBasicData('Interference_Source')
const areaOptionList = dictData.getBasicData('jibei_area')
const istatusList = dictData.getBasicData('On-network_Status')
@@ -61,11 +55,11 @@ const AuditRef = ref()
const ruleFormRef = ref()
const fileList = ref([])
const tableStore = new TableStore({
url: '/process-boot/loadTypeUserManage/getLoadTypeUserList',
url: '/supervision-boot/userReport/getUserReport',
publicHeight: 65,
method: 'POST',
column: [
// { width: '60', type: 'checkbox' },
{ title: '序号', type: 'seq', width: 80 },
{ field: 'orgName', title: '所属单位' },
{
field: 'loadType',

View File

@@ -1,7 +1,7 @@
<template>
<div class="default-main">
<el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="未建档非线性用户录入及查询" name="1">
<el-tab-pane label="非线性用户建档" name="1">
<undocumented v-if="activeName == '1'"/>
</el-tab-pane>
<el-tab-pane label="入网评估报告审核" name="2"><network v-if="activeName == '2'"/></el-tab-pane>