[填报审核][整改审核]添加loading
parent
5cc921cbdb
commit
3527dab77f
|
|
@ -206,7 +206,7 @@
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
||||||
const emits = defineEmits(['changeTask', 'changeShowParent']);
|
const emits = defineEmits(['changeTask', 'changeShowParent','openLoading','closeLoading']);
|
||||||
|
|
||||||
const flowWfDataStore = flowStore();
|
const flowWfDataStore = flowStore();
|
||||||
|
|
||||||
|
|
@ -268,7 +268,9 @@
|
||||||
}
|
}
|
||||||
async function getTaskList() {
|
async function getTaskList() {
|
||||||
console.log(params.value);
|
console.log(params.value);
|
||||||
|
emits('openLoading')
|
||||||
const data = await LoadTaskDetailList(params.value);
|
const data = await LoadTaskDetailList(params.value);
|
||||||
|
emits('closeLoading')
|
||||||
dataList.value = data.items;
|
dataList.value = data.items;
|
||||||
total.value = data.total;
|
total.value = data.total;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="curb-spot-city">
|
<div class="curb-spot-city">
|
||||||
<div class="show-list">
|
<div class="show-list">
|
||||||
<AuditProgress
|
<a-spin :spinning="spinning">
|
||||||
v-if="showParent"
|
<AuditProgress
|
||||||
:year="year"
|
v-if="showParent"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:batchOptions="batchOptions"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:batchOptions="batchOptions"
|
||||||
:dataList="dataList"
|
:yearOptions="yearOptions"
|
||||||
@auditProgressScreenChange="auditProgressScreenChange"
|
:dataList="dataList"
|
||||||
@showInfo="changeShowInfo"
|
@auditProgressScreenChange="auditProgressScreenChange"
|
||||||
/>
|
@showInfo="changeShowInfo"
|
||||||
<MapList
|
/>
|
||||||
@changeTask="changeTask"
|
<MapList
|
||||||
@changeShowParent="changeShowParent"
|
@changeTask="changeTask"
|
||||||
:areaId="areaId"
|
@changeShowParent="changeShowParent"
|
||||||
:level="level"
|
:areaId="areaId"
|
||||||
:year="year"
|
:level="level"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:patchSource="patchSource"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:patchSource="patchSource"
|
||||||
:batchOptions="batchOptions"
|
:yearOptions="yearOptions"
|
||||||
v-else
|
:batchOptions="batchOptions"
|
||||||
/>
|
@openLoading="openLoading"
|
||||||
|
@closeLoading="closeLoading"
|
||||||
|
v-else
|
||||||
|
/>
|
||||||
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-box-div">
|
<div class="map-box-div">
|
||||||
<MapboxMap
|
<MapboxMap
|
||||||
|
|
@ -59,6 +63,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const spinning = ref(false)
|
||||||
const showParent = ref(true);
|
const showParent = ref(true);
|
||||||
const year = ref();
|
const year = ref();
|
||||||
const batch = ref();
|
const batch = ref();
|
||||||
|
|
@ -92,12 +97,14 @@
|
||||||
showParent.value = true;
|
showParent.value = true;
|
||||||
}
|
}
|
||||||
async function getCountList() {
|
async function getCountList() {
|
||||||
|
spinning.value = true
|
||||||
const data = await LoadReportCaseCount({
|
const data = await LoadReportCaseCount({
|
||||||
year: year.value,
|
year: year.value,
|
||||||
tubanlaiyuan: patchSource.value,
|
tubanlaiyuan: patchSource.value,
|
||||||
picihao: batch.value,
|
picihao: batch.value,
|
||||||
illegal: 1,
|
illegal: 1,
|
||||||
});
|
});
|
||||||
|
spinning.value = false
|
||||||
dataList.value = data;
|
dataList.value = data;
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
@ -105,6 +112,12 @@
|
||||||
// TODO 获取批次
|
// TODO 获取批次
|
||||||
batchOptions.value = [];
|
batchOptions.value = [];
|
||||||
});
|
});
|
||||||
|
const openLoading = () => {
|
||||||
|
spinning.value = true
|
||||||
|
}
|
||||||
|
const closeLoading = () => {
|
||||||
|
spinning.value = false
|
||||||
|
}
|
||||||
function changeTask(record) {
|
function changeTask(record) {
|
||||||
if (record?.geomid) {
|
if (record?.geomid) {
|
||||||
// handlerGetMapConfigByFormId(record.processcode);
|
// handlerGetMapConfigByFormId(record.processcode);
|
||||||
|
|
@ -167,6 +180,12 @@
|
||||||
.show-list {
|
.show-list {
|
||||||
width: 590px;
|
width: 590px;
|
||||||
background: #efefef;
|
background: #efefef;
|
||||||
|
:deep(.ant-spin-nested-loading) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
:deep(.ant-spin-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.map-box-div {
|
.map-box-div {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
||||||
const emits = defineEmits(['changeTask', 'changeShowParent']);
|
const emits = defineEmits(['changeTask', 'changeShowParent','openLoading','closeLoading']);
|
||||||
|
|
||||||
const flowWfDataStore = flowStore();
|
const flowWfDataStore = flowStore();
|
||||||
|
|
||||||
|
|
@ -268,7 +268,9 @@
|
||||||
}
|
}
|
||||||
async function getTaskList() {
|
async function getTaskList() {
|
||||||
console.log(params.value);
|
console.log(params.value);
|
||||||
|
emits('openLoading')
|
||||||
const data = await LoadTaskIllegalDetailList(params.value);
|
const data = await LoadTaskIllegalDetailList(params.value);
|
||||||
|
emits('closeLoading')
|
||||||
dataList.value = data.items;
|
dataList.value = data.items;
|
||||||
total.value = data.total;
|
total.value = data.total;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="curb-spot-city">
|
<div class="curb-spot-city">
|
||||||
<div class="show-list">
|
<div class="show-list">
|
||||||
<AuditProgress
|
<a-spin :spinning="spinning">
|
||||||
v-if="showParent"
|
<AuditProgress
|
||||||
:year="year"
|
v-if="showParent"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:batchOptions="batchOptions"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:batchOptions="batchOptions"
|
||||||
:dataList="dataList"
|
:yearOptions="yearOptions"
|
||||||
@auditProgressScreenChange="auditProgressScreenChange"
|
:dataList="dataList"
|
||||||
@showInfo="changeShowInfo"
|
@auditProgressScreenChange="auditProgressScreenChange"
|
||||||
/>
|
@showInfo="changeShowInfo"
|
||||||
<MapList
|
/>
|
||||||
@changeTask="changeTask"
|
<MapList
|
||||||
@changeShowParent="changeShowParent"
|
@changeTask="changeTask"
|
||||||
:areaId="areaId"
|
@changeShowParent="changeShowParent"
|
||||||
:level="level"
|
:areaId="areaId"
|
||||||
:year="year"
|
:level="level"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:patchSource="patchSource"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:patchSource="patchSource"
|
||||||
:batchOptions="batchOptions"
|
:yearOptions="yearOptions"
|
||||||
v-else
|
:batchOptions="batchOptions"
|
||||||
/>
|
@openLoading="openLoading"
|
||||||
|
@closeLoading="closeLoading"
|
||||||
|
v-else
|
||||||
|
/>
|
||||||
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-box-div">
|
<div class="map-box-div">
|
||||||
<MapboxMap
|
<MapboxMap
|
||||||
|
|
@ -59,6 +63,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const spinning = ref(false)
|
||||||
const showParent = ref(true);
|
const showParent = ref(true);
|
||||||
const year = ref();
|
const year = ref();
|
||||||
const batch = ref();
|
const batch = ref();
|
||||||
|
|
@ -92,16 +97,24 @@
|
||||||
showParent.value = true;
|
showParent.value = true;
|
||||||
}
|
}
|
||||||
async function getCountList() {
|
async function getCountList() {
|
||||||
|
spinning.value = true
|
||||||
const data = await LoadReformCaseCount({
|
const data = await LoadReformCaseCount({
|
||||||
year: year.value,
|
year: year.value,
|
||||||
tubanlaiyuan: patchSource.value,
|
tubanlaiyuan: patchSource.value,
|
||||||
picihao: batch.value,
|
picihao: batch.value,
|
||||||
});
|
});
|
||||||
|
spinning.value = false
|
||||||
dataList.value = data;
|
dataList.value = data;
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getCountList();
|
getCountList();
|
||||||
});
|
});
|
||||||
|
const openLoading = () => {
|
||||||
|
spinning.value = true
|
||||||
|
}
|
||||||
|
const closeLoading = () => {
|
||||||
|
spinning.value = false
|
||||||
|
}
|
||||||
function changeTask(record) {
|
function changeTask(record) {
|
||||||
if(record?.geomid){
|
if(record?.geomid){
|
||||||
// handlerGetMapConfigByFormId(record.processcode);
|
// handlerGetMapConfigByFormId(record.processcode);
|
||||||
|
|
@ -167,6 +180,12 @@
|
||||||
.show-list {
|
.show-list {
|
||||||
width: 590px;
|
width: 590px;
|
||||||
background: #EFEFEF;
|
background: #EFEFEF;
|
||||||
|
:deep(.ant-spin-nested-loading) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
:deep(.ant-spin-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.map-box-div {
|
.map-box-div {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
||||||
const emits = defineEmits(['changeTask', 'changeShowParent']);
|
const emits = defineEmits(['changeTask', 'changeShowParent','openLoading','closeLoading']);
|
||||||
|
|
||||||
const flowWfDataStore = flowStore();
|
const flowWfDataStore = flowStore();
|
||||||
|
|
||||||
|
|
@ -268,7 +268,9 @@
|
||||||
}
|
}
|
||||||
async function getTaskList() {
|
async function getTaskList() {
|
||||||
console.log(params.value);
|
console.log(params.value);
|
||||||
|
emits('openLoading')
|
||||||
const data = await LoadTaskDetailList(params.value);
|
const data = await LoadTaskDetailList(params.value);
|
||||||
|
emits('closeLoading')
|
||||||
dataList.value = data.items;
|
dataList.value = data.items;
|
||||||
total.value = data.total;
|
total.value = data.total;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="curb-spot-city">
|
<div class="curb-spot-city">
|
||||||
<div class="show-list">
|
<div class="show-list">
|
||||||
<AuditProgress
|
<a-spin :spinning="spinning">
|
||||||
v-if="showParent"
|
<AuditProgress
|
||||||
:year="year"
|
v-if="showParent"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:batchOptions="batchOptions"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:batchOptions="batchOptions"
|
||||||
:dataList="dataList"
|
:yearOptions="yearOptions"
|
||||||
@auditProgressScreenChange="auditProgressScreenChange"
|
:dataList="dataList"
|
||||||
@showInfo="changeShowInfo"
|
@auditProgressScreenChange="auditProgressScreenChange"
|
||||||
/>
|
@showInfo="changeShowInfo"
|
||||||
<MapList
|
/>
|
||||||
@changeTask="changeTask"
|
<MapList
|
||||||
@changeShowParent="changeShowParent"
|
@changeTask="changeTask"
|
||||||
:areaId="areaId"
|
@changeShowParent="changeShowParent"
|
||||||
:level="level"
|
:areaId="areaId"
|
||||||
:year="year"
|
:level="level"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:patchSource="patchSource"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:patchSource="patchSource"
|
||||||
:batchOptions="batchOptions"
|
:yearOptions="yearOptions"
|
||||||
v-else
|
:batchOptions="batchOptions"
|
||||||
/>
|
@openLoading="openLoading"
|
||||||
|
@closeLoading="closeLoading"
|
||||||
|
v-else
|
||||||
|
/>
|
||||||
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-box-div">
|
<div class="map-box-div">
|
||||||
<MapboxMap
|
<MapboxMap
|
||||||
|
|
@ -59,6 +63,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const spinning = ref(false)
|
||||||
const showParent = ref(true);
|
const showParent = ref(true);
|
||||||
const year = ref();
|
const year = ref();
|
||||||
const batch = ref();
|
const batch = ref();
|
||||||
|
|
@ -92,12 +97,14 @@
|
||||||
showParent.value = true;
|
showParent.value = true;
|
||||||
}
|
}
|
||||||
async function getCountList() {
|
async function getCountList() {
|
||||||
|
spinning.value = true
|
||||||
const data = await LoadReportCaseCount({
|
const data = await LoadReportCaseCount({
|
||||||
year: year.value,
|
year: year.value,
|
||||||
tubanlaiyuan: patchSource.value,
|
tubanlaiyuan: patchSource.value,
|
||||||
picihao: batch.value,
|
picihao: batch.value,
|
||||||
illegal: 1,
|
illegal: 1,
|
||||||
});
|
});
|
||||||
|
spinning.value = false
|
||||||
dataList.value = data;
|
dataList.value = data;
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
@ -105,6 +112,12 @@
|
||||||
// TODO 获取批次
|
// TODO 获取批次
|
||||||
batchOptions.value = [];
|
batchOptions.value = [];
|
||||||
});
|
});
|
||||||
|
const openLoading = () => {
|
||||||
|
spinning.value = true
|
||||||
|
}
|
||||||
|
const closeLoading = () => {
|
||||||
|
spinning.value = false
|
||||||
|
}
|
||||||
function changeTask(record) {
|
function changeTask(record) {
|
||||||
if (record?.geomid) {
|
if (record?.geomid) {
|
||||||
// handlerGetMapConfigByFormId(record.processcode);
|
// handlerGetMapConfigByFormId(record.processcode);
|
||||||
|
|
@ -167,6 +180,12 @@
|
||||||
.show-list {
|
.show-list {
|
||||||
width: 590px;
|
width: 590px;
|
||||||
background: #efefef;
|
background: #efefef;
|
||||||
|
:deep(.ant-spin-nested-loading) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
:deep(.ant-spin-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.map-box-div {
|
.map-box-div {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
||||||
const emits = defineEmits(['changeTask', 'changeShowParent']);
|
const emits = defineEmits(['changeTask', 'changeShowParent','openLoading','closeLoading']);
|
||||||
|
|
||||||
const flowWfDataStore = flowStore();
|
const flowWfDataStore = flowStore();
|
||||||
|
|
||||||
|
|
@ -268,7 +268,9 @@
|
||||||
}
|
}
|
||||||
async function getTaskList() {
|
async function getTaskList() {
|
||||||
console.log(params.value);
|
console.log(params.value);
|
||||||
|
emits('openLoading')
|
||||||
const data = await LoadTaskIllegalDetailList(params.value);
|
const data = await LoadTaskIllegalDetailList(params.value);
|
||||||
|
emits('closeLoading')
|
||||||
dataList.value = data.items;
|
dataList.value = data.items;
|
||||||
total.value = data.total;
|
total.value = data.total;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="curb-spot-city">
|
<div class="curb-spot-city">
|
||||||
<div class="show-list">
|
<div class="show-list">
|
||||||
<AuditProgress
|
<a-spin :spinning="spinning">
|
||||||
v-if="showParent"
|
<AuditProgress
|
||||||
:year="year"
|
v-if="showParent"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:batchOptions="batchOptions"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:batchOptions="batchOptions"
|
||||||
:dataList="dataList"
|
:yearOptions="yearOptions"
|
||||||
@auditProgressScreenChange="auditProgressScreenChange"
|
:dataList="dataList"
|
||||||
@showInfo="changeShowInfo"
|
@auditProgressScreenChange="auditProgressScreenChange"
|
||||||
/>
|
@showInfo="changeShowInfo"
|
||||||
<MapList
|
/>
|
||||||
@changeTask="changeTask"
|
<MapList
|
||||||
@changeShowParent="changeShowParent"
|
@changeTask="changeTask"
|
||||||
:areaId="areaId"
|
@changeShowParent="changeShowParent"
|
||||||
:level="level"
|
:areaId="areaId"
|
||||||
:year="year"
|
:level="level"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:patchSource="patchSource"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:patchSource="patchSource"
|
||||||
:batchOptions="batchOptions"
|
:yearOptions="yearOptions"
|
||||||
v-else
|
:batchOptions="batchOptions"
|
||||||
/>
|
@openLoading="openLoading"
|
||||||
|
@closeLoading="closeLoading"
|
||||||
|
v-else
|
||||||
|
/>
|
||||||
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-box-div">
|
<div class="map-box-div">
|
||||||
<MapboxMap
|
<MapboxMap
|
||||||
|
|
@ -59,6 +63,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const spinning = ref(false)
|
||||||
const showParent = ref(true);
|
const showParent = ref(true);
|
||||||
const year = ref();
|
const year = ref();
|
||||||
const batch = ref();
|
const batch = ref();
|
||||||
|
|
@ -92,16 +97,24 @@
|
||||||
showParent.value = true;
|
showParent.value = true;
|
||||||
}
|
}
|
||||||
async function getCountList() {
|
async function getCountList() {
|
||||||
|
spinning.value = true
|
||||||
const data = await LoadReformCaseCount({
|
const data = await LoadReformCaseCount({
|
||||||
year: year.value,
|
year: year.value,
|
||||||
tubanlaiyuan: patchSource.value,
|
tubanlaiyuan: patchSource.value,
|
||||||
picihao: batch.value,
|
picihao: batch.value,
|
||||||
});
|
});
|
||||||
|
spinning.value = false
|
||||||
dataList.value = data;
|
dataList.value = data;
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getCountList();
|
getCountList();
|
||||||
});
|
});
|
||||||
|
const openLoading = () => {
|
||||||
|
spinning.value = true
|
||||||
|
}
|
||||||
|
const closeLoading = () => {
|
||||||
|
spinning.value = false
|
||||||
|
}
|
||||||
function changeTask(record) {
|
function changeTask(record) {
|
||||||
if(record?.geomid){
|
if(record?.geomid){
|
||||||
// handlerGetMapConfigByFormId(record.processcode);
|
// handlerGetMapConfigByFormId(record.processcode);
|
||||||
|
|
@ -167,6 +180,12 @@
|
||||||
.show-list {
|
.show-list {
|
||||||
width: 590px;
|
width: 590px;
|
||||||
background: #EFEFEF;
|
background: #EFEFEF;
|
||||||
|
:deep(.ant-spin-nested-loading) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
:deep(.ant-spin-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.map-box-div {
|
.map-box-div {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
||||||
const emits = defineEmits(['changeTask', 'changeShowParent']);
|
const emits = defineEmits(['changeTask', 'changeShowParent','openLoading','closeLoading']);
|
||||||
|
|
||||||
const flowWfDataStore = flowStore();
|
const flowWfDataStore = flowStore();
|
||||||
|
|
||||||
|
|
@ -268,7 +268,9 @@
|
||||||
}
|
}
|
||||||
async function getTaskList() {
|
async function getTaskList() {
|
||||||
console.log(params.value);
|
console.log(params.value);
|
||||||
|
emits('openLoading')
|
||||||
const data = await getLoadTaskIllegalDetailList(params.value);
|
const data = await getLoadTaskIllegalDetailList(params.value);
|
||||||
|
emits('closeLoading')
|
||||||
dataList.value = data.items;
|
dataList.value = data.items;
|
||||||
total.value = data.total;
|
total.value = data.total;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="curb-spot-city">
|
<div class="curb-spot-city">
|
||||||
<div class="show-list">
|
<div class="show-list">
|
||||||
<AuditProgress
|
<a-spin :spinning="spinning">
|
||||||
v-if="showParent"
|
<AuditProgress
|
||||||
:year="year"
|
v-if="showParent"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:batchOptions="batchOptions"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:batchOptions="batchOptions"
|
||||||
:dataList="dataList"
|
:yearOptions="yearOptions"
|
||||||
@auditProgressScreenChange="auditProgressScreenChange"
|
:dataList="dataList"
|
||||||
@showInfo="changeShowInfo"
|
@auditProgressScreenChange="auditProgressScreenChange"
|
||||||
/>
|
@showInfo="changeShowInfo"
|
||||||
<MapList
|
/>
|
||||||
@changeTask="changeTask"
|
<MapList
|
||||||
@changeShowParent="changeShowParent"
|
@changeTask="changeTask"
|
||||||
:areaId="areaId"
|
@changeShowParent="changeShowParent"
|
||||||
:level="level"
|
:areaId="areaId"
|
||||||
:year="year"
|
:level="level"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:patchSource="patchSource"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:patchSource="patchSource"
|
||||||
:batchOptions="batchOptions"
|
:yearOptions="yearOptions"
|
||||||
v-else
|
:batchOptions="batchOptions"
|
||||||
/>
|
@openLoading="openLoading"
|
||||||
|
@closeLoading="closeLoading"
|
||||||
|
v-else
|
||||||
|
/>
|
||||||
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-box-div">
|
<div class="map-box-div">
|
||||||
<MapboxMap
|
<MapboxMap
|
||||||
|
|
@ -59,6 +63,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const spinning = ref(false)
|
||||||
const showParent = ref(true);
|
const showParent = ref(true);
|
||||||
const year = ref();
|
const year = ref();
|
||||||
const batch = ref();
|
const batch = ref();
|
||||||
|
|
@ -92,16 +97,24 @@
|
||||||
showParent.value = true;
|
showParent.value = true;
|
||||||
}
|
}
|
||||||
async function getCountList() {
|
async function getCountList() {
|
||||||
|
spinning.value = true
|
||||||
const data = await getLoadTaskCount({
|
const data = await getLoadTaskCount({
|
||||||
year: year.value,
|
year: year.value,
|
||||||
tubanlaiyuan: patchSource.value,
|
tubanlaiyuan: patchSource.value,
|
||||||
picihao: batch.value,
|
picihao: batch.value,
|
||||||
});
|
});
|
||||||
|
spinning.value = false
|
||||||
dataList.value = data;
|
dataList.value = data;
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getCountList();
|
getCountList();
|
||||||
});
|
});
|
||||||
|
const openLoading = () => {
|
||||||
|
spinning.value = true
|
||||||
|
}
|
||||||
|
const closeLoading = () => {
|
||||||
|
spinning.value = false
|
||||||
|
}
|
||||||
function changeTask(record) {
|
function changeTask(record) {
|
||||||
if(record?.geomid){
|
if(record?.geomid){
|
||||||
// handlerGetMapConfigByFormId(record.processcode);
|
// handlerGetMapConfigByFormId(record.processcode);
|
||||||
|
|
@ -167,6 +180,12 @@
|
||||||
.show-list {
|
.show-list {
|
||||||
width: 590px;
|
width: 590px;
|
||||||
background: #EFEFEF;
|
background: #EFEFEF;
|
||||||
|
:deep(.ant-spin-nested-loading) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
:deep(.ant-spin-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.map-box-div {
|
.map-box-div {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
||||||
const emits = defineEmits(['changeTask', 'changeShowParent']);
|
const emits = defineEmits(['changeTask', 'changeShowParent','openLoading','closeLoading']);
|
||||||
|
|
||||||
const flowWfDataStore = flowStore();
|
const flowWfDataStore = flowStore();
|
||||||
|
|
||||||
|
|
@ -268,7 +268,9 @@
|
||||||
}
|
}
|
||||||
async function getTaskList() {
|
async function getTaskList() {
|
||||||
console.log(params.value);
|
console.log(params.value);
|
||||||
|
emits('openLoading')
|
||||||
const data = await getLoadTaskDetailList(params.value);
|
const data = await getLoadTaskDetailList(params.value);
|
||||||
|
emits('closeLoading')
|
||||||
dataList.value = data.items;
|
dataList.value = data.items;
|
||||||
total.value = data.total;
|
total.value = data.total;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="curb-spot-city">
|
<div class="curb-spot-city">
|
||||||
<div class="show-list">
|
<div class="show-list">
|
||||||
<AuditProgress
|
<a-spin :spinning="spinning">
|
||||||
v-if="showParent"
|
<AuditProgress
|
||||||
:year="year"
|
v-if="showParent"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:batchOptions="batchOptions"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:batchOptions="batchOptions"
|
||||||
:dataList="dataList"
|
:yearOptions="yearOptions"
|
||||||
@auditProgressScreenChange="auditProgressScreenChange"
|
:dataList="dataList"
|
||||||
@showInfo="changeShowInfo"
|
@auditProgressScreenChange="auditProgressScreenChange"
|
||||||
/>
|
@showInfo="changeShowInfo"
|
||||||
<MapList
|
/>
|
||||||
@changeTask="changeTask"
|
<MapList
|
||||||
@changeShowParent="changeShowParent"
|
@changeTask="changeTask"
|
||||||
:areaId="areaId"
|
@changeShowParent="changeShowParent"
|
||||||
:level="level"
|
:areaId="areaId"
|
||||||
:year="year"
|
:level="level"
|
||||||
:batch="batch"
|
:year="year"
|
||||||
:patchSource="patchSource"
|
:batch="batch"
|
||||||
:yearOptions="yearOptions"
|
:patchSource="patchSource"
|
||||||
:batchOptions="batchOptions"
|
:yearOptions="yearOptions"
|
||||||
v-else
|
:batchOptions="batchOptions"
|
||||||
/>
|
@openLoading="openLoading"
|
||||||
|
@closeLoading="closeLoading"
|
||||||
|
v-else
|
||||||
|
/>
|
||||||
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-box-div">
|
<div class="map-box-div">
|
||||||
<MapboxMap
|
<MapboxMap
|
||||||
|
|
@ -59,6 +63,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const spinning = ref(false)
|
||||||
const showParent = ref(true);
|
const showParent = ref(true);
|
||||||
const year = ref();
|
const year = ref();
|
||||||
const batch = ref();
|
const batch = ref();
|
||||||
|
|
@ -92,12 +97,14 @@
|
||||||
showParent.value = true;
|
showParent.value = true;
|
||||||
}
|
}
|
||||||
async function getCountList() {
|
async function getCountList() {
|
||||||
|
spinning.value = true
|
||||||
const data = await getLoadTaskCount({
|
const data = await getLoadTaskCount({
|
||||||
year: year.value,
|
year: year.value,
|
||||||
tubanlaiyuan: patchSource.value,
|
tubanlaiyuan: patchSource.value,
|
||||||
picihao: batch.value,
|
picihao: batch.value,
|
||||||
illegal: 1,
|
illegal: 1,
|
||||||
});
|
});
|
||||||
|
spinning.value = false
|
||||||
dataList.value = data;
|
dataList.value = data;
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
@ -105,6 +112,12 @@
|
||||||
// TODO 获取批次
|
// TODO 获取批次
|
||||||
batchOptions.value = [];
|
batchOptions.value = [];
|
||||||
});
|
});
|
||||||
|
const openLoading = () => {
|
||||||
|
spinning.value = true
|
||||||
|
}
|
||||||
|
const closeLoading = () => {
|
||||||
|
spinning.value = false
|
||||||
|
}
|
||||||
function changeTask(record) {
|
function changeTask(record) {
|
||||||
if (record?.geomid) {
|
if (record?.geomid) {
|
||||||
// handlerGetMapConfigByFormId(record.processcode);
|
// handlerGetMapConfigByFormId(record.processcode);
|
||||||
|
|
@ -167,6 +180,12 @@
|
||||||
.show-list {
|
.show-list {
|
||||||
width: 590px;
|
width: 590px;
|
||||||
background: #efefef;
|
background: #efefef;
|
||||||
|
:deep(.ant-spin-nested-loading) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
:deep(.ant-spin-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.map-box-div {
|
.map-box-div {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue