Jelajahi Sumber

体质诊断检测表 导出功能

hanchong 1 tahun lalu
induk
melakukan
835f92b072
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      subpages/constitutionDiagnosis/constitutionDiagnosis.js

+ 4 - 4
subpages/constitutionDiagnosis/constitutionDiagnosis.js

@@ -562,10 +562,10 @@ Page({
 		const { nickName } = wx.getStorageSync('userInfo');
 		const unionid = wx.getStorageSync('unionid');
 		let exportData = {
-			hotel: this.data.hotel?this.data.hotel:'0',
-			room: this.data.room?this.data.room:'0',
-			userId: nickName?nickName:'0',
-			id2: unionid?unionid:'0',
+			hotel: this.data.hotel,
+			room: this.data.room,
+			userId: nickName,
+			id2: unionid,
 			}
 		if (!that.data.intervalId1) {
 			that.data.intervalId1 = setInterval(() => {