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' 'Content-type':'application/x-www-form-urlencoded'
}, },
data: { data: {
LISTMANAGER_ID: _this.listId,
CUSTOM_ID: _this.listId, CUSTOM_ID: _this.listId,
CORPINFO_ID:loginUser.CORPINFO_ID, CORPINFO_ID:loginUser.CORPINFO_ID,
USER_ID:loginUser.USER_ID, USER_ID:loginUser.USER_ID,

View File

@ -61,7 +61,7 @@
</view> </view>
<view class="text-semi">隐患排查</view> <view class="text-semi">隐患排查</view>
</navigator> </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"> <view class="imgs action">
<image src="../../static/icon-apps/icon-zl-2.png" mode=""></image> <image src="../../static/icon-apps/icon-zl-2.png" mode=""></image>
</view> </view>

View File

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

View File

@ -195,8 +195,6 @@
if (res.data != null) { if (res.data != null) {
uni.hideLoading(); uni.hideLoading();
_this.pd = res.data.pd; _this.pd = res.data.pd;
console.log(_this.pd)
} else { } else {
uni.showToast({ uni.showToast({
title: res.data.message, 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) { if (this.fileData.driverLicense.length < 1) {
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',

View File

@ -150,6 +150,17 @@ import {
uni.reLaunch({ uni.reLaunch({
url: '/pages/login/home' 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{ }else{
uni.hideLoading(); uni.hideLoading();