Browse Source

添加时分秒

shibei_master
jianjun 3 years ago
parent
commit
3a44f6c25d
  1. 16
      src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue

16
src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue

@ -327,8 +327,8 @@ export default {
start.setTime(start.getTime() - 3600 * 1000 * 24 * 183); start.setTime(start.getTime() - 3600 * 1000 * 24 * 183);
} }
if (index != '0') { if (index != '0') {
this.queryStartTime = dateFormat(start,'yyyy-MM-dd') this.queryStartTime = dateFormat(start,'yyyy-MM-dd')+" 00:00:00"
this.queryEndTime = dateFormat(end,'yyyy-MM-dd') this.queryEndTime = dateFormat(end,'yyyy-MM-dd')+" 23:59:59"
} }
if (index !== '0'){ if (index !== '0'){
await this.getApiData() await this.getApiData()
@ -345,8 +345,8 @@ export default {
handleSelectChange (value) { handleSelectChange (value) {
console.log(value) console.log(value)
this.queryStartTime = value[0] this.queryStartTime = value[0]+" 00:00:00"
this.queryEndTime = value[1] this.queryEndTime = value[1]+" 23:59:59"
this.getApiData(); this.getApiData();
}, },
@ -411,7 +411,7 @@ export default {
{ {
name: '处理中', name: '处理中',
count: data.processingCount, count: data.processingCount,
percent: data.pendingRatio, percent: data.processingRatio,
url: require('@/assets/img/shuju/measure/lv@2x.png') url: require('@/assets/img/shuju/measure/lv@2x.png')
} }
] ]
@ -420,11 +420,11 @@ export default {
{ {
name: "已完成", name: "已完成",
value: 70//parseInt(data.closedRatio*100) value: data.closedRatio*100
}, },
{ {
name: "处理中", name: "处理中",
value: 30//parseInt(data.pendingRatio*100) value: data.processingRatio*100
}, },
] ]
@ -633,7 +633,7 @@ export default {
} }
}); });
this.pieOption.series[1].data = this.pieData this.pieOption.series[1].data = this.pieData
this.demand.pageNo = 0 this.demand.pageNo = 1
this.getTable() this.getTable()
// this.$refs.pieChart.hideLoading() // this.$refs.pieChart.hideLoading()

Loading…
Cancel
Save