赛事注释

dev_202207 20220714
yujialong 2 years ago
parent 25f8237b12
commit 423bb87fb1
  1. 4
      src/views/match/add/index.vue

@ -384,12 +384,13 @@ export default {
showRange() { showRange() {
this.rangeVisible = true this.rangeVisible = true
}, },
//
rangeChange(val, e) { rangeChange(val, e) {
const checked = this.$refs.range.getCheckedNodes() const checked = this.$refs.range.getCheckedNodes()
const name = [] const name = []
const { rangeChecked } = this const { rangeChecked } = this
checked.map(e => { checked.map(e => {
rangeChecked.find(n => n.value === e.value) || name.push(e.data) rangeChecked.find(n => n.value === e.value) || name.push(e.data) // push
}) })
this.rangeChecked.push(...name) this.rangeChecked.push(...name)
}, },
@ -436,7 +437,6 @@ export default {
rangeSubmit() { rangeSubmit() {
// id // id
const data = [] const data = []
const isSearch = this.rangeList.length // schoolId
const checked = this.rangeChecked const checked = this.rangeChecked
checked.map(e => { checked.map(e => {
data.push({ data.push({

Loading…
Cancel
Save