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