修改预警时间字段

main
吕天方 2 months ago
parent 1d9a96abae
commit 9c03095016

@ -39,7 +39,7 @@
<u-icon name="clock" size="18" color="#AEBAC8" class="" class="icon"></u-icon> <u-icon name="clock" size="18" color="#AEBAC8" class="" class="icon"></u-icon>
</view> </view>
<view class="smofontsiez"> <view class="smofontsiez">
{{item.eventTime}} {{item.firstWarnTimeDate}}
</view> </view>
</view> </view>
</view> </view>

@ -23,7 +23,7 @@
预警时间: 预警时间:
</view> </view>
<view class="indexcontentbttom-item-bottom-rigth"> <view class="indexcontentbttom-item-bottom-rigth">
{{Objitem.eventTime}} {{Objitem.firstWarnTimeDate}}
</view> </view>
</view> </view>
<view class="indexcontentbttom-item-bottom"> <view class="indexcontentbttom-item-bottom">

@ -24,7 +24,7 @@
预警时间: 预警时间:
</view> </view>
<view class="indexcontentbttom-item-bottom-rigth"> <view class="indexcontentbttom-item-bottom-rigth">
{{Objitem.eventTime}} {{Objitem.firstWarnTimeDate}}
</view> </view>
</view> </view>
<view class="indexcontentbttom-item-bottom"> <view class="indexcontentbttom-item-bottom">
@ -109,17 +109,20 @@
<LieBIaoList ref="LieBIaoListis"></LieBIaoList> <LieBIaoList ref="LieBIaoListis"></LieBIaoList>
</view> </view>
<view class="dibuaBtn" v-show="tabscurrentShow"> <view class="dibuaBtn" v-show="tabscurrentShow">
<view class="dibuaBtn-lanse" @click="Chongxinshangbao(1,)" <view class="dibuaBtn-lanse" @click="Chongxinshangbao(1)"
:class="Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'':'jinyong'"> :class="Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ? '' : 'jinyong'">
{{Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'重新上报驾驶舱':'重新上报驾驶舱'}} <!-- {{Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'重新上报驾驶舱':'重新上报驾驶舱'}} -->
重新上报驾驶舱
</view> </view>
<view class="dibuaBtn-hongse" @click="Chongxinshangbao(2)" <view class="dibuaBtn-hongse" @click="Chongxinshangbao(2)"
:class="Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'':'jinyong'"> :class="Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ? '' : 'jinyong'">
{{Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'退回算法重训练':'退回算法重训练'}} <!-- {{Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'退回算法重训练':'退回算法重训练'}} -->
退回算法重训练
</view> </view>
<view class="dibuaBtn-lvse" @click="Chongxinshangbao(3)" <view class="dibuaBtn-lvse" @click="Chongxinshangbao(3)"
:class="Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'jinyong':''"> :class="Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'jinyong':''">
{{Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'审核通过':'审核通过'}} <!-- {{Objitem.title!=Objitem.oldTitle || $store.state.tijiaoList.shijianList.length!=0 ?'审核通过':'审核通过'}} -->
审核通过
</view> </view>
</view> </view>
<!-- 修改标题 --> <!-- 修改标题 -->
@ -196,7 +199,7 @@
if (this.tabscurrentShow) { if (this.tabscurrentShow) {
if (this.textareavalue2 != "" && this.textareavalue2 != this.Objitem.title) { if (this.textareavalue2 != "" && this.textareavalue2 != this.Objitem.title) {
this.Objitem.title = this.textareavalue2 this.Objitem.title = this.textareavalue2
console.log(this.Objitem); // console.log(this.Objitem);
// massEventsedit(this.Objitem).then(res => { // massEventsedit(this.Objitem).then(res => {
// if (res.code == 200) { // if (res.code == 200) {
// this.getByInnerEventIdmy() // this.getByInnerEventIdmy()
@ -247,7 +250,9 @@
tabscurrent: this.tabscurrent, tabscurrent: this.tabscurrent,
innerEventId: this.innerEventId innerEventId: this.innerEventId
} }
this.$refs.LieBIaoListis.open(obj) if(this.navbarValue !== '紧急事件') {
this.$refs.LieBIaoListis.open(obj)
}
// console.log(this.$refs.LieBIaoListis); // console.log(this.$refs.LieBIaoListis);
}) })
@ -264,6 +269,7 @@
}, },
// 退 // 退
Chongxinshangbao(isReport) { Chongxinshangbao(isReport) {
// isReport 1: 2: 3:
if (isReport == 3 && (this.Objitem.title != this.Objitem.oldTitle || this.$store.state.tijiaoList if (isReport == 3 && (this.Objitem.title != this.Objitem.oldTitle || this.$store.state.tijiaoList
.shijianList.length != 0)) { .shijianList.length != 0)) {
uni.showToast({ uni.showToast({

Loading…
Cancel
Save