Explorar o código

Merge branch 'master' of http://120.26.64.82:3000/BFFE/CABaggageData2.0

chenrui  %!s(int64=2) %!d(string=hai) anos
pai
achega
b60de0c57f

+ 5 - 0
src/views/baggageManagement/components/arrival/index.vue

@@ -475,6 +475,11 @@ export default {
   },
   activated() {
     this.table.scrollTop = this.scrollTop
+    this.getTableData()
+    const that = this
+    this.loopEvent = setInterval(function () {
+      that.getTableData()
+    }, 3000)
   },
   deactivated() {
     if (this.loopEvent) {

+ 5 - 0
src/views/baggageManagement/components/departure/index.vue

@@ -419,6 +419,11 @@ export default {
   },
   activated() {
     this.table.scrollTop = this.scrollTop
+    this.getTableData()
+    const that = this
+    this.loopEvent = setInterval(function () {
+      that.getTableData()
+    }, 3000)
   },
   deactivated() {
     if (this.loopEvent) {

+ 5 - 0
src/views/baggageManagement/components/transferArrival/index.vue

@@ -518,6 +518,11 @@ export default {
   },
   activated() {
     this.table.scrollTop = this.scrollTop
+    this.getTableData()
+    const that = this
+    this.loopEvent = setInterval(function () {
+      that.getTableData()
+    }, 3000)
     // const { startDate, endDate } = this.$route.query
     // Object.entries(this.$route.query).forEach(([key, value]) => {
     //   if ((value ?? '') !== '' && JSON.stringify(value) !== '[]') {

+ 5 - 0
src/views/baggageManagement/components/transferDeparture/index.vue

@@ -469,6 +469,11 @@ export default {
   },
   activated() {
     this.table.scrollTop = this.scrollTop
+    this.getTableData()
+    const that = this
+    this.loopEvent = setInterval(function () {
+      that.getTableData()
+    }, 3000)
     // const { startDate, endDate } = this.$route.query
     // Object.entries(this.$route.query).forEach(([key, value]) => {
     //   if ((value ?? '') !== '' && JSON.stringify(value) !== '[]') {