Sfoglia il codice sorgente

app2.0 审核添加loading

新疆影视学院高职^2
ndbs 2 anni fa
parent
commit
7fda409390
1 ha cambiato i file con 9 aggiunte e 2 eliminazioni
  1. +9
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue

+ 9
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue Vedi File

@@ -118,7 +118,12 @@ export default {
this.submitPostData.auditors = JSON.stringify({[this.reviewerListId]:this.reviewer.toString()})
delete this.submitPostData.formreq
// this.submitPostData.auditors[this.reviewerListId] = this.reviewer
console.log(this.submitPostData)
// console.log(this.submitPostData)
uni.showLoading({
title: '提交中...'
});
const success = await this.HTTP_POST(
this.type === 'sign' ? 'learun/adms/newwf/sign' : 'learun/adms/newwf/auditors',
this.submitPostData,
@@ -126,11 +131,13 @@ export default {
)
if (!success) {
return
uni.hideLoading();
return
}
this.EMIT('task-list-change')
this.NAV_BACK(2)
uni.hideLoading();
this.TOAST(`已成功提交${this.typeText}`, 'success')
},


Caricamento…
Annulla
Salva