From 313645601ca34d91cf3372cdbedf401ee211e2d4 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Thu, 13 Nov 2025 19:29:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=BD=95=E5=85=A5=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/toolsManage/index.js | 36 +++ .../toolsApplication/applicantList.vue | 23 +- .../toolsManage/toolsApprove/approveList.vue | 189 ++++++++++++ .../toolsApprove/approveToolsDetails.vue | 269 ++++++++++++++++++ .../toolsApprove/components/Details.vue | 84 ++++++ 5 files changed, 582 insertions(+), 19 deletions(-) create mode 100644 src/views/toolsManage/toolsApprove/approveList.vue create mode 100644 src/views/toolsManage/toolsApprove/approveToolsDetails.vue create mode 100644 src/views/toolsManage/toolsApprove/components/Details.vue diff --git a/src/api/toolsManage/index.js b/src/api/toolsManage/index.js index f31453dd..b714fe16 100644 --- a/src/api/toolsManage/index.js +++ b/src/api/toolsManage/index.js @@ -89,3 +89,39 @@ export const updateToolApplyApi = (data = {}) => { data: data, }) } + +// 工具录入审核-列表 +export const getListReviewApi = (data = {}) => { + return request({ + url: '/material-mall/toolApply/listReview', + method: 'GET', + params: data, + }) +} + +// 单个审核 +export const updateToolApplyReviewApi = (data = {}) => { + return request({ + url: '/material-mall/toolApply/updateDetail', + method: 'POST', + data: data, + }) +} + +// 全部审核 +export const updateAllDetailApi = (data = {}) => { + return request({ + url: '/material-mall/toolApply/updateAllDetail', + method: 'POST', + data: data, + }) +} + +// 审核-编码详情 +export const getListEncodingApi = (data = {}) => { + return request({ + url: '/material-mall/toolApply/listEncoding', + method: 'get', + params: data, + }) +} diff --git a/src/views/toolsManage/toolsApplication/applicantList.vue b/src/views/toolsManage/toolsApplication/applicantList.vue index a22b7af6..757ba6f8 100644 --- a/src/views/toolsManage/toolsApplication/applicantList.vue +++ b/src/views/toolsManage/toolsApplication/applicantList.vue @@ -82,9 +82,8 @@ @@ -130,9 +129,8 @@ export default { }, statusList: [ { label: '草稿', value: '0' }, - { label: '审核中', value: '1' }, - { label: '通过', value: '2' }, - { label: '驳回', value: '3' }, + { label: '审批中', value: '1' }, + { label: '已审批', value: '2' }, ], total: 0, // 总条数 // 表头 @@ -221,19 +219,6 @@ export default { } }) }, - // 获取弹框列表 - async getDialogList() { - try { - this.isLoading = true - const params = { ...this.dialogForm } - const res = await getInventoryLogDetailsApi(params) - this.dialogList = res.data.rows || [] - this.dlgTotal = res.data.total || 0 - } catch (error) { - } finally { - this.isLoading = false - } - }, }, } diff --git a/src/views/toolsManage/toolsApprove/approveList.vue b/src/views/toolsManage/toolsApprove/approveList.vue new file mode 100644 index 00000000..e319cb19 --- /dev/null +++ b/src/views/toolsManage/toolsApprove/approveList.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/src/views/toolsManage/toolsApprove/approveToolsDetails.vue b/src/views/toolsManage/toolsApprove/approveToolsDetails.vue new file mode 100644 index 00000000..5e4b7a3f --- /dev/null +++ b/src/views/toolsManage/toolsApprove/approveToolsDetails.vue @@ -0,0 +1,269 @@ + + + + + diff --git a/src/views/toolsManage/toolsApprove/components/Details.vue b/src/views/toolsManage/toolsApprove/components/Details.vue new file mode 100644 index 00000000..ccb8063f --- /dev/null +++ b/src/views/toolsManage/toolsApprove/components/Details.vue @@ -0,0 +1,84 @@ + + + + +