From fd5655824de2a58ceb1a1a6b85ac941570eec9c3 Mon Sep 17 00:00:00 2001 From: chenghuan Date: Sat, 9 May 2026 14:48:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E6=9C=8D=E5=8A=A1=E5=99=A8=E7=9A=84=E4=B8=BB?= =?UTF-8?q?=E6=9C=BA=E5=9C=B0=E5=9D=80=EF=BC=8C=E4=BC=98=E5=8C=96=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=A8=A1=E5=9D=97=E7=9A=84=E8=A1=A8=E6=A0=BC=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=8E=92=E5=BA=8F=E5=92=8C?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD=EF=BC=8C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=9D=99=E6=80=81=E9=85=8D=E7=BD=AE=E7=9A=84API=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/views/modules/user/user.vue | 55 +++++++++++++++++++++++++++++---- static/config/index.js | 6 ++-- 3 files changed, 53 insertions(+), 10 deletions(-) diff --git a/config/index.js b/config/index.js index 846bc3f..1d30269 100644 --- a/config/index.js +++ b/config/index.js @@ -23,7 +23,7 @@ module.exports = { }, // Various Dev Server settings - host: '192.168.110.161', // can be overwritten by process.env.HOST + host: '192.168.110.160', // can be overwritten by process.env.HOST port: 8002, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/views/modules/user/user.vue b/src/views/modules/user/user.vue index 9a4e44c..ecfb93e 100644 --- a/src/views/modules/user/user.vue +++ b/src/views/modules/user/user.vue @@ -33,10 +33,7 @@ 查询 @@ -138,6 +137,18 @@ + + + + + + { + this.$refs.dataTable.clearSort() + }) + this.getDataList(); + }, //批量开通课程 addOpenCourse() { this.$router.push("/user-add-course"); @@ -793,7 +834,9 @@ export default { page: this.pageIndex, limit: this.pageSize, key: this.dataForm.key, - vipType: this.dataForm.vipType + vipType: this.dataForm.vipType, + sortKey: this.dataForm.sortKey, + sortValue: this.dataForm.sortValue }) // params: this.$http.adornParams({ // 'page': 1, diff --git a/static/config/index.js b/static/config/index.js index afa4f8c..a9c6ff3 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -6,9 +6,9 @@ // api接口请求地址 // window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境11 - // window.SITE_CONFIG['baseUrl'] = 'https://global.nuttyreading.com'; //线上 - // window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; //线上正式环境 - window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9300/pb'; //zcc + // window.SITE_CONFIG['baseUrl'] = 'https://global.nuttyreading.com'; // 线上 + // window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境 + window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.131:9300/pb'; // zcc // cdn地址 = 域名 + 版本号 window.SITE_CONFIG['domain'] = './'; // 域名