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'] = './'; // 域名