-
-
-
会记回家和
-
2023-08-24 13:14:00
-
-
-

-
-
111
-
+
+
+
+
{{ item.pushUser }}
+
{{ item.pushTime }}
+
+
+
![]()
+
{{item.name}}
+
+
{{ item.synopsis }}
+
+
{{ item.docType?.label }}
+
+ {{ item.listShowButton==null ? '已处理' : '未处理' }}
+ 阅读 {{item.readCount}}
+
+
+
+
+
@@ -59,7 +68,9 @@ export default {
pageNum:1,
pageSize:10,
keyword:'',
- trainingType:1
+ trainingType:1,
+ show:false,
+ showEmpty:false
}
},
mounted() {
@@ -68,10 +79,9 @@ export default {
methods:{
async changeTab(index) {
this.activeIndex = index
- // this.total = 0;
this.pageNum = 1
this.pageList = [];
- if(this.trainingType === 1){
+ if(this.activeIndex === 0){
this.trainingType =1
}else{
this.trainingType=2
@@ -83,11 +93,18 @@ export default {
pageNum:this.pageNum,
pageSize:this.pageSize,
docType:2,
- trainingType:this.trainingType
+ trainingType:this.trainingType,
+ keyword:this.keyword || ''
})
this.pageList=res.data;
- console.log(res)
-
+ if(res.data.length === 0){
+ this.showEmpty = true
+ }else {
+ this.showEmpty = false
+ } },
+ initShow(){
+ this.keyword= '',
+ this.getList()
}
}
}
@@ -164,11 +181,20 @@ export default {
.imgWrap{
width: 100%;
height: 200px;
+ position: relative;
//background-color: #6C81CD;
img{
width: 100%;
height: 200px;
}
+ .name{
+ position: absolute;
+ left: 30px;
+ bottom: 30px;
+ font-size: 14px;
+ font-weight: 500;
+ color: #FFFFFF;
+ }
}
.left{
color: red;
diff --git a/src/views/index/driverManage.vue b/src/views/index/driverManage.vue
index a7765e15..1513fa2a 100644
--- a/src/views/index/driverManage.vue
+++ b/src/views/index/driverManage.vue
@@ -73,7 +73,7 @@ export default {
mounted() {
const urlParams = new URLSearchParams(window.location.search);
this.supplierType = urlParams.get('supplierType');
- this.$toast('页面supplierType:'+this.supplierType)
+ // this.$toast('页面supplierType:'+this.supplierType)
this.getDriverList()
},
methods:{
@@ -85,7 +85,7 @@ export default {
}, 1000);
},
addDriver(){
- this.$toast('supplierType的值为:'+this.supplierType)
+ // this.$toast('supplierType的值为:'+this.supplierType)
if(this.supplierType == 1){
this.$toast("无权添加")
}else{