@@ -58,10 +95,10 @@
@@ -73,23 +110,27 @@
.screen-row {
display: flex;
.screen-item {
- flex: 1;
+ font-family: Alibaba PuHuiTi;
+ font-weight: 500;
+ font-size: 17px;
+ color: #000000;
+ width: 50%;
display: flex;
.screen-item-label {
- width: 55px;
+ width: 56px;
padding-left: 10px;
display: flex;
align-items: center;
- font-size: 15px;
}
}
}
}
.data-list {
- height: calc(100% - 52px);
- background: @component-background;
- margin-top: 10px;
+ height: calc(100% - 62px);
// background: darkgoldenrod;
+ // background: @component-background;
+ margin-top: 10px;
+ padding: 0px 10px;
.data-title {
height: 40px;
background: #bab9b7;
@@ -102,17 +143,58 @@
}
.show-data-list-content {
.data-item {
+ cursor: pointer;
width: 100%;
+ background: #fff;
+ border-radius: 11px;
+ padding: 10px;
+ margin-bottom: 10px;
+ .name-div {
+ display: flex;
display: flex;
height: 50px;
- align-items: center;
- padding: 10px;
- justify-content: space-between;
- border-bottom: 1px solid #ececec;
- cursor: pointer;
- .name-div {
+ display: flex;
+ height: 50px;
+ align-items: center;
+ padding: 10px 0px;
+ border-bottom: 1px solid #E5E5E5;
+ }
+ .info-data-div{
display: flex;
align-items: center;
+ justify-content: space-between;
+ margin-top: 10px;
+ .info-data-item{
+ display: flex;
+ align-items: center;
+ flex: 1;
+ justify-content: center;
+ border-right: 1px solid #EDEDED;
+ .info-data-label{
+ font-family: Alibaba PuHuiTi;
+ font-weight: 400;
+ font-size: 16px;
+ color: #959494;
+ display: flex;
+ justify-content: end;
+ flex: 1;
+ padding-right: 5px;
+ }
+ .info-data-data{
+ font-family: HarmonyOS Sans;
+ font-weight: 500;
+ font-size: 16px;
+ color: #000000;
+ line-height: 30px;
+ flex: 1;
+ display: flex;
+ justify-content: start;
+ padding-left: 5px;
+ }
+ }
+ .info-data-item:nth-last-child(1){
+ border-right: 0px;
+ }
}
.data-div {
font-weight: 500;
@@ -126,17 +208,52 @@
margin-right: 7px;
}
.item-label {
+ width: 100px;
font-size: 16px;
font-weight: 600;
margin-left: 5px;
}
+ .progress-div{
+ display:flex;
+ font-weight: 500;
+ font-size: 16px;
+ line-height: 30px;
+ margin-right: 17px;
+ .progress-label{
+ font-family: Alibaba PuHuiTi;
+ color: #FFFFFF;
+ width: 50px;
+ height: 27px;
+ border-radius: 13px 0px 0px 13px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ .progress-data{
+ background: #EFEFEF;
+ height: 27px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border-radius: 0px 0px 11px 0px;
+ }
+ .progress-color{
+ background: #086DEC;
+ }
+ .extended-color{
+ background: #D03542
+ }
+ .reviewed-color{
+ background: #EC7908
+ }
+ }
}
.data-item:hover {
background-color: rgba(8, 109, 236, 0.08);
}
- .data-item:nth-child(2n) {
- background: #ececec;
- }
+ // .data-item:nth-child(2n) {
+ // background: #ececec;
+ // }
}
}
.no-data {
diff --git a/src/views/demo/tiankongdi/changearea/index.vue b/src/views/demo/tiankongdi/changearea/index.vue
index 742893d5..90303f32 100644
--- a/src/views/demo/tiankongdi/changearea/index.vue
+++ b/src/views/demo/tiankongdi/changearea/index.vue
@@ -51,6 +51,8 @@
import { batchOptions, yearOptions } from '@/views/demo/tiankongdi/curbspotcity/util.ts';
import { getChildrenTree } from '@/api/demo/system.ts';
import { getGeom,getConfig } from '@/api/sys/layerManagement';
+ import { useMessage } from '@/hooks/web/useMessage';
+ const { createMessage } = useMessage();
const MapboxMap = defineAsyncComponent(() => import('@/components/MapboxMaps/MapComponent.vue'));
const MapboxComponent = ref();
diff --git a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue
index 08903c78..d831a0c0 100644
--- a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue
+++ b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue
@@ -170,6 +170,8 @@ import { defineProps,ref,computed } from "vue"
import MapboxMap from '@/components/MapboxMaps/MapComponent.vue'
import {getConfig} from '@/api/sys/layerManagement'
import { getGeom } from '@/api/sys/layerManagement';
+import { useMessage } from '@/hooks/web/useMessage';
+const { createMessage } = useMessage();
import Icon from '@/components/Icon/Icon.vue';
const MapboxComponent = ref();
diff --git a/src/views/demo/tiankongdi/curbspotcity/MapList/index.vue b/src/views/demo/tiankongdi/curbspotcity/MapList/index.vue
index 7054e17d..902f594e 100644
--- a/src/views/demo/tiankongdi/curbspotcity/MapList/index.vue
+++ b/src/views/demo/tiankongdi/curbspotcity/MapList/index.vue
@@ -3,7 +3,7 @@
-
-
+
+
总面积
@@ -181,7 +181,7 @@
-

+
{{item.countyname}}
@@ -191,26 +191,26 @@
{{item.isbuildname}}
-
-
+
-
+
-
基
+
基
{{item.yongjiujibennongtianarea}}亩
-
农
+
农
{{item.nongyongdiarea}}亩
@@ -251,6 +251,36 @@
+
+
+
+
+
@@ -273,8 +303,11 @@ import {
import { useUserStore } from '@/store/modules/user.ts'
import { message } from "ant-design-vue";
import ShowInfoModal from './ShowInfoModal/index.vue'
+import { flowStore } from '@/store/modules/flow';
+import { getDetail } from '@/api/sys/WFSchemeInfo';
+import { Audit } from '@/views/demo/workflow/task/process/page';
const userStore = useUserStore()
-
+const flowWfDataStore = flowStore();
const emits = defineEmits([
"closeShowInfo",
"mapListScreenChange",
@@ -310,6 +343,13 @@ const orderMark = () => {
}
}
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(() => {
if(props.infoScreenData.type === '') return false
return true
@@ -382,9 +422,70 @@ const showInfo = (item) => {
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
+}