Browse Source

审批流程-进行中的流程,已结束的流程界面及接口对接-提交

lxh 11 months ago
parent
commit
8b90671013

+ 1 - 1
src/views/vent/monitorManager/deviceMonitor/components/device/device.data.ts

@@ -66,7 +66,7 @@ export function getMonitorComponent() {
   const AtomizingModal = defineAsyncComponent(() => import('./modal/atomizing.modal.vue'));
   const GaspatrolModal = defineAsyncComponent(() => import('./modal/gaspatrol.modal.vue'));
 
-  return { FiberModal, BundleModal, DustModal, BallvalveModal, AtomizingModal, GaspatrolModal };
+  return { FiberModal, BundleModal, DustModal, BallvalveModal,AtomizingModal, GaspatrolModal };
 }
 
 // export const searchFormSchema: FormSchema[] = [

+ 2 - 5
src/views/vent/monitorManager/deviceMonitor/components/device/index.vue

@@ -333,7 +333,7 @@ import BarAndLine from '/@/components/chart/BarAndLine.vue';
 import { nextTick } from 'vue';
 // import { BorderBox8 as DvBorderBox8 } from '@kjgl77/datav-vue3';
 
-const {FiberModal, BundleModal, DustModal, BallvalveModal, AtomizingModal, GaspatrolModal} = getMonitorComponent()
+const {FiberModal, BundleModal, DustModal, BallvalveModal,AtomizingModal, GaspatrolModal} = getMonitorComponent()
 type DeviceType = { deviceType: string, deviceName: string, datalist: any[] };
 
 const props = defineProps({
@@ -625,10 +625,7 @@ function goDetail(record?) {
     } else if (deviceType.value.startsWith('dusting')) {
       currentModal.value = DustModal
       modalVisible.value = true;
-    }else if(deviceType.value.startsWith('gasmonitor')){//瓦斯巡检
-      currentModal.value = gasModal
-      modalVisible.value = true;
-    } else if (deviceType.value.startsWith('bundletube')) {
+    }else if (deviceType.value.startsWith('bundletube')) {
       currentModal.value = BundleModal
       modalVisible.value = true;
     } else if (deviceType.value.startsWith('ballvalve')) {

+ 25 - 0
src/views/vent/performance/completeLc/completeLc.api.ts

@@ -0,0 +1,25 @@
+import { defHttp } from '/@/utils/http/axios';
+
+enum Api {
+    getFinishedProcess = '/safety/actProcessIns/getFinishedProcess',
+    getHistoricFlow='/safety/actTask/historicFlow/15053',
+    getForm='/safety/actBusiness/getForm'
+}
+
+/**
+ * 列表
+ * @param params
+ */
+export const getFinishedProcess = (params) => defHttp.get({ url: Api.getFinishedProcess, params });
+
+/**
+ * 审批历史
+ * @param params
+ */
+export const getHistoricFlow = () => defHttp.get({ url: Api.getHistoricFlow, });
+/**
+ * 表单数据
+ * @param params
+ */
+export const getForm = (params) => defHttp.get({ url: Api.getForm,params });
+

+ 15 - 13
src/views/vent/performance/completeLc/completeLc.data.ts

@@ -8,29 +8,29 @@ export const  columns:BasicColumn[]=[
   },
   {
     title: '流程名称',
-    dataIndex: 'areaName',
-    key: 'areaName',
+    dataIndex: 'name',
+    key: 'name',
     align: 'center',
     ellipsis: true,
   },
   {
     title: '申请人',
-    dataIndex: 'warnLevel_dictText',
-    key: 'warnLevel_dictText',
+    dataIndex: 'applyer',
+    key: 'applyer',
     align: 'center',
     ellipsis: true,
   },
   {
     title: '标识Key',
-    dataIndex: 'zhType',
-    key: 'zhType',
+    dataIndex: 'key',
+    key: 'key',
     align: 'center',
     ellipsis: true,
   },
   {
     title: '版本',
-    dataIndex: 'isLk',
-    key: 'isLk',
+    dataIndex: 'versionC',
+    key: 'versionC',
     align: 'center',
     ellipsis: true,
   },
@@ -57,22 +57,24 @@ export const  columns:BasicColumn[]=[
   },
   {
     title: '开始时间',
-    dataIndex: 'suggestMsg',
-    key: 'suggestMsg',
+    dataIndex: 'startTime',
+    key: 'startTime',
     align: 'center',
     ellipsis: true,
+    width:160 
   },
   {
     title: '结束时间',
-    dataIndex: 'suggestMsg',
-    key: 'suggestMsg',
+    dataIndex: 'endTime',
+    key: 'endTime',
     align: 'center',
     ellipsis: true,
+    width:160
   },
   {
     title: '操作',
     key: 'action',
-    width: 250,
+    width: 300,
     slots: { customRender: 'action' },
     align: 'center',
   },

+ 140 - 20
src/views/vent/performance/completeLc/index.vue

@@ -3,52 +3,155 @@
         <div class="search-box">
             <a-form :model="formSearch" layout="inline" :label-col="labelCol">
                 <a-form-item label="流程名称:">
-                    <a-input style="width:240px" placeholder="请输入..." v-model:value="formSearch.name" />
+                    <a-input style="width:240px" placeholder="请输入..." allowClear v-model:value="formSearch.name" />
                 </a-form-item>
                 <a-form-item label="标识Key:">
-                    <a-input style="width:240px" placeholder="请输入..." v-model:value="formSearch.name" />
+                    <a-input style="width:240px" placeholder="请输入..." allowClear v-model:value="formSearch.key" />
+                </a-form-item>
+                <a-form-item label="结束时间:">
+                    <a-range-picker v-model:value="formSearch.timer" :forfmat="dateFormat" />
                 </a-form-item>
                 <a-form-item label="">
-                    <a-button style="margin-right:10px" type="primary"
-                        preIcon="ant-design:search-outlined">查询</a-button>
-                    <a-button type="primary">重置</a-button>
+                    <a-button style="margin-right:10px" type="primary" preIcon="ant-design:search-outlined"
+                        @click="getSearch">查询</a-button>
+                    <a-button type="plain" @click="reset">重置</a-button>
                 </a-form-item>
             </a-form>
         </div>
         <div class="content-box">
             <a-table size="small" :dataSource="dataSource" :columns="columns" :scroll="{ y: 730 }"
-                :pagination="pagination" @change="pageChange">
-
+                :pagination="pagination">
                 <template #action="{ record }">
-                    <a-button type="link" style="color:#3DF6FF" @click="getViews">
-                        查看
+                    <a-button type="link" style="color:#3DF6FF" @click="getClick({ event: 'sp', row: record })">
+                        审批历史
                     </a-button>
+                    <a-button type="link" style="color:#3DF6FF" @click="getClick({ event: 'bd', row: record })">
+                        表单数据
+                    </a-button>
+                    <a-popconfirm title="是否确认删除!" ok-text="确定" cancel-text="取消"
+                        @confirm="getClick({ event: 'del', row: record })">
+                        <a-button type="link" style="color:#3DF6FF">
+                            删除
+                        </a-button>
+                    </a-popconfirm>
                 </template>
             </a-table>
         </div>
+        <!-- 审批详情弹窗 -->
+        <a-modal v-model:visible="visibleSp" :footer="null" width="1000px" :title="titleSp" centered destroyOnClose>
+            <HistorySp :historySpList="historySpList"></HistorySp>
+        </a-modal>
+        <!-- 表单数据弹窗 -->
+        <a-modal v-model:visible="visibleForm" width="1000px" :footer="null" :title="titleForm" centered destroyOnClose>
+            <formSp :formSpData="formSpData"></formSp>
+        </a-modal>
     </div>
 </template>
 
 <script setup lang="ts">
-import { ref, reactive,  } from 'vue'
-import { columns} from './completeLc.data'
+import { ref, reactive, onMounted } from 'vue'
+import HistorySp from '../progressLc/common/HistorySp.vue'
+import formSp from '../progressLc/common/formSp.vue'
+import { columns } from './completeLc.data'
+import { getFinishedProcess, getHistoricFlow, getForm } from './completeLc.api'
 
 const labelCol = { style: { width: '80px' } };
+
+let dateFormat = ref('YYYY-MM-DD')
 //查询参数
 let formSearch = reactive({
-    name: ''
+    name: '',
+    key: '',
+    timer: [],
 })
 //数据列表
-let dataSource=ref<any[]>([])
+let dataSource = ref<any[]>([])
 
 //分页参数配置
 let pagination = reactive({
-  current: 1, // 当前页码
-  pageSize: 10, // 每页显示条数
-  total: 0, // 总条目数,后端返回
-  // showTotal: (total, range) => `${range[0]}-${range[1]} 条,总共 ${total} 条`, // 分页右下角显示信息
-  showSizeChanger: true, // 是否可改变每页显示条数
-  pageSizeOptions: ['10', '20', '50',], // 可选的每页显示条数
+    current: 1, // 当前页码
+    pageSize: 10, // 每页显示条数
+    total: 0, // 总条目数,后端返回
+    // showTotal: (total, range) => `${range[0]}-${range[1]} 条,总共 ${total} 条`, // 分页右下角显示信息
+    showSizeChanger: true, // 是否可改变每页显示条数
+    pageSizeOptions: ['10', '20', '50',], // 可选的每页显示条数
+})
+
+//审批历史数据
+let visibleSp = ref(false)
+let titleSp = ref('审批历史')
+let historySpList = reactive<any[]>([])
+
+//表单数据
+let visibleForm = ref(false)
+let titleForm = ref('')
+let formSpData = ref({})
+
+
+//获取列表数据
+async function getFinishedProcessList() {
+    let res = await getFinishedProcess({ name: formSearch.name, key: formSearch.key, pageNumber: pagination.current, pageSize: pagination.pageSize })
+    console.log(res, '列表数据------------')
+    if (res.length != 0) {
+        res.forEach(el => {
+            el.versionC = 'v.1'
+        })
+        dataSource.value = res
+    }
+}
+
+//获取审批历史列表数据
+async function getHistoricFlowList() {
+    let res = await getHistoricFlow()
+    console.log(res, '审批历史------------')
+    if (res.length != 0) {
+        historySpList.length = 0
+        res.forEach(el => {
+            historySpList.push({ name: el.name, username: el.assignees[0].username, deleteReason: el.deleteReason, comment: el.comment, startTime: el.startTime, endTime: el.endTime })
+        })
+
+    }
+}
+//获取审批-表单数据
+async function getFormList(param) {
+    let res = await getForm(param)
+    console.log(res, '表单数据------------')
+    formSpData.value = res
+}
+
+//table操作
+function getClick(data) {
+    switch (data.event) {
+        case 'sp':
+            visibleSp.value = true
+            getHistoricFlowList()
+            break;
+        case 'bd':
+            visibleForm.value = true
+            titleForm.value = `查看流程业务信息${data.row.name}`
+            getFormList({ tableId: data.row.tableId, tableName: data.row.tableName })
+            break;
+        case 'del':
+            break;
+
+    }
+}
+//查询
+function getSearch() {
+    pagination.current = 1
+    getFinishedProcessList()
+}
+//重置
+function reset() {
+    formSearch.key = ''
+    formSearch.name = ''
+    formSearch.timer.length = 0
+    pagination.current = 1
+    getFinishedProcessList()
+}
+
+onMounted(() => {
+    getFinishedProcessList()
 })
 </script>
 
@@ -73,9 +176,26 @@ let pagination = reactive({
     color: #fff;
 }
 
-:deep(.zxm-input) {
+:deep(.zxm-input-affix-wrapper) {
+    color: #fff;
+    background-color: #ffffff00;
+    border: 1px solid #3ad8ff77 !important;
+}
+:deep(.zxm-input){
+    color: #fff !important;
+    background-color: #ffffff00 !important; 
+}
+
+:deep(.zxm-picker) {
     color: #fff;
     background-color: #ffffff00;
     border: 1px solid #3ad8ff77 !important;
 }
+
+:deep(.zxm-picker-separator) {
+    color: #fff !important;
+}
+:deep(.anticon.zxm-input-clear-icon){
+    color:#fff;
+}
 </style>

+ 23 - 20
src/views/vent/performance/progressLc/HistorySp.data.ts

@@ -8,45 +8,48 @@ export const  columns:BasicColumn[]=[
   },
   {
     title: '当前环节',
-    dataIndex: 'id',
-    key: 'id',
+    dataIndex: 'name',
+    key: 'name',
     align: 'center',
     ellipsis: true,
   },
   {
     title: '审批人',
-    dataIndex: 'name',
-    key: 'name',
+    dataIndex: 'username',
+    key: 'username',
     align: 'center',
     ellipsis: true,
   },
   {
-    title: '申请人',
-    dataIndex: 'applyer',
-    key: 'applyer',
+    title: '审批结果',
+    dataIndex: 'deleteReason',
+    key: 'deleteReason',
     align: 'center',
     ellipsis: true,
   },
   {
-    title: '标识Key',
-    dataIndex: 'key',
-    key: 'key',
+    title: '',
+    dataIndex: 'comment',
+    key: 'comment',
     align: 'center',
     ellipsis: true,
   },
  
   {
-    title: '状态',
-    dataIndex: 'isSuspended',
-    key: 'isSuspended',
+    title: '审批开始时间',
+    dataIndex: 'startTime',
+    key: 'startTime',
+    align: 'center',
+    ellipsis: true,
+    width:180,
+  },
+  {
+    title: '审批结束时间',
+    dataIndex: 'endTime',
+    key: 'endTime',
     align: 'center',
     ellipsis: true,
+    width:180
   },
-//   {
-//     title: '操作',
-//     key: 'action',
-//     width: 350,
-//     slots: { customRender: 'action' },
-//     align: 'center',
-//   },
+
 ]

+ 19 - 1
src/views/vent/performance/progressLc/common/HistorySp.vue

@@ -17,9 +17,17 @@
 </template>
 
 <script setup lang="ts">
-import { ref, reactive } from 'vue'
+import { ref, reactive,defineProps,watch } from 'vue'
 import { columns } from '../HistorySp.data'
 
+let props=defineProps({
+    historySpList:{
+        type:Array,
+        default:()=>{
+            return []
+        }
+    }
+})
 //数据列表
 let dataSource = ref<any[]>([])
 
@@ -33,6 +41,16 @@ let pagination = reactive({
     pageSizeOptions: ['10', '20', '50',], // 可选的每页显示条数
 })
 
+watch(()=>props.historySpList,(newV,oldV)=>{
+    console.log(newV,'newV---------------')
+    if(newV.length!=0){
+        dataSource.value=newV
+    }
+},{
+    immediate:true,
+    deep:true
+})
+
 </script>
 
 <style lang="less" scoped>

+ 50 - 0
src/views/vent/performance/progressLc/common/formDel.vue

@@ -0,0 +1,50 @@
+<template>
+    <div class="formDel">
+        <div class="del-title">删除原因:</div>
+        <a-textarea :rows="4" placeholder="请输入删除原因..." v-model:value="delReason" allowClear />
+        <div class="btn-box">
+            <a-button type="primary" style="margin-right:10px" @click="confirm">确定</a-button>
+            <a-button type="plain" @click="cancel">取消</a-button>
+        </div>
+    </div>
+</template>
+
+<script setup lang="ts">
+import {ref} from 'vue'
+
+let delReason=ref('')
+let emit=defineEmits(['confirmClick','cancelClick'])
+
+function confirm(){
+    emit('confirmClick',delReason.value);
+}
+function cancel(){
+    delReason.value=''
+    emit('cancelClick');
+}
+
+</script>
+
+<style lang="less" scoped>
+.formDel{
+    position: relative;
+    width: 100%;
+    height: 100%;
+    padding: 15px;
+    box-sizing:border-box;
+    .del-title{
+        margin-bottom: 10px;
+    }
+    .btn-box{
+        width: 100%;
+        padding: 10px 0px;
+        box-sizing: border-box;
+        display: flex;
+        justify-content: flex-end;
+    }
+}
+:deep(.zxm-input-affix-wrapper) {
+    background-color: #ffffff00;
+    border: 1px solid #3ad8ff77 !important;
+}
+</style>

+ 43 - 0
src/views/vent/performance/progressLc/common/formSp.vue

@@ -0,0 +1,43 @@
+<template>
+    <div class="formSp">
+        <a-form :model="formState" :label-col="{ span: 6 }" :wrapper-col="{ span: 14 }">
+            <a-form-item label="标题">
+                <a-input v-model:value="formState.name" :disabled="disabled"></a-input>
+            </a-form-item>
+        </a-form>
+    </div>
+</template>
+
+<script setup lang="ts">
+import { ref, reactive,defineProps,watch } from 'vue'
+
+let props=defineProps({
+    formSpData:{
+        type:Object,
+        default:()=>{
+            return {}
+        }
+    }
+})
+//form数据
+let formState = ref({})
+//是否禁用
+let disabled=ref(true)
+
+watch(()=>props.formSpData,(newV,oldV)=>{
+    formState.value=newV
+},{
+    immediate:true
+})
+
+</script>
+
+<style lang="less" scoped>
+.formSp {
+    position: relative;
+    width: 100%;
+    height: 100%;
+    padding: 20px;
+    box-sizing: border-box
+}
+</style>

+ 93 - 24
src/views/vent/performance/progressLc/index.vue

@@ -3,15 +3,15 @@
         <div class="search-box">
             <a-form :model="formSearch" layout="inline" :label-col="labelCol">
                 <a-form-item label="流程名称:">
-                    <a-input style="width:240px" placeholder="请输入..." v-model:value="formSearch.name" />
+                    <a-input style="width:240px" placeholder="请输入..." allowClear v-model:value="formSearch.name" />
                 </a-form-item>
                 <a-form-item label="标识Key:">
-                    <a-input style="width:240px" placeholder="请输入..." v-model:value="formSearch.key" />
+                    <a-input style="width:240px" placeholder="请输入..." allowClear v-model:value="formSearch.key" />
                 </a-form-item>
                 <a-form-item label="">
-                    <a-button style="margin-right:10px" type="primary"
-                        preIcon="ant-design:search-outlined">查询</a-button>
-                    <a-button type="primary">重置</a-button>
+                    <a-button style="margin-right:10px" type="primary" preIcon="ant-design:search-outlined"
+                        @click="getSearch">查询</a-button>
+                    <a-button type="plain" @click="reset">重置</a-button>
                 </a-form-item>
             </a-form>
         </div>
@@ -26,18 +26,29 @@
                     <a-button type="link" style="color:#3DF6FF" @click="getClick({ event: 'sp', row: record })">
                         审批详情
                     </a-button>
-                    <a-button type="link" style="color:#3DF6FF">
+                    <a-button type="link" style="color:#3DF6FF" @click="getClick({ event: 'bd', row: record })">
                         表单数据
                     </a-button>
-                    <a-button type="link" style="color:#3DF6FF">
-                        删除
-                    </a-button>
+                    <a-popconfirm title="是否确认删除!" ok-text="确定" cancel-text="取消"
+                        @confirm="getClick({ event: 'del', row: record })">
+                        <a-button type="link" style="color:#3DF6FF">
+                            删除
+                        </a-button>
+                    </a-popconfirm>
                 </template>
             </a-table>
         </div>
         <!-- 审批详情弹窗 -->
-        <a-modal v-model:visible="visibleSp" width="1000px" :title="titleSp" centered destroyOnClose>
-           <HistorySp :historySpList="historySpList"></HistorySp>
+        <a-modal v-model:visible="visibleSp" width="1000px" :footer="null" :title="titleSp" centered destroyOnClose>
+            <HistorySp :historySpList="historySpList"></HistorySp>
+        </a-modal>
+        <!-- 表单数据弹窗 -->
+        <a-modal v-model:visible="visibleForm" width="1000px" :footer="null" :title="titleForm" centered destroyOnClose>
+            <formSp :formSpData="formSpData"></formSp>
+        </a-modal>
+        <!-- 删除弹窗 -->
+        <a-modal v-model:visible="visibleDel" :footer="null" width="600px" :title="titleDel" centered destroyOnClose>
+            <formDel @confirmClick="confirmClick" @cancelClick="cancelClick"></formDel>
         </a-modal>
     </div>
 </template>
@@ -45,10 +56,12 @@
 <script setup lang="ts">
 import { ref, reactive, onMounted, createVNode } from 'vue'
 import HistorySp from './common/HistorySp.vue'
+import formSp from './common/formSp.vue'
+import formDel from './common/formDel.vue'
 import { Modal } from 'ant-design-vue';
 import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
 import { columns } from './progressLc.data'
-import { getRunningProcess,getHistoricFlow } from './progressLc.api'
+import { getRunningProcess, getHistoricFlow, getForm, getdelInsByIds } from './progressLc.api'
 
 const labelCol = { style: { width: '80px' } };
 //查询参数
@@ -73,21 +86,37 @@ let pagination = reactive({
 let visibleSp = ref(false)
 let titleSp = ref('审批历史')
 //审批详情历史数据
-let historySpList=reactive<any[]>([])
+let historySpList = reactive<any[]>([])
+
+//表单数据
+let visibleForm = ref(false)
+let titleForm = ref('')
+let formSpData = ref({})
+
+//删除流程数据
+let visibleDel = ref(false)
+let titleDel = ref('')
 
 
 //审批详情-审批历史列表
-async function getHistoricFlowList(){
-    let res=await getHistoricFlow()
-    console.log(res,'审批历史---------------------')
-    if(res.length!=0){
-        historySpList.length=0
-        res.forEach(el=>{
-            historySpList.push({name:el.name})
+async function getHistoricFlowList() {
+    let res = await getHistoricFlow()
+    console.log(res, '审批历史---------------------')
+    if (res.length != 0) {
+        historySpList.length = 0
+        res.forEach(el => {
+            historySpList.push({ name: el.name, username: el.assignees[0].username, deleteReason: el.deleteReason, comment: el.comment, startTime: el.startTime, endTime: el.endTime })
         })
     }
 }
 
+//获取审批-表单数据
+async function getFormList(param) {
+    let res = await getForm(param)
+    console.log(res, '表单数据------------')
+    formSpData.value = res
+}
+
 //获取列表
 async function getRunningProcessList() {
     let res = await getRunningProcess({ name: formSearch.name, key: formSearch.key, pageNumber: pagination.current, pageSize: pagination.pageSize })
@@ -101,6 +130,19 @@ async function getRunningProcessList() {
     }
 }
 
+//确认删除
+async function confirmClick(data) {
+    let res = await getdelInsByIds({ reason: data })
+    if (res.success) {
+        getRunningProcessList()
+        visibleDel.value = false
+    }
+}
+//取消删除
+function cancelClick() {
+    visibleDel.value = false
+}
+
 //table操作
 function getClick(data) {
     console.log(data, 'data------------------')
@@ -114,21 +156,41 @@ function getClick(data) {
                 okText: '确认',
                 cancelText: '取消',
                 onOk: () => {
-
-
                     Modal.destroyAll();
                 },
             });
             break;
         case 'sp':
             visibleSp.value = true
+            getHistoricFlowList()
+            break;
+        case 'bd':
+            visibleForm.value = true
+            titleForm.value = `查看流程业务信息${data.row.name}`
+            getFormList({ tableId: data.row.tableId, tableName: data.row.tableName })
+            break;
+        case 'del':
+            visibleDel.value = true
+            titleDel.value = `确认删除流程${data.row.name}`
             break;
     }
 }
 
+//查询
+function getSearch() {
+    pagination.current = 1
+    getRunningProcessList()
+}
+//重置
+function reset() {
+    formSearch.key = ''
+    formSearch.name = ''
+    pagination.current = 1
+    getRunningProcessList()
+}
+
 onMounted(() => {
     getRunningProcessList()
-    getHistoricFlowList()
 })
 </script>
 
@@ -153,9 +215,16 @@ onMounted(() => {
     color: #fff;
 }
 
-:deep(.zxm-input) {
+:deep(.zxm-input-affix-wrapper) {
     color: #fff;
     background-color: #ffffff00;
     border: 1px solid #3ad8ff77 !important;
 }
+:deep(.zxm-input){
+    color: #fff !important;
+    background-color: #ffffff00 !important;
+}
+:deep(.anticon.zxm-input-clear-icon){
+    color:#fff;
+}
 </style>

+ 15 - 1
src/views/vent/performance/progressLc/progressLc.api.ts

@@ -1,6 +1,8 @@
 import { defHttp } from '/@/utils/http/axios';
 
 enum Api {
+    getdelInsByIds='/safety/actProcessIns/delInsByIds/15053',
+    getForm = '/safety/actBusiness/getForm',
     getHistoricFlow = '/safety/actTask/historicFlow/15015',
     getRunningProcess = '/safety/actProcessIns/getRunningProcess',
 }
@@ -15,4 +17,16 @@ export const getRunningProcess = (params) => defHttp.get({ url: Api.getRunningPr
  * 审批详情-审批历史
  * @param params
  */
-export const getHistoricFlow = () => defHttp.get({ url: Api.getHistoricFlow,});
+export const getHistoricFlow = () => defHttp.get({ url: Api.getHistoricFlow,});
+
+/**
+ * 审批-表单数据
+ * @param params
+ */
+export const getForm = (params) => defHttp.get({ url: Api.getForm,params});
+
+/**
+ * 审批-删除
+ * @param params
+ */
+export const getdelInsByIds = (params) => defHttp.post({ url: Api.getdelInsByIds,params});