guoyujia 4 months ago
parent
commit
1502d23967
3 changed files with 8 additions and 0 deletions
  1. 2 0
      pages/auxiliaryDaywork/index.vue
  2. 1 0
      pages/dashboard/index.vue
  3. 5 0
      pages/index/index.vue

+ 2 - 0
pages/auxiliaryDaywork/index.vue

@@ -128,6 +128,8 @@
 		if (startTime.value) {
 			console.log("进入", startTime.value)
 			quer.value.startTime = `${startTime.value} 00:00:00`
+		} else {
+			quer.value.startTime = null
 		}
 		quer.value.userId = userId.value
 		quer.value.isAuto = 0

+ 1 - 0
pages/dashboard/index.vue

@@ -267,6 +267,7 @@
 			showOutsourcedInspector.value = true
 			// showOther.value = true;
 		}
+		showAuxiliary.value = true
 		init();
 	})
 

+ 5 - 0
pages/index/index.vue

@@ -139,6 +139,7 @@
 	function doCheckUpdata() {
 		checkUpdate().then(res => {
 			updateFlag.value = res;
+			console.log(updateFlag.value)
 			if (!res) {
 				uni.showModal({
 					title: '更新',
@@ -169,6 +170,7 @@
 	}
 
 	function checkUpdate() {
+		console.log("88888")
 		uni.getSystemInfo({
 			success: function(res) {
 				appInfo.value = res;
@@ -178,13 +180,16 @@
 		let flag = getAppInfoListByType(path.checkAppURL, {
 			type: appInfo.value.osName
 		}).then(res => {
+			console.log(res)
 			newAppInfo.value = res.rows[0];
+			console.log(newAppInfo.value, "111")
 			if (res.rows[0]) {
 				return appInfo.value.appWgtVersion === newAppInfo.value.versionName;
 			} else {
 				return true;
 			}
 		})
+		console.log("flag", flag)
 		return flag;
 	}