|
@@ -1,13 +1,13 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="index-container">
|
|
<div class="index-container">
|
|
|
<top-bar ref="topbar"></top-bar>
|
|
<top-bar ref="topbar"></top-bar>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<!-- 步骤条 -->
|
|
<!-- 步骤条 -->
|
|
|
<van-tabs color="#1989fa" @click="tabClickHandler" v-if="workList&&workList.length>0">
|
|
<van-tabs color="#1989fa" @click="tabClickHandler" v-if="workList&&workList.length>0">
|
|
|
<van-tab :title="item.taskTypeText" :name="worksLink(1, item.taskType)" v-for="item in workList" :key="item.taskType" :badge="item.nums"></van-tab>
|
|
<van-tab :title="item.taskTypeText" :name="worksLink(1, item.taskType)" v-for="item in workList" :key="item.taskType" :badge="item.nums"></van-tab>
|
|
|
</van-tabs>
|
|
</van-tabs>
|
|
|
|
|
|
|
|
- <div class="big_box" @scroll="scrolling">
|
|
|
|
|
|
|
+ <div :class="big_box" @scroll="scrolling">
|
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
|
<div class="cellMargin" v-for="item in workList" :key="item.taskType">
|
|
<div class="cellMargin" v-for="item in workList" :key="item.taskType">
|
|
|
<!-- 标题区域 -->
|
|
<!-- 标题区域 -->
|
|
@@ -61,6 +61,7 @@ export default {
|
|
|
components: { TopBar, scandialog },
|
|
components: { TopBar, scandialog },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ big_box:'big_box',
|
|
|
active: 0,
|
|
active: 0,
|
|
|
taskId: '', //监控调阅ID
|
|
taskId: '', //监控调阅ID
|
|
|
workList: [], //工作台列表
|
|
workList: [], //工作台列表
|
|
@@ -72,6 +73,9 @@ export default {
|
|
|
if (this.orgId) {
|
|
if (this.orgId) {
|
|
|
this.$refs.topbar.getTheWeather()
|
|
this.$refs.topbar.getTheWeather()
|
|
|
}
|
|
}
|
|
|
|
|
+ if(this.$refs.list.length>0){
|
|
|
|
|
+ this.big_box='big_boxTwo'
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.getList()
|
|
this.getList()
|
|
@@ -342,6 +346,10 @@ export default {
|
|
|
height: calc(100vh - 520px);
|
|
height: calc(100vh - 520px);
|
|
|
overflow: auto;
|
|
overflow: auto;
|
|
|
}
|
|
}
|
|
|
|
|
+.big_boxTwo {
|
|
|
|
|
+ height: calc(100vh - 570px);
|
|
|
|
|
+ overflow: auto;
|
|
|
|
|
+}
|
|
|
a {
|
|
a {
|
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
|
color: inherit;
|
|
color: inherit;
|