Browse Source

需求分析

shibei_master
13176889840 4 years ago
parent
commit
10de535946
  1. 9
      src/views/modules/communityService/measure/index.vue
  2. 5
      src/views/modules/visual/communityParty/party.vue
  3. 2
      src/views/modules/visual/measure/service.vue

9
src/views/modules/communityService/measure/index.vue

@ -355,7 +355,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
@blur="handelBlurServiceTime" @change="handelBlurServiceTime"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@ -375,6 +375,7 @@
<div class="resi-btns"> <div class="resi-btns">
<el-button size="small" @click="handlerCancle">取消</el-button> <el-button size="small" @click="handlerCancle">取消</el-button>
<el-button <el-button
v-if="!disabled"
type="primary" type="primary"
size="small" size="small"
:loading="btnLoading" :loading="btnLoading"
@ -686,9 +687,9 @@ export default {
}, },
handelBlurServiceTime(val) { handelBlurServiceTime(val) {
console.log('val', val) console.log('val', val)
if (val.value.length > 0) { if (val.length > 0) {
this.form.serviceStartTime = val.value[0] this.form.serviceStartTime = val[0]
this.form.serviceEndTime = val.value[1] this.form.serviceEndTime = val[1]
} }
}, },

5
src/views/modules/visual/communityParty/party.vue

@ -156,6 +156,7 @@ export default {
// [1,'','','2',''], // [1,'','','2',''],
], ],
noInit: false, noInit: false,
noEduInit: false,
selectAgency: null, selectAgency: null,
ageTotalCount: 0, ageTotalCount: 0,
eduTotalCount: 0, eduTotalCount: 0,
@ -533,13 +534,13 @@ export default {
this.pieEduOptions.series[1].data = this.eduItem this.pieEduOptions.series[1].data = this.eduItem
// this.$refs.pieChart.hideLoading() // this.$refs.pieChart.hideLoading()
this.$refs.eduChart.setOption(this.pieEduOptions) this.$refs.eduChart.setOption(this.pieEduOptions)
if (this.noInit) { if (this.noEduInit) {
const _arr = this.selectAgency[this.selectAgency.length - 1].split('-') const _arr = this.selectAgency[this.selectAgency.length - 1].split('-')
const orgType = _arr[1] !== 'grid' ? 'agency': 'grid' const orgType = _arr[1] !== 'grid' ? 'agency': 'grid'
this.getEduList(_arr[0], orgType, _code) this.getEduList(_arr[0], orgType, _code)
} }
this.noInit = true this.noEduInit = true
}, },

2
src/views/modules/visual/measure/service.vue

@ -323,7 +323,7 @@ export default {
stack: 'total', stack: 'total',
// barWidth: 20, // barWidth: 20,
label: { label: {
show: true show: false
}, },
emphasis: { emphasis: {
focus: 'series' focus: 'series'

Loading…
Cancel
Save