Преглед на файлове

app2.0 审核添加loading

新疆影视学院高职^2
ndbs преди 2 години
родител
ревизия
7fda409390
променени са 1 файла, в които са добавени 9 реда и са изтрити 2 реда
  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 Целия файл

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


Зареждане…
Отказ
Запис