Browse Source

1.加载状态 弹窗

guo 3 years ago
parent
commit
cc7af588f4

+ 6 - 2
pages/changeStore/changeStore.vue

@@ -146,7 +146,9 @@
 
 			},
 			addUrl() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '保存中'
+				})
 
 				this.$http('worldKeepCar/orderChangeShop/applyChangeShop',
 					{
@@ -185,7 +187,9 @@
 				})
 			},
 			editUrl() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '保存中'
+				})
 				this.$http('worldKeepCar/orderChangeShop/editApply',
 					{
 

+ 6 - 2
pages/iPhone/addphone.vue

@@ -79,7 +79,9 @@ export default {
 			    content: '确定要删除联系人吗',
 			    success: function (res) {
 			        if (res.confirm) {
-			          uni.showLoading({ });
+			          uni.showLoading({
+			          	title: '删除中'
+			          })
 			          that.$http('worldKeepCar/keepCarMy/deleteTMemberContact', {
 			            id:that.id
 			           },'POST').then(res => {
@@ -98,7 +100,9 @@ export default {
 			});
 		},
 		submit(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '保存中'
+			})
 			var isDefault=0;
 			if(this.name==''){
 				uni.showToast({

+ 3 - 1
pages/iPhone/phoneList.vue

@@ -51,7 +51,9 @@ export default {
 			}); 
 		},
 		getList(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '加载中'
+			})
 			this.$http('worldKeepCar/keepCarMy/listTMemberContactPage', {
 			  page:this.page,
 			  limit:10,

+ 6 - 2
pages/index/addCar.vue

@@ -113,7 +113,9 @@
 				 this.currentdate = currentdate;
 			},
 			getEditData() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '加载中'
+				})
 				var carModelInfo = {
 					carModelInfo: {
 
@@ -164,7 +166,9 @@
 			},
 
 			saveCar() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '保存中'
+				})
 				if (this.plateNo == '') {
 					uni.showToast({
 						title: '请填写车牌号',

+ 6 - 2
pages/index/cailist.vue

@@ -64,7 +64,9 @@
 		},
 		methods: {
 			getqueryMyBMemberCar() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '加载中'
+				})
 				this.loding = false;
 				this.$http('worldKeepCar/worldHome/queryMyTMemberCar', {
 
@@ -122,7 +124,9 @@
 			},
 			defaultCar(item) {
 				var that = this;
-				uni.showLoading({});
+				uni.showLoading({
+					title: '保存中'
+				})
 				that.$http('worldKeepCar/worldHome/updateTCarIsdefault', {
 					id: item.id
 				}, 'POST').then(res => {

+ 12 - 4
pages/index/carModel.vue

@@ -356,7 +356,9 @@ export default {
 			this.getmodelList();
 		},
 		getmodelList(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '加载中'
+			})
 			this.$http('worldKeepCar/worldHome/queryCarModelGroupPackage', {
 			  brand:this.brand,
 			  manufactor:this.manufactor,
@@ -368,7 +370,9 @@ export default {
 			})
 		},
 		getdisplacementList(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '加载中'
+			})
 			this.$http('worldKeepCar/worldHome/queryCarModelGroupPackage', {
 			  brand:this.brand,
 			  manufactor:this.manufactor,
@@ -379,7 +383,9 @@ export default {
 			})
 		},
 		queryCarModelGroupPackage(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '加载中'
+			})
 			this.$http('worldKeepCar/worldHome/queryCarModelGroupPackage', {
 			  
 			 },'GET').then(res => {
@@ -408,7 +414,9 @@ export default {
 			this.$refs.popup.close()
 		},
 		getbrand(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '加载中'
+			})
 			this.$http('worldKeepCar/worldHome/queryCarModelGroupPackage', {
 			  brand:this.brand
 			 },'GET').then(res => {

+ 3 - 1
pages/me/feedBack.vue

@@ -128,7 +128,9 @@
 				// 	});
 				// 	return ;
 				// }
-				uni.showLoading({});
+				uni.showLoading({
+					title: '保存中'
+				})
 				var exeImg = this.imgArr.join(',')
 				this.$http('worldKeepCar/keepCarMy/addTMemberSuggest', {
 					

+ 3 - 1
pages/me/me.vue

@@ -209,7 +209,9 @@
 				})
 			},
 			queryMyDetail() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '加载中'
+				})
 				this.$http('worldKeepCar/keepCarMy/queryMyDetail', {
 
 				}, 'GET').then(res => {

+ 6 - 2
pages/module/confirmOrder.vue

@@ -334,7 +334,9 @@ export default {
 							 currentMileage:'1111',
 						 } */
 						
-						uni.showLoading({ });
+						uni.showLoading({
+							title: '保存中'
+						})
 						this.$http('worldKeepCar/maintainOrder/submitOrder', {
 						  shopName:this.orderShop.shopName,
 						  contactName:this.iphoneData.name,
@@ -470,7 +472,9 @@ export default {
 		},
 		
        getIphoneData(){
-		   uni.showLoading({ });
+		   uni.showLoading({
+		   	title: '加载中'
+		   })
 		   this.$http('worldKeepCar/keepCarMy/queryTMemberContactIsDefault', {
 		     
 		    },'GET').then(res => {

+ 6 - 2
pages/module/goodsDetail.vue

@@ -207,7 +207,9 @@ export default {
 		},
 	  addGoodsCollection(){
 		if(this.goodsData.isCollection==0){
-				 uni.showLoading({ });
+				uni.showLoading({
+					title: '加载中'
+				})
 				 this.$http('miniAppMyBMemberCar/addGoodsCollection', {
 				   goodsId:this.goodsId,
 				   
@@ -229,7 +231,9 @@ export default {
 					   }
 				 })
 		}else{
-				uni.showLoading({ });
+				uni.showLoading({
+					title: '加载中'
+				})
 				this.$http('miniAppMyBMemberCar/deleteBMemberGoods', {
 				  goodId:this.goodsId,
 				  

+ 3 - 1
pages/module/maintain.vue

@@ -418,7 +418,9 @@ export default {
 			this.calculation()
 		},
 		getData(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '加载中'
+			})
 			var location = uni.getStorageSync("locationCity");
 			this.$http('miniApp/tPackageMiniAppController/queryPackageList', {
 			   mileage:this.maintainCarData.milage,

+ 3 - 1
pages/module/orderShop.vue

@@ -131,7 +131,9 @@
 			},
 
 			getqueryShopList() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '加载中'
+				})
 				var params = {}
 				if (this.location.lat) {
 					params = {

+ 3 - 1
pages/module/replaceGoods.vue

@@ -48,7 +48,9 @@ export default {
 	},
 	methods: {
 		getData(){
-			uni.showLoading({ });
+			uni.showLoading({
+				title: '加载中'
+			})
 			this.$http('miniApp/packageMiniAppController/queryPackageReplaceGoods', {
 			  packageGoodsID:this.packageGoodsID,
 			  shopID:this.shopId

+ 3 - 1
pages/order/evaluate.vue

@@ -262,7 +262,9 @@
 			},
 			submit() {
 				
-				uni.showLoading({});
+				uni.showLoading({
+					title: '保存中'
+				})
 				var exeImg = this.imgArr.join(',')
 				this.$http('worldKeepCar/keepCarMy/addTMEvaluate', {
 					shopID:this.shopID,

+ 3 - 1
pages/order/myorder.vue

@@ -153,7 +153,9 @@
 				})
 			},
 			orderPay(item) {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '支付中'
+				})
 				var that=this;
 				this.$http('worldKeepCar/maintainOrder/orderPay', {
 					sheetID: item.ID

+ 6 - 2
pages/order/orderDetail.vue

@@ -544,7 +544,9 @@
 					content: '确定要取消订单吗',
 					success: function(res) {
 						if (res.confirm) {
-							uni.showLoading({});
+							uni.showLoading({
+								title: '取消中'
+							})
 							that.$http('worldKeepCar/keepCarMy/cancelMiNiTMSheet', {
 								id: that.orderData.ID
 							}, 'POST').then(res => {
@@ -595,7 +597,9 @@
 				})
 			},
 			orderPay() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '支付中'
+				})
 				var that = this;
 				this.$http('worldKeepCar/maintainOrder/orderPay', {
 					sheetID: this.orderData.ID

+ 6 - 2
pages/refundMoney/refundMoney.vue

@@ -114,7 +114,9 @@
 				
 			},
 			addUrl(){
-				uni.showLoading({});
+				uni.showLoading({
+					title: '处理中'
+				})
 				
 				this.$http('worldKeepCar/orderRefund/applyRefund', {
 					sheetId:this.sheetId,
@@ -146,7 +148,9 @@
 				})
 			},
 			editUrl(){
-				uni.showLoading({});
+				uni.showLoading({
+					title: '处理中'
+				})
 				
 				this.$http('worldKeepCar/orderRefund/editApply', {
 					

+ 12 - 4
pages/shop/shopDetail.vue

@@ -326,7 +326,9 @@
 				})
 			},
 			getmainData() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '加载中'
+				})
 				this.$http('miniApp/packageMiniAppController/queryPackageList', {
 					mileage: this.maintainCarData.milage,
 					liyangId: this.maintainCarData.nLevelID,
@@ -376,7 +378,9 @@
 				});
 			},
 			getData() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '加载中'
+				})
 				this.shopImg = [];
 				this.$http('worldKeepCar/worldHome/queryKeepCarShopDetail', {
 					id: this.shopId,
@@ -408,7 +412,9 @@
 				})
 			},
 			Member() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '处理中'
+				})
 				this.$http('miniAppShopInfoController/addBMemberShop', {
 					shopID: this.shopId,
 				}, 'POST').then(res => {
@@ -430,7 +436,9 @@
 				})
 			},
 			deleteMember() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '处理中'
+				})
 				this.$http('miniAppMyBMemberCar/deleteBMemberShop', {
 					shopId: this.shopId,
 				}, 'POST').then(res => {

+ 3 - 1
pages/shop/shopList.vue

@@ -184,7 +184,9 @@
 			},
 			
 			getqueryShopList() {
-				uni.showLoading({});
+				uni.showLoading({
+					title: '加载中'
+				})
 				this.$http('worldKeepCar/worldHome/getWorldShopInfoList', {
 					name: this.shopName,
 					lat: this.location.lat ? this.location.lat : '',