|
@@ -114,7 +114,7 @@ export default {
|
|
|
confirmLoading: false,
|
|
|
mdl: {},
|
|
|
modalTitle: null,
|
|
|
- searchDay: null,
|
|
|
+ searchDay: 1,
|
|
|
map: {},
|
|
|
visible: false,
|
|
|
// 下拉框map
|
|
@@ -209,6 +209,7 @@ export default {
|
|
|
},
|
|
|
onChange (value) {
|
|
|
this.confirmLoading = true
|
|
|
+ this.searchDay = value
|
|
|
const parameter = {}
|
|
|
parameter.id = this.model.id
|
|
|
parameter.type = value
|
|
@@ -234,7 +235,7 @@ export default {
|
|
|
handleCancel () {
|
|
|
this.visible = false
|
|
|
this.confirmLoading = false
|
|
|
- this.searchDay = null
|
|
|
+ this.searchDay = 1
|
|
|
this.chart = null
|
|
|
this.chartsData = []
|
|
|
this.$emit('ok')
|