修复bug
This commit is contained in:
@@ -60,13 +60,17 @@ import * as echarts from 'echarts/core';
|
||||
import { TooltipComponent, LegendComponent } from 'echarts/components';
|
||||
import { PieChart } from 'echarts/charts';
|
||||
import { LabelLayout } from 'echarts/features';
|
||||
import { useStore } from "vuex";
|
||||
import { CanvasRenderer } from 'echarts/renderers';
|
||||
export default defineComponent({
|
||||
components: {
|
||||
},
|
||||
setup() {
|
||||
const store:any = useStore()
|
||||
let filter:any = reactive({
|
||||
dataList:[],
|
||||
dataList:computed(()=>{
|
||||
return store.state.adminPage.allUserList
|
||||
}),
|
||||
})
|
||||
|
||||
let filterData:any = reactive({
|
||||
@@ -77,19 +81,6 @@ export default defineComponent({
|
||||
let searchHistoryList = ()=> {
|
||||
gettrialList();
|
||||
}
|
||||
let getUserIDName = ()=>{
|
||||
let allUserList:any = sessionStorage.getItem('allUserList');
|
||||
if(allUserList){
|
||||
filter.dataList = JSON.parse(allUserList)
|
||||
}
|
||||
// Https.axiosGet(Https.httpUrls.getAllUserId,).then((rv: any) => {
|
||||
// if (rv) {
|
||||
// let username = sessionStorage.getItem('allUserList');
|
||||
// sessionStorage.setItem('allUserList',rv);
|
||||
// filter.dataList = rv
|
||||
// }
|
||||
// })
|
||||
}
|
||||
//获取列表
|
||||
let gettrialList = async () =>{
|
||||
filter.tableLoading = true
|
||||
@@ -203,7 +194,6 @@ export default defineComponent({
|
||||
}
|
||||
onMounted(()=>{
|
||||
lastGeTrialList('month')
|
||||
getUserIDName()
|
||||
})
|
||||
return {
|
||||
...toRefs(filter),
|
||||
|
||||
Reference in New Issue
Block a user