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