|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: sueRimn |
|
|
|
|
* @Date: 2020-09-25 08:48:50 |
|
|
|
|
* @LastEditors: sueRimn |
|
|
|
|
* @LastEditTime: 2020-10-18 11:06:41 |
|
|
|
|
* @LastEditTime: 2020-10-18 14:40:06 |
|
|
|
|
*/ |
|
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
|
import { from } from 'rxjs'; |
|
|
|
@ -29,24 +29,25 @@ export class LuckDrawComponent implements OnInit {
|
|
|
|
|
window.setTimeout(()=>{ |
|
|
|
|
//window.location.reload()
|
|
|
|
|
},0) |
|
|
|
|
|
|
|
|
|
console.log(this.weekArray) |
|
|
|
|
} |
|
|
|
|
weekArray = JSON.parse(localStorage.getItem('arr')); |
|
|
|
|
//支队数据和是否抽奖
|
|
|
|
|
choujiang=[ |
|
|
|
|
{name:"南宁支队(5)",idnum:1}, |
|
|
|
|
{name:"柳州支队(10)",idnum:2}, |
|
|
|
|
{name:"桂林支队(14)",idnum:3}, |
|
|
|
|
{name:"梧州支队(3)",idnum:4}, |
|
|
|
|
{name:"北海支队(8)",idnum:5}, |
|
|
|
|
{name:"防城港支队(13)",idnum:6}, |
|
|
|
|
{name:"钦州支队(6)",idnum:7}, |
|
|
|
|
{name:"贵港支队(1)",idnum:8}, |
|
|
|
|
{name:"玉林支队(7)",idnum:9}, |
|
|
|
|
{name:"百色支队(12)",idnum:10}, |
|
|
|
|
{name:"贺州支队(2)",idnum:11}, |
|
|
|
|
{name:"河池支队(4)",idnum:12}, |
|
|
|
|
{name:"来宾支队(9)",idnum:13}, |
|
|
|
|
{name:"崇左支队(11)",idnum:14} |
|
|
|
|
{name:`南宁支队(${this.weekArray[0]})`,idnum:1}, |
|
|
|
|
{name:`柳州支队(${this.weekArray[1]})`,idnum:2}, |
|
|
|
|
{name:`桂林支队(${this.weekArray[2]})`,idnum:3}, |
|
|
|
|
{name:`梧州支队(${this.weekArray[3]})`,idnum:4}, |
|
|
|
|
{name:`北海支队(${this.weekArray[4]})`,idnum:5}, |
|
|
|
|
{name:`防城港支队(${this.weekArray[5]})`,idnum:6}, |
|
|
|
|
{name:`钦州支队(${this.weekArray[6]})`,idnum:7}, |
|
|
|
|
{name:`贵港支队(${this.weekArray[7]})`,idnum:8}, |
|
|
|
|
{name:`玉林支队(${this.weekArray[8]})`,idnum:9}, |
|
|
|
|
{name:`百色支队(${this.weekArray[9]})`,idnum:10}, |
|
|
|
|
{name:`贺州支队(${this.weekArray[10]})`,idnum:11}, |
|
|
|
|
{name:`河池支队(${this.weekArray[11]})`,idnum:12}, |
|
|
|
|
{name:`来宾支队(${this.weekArray[12]})`,idnum:13}, |
|
|
|
|
{name:`崇左支队(${this.weekArray[13]})`,idnum:14} |
|
|
|
|
] |
|
|
|
|
//选中支队
|
|
|
|
|
chooseid=-1 |
|
|
|
|