25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

2 satır
24 KiB

  1. webpackJsonp([16],{"6RUA":function(e,t,a){t=e.exports=a("FZ+f")(!0),t.push([e.i,".steps{margin:10px auto 30px 0}.stepcss{float:right;margin:20px 100px}.zylist{width:95%}","",{version:3,sources:["D:/projects/gitLab/wxpos/posadmin/src/views/marketing/adv/strategy/add.vue"],names:[],mappings:"AACA,OACI,uBAA2B,CAC9B,AACD,SACI,YAAa,AACb,iBAAmB,CACtB,AACD,QACI,SAAW,CACd",file:"add.vue",sourcesContent:["\n.steps {\n margin: 10px auto 30px 0px;\n}\n.stepcss {\n float: right;\n margin: 20px 100px;\n}\n.zylist {\n width: 95%;\n}\n"],sourceRoot:""}])},BO1k:function(e,t,a){e.exports={default:a("fxRn"),__esModule:!0}},CuHr:function(e,t,a){"use strict";var r=a("BO1k"),s=a.n(r),i=a("woOf"),l=a.n(i),o=a("SPnI"),n=a("pAPr"),u=a("lJq3"),c=a("g45I");t.a={created:function(){var e=this;a.i(c.a)({org:this.$store.getters.orgId}).then(function(t){e.storeList=t.result.rows})},watch:{"listQuery.shopId":function(){this.listQuery.shopId?this.listQuery.storeIds=[this.listQuery.shopId]:this.listQuery.storeIds=[]}},data:function(){return{storeList:[],req:{strategyName:"",cacheTime:"86400",deviceList:[],strategyList:[]},rules:{strategyName:[{required:!0,message:"请输入策略名称",trigger:"blur"}]},selectstrategyList:[],cachestrategyList:[],substrategyList:[],selectotaList:[],cacheotaList:[],subotaList:[],listLoading:!0,resource:{mediaName:"",mediaType:[1,2],mediaTypevo:"",fileType:"",isPage:!1},listQuery:{organizationId:this.$store.getters.orgId,shopId:"",storeIds:[],serialNo:"",macAddr:"",curVersion:"",region:"",customer:"",department:"",manufacturer:"",deviceType:"",deviceModel:"",status:0,isPage:!1},mediaTypes:{1:"图片",2:"视频",3:"音频"},status:{0:"正常",1:"删除"},statusList:{0:"可用",2:"停用"},timeList:{3600:"1小时",7200:"2小时",18e3:"5小时",36e3:"10小时",86400:"1天",604800:"1周",2592e3:"1个月"},dialogTableVisible:!1,otadialogTableVisible:!1,active:1,temp:null,choBGM:!1,displayTypes:{1:"全屏",2:"半屏"}}},methods:{getresource:function(){var e=this;this.listLoading=!0,this.selectstrategyList=[],this.resource.mediaTypevo?this.resource.mediaType=[this.resource.mediaTypevo]:this.resource.mediaType=[1,2],a.i(o.a)(this.resource).then(function(t){e.selectstrategyList=t.result.rows,e.listLoading=!1}),this.choBGM=!1,this.dialogTableVisible=!0},strategyListChange:function(e){this.cachestrategyList=e},strategyListsub:function(){var e=this.substrategyList,t=[];e.forEach(function(e){t.push(e.id)}),this.cachestrategyList.forEach(function(a){t.indexOf(a.id)<0&&e.push(a)}),this.dialogTableVisible=!1},chooseBGM:function(e){var t=this;this.listLoading=!0,this.selectstrategyList=[],a.i(o.a)({mediaType:[3],isPage:!1}).then(function(e){t.selectstrategyList=e.result.rows,t.listLoading=!1}),this.temp=l()({},e),this.choBGM=!0,this.dialogTableVisible=!0},subBJM:function(){if(1!=this.cachestrategyList.length)return this.$message.error("请选择一个背景音乐"),!1;var e=!0,t=!1,a=void 0;try{for(var r,i=s()(this.substrategyList);!(e=(r=i.next()).done);e=!0){var l=r.value;if(l.id==this.temp.id){var o=this.substrategyList.indexOf(l);l.backgroundAudioId=this.cachestrategyList[0].id,l.backgroundAudioName=this.cachestrategyList[0].mediaName,l.backgroundAudioUrl=this.cachestrategyList[0].mediaUrl,this.substrategyList.splice(o,1,l)}}}catch(e){t=!0,a=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw a}}this.dialogTableVisible=!1},delBGM:function(e){var t=this;this.$confirm("确定要移除背景音乐吗?","",{type:"warning",center:!0}).then(function(){t.temp=l()({},e),t.temp.backgroundAudioId="",t.temp.backgroundAudioName="",t.temp.backgroundAudioUrl="";var a=!0,r=!1,i=void 0;try{for(var o,n=s()(t.substrategyList);!(a=(o=n.next()).done);a=!0){var u=o.value;if(u.id==e.id){var c=t.substrategyList.indexOf(u);t.substrategyList.splice(c,1,t.temp)}}}catch(e){r=!0,i=e}finally{try{!a&&n.return&&n.return()}finally{if(r)throw i}}}).catch(function(){})},getota:function(){var e=this;this.listLoading=!0,this.selectotaList=[],a.i(u.a)(this.listQuery).then(function(t){e.selectotaList=t.result.rows,e.listLoading=!1}),this.otadialogTableVisible=!0},otaListChange:function(e){this.cacheotaList=e},otaListsub:function(){var e=this.req.deviceList;this.cacheotaList.forEach(function(t){e.push(t)}),this.otadialogTableVisible=!1},otaChofilter:function(e,t){var a=!0,r=!0,i=!1,l=void 0;try{for(var o,n=s()(this.req.deviceList);!(r=(o=n.next()).done);r=!0){if(o.value.id==e.id){a=!1;break}}}catch(e){i=!0,l=e}finally{try{!r&&n.return&&n.return()}finally{if(i)throw l}}return a},nextStep:function(e){var t=!0;if(2==e){if(this.substrategyList.length<1)return this.$message.error("请选择广告资源"),!1;this.req.strategyList=[];var a=!0,r=!1,i=void 0;try{for(var l,o=s()(this.substrategyList);!(a=(l=o.next()).done);a=!0){var n=l.value;if(!(n.playLength>0)){this.$message.error("播放时长必须大于0"),t=!1;break}this.req.strategyList.push({backgroundAudioId:n.backgroundAudioId,mediaResourceId:n.id,playLength:n.playLength,showTimeBegin:n.showTimeBegin,showTimeEnd:n.showTimeEnd})}}catch(e){r=!0,i=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw i}}}if(3==e&&this.req.deviceList.length<1)return this.$message.error("请选择设备"),!1;t&&(this.active=e)},subadd:function(){var e=this;this.$refs.req.validate(function(t){if(!t)return console.log("error submit!!"),!1;a.i(n.d)(e.req).then(function(t){var a=e.$router;e.$message({message:"添加成功",type:"success",duration:1e3,onClose:function(){a.push({path:"index"})}})})})}}}},Lupo:function(e,t,a){"use strict";function r(e){a("ON2Z")}Object.defineProperty(t,"__esModule",{value:!0});var s=a("CuHr"),i=a("Mhec"),l=a("VU/8"),o=r,n=l(s.a,i.a,o,null,null);t.default=n.exports},Mhec:function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-steps",{staticClass:"steps",attrs:{space:400,active:e.active,"align-center":"","finish-status":"success",simple:""}},[a("el-step",{attrs:{title:"选择广告资源"}}),e._v(" "),a("el-step",{attrs:{title:"选择设备"}}),e._v(" "),a("el-step",{attrs:{title:"选择时间"}})],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.active,expression:"active==1"}]},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.resource}},[a("el-form-item",{attrs:{label:"资源名称",prop:"mediaName"}},[a("el-input",{attrs:{placeholder:"资源名称"},model:{value:e.resource.mediaName,callback:function(t){e.$set(e.resource,"mediaName",t)},expression:"resource.mediaName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"资源类型",prop:"mediaType"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.resource.mediaTypevo,callback:function(t){e.$set(e.resource,"mediaTypevo",t)},expression:"resource.mediaTypevo"}},e._l(e.mediaTypes,function(t,r){return 3!=r?a("el-option",{key:r,attrs:{label:t,value:r}}):e._e()}))],1),e._v(" "),a("el-form-item",{attrs:{label:"文件类型",prop:"fileType"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.resource.fileType,callback:function(t){e.$set(e.resource,"fileType",t)},expression:"resource.fileType"}},[a("el-option",{attrs:{label:"jpg",value:"jpg"}}),e._v(" "),a("el-option",{attrs:{label:"png",value:"png"}}),e._v(" "),a("el-option",{attrs:{label:"mp4",value:"mp4"}}),e._v(" "),a("el-option",{attrs:{label:"flv",value:"flv"}}),e._v(" "),a("el-option",{attrs:{label:"mp3",value:"mp3"}}),e._v(" "),a("el-option",{attrs:{label:"wav",value:"wav"}})],1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getresource}},[e._v("查询")])],1)],1),e._v(" "),a("el-dialog",{attrs:{visible:e.dialogTableVisible,"custom-class":"zylist",title:"资源选择"},on:{"update:visible":function(t){e.dialogTableVisible=t}}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading.body",value:e.listLoading,expression:"listLoading",modifiers:{body:!0}}],attrs:{data:e.selectstrategyList,"element-loading-text":"拼命加载中",border:"",fit:"","highlight-current-row":"",size:"mini"},on:{"selection-change":e.strategyListChange}},[a("el-table-column",{attrs:{type:"selection",width:"50"}}),e._v(" "),a("el-table-column",{attrs:{label:"资源名称",prop:"mediaName",width:"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"资源uuid",prop:"mediaUuid",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{label:"资源地址",prop:"mediaUrl"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("a",{attrs:{href:t.row.mediaUrl,target:"_blank"}},[e._v(e._s(t.row.mediaUrl))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"资源类型",prop:"mediaType",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.mediaTypes[t.row.mediaType])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"文件类型",prop:"fileType",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:"播放形式",prop:"displayType",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.displayTypes[t.row.displayType])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"状态",prop:"status",width:"70"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.status[t.row.status])+"\n ")]}}])})],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0==e.choBGM?[a("el-button",{attrs:{type:"primary"},on:{click:e.strategyListsub}},[e._v("确定广告资源")])]:[a("el-button",{attrs:{type:"primary"},on:{click:e.subBJM}},[e._v("确定背景音乐")])],e._v(" "),a("el-button",{on:{click:function(t){e.dialogTableVisible=!1}}},[e._v("取消")])],2)],1),e._v(" "),a("el-table",{attrs:{data:e.substrategyList,border:"",fit:"","highlight-current-row":"",size:"mini"}},[a("el-table-column",{attrs:{label:"资源名称",prop:"mediaName",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:"资源uuid",prop:"mediaUuid",width:"130"}}),e._v(" "),a("el-table-column",{attrs:{label:"资源地址",prop:"mediaUrl"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("a",{attrs:{href:t.row.mediaUrl,target:"_blank"}},[e._v(e._s(t.row.mediaUrl))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"资源类型",prop:"mediaType",width:"70"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.mediaTypes[t.row.mediaType])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"文件类型",prop:"fileType",width:"70"}}),e._v(" "),a("el-table-column",{attrs:{label:"背景音乐",prop:"backgroundAudioId",width:"70"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.backgroundAudioId>0?[a("a",{attrs:{href:t.row.backgroundAudioUrl,target:"_blank"}},[e._v(e._s(t.row.backgroundAudioName))])]:[e._v("\n —\n ")]]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"播放时长(秒)",prop:"playLength",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{attrs:{type:"number",min:"1"},model:{value:t.row.playLength,callback:function(a){e.$set(t.row,"playLength",a)},expression:"scope.row.playLength"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"开始时间",prop:"showTimeBegin",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{attrs:{type:"time"},model:{value:t.row.showTimeBegin,callback:function(a){e.$set(t.row,"showTimeBegin",a)},expression:"scope.row.showTimeBegin"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"结束时间",prop:"showTimeEnd",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{attrs:{type:"time"},model:{value:t.row.showTimeEnd,callback:function(a){e.$set(t.row,"showTimeEnd",a)},expression:"scope.row.showTimeEnd"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",prop:"playLength",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.mediaType?[a("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(a){e.chooseBGM(t.row)}}},[e._v("背景音乐")]),e._v(" "),a("br"),e._v(" "),a("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(a){e.delBGM(t.row)}}},[e._v("删除音乐")])]:[e._v("\n —\n ")]]}}])})],1),e._v(" "),a("div",{staticClass:"stepcss"},[a("el-button",{attrs:{type:"success"},on:{click:function(t){e.nextStep(2)}}},[e._v("下一步")])],1)],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.active,expression:"active==2"}]},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery,size:"mini"}},[a("el-form-item",{attrs:{label:"序列号"}},[a("el-input",{attrs:{placeholder:"序列号",name:"serialNo"},model:{value:e.listQuery.serialNo,callback:function(t){e.$set(e.listQuery,"serialNo",t)},expression:"listQuery.serialNo"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"MAC"}},[a("el-input",{attrs:{placeholder:"MAC",name:"macAddr"},model:{value:e.listQuery.macAddr,callback:function(t){e.$set(e.listQuery,"macAddr",t)},expression:"listQuery.macAddr"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"设备名称",prop:"alias"}},[a("el-input",{attrs:{placeholder:"设备名称",name:"alias"},model:{value:e.listQuery.alias,callback:function(t){e.$set(e.listQuery,"alias","string"==typeof t?t.trim():t)},expression:"listQuery.alias"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"版本号"}},[a("el-input",{attrs:{placeholder:"版本号",name:"curVersion"},model:{value:e.listQuery.curVersion,callback:function(t){e.$set(e.listQuery,"curVersion",t)},expression:"listQuery.curVersion"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"区域"}},[a("el-input",{attrs:{placeholder:"区域",name:"region"},model:{value:e.listQuery.region,callback:function(t){e.$set(e.listQuery,"region",t)},expression:"listQuery.region"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"客户"}},[a("el-input",{attrs:{placeholder:"客户",name:"customer"},model:{value:e.listQuery.customer,callback:function(t){e.$set(e.listQuery,"customer",t)},expression:"listQuery.customer"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"部门"}},[a("el-input",{attrs:{placeholder:"部门",name:"department"},model:{value:e.listQuery.department,callback:function(t){e.$set(e.listQuery,"department",t)},expression:"listQuery.department"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"厂商"}},[a("el-input",{attrs:{placeholder:"厂商",name:"manufacturer"},model:{value:e.listQuery.manufacturer,callback:function(t){e.$set(e.listQuery,"manufacturer",t)},expression:"listQuery.manufacturer"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"设备"}},[a("el-input",{attrs:{placeholder:"设备",name:"deviceType"},model:{value:e.listQuery.deviceType,callback:function(t){e.$set(e.listQuery,"deviceType",t)},expression:"listQuery.deviceType"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"型号"}},[a("el-input",{attrs:{placeholder:"型号",name:"deviceModel"},model:{value:e.listQuery.deviceModel,callback:function(t){e.$set(e.listQuery,"deviceModel",t)},expression:"listQuery.deviceModel"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"门店",align:"center",prop:"shopId"}},[a("el-select",{attrs:{placeholder:"所属门店",clearable:""},model:{value:e.listQuery.shopId,callback:function(t){e.$set(e.listQuery,"shopId",t)},expression:"listQuery.shopId"}},e._l(e.storeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getota}},[e._v("查询")])],1)],1),e._v(" "),a("el-dialog",{attrs:{visible:e.otadialogTableVisible,"custom-class":"zylist",title:"设备选择"},on:{"update:visible":function(t){e.otadialogTableVisible=t}}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading.body",value:e.listLoading,expression:"listLoading",modifiers:{body:!0}}],attrs:{data:e.selectotaList,"element-loading-text":"拼命加载中",border:"",fit:"","highlight-current-row":"",size:"mini"},on:{"selection-change":e.otaListChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",selectable:e.otaChofilter}}),e._v(" "),a("el-table-column",{attrs:{label:"状态",align:"center",prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.statusList[t.row.status])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"序列号",align:"center",prop:"serialNo"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.serialNo))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"MAC地址",align:"center",prop:"macAddr"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.macAddr)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"厂商",prop:"serialNo"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.manufacturer)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"deviceType",label:"设备"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deviceType))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"deviceModel",label:"型号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deviceModel))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"curVersion",label:"版本号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.curVersion))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"region",label:"区域"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.region))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"customer",label:"客户"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.customer))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"department",label:"部门"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.department))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"设备名称",align:"center",prop:"alias"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.alias)+"\n ")]}}])})],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:e.otaListsub}},[e._v("确定")]),e._v(" "),a("el-button",{on:{click:function(t){e.otadialogTableVisible=!1}}},[e._v("取消")])],1)],1),e._v(" "),a("el-table",{attrs:{data:e.req.deviceList,border:"",fit:"","highlight-current-row":"",size:"mini"}},[a("el-table-column",{attrs:{label:"状态",align:"center",prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.statusList[t.row.status])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"序列号",align:"center",prop:"serialNo"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.serialNo))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"MAC地址",align:"center",prop:"macAddr"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.macAddr)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"厂商",prop:"serialNo"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.manufacturer)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"deviceType",label:"设备"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deviceType))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"deviceModel",label:"型号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deviceModel))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"curVersion",label:"版本号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.curVersion))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"region",label:"区域"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.region))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"customer",label:"客户"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.customer))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"department",label:"部门"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.department))])]}}])})],1),e._v(" "),a("div",{staticClass:"stepcss"},[a("el-button",{attrs:{type:"success"},on:{click:function(t){e.active=1}}},[e._v("上一步")]),e._v(" "),a("el-button",{attrs:{type:"success"},on:{click:function(t){e.nextStep(3)}}},[e._v("下一步")])],1)],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:3==e.active,expression:"active==3"}]},[a("el-form",{ref:"req",staticClass:"demo-form-inline",staticStyle:{"margin-left":"200px"},attrs:{inline:!0,model:e.req,rules:e.rules}},[a("el-form-item",{attrs:{label:"策略名称",prop:"strategyName"}},[a("el-input",{attrs:{placeholder:"策略名称"},model:{value:e.req.strategyName,callback:function(t){e.$set(e.req,"strategyName",t)},expression:"req.strategyName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"缓存时间(秒)",prop:"cacheTime"}},[a("el-select",{attrs:{placeholder:"缓存时间(秒)"},model:{value:e.req.cacheTime,callback:function(t){e.$set(e.req,"cacheTime",t)},expression:"req.cacheTime"}},e._l(e.timeList,function(e,t){return a("el-option",{key:e.index,attrs:{label:e,value:t}})}))],1)],1),e._v(" "),a("div",{staticClass:"stepcss"},[a("el-button",{attrs:{type:"success"},on:{click:function(t){e.active=2}}},[e._v("上一步")]),e._v(" "),a("el-button",{attrs:{type:"success"},on:{click:e.subadd}},[e._v("提交")])],1)],1)],1)},s=[],i={render:r,staticRenderFns:s};t.a=i},ON2Z:function(e,t,a){var r=a("6RUA");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("39a1019b",r,!0)},SPnI:function(e,t,a){"use strict";function r(e){return a.i(l.a)({url:"/service-advertisement/mediaResource",method:"post",data:e})}function s(e){return a.i(l.a)({url:"/service-advertisement/mediaResources",method:"post",data:e})}function i(e){return a.i(l.a)({url:"/service-advertisement/mediaResource/"+e,method:"DELETE"})}t.c=r,t.a=s,t.b=i;var l=a("Vo7i")},fxRn:function(e,t,a){a("+tPU"),a("zQR9"),e.exports=a("g8Ux")},g45I:function(e,t,a){"use strict";function r(e){return a.i(u.a)({url:"/service-org/shop/list",method:"get",params:e})}function s(e){return a.i(u.a)({url:"/unionService/shop/shop",method:"post",data:e})}function i(e){return a.i(u.a)({url:"/unionService/shop/detail?shopId="+e,method:"get"})}function l(e){return a.i(u.a)({url:"/unionService/shop/shop",method:"put",data:e})}function o(e){return a.i(u.a)({url:"/unionService/device/store",method:"put",data:e})}function n(e){return a.i(u.a)({url:"/service-org/shop/delete?shopId="+e,method:"DELETE"})}t.a=r,t.f=s,t.b=i,t.c=l,t.d=o,t.e=n;var u=a("Vo7i")},g8Ux:function(e,t,a){var r=a("77Pl"),s=a("3fs2");e.exports=a("FeBl").getIterator=function(e){var t=s(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},lJq3:function(e,t,a){"use strict";function r(e){return a.i(n.a)({url:"/service-device/devices",method:"post",data:e})}function s(e){return a.i(n.a)({url:"/unionService/device",method:"post",data:e})}function i(e){return a.i(n.a)({url:"/unionService/device",method:"put",data:e})}function l(e){return a.i(n.a)({url:"/unionService/device/batch",method:"post",data:e})}function o(e){return a.i(n.a)({url:"/unionService/device/status",method:"put",data:e})}t.a=r,t.e=s,t.d=i,t.c=l,t.b=o;var n=a("Vo7i")},pAPr:function(e,t,a){"use strict";function r(e){return a.i(o.a)({url:"/service-advertisement/mediaResourceStrategy",method:"post",data:e})}function s(e){return a.i(o.a)({url:"/service-advertisement/mediaResourceStrategies",method:"post",data:e})}function i(e){return a.i(o.a)({url:"/unionService/adv/mediaResourceStrategy/cancel/"+e,method:"put"})}function l(e){return a.i(o.a)({url:"/unionService/adv/mediaResourceStrategy/relation/"+e,method:"get"})}t.d=r,t.a=s,t.b=i,t.c=l;var o=a("Vo7i")}});
  2. //# sourceMappingURL=16.6a42b35dad07e6975106.js.map