diff --git a/src/api/receive-apply/index.js b/src/api/receive-apply/index.js new file mode 100644 index 00000000..77108ccb --- /dev/null +++ b/src/api/receive-apply/index.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +// 获取领用申请列表 +export function getReceiveApplyApi(query) { + return request({ + url: '/material/ma_type/getMaTypeTreeSelect', + method: 'get', + params: query + }) +} +// 获取领用申请详情 +export function getReceiveApplyDetailsApi(query) { + return request({ + url: '/material/ma_type/getMaTypeTreeSelect', + method: 'get', + params: query + }) +} +// 获取审核记录详情 +export function getAuditingDetailsApi(query) { + return request({ + url: '/material/ma_type/getMaTypeTreeSelect', + method: 'get', + params: query + }) +} +// 审核提交接口 +export function submitAuditingApi(query) { + return request({ + url: '/material/ma_type/getMaTypeTreeSelect', + method: 'get', + params: query + }) +} diff --git a/src/router/index.js b/src/router/index.js index b1cd5beb..343073ed 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -182,22 +182,52 @@ export const dynamicRoutes = [ meta: { title: '流程配置', activeMenu: '/countersign/config' } } ] + }, + // 领料审核 业务详情 + { + path: '/business-details/receive-apply', + component: Layout, // 后续单独拎出来时 要取消layout 直接是独立页面 类似于404页面配置即可 + hidden: true, + permissions: ['system:dict:list'], // 权限字符 + children: [ + { + path: 'index', + name: 'receive-apply-details', + meta: { title: '领料详情', activeMenu: '/business-examine/receive-apply' }, + component: () => import('@/views/business-examine/receive-apply/business-details.vue') + } + ] + }, + // 直转审核 业务详情 + { + path: '/business-details/direct-rotation-apply', + component: Layout, // 后续单独拎出来时 要取消layout 直接是独立页面 类似于404页面配置即可 + hidden: true, + permissions: ['system:dict:list'], // 权限字符 + children: [ + { + path: 'index', + name: 'direct-rotation-apply', + meta: { title: '直转详情', activeMenu: '/business-examine/direct-rotation-apply' }, + component: () => import('@/views/business-examine/direct-rotation-apply/business-details.vue') + } + ] + }, + // 减免审核 业务详情 + { + path: '/business-details/reduction-apply', + component: Layout, // 后续单独拎出来时 要取消layout 直接是独立页面 类似于404页面配置即可 + hidden: true, + permissions: ['system:dict:list'], // 权限字符 + children: [ + { + path: 'index', + name: 'reduction-apply', + meta: { title: '减免详情', activeMenu: '/business-examine/reduction-apply' }, + component: () => import('@/views/business-examine/reduction-apply/business-details.vue') + } + ] } - // 业务详情 - // { - // path: '/business-details', - // component: Layout, // 后续单独拎出来时 要取消layout 直接是独立页面 类似于404页面配置即可 - // hidden: true, - // permissions: ['system:dict:list'], // 权限字符 - // children: [ - // { - // path: 'index', - // name: 'business-details', - // meta: { title: '业务详情', activeMenu: '/business-examine' }, - // component: () => import('@/views/business-examine/business-details.vue') - // } - // ] - // } ] // 防止连续点击多次路由报错 diff --git a/src/views/business-examine/direct-rotation-apply/index.vue b/src/views/business-examine/direct-rotation-apply/index.vue index ea3ae845..1a18d891 100644 --- a/src/views/business-examine/direct-rotation-apply/index.vue +++ b/src/views/business-examine/direct-rotation-apply/index.vue @@ -41,16 +41,7 @@ /> - - - + - diff --git a/src/views/business-examine/receive-apply/components/title-tip.vue b/src/views/business-examine/receive-apply/components/title-tip.vue new file mode 100644 index 00000000..7ee4e4d5 --- /dev/null +++ b/src/views/business-examine/receive-apply/components/title-tip.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/src/views/business-examine/receive-apply/index.vue b/src/views/business-examine/receive-apply/index.vue index ea3ae845..aad8cb08 100644 --- a/src/views/business-examine/receive-apply/index.vue +++ b/src/views/business-examine/receive-apply/index.vue @@ -1,285 +1,248 @@