去掉loadind

This commit is contained in:
shijingjing
2023-03-02 14:52:17 +08:00
parent c424f8256a
commit a97aa64a39
3 changed files with 96 additions and 61 deletions

View File

@@ -10,8 +10,8 @@
<div @click="toSleectScoped">
<span>
<span v-if="type=='ResidentsGroup'">
<span class="color_gray" v-if="!form.wxGroups.length">请选择</span>
<span v-else>预计送达{{ form.wxGroups.length }}个居民群</span>
<span class="color_gray" v-if="sum==0">请选择</span>
<span v-else>预计送达{{ sum }}个居民群</span>
</span>
<span v-if="type!='ResidentsGroup'">
<span class="color_gray" v-if="sum==0">请选择</span>
@@ -529,7 +529,6 @@ export default {
},
getDeptUser() {
uni.showLoading({title: '加载中'})
this.selectEnterpriseContact({
fromDepartmentId: 0,
mode: "multi",
@@ -543,7 +542,6 @@ export default {
examineUserId: e.id
}
})
uni.hideLoading()
}
}).catch((err) => {
this.$u.toast(err)
@@ -585,7 +583,7 @@ export default {
this.forms.executorList = this.form.wxGroups
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.customerCount, 0)
} else if(this.type == 'ResidentsGroup') {
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.groupCount, 0)
}
this.forms.taskTitle = this.form.taskTitle
const girdArr = uni.getStorageSync('girdSelect')