uu
This commit is contained in:
parent
268ea9adb3
commit
25f72125b3
@ -139,7 +139,7 @@
|
||||
|
||||
methods: {
|
||||
handleSelectDate() {
|
||||
this.handleSwitchCladar()
|
||||
this.handleClaShow()
|
||||
},
|
||||
handleChange(val){
|
||||
if(Array.isArray(val)) {
|
||||
@ -156,23 +156,22 @@
|
||||
},
|
||||
handleClaValChange(val) {
|
||||
this.handleChange(val)
|
||||
this.handleClaClose()
|
||||
},
|
||||
handleClaClose(res){
|
||||
this.handleSwitchCladar()
|
||||
this.showCladar = false
|
||||
},
|
||||
handleSwitchCladar() {
|
||||
this.showCladar = !this.showCladar
|
||||
handleClaShow() {
|
||||
this.showCladar = true
|
||||
// 手动唤起日期事件
|
||||
setTimeout(()=> {
|
||||
if(this.showCladar) {
|
||||
this.$refs.unDateTimePckRef.show()
|
||||
}
|
||||
}, 300)
|
||||
this.$refs.unDateTimePckRef.show()
|
||||
}, 1000)
|
||||
},
|
||||
handleToolsRangChange(val) {
|
||||
this.rangeVal = val
|
||||
if(val == -1) {
|
||||
this.handleSwitchCladar()
|
||||
this.handleClaShow()
|
||||
} else {
|
||||
let sltRang = this.toolsRangesList.filter(t=> t.val == val)[0].range
|
||||
this.handleChange(sltRang, )
|
||||
|
||||
@ -509,7 +509,7 @@
|
||||
this.$nextTick(() => {
|
||||
setTimeout(() => {
|
||||
this.show = false
|
||||
this.$emit('close')
|
||||
// this.$emit('close')
|
||||
}, 300)
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user