diff --git a/src/views/projectAdmin/zjsj/command/rightThree.vue b/src/views/projectAdmin/zjsj/command/rightThree.vue index fc8db1da..dfda693e 100644 --- a/src/views/projectAdmin/zjsj/command/rightThree.vue +++ b/src/views/projectAdmin/zjsj/command/rightThree.vue @@ -4,7 +4,7 @@
- +
{{ item.value }}
@@ -46,9 +46,9 @@ export default { return { // 左边的列表 leftList: { - 'PM2.5': { label: 'PM2.5', value: 68, unit: 'μg/m³', image: require('../assets/images/command-center/icon-pm25.png'), }, - PM10: { label: 'PM10', value: 36, unit: 'μg/m³', image: require('../assets/images/command-center/icon-pm10.png') }, - 噪音: { label: '噪音', value: 13, unit: '%dB', image: require('../assets/images/command-center/icon-noise.png') } + 'PM2.5': { label: 'PM2.5', value: 68, unit: 'μg/m³', image: require('../assets/images/command-center/icon-pm25.png') }, + 'PM10': { label: 'PM10', value: 36, unit: 'μg/m³', image: require('../assets/images/command-center/icon-pm10.png') }, + '噪音': { label: '噪音', value: 13, unit: '%dB', image: require('../assets/images/command-center/icon-noise.png') } }, // 右边的列表 rightList: { @@ -77,7 +77,12 @@ export default { } } }, - methods: {} + created() { + this.getList() + }, + methods: { + getList() {}, + } } diff --git a/src/views/projectAdmin/zjsj/progress/topRight.vue b/src/views/projectAdmin/zjsj/progress/topRight.vue index 933a055e..237e2116 100644 --- a/src/views/projectAdmin/zjsj/progress/topRight.vue +++ b/src/views/projectAdmin/zjsj/progress/topRight.vue @@ -50,12 +50,15 @@ export default { /** 查询待办事项列表 */ getList() { if (this.activeTab == 0) { - listProgressOfTheTask({ projectSn: this.projectSn, isNoStart: true }).then(res => { + listProgressOfTheTask({ projectSn: this.projectSn, state: 1 }).then(res => { console.log('查询待办事项列表: ', res); this.todoList = res.result; }) } else { - + listProgressOfTheTask({ projectSn: this.projectSn, state: 0 }).then(res => { + console.log('查询未来提醒列表: ', res); + this.todoList = res.result; + }) } }, /** tab点击事件 */