@@ -162,7 +162,10 @@ export default {
uploadListData: [ // 上传列表
],
folderListChecked: -1,
- tabType: null
+ tabType: null,
+ audioNum: 0,
+ imgNum: 0,
+ videoNum: 0
}
},
computed: {
@@ -178,7 +181,6 @@ export default {
}
},
activeIndex(newName, oldName) {
- // console.log(newName)
this.tabIndex = newName
},
'$route.query.folderTag'(Val) {
@@ -186,7 +188,7 @@ export default {
}
},
created() {
- console.log(localStorage.getItem('materialTabIndex'))
+ // console.log(localStorage.getItem('materialTabIndex'))
},
mounted: function() {
console.log(this.$route.query.folderTag)
@@ -228,6 +230,9 @@ export default {
}
this.materialFolders = res.data.materialFolders
this.materialList = res.data.pageThemeVO
+ this.audioNum = res.data.audioNum
+ this.imgNum = res.data.imgNum
+ this.videoNum = res.data.videoNum
// 创建文件夹获取data
this.thisFoldId = res.data.thisFoldId
})
diff --git a/src/views/publishContent/historyList/index.vue b/src/views/publishContent/historyList/index.vue
index 20127c2..21a6a67 100644
--- a/src/views/publishContent/historyList/index.vue
+++ b/src/views/publishContent/historyList/index.vue
@@ -2,7 +2,6 @@
-
@@ -48,7 +47,8 @@
-
+
+
@@ -67,21 +67,14 @@ export default {
data() {
return {
- form: {
-
- },
- queryInfo: {
- release_name: '',
- orga_id: '133221333123111',
- page: 1,
- size: 3
- },
- // 发布历史列表
- publishHistoryList: [],
+ orga_id: '133221333123111',
+ page: 1,
+ size: 10,
// 总条数
total: 0,
+ // 发布历史列表
+ publishHistoryList: [],
selectedList: []
-
}
},
mounted() {
@@ -89,8 +82,14 @@ export default {
},
methods: {
// 获取发布历史列表
- getPublishHistory() {
- const params = this.queryInfo
+ getPublishHistory(pager = 1) {
+ this.page = pager
+ const params = {
+ release_name: '',
+ orga_id: this.orga_id,
+ page: this.page,
+ size: this.size
+ }
reqPublishHistory(params).then(res => {
if (res.code == 200) {
this.publishHistoryList = res.data.content
@@ -119,6 +118,12 @@ export default {
this.clearBtnDisabled = true
}
console.log(val)
+ },
+ // 每条显示数据改变时的事件
+ handleSizeChange(size) {
+ // 整理参数
+ this.size = size
+ this.getPublishHistory()
}
}
}
diff --git a/src/views/publishContent/urgentMessage/index.vue b/src/views/publishContent/urgentMessage/index.vue
index 2839590..ab7f27d 100644
--- a/src/views/publishContent/urgentMessage/index.vue
+++ b/src/views/publishContent/urgentMessage/index.vue
@@ -36,7 +36,7 @@
-
+
@@ -178,7 +178,7 @@ export default {
notice_name: '',
orga_id: '133221333123111',
page: 1,
- size: 3
+ size: 10
},
total: 0,
messageVisible: false,
@@ -293,13 +293,13 @@ export default {
this.form.context_position_name = '底部'
}
// 判断速度
- // if(context_speed_name == 0){
- // this.form.context_speed_name='1s'
- // }else if(this.form.context_speed==1){
- // this.form.context_speed_name='2s'
- // }else{
- // this.form.context_speed_name='3s'
- // }
+ if (this.form.context_speed_name == 0) {
+ this.form.context_speed_name = '1s'
+ } else if (this.form.context_speed == 1) {
+ this.form.context_speed_name = '2s'
+ } else {
+ this.form.context_speed_name = '3s'
+ }
// 判断文字大小
if (this.form.context_size == 0) {
this.form.context_size_name = '16'
@@ -345,7 +345,7 @@ export default {
: '添加紧急通知成功'
})
this.messageVisible = false
- this.getUrgentMessage(this.form.notice_id ? this.queryInfo : 1)
+ this.getUrgentMessage(this.queryInfo.page)
}
})
}