|
|
@ -94,8 +94,10 @@
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
massEventsList,
|
|
|
|
massEventsList,
|
|
|
|
eventPageCount,
|
|
|
|
eventPageCount,
|
|
|
|
fiveEventCount
|
|
|
|
fiveEventCount,
|
|
|
|
|
|
|
|
login
|
|
|
|
} from '@/api/system/ApiList.js'
|
|
|
|
} from '@/api/system/ApiList.js'
|
|
|
|
|
|
|
|
import { setToken } from '@/utils/auth'
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -272,15 +274,21 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onLoad: function() {
|
|
|
|
// onLoad: function() {
|
|
|
|
this.getList()
|
|
|
|
// login("admin","Suanfa@2024//**...").then(res=>{
|
|
|
|
this.geteventPageCount()
|
|
|
|
// setToken(res.token)
|
|
|
|
this.$store.dispatch("Deletestate")
|
|
|
|
// this.getList()
|
|
|
|
},
|
|
|
|
// this.geteventPageCount()
|
|
|
|
|
|
|
|
// this.$store.dispatch("Deletestate")
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// },
|
|
|
|
onShow() {
|
|
|
|
onShow() {
|
|
|
|
|
|
|
|
login("admin","Suanfa@2024//**...").then(res=>{
|
|
|
|
|
|
|
|
setToken(res.token)
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
this.geteventPageCount()
|
|
|
|
this.geteventPageCount()
|
|
|
|
this.$store.dispatch("Deletestate")
|
|
|
|
this.$store.dispatch("Deletestate")
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|