You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
251 lines
5.3 KiB
251 lines
5.3 KiB
<template>
|
|
<div class="address_edit">
|
|
<!-- 中间 -->
|
|
<div class="warp_body">
|
|
<div v-if="false" class="nodata">
|
|
<p>暂无数据</p>
|
|
</div>
|
|
<div class="timbox">
|
|
<div class="timitem curtime" >
|
|
<!-- <h4 class="timtit" v-if="item.state == 20">处理中</h4>
|
|
<h4 class="timtit" v-if="item.state == 20">已处理</h4>
|
|
<h4 class="timtit" v-if="item.state == 20">已办结</h4> -->
|
|
<div class="progress-box" v-for="(item,index) in result" :key="index">
|
|
<div class="prolist"><label>处理单位:</label><span>{{ item.appOrgName }}</span></div>
|
|
<div class="prolist"><label>处理意见:</label><span>{{ item.approveContent }}</span></div>
|
|
<div class="prolist"><label>处理时间:</label><span>{{ item.approveTime }}</span></div>
|
|
</div>
|
|
<!-- <div class="progress-box">
|
|
<div class="prolist"><label>处理部门:</label><span>深圳市司法局</span></div>
|
|
<div class="prolist"><label>处理意见:</label><span>请行政执法监督处跟进处理</span></div>
|
|
<div class="prolist"><label>处理时间:</label><span>12-06 11:15</span></div>
|
|
</div> -->
|
|
</div>
|
|
<!-- <div class="timitem">
|
|
<h4 class="timtit">已受理</h4>
|
|
</div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script setup>
|
|
import { onMounted } from 'vue';
|
|
import { defineProps } from 'vue'
|
|
const emits = defineEmits(['reciveData','close']);
|
|
//路由参数
|
|
const router = useRouter();
|
|
const route = useRoute();
|
|
const isShow = ref(false);
|
|
const props = defineProps({
|
|
data: Object
|
|
})
|
|
// const result = reactive({
|
|
// appOrgName:"",
|
|
// approveContent:"",
|
|
// approveTime:"",
|
|
// approveUserName:"",
|
|
// operName:""
|
|
// })
|
|
//存储民生诉求处置流程
|
|
const result = ref([]);
|
|
onMounted(() =>{
|
|
console.log(props?.data)
|
|
// console.log(props?.data)
|
|
// console.log(props?.data)
|
|
const arrData = props?.data;
|
|
console.log(arrData)
|
|
if(arrData != null && arrData != "undefined"){
|
|
for (let index = 0; index < arrData.value.length; index++) {
|
|
const element = arrData.value[index];
|
|
const obj = {
|
|
appOrgName: element.appOrgName,
|
|
approveContent: element.approveContent,
|
|
approveTime: element.approveTime,
|
|
approveUserName: element.approveUserName,
|
|
operName: element.operName
|
|
}
|
|
result.value.push(obj)
|
|
}
|
|
}
|
|
console.log(result)
|
|
|
|
})
|
|
</script>
|
|
<style lang="less" scoped>
|
|
.address_edit {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background-color: #ebf3fb;
|
|
}
|
|
|
|
.warp_body {
|
|
margin: 0 3%;
|
|
padding-bottom: 1rem;
|
|
width: 94%;
|
|
height: calc(100% - 1.15rem);
|
|
background-color: #fff;
|
|
overflow-y: auto;
|
|
margin-top: 0.15rem;
|
|
}
|
|
|
|
.nodata {
|
|
position: relative;
|
|
top: 20%;
|
|
left: 10%;
|
|
width: 80%;
|
|
height: 50%;
|
|
background: url("../../../assets/images/nodata.png") no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
|
|
.nodata p {
|
|
position: absolute;
|
|
bottom: 35%;
|
|
width: 100%;
|
|
color: #999;
|
|
text-align: center;
|
|
font-size: 0.37rem;
|
|
}
|
|
|
|
.timbox {
|
|
margin: 3% 2%;
|
|
padding-bottom: 1rem;
|
|
width: 96%;
|
|
height: 94%;
|
|
font-size: 0.37rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.timitem {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
position: relative;
|
|
margin: 2%;
|
|
width: 96%;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.curtime {
|
|
opacity: 1.0;
|
|
}
|
|
|
|
.timitem::before {
|
|
position: absolute;
|
|
z-index: 10;
|
|
left: 0.1rem;
|
|
top: 0.8rem;
|
|
content: '';
|
|
width: 0.01rem;
|
|
height: 92%;
|
|
/*background-color: rgb(155, 155, 155);*/
|
|
}
|
|
|
|
/*.timitem:last-child::before {
|
|
height: 0;
|
|
background-color: rgb(155, 155, 155);
|
|
}
|
|
|
|
.timitem::after {
|
|
position: absolute;
|
|
z-index: 10;
|
|
left: -0.2rem;
|
|
top: 0.16rem;
|
|
margin: 0.15rem;
|
|
content: '';
|
|
width: 0.35rem;
|
|
height: 0.35rem;
|
|
border-radius: 0.5rem;
|
|
background-color: rgb(155, 155, 155);
|
|
}*/
|
|
|
|
/*.curtime.timitem::after, .curtime.timitem::before {
|
|
background-color: #1367fe;
|
|
}*/
|
|
|
|
.timtit {
|
|
display: inline-block;
|
|
position: relative;
|
|
top: 0;
|
|
left: 5.5%;
|
|
margin: 2% 1%;
|
|
font-size: 0.4rem;
|
|
}
|
|
|
|
.progress-box {
|
|
position: relative;
|
|
float: left;
|
|
clear: both;
|
|
margin: 2.5% 2% 0 3%;
|
|
width: 95%;
|
|
}
|
|
|
|
.prolist {
|
|
margin: 0;
|
|
width: 100%;
|
|
color: #666;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.progress-box::before {
|
|
position: absolute;
|
|
z-index: 10;
|
|
left: -0.17rem;
|
|
top: 0.1rem;
|
|
content: '';
|
|
width: 0.01rem;
|
|
height: 100%;
|
|
background-color: rgb(155, 155, 155);
|
|
}
|
|
|
|
.progress-box:last-child::before {
|
|
height: 0;
|
|
background-color: rgb(155, 155, 155);
|
|
}
|
|
|
|
.progress-box::after {
|
|
position: absolute;
|
|
z-index: 10;
|
|
left: -0.37rem;
|
|
top: 0.1rem;
|
|
content: '';
|
|
width: 0.25rem;
|
|
height: 0.25rem;
|
|
border: 0.1rem solid #fff;
|
|
border-radius: 0.5rem;
|
|
background-color: rgb(155 155 155);
|
|
}
|
|
|
|
.progress-box:first-child::after {
|
|
left: -0.44rem;
|
|
width: 0.35rem;
|
|
height: 0.35rem;
|
|
background-color: #1367fe;
|
|
}
|
|
|
|
.curtime.tprogressimitem::after, .curtime.progress::before {
|
|
background-color: #1367fe;
|
|
}
|
|
|
|
|
|
.prolist label {
|
|
display: inline-block;
|
|
margin-right: 0.1rem;
|
|
min-width: 2rem;
|
|
color: #323233;
|
|
text-align: right;
|
|
}
|
|
|
|
.timtit, .timitem .orglist {
|
|
color: #666;
|
|
}
|
|
|
|
.curtime .timtit, .curtime .orglist {
|
|
color: #1762e7;
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|