From 4734c76dff3fcb750b89a775989d32b75c57c55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Mon, 28 Feb 2022 09:11:04 +0800 Subject: [PATCH] 27592 --- src/mods/AppProgressNew/AppProgressNew.vue | 22 +++++++++---------- src/mods/AppServiceOnlineNew/serviceForm.vue | 16 +++++++------- src/mods/AppServiceOnlineNew/serviceList.vue | 22 +++++++++---------- .../AppServiceOnlineNew/serviceNotice.vue | 2 +- 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/mods/AppProgressNew/AppProgressNew.vue b/src/mods/AppProgressNew/AppProgressNew.vue index 648d7a1..b89a007 100644 --- a/src/mods/AppProgressNew/AppProgressNew.vue +++ b/src/mods/AppProgressNew/AppProgressNew.vue @@ -9,7 +9,7 @@ - + @@ -24,7 +24,7 @@ export default { subTitle: '', current: 0, list: [], - loadingStatus: 'loadmore', + // loadingStatus: 'loadmore', } }, @@ -38,7 +38,7 @@ export default { methods: { getList() { - this.loadingStatus = 'loading' + // this.loadingStatus = 'loading' this.$instance .post(`/app/approval-process-def/list-xcx?processType=2`, null, { params: { @@ -48,10 +48,10 @@ export default { }) .then((res) => { if (res.code === 0) { - if (!res.data.records.length) { - this.loadingStatus = 'nomore' - return false - } + // if (!res.data.records.length) { + // this.loadingStatus = 'nomore' + // return false + // } const data = res.data.records.map((item) => { return item @@ -60,11 +60,11 @@ export default { this.list.push(...data) this.current = this.current + 1 - this.loadingStatus = 'loadmore' + // this.loadingStatus = 'loadmore' - if (this.list.length < 10) { - this.loadingStatus = 'nomore' - } + // if (this.list.length < 10) { + // this.loadingStatus = 'nomore' + // } } }) }, diff --git a/src/mods/AppServiceOnlineNew/serviceForm.vue b/src/mods/AppServiceOnlineNew/serviceForm.vue index 9023601..cc15d91 100644 --- a/src/mods/AppServiceOnlineNew/serviceForm.vue +++ b/src/mods/AppServiceOnlineNew/serviceForm.vue @@ -214,7 +214,7 @@ export default { filePath: res, encoding: 'base64', success: (res) => { - this.$loading() + // this.$loading() this.$instance .post(`/app/syssignaccount/xcx-draw-sign?openId=${this.user.openId}`, res.data, { headers: { @@ -268,10 +268,10 @@ export default { }, getInfo(id) { - this.$loading() + // this.$loading() this.$instance.post(`/app/approval-process-def/info-id?id=${id}`).then((res) => { if (res.code === 0) { - this.$hideLoading() + // this.$hideLoading() this.info = res.data uni.setNavigationBarTitle({ title: res.data.processName, @@ -380,7 +380,7 @@ export default { sourceType: ['album', 'camera'], success: (res) => { const path = res.tempFilePaths[0] - this.$loading() + // this.$loading() uni.uploadFile({ url: this.$instance.baseURL + '/admin/file/add', filePath: path, @@ -400,7 +400,7 @@ export default { } }, complete: () => { - this.$hideLoading() + // this.$hideLoading() }, }) }, @@ -486,7 +486,7 @@ export default { let tableInfo = this.info.tableInfo tableInfo.tableFieldInfos = list - this.$loading() + // this.$loading() this.$instance .post(`/app/approv-alapply-info/add`, { processNodeList, @@ -503,11 +503,11 @@ export default { url: `./serviceResult?title=${this.info.processName}`, }) } else { - this.$hideLoading() + // this.$hideLoading() } }) .catch(() => { - this.$hideLoading() + // this.$hideLoading() }) }, }, diff --git a/src/mods/AppServiceOnlineNew/serviceList.vue b/src/mods/AppServiceOnlineNew/serviceList.vue index 6e5e5b0..c02100c 100644 --- a/src/mods/AppServiceOnlineNew/serviceList.vue +++ b/src/mods/AppServiceOnlineNew/serviceList.vue @@ -9,7 +9,7 @@ - + @@ -23,7 +23,7 @@ export default { subTitle: '', current: 0, list: [], - loadingStatus: 'loadmore', + // loadingStatus: 'loadmore', } }, @@ -37,7 +37,7 @@ export default { methods: { getList() { - this.loadingStatus = 'loading' + // this.loadingStatus = 'loading' this.$instance .post(`/app/approval-process-def/list-xcx?processType=0`, null, { params: { @@ -48,10 +48,10 @@ export default { }) .then((res) => { if (res.code === 0) { - if (!res.data.records.length) { - this.loadingStatus = 'nomore' - return false - } + // if (!res.data.records.length) { + // this.loadingStatus = 'nomore' + // return false + // } const data = res.data.records.map((item) => { return item @@ -60,11 +60,11 @@ export default { this.list.push(...data) this.current = this.current + 1 - this.loadingStatus = 'loadmore' + // this.loadingStatus = 'loadmore' - if (this.list.length < 10) { - this.loadingStatus = 'nomore' - } + // if (this.list.length < 10) { + // this.loadingStatus = 'nomore' + // } } }) }, diff --git a/src/mods/AppServiceOnlineNew/serviceNotice.vue b/src/mods/AppServiceOnlineNew/serviceNotice.vue index 9c657d6..205b0df 100644 --- a/src/mods/AppServiceOnlineNew/serviceNotice.vue +++ b/src/mods/AppServiceOnlineNew/serviceNotice.vue @@ -7,7 +7,7 @@
我已阅读并同意
- +