diff --git a/src/api/business/index.js b/src/api/business/index.js index ed131492..467d2c65 100644 --- a/src/api/business/index.js +++ b/src/api/business/index.js @@ -157,3 +157,39 @@ export function deleteRedif(id) { method: 'delete' }) } + +// 直转审核-列表 +export function getDerateList(query) { + return request({ + url: '/material/directAudit/list', + method: 'get', + params: query + }) +} + +// 直转审核-详情 +export function getInfoById(query) { + return request({ + url: '/material/directAudit/getInfoById', + method: 'get', + params: query + }) +} + +// 直转审核-流程信息 +export function getAuditInfo(query) { + return request({ + url: '/material/directAudit/getAuditInfo', + method: 'get', + params: query + }) +} + +// 直转审核-审核 +export function auditDir(data) { + return request({ + url: '/material/directAudit/auditDir', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index e3146457..05d85cf3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -203,7 +203,7 @@ export const dynamicRoutes = [ path: '/business-details/direct-rotation-apply', component: Layout, // 后续单独拎出来时 要取消layout 直接是独立页面 类似于404页面配置即可 hidden: true, - permissions: ['*'], // 权限字符 + permissions: ['direct-apply:list'], // 权限字符 children: [ { path: 'index', diff --git a/src/views/business-examine/direct-rotation-apply/business-details.vue b/src/views/business-examine/direct-rotation-apply/business-details.vue index beab4cf6..2f3b292a 100644 --- a/src/views/business-examine/direct-rotation-apply/business-details.vue +++ b/src/views/business-examine/direct-rotation-apply/business-details.vue @@ -1,22 +1,450 @@ - diff --git a/src/views/business-examine/direct-rotation-apply/components/title-tip.vue b/src/views/business-examine/direct-rotation-apply/components/title-tip.vue new file mode 100644 index 00000000..2970e850 --- /dev/null +++ b/src/views/business-examine/direct-rotation-apply/components/title-tip.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/src/views/business-examine/direct-rotation-apply/index.vue b/src/views/business-examine/direct-rotation-apply/index.vue index 1a18d891..b34ce828 100644 --- a/src/views/business-examine/direct-rotation-apply/index.vue +++ b/src/views/business-examine/direct-rotation-apply/index.vue @@ -1,276 +1,227 @@ + + diff --git a/src/views/business/businessHandling/directApply.vue b/src/views/business/businessHandling/directApply.vue index 58834309..083714d6 100644 --- a/src/views/business/businessHandling/directApply.vue +++ b/src/views/business/businessHandling/directApply.vue @@ -654,8 +654,8 @@ export default { }, //获取任务详情--- 编辑回显数据 async getTaskInfo() { + const loading = this.$loading() try { - const loading = this.$loading() const res = await receiveDetail({ id: this.id }) console.log('🚀 ~ getTaskInfo ~ res:', res) this.maForm = res.data diff --git a/src/views/business/businessHandling/index.vue b/src/views/business/businessHandling/index.vue index 77396312..6e49d8b3 100644 --- a/src/views/business/businessHandling/index.vue +++ b/src/views/business/businessHandling/index.vue @@ -488,8 +488,8 @@ export default { }, async standardConfigChange(val) { console.log('🚀 ~ standardConfigChange ~ val:', val) + const loading = this.$loading() try { - const loading = this.$loading() const params = { configId: val.id } @@ -625,8 +625,8 @@ export default { }, //获取任务详情--- 编辑回显数据 async getTaskInfo() { + const loading = this.$loading() try { - const loading = this.$loading() const res = await getLeaseTaskDetail(this.id) console.log('🚀 ~ getTaskInfo ~ res:', res) this.maForm = res.data.leaseApplyInfo diff --git a/src/views/material/ma/mechEquipConfigMgmt/index.vue b/src/views/material/ma/mechEquipConfigMgmt/index.vue index 8d3a87f6..7899b24e 100644 --- a/src/views/material/ma/mechEquipConfigMgmt/index.vue +++ b/src/views/material/ma/mechEquipConfigMgmt/index.vue @@ -469,8 +469,8 @@ export default { console.log(this.form, '提交参数---') this.$refs['form'].validate(valid => { if (valid) { + const loading = this.$loading() try { - const loading = this.$loading() const params = { configId: this.form.configId, typeIds: this.form.typeModel