Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/CaiYuanYiTiHua
commit
5168b53b23
|
|
@ -5,6 +5,7 @@
|
||||||
size="small"
|
size="small"
|
||||||
height="500"
|
height="500"
|
||||||
bordered
|
bordered
|
||||||
|
:loading="loading"
|
||||||
:pagination="pagination.pagination"
|
:pagination="pagination.pagination"
|
||||||
>
|
>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
|
@ -52,6 +53,7 @@
|
||||||
currentListQuery: Object;
|
currentListQuery: Object;
|
||||||
}>();
|
}>();
|
||||||
const caseId = ref('');
|
const caseId = ref('');
|
||||||
|
const loading = ref(false)
|
||||||
let columns = reactive({
|
let columns = reactive({
|
||||||
data: [],
|
data: [],
|
||||||
col: [
|
col: [
|
||||||
|
|
@ -175,6 +177,7 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
function handleGetList() {
|
function handleGetList() {
|
||||||
|
loading.value = true
|
||||||
getLoadCaseInfoListOffence(props.currentListQuery).then((res) => {
|
getLoadCaseInfoListOffence(props.currentListQuery).then((res) => {
|
||||||
res.items.forEach((item) => {
|
res.items.forEach((item) => {
|
||||||
item.area = dataProcessingCount(item.area);
|
item.area = dataProcessingCount(item.area);
|
||||||
|
|
@ -182,6 +185,8 @@
|
||||||
});
|
});
|
||||||
columns.data = res.items;
|
columns.data = res.items;
|
||||||
total.value = res.total;
|
total.value = res.total;
|
||||||
|
}).finally(() => {
|
||||||
|
loading.value = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
size="small"
|
size="small"
|
||||||
height="500"
|
height="500"
|
||||||
bordered
|
bordered
|
||||||
|
:loading="loading"
|
||||||
:pagination="pagination.pagination"
|
:pagination="pagination.pagination"
|
||||||
>
|
>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
|
@ -52,6 +53,7 @@
|
||||||
currentListQuery: Object;
|
currentListQuery: Object;
|
||||||
}>();
|
}>();
|
||||||
const caseId = ref('');
|
const caseId = ref('');
|
||||||
|
const loading = ref(false)
|
||||||
let columns = reactive({
|
let columns = reactive({
|
||||||
data: [],
|
data: [],
|
||||||
col: [
|
col: [
|
||||||
|
|
@ -175,6 +177,7 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
function handleGetList() {
|
function handleGetList() {
|
||||||
|
loading.value = true
|
||||||
getLoadCaseInfoListOffence(props.currentListQuery).then((res) => {
|
getLoadCaseInfoListOffence(props.currentListQuery).then((res) => {
|
||||||
res.items.forEach((item) => {
|
res.items.forEach((item) => {
|
||||||
item.area = dataProcessingCount(item.area);
|
item.area = dataProcessingCount(item.area);
|
||||||
|
|
@ -182,6 +185,8 @@
|
||||||
});
|
});
|
||||||
columns.data = res.items;
|
columns.data = res.items;
|
||||||
total.value = res.total;
|
total.value = res.total;
|
||||||
|
}).finally(() => {
|
||||||
|
loading.value = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue