Przeglądaj źródła

feat: 更新代码

yezhihao 4 miesięcy temu
rodzic
commit
f768f0e1f6

+ 6 - 0
App.vue

@@ -153,6 +153,12 @@ export default {
             let messageCount = res.data.messageCount;
 
             uni.setStorageSync("messageCount", messageCount);
+			
+			// // #ifdef APP-PLUS
+			// if (JPush && JPush.setBadge) {
+			// 	JPush.setBadge({ badge: messageCount })
+			// }
+			// // #endif
 
 			uni.$emit('chatUnreadCount', chatCount || 0)
             let num = chatCount + messageCount;

+ 5 - 0
common/queue.js

@@ -738,7 +738,12 @@ module.exports = {
 		      showCancel: false,
 		      success() {
 		        that.logout();
+				// #ifdef H5	
 		        uni.reLaunch({ url: '/pages/public/loginphone?type=1' })
+				// #endif
+				// #ifndef H5
+				uni.reLaunch({ url: '/pages/public/loginV2' })
+				// #endif
 		      }
 		    })
 		  }

+ 2 - 1
manifest.json

@@ -30,7 +30,8 @@
             "Geolocation" : {},
             "Camera" : {},
             "Record" : {},
-            "Barcode" : {}
+            "Barcode" : {},
+            "VideoPlayer" : {}
         },
         /* 应用发布信息 */
         "distribute" : {

+ 3 - 2
my/jilu/bossMianshiDetail.vue

@@ -134,12 +134,13 @@
       </view>
     </view>
     <view class="btn-bottom">
-		<template v-if="info.restHour>3 && info.status !== 3">
+		<!-- 1待接受 2已同意  3已拒绝 4已过期 5 已结束 -->
+		<template v-if="info.restHour>3 && info.status == 1">
 			<view class="btn-item" @click="cancelInterview = true">取消面试</view>
 			<view class="btn-item" @click="onEdit">修改面试</view>
 		</template>
 		<template v-else>
-			<view class="btn-item" @click="onEdit">重新邀约</view> 
+			<!-- <view class="btn-item" v-if="info.status == 2" @click="onEdit">重新邀约</view> -->
 			<view v-if="currentStep==4" class="btn-item" @click="showRecord=true">编辑面试记录</view> 
 		</template>
     </view>

+ 4 - 0
package/jobIntention/basicInfo.vue

@@ -333,6 +333,10 @@
 									ifExp: this.ifExp
 								}).then(res => {
 									if (res.code === 0) {
+										if (this.weChatNum) {
+											this.$queue.setData('weChatNum', this.weChatNum)
+										}
+										
 										uni.showToast({
 											title: '保存成功',
 											icon: "none"

+ 8 - 2
pages/msg/im.vue

@@ -2607,8 +2607,13 @@
 					    success() {
 						  // 退出极光推送
 						  logoutJP()
-					      that.$queue.logout();
-					      uni.reLaunch({ url: '/pages/public/loginphone?type=1' })
+							that.$queue.logout();
+							// #ifdef H5	
+							uni.reLaunch({ url: '/pages/public/loginphone?type=1' })
+							// #endif
+							// #ifndef H5
+							uni.reLaunch({ url: '/pages/public/loginV2' })
+							// #endif
 					    }
 					  })
 					}else{
@@ -3362,6 +3367,7 @@
 			color: rgba(102, 102, 102, 1) !important;
 			font-size: 16rpx;
 			margin-right: 16rpx;
+			white-space: nowrap;
 		}
 	}
 	.other-chat-listitem {

+ 7 - 1
pages/msg/interviewInvitation.vue

@@ -476,14 +476,20 @@
 					  this.personText=res.data.hrName
 					  
 					this.selectedTime=res.data.detailTime
+					this.radioValue = res.data?.type || 0
 					
 					if(this.selectedTime){
 						var timeLimit=res.data.detailTime.split(' ')
 						var hourMinute=timeLimit[0].split(':')
 						this.timeValue=[this.hours.indexOf(parseInt(hourMinute[0])),this.minutes.indexOf(parseInt(hourMinute[1])),this.meridiem.indexOf(timeLimit[1])]
 					}
-					this.selecteMethodText=res.data.onlineType||''
+					// this.selecteMethodText=res.data.onlineType||''
 					this.onlineMsg=res.data=res.data.onlineMsg||''
+					
+					if (this.radioValue == 1) {
+						let onlineType = res.data?.onlineType || 0
+						this.selecteMethodText = this.methodList[onlineType] || ''
+					}
 				  } else {
 				    uni.showToast({
 				      title: res.msg,

+ 5 - 0
pages/my/jobPostingSecond.vue

@@ -259,6 +259,7 @@ export default {
 			companyAddressInfo:{},
 			isAdmin: true,
 			companyInfo: {},
+			loading: false
 		};
 	},
 	components: {
@@ -536,6 +537,7 @@ export default {
 
 		// 提交表单
 		submitPost() {
+			if (this.loading) return
 			// 验证必填项
 			if (!this.selectedExper) {
 				return uni.showToast({
@@ -604,9 +606,11 @@ export default {
 			uni.showLoading({
 				title: "提交中..."
 			});
+			this.loading = true
 			this.$Request.postJson("/app/postPush/savePostPush", data)
 				.then((res) => {
 					uni.hideLoading();
+					this.loading = false
 					if (res.code === 0) {
 						uni.showToast({
 							title: "提交成功",
@@ -650,6 +654,7 @@ export default {
 					}
 				})
 				.catch((err) => {
+					this.loading = false
 					uni.hideLoading();
 					console.error("提交失败:", err);
 					uni.showToast({

+ 61 - 23
pages/public/improvePrompt.vue

@@ -30,7 +30,14 @@
 			</template>
 		</view>
 		
-		<load-card :progress="progress" v-if="showLoadCard"></load-card>
+		<view class="load-container" v-if="showLoadCard">
+			<view class="video-container">
+				<view class="title">简历解析中</view>
+				<video src="https://bossweb.edccc.cn/video_260307_151616.mp4" :muted="true" :autoplay="true" :controls="false" :loop="true" object-fit="fill"></video>
+			</view>
+		</view>
+		
+		<!-- <load-card :progress="progress" v-if="showLoadCard"></load-card> -->
 	</view>
 </template>
 
@@ -58,11 +65,11 @@
 				this.scene = options.scene
 			}
 		},
-		onUnload() {
-			if (this.timer) {
-				clearInterval(this.timer)
-			}
-		},
+		// onUnload() {
+		// 	if (this.timer) {
+		// 		clearInterval(this.timer)
+		// 	}
+		// },
 		methods: {
 			toOnlineResume() {
 				uni.navigateTo({
@@ -130,30 +137,28 @@
 				}, (res) => {
 					if (res && res.code === 0) {
 						const id = res.data?.id
+						const resumesAttachmentId = res.data?.resumesAttachmentId || null
 						if (id) {
-							this.getAiResumesAnalysis(id)
+							this.getAiResumesAnalysis(id, resumesAttachmentId)
 						}
-						// uni.reLaunch({
-						// 	url: `/pages/my/onlineResume?fileId=${res.data.id}`
-						// })
 					} else {
 						this.$queue.showToast(res ? res.msg : '文件上传失败')
 					}
 				})
 			},
 			// 获取简历解析数据
-			getAiResumesAnalysis(fileId) {
-				if (this.timer) {
-					clearInterval(this.timer)
-					this.progress = 0
-				}
+			getAiResumesAnalysis(fileId, resumesAttachmentId) {
+				// if (this.timer) {
+				// 	clearInterval(this.timer)
+				// 	this.progress = 0
+				// }
 				
 				this.showLoadCard = true
-				this.timer = setInterval(() => {
-					if (this.progress < 99) {
-						this.progress++
-					}
-				}, 900)
+				// this.timer = setInterval(() => {
+				// 	if (this.progress < 99) {
+				// 		this.progress++
+				// 	}
+				// }, 900)
 				uni.request({
 					url: config.APIHOST + '/app/resumes/aiResumesAnalysis',
 					header: {
@@ -163,7 +168,8 @@
 					method: 'post',
 					data: {
 						workflowId: '7594327567932309547',
-						fileId
+						fileId,
+						resumesAttachmentId
 					},
 					timeout: 180000,
 					success: (res) => {
@@ -187,8 +193,8 @@
 			
 			stopLoadStatus() {
 				this.showLoadCard = false
-				this.progress = 0
-				clearInterval(this.timer)
+				// this.progress = 0
+				// clearInterval(this.timer)
 			}
 		}
 	}
@@ -257,4 +263,36 @@
 			}
 		}
 	}
+	
+	.load-container {
+		position: fixed;
+		left: 0;
+		top: 0;
+		width: 100%;
+		height: 100%;
+		display: flex;
+		align-items: center;
+		justify-content: center;
+		background: rgba(0, 0, 0, 0.5);
+		.video-container {
+			width: 600rpx;
+			// height: 600rpx;
+			background: #fff;
+			border-radius: 20rpx;
+			padding: 40rpx;
+			.title {
+				font-size: 36rpx;
+				font-weight: bold;
+				text-align: center;
+				line-height: 1;
+				padding-bottom: 40rpx;
+			}
+		}
+		video {
+			display: block;
+			width: 520rpx;
+			height: 320rpx;
+			margin: 0 auto;
+		}
+	}
 </style>