updated
This commit is contained in:
parent
2ef73eb37e
commit
b27a3cb20e
1 changed files with 6 additions and 5 deletions
|
|
@ -33,9 +33,9 @@ import { useCounterMixin } from "@/stores/mixin";
|
||||||
*/
|
*/
|
||||||
const $q = useQuasar();
|
const $q = useQuasar();
|
||||||
const store = useRequestEditStore();
|
const store = useRequestEditStore();
|
||||||
const link = ref<string>('')
|
const link = ref<string>("");
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const dataStore = useDataStore()
|
const dataStore = useDataStore();
|
||||||
const { showLoader, hideLoader, messageError, dialogRemove, success } =
|
const { showLoader, hideLoader, messageError, dialogRemove, success } =
|
||||||
useCounterMixin();
|
useCounterMixin();
|
||||||
|
|
||||||
|
|
@ -150,7 +150,9 @@ function fetchListRequset() {
|
||||||
};
|
};
|
||||||
showLoader();
|
showLoader();
|
||||||
http
|
http
|
||||||
.get(config.API.requestEditByType(link.value) + `user`, { params: queryParams })
|
.get(config.API.requestEditByType(link.value) + `user`, {
|
||||||
|
params: queryParams,
|
||||||
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const data = res.data.result;
|
const data = res.data.result;
|
||||||
maxPage.value = Math.ceil(data.total / pageSize.value);
|
maxPage.value = Math.ceil(data.total / pageSize.value);
|
||||||
|
|
@ -276,7 +278,7 @@ watch(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
onMounted(async() => {
|
onMounted(async () => {
|
||||||
link.value = await dataStore.getProFileType();
|
link.value = await dataStore.getProFileType();
|
||||||
fetchListRequset();
|
fetchListRequset();
|
||||||
});
|
});
|
||||||
|
|
@ -374,7 +376,6 @@ onMounted(async() => {
|
||||||
map-options
|
map-options
|
||||||
:options="columns"
|
:options="columns"
|
||||||
option-value="name"
|
option-value="name"
|
||||||
class="col-xs-12 col-sm-3 col-md-2"
|
|
||||||
style="min-width: 140px"
|
style="min-width: 140px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue