完工验收逻辑优化
parent
79db9ce7dd
commit
533070cd92
|
@ -544,7 +544,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateRadioValue(key, event) {
|
updateRadioValue(key, event) {
|
||||||
this.pd[key] = event.detail.value;
|
this.pd[key] = event.detail.value || '0';
|
||||||
},
|
},
|
||||||
goToDetail(e) {
|
goToDetail(e) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
@ -619,10 +619,10 @@ export default {
|
||||||
this.buttonloading = true; // 开始加载
|
this.buttonloading = true; // 开始加载
|
||||||
|
|
||||||
if (STATUS == 8) {
|
if (STATUS == 8) {
|
||||||
if (_this.pd.FIRE_COMPLETED === "0") {
|
if (_this.pd.FIRE_COMPLETED === "0" || _this.pd.FIRE_COMPLETED === undefined) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: "提示",
|
title: "提示",
|
||||||
content: "动火已完成为“否”,不允许通过。",
|
content: "动火是否完成未确认,不允许通过。",
|
||||||
showCancel: false,
|
showCancel: false,
|
||||||
confirmText: "知道了"
|
confirmText: "知道了"
|
||||||
});
|
});
|
||||||
|
@ -630,10 +630,10 @@ export default {
|
||||||
uni.hideLoading(); // 隐藏加载动画
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_this.pd.SITE_CLEANED === "0") {
|
if (_this.pd.SITE_CLEANED === "0" || _this.pd.SITE_CLEANED === undefined) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: "提示",
|
title: "提示",
|
||||||
content: "作业现场已清理为“否”,不允许通过。",
|
content: "作业现场已清理未完成,不允许通过。",
|
||||||
showCancel: false,
|
showCancel: false,
|
||||||
confirmText: "知道了"
|
confirmText: "知道了"
|
||||||
});
|
});
|
||||||
|
@ -641,10 +641,10 @@ export default {
|
||||||
uni.hideLoading(); // 隐藏加载动画
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_this.pd.NO_REMAINING_EMBERS === "0") {
|
if (_this.pd.NO_REMAINING_EMBERS === "0" || _this.pd.NO_REMAINING_EMBERS === undefined) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: "提示",
|
title: "提示",
|
||||||
content: "无遗留火种为“否”,不允许通过。",
|
content: "无遗留火种为未确定,不允许通过。",
|
||||||
showCancel: false,
|
showCancel: false,
|
||||||
confirmText: "知道了"
|
confirmText: "知道了"
|
||||||
});
|
});
|
||||||
|
|
|
@ -378,7 +378,6 @@
|
||||||
hdCount:{},
|
hdCount:{},
|
||||||
today :'',
|
today :'',
|
||||||
triggered: false,
|
triggered: false,
|
||||||
|
|
||||||
totalList:[],
|
totalList:[],
|
||||||
isGoodsEdit: false, // 是否加载编辑后的数据
|
isGoodsEdit: false, // 是否加载编辑后的数据
|
||||||
downOption:{
|
downOption:{
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
<view v-if="mesCount>0" class="cu-tag badge">{{mesCount}}</view>
|
<view v-if="mesCount>0" class="cu-tag badge">{{mesCount}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view :class="PageCur=='works'?'text-blue':'text-gray'">通知</view>
|
<view :class="PageCur=='works'?'text-blue':'text-gray'">通知</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="action" @click="NavChange" data-cur="my">
|
<view class="action" @click="NavChange" data-cur="my">
|
||||||
<view class='cuIcon-cu-image'>
|
<view class='cuIcon-cu-image'>
|
||||||
|
@ -112,7 +111,6 @@
|
||||||
// this.checkUpdate("android");
|
// this.checkUpdate("android");
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
console.log(this.$refs.basics,1515)
|
|
||||||
// 刷新数据
|
// 刷新数据
|
||||||
if(this.$refs.basics){
|
if(this.$refs.basics){
|
||||||
this.$refs.basics.getSumCount()
|
this.$refs.basics.getSumCount()
|
||||||
|
|
Loading…
Reference in New Issue