BUG优化

dev
xiepeng 2024-07-11 18:33:16 +08:00
parent 2eaf4f22d2
commit 01693ef150
6 changed files with 28 additions and 11 deletions

View File

@ -442,6 +442,7 @@
'Content-type':'application/x-www-form-urlencoded'
},
data: {
LISTMANAGER_ID: _this.listId,
CUSTOM_ID: _this.listId,
CORPINFO_ID:loginUser.CORPINFO_ID,
USER_ID:loginUser.USER_ID,

View File

@ -61,7 +61,7 @@
</view>
<view class="text-semi">隐患排查</view>
</navigator>
<navigator class="apps-item" hover-class="none" url="/pages/application/check-record/check_listmanager">
<navigator class="apps-item" hover-class="none" url="/pages/application/check-record/record_list">
<view class="imgs action">
<image src="../../static/icon-apps/icon-zl-2.png" mode=""></image>
</view>

View File

@ -7,13 +7,18 @@
<view class="container">
<view class="fixed">
<view v-if="videoSrc">
<video
id="video"
:src="baseImgPath + videoSrc"
<!-- <video-->
<!-- id="video"-->
<!-- :src="baseImgPath + videoSrc"-->
<!-- :poster="videoPoster"-->
<!-- autoplay-->
<!-- controls-->
<!-- style="width: 100vw"-->
<!-- />-->
<web-view-video
ref="video"
:src="videoSrc"
:poster="videoPoster"
autoplay
controls
style="width: 100vw"
/>
</view>
</view>
@ -48,8 +53,10 @@
import {
basePath, baseImgPath
} from "@/common/tool";
import WebViewVideo from "@/pages/application/onlinexxks/web_view_video.vue";
export default {
components: {WebViewVideo},
data() {
return {
baseImgPath: baseImgPath,
@ -128,8 +135,8 @@ export default {
var resData = res.data;
if ("success" == resData.result) {
if (resData.PLAYURL) {
console.log(resData)
this.videoSrc = resData.PLAYURL;
console.log("111",this.videoSrc)
this.videoPoster = resData.COVERURL;
} else {
uni.showToast({

View File

@ -195,8 +195,6 @@
if (res.data != null) {
uni.hideLoading();
_this.pd = res.data.pd;
console.log(_this.pd)
} else {
uni.showToast({
title: res.data.message,

View File

@ -803,7 +803,7 @@ export default {
}
//
if (this.formData.PERSONNEL_TYPE_NAME.find((item) => item === '驾驶员')) {
if (this.formData.PERSONNEL_TYPE.find((item) => item === '5ae743c76dbf496eb1b5101075b073d5')) {
if (this.fileData.driverLicense.length < 1) {
uni.showToast({
icon: 'none',

View File

@ -150,6 +150,17 @@ import {
uni.reLaunch({
url: '/pages/login/home'
});
} else if (this.form.REVIEW_RESULT=='-1') {
setloginUserId(null);
setCorpinfoId(null);
setDeptId(null);
setloginUser(null);
setIsRest(null);
setPremission(null)
uni.removeStorage({key: 'USER'});
uni.reLaunch({
url: '/pages/login/home'
});
}
}else{
uni.hideLoading();