wangxy 2 ماه پیش
والد
کامیت
2d541a4dc5

+ 1 - 2
components/zhuapaiConfirm/useCamera.js

@@ -441,10 +441,9 @@ export function useH5Camera({
 				operId,
 				url: res.data
 			}
-			zhuapaiHttp && zhuapaiHttp(opt)
+			zhuapaiHttp && zhuapaiHttp(dOption)
 				.then(res => {
 					console.log('【源 : 获取抓拍数据】');
-					this.$emit('getImage', res.data);
 				})
 				.catch(err => {
 					console.error('源 :抓拍接口异常', err);

+ 9 - 2
components/zhuapaiConfirm/zhuapai.vue

@@ -39,6 +39,7 @@
 	const DropRef = ref(null);
 	const DropContainerRef = ref(null);
 	const zhuapai = ref(0); // 单位分
+	const operId = ref(null); // 单位分
 	const disX = ref(0); // 移动x
 	const disY = ref(0); // 移动y
 	const showVideo = ref(true);
@@ -108,6 +109,7 @@
 
 	function init(options) {
 		zhuapai.value = options.zhuapai;
+		operId.value = options.operId;
 		if (zhuapai.value > 0) {
 			// 启动摄像头
 			nextTick(() => {
@@ -132,7 +134,8 @@
 			elCanvasId: '#canvasZhuaPai',
 			onVideoSuccess,
 			onVideoError,
-			zhuapaiHttp: ksApi.getClientZhuaPaiUpdate
+			zhuapaiHttp: ksApi.getClientZhuaPaiUpdate,
+			operId: operId.value
 		})
 		startH5Camera();
 		zhuapaiFun = handlePaiZhao;
@@ -192,8 +195,12 @@
 		position: absolute;
 		right: 0;
 		top: 30%;
+
 		
-		.uni-video-container{background-color: transparent;}
+		.uni-video-container{background-color: transparent;	overflow: hidden;}
+			.phone-camera-box-zhuapai{
+				.hidden-video{transform: translateX(500rpx);}
+			}
 		
 		.video-view-box {
 			height: 10vh;

+ 1 - 1
pages/client/Chengji/list.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
-			<view @click="goUpPage" class="nav-bar-icon"></view>
+			<!-- <view @click="goUpPage" class="nav-bar-icon"></view> -->
 			<text class="nav-bar-title">成绩</text>
 		</view>
 		<!-- 查询职业 -->

+ 1 - 1
pages/client/Kaoshi/list.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="phone-list-page">
 		<view class="icon-title-bjcolor-navBar-box">
-			<view @click="goUpPage" class="nav-bar-icon"></view>
+			<!-- <view @click="goUpPage" class="nav-bar-icon"></view> -->
 			<text class="nav-bar-title">考试管理</text>
 		</view>
 		<!-- 考试列表 -->

+ 1 - 1
pages/client/Lianxi/list.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
-			<view @click="goUpPage" class="nav-bar-icon"></view>
+			<!-- <view @click="goUpPage" class="nav-bar-icon"></view> -->
 			<text class="nav-bar-title">练习管理</text>
 		</view>
 		<!-- 考试列表 -->