【举证审核】【接收办理】样式修改

dianlixunjian
Zhufu 2024-07-10 15:15:24 +08:00
parent c49d7010ae
commit 7035d5e43b
4 changed files with 129 additions and 24 deletions

View File

@ -95,7 +95,7 @@
> >
<div class="data-list-layout-div"> <div class="data-list-layout-div">
<div class="data-list-title-div"> <div class="data-list-title-div">
<img src="/positioning.png" class="map-mark"/> <img src="/positioning.png" class="map-mark" @click="locationFun(item)"/>
<div class="label-div"> <div class="label-div">
<div class="item-label">{{item.countyname}}</div> <div class="item-label">{{item.countyname}}</div>
<div class="item-sub-label"> <div class="item-sub-label">
@ -119,19 +119,19 @@
</div> </div>
<div class="data-list-info-div"> <div class="data-list-info-div">
<div class="info-layout-div"> <div class="info-layout-div">
<div class="info-item" style="width: 79px;"> <div class="info-item">
<div class="info-label"></div> <div class="info-label"></div>
<div class="info-data">{{item.area}}</div> <div class="info-data">{{item.area}}</div>
</div> </div>
<div class="info-item" style="width: 79px;"> <div class="info-item">
<div class="info-label"></div> <div class="info-label"></div>
<div class="info-data">{{item.gengdi_area}}</div> <div class="info-data">{{item.gengdi_area}}</div>
</div> </div>
<div class="info-item" style="width: 90px;"> <div class="info-item">
<div class="info-label"></div> <div class="info-label"></div>
<div class="info-data">{{item.yongjiujibennongtian_area}}</div> <div class="info-data">{{item.yongjiujibennongtian_area}}</div>
</div> </div>
<div class="info-item" style="width: 90px;"> <div class="info-item">
<div class="info-label"></div> <div class="info-label"></div>
<div class="info-data">{{item.nongyongdi_area}}</div> <div class="info-data">{{item.nongyongdi_area}}</div>
</div> </div>
@ -452,7 +452,7 @@
.screen-div { .screen-div {
padding: 10px 10px 19px 10px; padding: 10px 10px 19px 10px;
display: flex; display: flex;
width: 565px; width: 590px;
// margin-top: 10px; // margin-top: 10px;
flex-wrap: wrap; flex-wrap: wrap;
// background: @component-background; // background: @component-background;
@ -530,6 +530,8 @@
padding: 10px; padding: 10px;
// margin-top: 10px; // margin-top: 10px;
height: 60vh; height: 60vh;
scrollbar-width: none; /* firefox */
-ms-overflow-style: none; /* IE 10+ */
.data-list-item{ .data-list-item{
background:#fff; background:#fff;
padding:10px; padding:10px;
@ -547,6 +549,7 @@
.map-mark{ .map-mark{
width:17px; width:17px;
height:17px; height:17px;
cursor:pointer;
} }
.label-div{ .label-div{
display: flex; display: flex;
@ -650,6 +653,9 @@
border-bottom-right-radius: 6px; border-bottom-right-radius: 6px;
} }
} }
.data-list-div::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
.pagination-div { .pagination-div {
background: @component-background; background: @component-background;
padding: 0 10px 10px; padding: 0 10px 10px;

View File

@ -196,7 +196,7 @@
height: 100%; height: 100%;
display: flex; display: flex;
.show-list { .show-list {
width: 565px; width: 590px;
background: #EFEFEF; background: #EFEFEF;
} }
.map-box-div { .map-box-div {

View File

@ -3,7 +3,7 @@
<div class="top-radio-button-div"> <div class="top-radio-button-div">
<a-radio-group <a-radio-group
v-model:value="props.infoScreenData.landType" v-model:value="props.infoScreenData.landType"
@change="(value) => emits('mapListScreenChange','landType')" @change="(e) => emits('mapListScreenChange',e.target.value,'landType')"
button-style="solid" button-style="solid"
style="width:100%"> style="width:100%">
<a-radio-button :value="0" class="radio-item">农用地</a-radio-button> <a-radio-button :value="0" class="radio-item">农用地</a-radio-button>
@ -88,8 +88,8 @@
</div> </div>
<div class="sift-div"> <div class="sift-div">
<div class="layout-div"> <div class="layout-div">
<RollbackOutlined class="back-button" @click="emits('closeShowInfo', false)"/> <!-- <RollbackOutlined class="back-button" @click="emits('closeShowInfo', false)"/> -->
<div class="interval-div"></div> <!-- <div class="interval-div"></div> -->
<div class="sift-item" @click="dataListSort('area')"> <div class="sift-item" @click="dataListSort('area')">
<div class="sift-label">总面积</div> <div class="sift-label">总面积</div>
<div class="sift-icon"> <div class="sift-icon">
@ -181,7 +181,7 @@
<div v-for="(item, index) in props.infoDataList" :key="index" class="data-list-item"> <div v-for="(item, index) in props.infoDataList" :key="index" class="data-list-item">
<div class="data-list-layout-div"> <div class="data-list-layout-div">
<div class="data-list-title-div"> <div class="data-list-title-div">
<img src="/positioning.png" class="map-mark"/> <img src="/positioning.png" class="map-mark" style="cursor:pointer;" @click="locationFun(item)"/>
<div class="label-div"> <div class="label-div">
<div class="item-label">{{item.countyname}}</div> <div class="item-label">{{item.countyname}}</div>
<div class="item-sub-label"> <div class="item-sub-label">
@ -191,26 +191,26 @@
</div> </div>
<div class="item-mark" v-if="item.isbuildname">{{item.isbuildname}}</div> <div class="item-mark" v-if="item.isbuildname">{{item.isbuildname}}</div>
</div> </div>
<div class="data-item-type-div" style="cursor:pointer;" @click="() => {}"> <div class="data-item-type-div" style="cursor:pointer;" @click="goAudit(item)">
{{item.unitname}} {{item.unitname}}
</div> </div>
</div> </div>
<div class="data-list-info-div"> <div class="data-list-info-div">
<div class="info-layout-div"> <div class="info-layout-div">
<div class="info-item" style="width: 67px;"> <div class="info-item">
<div class="info-label"></div> <div class="info-label"></div>
<div class="info-data">{{item.area}}</div> <div class="info-data">{{item.area}}</div>
</div> </div>
<div class="info-item" style="width: 67px;"> <div class="info-item">
<div class="info-label"></div> <div class="info-label"></div>
<div class="info-data">{{item.gengdiarea}}</div> <div class="info-data">{{item.gengdiarea}}</div>
</div> </div>
<div class="info-item"> <div class="info-item">
<div class="info-label" style="width: 80px;"></div> <div class="info-label"></div>
<div class="info-data">{{item.yongjiujibennongtianarea}}</div> <div class="info-data">{{item.yongjiujibennongtianarea}}</div>
</div> </div>
<div class="info-item"> <div class="info-item">
<div class="info-label" style="width: 80px;"></div> <div class="info-label"></div>
<div class="info-data">{{item.nongyongdiarea}}</div> <div class="info-data">{{item.nongyongdiarea}}</div>
</div> </div>
</div> </div>
@ -251,6 +251,36 @@
<ShowInfoModal :showInfoData="showInfoData"/> <ShowInfoModal :showInfoData="showInfoData"/>
</div> </div>
</a-modal> </a-modal>
<a-modal
width="100%"
wrap-class-name="full-modal"
v-model:open="auditOpen"
title="审核"
footer=""
:destroyOnClose="true"
>
<template #footer> </template>
<div class="handoff">
<a-button
type="primary"
style="margin-right: 25px;"
@click="prevData"
>上一条</a-button>
<a-button
type="primary"
@click="nextData"
>下一条</a-button>
</div>
<Audit
v-if="handoffShow"
ref="posRef"
:processId="processId"
:taskId="taskId"
:isRead="isRead"
:type="type"
@closeModel="closeMolder"
/>
</a-modal>
</div> </div>
</template> </template>
@ -273,8 +303,10 @@ import {
import { useUserStore } from '@/store/modules/user.ts' import { useUserStore } from '@/store/modules/user.ts'
import { message } from "ant-design-vue"; import { message } from "ant-design-vue";
import ShowInfoModal from './ShowInfoModal/index.vue' import ShowInfoModal from './ShowInfoModal/index.vue'
import { flowStore } from '@/store/modules/flow';
import { getDetail } from '@/api/sys/WFSchemeInfo';
const userStore = useUserStore() const userStore = useUserStore()
const flowWfDataStore = flowStore();
const emits = defineEmits([ const emits = defineEmits([
"closeShowInfo", "closeShowInfo",
"mapListScreenChange", "mapListScreenChange",
@ -310,6 +342,13 @@ const orderMark = () => {
} }
} }
const showInfoOpen = ref(false) const showInfoOpen = ref(false)
const showDataIndex = ref()
const auditOpen = ref(false);
const processId = ref('');
const taskId = ref('');
const type = ref('');
const handoffShow = ref(true)
const isRead: any = ref(0);
const openCollect = computed(() => { const openCollect = computed(() => {
if(props.infoScreenData.type === '') return false if(props.infoScreenData.type === '') return false
return true return true
@ -382,6 +421,61 @@ const showInfo = (item) => {
showInfoOpen.value = true showInfoOpen.value = true
}) })
} }
async function goAudit(record) {
showDataIndex.value = props.infoDataList.findIndex(item => item.taskeid === record.taskeid)
let data = await getDetail({ code: record.processcode });
let scheme = JSON.parse(data.scheme.content);
let wfData = scheme.wfData;
flowWfDataStore.setWfDataAll(wfData);
auditOpen.value = true;
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
}
const prevData = async () => {
if(showDataIndex.value === 0){
if(props.pageNo === 1){
message.warning('已经是第一条数据了')
return
}
await emits('changeInfoPage',props.pageNo - 1,props.pageSize)
showDataIndex.value = props.infoDataList.length -1
}else{
showDataIndex.value = showDataIndex.value -1
}
handoffShow.value = false
let record = props.infoDataList[showDataIndex.value]
let data = await getDetail({ code: record.processcode });
let scheme = JSON.parse(data.scheme.content);
let wfData = scheme.wfData;
flowWfDataStore.setWfDataAll(wfData);
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
}
const nextData = async () => {
if(showDataIndex.value === props.infoDataList.length -1){
if(Math.ceil(props.total / props.pageSize) === props.pageNo){
message.warning('已经是最后一条数据了')
return
}
await emits('changeInfoPage',props.pageNo + 1,props.pageSize)
showDataIndex.value = 0
}else{
showDataIndex.value = showDataIndex.value + 1
}
handoffShow.value = false
let record = props.infoDataList[showDataIndex.value]
let data = await getDetail({ code: record.processcode });
let scheme = JSON.parse(data.scheme.content);
let wfData = scheme.wfData;
flowWfDataStore.setWfDataAll(wfData);
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@ -422,7 +516,7 @@ const showInfo = (item) => {
.screen-div{ .screen-div{
padding: 10px; padding: 10px;
display: flex; display: flex;
width:565px; width:590px;
flex-wrap: wrap; flex-wrap: wrap;
.screen-item{ .screen-item{
width: 33.3%; width: 33.3%;
@ -513,6 +607,8 @@ const showInfo = (item) => {
flex: 1; flex: 1;
overflow: auto; overflow: auto;
padding: 10px; padding: 10px;
scrollbar-width: none; /* firefox */
-ms-overflow-style: none; /* IE 10+ */
.data-list-item{ .data-list-item{
background:#fff; background:#fff;
padding:10px; padding:10px;
@ -619,6 +715,9 @@ const showInfo = (item) => {
border-bottom-right-radius: 6px border-bottom-right-radius: 6px
} }
} }
.data-list-div::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
.pagination-div{ .pagination-div{
height: 60px; height: 60px;
display: flex; display: flex;

View File

@ -2,7 +2,7 @@
<div class="curb-spot-city"> <div class="curb-spot-city">
<div class="show-list"> <div class="show-list">
<a-spin :spinning="spinning"> <a-spin :spinning="spinning">
<AuditProgress <!-- <AuditProgress
v-if="!showInfo" v-if="!showInfo"
:year="year" :year="year"
:batch="batch" :batch="batch"
@ -11,9 +11,8 @@
:dataList="dataList" :dataList="dataList"
@auditProgressScreenChange="auditProgressScreenChange" @auditProgressScreenChange="auditProgressScreenChange"
@showInfo="changeShowInfo" @showInfo="changeShowInfo"
/> /> -->
<MapList <MapList
v-if="showInfo"
:infoScreenData="infoScreenData" :infoScreenData="infoScreenData"
:cityType="cityType" :cityType="cityType"
:pageNo="pageNo" :pageNo="pageNo"
@ -136,6 +135,7 @@ const mapListScreenChange = (value, type) => {
switch(type){ switch(type){
case 'landType': case 'landType':
infoScreenData.value.landType = value infoScreenData.value.landType = value
getInfoList()
break break
case 'year': case 'year':
infoScreenData.value.year = value infoScreenData.value.year = value
@ -351,10 +351,10 @@ const getInfoList = () => {
spinning.value = false spinning.value = false
}) })
} }
const changeInfoPage = (page, limit) => { const changeInfoPage = async(page, limit) => {
pageNo.value = page pageNo.value = page
pageSize.value = limit pageSize.value = limit
getInfoList() await getInfoList()
} }
const collectChange = (value) => { const collectChange = (value) => {
pageNo.value = 1 pageNo.value = 1
@ -440,7 +440,7 @@ onMounted(() => {
height: 100%; height: 100%;
display: flex; display: flex;
.show-list{ .show-list{
width: 565px; width: 590px;
background: #EFEFEF; background: #EFEFEF;
:deep(.ant-spin-nested-loading){ :deep(.ant-spin-nested-loading){
height: 100%; height: 100%;