|
|
@@ -2,6 +2,7 @@
|
|
|
<div>
|
|
|
<NavBar />
|
|
|
<van-row>
|
|
|
+
|
|
|
<van-col span="24">
|
|
|
<org-tree v-model="cascaderValue" @change="getDataList"></org-tree>
|
|
|
<!-- <van-field
|
|
|
@@ -73,7 +74,9 @@
|
|
|
<!-- 调阅列表 -->
|
|
|
<div class="bigbox">
|
|
|
<van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
|
|
|
+ <!-- <van-cell :title="item.title" v-for="item in taskList" :key="item.id" is-link :value="item.taskName" arrow-direction="down" /> -->
|
|
|
<van-panel :title="item.title" v-for="item in taskList" :key="item.id" class="card" status="状态">
|
|
|
+
|
|
|
<template #header>
|
|
|
<div class="titleClass">
|
|
|
<div class="title">
|
|
|
@@ -84,7 +87,7 @@
|
|
|
>开始调阅</van-button
|
|
|
>
|
|
|
<van-button
|
|
|
- type="info"
|
|
|
+ class="bttons"
|
|
|
size="small"
|
|
|
v-else-if="item.status != 0 && item.status != 3"
|
|
|
@click="lookInfoHandler(item.id, item.status)"
|
|
|
@@ -131,7 +134,7 @@ export default {
|
|
|
value1: JSON.parse(sessionStorage.getItem('SET_USER_ORGNAME')) || '', //输入框model
|
|
|
currentDate: newDateMonth(),
|
|
|
presentDate: '', //当前时间
|
|
|
- cascaderValue: JSON.parse(sessionStorage.getItem('SET_USER_ORGID')) || '',
|
|
|
+ cascaderValue: '',
|
|
|
columns: ['全部'],
|
|
|
statusList: [], //调阅状态字典数组
|
|
|
show: false,
|
|
|
@@ -178,6 +181,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.init()
|
|
|
+
|
|
|
this.presentDate = this.presentDateCpd
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -185,7 +189,10 @@ export default {
|
|
|
return new Date(+newDateMonth().split('-')[0], +newDateMonth().split('-')[1] - 1)
|
|
|
}
|
|
|
},
|
|
|
- mounted() {},
|
|
|
+ mounted() {
|
|
|
+ this.cascaderValue=(JSON.parse(window.sessionStorage.getItem('SET_USER_ORGID'))+'')
|
|
|
+ console.log(this.cascaderValue);
|
|
|
+ },
|
|
|
methods: {
|
|
|
//机构变化
|
|
|
getDataList(v) {
|
|
|
@@ -400,18 +407,19 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.monitor {
|
|
|
- color: white;
|
|
|
+ color: #ed6a0c;
|
|
|
padding-left: 10px;
|
|
|
padding-right: 10px;
|
|
|
font-size: 20px;
|
|
|
bottom: 5%;
|
|
|
right: 2%;
|
|
|
position: absolute;
|
|
|
- border-radius: 10px;
|
|
|
- background-color: #8cb585;
|
|
|
+ // border-radius: 10px;
|
|
|
+ // background-color: #8cb585;
|
|
|
}
|
|
|
.monitored {
|
|
|
- color: white;
|
|
|
+ color: #1989fa;
|
|
|
+
|
|
|
padding-left: 10px;
|
|
|
padding-right: 10px;
|
|
|
bottom: 5%;
|
|
|
@@ -419,19 +427,19 @@ export default {
|
|
|
|
|
|
position: absolute;
|
|
|
font-size: 20px;
|
|
|
- border-radius: 10px;
|
|
|
- background-color: #1989fa;
|
|
|
+ // border-radius: 10px;
|
|
|
+ // background-color: #1989fa;
|
|
|
}
|
|
|
.monitoring {
|
|
|
- color: white;
|
|
|
+ color: #25da0b;
|
|
|
padding-left: 10px;
|
|
|
padding-right: 10px;
|
|
|
bottom: 5%;
|
|
|
right: 2%;
|
|
|
position: absolute;
|
|
|
font-size: 20px;
|
|
|
- border-radius: 10px;
|
|
|
- background-color: #25da0b;
|
|
|
+ // border-radius: 10px;
|
|
|
+ // background-color: #25da0b;
|
|
|
}
|
|
|
.waringtoring {
|
|
|
color: white;
|
|
|
@@ -551,4 +559,8 @@ export default {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
}
|
|
|
+.bttons{
|
|
|
+ color: #1989fa;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
</style>
|