gjy 2 năm trước cách đây
mục cha
commit
3cab1a63e5
2 tập tin đã thay đổi với 8 bổ sung4 xóa
  1. 1 1
      main.js
  2. 7 3
      pages/task/audit/Issueandreceipt_task_approval.vue

+ 1 - 1
main.js

@@ -225,7 +225,7 @@ const doRequest = (method, url, data, header) => {
 			},
 			success: function(result) {
 				// console.log(result,111111111111)
-				uni.hideLoading()
+				// uni.hideLoading()
 					resolve(result)
 				// resolve调用后,即可传递到调用方使用then或者async+await同步方式进行处理逻辑
 				

+ 7 - 3
pages/task/audit/Issueandreceipt_task_approval.vue

@@ -733,7 +733,8 @@
 						success: function(res) {
 							if (res.confirm) {
 								uni.showLoading({
-									title: "审核中"
+									title: "审核中",
+									mask:true
 								})
 								console.log(that.OutList,that.EnterList)
 								that.OutList.inOutFlag = 1
@@ -777,9 +778,9 @@
 						success: function(res) {
 							if (res.confirm) {
 								uni.showLoading({
-									title: "审核中"
+									title: "审核中",
+									mask:true
 								})
-								this.show1=false
 								if (that.OutList.taskTypeKey == 1) {
 									that.requestaudit(that.OutList)
 								} else if (that.OutList.taskTypeKey == 2) {
@@ -849,18 +850,21 @@
 										if (list.taskTypeKey == '3' || list.taskTypeKey == '4') {
 											if (that.count == 2) {
 												setTimeout(function() {
+													console.log(11111)
 													uni.hideLoading()
 													uni.navigateBack()
 												}, 1000);
 											}
 										} else {
 											setTimeout(function() {
+												console.log(2222222)
 												uni.hideLoading()
 												uni.navigateBack()
 											}, 1000);
 										}
 
 									}).catch(res => {
+										console.log(33333)
 										uni.hideLoading()
 										if (res.message) {
 											uni.showToast({