update
This commit is contained in:
@@ -11,6 +11,7 @@ import XRadioGroup from "../../components/XRadioGroup.vue";
|
||||
import XRadio from "../../components/XRadio.vue";
|
||||
import XDateRange from "../../components/XDateRange.vue";
|
||||
import XAlert from "../../components/XAlert.vue";
|
||||
import {onShow} from "@dcloudio/uni-app";
|
||||
|
||||
const taskType = reactive([]);
|
||||
const platformType = reactive([]);
|
||||
@@ -53,6 +54,7 @@ const vo = reactive({
|
||||
|
||||
const {loading, pagination, initFetchData} = useTableQuery({
|
||||
api: Api.system.myTaskList,
|
||||
immediate: false,
|
||||
parameter: po,
|
||||
callback: (data) => {
|
||||
Object.assign(vo, data);
|
||||
@@ -72,6 +74,10 @@ const changeCurrent = async (item) => {
|
||||
po.status = item.value;
|
||||
await initFetchData();
|
||||
}
|
||||
|
||||
onShow(() => {
|
||||
initFetchData();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user