diff --git a/src/main.js b/src/main.js index 13c6cf2..248a305 100644 --- a/src/main.js +++ b/src/main.js @@ -48,7 +48,13 @@ Vue.prototype.selectDictLabel = selectDictLabel Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.download = download Vue.prototype.handleTree = handleTree - +Vue.prototype.msgSuccess = function (msg) { + this.$message({ + showClose: true, + message: msg, + type: "success" + }); +} // 全局组件挂载 Vue.component('DictTag', DictTag) Vue.component('Pagination', Pagination) diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue index 37c8fc1..685fd43 100644 --- a/src/views/monitor/job/index.vue +++ b/src/views/monitor/job/index.vue @@ -357,7 +357,7 @@ export default { this.loading = true; listJob(this.queryParams).then(response => { this.jobList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue index 60bee1d..15604b2 100644 --- a/src/views/monitor/job/log.vue +++ b/src/views/monitor/job/log.vue @@ -234,7 +234,7 @@ export default { this.loading = true; listJobLog(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.jobLogList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue index d6af834..0252db4 100644 --- a/src/views/monitor/logininfor/index.vue +++ b/src/views/monitor/logininfor/index.vue @@ -176,7 +176,7 @@ export default { this.loading = true; list(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.list = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue index ad613c9..2c8b724 100644 --- a/src/views/monitor/online/index.vue +++ b/src/views/monitor/online/index.vue @@ -93,7 +93,7 @@ export default { this.loading = true; list(this.queryParams).then(response => { this.list = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index 34a3ce3..d8f4620 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -245,7 +245,7 @@ export default { this.loading = true; list(this.addDateRange(this.queryParams, this.dateRange)).then( response => { this.list = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/otc/otcAppealConfig/index.vue b/src/views/otc/otcAppealConfig/index.vue index f368141..0512da2 100644 --- a/src/views/otc/otcAppealConfig/index.vue +++ b/src/views/otc/otcAppealConfig/index.vue @@ -183,7 +183,7 @@ export default { this.loading = true; listOtcAppealConfig(this.queryParams).then(response => { this.otcAppealConfigList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcAppealOrder/index.vue b/src/views/otc/otcAppealOrder/index.vue index 8318a07..d5b5c5e 100644 --- a/src/views/otc/otcAppealOrder/index.vue +++ b/src/views/otc/otcAppealOrder/index.vue @@ -241,7 +241,7 @@ export default { this.loading = true; listOtcAppealOrder(this.queryParams).then(response => { this.otcAppealOrderList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcCoin/index.vue b/src/views/otc/otcCoin/index.vue index 3bb358a..8117fc9 100644 --- a/src/views/otc/otcCoin/index.vue +++ b/src/views/otc/otcCoin/index.vue @@ -246,7 +246,7 @@ export default { this.loading = true; listOtcCoin(this.queryParams).then(response => { this.otcCoinList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcOrder/index.vue b/src/views/otc/otcOrder/index.vue index 23b5d35..f89cddf 100644 --- a/src/views/otc/otcOrder/index.vue +++ b/src/views/otc/otcOrder/index.vue @@ -397,7 +397,7 @@ export default { this.loading = true; listOtcOrder(this.queryParams).then(response => { this.otcOrderList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcPaymentLegalCurrency/index.vue b/src/views/otc/otcPaymentLegalCurrency/index.vue index c25011b..6dcc121 100644 --- a/src/views/otc/otcPaymentLegalCurrency/index.vue +++ b/src/views/otc/otcPaymentLegalCurrency/index.vue @@ -180,7 +180,7 @@ export default { this.loading = true; listOtcPaymentLegalCurrency(this.queryParams).then(response => { this.otcPaymentLegalCurrencyList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcPaymentTemplate/index.vue b/src/views/otc/otcPaymentTemplate/index.vue index 02881a7..93377af 100644 --- a/src/views/otc/otcPaymentTemplate/index.vue +++ b/src/views/otc/otcPaymentTemplate/index.vue @@ -253,7 +253,7 @@ export default { this.loading = true; listOtcPaymentTemplate(this.queryParams).then(response => { this.otcPaymentTemplateList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcPaymentType/index.vue b/src/views/otc/otcPaymentType/index.vue index e0f1f29..7573a18 100644 --- a/src/views/otc/otcPaymentType/index.vue +++ b/src/views/otc/otcPaymentType/index.vue @@ -181,7 +181,7 @@ export default { this.loading = true; listOtcPaymentType(this.queryParams).then(response => { this.otcPaymentTypeList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcStoreOrder/index.vue b/src/views/otc/otcStoreOrder/index.vue index 036fdc4..05f9d3b 100644 --- a/src/views/otc/otcStoreOrder/index.vue +++ b/src/views/otc/otcStoreOrder/index.vue @@ -349,7 +349,7 @@ export default { this.loading = true; listOtcStoreOrder(this.queryParams).then(response => { this.otcStoreOrderList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcStorePledge/index.vue b/src/views/otc/otcStorePledge/index.vue index 786b9ff..2939b0d 100644 --- a/src/views/otc/otcStorePledge/index.vue +++ b/src/views/otc/otcStorePledge/index.vue @@ -223,7 +223,7 @@ export default { this.loading = true; listOtcStorePledge(this.queryParams).then(response => { this.otcStorePledgeList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/otc/otcSysDict/index.vue b/src/views/otc/otcSysDict/index.vue index 503e6da..ecc51b2 100644 --- a/src/views/otc/otcSysDict/index.vue +++ b/src/views/otc/otcSysDict/index.vue @@ -214,7 +214,7 @@ export default { this.loading = true; listOtcSysDict(this.queryParams).then(response => { this.otcSysDictList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 3ab81fc..455d740 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -241,7 +241,7 @@ export default { this.loading = true; listConfig(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.configList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue index 324bb64..ccf98bd 100644 --- a/src/views/system/dict/data.vue +++ b/src/views/system/dict/data.vue @@ -296,7 +296,7 @@ export default { this.loading = true; listData(this.queryParams).then(response => { this.dataList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 6ca5457..e37be9b 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -245,7 +245,7 @@ export default { this.loading = true; listType(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.typeList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 7982b54..066caa5 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -225,7 +225,7 @@ export default { this.loading = true; listNotice(this.queryParams).then(response => { this.noticeList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue index 444bf63..db95543 100644 --- a/src/views/system/post/index.vue +++ b/src/views/system/post/index.vue @@ -215,7 +215,7 @@ export default { this.loading = true; listPost(this.queryParams).then(response => { this.postList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/system/role/authUser.vue b/src/views/system/role/authUser.vue index 147aa33..8336a51 100644 --- a/src/views/system/role/authUser.vue +++ b/src/views/system/role/authUser.vue @@ -144,7 +144,7 @@ export default { this.loading = true; allocatedUserList(this.queryParams).then(response => { this.userList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index fb3b5ef..dc7efc4 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -350,7 +350,7 @@ export default { this.loading = true; listRole(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.roleList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index ae87fe4..c6e6916 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -471,7 +471,7 @@ export default { this.loading = true; listUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.userList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue index 3f1f930..dd024cb 100644 --- a/src/views/tool/gen/index.vue +++ b/src/views/tool/gen/index.vue @@ -245,7 +245,7 @@ export default { this.loading = true; listTable(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.tableList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; } ); diff --git a/src/views/user/UserCertification/index.vue b/src/views/user/UserCertification/index.vue index 01773ea..ee23651 100644 --- a/src/views/user/UserCertification/index.vue +++ b/src/views/user/UserCertification/index.vue @@ -217,7 +217,7 @@ - 审核通过 + 审核通过 驳回 @@ -311,7 +311,7 @@ export default { this.loading = true; listUserCertification(this.queryParams).then(response => { this.UserCertificationList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/user/record/index.vue b/src/views/user/record/index.vue index bbce8b6..cf8581e 100644 --- a/src/views/user/record/index.vue +++ b/src/views/user/record/index.vue @@ -263,7 +263,7 @@ export default { this.loading = true; listRecord(this.queryParams).then(response => { this.recordList = response.rows; - this.total = response.total; + this.total = Number(response.total); this.loading = false; }); }, diff --git a/src/views/user/userCustomer/index.vue b/src/views/user/userCustomer/index.vue index 5b5ff38..8888661 100644 --- a/src/views/user/userCustomer/index.vue +++ b/src/views/user/userCustomer/index.vue @@ -2,43 +2,29 @@
- + - + - - - - - + + + + + - - - - - - + + + + + - - - - + + + + 搜索 重置 @@ -75,7 +53,7 @@ - - 导出 + 导出 @@ -124,73 +96,55 @@ - - - - - - - - - - - - - - - - - -