From f0ae82ecebbdd8b065d308e6793c8ff15b7e37a5 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: Fri, 31 Dec 2021 14:43:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppWalkask/selectType.vue | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/apps/AppWalkask/selectType.vue b/src/apps/AppWalkask/selectType.vue index 6a011a80..0ee707fc 100644 --- a/src/apps/AppWalkask/selectType.vue +++ b/src/apps/AppWalkask/selectType.vue @@ -104,15 +104,22 @@ export default { }) }, - getUser(data) { - this.applicationId = data.id - this.appId = data.id - this.getUsers() - }, + // getUser(data) { + // this.applicationId = data.id + // this.appId = data.id + // this.getUsers() + // }, getUsers() { + uni.showLoading({ + title: '加载中', + }) this.$http.post(`/app/appapplicationinfo/list?appId=${this.appId}¤t=${this.current}&size=${999}`, { searchParam: this.keyword }).then((res) => { if (res.code == 0) { + uni.showToast({ + title: '加载完毕', + icon: 'none', + }) res.data.records.map((item) => { item.isChecked = false }) @@ -132,8 +139,11 @@ export default { toUserSelect(item) { this.applicationName = item.applicationName + this.applicationId = item.id + this.appId = item.id + this.getUsers() + this.showType = false - this.getUser(item) }, back() { @@ -173,6 +183,7 @@ export default { } .header-middle { + padding-bottom: 140px; .hint { padding: 0 20px 0 32px; height: 112px;