From f9c6d8d50b3d9a83d2a3ead55a73021b7623d38a Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Tue, 14 Sep 2021 17:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E8=BF=9E=E5=9C=BA=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/site/manage/manage.vue | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/pages/site/manage/manage.vue b/src/pages/site/manage/manage.vue index 4acf3e1..91f2bbf 100644 --- a/src/pages/site/manage/manage.vue +++ b/src/pages/site/manage/manage.vue @@ -324,30 +324,36 @@ export default { } } if(_curTarget.type !== 'empty_venue')return; + _venueList[i].items[j]._isSelect = !_curTarget._isSelect; - let _ctnList = []; // 提示用, 连场列表 - // 连场判断, 需要循环当前列表 - _venueList[i].items = _venueList[i].items.map(e=>{ - let _flag = e.time_arrow_id&& // 不连场为空 - // e.is_valid&& // 已售为false - e.time_arrow_id == _curTarget.time_arrow_id; + // -----> + // let _ctnList = []; // 提示用, 连场列表 - if(_flag)e._isSelect = !_curTarget._isSelect; + // // 连场判断, 需要循环当前列表 + // _venueList[i].items = _venueList[i].items.map(e=>{ - if(_flag&&!_curTarget._isSelect)_ctnList.push(e); + // let _flag = e.time_arrow_id&& // 不连场为空 + // // e.is_valid&& // 已售为false + // e.time_arrow_id == _curTarget.time_arrow_id; - return e; - }) || []; + // if(_flag)e._isSelect = !_curTarget._isSelect; + + // if(_flag&&!_curTarget._isSelect)_ctnList.push(e); + + // return e; + // }) || []; + + // -----> this.venueList = _venueList; this.$nextTick(_=>{ - if(_ctnList.length>1){ - let _tipStr = `${_ctnList[0].duration}-${_ctnList[_ctnList.length-1].duration}为连场预订` - util.showModal({ title: '连场提示!', content: _tipStr }); - } - this.$forceUpdate(); + // if(_ctnList.length>1){ + // let _tipStr = `${_ctnList[0].duration}-${_ctnList[_ctnList.length-1].duration}为连场预订` + // util.showModal({ title: '连场提示!', content: _tipStr }); + // } + // this.$forceUpdate(); this.getSelectedVenues(); }) },