行车检查未进行行车前检查不可进行行车中检查优化

dev
WenShiJun 2024-03-29 18:07:40 +08:00
parent c52adbb7f9
commit 3b649ae9cc
4 changed files with 29 additions and 8 deletions

View File

@ -152,6 +152,7 @@
this.getData() this.getData()
}, },
reset (){ reset (){
this.KEYWORDS = '';
this.DEPT = ''; this.DEPT = '';
this.DEPTNAME = ''; this.DEPTNAME = '';
this.list = []; this.list = [];

View File

@ -87,6 +87,7 @@
}, },
success: (res) => { success: (res) => {
if ("success" == res.data.result) { if ("success" == res.data.result) {
console.log(res.data,'1111111111111111111111111')
uni.hideLoading(); uni.hideLoading();
_this.list = res.data.varList; _this.list = res.data.varList;
_this.pd = res.data.pd; _this.pd = res.data.pd;
@ -114,6 +115,14 @@
}); });
return; return;
}else if((this.pd.WAYBILLSTATUS === '2' || this.pd.IsExist == '1' || this.pd.IsExist == '0') && index === 1){ }else if((this.pd.WAYBILLSTATUS === '2' || this.pd.IsExist == '1' || this.pd.IsExist == '0') && index === 1){
if(this.pd.WAYBILLSTATUS === '0') {
uni.showModal({
title: '提示',
content:'未进行出车前检查,无法进行此操作',
showCancel: false,
confirmText: '确认'
});
}
return return
}else if((this.pd.WAYBILLSTATUS === '2' || this.pd.IsExist == '2' || this.pd.IsExist == '0') && index === 2){ }else if((this.pd.WAYBILLSTATUS === '2' || this.pd.IsExist == '2' || this.pd.IsExist == '0') && index === 2){
uni.showModal({ uni.showModal({

View File

@ -3,9 +3,9 @@
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true"> <cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
<block slot="backText">返回</block> <block slot="backText">返回</block>
<block slot="content">安全例会</block> <block slot="content">安全例会</block>
<block slot="right"> <!-- <block slot="right">-->
<view @click="showDrawer('showRight')"></view> <!-- <view @click="showDrawer('showRight')"></view>-->
</block> <!-- </block>-->
</cu-custom> </cu-custom>
<view class="select-fixed top-fixed"> <view class="select-fixed top-fixed">
<view class="cu-bar search bg-white"> <view class="cu-bar search bg-white">
@ -64,7 +64,7 @@
}, },
data() { data() {
return { return {
showRight: false, // showRight: false,
dataFlag: 'noData', dataFlag: 'noData',
sTop: 0, sTop: 0,
loginUser :'', loginUser :'',
@ -175,10 +175,10 @@
// this.isUps=true // this.isUps=true
this.$refs.tkiTree._show(); this.$refs.tkiTree._show();
}, },
// // //
showDrawer(e) { // showDrawer(e) {
this.$refs[e].open() // this.$refs[e].open()
}, // },
// //
closeDrawer(e) { closeDrawer(e) {
this.$refs[e].close() this.$refs[e].close()

View File

@ -33,6 +33,17 @@
<view class="dy-card-content-item"> <view class="dy-card-content-item">
<text>会议内容</text> <text>会议内容</text>
<rich-text :nodes="pd.MEETING_CONTENT"></rich-text> <rich-text :nodes="pd.MEETING_CONTENT"></rich-text>
</view>
<view class="message-warp" v-if="pd.VIDEO_SIGN_ROUTE">
<video :src="pd.VIDEO_SIGN_ROUTE" controls="true"></video>
</view>
<view class="message-warp" v-if="pd.CONFIRM_MESSAGE_SIGN_ROUTE">
<view class="cu-item" @click="$noMultipleClicks(goStuToOpen,pd.CONFIRM_MESSAGE_SIGN_ROUTE)">
<view class="content">
<text class="cuIcon-read text-blue"></text>
<text class="text-grey">会议附件</text>
</view>
</view>
</view> </view>
</view> </view>
</view> </view>