| | |
| | | return { |
| | | locs: [], |
| | | floors: [{value: 1,name:'1楼'},{value:2,name:'3楼'}], |
| | | rows: [{value: 'cs-101',name:'1号'},{value: 'cs-102',name:'2号'}], |
| | | rows: [{value: 'cs-101',name:'101'},{value: 'cs-102',name:'102'}], |
| | | ck1: true, |
| | | ck2: false, |
| | | current: 'cs-101', |
| | |
| | | this.ck1 = this.ck2 |
| | | this.ck2 = temp |
| | | if (this.ck1) { |
| | | this.rows = [{value: 'cs-101',name:'1号'},{value: 'cs-102',name:'2号'}] |
| | | this.rows = [{value: 'cs-101',name:'101'},{value: 'cs-102',name:'102'}] |
| | | } else { |
| | | this.rows = [{value: 'CS-305',name:'1号'},{value: 'CS-306',name:'2号'},{value: 'CS-307',name:'3号'}] |
| | | this.rows = [{value: 'CS-305',name:'305'},{value: 'CS-306',name:'306'},{value: 'CS-307',name:'307'},{value: 'CS-308',name:'308'},{value: 'CS-309',name:'309'}] |
| | | } |
| | | }, |
| | | radioChange(evt) { |