列表页面显示即刷新;填报单位编辑为空默认为当前登录人单位

main
张群 2 years ago
parent 2da31786cf
commit 078804d0f9
  1. 9
      pages/airport/airport-runData/list.vue
  2. 9
      pages/airport/airport-runStatus/list.vue
  3. 8
      pages/highWay/runData/form.vue
  4. 9
      pages/highWay/runData/list.vue
  5. 6
      pages/highWay/runStatusData/form.vue
  6. 9
      pages/highWay/runStatusData/list.vue
  7. 2
      pages/metro/subwayPage/form.vue
  8. 9
      pages/metro/subwayPage/list.vue
  9. 2
      pages/portShipping/waterInternational/form.vue
  10. 9
      pages/portShipping/waterInternational/list.vue
  11. 10
      pages/railway/railwayRunData/list.vue
  12. 9
      pages/railway/runStatus/list.vue
  13. 6
      pages/water/transportation/form.vue
  14. 9
      pages/water/transportation/list.vue
  15. 2
      pages/water/waterWay/form.vue
  16. 9
      pages/water/waterWay/list.vue

@ -72,10 +72,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -72,10 +72,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -308,8 +308,12 @@
'GET').then(res => {
this.form = res.data;
if (checkNotEmpty(this.deptNameList)) {
let idx = this.deptNameList.findIndex(item => item.deptName = this.form.organizationName);
this.form.organizationNameIndex = idx > -1 ? idx : '';
let idx = this.deptNameList.findIndex(item => item.deptName == this.form.organizationName);
this.form.organizationNameIndex = idx > -1 ? idx : '';
if(!checkNotEmpty(this.form.affiliatedUnit)) {
this.form.organizationName = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : '';
this.form.organizationNameIndex = this.deptNameList.length > 0 ? 0 : '';
}
}
this.queryTime();
this.queryStation();

@ -75,10 +75,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -433,8 +433,12 @@
this.form.highwayCongestionDetailDTOS = this.form.highwayCongestionDetailVOS;
this.form.highwayAccidentDetailDTOS = this.form.highwayAccidentDetailVOS;
if (checkNotEmpty(this.deptNameList)) {
let idx = this.deptNameList.findIndex(item => item.deptName = this.form.organizationName);
let idx = this.deptNameList.findIndex(item => item.deptName == this.form.organizationName);
this.form.organizationNameIndex = idx > -1 ? idx : '';
if(!checkNotEmpty(this.form.affiliatedUnit)) {
this.form.organizationName = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : '';
this.form.organizationNameIndex = this.deptNameList.length > 0 ? 0 : '';
}
}
this.queryAccidentLevel(); //
this.queryHighway(); //

@ -74,10 +74,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -167,7 +167,7 @@
.then(res => {
this.form = res.data;
if (checkNotEmpty(this.deptNameList)) {
let idx = this.deptNameList.findIndex(item => item.deptName = this.form.organizationName);
let idx = this.deptNameList.findIndex(item => item.deptName == this.form.organizationName);
this.form.organizationNameIndex = idx > -1 ? idx : '';
}
this.queryTime(); //

@ -72,10 +72,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -242,7 +242,7 @@
this.form.passengerShipDTOList = this.form.passengerShipVOList;
this.form.internationalCruiseDTOList = this.form.internationalCruiseVOList;
if (checkNotEmpty(this.deptNameList)) {
let idx = this.deptNameList.findIndex(item => item.deptName = this.form.organizationName);
let idx = this.deptNameList.findIndex(item => item.deptName == this.form.organizationName);
this.form.organizationNameIndex = idx > -1 ? idx : '';
}
this.queryTime(); //

@ -72,10 +72,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -76,10 +76,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];
@ -228,6 +235,7 @@
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
text-align: right;
margin-top: 10rpx;
}
.report_time {

@ -75,10 +75,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -216,8 +216,12 @@
'GET').then(res => {
this.form = res.data;
if (checkNotEmpty(this.deptNameList)) {
let idx = this.deptNameList.findIndex(item => item.deptName = this.form.affiliatedUnit);
let idx = this.deptNameList.findIndex(item => item.deptName == this.form.affiliatedUnit);
this.form.affiliatedUnitIndex = idx > -1 ? idx : '';
if(!checkNotEmpty(this.form.affiliatedUnit)) {
this.form.affiliatedUnit = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : '';
this.form.affiliatedUnitIndex = this.deptNameList.length > 0 ? 0 : '';
}
}
this.queryTime(); //
})

@ -72,10 +72,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

@ -366,7 +366,7 @@
if (this.pageType == 'add') {
let now = new Date();
//11:00-13:30 0-12
let dateStr = getDateStr(now, 0);
let dateStr = getDateStr(now, 0).replaceAll('-', '/');
if (new Date(dateStr + ' 11:00').getTime() < new Date().getTime() && new Date().getTime() <
new Date(dateStr +
' 13:30').getTime()) {

@ -72,10 +72,17 @@
index: '', //
}
},
onLoad() {
onShow() {
this.data = [];
this.current = 0;
this.hasMore = true;
this.queryTime();
this.loadMore();
},
onLoad() {
// this.queryTime();
// this.loadMore();
},
onUnload() {
this.hasMore = true;
this.data = [];

Loading…
Cancel
Save