{"version":3,"sources":["webpack:///./src/app/pages/crmactivity/activitymain/activitymain.component.html","webpack:///./src/app/pages/crmactivity/activitymain/activitymain.component.ts","webpack:///./src/app/pages/crmactivity/autoactivity/activityauto.component.html","webpack:///./src/app/pages/crmactivity/autoactivity/activityauto.component.ts","webpack:///./src/app/pages/crmactivity/crmactivity-routing.module.ts","webpack:///./src/app/pages/crmactivity/crmactivity.module.ts","webpack:///./src/app/pages/crmactivity/evenactivity/activityeven.component.html","webpack:///./src/app/pages/crmactivity/evenactivity/activityeven.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4GAAA,uKAAmE,KAC/D,6mBAA+D,yBAAtD,uBAAkB,EAA3B,YAA+D,EAAtD,SAAkB;4GAWzB,mRAA4G,YAApG;;wBAAuB;MAA+C;;wBAA0B;MAAxG,w/BAA4G,8EAAsB,2BAAtE,yBAAgB,EAA5E,YAA4G,EAAhD,SAAgB,mDAApE,mBAAuB,WAA/B,8FAA4G,EAApG,SAAuB,EAA/B,SAA4G,kEAAsB;4GAU9H,ieAA2F,qHAA4C,iCAAvI,6CAA2F;4GAM3F,qMAA0J,YAA3E;;wBAAuB;MAAtG,q2BAA0J,GAAnD,kFAAkD,KAAzJ,iOAA0J,8EAC1I,2BADuF,gCAAkD,8BAAzJ,YAA0J,EAAnD,SAAkD,GAAlG,2BAAkB,EAAzE,YAA0J,EAAnG,SAAkB,2BAAiF,mEAC1I;4GACd,ieAA4C,8EAAoD,yDAAhG,6CAA4C,8FAAoD;4GASlG,ieAA+F,6EAAkE,yDAAjK,6CAA+F,6GAAkE;4GAoBjK,ieAAwK,+IAAe,iCAAvL,6CAAwK;4GAStK,ofAA8F,yBAA3B,kBAA0B,iCAAnD,kBAAwB,+BAAlE,YAA8F,EAA3B,SAA0B,EAAnD,SAAwB;6GAClE,qjBAAwD,IACtD,ifAA+C,IAAI,sFACrD,2BA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OAAO,CAAC,UAAC,GAAmC;YACxE,GAAG,CAAC,QAAQ,CAAC,iBAAiB,EAAE,CAAC;QAClC,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,UAAC,OAAyC;YAC/E,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,gBAAgB,EAAE,WAAW,EAAE,KAAI,CAAC,QAAQ,CAAC,CAAC;QAC5G,CAAC,CAAC,CAAC;IACJ,CAAC;IACD,6BAAC;AAAD,CAAC","file":"crmactivity-crmactivity-module-ngfactory.js","sourcesContent":["
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{trans.trances.ActivitySettings}}\r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n\r\n {{trans.trances.ActivityNumber}}\r\n
\r\n \r\n trans.trances.PleaseFillInTheActivityNumber!\r\n
\r\n\r\n
\r\n {{trans.trances.ActivityWeekLimitation}}({{trans.trances.MultipleSelection}})\r\n
\r\n \r\n {{ i.title }} \r\n {{trans.trances.PleaseSelectTheActivityWeekLimit}}!\r\n \r\n
\r\n
\r\n
\r\n\r\n {{trans.trances.ActivityDescription}}\r\n
\r\n \r\n {{trans.trances.PleaseFillInTheRelevantDescriptionOfTheActivity}}! \r\n \r\n
\r\n
\r\n {{trans.trances.AmountRange}}({{trans.trances.Yuan}})\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
\r\n 请输入开始/结束金额(数值)!\r\n \r\n
\r\n
\r\n
\r\n {{trans.trances.ActivityMall}}\r\n
\r\n \r\n \r\n \r\n Loading Data...\r\n \r\n \r\n {{trans.trances.PleaseFillInTheActivityMall}}!\r\n \r\n
\r\n
\r\n {{trans.trances.DailyParticipationCap}}({{trans.trances.TheNumberOf}})\r\n
\r\n \r\n {{trans.trances.MaximumNumberOfTimesPerDay}}!\r\n \r\n
\r\n
\r\n\r\n
\r\n {{trans.trances.StartTime}}\r\n
\r\n \r\n trans.trances.PleaseSelectDate!\r\n \r\n
\r\n
\r\n {{trans.trances.ActivityCycleParticipationLimit}}({{trans.trances.TheNumberOf}})\r\n
\r\n \r\n {{trans.trances.MaximumNumberOfActivityCycles}}!\r\n \r\n
\r\n
\r\n
\r\n {{trans.trances.EndTime}}\r\n
\r\n \r\n trans.trances.PleaseSelectDate!\r\n \r\n
\r\n
\r\n \r\n {{trans.trances.Smslimit}}\r\n
\r\n \r\n {{trans.trances.PleaseSmslimit}}!\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n {{trans.trances.SalesCycleType}}({{trans.trances.SingleElection}})\r\n
\r\n\r\n \r\n \r\n\r\n \r\n {{trans.trances.PleaseFillInTheTypeOfSalesCycle}}!\r\n \r\n
\r\n
\r\n \r\n {{trans.trances.State}}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n {{trans.trances.ParticipateInShopSettings}}\r\n \r\n \r\n \r\n\r\n
\r\n {{trans.trances.ShopScope}}({{trans.trances.SingleElection}})\r\n
\r\n \r\n \r\n\r\n \r\n {{trans.trances.PleaseChooseTheShopRange}}!\r\n \r\n
\r\n
\r\n
\r\n {{trans.trances.Format}}({{trans.trances.MultipleSelection}})\r\n
\r\n \r\n \r\n {{ i.title }} \r\n {{trans.trances.PleaseChooseTheFormat}}!\r\n
\r\n \r\n \r\n
\r\n
\r\n {{trans.trances.Shops}}({{trans.trances.MultipleSelection}})\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n {{trans.trances.PleaseSelectAddShop}}!\r\n
\r\n\r\n
0\">\r\n\r\n
\r\n \r\n {{ i.title }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n {{trans.trances.SelectionOfParticipants}}\r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n\r\n
\r\n \r\n {{trans.trances.ResourceMarketingAllocation}}\r\n \r\n \r\n \r\n \r\n
\r\n {{trans.trances.AwardTypes}}({{trans.trances.MultipleSelection}})\r\n
\r\n \r\n \r\n {{ i.name }} \r\n {{trans.trances.PleaseImproveTheAllocationOfResourcesMarketing}}!\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
{{trans.trances.CouponConfiguration}}
\r\n
\r\n
{{trans.trances.SerialNumber}}
\r\n
{{trans.trances.TypesOfCoupons}}
\r\n
{{trans.trances.CardTicketID}}
\r\n
{{trans.trances.TotalQuantityPutIn}}
\r\n
{{trans.trances.InventoryQuantity}}
\r\n
{{trans.trances.QuantityPerPerson}}
\r\n
{{trans.trances.ActivityLabelGrouping}}
\r\n
{{trans.trances.CouponPriority}}
\r\n
{{trans.trances.Delete}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
{{trans.trances.IntegralConfiguration}}
\r\n
\r\n
{{trans.trances.SerialNumber}}
\r\n
{{trans.trances.GiftIntegralType}}
\r\n
{{trans.trances.FractionsOrMultiples}}
\r\n
{{trans.trances.ActivityLabelGrouping}}
\r\n
{{trans.trances.CouponPriority}}
\r\n
{{trans.trances.Operation}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
","import { Component, ComponentRef, ChangeDetectorRef, ComponentFactoryResolver,\r\n ViewContainerRef, ViewChild, OnInit, AfterViewInit , AfterContentChecked , AfterViewChecked, Input,\r\n AfterContentInit} from '@angular/core';\r\nimport { filter } from 'rxjs/operators';\r\nimport { NzModalService, NzMessageService } from 'ng-zorro-antd';\r\nimport { ShopSelectComponent } from '../../../shared/shopselect/shop-select.component';\r\nimport { TaglistComponent } from '../../../shared/taglist/taglist.component';\r\nimport { GifttableComponent } from '../../../shared/tables/gifttable.component';\r\nimport { SctableComponent } from '../../../shared/sctables/sctable.component';\r\nimport { TagchildSelectComponent } from '../../../shared/taglist/child/tagchild.component';\r\nimport { BaseService } from '../../../services/common.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { ShareService, ShareServicesave , ShareServicebuiding } from '../../../services/share.service';\r\nimport { MessageComponent } from '../../../shared/message/message.component';\r\nimport {\r\n ActivityModel,\r\n ActiveMessageModel,\r\n ActiveResourceAllocationModel,\r\n ActiveCategoryModel,\r\n ActiveTagModel, active_tag_list, categorylist, ActiveModel, GetActiveInfoModel, MainActivereturndata , Inputlist\r\n} from '../../../models/activtitymodel';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n Validators,\r\n FormControl\r\n} from '@angular/forms';\r\nimport { formatDate } from '@angular/common';\r\nimport {\r\n Translate,\r\n} from '../../../services/translate';\r\nimport { ShareData } from '../../../services/commondata';\r\n\r\n/** Tag 项 */\r\nexport interface WeekSelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n title?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n}\r\n/** Tag 项 */\r\n// tslint:disable-next-line:class-name\r\nexport interface salseSelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n title?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n disabled?: boolean;\r\n}\r\n\r\nexport interface SelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n name?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n disabled?: boolean;\r\n}\r\n@Component({\r\n selector: 'app-main-management',\r\n templateUrl: './activitymain.component.html',\r\n styleUrls: ['./activitymain.component.less'],\r\n providers: [Translate , ShareServicebuiding, ShareData]\r\n})\r\nexport class ActivitymaintComponent implements OnInit, AfterViewInit, AfterContentChecked, AfterViewChecked , AfterContentInit {\r\n @ViewChild('viewContainerRef', { read: ViewContainerRef, static: false }) VCR: ViewContainerRef;\r\n @ViewChild('viewContainerGiftRef', { read: ViewContainerRef , static: false }) VCG: ViewContainerRef;\r\n @ViewChild('viewContainerscRef', { read: ViewContainerRef , static: false }) VCS: ViewContainerRef;\r\n @ViewChild('viewContainerMsgRef', { read: ViewContainerRef , static: false }) VCM: ViewContainerRef;\r\n componentsReferences = [];\r\n componentsReferencesgift = [];\r\n componentsReferencessc = [];\r\n componentsReferencesmsg = [];\r\n index_tg = 0;\r\n index_iift = 0;\r\n index_sc = 0;\r\n index_no = 0;\r\n grouplist = ['*'];\r\n list_activeno = '';\r\n private mainForm: FormGroup;\r\n private shopForm: FormGroup;\r\n\r\n listshop: any[];\r\n\r\n\r\n value = '';\r\n title = 'Input a number';\r\n radioValue = 'A';\r\n\r\n // 奖励类型\r\n listpay: any[];\r\n\r\n listshopdata: any[] = [];\r\n listshoptag: any[] = [];\r\n shopselectedList: any[] = [];\r\n buidingmodel: any[] = [];\r\n busnessmodel: any[] = [];\r\n tagvaluef: any[] = [];\r\n tagvalues: any[] = [];\r\n giftvalues: any[] = [];\r\n bonusvalues: any[] = [];\r\n Tagshoplist: Array;\r\n weekcheck: '0' | string;\r\n tagcheck: false | boolean;\r\n shopcheck: false | boolean;\r\n shopcheckex: '0' | string;\r\n busnesscheck: true | boolean;\r\n busnesscheckex: false | boolean;\r\n loading = true;\r\n taggroupdata: string;\r\n langtype: string;\r\n cupoushow: true | boolean;\r\n bonusshow: true | boolean;\r\n datatagshow: boolean;\r\n active_no: string ;\r\n active_statue: string ;\r\n model: ActivityModel;\r\n modelCategory: ActiveCategoryModel;\r\n modelmessage: ActiveMessageModel;\r\n modelResource: ActiveResourceAllocationModel;\r\n modelActiveTag: ActiveTagModel;\r\n modeltag_list: active_tag_list;\r\n modelcategory_list: categorylist;\r\n modelactivemodel: ActiveModel;\r\n modelgetactive: GetActiveInfoModel;\r\n modelActivereturndata: MainActivereturndata;\r\n disableall: boolean;\r\n closedtag: string;\r\n save: boolean ;\r\n prove: boolean ;\r\n unprove: boolean ;\r\n flagable = false;\r\n\r\n constructor(private modalService: NzModalService, private message: NzMessageService, private router: Router, private http: HttpClient,\r\n activatedRoute: ActivatedRoute,\r\n private CFR: ComponentFactoryResolver, public bs: BaseService, private fb: FormBuilder, private cdr: ChangeDetectorRef\r\n , private shareSrv: ShareService , private shareSrvsave: ShareServicesave , private ShareServiced: ShareServicebuiding ,\r\n public trans: Translate, public shared: ShareData) {\r\n this.model = new ActivityModel();\r\n this.modelCategory = new ActiveCategoryModel();\r\n this.modelmessage = new ActiveMessageModel();\r\n this.modelResource = new ActiveResourceAllocationModel();\r\n this.modelActiveTag = new ActiveTagModel();\r\n this.modeltag_list = new active_tag_list();\r\n this.modelcategory_list = new categorylist();\r\n this.modelactivemodel = new ActiveModel();\r\n this.modelgetactive = new GetActiveInfoModel();\r\n this.modelActivereturndata = new MainActivereturndata();\r\n this.loading = false;\r\n this.active_no = '' ;\r\n this.active_statue = '' ;\r\n activatedRoute.queryParams.subscribe(queryParams => {\r\n this.active_no = queryParams.activeno;\r\n this.active_statue = queryParams.activestatue;\r\n this.save = queryParams.save === 'true' ? true : false;\r\n this.prove = queryParams.prove === 'true' ? true : false;\r\n this.unprove = queryParams.unprove === 'true' ? true : false;\r\n });\r\n }\r\n ngAfterViewChecked() {\r\n }\r\n ngAfterViewInit() {\r\n if (!this.active_no) {\r\n setTimeout( () => { this.createComponent_msg(); } , 1000);\r\n }\r\n }\r\n ngAfterContentChecked() {\r\n\r\n }\r\n ngAfterContentInit() {\r\n }\r\n ngOnInit() {\r\n this.shareSrv.trigger$.subscribe(() => this.getactivecount());\r\n this.shareSrvsave.trigger$.subscribe((value: any) => { if (value === '1') {\r\n this.SaveMainactive(); }});\r\n\r\n this.disableall = true;\r\n this.closedtag = 'closeable';\r\n this.getbuiding();\r\n this.datatagshow = false;\r\n this.model.modify_by = localStorage.getItem('loginstaffcode');\r\n this.langtype = localStorage.getItem('loginlang');\r\n this.mainForm = this.fb.group({\r\n actityno: [null, null],\r\n // weektag: [null, [Validators.required]],\r\n actitydesc: [null, [Validators.required]],\r\n amount_from: [null, [Validators.required, Validators.pattern(/^[0-9]*$/)]],\r\n amount_to: [null, [Validators.required, Validators.pattern(/^[0-9]*$/)]],\r\n buildingid: [null, [Validators.required]],\r\n join_limit_oneday: [null, [Validators.required, Validators.pattern(/^[0-9]*$/)]],\r\n start_date: [null, [Validators.required]],\r\n join_limit_total: [null, [Validators.required, Validators.pattern(/^[0-9]*$/)]],\r\n end_date: [null, [Validators.required]],\r\n sales_period_type: [null, [Validators.required]],\r\n status: [null, [Validators.required]],\r\n sendsmslimit: [null, [Validators.required, Validators.pattern(/^[0-9]*$/)]],\r\n });\r\n this.shopForm = this.fb.group({\r\n store_cond_type: [this.modelCategory.store_cond_type, [Validators.required]],\r\n });\r\n if (this.active_no) {\r\n this.list_activeno = this.active_no;\r\n this.getactveinfo( this.active_no);\r\n } else {\r\n this.getbusnesstype(true);\r\n this.GetStoreCondType();\r\n this.GetRewardtype();\r\n this.model.status = '10';\r\n this.modelCategory.store_cond_type = '00';\r\n\r\n this.shared.listweek.forEach(v => v.selected = true);\r\n this.busnesscheck = false;\r\n }\r\n }\r\n\r\n getbuiding() {\r\n this.bs.Get('member/GetActiveBuildingID').then(ret => {\r\n this.buidingmodel = ret.data;\r\n });\r\n }\r\n getbusnesstype(isdisable?: boolean) {\r\n this.bs.Get('member/GetActiveBusinesstype').then(ret => {\r\n this.busnessmodel = ret.data;\r\n if (isdisable) {\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n }\r\n });\r\n }\r\n GetStoreCondType() {\r\n this.bs.Get('member/GetStoreCondType').then(ret => {\r\n this.listshop = ret.data;\r\n });\r\n }\r\n GetRewardtype() {\r\n this.bs.Get('member/GetRewardtype').then(ret => {\r\n this.listpay = ret.data;\r\n });\r\n }\r\n\r\n getactveinfo( active_no: string ) {\r\n this.modelgetactive.active_no = active_no ;\r\n if (this.active_statue === '40') {\r\n this.disableallcontrol();\r\n }\r\n\r\n this.bs.Post('member/GetActiveInfo', this.modelgetactive).then( ret => {\r\n this.modelactivemodel = ret.data;\r\n this.model = this.modelactivemodel.maincontent;\r\n this.model.join_limit_total = Math.floor(this.model.join_limit_total) ;\r\n this.model.join_limit_oneday = Math.floor(this.model.join_limit_oneday) ;\r\n this.model.send_sms_limit = Math.floor(this.model.send_sms_limit) ;\r\n this.model.amount_from = Math.floor(this.model.amount_from) ;\r\n this.model.amount_to = Math.floor(this.model.amount_to) ;\r\n this.model.status === '40' ? this.flagable = true : this.flagable = false;\r\n this.model.weekdays.split(',').forEach(v => { this.shared.listweek.find(x => x.id === v).selected = true ; });\r\n this.modelCategory = this.modelactivemodel.category ;\r\n this.ShareServiced.buidingid = this.model.buildingid;\r\n this.cdr.detectChanges();\r\n this.bs.Get('member/GetStoreCondType').then(retstore => {\r\n return this.listshop = retstore.data;\r\n }).then (resp => { this.getbusnessdata(); }).then(resp => { this.gettaglistdata(); })\r\n .then (resp => { this.getresourcedata(); });\r\n if (this.modelactivemodel.msg && (this.modelactivemodel.msg.send_msg_type || this.modelactivemodel.msg.sms_template) ) {\r\n this.createComponent_msg_create(this.modelactivemodel.msg , this.flagable );\r\n } else {\r\n this. createComponent_msg();\r\n }\r\n \r\n // 修改信息注释\r\n\r\n if (this.flagable) {\r\n this.disableallcontrol();\r\n }\r\n });\r\n }\r\n disableallcontrol() {\r\n this.mainForm = this.fb.group({\r\n // actityno: [{value: this.modelgetactive.active_no, disabled: true}, [Validators.required]],\r\n actityno: new FormControl({value: this.modelgetactive.active_no, disabled: true}, null),\r\n // weektag: [null, [Validators.required]],\r\n actitydesc: new FormControl({value: this.model.active_desc, disabled: true}, Validators.required),\r\n // actitydesc: [{value: this.model.active_desc, disabled: true}, [Validators.required]],\r\n amount_from: [{value: this.model.amount_from, disabled: true}],\r\n amount_to: [{value: this.model.amount_to, disabled: true}],\r\n buildingid: [{value: this.model.buildingid, disabled: true}, [Validators.required]],\r\n join_limit_oneday: [{value: this.model.join_limit_oneday, disabled: true}],\r\n start_date: [{value: this.model.start_date, disabled: true}, [Validators.required]],\r\n join_limit_total: [{value: this.model.join_limit_total, disabled: true}],\r\n end_date: [{value: this.model.end_date, disabled: true}, [Validators.required]],\r\n sales_period_type: [{value: this.model.sales_period_type, disabled: true}, [Validators.required]],\r\n status: [{value: this.model.status, disabled: true}, [Validators.required]],\r\n sendsmslimit: [{value: this.model.send_sms_limit, disabled: true}, [Validators.required]],\r\n });\r\n this.shopForm = this.fb.group({\r\n store_cond_type: new FormControl({value: this.modelCategory.store_cond_type, disabled: true}, Validators.required)\r\n });\r\n this.shared.listweek.forEach(v => v.disabled = true);\r\n this.busnessmodel.forEach(v => v.disabled = true);\r\n this.shopcheck = false;\r\n this.busnesscheck = false;\r\n this.closedtag = '';\r\n}\r\n\r\n getbusnessdata() {\r\n this.bs.Get('member/GetActiveBusinesstype').then(retbus => {\r\n this.busnessmodel = retbus.data;\r\n const category_listbuness = this.modelCategory.category_list.filter(v => v.storecode === '*');\r\n if (this.busnessmodel) {\r\n this.busnessmodel.forEach(v => v.disabled = true);\r\n }\r\n if (category_listbuness && this.busnessmodel) {\r\n category_listbuness.forEach\r\n (v => {\r\n const busnesslist = this.busnessmodel.find(x => x.id === v.businesstype);\r\n if (busnesslist) {\r\n this.busnessmodel.find(x => x.id === v.businesstype).selected = true ;\r\n this.busnessmodel.forEach(n => n.disabled = false);\r\n }\r\n });\r\n }\r\n if (this.flagable) {\r\n this.busnessmodel.forEach(v => v.disabled = true);\r\n this.shopcheck = false;\r\n this.busnesscheck = false;\r\n this.closedtag = '';\r\n }\r\n });\r\n const category_liststore = this.modelCategory.category_list.filter(v => v.businesstype === '*' && v.storecode !== '*');\r\n if (category_liststore && category_liststore.length > 0) {\r\n category_liststore.forEach ( x => {\r\n const sflag = true;\r\n let listshoptemp: {id: string, title: string, selected: boolean};\r\n listshoptemp = { id: x.storecode, title: x.storename, selected: sflag};\r\n this.listshopdata.push( listshoptemp);\r\n }\r\n ) ;\r\n this.listshopdata.forEach(v => v.disabled = false);\r\n this.listshopdata.forEach(v => v.selected = true);\r\n }\r\n }\r\n\r\n gettaglistdata() {\r\n this.modelActiveTag = this.modelactivemodel.tag;\r\n let active_tag_group_list: any[];\r\n let active_tag_lists: any[];\r\n active_tag_group_list = [];\r\n active_tag_lists = [];\r\n this.modelActiveTag.active_tag_list.forEach(obj => {\r\n if ( !active_tag_group_list.includes(obj.active_tag_group)) {\r\n active_tag_group_list.push( obj.active_tag_group);\r\n }\r\n active_tag_lists.push( {key: obj.active_tag_group, value: obj.tag_id_list,\r\n flagdata: obj.tag_in_or_not === 'IN' ? true : false });\r\n });\r\n let listtemp = [];\r\n // tslint:disable-next-line:no-shadowed-variable\r\n this.bs.Get('member/Gettaglist').then(ret => {\r\n listtemp = ret.data;\r\n active_tag_group_list.forEach(obj => {\r\n this.b_createComponent( obj , active_tag_lists.filter(x => x.key === obj), listtemp,\r\n this.modelActiveTag.MainActivereturndata.Mainturndata.filter(x => x.active_taggroup === obj)[0].active_taggroupcount);\r\n });\r\n });\r\n }\r\n\r\n getresourcedata() {\r\n this.modelResource = this.modelactivemodel.resource ;\r\n this.bs.Get('member/GetRewardtype').then(rettype => {\r\n this.listpay = rettype.data;\r\n if ( this.modelResource.reward_type) {\r\n this.modelResource.reward_type.split(',').forEach(v => { this.listpay.find(x => x.id === v).selected = true ;\r\n v === '01' ? this.cupoushow = true : v === '02' ? this.bonusshow = true : this.bonusshow = false ; });\r\n }\r\n this.cdr.detectChanges();\r\n this.modelResource.active_giftcert.forEach( obj => {\r\n this.b_createComponentgift( this.modelResource.active_giftcert.indexOf(obj) + 1 , obj, this.flagable);\r\n });\r\n this.modelResource.active_bonus.forEach( obj => {\r\n this.b_createComponentsc( this.modelResource.active_bonus.indexOf(obj) + 1 , obj , this.flagable);\r\n });\r\n if (this.flagable) {\r\n this.listpay.forEach(v => v.disabled = true);\r\n }\r\n });\r\n }\r\n createComponent() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(TaglistComponent);\r\n const componentRef: ComponentRef = this.VCR.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef = currentComponent;\r\n currentComponent.index_tg = ++this.index_tg;\r\n this.grouplist.push(currentComponent.listno[this.index_tg - 1]);\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction = this;\r\n currentComponent.createComponentchild(true);\r\n // add reference for newly created component\r\n this.componentsReferences.push(componentRef);\r\n }\r\n b_createComponent(index_tg_name: string, tag_id_list: any[], listtemp: any[], groupcount: string ) {\r\n const componentFactory = this.CFR.resolveComponentFactory(TaglistComponent);\r\n const componentRef: ComponentRef = this.VCR.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef = currentComponent;\r\n currentComponent.tag_count = groupcount;\r\n currentComponent.index_tg = currentComponent.listno.indexOf(index_tg_name) + 1 ;\r\n this.index_tg = currentComponent.listno.indexOf(index_tg_name) + 2;\r\n this.grouplist.push(index_tg_name);\r\n currentComponent.tagcheck = this.flagable;\r\n currentComponent.list_activeno = this.modelactivemodel.active_no;\r\n\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction = this;\r\n let listtagg = [];\r\n tag_id_list.forEach(obj => {\r\n listtagg = [];\r\n obj.value.split(',').forEach( x => {\r\n const listtagdata = {id: x, title: listtemp.filter(ret => ret.id === x)[0].name, tagId: x , typeId: x, selected: true} ;\r\n listtagg.push(listtagdata);\r\n });\r\n //\r\n currentComponent.b_createComponentchild(listtagg, this.flagable , obj.flagdata);\r\n\r\n });\r\n // add reference for newly created component\r\n this.componentsReferences.push(componentRef);\r\n }\r\n\r\n createComponentgift() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(GifttableComponent);\r\n const componentRef: ComponentRef = this.VCG.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n\r\n currentComponent.selfRef_gift = currentComponent;\r\n currentComponent.index_iift = ++this.index_iift;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.modelgiftlist.active_gift_personnum = 1;\r\n currentComponent.modelgiftlist.active_gift_index = 1;\r\n currentComponent.buildingid = this.model.buildingid;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_gift = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencesgift.push(componentRef);\r\n }\r\n b_createComponentgift(index_gf: number , listtemp: any, flagable: boolean) {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(GifttableComponent);\r\n const componentRef: ComponentRef = this.VCG.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n\r\n currentComponent.selfRef_gift = currentComponent;\r\n currentComponent.index_iift = index_gf;\r\n this.index_iift = index_gf ;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.modelgiftlist = listtemp;\r\n currentComponent.flagdisable = flagable;\r\n currentComponent.buildingid = this.model.buildingid;\r\n currentComponent.modelActivereturndata = this.modelActivereturndata;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_gift = this;\r\n\r\n currentComponent.gettypelist(currentComponent.modelgiftlist.active_gift_type, this.model.buildingid, true);\r\n currentComponent.checkdata(currentComponent.modelgiftlist.active_gift_id,\r\n currentComponent.modelgiftlist.active_gift_type, currentComponent.modelgiftlist.active_gift_id, this.model.buildingid);\r\n // add reference for newly created component\r\n this.componentsReferencesgift.push(componentRef);\r\n }\r\n createComponentsc() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(SctableComponent);\r\n const componentRef: ComponentRef = this.VCS.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.selfRef_sc = currentComponent;\r\n currentComponent.index_sc = ++this.index_sc;\r\n currentComponent.modelactive_bonus.bonus_value = '1' ;\r\n currentComponent.modelactive_bonus.priority = '1' ;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_sc = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencessc.push(componentRef);\r\n }\r\n b_createComponentsc(index_sc: number , listtemp: any, flagable: boolean) {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(SctableComponent);\r\n const componentRef: ComponentRef = this.VCS.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.selfRef_sc = currentComponent;\r\n currentComponent.index_sc = index_sc;\r\n currentComponent.flagdisable = flagable;\r\n this.index_sc = index_sc;\r\n currentComponent.modelactive_bonus = listtemp;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_sc = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencessc.push(componentRef);\r\n }\r\n createComponent_msg() {\r\n const componentFactory = this.CFR.resolveComponentFactory(MessageComponent);\r\n const componentRef: ComponentRef = this.VCM.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef_gmsg = currentComponent;\r\n currentComponent.index_msg = 0;\r\n currentComponent.type = '1';\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_msg = this;\r\n // add reference for newly created component\r\n this.componentsReferencesmsg.push(componentRef);\r\n }\r\n createComponent_msg_create(modelmessages: ActiveMessageModel, flagable: boolean ) {\r\n const componentFactory = this.CFR.resolveComponentFactory(MessageComponent);\r\n const componentRef: ComponentRef = this.VCM.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef_gmsg = currentComponent;\r\n currentComponent.index_msg = 0;\r\n currentComponent.type = '1';\r\n if (this.flagable) {\r\n currentComponent.listmessage.forEach(v => v.disabled = true);\r\n }\r\n currentComponent.modelmessage = modelmessages;\r\n if ( modelmessages.send_msg_type) {\r\n modelmessages.send_msg_type.split(',').forEach(\r\n v => { currentComponent.listmessage.find(x => x.id === v).selected = true ;\r\n v === '01' && !this.flagable ? currentComponent.messagesms = true : v === '02' && !this.flagable ?\r\n currentComponent.messagewx = true : currentComponent.messagewx = false ; });\r\n }\r\n currentComponent.modelmWxMsgTemplateContent = modelmessages.WxMsgTemplateContent;\r\n currentComponent.flagable = this.flagable;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_msg = this;\r\n // add reference for newly created component\r\n this.componentsReferencesmsg.push(componentRef);\r\n }\r\n remove_msg(index: number) {\r\n if (this.VCM.length < 1) {\r\n return;\r\n }\r\n const componentRef = this.componentsReferences.filter(x => x.instance.index === index)[0];\r\n const component: MessageComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCR.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCR.remove(vcrIndex);\r\n\r\n this.componentsReferencesmsg = this.componentsReferencesmsg.filter(x => x.instance.index !== index);\r\n }\r\n removet(index_tg: number) {\r\n\r\n if (this.VCR.length < 1) {\r\n return;\r\n }\r\n const componentRef = this.componentsReferences.filter(x => x.instance.index_tg === index_tg)[0];\r\n const component: TaglistComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCR.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCR.remove(vcrIndex);\r\n this.grouplist.splice(vcrIndex, 1);\r\n\r\n this.componentsReferences = this.componentsReferences.filter(x => x.instance.index_tg !== index_tg);\r\n }\r\n removeg(index_iift: number) {\r\n if (this.VCG.length < 1) {\r\n return;\r\n }\r\n\r\n const componentRef = this.componentsReferencesgift.filter(x => x.instance.index_iift === index_iift)[0];\r\n const component: GifttableComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCG.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCG.remove(vcrIndex);\r\n\r\n this.componentsReferencesgift = this.componentsReferencesgift.filter(x => x.instance.index_iift !== index_iift);\r\n }\r\n removes(index_sc: number) {\r\n if (this.VCS.length < 1) {\r\n return;\r\n }\r\n\r\n const componentRef = this.componentsReferencessc.filter(x => x.instance.index_sc === index_sc)[0];\r\n const component: SctableComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCS.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCS.remove(vcrIndex);\r\n\r\n this.componentsReferencessc = this.componentsReferencessc.filter(x => x.instance.index_sc !== index_sc);\r\n }\r\n formatNumber(value: string): string {\r\n const string = `${value}`;\r\n const list = string.split('.');\r\n const prefix = list[0].charAt(0) === '-' ? '-' : '';\r\n let num = prefix ? list[0].slice(1) : list[0];\r\n let result = '';\r\n while (num.length > 3) {\r\n result = `,${num.slice(-3)}${result}`;\r\n num = num.slice(0, num.length - 3);\r\n }\r\n if (num) {\r\n result = num + result;\r\n }\r\n return `${prefix}${result}${list[1] ? `.${list[1]}` : ''}`;\r\n }\r\n weekchoose(item: WeekSelectItem) {\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n }\r\n salsetypechoose(item: salseSelectItem) {\r\n\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n }\r\n typechoose(item: SelectItem) {\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n // tslint:disable-next-line:max-line-length\r\n item.id === '01' ? item.selected ? this.cupoushow = true : this.cupoushow = false : item.id === '02' ? item.selected ? this.bonusshow = true : this.bonusshow = false : console.log(item.id ) ;\r\n if ( !this.cupoushow ) {\r\n this.componentsReferencesgift = [];\r\n this.giftvalues = [];\r\n this.modelResource.active_giftcert = [];\r\n this.modelmessage.sms_giftcert = '';\r\n }\r\n if ( !this.bonusshow ) {\r\n this.componentsReferencessc = [];\r\n this.bonusvalues = [];\r\n this.modelResource.active_bonus = [];\r\n }\r\n }\r\n\r\n\r\n selectshop() {\r\n this.modalService.create({\r\n nzContent: ShopSelectComponent,\r\n nzComponentParams: {\r\n title: '店铺选择',\r\n selected: this.listshopdata.filter(i => i.selected !== false).map((i: { id: any; }) => i.id),\r\n required: false,\r\n buildingid: this.model.buildingid,\r\n },\r\n // 指定打开宽度\r\n nzWidth: 1000,\r\n // 以下配置是不可更改项\r\n nzWrapClassName: 'shop-select',\r\n nzClosable: false,\r\n nzMaskClosable: false,\r\n nzTitle: null,\r\n nzFooter: null,\r\n }).afterClose.pipe(filter(v => !!v)).subscribe(res => {\r\n this.listshopdata = res;\r\n });\r\n }\r\n removeshop(optionid: string) {\r\n const obj = this.listshopdata.find(x => x.id === optionid);\r\n if (obj) {\r\n obj.selected = false;\r\n }\r\n\r\n }\r\n\r\n // 保存\r\n SaveMainactive() {\r\n // 主表部分\r\n this.loading = true;\r\n const selecteds = this.shared.listweek.filter(s => s.selected === true).map(ret => ret.id);\r\n if (selecteds.length === 0) {\r\n this.weekcheck = '1';\r\n } else {\r\n\r\n this.weekcheck = '0';\r\n }\r\n // tslint:disable-next-line:forin\r\n for (const i in this.mainForm.controls) {\r\n this.mainForm.controls[i].markAsDirty();\r\n this.mainForm.controls[i].updateValueAndValidity();\r\n }\r\n if (this.mainForm.status.toLowerCase() !== 'valid' || this.weekcheck === '1') {\r\n this.loading = false;\r\n return false;\r\n }\r\n\r\n this.model.active_type = '01';\r\n this.model.start_date = formatDate(this.model.start_date, 'yyyy-MM-dd', 'zh-CN', '+0800');\r\n this.model.end_date = formatDate(this.model.end_date, 'yyyy-MM-dd', 'zh-CN', '+0800');\r\n\r\n this.model.weekdays = selecteds.toString();\r\n\r\n this.model.reward_type = '';\r\n // 有效期类型(01:短期计划;02:永久生效)仅当 active_type = '02' or active_type = '03' 时需要显示和录入\r\n this.model.period_type = '01';\r\n this.model.store_cond_type = '00';\r\n this.modelactivemodel.maincontent = this.model;\r\n // 商铺部分\r\n if (this.modelCategory.store_cond_type) {\r\n // tslint:disable-next-line:forinz\r\n // tslint:disable-next-line:forin\r\n for (const i in this.shopForm.controls) {\r\n this.shopForm.controls[i].markAsDirty();\r\n this.shopForm.controls[i].updateValueAndValidity();\r\n }\r\n if (this.shopForm.status.toLowerCase() !== 'valid') {\r\n this.loading = false;\r\n return false;\r\n }\r\n if (this.shopcheck && this.listshopdata.filter(s => s.selected === true).map(ret => ret.id).length === 0) {\r\n this.shopcheckex = '1';\r\n this.loading = false;\r\n return false;\r\n } else {\r\n this.shopcheckex = '0';\r\n }\r\n if (this.busnesscheck && this.busnessmodel.filter(s => s.selected === true).map(ret => ret.id).length === 0) {\r\n this.busnesscheckex = true;\r\n this.loading = false;\r\n return false;\r\n }\r\n this.Tagshoplist = [];\r\n switch (this.modelCategory.store_cond_type) {\r\n case '00':\r\n this.modelcategory_list.storecode = '*';\r\n this.modelcategory_list.businesstype = '*';\r\n this.Tagshoplist.push(this.modelcategory_list);\r\n break;\r\n case '01':\r\n // tslint:disable-next-line:max-line-length\r\n this.busnessmodel.filter(s => s.selected === true).map(ret => { this.Tagshoplist.push({ businesstype: ret.id, storecode: '*' }); });\r\n break;\r\n case '02':\r\n this.listshopdata.filter(s => s.selected === true).map(\r\n ret => { this.Tagshoplist.push({ businesstype: '*', storecode: ret.id }); });\r\n break;\r\n case '03':\r\n this.busnessmodel.filter(s => s.selected === true).map(\r\n ret => { this.Tagshoplist.push({ businesstype: ret.id, storecode: '*' }); });\r\n break;\r\n case '04':\r\n this.listshopdata.filter(s => s.selected === true).map(\r\n ret => { this.Tagshoplist.push({ businesstype: '*', storecode: ret.id }); });\r\n break;\r\n case '05':\r\n this.listshopdata.filter(s => s.selected === true).map(\r\n ret => { this.Tagshoplist.push({ businesstype: '*', storecode: ret.id }); });\r\n this.busnessmodel.filter(s => s.selected === true).map(\r\n ret => { this.Tagshoplist.push({ businesstype: ret.id, storecode: '*' }); });\r\n break;\r\n\r\n }\r\n this.modelCategory.category_list = this.Tagshoplist;\r\n this.modelactivemodel.category = this.modelCategory;\r\n\r\n }\r\n // 保存对象部分\r\n const flagtag = this.getValueList();\r\n if (!flagtag) {\r\n this.loading = false;\r\n return false;\r\n }\r\n if (this.componentsReferences.length > 0 && flagtag) {\r\n this.modelactivemodel.tag = this.modelActiveTag;\r\n }\r\n this.modelResource.reward_type = this.listpay.filter(s => s.selected === true).map(ret => ret.id).length\r\n > 0 ? this.listpay.filter(s => s.selected === true).map(ret => ret.id).toString() : '';\r\n // 资源营销配置\r\n if (this.listpay.filter(s => s.selected === true).length > 0) {\r\n if ((this.listpay.filter(s => s.selected === true).map(ret => ret.id).includes('01') && this.componentsReferencesgift.length === 0) ||\r\n (this.listpay.filter(s => s.selected === true).map(ret => ret.id).includes('02') && this.componentsReferencessc.length === 0)) {\r\n this.loading = false;\r\n this.datatagshow = true;\r\n return false;\r\n }\r\n this.datatagshow = false;\r\n this.modelResource.reward_type = this.listpay.filter(s => s.selected === true).map(ret => ret.id).toString();\r\n if (this.componentsReferencesgift.length > 0 || this.componentsReferencessc.length > 0) {\r\n const flag = this.gesalseList();\r\n if (!flag) {\r\n this.loading = false;\r\n return false;\r\n }\r\n\r\n this.modelactivemodel.resource = this.modelResource;\r\n }\r\n }\r\n // 消息触达\r\n const flagmessage = this.GetMessageInfo() ;\r\n if (!flagmessage) {\r\n this.loading = false;\r\n return false;\r\n }\r\n this.loading = false;\r\n this.bs.Post('member/PostActiveSave', this.modelactivemodel).then(ret => {\r\n\r\n if (ret.code === 200) {\r\n this.modelActivereturndata = ret.data;\r\n this.modelactivemodel.active_no = this.modelActivereturndata.active_no;\r\n this.list_activeno = this.modelActivereturndata.active_no;\r\n\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n obj.instance.tag_count = this.modelActivereturndata.Mainturndata.filter\r\n (x => x.active_taggroup === obj.instance.listno[obj.instance.index_tg - 1])[0].active_taggroupcount;\r\n obj.instance.list_activeno = this.modelActivereturndata.active_no ;\r\n });\r\n }\r\n this.alertinfo(ret.code.toString(), ret.msg);\r\n });\r\n\r\n\r\n }\r\n\r\n\r\n checkshopselect(selectValue: any) {\r\n if (!selectValue) {\r\n return false;\r\n }\r\n switch (selectValue) {\r\n case '00':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false); // 清空选中业态\r\n this.listshopdata = [];\r\n this.shopcheck = false; // 禁用添加\r\n this.busnesscheck = false;\r\n break;\r\n case '01':\r\n this.busnessmodel.forEach(v => v.selected = false);\r\n this.busnessmodel.forEach(v => v.disabled = false);\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = false;\r\n this.busnesscheck = true;\r\n break;\r\n case '02':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = false;\r\n break;\r\n case '03':\r\n this.busnessmodel.forEach(v => v.disabled = false); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = false;\r\n this.busnesscheck = true;\r\n break;\r\n case '04':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = true;\r\n break;\r\n case '05':\r\n this.busnessmodel.forEach(v => v.disabled = false); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = true;\r\n break;\r\n }\r\n\r\n }\r\n\r\n getValueList() {\r\n this.tagvaluef = []; // 遍历数组,调用每一个组件实例的方法\r\n this.modelActiveTag.active_tag_list = [];\r\n this.index_no = 0;\r\n let flag = true;\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n this.taggroupdata = (obj.instance.index_tg - 1).toString();\r\n obj.instance.componentsReferenceschild.forEach((obj2: ComponentRef) => {\r\n const modeltaglist: active_tag_list = new active_tag_list();\r\n modeltaglist.active_tag_group = obj.instance.listno[this.taggroupdata];\r\n modeltaglist.tag_id_list =\r\n obj2.instance.listchild.filter(s => s.selected === true).map(ret => (ret.id)).toString();\r\n if (!modeltaglist.tag_id_list) {\r\n flag = false;\r\n }\r\n obj2.instance.flagtrue ? modeltaglist.tag_in_or_not = 'IN' : modeltaglist.tag_in_or_not = 'NOT IN';\r\n modeltaglist.line_no = this.index_no.toString();\r\n this.modelActiveTag.active_tag_list.push(modeltaglist);\r\n this.index_no = ++this.index_no;\r\n });\r\n });\r\n return flag;\r\n }\r\n // 获取销售实体\r\n gesalseList() {\r\n let flag = true;\r\n this.giftvalues = []; // 遍历数组,调用每一个组件实例的方法\r\n this.componentsReferencesgift.forEach((obj: ComponentRef) => {\r\n if (!obj.instance.modelgiftlist.active_gift_group ) {\r\n obj.instance.modelgiftlist.active_gift_group = '*';\r\n }\r\n if (!obj.instance.modelgiftlist.active_gift_id || !obj.instance.modelgiftlist.active_gift_type) {\r\n flag = false;\r\n }\r\n this.giftvalues.push(obj.instance.modelgiftlist);\r\n });\r\n this.bonusvalues = []; // 遍历数组,调用每一个组件实例的方法\r\n this.componentsReferencessc.forEach((obj: ComponentRef) => {\r\n if (!obj.instance.modelactive_bonus.active_tag_group) {\r\n obj.instance.modelactive_bonus.active_tag_group = '*';\r\n }\r\n if (!obj.instance.modelactive_bonus.bonus_type) {\r\n flag = false;\r\n }\r\n this.bonusvalues.push(obj.instance.modelactive_bonus);\r\n });\r\n this.modelResource.active_giftcert = this.giftvalues;\r\n this.modelResource.active_bonus = this.bonusvalues;\r\n return flag;\r\n }\r\n\r\n alertinfo(titlename: string, content: string) {\r\n\r\n this.modalService.success({\r\n nzTitle: titlename,\r\n nzContent: content\r\n });\r\n }\r\n navigateback() {\r\n this.router.navigate(['/main/mainpage'], {\r\n queryParams: {\r\n save: this.save,\r\n prove: this.prove,\r\n unprove: this.unprove\r\n }\r\n });\r\n\r\n }\r\n getactivecount() {\r\n this.getValueList();\r\n if (this.componentsReferences.length > 0) {\r\n this.bs.Post('member/GetActiveCount', this.modelActiveTag).then( ret => {\r\n if (ret.code === 200) {\r\n this.modelActivereturndata = ret.data;\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n obj.instance.tag_count = this.modelActivereturndata.Mainturndata.filter\r\n (x => x.active_taggroup === obj.instance.listno[obj.instance.index_tg - 1])[0].active_taggroupcount;\r\n });\r\n }\r\n });\r\n }\r\n }\r\n // 获得消息实体\r\n GetMessageInfo() {\r\n let flag = true;\r\n this.componentsReferencesmsg.forEach((obj: ComponentRef) => {\r\n if (obj.instance.listmessage.filter(s => s.selected === true).map(ret => ret.id).length > 0 ) {\r\n obj.instance.modelmessage.sms_giftcert = this.modelmessage.sms_giftcert;\r\n obj.instance.modelmessage.send_msg_type = obj.instance.listmessage.filter(s => s.selected === true).map(ret => ret.id).toString();\r\n if (obj.instance.messagesms && !obj.instance.modelmessage.sms_template) {\r\n this.loading = false;\r\n flag = false;\r\n }\r\n if (obj.instance.messagewx && !obj.instance.modelmessage.WxMsgTemplateContent) {\r\n this.loading = false;\r\n flag = false;\r\n // 循环判断消息实体是否有填写\r\n obj.instance.componentsReferencesmsg.forEach( (objmsg: ComponentRef) => {\r\n objmsg.instance.value ? flag = false : flag = flag ;\r\n this.loading = false;\r\n });\r\n }\r\n this.modelactivemodel.msg = obj.instance.modelmessage;\r\n if ( this.modelactivemodel.msg.WxMsgTemplateContent) {\r\n this.modelactivemodel.msg.WxMsgTemplateContent.buildingid = this.model.buildingid;\r\n }\r\n } else {\r\n this.modelactivemodel.msg = this.modelmessage;\r\n }\r\n });\r\n if (this.modelactivemodel.msg.sms_giftcert) {\r\n this.modelactivemodel.msg.sms_giftcert = this.modelmessage.sms_giftcert;\r\n }\r\n return flag;\r\n }\r\n changebuilding(selectvalue) {\r\n this.ShareServiced.buidingid = selectvalue;\r\n this.componentsReferencesmsg.forEach((obj: ComponentRef) => {\r\n obj.instance.GetWxtemplateinfo();\r\n });\r\n this.componentsReferencesgift.forEach((objgift: ComponentRef) => {\r\n objgift.instance.gettypelist(objgift.instance.modelgiftlist.active_gift_type, selectvalue, this.flagable);\r\n });\r\n }\r\n}\r\n\r\n","
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n {{trans.trances.ActivitySettings}}\r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n {{trans.trances.ActivityNumber}}\r\n
\r\n \r\n {{trans.trances.PleaseFillInTheActivityNumber}}!\r\n
\r\n\r\n
\r\n {{trans.trances.MarketingExecutionSettings}}({{trans.trances.SingleElection}})\r\n\r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n {{trans.trances.PleaseEnterMarketingExecutionSettings}}!\r\n\r\n
\r\n
\r\n
\r\n\r\n {{trans.trances.ActivityDescription}}\r\n
\r\n \r\n {{trans.trances.PleaseFillInTheRelevantDescriptionOfTheActivity}}!\r\n\r\n
\r\n
\r\n {{trans.trances.ExecutionTime}}(HH:mm)\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n \r\n \r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n {{trans.trances.PleaseEnterExecutionTime}}!\r\n
\r\n\r\n
\r\n
\r\n\r\n {{trans.trances.ActivityMall}}\r\n
\r\n \r\n \r\n \r\n Loading Data...\r\n \r\n \r\n trans.trances.PleaseFillInTheActivityMall!\r\n\r\n
\r\n
\r\n {{trans.trances.TypeOfSalesCycle}}({{trans.trances.SingleElection}})\r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n {{trans.trances.PleaseFillInTheTypeOfMarketingCycle}}!\r\n\r\n
\r\n
\r\n
\r\n\r\n {{trans.trances.StartTime}}\r\n
\r\n \r\n trans.trances.PleaseSelectDate!\r\n\r\n
\r\n
\r\n {{trans.trances.State}}\r\n
\r\n \r\n \r\n\r\n \r\n\r\n
\r\n\r\n
\r\n
\r\n {{trans.trances.EndTime}}\r\n
\r\n\r\n \r\n trans.trances.PleaseSelectDate!\r\n\r\n
\r\n\r\n
\r\n {{trans.trances.TheMonthlyNumberLimit}}({{trans.trances.MultipleSelection}})\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n {{trans.trances.PleaseFillInTheRestrictionsOnTheNumberOfMonthsYouChoose}}\r\n\r\n
\r\n\r\n {{trans.trances.WeeksOfTheMonth}} \r\n
\r\n \r\n \r\n\r\n \r\n {{trans.trances.ChooseTheWeekOfTheMonth}}!\r\n\r\n
\r\n\r\n {{trans.trances.ActivityWeekLimitation}}({{trans.trances.MultipleSelection}})\r\n\r\n
\r\n \r\n {{ i.title }} \r\n {{trans.trances.PleaseSelectTheActivityWeekLimit}}!\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n {{trans.trances.SelectionOfParticipants}}\r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n\r\n
\r\n \r\n {{trans.trances.ResourceMarketingAllocation}}\r\n \r\n \r\n\r\n
\r\n {{trans.trances.AwardTypes}}({{trans.trances.MultipleSelection}})\r\n
\r\n\r\n \r\n {{ i.name }} \r\n {{trans.trances.PleaseImproveTheAllocationOfResourcesMarketing}}!\r\n \r\n
\r\n
\r\n \r\n
\r\n
{{trans.trances.CouponConfiguration}}
\r\n
\r\n
{{trans.trances.SerialNumber}}
\r\n
{{trans.trances.TypesOfCoupons}}
\r\n
{{trans.trances.CardTicketID}}
\r\n
{{trans.trances.TotalQuantityPutIn}}
\r\n
{{trans.trances.InventoryQuantity}}
\r\n
{{trans.trances.QuantityPerPerson}}
\r\n
{{trans.trances.ActivityLabelGrouping}}
\r\n
{{trans.trances.CouponPriority}}
\r\n
{{trans.trances.Delete}}
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
{{trans.trances.IntegralConfiguration}}
\r\n
\r\n
{{trans.trances.SerialNumber}}
\r\n
{{trans.trances.TypesOfCoupons}}
\r\n
{{trans.trances.FractionsOrMultiples}}
\r\n
{{trans.trances.ActivityLabelGrouping}}
\r\n
{{trans.trances.CouponPriority}}
\r\n
{{trans.trances.Operation}}
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n","import { Component, ComponentRef, ComponentFactoryResolver, ViewContainerRef, ChangeDetectorRef, ViewChild,\r\n OnInit , AfterViewInit } from '@angular/core';\r\nimport { NzModalService } from 'ng-zorro-antd';\r\nimport { TaglistComponent } from '../../../shared/taglist/taglist.component';\r\nimport { GifttableComponent } from '../../../shared/tables/gifttable.component';\r\nimport { SctableComponent } from '../../../shared/sctables/sctable.component';\r\nimport { TagchildSelectComponent } from '../../../shared/taglist/child/tagchild.component';\r\nimport { BaseService } from '../../../services/common.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { ShareService , ShareServicesave, ShareServicebuiding } from '../../../services/share.service';\r\nimport {\r\n ActivityModel,\r\n ActiveMessageModel,\r\n ActiveResourceAllocationModel,\r\n ActiveCategoryModel,\r\n ActiveTagModel, active_tag_list, categorylist, ActiveModel, GetActiveInfoModel, MainActivereturndata , Inputlist\r\n} from '../../../models/activtitymodel';\r\nimport { MessageComponent } from '../../../shared/message/message.component';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n Validators,\r\n FormControl\r\n} from '@angular/forms';\r\nimport { formatDate } from '@angular/common';\r\nimport {\r\n Translate,\r\n} from '../../../services/translate';\r\nimport { ShareData } from '../../../services/commondata';\r\n\r\n\r\n/** Tag 项 */\r\nexport interface WeekSelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n title?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n}\r\n/** Tag 项 */\r\n// tslint:disable-next-line:class-name\r\nexport interface salseSelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n title?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n disabled?: boolean;\r\n}\r\nexport interface SelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n name?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n disabled?: boolean;\r\n}\r\n\r\n@Component({\r\n selector: 'app-auto-management',\r\n templateUrl: './activityauto.component.html',\r\n styleUrls: ['./activityauto.component.less'],\r\n providers: [Translate, ShareServicebuiding, ShareData]\r\n})\r\nexport class ActivityautotComponent implements OnInit , AfterViewInit {\r\n @ViewChild('viewContainerRef', { read: ViewContainerRef, static: false }) VCR: ViewContainerRef;\r\n @ViewChild('viewContainerGiftRef', { read: ViewContainerRef , static: false }) VCG: ViewContainerRef;\r\n @ViewChild('viewContainerscRef', { read: ViewContainerRef , static: false }) VCS: ViewContainerRef;\r\n @ViewChild('viewContainerMsgRef', { read: ViewContainerRef , static: false }) VCM: ViewContainerRef;\r\n componentsReferences = [];\r\n componentsReferencesgift = [];\r\n componentsReferencessc = [];\r\n componentsReferencesmsg = [];\r\n index_tg = 0;\r\n index_iift = 0;\r\n index_sc = 0;\r\n index_no = 0;\r\n list_activeno = '';\r\n timehh: Date;\r\n timemi: Date;\r\n private mainForm: FormGroup;\r\n private shopForm: FormGroup;\r\n listmonth = [{id: '1', title: '1'}, {id: '2', title: '2' }];\r\n\r\n ///\r\n selectedDays: Array = [];\r\n ///\r\n\r\n\r\n\r\n listshop: any[];\r\n\r\n selectdays = ['01' , '02', '03' , '04', '05', '06',\r\n '07', '08', '09', '10', '11', '12', '13', '14', '15',\r\n '16', '17', '18', '19', '20', '21', '22', '23', '24', '25' , '26', '27', '28', '29', '30', '31' ] ;\r\n\r\n\r\n value = '';\r\n title = 'Input a number';\r\n radioValue = 'A';\r\n\r\n // 奖励类型\r\n listpay: any[];\r\n listshopdata: any[] = [];\r\n listshoptag: any[] = [];\r\n shopselectedList: any[] = [];\r\n buidingmodel: any[] = [];\r\n busnessmodel: any[] = [];\r\n tagvaluef: any[] = [];\r\n tagvalues: any[] = [];\r\n giftvalues: any[] = [];\r\n bonusvalues: any[] = [];\r\n grouplist: any[] = ['*'];\r\n lismonthdays: any[] = [];\r\n Tagshoplist: Array;\r\n weekcheck: '0' | string;\r\n tagcheck: false | boolean;\r\n shopcheck: false | boolean;\r\n shopcheckex: '0' | string;\r\n busnesscheck: true | boolean;\r\n busnesscheckex: false | boolean;\r\n cupoushow: true | boolean;\r\n bonusshow: true | boolean;\r\n enddateshow: true | boolean;\r\n monthweekshow: boolean;\r\n weekshow: boolean;\r\n dayshow: boolean;\r\n datatagshow: boolean;\r\n active_no: string ;\r\n active_statue: string ;\r\n loading = true;\r\n langtype: string;\r\n taggroupdata: string;\r\n disableall: boolean;\r\n closedtag: string;\r\n flagable = false;\r\n save: boolean ;\r\n prove: boolean ;\r\n unprove: boolean ;\r\n model: ActivityModel;\r\n modelCategory: ActiveCategoryModel;\r\n modelmessage: ActiveMessageModel;\r\n modelResource: ActiveResourceAllocationModel;\r\n modelActiveTag: ActiveTagModel;\r\n modeltag_list: active_tag_list;\r\n modelcategory_list: categorylist;\r\n modelactivemodel: ActiveModel;\r\n modelgetactive: GetActiveInfoModel;\r\n modelActivereturndata: MainActivereturndata;\r\n constructor(private modalService: NzModalService,\r\n private CFR: ComponentFactoryResolver, public bs: BaseService, private fb: FormBuilder, private cdr: ChangeDetectorRef ,\r\n private router: Router, private ShareServiced: ShareServicebuiding , private shareSrvsave: ShareServicesave,\r\n activatedRoute: ActivatedRoute , private shareSrv: ShareService, public trans: Translate , public shared: ShareData) {\r\n this.model = new ActivityModel();\r\n this.modelCategory = new ActiveCategoryModel();\r\n this.modelmessage = new ActiveMessageModel();\r\n this.modelResource = new ActiveResourceAllocationModel();\r\n this.modelActiveTag = new ActiveTagModel();\r\n this.modeltag_list = new active_tag_list();\r\n this.modelcategory_list = new categorylist();\r\n this.modelactivemodel = new ActiveModel();\r\n this.modelgetactive = new GetActiveInfoModel();\r\n this.modelActivereturndata = new MainActivereturndata();\r\n this.loading = false;\r\n this.active_no = '' ;\r\n this.active_statue = '' ;\r\n activatedRoute.queryParams.subscribe(queryParams => {\r\n this.active_no = queryParams.activeno;\r\n this.active_statue = queryParams.activestatue;\r\n this.save = queryParams.save === 'true' ? true : false;\r\n this.prove = queryParams.prove === 'true' ? true : false;\r\n this.unprove = queryParams.unprove === 'true' ? true : false;\r\n });\r\n }\r\n ngAfterViewInit() {\r\n if (!this.active_no) {\r\n setTimeout( () => { this.createComponent_msg(); } , 200);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.shareSrv.trigger$.subscribe(() => this.getactivecount());\r\n this.shareSrvsave.trigger$.subscribe((value: any) => { if (value === '2') {\r\n this.SaveMainactive(); }});\r\n this.disableall = true;\r\n this.closedtag = 'closeable';\r\n this.getbuiding();\r\n\r\n this.datatagshow = false;\r\n this.model.status = '10';\r\n this.enddateshow = true ;\r\n this.monthweekshow = true ;\r\n this.weekshow = true ;\r\n this.dayshow = true ;\r\n this.datatagshow = false;\r\n this.model.exec_period_type = '01';\r\n this.model.modify_by = localStorage.getItem('loginstaffcode');\r\n this.langtype = localStorage.getItem('loginlang');\r\n this.mainForm = this.fb.group({\r\n actityno: [{value: null, disabled: true}, null],\r\n // weektag: [null, [Validators.required]],\r\n actitydesc: [null, [Validators.required]],\r\n buildingid: [null, [Validators.required]],\r\n start_date: [null, [Validators.required]],\r\n end_date: [null, this.enddateshow ? [Validators.required] : null],\r\n period_type: [null, [Validators.required]],\r\n status: [null, [Validators.required]],\r\n exec_period_type: [null, [Validators.required]],\r\n timehh: [null, [Validators.required]],\r\n timess: [null, [Validators.required]],\r\n weeknum_by_month: [null, this.weekshow ? [Validators.required] : null],\r\n monthdays: [null, this.dayshow ? [Validators.required] : null] ,\r\n });\r\n this.shopForm = this.fb.group({\r\n store_cond_type: [null, [Validators.required]],\r\n });\r\n\r\n if (this.active_no) {\r\n this.list_activeno = this.active_no;\r\n this.getactveinfo( this.active_no);\r\n } else {\r\n this.getbusnesstype();\r\n this.GetStoreCondType();\r\n this.GetRewardtype();\r\n this.model.status = '10';\r\n this.modelCategory.store_cond_type = '00';\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnesscheck = false;\r\n }\r\n }\r\n\r\n getbuiding() {\r\n this.bs.Get('member/GetActiveBuildingID').then(ret => {\r\n this.buidingmodel = ret.data;\r\n });\r\n }\r\n getbusnesstype() {\r\n this.bs.Get('member/GetActiveBusinesstype').then(ret => {\r\n this.busnessmodel = ret.data;\r\n });\r\n }\r\n getactiveno() {\r\n this.bs.Get('member/GetCreateActiveNo').then(ret => {\r\n this.modelactivemodel.active_no = ret.data.toString();\r\n });\r\n }\r\n GetStoreCondType() {\r\n this.bs.Get('member/GetStoreCondType').then(ret => {\r\n this.listshop = ret.data;\r\n });\r\n }\r\n GetRewardtype() {\r\n this.bs.Get('member/GetRewardtype').then(ret => {\r\n this.listpay = ret.data;\r\n });\r\n }\r\n getactveinfo( active_no: string ) {\r\n this.modelgetactive.active_no = active_no ;\r\n if (this.active_statue === '40') {\r\n this.disableallcontrol();\r\n }\r\n\r\n this.bs.Post('member/GetActiveInfo', this.modelgetactive).then( ret => {\r\n this.modelactivemodel = ret.data;\r\n this.model = this.modelactivemodel.maincontent;\r\n this.model.join_limit_total = Math.floor(this.model.join_limit_total) ;\r\n this.model.join_limit_oneday = Math.floor(this.model.join_limit_oneday) ;\r\n this.model.amount_from = Math.floor(this.model.amount_from) ;\r\n this.model.amount_to = Math.floor(this.model.amount_to) ;\r\n\r\n if (this.model.exec_time) {\r\n this.timehh = new Date ('2012-12-12 ' + this.model.exec_time.split(':')[0] + ':12:12') ;\r\n this.timemi = new Date ('2012-12-12 12:' + this.model.exec_time.split(':')[1] + ':12') ;\r\n // tslint:disable-next-line:max-line-length\r\n // this.timemi = toDate(this.model.exec_time.split(':')[1] + ':' + this.model.exec_time.split(':')[1] + ':' + this.model.exec_time.split(':')[1]) ;\r\n }\r\n this.model.status === '40' ? this.flagable = true : this.flagable = false;\r\n if (this.model.weekdays) {\r\n this.model.weekdays.split(',').forEach(v => { this.shared.listweek.find(x => x.id === v).selected = true ; });\r\n\r\n }\r\n if (this.model.weeknum_by_month) {\r\n // tslint:disable-next-line:radix\r\n this.model.weeknum_by_month = Math.floor( parseInt(this.model.weeknum_by_month) ).toString() ;\r\n }\r\n\r\n if ( this.model.monthdays) {\r\n this.lismonthdays = this.model.monthdays.split(',');\r\n }\r\n this.modelActiveTag = this.modelactivemodel.tag;\r\n let active_tag_group_list: any[];\r\n let active_tag_lists: any[];\r\n active_tag_group_list = [];\r\n active_tag_lists = [];\r\n this.modelActiveTag.active_tag_list.forEach(obj => {\r\n if ( !active_tag_group_list.includes(obj.active_tag_group)) {\r\n active_tag_group_list.push( obj.active_tag_group);\r\n }\r\n active_tag_lists.push( {key: obj.active_tag_group, value: obj.tag_id_list,\r\n flagdata: obj.tag_in_or_not === 'IN' ? true : false });\r\n });\r\n let listtemp = [];\r\n // tslint:disable-next-line:no-shadowed-variable\r\n this.bs.Get('member/Gettaglist').then(ret => {\r\n listtemp = ret.data;\r\n active_tag_group_list.forEach(obj => {\r\n this.b_createComponent( obj , active_tag_lists.filter(x => x.key === obj), listtemp,\r\n this.modelActiveTag.MainActivereturndata.Mainturndata.filter(x => x.active_taggroup === obj)[0].active_taggroupcount);\r\n });\r\n });\r\n this.modelResource = this.modelactivemodel.resource ;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n this.bs.Get('member/GetRewardtype').then(ret => {\r\n this.listpay = ret.data;\r\n if ( this.modelResource.reward_type) {\r\n this.modelResource.reward_type.split(',').forEach(v => { this.listpay.find(x => x.id === v).selected = true ;\r\n v === '01' ? this.cupoushow = true : v === '02' ? this.bonusshow = true : this.bonusshow = false ; });\r\n }\r\n this.cdr.detectChanges();\r\n this.modelResource.active_giftcert.forEach( obj => {\r\n this.b_createComponentgift( this.modelResource.active_giftcert.indexOf(obj) + 1 , obj, this.flagable);\r\n });\r\n this.modelResource.active_bonus.forEach( obj => {\r\n this.b_createComponentsc( this.modelResource.active_bonus.indexOf(obj) + 1 , obj , this.flagable);\r\n });\r\n if (this.flagable) {\r\n this.listpay.forEach(v => v.disabled = true);\r\n }\r\n });\r\n this.modelmessage.sms_giftcert = this.modelactivemodel.msg ? this.modelactivemodel.msg.sms_giftcert : '';\r\n if (this.modelactivemodel.msg && (this.modelactivemodel.msg.send_msg_type || this.modelactivemodel.msg.sms_template) ) {\r\n this.createComponent_msg_create(this.modelactivemodel.msg , this.flagable );\r\n } else {\r\n this. createComponent_msg();\r\n }\r\n this.modelmessage.sms_giftcert = this.modelactivemodel.msg.sms_giftcert;\r\n if (this.flagable) {\r\n this.disableallcontrol();\r\n }\r\n });\r\n }\r\n disableallcontrol() {\r\n this.mainForm = this.fb.group({\r\n actityno: new FormControl({value: this.modelgetactive.active_no, disabled: true}, null),\r\n // weektag: [null, [Validators.required]],\r\n actitydesc: new FormControl({value: this.model.active_desc, disabled: true}, Validators.required),\r\n buildingid: [{value: this.model.buildingid, disabled: true}, [Validators.required]],\r\n start_date: [{value: this.model.start_date, disabled: true}, [Validators.required]],\r\n end_date: [{value: this.model.end_date, disabled: true}, this.enddateshow ? [Validators.required] : null],\r\n period_type: [{value: this.model.period_type, disabled: true}, [Validators.required]],\r\n status: [{value: this.model.status, disabled: true}, [Validators.required]],\r\n exec_period_type: [{value: this.model.exec_period_type, disabled: true}, [Validators.required]],\r\n timehh: [{value: this.timehh, disabled: true}, [Validators.required]],\r\n timess: [{value: this.timemi, disabled: true}, [Validators.required]],\r\n weeknum_by_month: [{value: this.model.weeknum_by_month, disabled: true}, this.weekshow ? [Validators.required] : null],\r\n monthdays: [{value: this.model.monthdays, disabled: true}, this.dayshow ? [Validators.required] : null] ,\r\n });\r\n this.shopForm = this.fb.group({\r\n store_cond_type: new FormControl({value: this.modelCategory.store_cond_type, disabled: true}, Validators.required)\r\n });\r\n this.shared.listweek.forEach(v => v.disabled = true);\r\n this.busnessmodel.forEach(v => v.disabled = true);\r\n this.shopcheck = false;\r\n this.busnesscheck = false;\r\n this.closedtag = '';\r\n}\r\n createComponent() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(TaglistComponent);\r\n const componentRef: ComponentRef = this.VCR.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef = currentComponent;\r\n currentComponent.index_tg = ++this.index_tg;\r\n this.grouplist.push(currentComponent.listno[this.index_tg - 1]);\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction = this;\r\n currentComponent.createComponentchild(true);\r\n // add reference for newly created component\r\n this.componentsReferences.push(componentRef);\r\n }\r\n b_createComponent(index_tg_name: string, tag_id_list: any[], listtemp: any[], groupcount: string ) {\r\n const componentFactory = this.CFR.resolveComponentFactory(TaglistComponent);\r\n const componentRef: ComponentRef = this.VCR.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef = currentComponent;\r\n currentComponent.tag_count = groupcount;\r\n currentComponent.index_tg = currentComponent.listno.indexOf(index_tg_name) + 1 ;\r\n this.index_tg = currentComponent.listno.indexOf(index_tg_name) + 2;\r\n this.grouplist.push(index_tg_name);\r\n currentComponent.tagcheck = this.flagable;\r\n currentComponent.list_activeno = this.modelactivemodel.active_no;\r\n\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction = this;\r\n let listtagg = [];\r\n tag_id_list.forEach(obj => {\r\n listtagg = [];\r\n obj.value.split(',').forEach( x => {\r\n const listtagdata = {id: x, title: listtemp.filter(ret => ret.id === x)[0].name, tagId: x , typeId: x, selected: true} ;\r\n listtagg.push(listtagdata);\r\n });\r\n //\r\n currentComponent.b_createComponentchild(listtagg, this.flagable , obj.flagdata);\r\n\r\n });\r\n // add reference for newly created component\r\n this.componentsReferences.push(componentRef);\r\n }\r\n\r\n createComponentgift() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(GifttableComponent);\r\n const componentRef: ComponentRef = this.VCG.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n\r\n currentComponent.selfRef_gift = currentComponent;\r\n currentComponent.index_iift = ++this.index_iift;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.modelgiftlist.active_gift_personnum = 1;\r\n currentComponent.modelgiftlist.active_gift_index = 1;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_gift = this;\r\n currentComponent.buildingid = this.model.buildingid;\r\n // add reference for newly created component\r\n this.componentsReferencesgift.push(componentRef);\r\n }\r\n b_createComponentgift(index_gf: number , listtemp: any, flagable: boolean) {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(GifttableComponent);\r\n const componentRef: ComponentRef = this.VCG.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n\r\n currentComponent.selfRef_gift = currentComponent;\r\n currentComponent.index_iift = index_gf;\r\n this.index_iift = index_gf ;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.modelgiftlist = listtemp;\r\n currentComponent.flagdisable = flagable;\r\n currentComponent.buildingid = this.model.buildingid;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_gift = this;\r\n currentComponent.gettypelist(currentComponent.modelgiftlist.active_gift_type, this.model.buildingid, true);\r\n currentComponent.checkdata(currentComponent.modelgiftlist.active_gift_id,\r\n currentComponent.modelgiftlist.active_gift_type, currentComponent.modelgiftlist.active_gift_id, this.model.buildingid);\r\n\r\n // add reference for newly created component\r\n this.componentsReferencesgift.push(componentRef);\r\n }\r\n createComponentsc() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(SctableComponent);\r\n const componentRef: ComponentRef = this.VCS.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.selfRef_sc = currentComponent;\r\n currentComponent.index_sc = ++this.index_sc;\r\n currentComponent.modelactive_bonus.bonus_value = '1' ;\r\n currentComponent.modelactive_bonus.priority = '1' ;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_sc = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencessc.push(componentRef);\r\n }\r\n b_createComponentsc(index_sc: number , listtemp: any, flagable: boolean) {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(SctableComponent);\r\n const componentRef: ComponentRef = this.VCS.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.selfRef_sc = currentComponent;\r\n currentComponent.index_sc = index_sc;\r\n currentComponent.flagdisable = flagable;\r\n this.index_sc = index_sc;\r\n currentComponent.modelactive_bonus = listtemp;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_sc = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencessc.push(componentRef);\r\n }\r\n removet(index_tg: number) {\r\n\r\n if (this.VCR.length < 1) {\r\n return;\r\n }\r\n const componentRef = this.componentsReferences.filter(x => x.instance.index_tg === index_tg)[0];\r\n const component: TaglistComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCR.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCR.remove(vcrIndex);\r\n this.grouplist.splice(vcrIndex, 1);\r\n\r\n this.componentsReferences = this.componentsReferences.filter(x => x.instance.index_tg !== index_tg);\r\n console.log(this.grouplist);\r\n }\r\n removeg(index_iift: number) {\r\n if (this.VCG.length < 1) {\r\n return;\r\n }\r\n\r\n const componentRef = this.componentsReferencesgift.filter(x => x.instance.index_iift === index_iift)[0];\r\n const component: GifttableComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCG.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCG.remove(vcrIndex);\r\n\r\n this.componentsReferencesgift = this.componentsReferencesgift.filter(x => x.instance.index_iift !== index_iift);\r\n }\r\n removes(index_sc: number) {\r\n if (this.VCS.length < 1) {\r\n return;\r\n }\r\n\r\n const componentRef = this.componentsReferencessc.filter(x => x.instance.index_sc === index_sc)[0];\r\n const component: SctableComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCS.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCS.remove(vcrIndex);\r\n\r\n this.componentsReferencessc = this.componentsReferencessc.filter(x => x.instance.index_sc !== index_sc);\r\n }\r\n\r\n createComponent_msg_create(modelmessages: ActiveMessageModel, flagable: boolean ) {\r\n const componentFactory = this.CFR.resolveComponentFactory(MessageComponent);\r\n const componentRef: ComponentRef = this.VCM.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef_gmsg = currentComponent;\r\n currentComponent.index_msg = 0;\r\n currentComponent.type = '2';\r\n if (this.flagable) {\r\n currentComponent.listmessage.forEach(v => v.disabled = true);\r\n }\r\n currentComponent.modelmessage = modelmessages;\r\n if ( modelmessages.send_msg_type) {\r\n modelmessages.send_msg_type.split(',').forEach(\r\n v => { currentComponent.listmessage.find(x => x.id === v).selected = true ;\r\n v === '01' && !this.flagable ? currentComponent.messagesms = true : v === '02' && !this.flagable ?\r\n currentComponent.messagewx = true : currentComponent.messagewx = false ; });\r\n }\r\n currentComponent.modelmWxMsgTemplateContent = modelmessages.WxMsgTemplateContent;\r\n currentComponent.flagable = this.flagable;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_msg = this;\r\n // add reference for newly created component\r\n this.componentsReferencesmsg.push(componentRef);\r\n }\r\n createComponent_msg() {\r\n const componentFactory = this.CFR.resolveComponentFactory(MessageComponent);\r\n const componentRef: ComponentRef = this.VCM.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef_gmsg = currentComponent;\r\n currentComponent.index_msg = 0;\r\n currentComponent.type = '2';\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_msg = this;\r\n // add reference for newly created component\r\n this.componentsReferencesmsg.push(componentRef);\r\n }\r\n remove_msg(index: number) {\r\n if (this.VCM.length < 1) {\r\n return;\r\n }\r\n const componentRef = this.componentsReferences.filter(x => x.instance.index === index)[0];\r\n const component: MessageComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCR.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCR.remove(vcrIndex);\r\n\r\n this.componentsReferencesmsg = this.componentsReferencesmsg.filter(x => x.instance.index !== index);\r\n }\r\n formatNumber(value: string): string {\r\n const string = `${value}`;\r\n const list = string.split('.');\r\n const prefix = list[0].charAt(0) === '-' ? '-' : '';\r\n let num = prefix ? list[0].slice(1) : list[0];\r\n let result = '';\r\n while (num.length > 3) {\r\n result = `,${num.slice(-3)}${result}`;\r\n num = num.slice(0, num.length - 3);\r\n }\r\n if (num) {\r\n result = num + result;\r\n }\r\n return `${prefix}${result}${list[1] ? `.${list[1]}` : ''}`;\r\n }\r\n\r\n weekchoose(item: WeekSelectItem) {\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n }\r\n salsetypechoose(item: salseSelectItem) {\r\n\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n }\r\n\r\n typechoose(item: SelectItem) {\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n // tslint:disable-next-line:max-line-length\r\n item.id === '01' ? item.selected ? this.cupoushow = true : this.cupoushow = false : item.id === '02' ? item.selected ? this.bonusshow = true : this.bonusshow = false : console.log(item.id ) ;\r\n if ( !this.cupoushow ) {\r\n this.componentsReferencesgift = [];\r\n this.giftvalues = [];\r\n this.modelResource.active_giftcert = [];\r\n this.modelmessage.sms_giftcert = '';\r\n }\r\n if ( !this.bonusshow ) {\r\n this.componentsReferencessc = [];\r\n this.bonusvalues = [];\r\n this.modelResource.active_bonus = [];\r\n }\r\n }\r\n removeshop(optionid: string) {\r\n const obj = this.listshopdata.find(x => x.id === optionid);\r\n if (obj) {\r\n obj.selected = false;\r\n }\r\n\r\n }\r\n SaveMainactive() {\r\n const selecteds = this.shared.listweek.filter(s => s.selected === true).map(ret => ret.id);\r\n if (selecteds.length === 0) {\r\n this.weekcheck = '1';\r\n } else {\r\n\r\n this.weekcheck = '0';\r\n }\r\n // tslint:disable-next-line:forin\r\n for (const i in this.mainForm.controls) {\r\n this.mainForm.controls[i].markAsDirty();\r\n if ( this.mainForm.controls[i].status.toLowerCase() !== 'valid') {\r\n }\r\n this.mainForm.controls[i].updateValueAndValidity();\r\n }\r\n if (this.mainForm.status.toLowerCase() !== 'valid' || (this.weekcheck === '1' && this.weekshow) ) {\r\n this.loading = false;\r\n return false;\r\n }\r\n this.model.exec_time = formatDate(this.timehh.toString(),\r\n 'HH', 'zh-CN', '+0800') + ':' + formatDate(this.timemi.toString(), 'mm', 'zh-CN', '+0800') ;\r\n this.model.active_type = '02';\r\n this.model.start_date = formatDate(this.model.start_date, 'yyyy-MM-dd', 'zh-CN', '+0800');\r\n this.model.end_date ? this.model.end_date =\r\n formatDate(this.model.end_date, 'yyyy-MM-dd', 'zh-CN', '+0800') : this.model.end_date = null;\r\n this.model.weekdays = selecteds.toString();\r\n this.model.reward_type = '';\r\n // 有效期类型(01:短期计划;02:永久生效)仅当 active_type = '02' or active_type = '03' 时需要显示和录入\r\n this.model.store_cond_type = '00';\r\n this.model.monthdays = this.lismonthdays.toString();\r\n this.modelactivemodel.maincontent = this.model;\r\n\r\n\r\n // 保存对象部分\r\n const flagtag = this.getValueList();\r\n if (!flagtag) {\r\n this.loading = false;\r\n return false;\r\n }\r\n if (this.componentsReferences.length > 0 && flagtag) {\r\n this.modelactivemodel.tag = this.modelActiveTag;\r\n }\r\n this.modelResource.reward_type = this.listpay.filter(s => s.selected === true).map(ret => ret.id).length\r\n > 0 ? this.listpay.filter(s => s.selected === true).map(ret => ret.id).toString() : '';\r\n // 资源营销配置\r\n if (this.listpay.filter(s => s.selected === true).length > 0) {\r\n if ((this.listpay.filter(s => s.selected === true).map(ret => ret.id).includes('01') && this.componentsReferencesgift.length === 0) ||\r\n (this.listpay.filter(s => s.selected === true).map(ret => ret.id).includes('02') && this.componentsReferencessc.length === 0)) {\r\n this.loading = false;\r\n this.datatagshow = true;\r\n return false;\r\n }\r\n this.datatagshow = false;\r\n this.modelResource.reward_type = this.listpay.filter(s => s.selected === true).map(ret => ret.id).toString();\r\n if (this.componentsReferencesgift.length > 0 || this.componentsReferencessc.length > 0) {\r\n const flag = this.gesalseList();\r\n if (!flag) {\r\n return false;\r\n }\r\n this.modelactivemodel.resource = this.modelResource;\r\n }\r\n }\r\n // 消息触达\r\n const flagmessage = this.GetMessageInfo() ;\r\n if (!flagmessage) {\r\n this.loading = false;\r\n return false;\r\n }\r\n this.bs.Post('member/PostActiveSave', this.modelactivemodel).then(ret => {\r\n\r\n if (ret.code === 200) {\r\n this.modelActivereturndata = ret.data;\r\n this.modelactivemodel.active_no = this.modelActivereturndata.active_no;\r\n this.list_activeno = this.modelActivereturndata.active_no;\r\n\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n obj.instance.tag_count = this.modelActivereturndata.Mainturndata.filter\r\n (x => x.active_taggroup === obj.instance.listno[obj.instance.index_tg - 1])[0].active_taggroupcount;\r\n obj.instance.list_activeno = this.modelActivereturndata.active_no ;\r\n });\r\n }\r\n this.alertinfo(ret.code.toString(), ret.msg);\r\n });\r\n }\r\n\r\n checkperidselect(selectValue: any) {\r\n if (selectValue === '02') {\r\n this.model.end_date = '';\r\n this.enddateshow = false;\r\n } else {\r\n this.enddateshow = true;\r\n }\r\n !this.enddateshow ? this.mainForm.controls['end_date'].setValidators(null) :\r\n this.mainForm.controls['end_date'].setValidators(Validators.required);\r\n }\r\n checkmonthsselect(selectValue: any) {\r\n this.lismonthdays = [];\r\n // this.model.weeknum_by_month = 0;\r\n this.shared.listweek.forEach(v => v.selected = false);\r\n if (selectValue === '01') {\r\n this.monthweekshow = false ;\r\n this.weekshow = false ;\r\n this.dayshow = false ;\r\n\r\n }\r\n if (selectValue === '02') {\r\n this.monthweekshow = false ;\r\n this.weekshow = true ;\r\n this.dayshow = false ;\r\n }\r\n if (selectValue === '03') {\r\n this.monthweekshow = false ;\r\n this.weekshow = false ;\r\n this.dayshow = true ;\r\n }\r\n if (selectValue === '04') {\r\n this.monthweekshow = true ;\r\n this.weekshow = false ;\r\n this.dayshow = false ;\r\n }\r\n // tslint:disable-next-line:max-line-length\r\n !this.enddateshow ? this.mainForm.controls['end_date'].setValidators(null) : this.mainForm.controls['end_date'].setValidators(Validators.required);\r\n !this.enddateshow ? this.model.end_date = '' : this.model.end_date = this.model.end_date ;\r\n // tslint:disable-next-line:max-line-length\r\n !this.dayshow ? this.mainForm.controls['monthdays'].setValidators(null) : this.mainForm.controls['monthdays'].setValidators(Validators.required);\r\n // tslint:disable-next-line:max-line-length\r\n !this.monthweekshow ? this.mainForm.controls['weeknum_by_month'].setValidators(null) : this.mainForm.controls['weeknum_by_month'].setValidators(Validators.required);\r\n }\r\n checkshopselect(selectValue: any) {\r\n if (!selectValue) {\r\n return false;\r\n }\r\n switch (selectValue) {\r\n case '00':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false); // 清空选中业态\r\n this.listshopdata = [];\r\n this.shopcheck = false; // 禁用添加\r\n this.busnesscheck = false;\r\n break;\r\n case '01':\r\n this.busnessmodel.forEach(v => v.selected = false);\r\n this.busnessmodel.forEach(v => v.disabled = false);\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = false;\r\n this.busnesscheck = true;\r\n break;\r\n case '02':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = false;\r\n break;\r\n case '03':\r\n this.busnessmodel.forEach(v => v.disabled = false); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = false;\r\n this.busnesscheck = true;\r\n break;\r\n case '04':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = true;\r\n break;\r\n case '05':\r\n this.busnessmodel.forEach(v => v.disabled = false); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = true;\r\n break;\r\n }\r\n\r\n }\r\n\r\n getValueList() {\r\n this.tagvaluef = []; // 遍历数组,调用每一个组件实例的方法\r\n this.modelActiveTag.active_tag_list = [];\r\n this.index_no = 0;\r\n let flag = true;\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n this.taggroupdata = (obj.instance.index_tg - 1).toString();\r\n obj.instance.componentsReferenceschild.forEach((obj2: ComponentRef) => {\r\n const modeltaglist: active_tag_list = new active_tag_list();\r\n modeltaglist.active_tag_group = obj.instance.listno[this.taggroupdata];\r\n modeltaglist.tag_id_list =\r\n obj2.instance.listchild.filter(s => s.selected === true).map(ret => (ret.id)).toString();\r\n if (!modeltaglist.tag_id_list) {\r\n flag = false;\r\n }\r\n obj2.instance.flagtrue ? modeltaglist.tag_in_or_not = 'IN' : modeltaglist.tag_in_or_not = 'NOT IN';\r\n modeltaglist.line_no = this.index_no.toString();\r\n this.modelActiveTag.active_tag_list.push(modeltaglist);\r\n this.index_no = ++this.index_no;\r\n });\r\n });\r\n return flag;\r\n }\r\n // 获取销售实体\r\n gesalseList() {\r\n let flag = true;\r\n this.giftvalues = []; // 遍历数组,调用每一个组件实例的方法\r\n this.componentsReferencesgift.forEach((obj: ComponentRef) => {\r\n if (!obj.instance.modelgiftlist.active_gift_group ) {\r\n obj.instance.modelgiftlist.active_gift_group = '*';\r\n }\r\n if (!obj.instance.modelgiftlist.active_gift_id || !obj.instance.modelgiftlist.active_gift_type) {\r\n flag = false;\r\n }\r\n this.giftvalues.push(obj.instance.modelgiftlist);\r\n });\r\n this.bonusvalues = []; // 遍历数组,调用每一个组件实例的方法\r\n this.componentsReferencessc.forEach((obj: ComponentRef) => {\r\n if (!obj.instance.modelactive_bonus.active_tag_group) {\r\n obj.instance.modelactive_bonus.active_tag_group = '*';\r\n }\r\n if (!obj.instance.modelactive_bonus.bonus_type) {\r\n flag = false;\r\n }\r\n this.bonusvalues.push(obj.instance.modelactive_bonus);\r\n });\r\n this.modelResource.active_giftcert = this.giftvalues;\r\n this.modelResource.active_bonus = this.bonusvalues;\r\n return flag;\r\n }\r\n\r\n alertinfo(titlename: string, content: string) {\r\n\r\n this.modalService.success({\r\n nzTitle: titlename,\r\n nzContent: content\r\n });\r\n }\r\n navigateback() {\r\n this.router.navigate(['/main/autopage'], {\r\n queryParams: {\r\n save: this.save,\r\n prove: this.prove,\r\n unprove: this.unprove\r\n }\r\n });\r\n\r\n }\r\n getactivecount() {\r\n this.getValueList();\r\n if (this.componentsReferences.length > 0) {\r\n this.bs.Post('member/GetActiveCount', this.modelActiveTag).then( ret => {\r\n if (ret.code === 200) {\r\n this.modelActivereturndata = ret.data;\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n obj.instance.tag_count = this.modelActivereturndata.Mainturndata.filter\r\n (x => x.active_taggroup === obj.instance.listno[obj.instance.index_tg - 1])[0].active_taggroupcount;\r\n });\r\n }\r\n });\r\n }\r\n }\r\n // 获得消息实体\r\n GetMessageInfo() {\r\n let flag = true;\r\n this.componentsReferencesmsg.forEach((obj: ComponentRef) => {\r\n if (obj.instance.listmessage.filter(s => s.selected === true).map(ret => ret.id).length > 0 ) {\r\n obj.instance.modelmessage.sms_giftcert = this.modelmessage.sms_giftcert;\r\n obj.instance.modelmessage.send_msg_type = obj.instance.listmessage.filter(s => s.selected === true).map(ret => ret.id).toString();\r\n if (obj.instance.messagesms && !obj.instance.modelmessage.sms_template) {\r\n this.loading = false;\r\n flag = false;\r\n }\r\n if (obj.instance.messagewx && !obj.instance.modelmessage.WxMsgTemplateContent) {\r\n this.loading = false;\r\n flag = false;\r\n // 循环判断消息实体是否有填写\r\n obj.instance.componentsReferencesmsg.forEach( (objmsg: ComponentRef) => {\r\n objmsg.instance.value ? flag = false : flag = flag ;\r\n this.loading = false;\r\n });\r\n }\r\n this.modelactivemodel.msg = obj.instance.modelmessage;\r\n if ( this.modelactivemodel.msg.WxMsgTemplateContent) {\r\n this.modelactivemodel.msg.WxMsgTemplateContent.buildingid = this.model.buildingid;\r\n }\r\n } else {\r\n this.modelactivemodel.msg = this.modelmessage;\r\n }\r\n });\r\n this.modelactivemodel.msg.sms_giftcert = this.modelmessage.sms_giftcert;\r\n return flag;\r\n }\r\n changebuilding(selectvalue) {\r\n this.ShareServiced.buidingid = selectvalue;\r\n this.componentsReferencesmsg.forEach((obj: ComponentRef) => {\r\n obj.instance.GetWxtemplateinfo();\r\n });\r\n this.componentsReferencesgift.forEach((objgift: ComponentRef) => {\r\n objgift.instance.gettypelist(objgift.instance.modelgiftlist.active_gift_type, selectvalue, this.flagable);\r\n });\r\n}\r\n\r\n}\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nimport { ActivitymaintComponent } from './activitymain/activitymain.component';\r\nimport { ActivityautotComponent } from './autoactivity/activityauto.component';\r\nimport { ActivityeventComponent } from './evenactivity/activityeven.component';\r\n\r\n\r\nconst routes: Routes = [\r\n { path: 'activitymain', component: ActivitymaintComponent },\r\n { path: 'autoactivity', component: ActivityautotComponent },\r\n { path: 'evenactivity', component: ActivityeventComponent },\r\n\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class CrmactivityRoutingModule { }\r\n","import { NgModule , CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';\r\nimport { SharedModule } from '../../shared/shared.module';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { CrmactivityRoutingModule } from './crmactivity-routing.module';\r\nimport { ActivitymaintComponent } from './activitymain/activitymain.component';\r\nimport { ActivityautotComponent } from './autoactivity/activityauto.component';\r\nimport { ActivityeventComponent } from './evenactivity/activityeven.component';\r\n\r\nconst COMPONENTS_DECLARATIONS = [\r\n ActivitymaintComponent,\r\n ActivityautotComponent,\r\n ActivityeventComponent\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n SharedModule,\r\n CrmactivityRoutingModule,\r\n ],\r\n declarations: [\r\n COMPONENTS_DECLARATIONS\r\n ],\r\n schemas: [\r\n CUSTOM_ELEMENTS_SCHEMA\r\n],\r\n})\r\nexport class CrmactivityModule { }\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{trans.trances.ActivitySettings}}\r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n {{trans.trances.ActivityNumber}}\r\n
\r\n \r\n trans.trances.PleaseFillInTheActivityNumber!\r\n
\r\n\r\n
\r\n {{trans.trances.MarketingExecutionSettings}}({{trans.trances.SingleElection}})\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n {{trans.trances.PleaseEnterMarketingExecutionSettings}}!\r\n \r\n
\r\n
\r\n
\r\n\r\n {{trans.trances.ActivityDescription}}\r\n
\r\n \r\n {{trans.trances.PleaseFillInTheRelevantDescriptionOfTheActivity}}!\r\n \r\n
\r\n
\r\n {{trans.trances.ExecutionTime}}(HH:mm)\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n {{trans.trances.PleaseEnterExecutionTime}}!\r\n \r\n
\r\n
\r\n
\r\n \r\n {{trans.trances.ActivityMall}}\r\n
\r\n \r\n \r\n \r\n Loading Data...\r\n \r\n \r\n trans.trances.PleaseFillInTheActivityMall!\r\n \r\n
\r\n
\r\n {{trans.trances.MembershipEventType}}({{trans.trances.SingleElection}})\r\n
\r\n\r\n \r\n \r\n\r\n \r\n {{trans.trances.PleaseEnterTheMemberEventType}}!\r\n \r\n
\r\n \r\n
\r\n
\r\n {{trans.trances.TypeOfSalesCycle}}({{trans.trances.SingleElection}})\r\n
\r\n\r\n \r\n \r\n\r\n \r\n {{trans.trances.PleaseFillInTheTypeOfMarketingCycle}}!\r\n \r\n
\r\n
\r\n {{trans.trances.MembershipEvents}}({{trans.trances.MultipleSelection}})\r\n
\r\n\r\n \r\n \r\n {{ i.name }} \r\n\r\n {{trans.trances.PleaseEnterMemberEvents}}!\r\n \r\n
\r\n
\r\n
\r\n {{trans.trances.StartTime}}\r\n
\r\n \r\n trans.trances.PleaseSelectDate!\r\n
\r\n \r\n
\r\n {{trans.trances.State}}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n {{trans.trances.EndTime}}\r\n
\r\n \r\n trans.trances.PleaseSelectDate! \r\n
\r\n \r\n
\r\n {{trans.trances.ActivityWeekLimitation}}({{trans.trances.MultipleSelection}}) \r\n
\r\n \r\n {{ i.title }} \r\n {{trans.trances.PleaseSelectTheActivityWeekLimit}}!\r\n
\r\n \r\n {{trans.trances.TheMonthlyNumberLimit}}({{trans.trances.MultipleSelection}})\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{trans.trances.PleaseFillInTheRestrictionsOnTheNumberOfMonthsYouChoose}} \r\n
\r\n\r\n {{trans.trances.WeeksOfTheMonth}} \r\n
\r\n \r\n \r\n \r\n {{trans.trances.ChooseTheWeekOfTheMonth}}\r\n \r\n
\r\n
\r\n \r\n\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n {{trans.trances.SelectionOfParticipants}}\r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n\r\n
\r\n \r\n {{trans.trances.ResourceMarketingAllocation}}\r\n \r\n \r\n\r\n
\r\n {{trans.trances.AwardTypes}}({{trans.trances.MultipleSelection}})\r\n
\r\n \r\n \r\n {{ i.name }} \r\n {{trans.trances.PleaseImproveTheAllocationOfResourcesMarketing}}!\r\n \r\n
\r\n
\r\n \r\n
\r\n
{{trans.trances.CouponConfiguration}}
\r\n
\r\n
{{trans.trances.SerialNumber}}
\r\n
{{trans.trances.TypesOfCoupons}}
\r\n
{{trans.trances.CardTicketID}}
\r\n
{{trans.trances.TotalQuantityPutIn}}
\r\n
{{trans.trances.InventoryQuantity}}
\r\n
{{trans.trances.QuantityPerPerson}}
\r\n
{{trans.trances.ActivityLabelGrouping}}
\r\n
{{trans.trances.CouponPriority}}
\r\n
{{trans.trances.Delete}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
{{trans.trances.IntegralConfiguration}}
\r\n
\r\n
{{trans.trances.SerialNumber}}
\r\n
{{trans.trances.TypesOfCoupons}}
\r\n
{{trans.trances.FractionsOrMultiples}}
\r\n
{{trans.trances.ActivityLabelGrouping}}
\r\n
{{trans.trances.CouponPriority}}
\r\n
{{trans.trances.Operation}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n \r\n
","import { Component, ComponentRef, ComponentFactoryResolver, ViewContainerRef, ChangeDetectorRef, ViewChild, OnInit\r\n , AfterViewInit } from '@angular/core';\r\nimport { NzModalService } from 'ng-zorro-antd';\r\nimport { TaglistComponent } from '../../../shared/taglist/taglist.component';\r\nimport { GifttableComponent } from '../../../shared/tables/gifttable.component';\r\nimport { SctableComponent } from '../../../shared/sctables/sctable.component';\r\nimport { TagchildSelectComponent } from '../../../shared/taglist/child/tagchild.component';\r\nimport { BaseService } from '../../../services/common.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { ShareService , ShareServicesave, ShareServicebuiding } from '../../../services/share.service';\r\nimport {\r\n ActivityModel,\r\n ActiveMessageModel,\r\n ActiveResourceAllocationModel,\r\n ActiveCategoryModel,\r\n ActiveTagModel, active_tag_list, categorylist, ActiveModel, GetActiveInfoModel, MainActivereturndata, Inputlist\r\n} from '../../../models/activtitymodel';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n Validators,\r\n FormControl\r\n} from '@angular/forms';\r\nimport { formatDate } from '@angular/common';\r\nimport {\r\n Translate,\r\n} from '../../../services/translate';\r\n\r\nimport { MessageComponent } from '../../../shared/message/message.component';\r\nimport { ShareData } from '../../../services/commondata';\r\n\r\n/** Tag 项 */\r\nexport interface WeekSelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n title?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n}\r\n/** Tag 项 */\r\n// tslint:disable-next-line:class-name\r\nexport interface salseSelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n title?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n disabled?: boolean;\r\n}\r\nexport interface SelectItem {\r\n [key: string]: any;\r\n id?: string;\r\n name?: string;\r\n /** 是否被选中 */\r\n selected?: boolean;\r\n disabled?: boolean;\r\n}\r\n@Component({\r\n selector: 'app-auto-management',\r\n templateUrl: './activityeven.component.html',\r\n styleUrls: ['./activityeven.component.less'],\r\n providers: [Translate, ShareServicebuiding, ShareData]\r\n})\r\nexport class ActivityeventComponent implements OnInit, AfterViewInit {\r\n @ViewChild('viewContainerRef', { read: ViewContainerRef , static: false }) VCR: ViewContainerRef;\r\n @ViewChild('viewContainerGiftRef', { read: ViewContainerRef , static: false }) VCG: ViewContainerRef;\r\n @ViewChild('viewContainerscRef', { read: ViewContainerRef , static: false }) VCS: ViewContainerRef;\r\n @ViewChild('viewContainerMsgRef', { read: ViewContainerRef , static: false }) VCM: ViewContainerRef;\r\n componentsReferences = [];\r\n componentsReferencesgift = [];\r\n componentsReferencessc = [];\r\n componentsReferencesmsg = [];\r\n index_tg = 0;\r\n index_iift = 0;\r\n index_sc = 0;\r\n index_no = 0;\r\n list_activeno = '';\r\n timehh: Date;\r\n timemi: Date;\r\n private mainForm: FormGroup;\r\n listshop: any[];\r\n\r\n selectdays = ['01' , '02', '03' , '04', '05', '06',\r\n '07', '08', '09', '10', '11', '12', '13', '14', '15',\r\n '16', '17', '18', '19', '20', '21', '22', '23', '24', '25' , '26', '27', '28', '29', '30', '31' ] ;\r\n\r\n listeventype: any[] = [];\r\n\r\n\r\n listeven: any[];\r\n listevens: any[];\r\n\r\n\r\n // 奖励类型\r\n listpay: any[];\r\n value = '';\r\n title = 'Input a number';\r\n radioValue = 'A';\r\n listshopdata: any[] = [];\r\n listshoptag: any[] = [];\r\n shopselectedList: any[] = [];\r\n buidingmodel: any[] = [];\r\n busnessmodel: any[] = [];\r\n tagvaluef: any[] = [];\r\n tagvalues: any[] = [];\r\n giftvalues: any[] = [];\r\n bonusvalues: any[] = [];\r\n grouplist: any[] = ['*'];\r\n lismonthdays: any[] = [];\r\n Tagshoplist: Array;\r\n weekcheck: '0' | string;\r\n vipevencheck: '0' | string;\r\n tagcheck: false | boolean;\r\n shopcheck: false | boolean;\r\n shopcheckex: '0' | string;\r\n busnesscheck: true | boolean;\r\n busnesscheckex: false | boolean;\r\n enddateshow: true | boolean;\r\n loading = true;\r\n cupoushow: true | boolean;\r\n bonusshow: true | boolean;\r\n monthweekshow: boolean;\r\n datatagshow: boolean;\r\n weekshow: boolean;\r\n dayshow: boolean;\r\n active_no: string ;\r\n active_statue: string ;\r\n taggroupdata: string;\r\n langtype: string;\r\n disableall: boolean;\r\n closedtag: string;\r\n flagable = false;\r\n save: boolean ;\r\n prove: boolean ;\r\n unprove: boolean ;\r\n model: ActivityModel;\r\n modelCategory: ActiveCategoryModel;\r\n modelmessage: ActiveMessageModel;\r\n modelResource: ActiveResourceAllocationModel;\r\n modelActiveTag: ActiveTagModel;\r\n modeltag_list: active_tag_list;\r\n modelcategory_list: categorylist;\r\n modelactivemodel: ActiveModel;\r\n modelgetactive: GetActiveInfoModel;\r\n modelActivereturndata: MainActivereturndata;\r\n constructor(private modalService: NzModalService,\r\n private CFR: ComponentFactoryResolver, public bs: BaseService, private fb: FormBuilder, private cdr: ChangeDetectorRef,\r\n private router: Router, private ShareServiced: ShareServicebuiding, private shareSrvsave: ShareServicesave,\r\n activatedRoute: ActivatedRoute , private shareSrv: ShareService, public trans: Translate, public shared: ShareData) {\r\n this.model = new ActivityModel();\r\n this.modelCategory = new ActiveCategoryModel();\r\n this.modelmessage = new ActiveMessageModel();\r\n this.modelResource = new ActiveResourceAllocationModel();\r\n this.modelActiveTag = new ActiveTagModel();\r\n this.modeltag_list = new active_tag_list();\r\n this.modelcategory_list = new categorylist();\r\n this.modelactivemodel = new ActiveModel();\r\n this.modelgetactive = new GetActiveInfoModel();\r\n this.modelActivereturndata = new MainActivereturndata();\r\n this.loading = false;\r\n this.active_no = '' ;\r\n this.active_statue = '' ;\r\n activatedRoute.queryParams.subscribe(queryParams => {\r\n this.active_no = queryParams.activeno;\r\n this.active_statue = queryParams.activestatue;\r\n this.save = queryParams.save === 'true' ? true : false;\r\n this.prove = queryParams.prove === 'true' ? true : false;\r\n this.unprove = queryParams.unprove === 'true' ? true : false;\r\n });\r\n this.Geteventypelist( this.active_no ? true : false);\r\n }\r\n ngAfterViewInit() {\r\n if (!this.active_no) {\r\n setTimeout( () => { this.createComponent_msg(); } , 200);\r\n }\r\n }\r\n ngOnInit() {\r\n this.shareSrv.trigger$.subscribe(() => this.getactivecount());\r\n this.shareSrvsave.trigger$.subscribe((value: any) => { if (value === '1') {\r\n this.SaveMainactive(); }});\r\n this.model.modify_by = localStorage.getItem('loginstaffcode');\r\n this.langtype = localStorage.getItem('loginlang');\r\n this.disableall = true;\r\n this.closedtag = 'closeable';\r\n this.getbuiding();\r\n\r\n this.model.status = '10';\r\n this.enddateshow = true ;\r\n this.monthweekshow = true ;\r\n this.weekshow = true ;\r\n this.dayshow = true ;\r\n this.datatagshow = false;\r\n this.model.exec_period_type = '01';\r\n\r\n this.mainForm = this.fb.group({\r\n actityno: [{value: null, disabled: true}, null],\r\n // weektag: [null, [Validators.required]],\r\n actitydesc: [null, [Validators.required]],\r\n buildingid: [null, [Validators.required]],\r\n start_date: [null, [Validators.required]],\r\n end_date: [null],\r\n period_type: [null],\r\n status: [null, [Validators.required]],\r\n exec_period_type: [null, [Validators.required]],\r\n timehh: [null, [Validators.required]],\r\n timess: [null, [Validators.required]],\r\n weeknum_by_month: [null, [Validators.required]],\r\n monthdays: [null, [Validators.required]],\r\n eventype: [null, [Validators.required]],\r\n // evenvip: [null, [Validators.required]],\r\n });\r\n if (this.active_no) {\r\n this.list_activeno = this.active_no;\r\n this.getactveinfo( this.active_no);\r\n } else {\r\n this.getbusnesstype();\r\n this.GetStoreCondType();\r\n this.GetRewardtype();\r\n this.model.status = '10';\r\n this.modelCategory.store_cond_type = '00';\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnesscheck = false;\r\n }\r\n }\r\n\r\n getbuiding() {\r\n this.bs.Get('member/GetActiveBuildingID').then(ret => {\r\n this.buidingmodel = ret.data;\r\n });\r\n }\r\n getbusnesstype() {\r\n this.bs.Get('member/GetActiveBusinesstype').then(ret => {\r\n this.busnessmodel = ret.data;\r\n });\r\n }\r\n getactiveno() {\r\n this.bs.Get('member/GetCreateActiveNo').then(ret => {\r\n this.modelactivemodel.active_no = ret.data.toString();\r\n });\r\n }\r\n GetStoreCondType() {\r\n this.bs.Get('member/GetStoreCondType').then(ret => {\r\n this.listshop = ret.data;\r\n });\r\n }\r\n GetRewardtype() {\r\n this.bs.Get('member/GetRewardtype').then(ret => {\r\n this.listpay = ret.data;\r\n });\r\n }\r\n Geteventypelist(flag?: boolean) {\r\n this.bs.Getdata('member/GetMemberEvent').then(ret => {\r\n this.listevens = ret.data;\r\n this.listevens.forEach(x => { this.listeventype.push({key: x.id, value: x.name, selected: false , disabled: false } ); });\r\n this.listeven = this.listevens.filter(x => x.id === '01').map(x => x.evenvip)[0] ;\r\n if (!flag ) {\r\n this.model.eventype = '01';\r\n }\r\n });\r\n }\r\n getactveinfo( active_no: string ) {\r\n this.modelgetactive.active_no = active_no ;\r\n if (this.active_statue === '40') {\r\n this.disableallcontrol();\r\n }\r\n\r\n this.bs.Post('member/GetActiveInfo', this.modelgetactive).then( ret => {\r\n this.modelactivemodel = ret.data;\r\n this.model = this.modelactivemodel.maincontent;\r\n this.model.join_limit_total = Math.floor(this.model.join_limit_total) ;\r\n this.model.join_limit_oneday = Math.floor(this.model.join_limit_oneday) ;\r\n this.model.amount_from = Math.floor(this.model.amount_from) ;\r\n this.model.amount_to = Math.floor(this.model.amount_to) ;\r\n if (this.model.exec_time) {\r\n this.timehh = new Date ('2012-12-12 ' + this.model.exec_time.split(':')[0] + ':12:12') ;\r\n this.timemi = new Date ('2012-12-12 12:' + this.model.exec_time.split(':')[1] + ':12') ;\r\n }\r\n\r\n this.model.status === '40' ? this.flagable = true : this.flagable = false;\r\n\r\n this.cdr.detectChanges();\r\n if (this.model.weeknum_by_month) {\r\n // tslint:disable-next-line:radix\r\n this.model.weeknum_by_month = Math.floor( parseInt(this.model.weeknum_by_month) ).toString() ;\r\n }\r\n if ( this.model.monthdays) {\r\n this.lismonthdays = this.model.monthdays.split(',');\r\n }\r\n if (this.model.weekdays) {\r\n this.model.weekdays.split(',').forEach(v => { this.shared.listweek.find(x => x.id === v).selected = true ; });\r\n\r\n }\r\n\r\n if (this.model.evenvip) {\r\n this.model.evenvip.split(',').forEach(v => { this.listeven.find(x => x.id === v).selected = true ; });\r\n if (this.flagable) {\r\n this.listeven.forEach(v => v.disabled = true);\r\n }\r\n }\r\n\r\n this.modelActiveTag = this.modelactivemodel.tag;\r\n let active_tag_group_list: any[];\r\n let active_tag_lists: any[];\r\n active_tag_group_list = [];\r\n active_tag_lists = [];\r\n this.modelActiveTag.active_tag_list.forEach(obj => {\r\n if ( !active_tag_group_list.includes(obj.active_tag_group)) {\r\n active_tag_group_list.push( obj.active_tag_group);\r\n }\r\n active_tag_lists.push( {key: obj.active_tag_group, value: obj.tag_id_list,\r\n flagdata: obj.tag_in_or_not === 'IN' ? true : false });\r\n });\r\n let listtemp = [];\r\n // tslint:disable-next-line:no-shadowed-variable\r\n this.bs.Get('member/Gettaglist').then(ret => {\r\n listtemp = ret.data;\r\n active_tag_group_list.forEach(obj => {\r\n this.b_createComponent( obj , active_tag_lists.filter(x => x.key === obj), listtemp,\r\n this.modelActiveTag.MainActivereturndata.Mainturndata.filter(x => x.active_taggroup === obj)[0].active_taggroupcount);\r\n });\r\n });\r\n this.modelResource = this.modelactivemodel.resource ;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n this.bs.Get('member/GetRewardtype').then(ret => {\r\n this.listpay = ret.data;\r\n if ( this.modelResource.reward_type) {\r\n this.modelResource.reward_type.split(',').forEach(v => { this.listpay.find(x => x.id === v).selected = true ;\r\n v === '01' ? this.cupoushow = true : v === '02' ? this.bonusshow = true : this.bonusshow = false ; });\r\n }\r\n this.cdr.detectChanges();\r\n this.modelResource.active_giftcert.forEach( obj => {\r\n this.b_createComponentgift( this.modelResource.active_giftcert.indexOf(obj) + 1 , obj, this.flagable);\r\n });\r\n this.modelResource.active_bonus.forEach( obj => {\r\n this.b_createComponentsc( this.modelResource.active_bonus.indexOf(obj) + 1 , obj , this.flagable);\r\n });\r\n if (this.flagable) {\r\n this.listpay.forEach(v => v.disabled = true);\r\n }\r\n });\r\n console.log(this.modelactivemodel.msg);\r\n if (this.modelactivemodel.msg && (this.modelactivemodel.msg.send_msg_type || this.modelactivemodel.msg.sms_template) ) {\r\n this.createComponent_msg_create(this.modelactivemodel.msg , this.flagable );\r\n } else {\r\n this. createComponent_msg();\r\n }\r\n if ( this.modelmessage.sms_giftcert) {\r\n this.modelmessage.sms_giftcert = this.modelactivemodel.msg.sms_giftcert;\r\n }\r\n if (this.flagable) {\r\n this.disableallcontrol();\r\n }\r\n });\r\n }\r\n disableallcontrol() {\r\n this.mainForm = this.fb.group({\r\n actityno: new FormControl({value: this.modelgetactive.active_no, disabled: true}, null),\r\n // weektag: [null, [Validators.required]],\r\n actitydesc: new FormControl({value: this.model.active_desc, disabled: true}, Validators.required),\r\n buildingid: [{value: this.model.buildingid, disabled: true}, [Validators.required]],\r\n start_date: [{value: this.model.start_date, disabled: true}, [Validators.required]],\r\n end_date: [{value: this.model.end_date, disabled: true}, this.enddateshow ? [Validators.required] : null],\r\n period_type: [{value: this.model.period_type, disabled: true}, [Validators.required]],\r\n status: [{value: this.model.status, disabled: true}, [Validators.required]],\r\n exec_period_type: [{value: this.model.exec_period_type, disabled: true}, [Validators.required]],\r\n timehh: [{value: this.timehh, disabled: true}, [Validators.required]],\r\n timess: [{value: this.timemi, disabled: true}, [Validators.required]],\r\n weeknum_by_month: [{value: this.model.weeknum_by_month, disabled: true}, this.weekshow ? [Validators.required] : null],\r\n monthdays: [{value: this.model.monthdays, disabled: true}, this.dayshow ? [Validators.required] : null] ,\r\n eventype: [{value: this.model.eventype, disabled: true}, [Validators.required]],\r\n // evenvip: [{value: this.model.evenvip, disabled: true}, [Validators.required]],\r\n });\r\n this.shared.listweek.forEach(v => v.disabled = true);\r\n this.busnessmodel.forEach(v => v.disabled = true);\r\n this.shopcheck = false;\r\n this.busnesscheck = false;\r\n this.closedtag = '';\r\n}\r\n createComponent() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(TaglistComponent);\r\n const componentRef: ComponentRef = this.VCR.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef = currentComponent;\r\n currentComponent.index_tg = ++this.index_tg;\r\n this.grouplist.push(currentComponent.listno[this.index_tg - 1]);\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction = this;\r\n currentComponent.createComponentchild(true);\r\n // add reference for newly created component\r\n this.componentsReferences.push(componentRef);\r\n }\r\n b_createComponent(index_tg_name: string, tag_id_list: any[], listtemp: any[], groupcount: string ) {\r\n const componentFactory = this.CFR.resolveComponentFactory(TaglistComponent);\r\n const componentRef: ComponentRef = this.VCR.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef = currentComponent;\r\n currentComponent.tag_count = groupcount;\r\n currentComponent.index_tg = currentComponent.listno.indexOf(index_tg_name) + 1 ;\r\n this.index_tg = currentComponent.listno.indexOf(index_tg_name) + 2;\r\n this.grouplist.push(index_tg_name);\r\n currentComponent.tagcheck = this.flagable;\r\n currentComponent.list_activeno = this.modelactivemodel.active_no;\r\n\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction = this;\r\n let listtagg = [];\r\n tag_id_list.forEach(obj => {\r\n listtagg = [];\r\n obj.value.split(',').forEach( x => {\r\n const listtagdata = {id: x, title: listtemp.filter(ret => ret.id === x)[0].name, tagId: x , typeId: x, selected: true} ;\r\n listtagg.push(listtagdata);\r\n });\r\n //\r\n currentComponent.b_createComponentchild(listtagg, this.flagable , obj.flagdata);\r\n\r\n });\r\n // add reference for newly created component\r\n this.componentsReferences.push(componentRef);\r\n }\r\n createComponentgift() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(GifttableComponent);\r\n const componentRef: ComponentRef = this.VCG.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n\r\n currentComponent.selfRef_gift = currentComponent;\r\n currentComponent.index_iift = ++this.index_iift;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.modelgiftlist.active_gift_personnum = 1;\r\n currentComponent.modelgiftlist.active_gift_index = 1;\r\n currentComponent.buildingid = this.model.buildingid;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_gift = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencesgift.push(componentRef);\r\n }\r\n b_createComponentgift(index_gf: number , listtemp: any, flagable: boolean) {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(GifttableComponent);\r\n const componentRef: ComponentRef = this.VCG.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n\r\n currentComponent.selfRef_gift = currentComponent;\r\n currentComponent.index_iift = index_gf;\r\n this.index_iift = index_gf ;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.modelgiftlist = listtemp;\r\n currentComponent.flagdisable = flagable;\r\n currentComponent.buildingid = this.model.buildingid;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_gift = this;\r\n currentComponent.gettypelist(currentComponent.modelgiftlist.active_gift_type, this.model.buildingid , true);\r\n currentComponent.checkdata(currentComponent.modelgiftlist.active_gift_id,\r\n currentComponent.modelgiftlist.active_gift_type, currentComponent.modelgiftlist.active_gift_id, this.model.buildingid);\r\n\r\n // add reference for newly created component\r\n this.componentsReferencesgift.push(componentRef);\r\n }\r\n createComponentsc() {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(SctableComponent);\r\n const componentRef: ComponentRef = this.VCS.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.selfRef_sc = currentComponent;\r\n currentComponent.index_sc = ++this.index_sc;\r\n currentComponent.modelactive_bonus.bonus_value = '1' ;\r\n currentComponent.modelactive_bonus.priority = '1' ;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_sc = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencessc.push(componentRef);\r\n }\r\n b_createComponentsc(index_sc: number , listtemp: any, flagable: boolean) {\r\n\r\n const componentFactory = this.CFR.resolveComponentFactory(SctableComponent);\r\n const componentRef: ComponentRef = this.VCS.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.grouplist = this.grouplist;\r\n currentComponent.selfRef_sc = currentComponent;\r\n currentComponent.index_sc = index_sc;\r\n currentComponent.flagdisable = flagable;\r\n this.index_sc = index_sc;\r\n currentComponent.modelactive_bonus = listtemp;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_sc = this;\r\n\r\n // add reference for newly created component\r\n this.componentsReferencessc.push(componentRef);\r\n }\r\n removet(index_tg: number) {\r\n\r\n if (this.VCR.length < 1) {\r\n return;\r\n }\r\n const componentRef = this.componentsReferences.filter(x => x.instance.index_tg === index_tg)[0];\r\n const component: TaglistComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCR.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCR.remove(vcrIndex);\r\n this.grouplist.splice(vcrIndex, 1);\r\n\r\n this.componentsReferences = this.componentsReferences.filter(x => x.instance.index_tg !== index_tg);\r\n console.log(this.grouplist);\r\n }\r\n removeg(index_iift: number) {\r\n if (this.VCG.length < 1) {\r\n return;\r\n }\r\n\r\n const componentRef = this.componentsReferencesgift.filter(x => x.instance.index_iift === index_iift)[0];\r\n const component: GifttableComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCG.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCG.remove(vcrIndex);\r\n\r\n this.componentsReferencesgift = this.componentsReferencesgift.filter(x => x.instance.index_iift !== index_iift);\r\n }\r\n removes(index_sc: number) {\r\n if (this.VCS.length < 1) {\r\n return;\r\n }\r\n\r\n const componentRef = this.componentsReferencessc.filter(x => x.instance.index_sc === index_sc)[0];\r\n const component: SctableComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCS.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCS.remove(vcrIndex);\r\n\r\n this.componentsReferencessc = this.componentsReferencessc.filter(x => x.instance.index_sc !== index_sc);\r\n }\r\n createComponent_msg_create(modelmessages: ActiveMessageModel, flagable: boolean ) {\r\n const componentFactory = this.CFR.resolveComponentFactory(MessageComponent);\r\n const componentRef: ComponentRef = this.VCM.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef_gmsg = currentComponent;\r\n currentComponent.index_msg = 0;\r\n currentComponent.type = '3';\r\n if (this.flagable) {\r\n currentComponent.listmessage.forEach(v => v.disabled = true);\r\n }\r\n currentComponent.modelmessage = modelmessages;\r\n if ( modelmessages.send_msg_type) {\r\n modelmessages.send_msg_type.split(',').forEach(\r\n v => { currentComponent.listmessage.find(x => x.id === v).selected = true ;\r\n v === '01' && !this.flagable ? currentComponent.messagesms = true : v === '02' && !this.flagable ?\r\n currentComponent.messagewx = true : currentComponent.messagewx = false ; });\r\n }\r\n currentComponent.modelmWxMsgTemplateContent = modelmessages.WxMsgTemplateContent;\r\n currentComponent.flagable = this.flagable;\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_msg = this;\r\n // add reference for newly created component\r\n this.componentsReferencesmsg.push(componentRef);\r\n }\r\n createComponent_msg() {\r\n const componentFactory = this.CFR.resolveComponentFactory(MessageComponent);\r\n const componentRef: ComponentRef = this.VCM.createComponent(componentFactory);\r\n const currentComponent = componentRef.instance;\r\n currentComponent.selfRef_gmsg = currentComponent;\r\n currentComponent.index_msg = 0;\r\n currentComponent.type = '3';\r\n // prividing parent Component reference to get access to parent class methods\r\n currentComponent.compInteraction_msg = this;\r\n // add reference for newly created component\r\n this.componentsReferencesmsg.push(componentRef);\r\n }\r\n remove_msg(index: number) {\r\n if (this.VCM.length < 1) {\r\n return;\r\n }\r\n const componentRef = this.componentsReferences.filter(x => x.instance.index === index)[0];\r\n const component: MessageComponent = componentRef.instance;\r\n\r\n const vcrIndex: number = this.VCR.indexOf(componentRef);\r\n\r\n // removing component from container\r\n this.VCR.remove(vcrIndex);\r\n\r\n this.componentsReferencesmsg = this.componentsReferencesmsg.filter(x => x.instance.index !== index);\r\n }\r\n formatNumber(value: string): string {\r\n const string = `${value}`;\r\n const list = string.split('.');\r\n const prefix = list[0].charAt(0) === '-' ? '-' : '';\r\n let num = prefix ? list[0].slice(1) : list[0];\r\n let result = '';\r\n while (num.length > 3) {\r\n result = `,${num.slice(-3)}${result}`;\r\n num = num.slice(0, num.length - 3);\r\n }\r\n if (num) {\r\n result = num + result;\r\n }\r\n return `${prefix}${result}${list[1] ? `.${list[1]}` : ''}`;\r\n }\r\n\r\n weekchoose(item: WeekSelectItem) {\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n }\r\n\r\n evenchoose(item: WeekSelectItem) {\r\n if (item.disabled) {\r\n return false;\r\n }\r\n\r\n item.selected = !item.selected;\r\n }\r\n salsetypechoose(item: salseSelectItem) {\r\n\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n }\r\n typechoose(item: SelectItem) {\r\n if (item.disabled) {\r\n return false;\r\n }\r\n item.selected = !item.selected;\r\n // tslint:disable-next-line:max-line-length\r\n item.id === '01' ? item.selected ? this.cupoushow = true : this.cupoushow = false : item.id === '02' ? item.selected ? this.bonusshow = true : this.bonusshow = false : console.log(item.id ) ;\r\n if ( !this.cupoushow ) {\r\n this.componentsReferencesgift = [];\r\n this.giftvalues = [];\r\n this.modelResource.active_giftcert = [];\r\n this.modelmessage.sms_giftcert = '';\r\n }\r\n if ( !this.bonusshow ) {\r\n this.componentsReferencessc = [];\r\n this.bonusvalues = [];\r\n this.modelResource.active_bonus = [];\r\n }\r\n }\r\n removeshop(optionid: string) {\r\n const obj = this.listshopdata.find(x => x.id === optionid);\r\n if (obj) {\r\n obj.selected = false;\r\n }\r\n\r\n }\r\n\r\n // 保存\r\n SaveMainactive() {\r\n const selecteds = this.shared.listweek.filter(s => s.selected === true).map(ret => ret.id);\r\n if (selecteds.length === 0) {\r\n this.weekcheck = '1';\r\n } else {\r\n\r\n this.weekcheck = '0';\r\n }\r\n const selectedvipeven = this.listeven.filter(s => s.selected === true).map(ret => ret.id);\r\n if (selectedvipeven.length === 0) {\r\n this.vipevencheck = '1';\r\n } else {\r\n\r\n this.vipevencheck = '0';\r\n }\r\n // tslint:disable-next-line:forin\r\n for (const i in this.mainForm.controls) {\r\n this.mainForm.controls[i].markAsDirty();\r\n this.mainForm.controls[i].updateValueAndValidity();\r\n }\r\n if (this.mainForm.status.toLowerCase() !== 'valid' || (this.weekcheck === '1' && this.weekshow) || (this.vipevencheck === '1') ) {\r\n this.loading = false;\r\n return false;\r\n }\r\n this.model.active_type = '03';\r\n this.model.start_date = formatDate(this.model.start_date, 'yyyy-MM-dd', 'zh-CN', '+0800');\r\n this.model.end_date ? this.model.end_date =\r\n formatDate(this.model.end_date, 'yyyy-MM-dd', 'zh-CN', '+0800') : this.model.end_date = null;\r\n\r\n this.model.weekdays = selecteds.toString();\r\n this.model.evenvip = selectedvipeven.toString();\r\n this.model.exec_time = formatDate(this.timehh, 'HH', 'zh-CN', '+0800') + ':' + formatDate(this.timemi, 'mm', 'zh-CN', '+0800') ;\r\n this.model.reward_type = '';\r\n // 有效期类型(01:短期计划;02:永久生效)仅当 active_type = '02' or active_type = '03' 时需要显示和录入\r\n this.model.store_cond_type = '00';\r\n this.model.monthdays = this.lismonthdays.toString();\r\n this.modelactivemodel.maincontent = this.model;\r\n // 保存对象部分\r\n\r\n const flagtag = this.getValueList();\r\n if (!flagtag) {\r\n this.loading = false;\r\n return false;\r\n }\r\n if (this.componentsReferences.length > 0 && flagtag) {\r\n this.modelactivemodel.tag = this.modelActiveTag;\r\n }\r\n this.modelResource.reward_type = this.listpay.filter(s => s.selected === true).map(ret => ret.id).length\r\n > 0 ? this.listpay.filter(s => s.selected === true).map(ret => ret.id).toString() : '';\r\n // 资源营销配置\r\n if (this.listpay.filter(s => s.selected === true).length > 0) {\r\n // tslint:disable-next-line:max-line-length\r\n if ((this.listpay.filter(s => s.selected === true).map(ret => ret.id).includes('01') && this.componentsReferencesgift.length === 0) ||\r\n (this.listpay.filter(s => s.selected === true).map(ret => ret.id).includes('02') && this.componentsReferencessc.length === 0)) {\r\n this.loading = false;\r\n this.datatagshow = true;\r\n return false;\r\n }\r\n this.datatagshow = false;\r\n this.modelResource.reward_type = this.listpay.filter(s => s.selected === true).map(ret => ret.id).toString();\r\n if (this.componentsReferencesgift.length > 0 || this.componentsReferencessc.length > 0) {\r\n const flag = this.gesalseList();\r\n if (!flag) {\r\n return false;\r\n }\r\n this.modelactivemodel.resource = this.modelResource;\r\n }\r\n }\r\n // 消息触达\r\n const flagmessage = this.GetMessageInfo() ;\r\n if (!flagmessage) {\r\n this.loading = false;\r\n return false;\r\n }\r\n this.bs.Post('member/PostActiveSave', this.modelactivemodel).then(ret => {\r\n\r\n if (ret.code === 200) {\r\n this.modelActivereturndata = ret.data;\r\n this.modelactivemodel.active_no = this.modelActivereturndata.active_no;\r\n this.list_activeno = this.modelActivereturndata.active_no;\r\n\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n obj.instance.tag_count = this.modelActivereturndata.Mainturndata.filter\r\n (x => x.active_taggroup === obj.instance.listno[obj.instance.index_tg - 1])[0].active_taggroupcount;\r\n obj.instance.list_activeno = this.modelActivereturndata.active_no ;\r\n });\r\n }\r\n this.alertinfo(ret.code.toString(), ret.msg);\r\n });\r\n }\r\n checkevenselect(selectValue: any) {\r\n if (!selectValue ) {\r\n return false;\r\n }\r\n if (!this.listevens) {\r\n this.Geteventypelist();\r\n\r\n this.bs.Getdata('member/GetMemberEvent').then(ret => {\r\n this.listevens = ret.data;\r\n this.listevens.forEach(x => { this.listeventype.push({key: x.id, value: x.name, selected: false , disabled: false } ); });\r\n this.listeven = this.listevens.filter(x => x.id === selectValue).map(x => x.evenvip)[0] ;\r\n });\r\n this.cdr.detectChanges();\r\n } else {\r\n this.listeven = this.listevens.filter(x => x.id === selectValue).map(x => x.evenvip)[0] ;\r\n }\r\n\r\n this.listeven.forEach(v => v.selected = false);\r\n }\r\n checkperidselect(selectValue: any) {\r\n if (selectValue === '02') {\r\n this.model.end_date = '';\r\n this.enddateshow = false;\r\n } else {\r\n this.enddateshow = true;\r\n }\r\n !this.enddateshow ? this.mainForm.controls['end_date'].setValidators(null) :\r\n this.mainForm.controls['end_date'].setValidators(Validators.required);\r\n\r\n }\r\n checkmonthsselect(selectValue: any) {\r\n this.lismonthdays = [];\r\n this.shared.listweek.forEach(v => v.selected = false);\r\n if (selectValue === '01') {\r\n this.monthweekshow = false ;\r\n this.weekshow = false ;\r\n this.dayshow = false ;\r\n }\r\n if (selectValue === '02') {\r\n this.monthweekshow = false ;\r\n this.weekshow = true ;\r\n this.dayshow = false ;\r\n }\r\n if (selectValue === '03') {\r\n this.monthweekshow = false ;\r\n this.weekshow = false ;\r\n this.dayshow = true ;\r\n }\r\n if (selectValue === '04') {\r\n this.monthweekshow = true ;\r\n this.weekshow = false ;\r\n this.dayshow = false ;\r\n }\r\n // tslint:disable-next-line:max-line-length\r\n !this.enddateshow ? this.mainForm.controls['end_date'].setValidators(null) : this.mainForm.controls['end_date'].setValidators(Validators.required);\r\n // tslint:disable-next-line:max-line-length\r\n !this.dayshow ? this.mainForm.controls['monthdays'].setValidators(null) : this.mainForm.controls['monthdays'].setValidators(Validators.required);\r\n // tslint:disable-next-line:max-line-length\r\n !this.monthweekshow ? this.mainForm.controls['weeknum_by_month'].setValidators(null) : this.mainForm.controls['weeknum_by_month'].setValidators(Validators.required);\r\n}\r\n checkshopselect(selectValue: any) {\r\n if (!selectValue) {\r\n return false;\r\n }\r\n switch (selectValue) {\r\n case '00':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false); // 清空选中业态\r\n this.listshopdata = [];\r\n this.shopcheck = false; // 禁用添加\r\n this.busnesscheck = false;\r\n break;\r\n case '01':\r\n this.busnessmodel.forEach(v => v.selected = false);\r\n this.busnessmodel.forEach(v => v.disabled = false);\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = false;\r\n this.busnesscheck = true;\r\n break;\r\n case '02':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = false;\r\n break;\r\n case '03':\r\n this.busnessmodel.forEach(v => v.disabled = false); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = false;\r\n this.busnesscheck = true;\r\n break;\r\n case '04':\r\n this.busnessmodel.forEach(v => v.disabled = true); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = true;\r\n break;\r\n case '05':\r\n this.busnessmodel.forEach(v => v.disabled = false); // 业态禁用\r\n this.busnessmodel.forEach(v => v.selected = false); // 业态不选择\r\n this.listshopdata.forEach(v => v.selected = false);\r\n this.listshopdata = [];\r\n this.shopcheck = true;\r\n this.busnesscheck = true;\r\n break;\r\n }\r\n\r\n }\r\n\r\n getValueList() {\r\n this.tagvaluef = []; // 遍历数组,调用每一个组件实例的方法\r\n this.modelActiveTag.active_tag_list = [];\r\n this.index_no = 0;\r\n let flag = true;\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n this.taggroupdata = (obj.instance.index_tg - 1).toString();\r\n obj.instance.componentsReferenceschild.forEach((obj2: ComponentRef) => {\r\n const modeltaglist: active_tag_list = new active_tag_list();\r\n modeltaglist.active_tag_group = obj.instance.listno[this.taggroupdata];\r\n modeltaglist.tag_id_list =\r\n obj2.instance.listchild.filter(s => s.selected === true).map(ret => (ret.id)).toString();\r\n if (!modeltaglist.tag_id_list) {\r\n flag = false;\r\n }\r\n obj2.instance.flagtrue ? modeltaglist.tag_in_or_not = 'IN' : modeltaglist.tag_in_or_not = 'NOT IN';\r\n modeltaglist.line_no = this.index_no.toString();\r\n this.modelActiveTag.active_tag_list.push(modeltaglist);\r\n this.index_no = ++this.index_no;\r\n });\r\n });\r\n return flag;\r\n }\r\n // 获取销售实体\r\n gesalseList() {\r\n let flag = true;\r\n this.giftvalues = []; // 遍历数组,调用每一个组件实例的方法\r\n this.componentsReferencesgift.forEach((obj: ComponentRef) => {\r\n if (!obj.instance.modelgiftlist.active_gift_group) {\r\n obj.instance.modelgiftlist.active_gift_group = '*';\r\n }\r\n if (!obj.instance.modelgiftlist.active_gift_id || !obj.instance.modelgiftlist.active_gift_type) {\r\n flag = false;\r\n }\r\n this.giftvalues.push(obj.instance.modelgiftlist);\r\n });\r\n this.bonusvalues = []; // 遍历数组,调用每一个组件实例的方法\r\n this.componentsReferencessc.forEach((obj: ComponentRef) => {\r\n if (!obj.instance.modelactive_bonus.active_tag_group) {\r\n obj.instance.modelactive_bonus.active_tag_group = '*';\r\n }\r\n if (!obj.instance.modelactive_bonus.bonus_type) {\r\n flag = false;\r\n }\r\n this.bonusvalues.push(obj.instance.modelactive_bonus);\r\n });\r\n this.modelResource.active_giftcert = this.giftvalues;\r\n this.modelResource.active_bonus = this.bonusvalues;\r\n return flag;\r\n }\r\n\r\n alertinfo(titlename: string, content: string) {\r\n\r\n this.modalService.success({\r\n nzTitle: titlename,\r\n nzContent: content\r\n });\r\n }\r\n navigateback() {\r\n this.router.navigate(['/main/evenpage'], {\r\n queryParams: {\r\n save: this.save,\r\n prove: this.prove,\r\n unprove: this.unprove\r\n }\r\n });\r\n\r\n }\r\n getactivecount() {\r\n this.getValueList();\r\n if (this.componentsReferences.length > 0) {\r\n this.bs.Post('member/GetActiveCount', this.modelActiveTag).then( ret => {\r\n if (ret.code === 200) {\r\n this.modelActivereturndata = ret.data;\r\n this.componentsReferences.forEach((obj: ComponentRef) => {\r\n obj.instance.tag_count = this.modelActivereturndata.Mainturndata.filter\r\n (x => x.active_taggroup === obj.instance.listno[obj.instance.index_tg - 1])[0].active_taggroupcount;\r\n });\r\n }\r\n });\r\n }\r\n }\r\n // 获得消息实体\r\n GetMessageInfo() {\r\n let flag = true;\r\n this.componentsReferencesmsg.forEach((obj: ComponentRef) => {\r\n if (obj.instance.listmessage.filter(s => s.selected === true).map(ret => ret.id).length > 0 ) {\r\n obj.instance.modelmessage.sms_giftcert = this.modelmessage.sms_giftcert;\r\n obj.instance.modelmessage.send_msg_type = obj.instance.listmessage.filter(s => s.selected === true).map(ret => ret.id).toString();\r\n if (obj.instance.messagesms && !obj.instance.modelmessage.sms_template) {\r\n this.loading = false;\r\n flag = false;\r\n }\r\n if (obj.instance.messagewx && !obj.instance.modelmessage.WxMsgTemplateContent) {\r\n this.loading = false;\r\n flag = false;\r\n // 循环判断消息实体是否有填写\r\n obj.instance.componentsReferencesmsg.forEach( (objmsg: ComponentRef) => {\r\n objmsg.instance.value ? flag = false : flag = flag ;\r\n this.loading = false;\r\n });\r\n }\r\n this.modelactivemodel.msg = obj.instance.modelmessage;\r\n if ( this.modelactivemodel.msg.WxMsgTemplateContent) {\r\n this.modelactivemodel.msg.WxMsgTemplateContent.buildingid = this.model.buildingid;\r\n }\r\n } else {\r\n this.modelactivemodel.msg = this.modelmessage;\r\n }\r\n });\r\n if (this.modelactivemodel.msg.sms_giftcert) {\r\n this.modelactivemodel.msg.sms_giftcert = this.modelmessage.sms_giftcert;\r\n }\r\n return flag;\r\n }\r\n changebuilding(selectvalue) {\r\n this.ShareServiced.buidingid = selectvalue;\r\n this.componentsReferencesmsg.forEach((obj: ComponentRef) => {\r\n obj.instance.GetWxtemplateinfo();\r\n });\r\n this.componentsReferencesgift.forEach((objgift: ComponentRef) => {\r\n objgift.instance.gettypelist(objgift.instance.modelgiftlist.active_gift_type, selectvalue, this.flagable);\r\n });\r\n}\r\n}\r\n\r\n"],"sourceRoot":""}