杜迪迪 před 1 měsícem
rodič
revize
a994938232
1 změnil soubory, kde provedl 19 přidání a 19 odebrání
  1. 19 19
      pages/assay/detailsList.vue

+ 19 - 19
pages/assay/detailsList.vue

@@ -50,7 +50,7 @@
 			</view>
 		</view>
 		<view style="display: flex;" class="submitBtn">
-			<u-button @click="downLoadPDF" type="primary" style="margin: 0 auto; width:47%">备案申请单PDF下载</u-button>
+			<!-- <u-button @click="downLoadPDF" type="primary" style="margin: 0 auto; width:47%">备案申请单PDF下载</u-button> -->
 			<u-button v-if="showChehui" @click="chehui" type="error" style="margin: 0rpx auto; width: 47%">撤回</u-button>
 		</view>
 		<u-modal :show="show" :showCancelButton='true' @cancel="show=false" @confirm="handleGD" title="提示"
@@ -165,24 +165,24 @@
 					// })
 				})
 			},
-			downLoadPDF() {
-				downLoad(path) {
-					console.log('’', path)
-					uni.downloadFile({
-						url: path,
-						success: (res) => {
-							var filePath = res.tempFilePath;
-							uni.openDocument({
-								filePath: filePath,
-								showMenu: true,
-								success: function(res) {
-									console.log('打开文档成功');
-								}
-							});
-						}
-					})
-				},
-			},
+			// downLoadPDF() {
+			// 	downLoad(path) {
+			// 		console.log('’', path)
+			// 		uni.downloadFile({
+			// 			url: path,
+			// 			success: (res) => {
+			// 				var filePath = res.tempFilePath;
+			// 				uni.openDocument({
+			// 					filePath: filePath,
+			// 					showMenu: true,
+			// 					success: function(res) {
+			// 						console.log('打开文档成功');
+			// 					}
+			// 				});
+			// 			}
+			// 		})
+			// 	},
+			// },
 			onReachBottom() {
 				//触底事件
 				if (this.queryParams.pageNum * this.queryParams.pageSize >= this.total) {