From ac4ccf3457837b0f49d45403b47ecafb332ed29b Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 14 May 2026 13:19:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=9D=BF=E5=9D=97?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/config.js | 2 +- src/views/digitalScreen/index.vue | 5 +- src/views/digitalScreen/module/advSetting.vue | 3 +- .../digitalScreen/module/areaSetting.vue | 1 + .../digitalScreen/module/previewSetting.vue | 1 + .../digitalScreen/module/wecharQrCode.vue | 14 +- src/views/weChatMiniProgram/baseSetting.vue | 17 +- src/views/weChatMiniProgram/bookrecommend.vue | 196 ++++++++++++++++-- 8 files changed, 207 insertions(+), 32 deletions(-) diff --git a/public/static/config.js b/public/static/config.js index e8fe124..34b1fb0 100644 --- a/public/static/config.js +++ b/public/static/config.js @@ -1,7 +1,7 @@ window.g = { AXIOS_TIMEOUT: 10000, //ApiUrl: 'http://192.168.3.220:12010', // 江夏配置服务器地址, - ApiUrl: 'http://192.168.99.72:14000', // 配置服务器地址, + ApiUrl: 'http://192.168.99.63:14000', // 配置服务器地址, // ParentPage: { // 后续看需求配置 // CrossDomainProxyUrl: '/Home/CrossDomainProxy', // BtnsApi: '/api/services/app/Authorization/GetBtns', diff --git a/src/views/digitalScreen/index.vue b/src/views/digitalScreen/index.vue index a0aedaf..465bcff 100644 --- a/src/views/digitalScreen/index.vue +++ b/src/views/digitalScreen/index.vue @@ -566,7 +566,7 @@ export default { // 处理公众号二维码 if (code === 'wechar_qr_code') { - this.wecharQrCodeUrl = context + this.wecharQrCodeUrl = this.baseApi + '/api/fileRelevant/getImg?imgType=1&imgId=' + context } if (code === 'map_data') { @@ -906,6 +906,7 @@ export default { saveEdit(formName, field) { let code = field let context + const libcode = this.user.fonds.fondsNo let remarks = '' // 处理标题特殊情况 @@ -954,7 +955,7 @@ export default { } // 3. 构建提交参数 - const submitParam = { code, context, remarks } + const submitParam = { code, context, libcode, remarks } // 4. 调用接口保存 FetchEditScreenSetting(submitParam) diff --git a/src/views/digitalScreen/module/advSetting.vue b/src/views/digitalScreen/module/advSetting.vue index 6992054..a6d8026 100644 --- a/src/views/digitalScreen/module/advSetting.vue +++ b/src/views/digitalScreen/module/advSetting.vue @@ -161,7 +161,8 @@ export default { const param = { 'code': field, 'context': value, - 'remarks': null + 'remarks': null, + 'libcode': this.user.fonds.fondsNo } FetchEditScreenSetting(param) .then((res) => { diff --git a/src/views/digitalScreen/module/areaSetting.vue b/src/views/digitalScreen/module/areaSetting.vue index d46c2dc..5c164b5 100644 --- a/src/views/digitalScreen/module/areaSetting.vue +++ b/src/views/digitalScreen/module/areaSetting.vue @@ -361,6 +361,7 @@ export default { const param = { 'code': field, 'context': value, + 'libcode': this.user.fonds.fondsNo, 'remarks': null } FetchEditScreenSetting(param) diff --git a/src/views/digitalScreen/module/previewSetting.vue b/src/views/digitalScreen/module/previewSetting.vue index 017c650..d21a395 100644 --- a/src/views/digitalScreen/module/previewSetting.vue +++ b/src/views/digitalScreen/module/previewSetting.vue @@ -130,6 +130,7 @@ export default { const param = { 'code': 'preview_url', 'context': this.form.preview_url, + 'libcode': this.user.fonds.fondsNo, 'remarks': null } FetchEditScreenSetting(param) diff --git a/src/views/digitalScreen/module/wecharQrCode.vue b/src/views/digitalScreen/module/wecharQrCode.vue index 1d0f035..d8be69b 100644 --- a/src/views/digitalScreen/module/wecharQrCode.vue +++ b/src/views/digitalScreen/module/wecharQrCode.vue @@ -30,7 +30,7 @@ -
二维码用于“总览屏”、“媒体屏”,在任意分屏编辑均可生效!
+
二维码用于“总览屏”、“媒体屏”,在任意分屏编辑均可生效!
@@ -46,6 +46,10 @@ export default { qrCodeUrl: { type: String, default: null + }, + isMiniProgram: { + type: Boolean, + default: false } }, data() { @@ -58,7 +62,7 @@ export default { } }, computed: { - ...mapGetters(['baseApi']), + ...mapGetters(['baseApi', 'user']), currentQrCodeUrl() { if (this.localQrCodeUrl) { return this.localQrCodeUrl @@ -89,7 +93,8 @@ export default { methods: { handleCover(value) { if (value) { - const imgUrl = this.baseApi + '/api/fileRelevant/getImg?imgType=1&imgId=' + value + // const imgUrl = this.baseApi + '/api/fileRelevant/getImg?imgType=1&imgId=' + value + const imgUrl = value this.submitCover(imgUrl) } else { this.localQrCodeUrl = null @@ -102,7 +107,8 @@ export default { const param = { 'code': 'wechar_qr_code', 'context': imgUrl, - 'remarks': null + 'remarks': null, + 'libcode': this.user.fonds.fondsNo } FetchEditScreenSetting(param) .then(() => { diff --git a/src/views/weChatMiniProgram/baseSetting.vue b/src/views/weChatMiniProgram/baseSetting.vue index 1636d8f..f9e1032 100644 --- a/src/views/weChatMiniProgram/baseSetting.vue +++ b/src/views/weChatMiniProgram/baseSetting.vue @@ -212,6 +212,7 @@ + @@ -220,13 +221,16 @@