From 79d1f8ab35ff13161983ab3f1845a9ce8fb56bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=80=E5=9D=97=E5=85=AB?= <2523890936@qq.com> Date: Tue, 19 Aug 2025 14:45:32 +0800 Subject: [PATCH] bugfix --- f/web-kboss/src/api/ncmatch/index.js | 39 + f/web-kboss/src/router/index.js | 39 +- .../src/views/customer/ncApprove/img/app.png | Bin 0 -> 4034 bytes .../src/views/customer/ncApprove/img/app.svg | 1 + .../views/customer/ncApprove/img/apped.svg | 1 + .../views/customer/ncApprove/img/apping.svg | 1 + .../views/customer/ncApprove/img/noapp.svg | 1 + .../src/views/customer/ncApprove/index.vue | 757 ++++++++++-------- .../productMangement/commonBox/index.vue | 33 +- .../qualificationReview/apprvedInfo/index.vue | 28 + .../customer/qualificationReview/index.vue | 13 + .../noApproveInfo/index.vue | 28 + .../qualificationBox/index.vue | 379 +++++++++ .../homePage/components/topBox/index.vue | 124 ++- .../views/homePage/ncmatch/mainPage/index.vue | 66 +- .../homePage/ncmatch/proDetail/index.vue | 2 +- .../operation/consultingMangement/index.vue | 60 ++ 17 files changed, 1218 insertions(+), 354 deletions(-) create mode 100644 f/web-kboss/src/views/customer/ncApprove/img/app.png create mode 100644 f/web-kboss/src/views/customer/ncApprove/img/app.svg create mode 100644 f/web-kboss/src/views/customer/ncApprove/img/apped.svg create mode 100644 f/web-kboss/src/views/customer/ncApprove/img/apping.svg create mode 100644 f/web-kboss/src/views/customer/ncApprove/img/noapp.svg create mode 100644 f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue create mode 100644 f/web-kboss/src/views/customer/qualificationReview/index.vue create mode 100644 f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue create mode 100644 f/web-kboss/src/views/customer/qualificationReview/qualificationBox/index.vue create mode 100644 f/web-kboss/src/views/operation/consultingMangement/index.vue diff --git a/f/web-kboss/src/api/ncmatch/index.js b/f/web-kboss/src/api/ncmatch/index.js index ce5a7ca..0143f65 100644 --- a/f/web-kboss/src/api/ncmatch/index.js +++ b/f/web-kboss/src/api/ncmatch/index.js @@ -144,3 +144,42 @@ export function reqEnterpriseAuditInfoSearch(data){ }) } +//咨询表单 /product/search_user_inquiry.dspy +export function reqSearchUserInquiry(data){ + return request({ + url: '/product/search_user_inquiry.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} +//审核状态查询 /user/enterprise_audit_info_search.dspy +export function reqApproveUserSearch(data){ + return request({ + url: '/user/enterprise_audit_info_search.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +//政企审核 更新 /user/enterprise_audit_info_update.dspy + +export function reqEnterpriseUpdate(data){ + return request({ + url: '/user/enterprise_audit_info_update.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +//首页类别查询 /product/homepage_product_category.dspy +export function reqHomepageProductCategory(data){ + return request({ + url: '/product/homepage_product_category.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index 24bc6f9..a470274 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -345,6 +345,20 @@ export const asyncRoutes = [ }] }, + { + path: "/consultingMangement", + name: 'ConsultingMangement', + component: Layout, + meta: { title: "咨询表单", fullPath: "/consultingMangement", noCache: true,icon: "el-icon-s-platform" }, + children: [ + { + path: "index", + component: () => import('@/views/operation/consultingMangement/index.vue'), + name: 'ConsultingMangement', + meta: { title: "咨询表单", fullPath: "/consultingMangement/index", noCache: true,icon: "el-icon-s-platform" }, + } + ] + }, { path: "/product", name: 'product', @@ -855,13 +869,34 @@ export const asyncRoutes = [ meta: { title: "产品最新页", fullPath: "/product/productHome/productIndex", noCache: true }, },], }, - + { + path: "/qualificationReview", + component:Layout, + name: "qualificationReview", + redirect: "/qualificationReview/index", + meta: { fullPath: "/qualificationReview", title: "资质审核", noCache: true, icon: 'el-icon-s-home' }, + children: [ + { + path: "noApproveInfo", + component: () => import("@/views/customer/qualificationReview/noApproveInfo/index.vue"), + name: "noApproveInfo", + meta: { title: "待审清单", fullPath: "/qualificationReview/index" }, + }, + { + path: "rejectInfo", + component: () => import("@/views/customer/qualificationReview/apprvedInfo/index.vue"), + name: "rejectInfo", + meta: { title: "已审清单", fullPath: "/qualificationReview/approvedInfo" }, + }, + + ] + }, { path: "/approveMangement", component:Layout, name: "approveMangement", redirect: "/approveMangement/index", - meta: { fullPath: "/approveMangement", title: "审核管理", noCache: true, icon: 'el-icon-s-home' }, + meta: { fullPath: "/approveMangement", title: "供需审核", noCache: true, icon: 'el-icon-s-home' }, children: [ { path: "pendingPro", diff --git a/f/web-kboss/src/views/customer/ncApprove/img/app.png b/f/web-kboss/src/views/customer/ncApprove/img/app.png new file mode 100644 index 0000000000000000000000000000000000000000..b8c656e0a77d0425c0263b58250395520f890d4a GIT binary patch literal 4034 zcmV;z4?XaSP)Px^d`Uz>RCodHU3+j<#U0)~_mNn6DNZy2tdt2Cfl#%UGtF$y9k2qaD;K4p@pWf@M&G!9sHHIot1d?){zI zTyBzkPj1f5V-FK{&z`&c`}W)K?(6REkpkED?H^1&Ce&}F5SJ(=aw$w-BZ~nk#eOBk zwrnA9FDS_WG+nuqB%V&C-a+Cgrz=sN&d_B5mBbfWQl6bI5gAnTXz>i)0#7$GDr+k9 zbfs%hvz4yIbUMR>fpnI+Kfcd%$%WIAzP?5p1Ka+-83&<61IubLW1;k8f*A)X=K(1)hk(dE3AZ9|lt{Bh)az&et z#0+QwF%#N##ef!&E827bq~ z9ESldAcqR=al^orztDuWoYR*() z>k_HtS!kMOC?U^~LX8tbj*Y}q9SHjpVILxFmy+sT={L5uF0OdLuXIy+HfjZw3Q0rh zv&BtS7pSnj0b(doUDj!YP2peUVjtg&iFi5@cT?fcqmLnuD5|ge45Dk2e)V*7$%;3k zkzF}jK(1)>K2lLb&80%AUz=fdK1s&Wj0-3@C;BuyY%Q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pMHe`a&WXmzZYBobSL3r|Fq81SVTdLr;?9X?4zLG4AdRHXiPi#Q(uSDpoK!Ex z4X7!4mQyb$)uRiZ2hruCXPawh2d_PVA7aA(Gy9}^;9(kz>uL(nR9%mub_qJ#_WQz8HIG`$eqR{s zoo8B>RBTT*e(dM9fMVGgX8zKKH8VpZG#B$lXF*iaHx`QV$i|pxR*qnX`!IeM`4D2U o-&hzBftMT0mO1OP2b$&o13zPMflIRGnE(I)07*qoM6N<$f}lT$4FCWD literal 0 HcmV?d00001 diff --git a/f/web-kboss/src/views/customer/ncApprove/img/app.svg b/f/web-kboss/src/views/customer/ncApprove/img/app.svg new file mode 100644 index 0000000..3caedb4 --- /dev/null +++ b/f/web-kboss/src/views/customer/ncApprove/img/app.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/f/web-kboss/src/views/customer/ncApprove/img/apped.svg b/f/web-kboss/src/views/customer/ncApprove/img/apped.svg new file mode 100644 index 0000000..3fa6a6e --- /dev/null +++ b/f/web-kboss/src/views/customer/ncApprove/img/apped.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/f/web-kboss/src/views/customer/ncApprove/img/apping.svg b/f/web-kboss/src/views/customer/ncApprove/img/apping.svg new file mode 100644 index 0000000..e19f974 --- /dev/null +++ b/f/web-kboss/src/views/customer/ncApprove/img/apping.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/f/web-kboss/src/views/customer/ncApprove/img/noapp.svg b/f/web-kboss/src/views/customer/ncApprove/img/noapp.svg new file mode 100644 index 0000000..8b90bc4 --- /dev/null +++ b/f/web-kboss/src/views/customer/ncApprove/img/noapp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/f/web-kboss/src/views/customer/ncApprove/index.vue b/f/web-kboss/src/views/customer/ncApprove/index.vue index 8d1b34f..7cdcb29 100644 --- a/f/web-kboss/src/views/customer/ncApprove/index.vue +++ b/f/web-kboss/src/views/customer/ncApprove/index.vue @@ -1,6 +1,6 @@ diff --git a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue index 179751b..97eef49 100644 --- a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue +++ b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue @@ -32,9 +32,9 @@ 添加{{ searchData.radioType === '1' || searchData.radioType === '3' ? '需求' : '商品' }} --> - + { console.log(res); @@ -388,7 +388,7 @@ export default { this.closeEditDialog(); this.getTableData(); // 刷新列表 }, - getTableData() { + getTableData(to_excel) { // 处理日期范围 if (this.searchDate && this.searchDate.length === 2) { this.searchData.start_date = this.searchDate[0]; @@ -401,7 +401,26 @@ export default { console.log("searchData", this.searchData); this.loading = true; - reqSearchByMangement(this.searchData).then(res => { + if(to_excel==='1'){ + this.searchData.to_excel=to_excel + reqSearchByMangement({url_link:window.location.href,to_excel:to_excel,publish_type:this.searchData.publish_type}).then(res => { + console.log(res); + if (res.status) { + // 创建一个Workbook对象 + const wb = XLSX.utils.book_new(); + // 创建第一个sheet + const ws1 = XLSX.utils.json_to_sheet(res.data); + XLSX.utils.book_append_sheet(wb, ws1, 'sheet1'); + // 导出Excel文件 + XLSX.writeFile(wb, '产品列表.xlsx'); + } + }).catch(error => { + console.error('获取数据失败:', error); + }).finally(() => { + this.loading = false; + }) + }else{ + reqSearchByMangement(this.searchData).then(res => { console.log(res); if (res.status) { this.tableData = res.data.product_list; @@ -412,6 +431,8 @@ export default { }).finally(() => { this.loading = false; }) + } + }, //分页器 handleSizeChange(val) { diff --git a/f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue b/f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue new file mode 100644 index 0000000..d249022 --- /dev/null +++ b/f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/f/web-kboss/src/views/customer/qualificationReview/index.vue b/f/web-kboss/src/views/customer/qualificationReview/index.vue new file mode 100644 index 0000000..42732ff --- /dev/null +++ b/f/web-kboss/src/views/customer/qualificationReview/index.vue @@ -0,0 +1,13 @@ + + + diff --git a/f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue b/f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue new file mode 100644 index 0000000..b39a177 --- /dev/null +++ b/f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue @@ -0,0 +1,28 @@ + + diff --git a/f/web-kboss/src/views/customer/qualificationReview/qualificationBox/index.vue b/f/web-kboss/src/views/customer/qualificationReview/qualificationBox/index.vue new file mode 100644 index 0000000..c2271d6 --- /dev/null +++ b/f/web-kboss/src/views/customer/qualificationReview/qualificationBox/index.vue @@ -0,0 +1,379 @@ + + + \ No newline at end of file diff --git a/f/web-kboss/src/views/homePage/components/topBox/index.vue b/f/web-kboss/src/views/homePage/components/topBox/index.vue index 8219f95..1ec2d85 100644 --- a/f/web-kboss/src/views/homePage/components/topBox/index.vue +++ b/f/web-kboss/src/views/homePage/components/topBox/index.vue @@ -1,7 +1,8 @@