zxz 2 năm trước cách đây
mục cha
commit
06fe38f423

+ 0 - 1
pages/index/index.vue

@@ -433,7 +433,6 @@
 				this.loadQrCode();
 			},
 			toDetail(id, type) {
-				debugger
 				let _src = ''
 				if (type == 'zx') {
 					_src = "/pages/index/zxDetail?id=" + id

+ 0 - 3
pages/index/info.vue

@@ -79,7 +79,6 @@
 				});
 			},
 			getPlainText(richCont) {
-				debugger
 				const str = richCont;
 				let value = richCont;
 				if (richCont) {
@@ -104,7 +103,6 @@
 					}).then(res => {
 						console.log("res", res)
 						if (res.code == 200) {
-							debugger
 							this.tableData = res.data.records
 							this.total = res.data.total
 							for (let i = 0; i < this.tableData.length; i++) {
@@ -130,7 +128,6 @@
 					});
 			},
 			toDetail(id, type) {
-				debugger
 				let _src = ''
 				if (type == 'zx') {
 					_src = "/pages/index/zxDetail?id=" + id

+ 12 - 6
pages/index/infoDetail.vue

@@ -36,7 +36,7 @@
 					</view>
 				</view>
 				<view class="list">
-					<view class="item" v-for="item in tableData">
+					<view class="item" v-for="item in tableData" @click="listclick(item)">
 						<view class="point">
 
 						</view>
@@ -88,11 +88,10 @@
 					}).then(res => {
 						console.log("res", res)
 						if (res.code == 200) {
-							debugger
-							this.dataObj = res.data
-
-							uni.hideLoading()
-
+							if (res.data) {
+								this.dataObj = res.data
+								uni.hideLoading()
+							}
 						} else {
 							uni.hideLoading()
 							uni.showToast({
@@ -143,6 +142,13 @@
 					url: "/pages/index/info?type=" + this.type
 				})
 			},
+			listclick(row) {
+				this.$request.baseRequest('get', '/hyPublicConsultation/getHyPublicConsultation', {
+					id: row.id,
+				}).then(res => {
+					this.dataObj = res.data
+				})
+			},
 		}
 	}
 </script>

+ 0 - 1
pages/index/user.vue

@@ -483,7 +483,6 @@
 				}
 			},
 			change(val) {
-				debugger
 				his.currentPage = val.current
 				this.getOrder()
 			},

+ 0 - 2
pages/index/zx.vue

@@ -84,7 +84,6 @@
 				});
 			},
 			getPlainText(richCont) {
-				debugger
 				const str = richCont;
 				let value = richCont;
 				if (richCont) {
@@ -109,7 +108,6 @@
 					}).then(res => {
 						console.log("res", res)
 						if (res.code == 200) {
-							debugger
 							this.tableData = res.data.records
 							this.total = res.data.total
 							for (let i = 0; i < this.tableData.length; i++) {

+ 0 - 1
pages/index/zxDetail.vue

@@ -92,7 +92,6 @@
 					}).then(res => {
 						console.log("res", res)
 						if (res.code == 200) {
-							debugger
 							this.dataObj = res.data
 
 							uni.hideLoading()