From 4381dd7160ff8ba8dd8b33245476fe67fe3b1ab7 Mon Sep 17 00:00:00 2001 From: Fox-33 <1466778434@qq.com> Date: Mon, 27 Oct 2025 11:13:29 +0800 Subject: [PATCH] feat: export; --- config.js | 12 ++++++------ manifest.json | 12 +++++++++--- pages.json | 2 +- pages_order/report/export.vue | 4 +++- pages_order/report/index.vue | 8 ++++---- pages_order/report/userInfo.vue | 15 ++++++++++++++- 6 files changed, 37 insertions(+), 16 deletions(-) diff --git a/config.js b/config.js index 387ea38..1c1080b 100644 --- a/config.js +++ b/config.js @@ -17,7 +17,7 @@ const config = { baseUrl : 'http://augcl.natapp1.cc/assessment-admin/assessment', }, prod : { - baseUrl : 'https://assessment.augcl.com/assessment-admin/assessment', + baseUrl : 'https://admin.kjetax.com/assessment-admin/assessment', } } @@ -26,17 +26,17 @@ const config = { const defaultConfig = { mapKey : 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU', aliOss: { - url: 'https://image.hhlm1688.com/', + url: 'https://image.kjetax.com/', config: { //桶的地址 region: 'oss-cn-guangzhou', //id - accessKeyId: 'LTAI5tQSs47izVy8DLVdwUU9', + accessKeyId: 'LTAI5tSfSyNKzrvkyCn3Tmon', //密钥 - accessKeySecret: 'qHI7C3PaXYZySr84HTToviC71AYlFq', + accessKeySecret: '5Tax04eUSHBlYiDpCTBR5YsTwtPf2B', //桶的名字 - bucket: 'hanhaiimage', - endpoint: 'oss-cn-shenzhen.aliyuncs.com', + bucket: 'risk-assessment', + endpoint: 'oss-cn-guangzhou.aliyuncs.com', } }, } diff --git a/manifest.json b/manifest.json index 1a95346..18e7815 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "unapp模板", - "appid" : "__UNI__197A38F", + "appid" : "__UNI__40D2531", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", @@ -89,7 +89,7 @@ } }, "devServer" : { - "https" : false, + "https" : true, "proxy" : { "/ws/geocoder/v1/" : { "target" : "https://apis.map.qq.com", @@ -100,6 +100,12 @@ "changeOrigin" : true } } - } + }, + "optimization" : { + "treeShaking" : { + "enable" : true + } + }, + "title" : "报告保存&分享" } } diff --git a/pages.json b/pages.json index 609d713..ac95f9d 100644 --- a/pages.json +++ b/pages.json @@ -63,7 +63,7 @@ "path": "report/export", "style": { "navigationBarTextStyle": "white", - "navigationBarTitleText": "报告下载", + "navigationBarTitleText": "报告保存&分享", "navigationBarBackgroundColor": "#014FA2" } }, diff --git a/pages_order/report/export.vue b/pages_order/report/export.vue index c9eb87e..9c41e4b 100644 --- a/pages_order/report/export.vue +++ b/pages_order/report/export.vue @@ -15,7 +15,9 @@ }, onLoad({ batchNo }) { this.batchNo = batchNo - this.h5Url = `https://assessmenth5.augcl.com/#/?batchNo=${batchNo}&token=${uni.getStorageSync('token')}` + this.h5Url = `https://adminh5.kjetax.com/#/?batchNo=${batchNo}&token=${uni.getStorageSync('token')}` + // this.h5Url = `https://192.168.10.100:8080/#/?batchNo=${batchNo}&token=${uni.getStorageSync('token')}` + console.log('url', this.h5Url) }, } diff --git a/pages_order/report/index.vue b/pages_order/report/index.vue index 6cc84fc..5b43bc6 100644 --- a/pages_order/report/index.vue +++ b/pages_order/report/index.vue @@ -34,21 +34,21 @@ - + 扫下方二维码联系我们给你1V1解决方案 - - - + diff --git a/pages_order/report/userInfo.vue b/pages_order/report/userInfo.vue index d1a2f44..8899e52 100644 --- a/pages_order/report/userInfo.vue +++ b/pages_order/report/userInfo.vue @@ -81,6 +81,8 @@