From 13c253f4de635d9ea7ee369b6c74be244bc83a85 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 13 三月 2025 14:31:21 +0800 Subject: [PATCH] 人员组织树查询修改, 成品下单导出修改 --- src/api/business/productOrder.js | 2 +- src/api/cnas/personal/personalList.js | 4 ++-- src/views/business/inspectionReview/index.vue | 1 + src/views/business/productOrder/index.vue | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/business/productOrder.js b/src/api/business/productOrder.js index 1b991ac..8be32b1 100644 --- a/src/api/business/productOrder.js +++ b/src/api/business/productOrder.js @@ -22,7 +22,7 @@ return request({ url: '/insOrder/rawAllInsOrderExport', method: 'get', - data: query, + params: query, responseType: "blob" }) } diff --git a/src/api/cnas/personal/personalList.js b/src/api/cnas/personal/personalList.js index a96377e..d6ce381 100644 --- a/src/api/cnas/personal/personalList.js +++ b/src/api/cnas/personal/personalList.js @@ -45,7 +45,7 @@ // 鍒犻櫎閮ㄩ棬 export function delDepartmentLims(query) { return request({ - url: "/department/delDepartmentLims", + url: "/personBasicInfo/delDepartmentLims", method: "delete", params: query }); @@ -53,7 +53,7 @@ // 娣诲姞閮ㄩ棬 export function addDepartmentLims(query) { return request({ - url: "/department/addDepartmentLims", + url: "/personBasicInfo/addDepartmentLims", method: "post", data: query }); diff --git a/src/views/business/inspectionReview/index.vue b/src/views/business/inspectionReview/index.vue index 66e90e9..a2f5cfb 100644 --- a/src/views/business/inspectionReview/index.vue +++ b/src/views/business/inspectionReview/index.vue @@ -374,6 +374,7 @@ /* if (!row.tempUrlPdf) return this.$message.warning('鏂囦欢鏈笂浼�') this.currentInfo = row this.lookDialogVisible = true*/ + console.log(this.javaApi) this.currentInfo = row; let fileName = row.url let fileType = "docx" diff --git a/src/views/business/productOrder/index.vue b/src/views/business/productOrder/index.vue index 46d1445..7308468 100644 --- a/src/views/business/productOrder/index.vue +++ b/src/views/business/productOrder/index.vue @@ -877,7 +877,8 @@ }, // 瀵煎嚭璁板綍 downLoad() { - rawAllInsOrderExport({ ...this.entity }).then(res => { + const params = { ...this.entity, state: this.tabList[this.tabIndex].value } + rawAllInsOrderExport({ ...params }).then(res => { const blob = new Blob([res], { type: 'application/octet-stream' }); this.$download.saveAs(blob, '濮旀墭妫�娴嬩俊鎭鍑�.xlsx'); }).catch(err => { -- Gitblit v1.9.3