diff --git a/src/api/resource/purchaseApplyDetailApi.js b/src/api/resource/purchaseApplyDetailApi.js index e1f7c97..1905bd4 100644 --- a/src/api/resource/purchaseApplyDetailApi.js +++ b/src/api/resource/purchaseApplyDetailApi.js @@ -36,6 +36,21 @@ export function auditApplyOrder(data) { }) } +export function auditAllocationStoreOrder(data) { + return new Promise((resolve, reject) => { + request({ + url: '/resourceStore.auditAllocationStoreOrder', + method: 'post', + data + }).then(response => { + const res = response.data + resolve(res) + }).catch(error => { + reject(error) + }) + }) +} + // 获取工作流审核信息 export function listWorkflowAuditInfo(params) { return new Promise((resolve, reject) => { diff --git a/src/components/inspection/maintainanceTaskTransfer.vue b/src/components/inspection/maintainanceTaskTransfer.vue index 1235498..fc2d022 100644 --- a/src/components/inspection/maintainanceTaskTransfer.vue +++ b/src/components/inspection/maintainanceTaskTransfer.vue @@ -26,6 +26,7 @@ import { updateMaintainanceTask } from '@/api/inspection/maintainanceTaskManageApi' import { getCommunityId } from '@/api/community/communityApi' import { queryStaffInfos } from '@/api/staff/staffApi.js' +import { getUserId } from '@/api/user/userApi' export default { @@ -78,7 +79,7 @@ export default { this.form = { ...this.form, ...data, - currentUserId: this.$store.getters.userId, + currentUserId: getUserId(), communityId: getCommunityId() } this.loadStaffs() diff --git a/src/components/resource/AddResourceAuditFlow.vue b/src/components/resource/AddResourceAuditFlow.vue index 71ab28c..f85e7f1 100644 --- a/src/components/resource/AddResourceAuditFlow.vue +++ b/src/components/resource/AddResourceAuditFlow.vue @@ -1,61 +1,25 @@