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
21 KiB

  1. webpackJsonp([14],{"/nir":function(e,t,a){"use strict";var r=a("BO1k"),l=a.n(r),s=a("mvHQ"),i=a.n(s),n=a("iBAg"),o=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:[],apkData:[],selectedApkRow:[],appQuery:{appName:"",isPage:!1},listQuery:{organizationId:this.$store.getters.orgId,shopId:"",storeIds:[],serialNo:"",macAddr:"",curVersion:"",region:"",customer:"",department:"",manufacturer:"",deviceType:"",deviceModel:"",status:"0",isPage:!1},req:{apps:[],deviceSnList:[],deviceIds:[],strategyName:"",upgradeTime:"",isForce:"0"},rules:{upgradeTime:[{required:!0,message:"请选择开始时间",trigger:"blur"}],strategyName:[{required:!0,message:"请填写策略名称",trigger:"blur"}]},cachestrategyList:[],selectversionList:[],subversionList:[],selectotaList:[],cacheotaList:[],subotaList:[],listLoading:!0,ptype:{0:"增量包",1:"全量包"},statusList:{0:"可用",1:"删除",2:"停用"},status:{0:"可用",1:"停用"},dialogTableVisible:!1,otadialogTableVisible:!1,active:1,temp:null,dateOption:{disabledDate:function(e){return!1}},radio:""}},methods:{getApp:function(){var e=this;this.listLoading=!0,this.selectversionList=[],a.i(n.c)(this.appQuery).then(function(t){e.selectversionList=t.result.rows,e.listLoading=!1}),this.dialogTableVisible=!0},showAPKs:function(e){var t=this;this.listLoading=!0,this.apkData=[],a.i(n.d)(e).then(function(e){t.apkData=e.result,t.listLoading=!1})},handleCurrentChange:function(e,t){var a=null;this.selectedApkRow.forEach(function(t,r){e.appId===t.appId&&(a=r)});var r=JSON.parse(i()(e));null!==e&&(this.selectversionList.forEach(function(t){e.appId===t.id&&(r.appName=t.appName,r.appPackage=t.appPackage,r.apkId=r.id)}),null!==a?this.selectedApkRow.splice(a,1,r):this.selectedApkRow.push(r))},selectedRowClzName:function(e){var t=e.row,a=(e.rowIndex,"");return this.selectedApkRow.forEach(function(e,r){t.id===e.id&&(a="current-row")}),a},strategyListChange:function(e){this.cachestrategyList=e},chooseApp:function(){this.subversionList=JSON.parse(i()(this.selectedApkRow)),this.dialogTableVisible=!1},appChofilter:function(e,t){var a=!0,r=!0,s=!1,i=void 0;try{for(var n,o=l()(this.subversionList);!(r=(n=o.next()).done);r=!0){if(n.value.id==e.id){a=!1;break}}}catch(e){s=!0,i=e}finally{try{!r&&o.return&&o.return()}finally{if(s)throw i}}return a},delApp:function(e){this.subversionList.splice(e,1),this.selectedApkRow.splice(e,1)},getota:function(){var e=this;this.listLoading=!0,this.selectotaList=[],a.i(o.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.subotaList;this.cacheotaList.forEach(function(t){e.push(t)}),this.otadialogTableVisible=!1},otaChofilter:function(e,t){var a=!0,r=!0,s=!1,i=void 0;try{for(var n,o=l()(this.subotaList);!(r=(n=o.next()).done);r=!0){if(n.value.id==e.id){a=!1;break}}}catch(e){s=!0,i=e}finally{try{!r&&o.return&&o.return()}finally{if(s)throw i}}return a},nextStep:function(e){return 2==e&&this.subversionList.length<1?(this.$message.error("请选择App"),!1):3==e&&this.subotaList.length<1?(this.$message.error("请选择设备"),!1):void(this.active=e)},subadd:function(){var e=this;this.$refs.req.validate(function(t){if(!t)return console.log("error submit!!"),!1;var r=!0,s=!1,i=void 0;try{for(var o,c=l()(e.subotaList);!(r=(o=c.next()).done);r=!0){var u=o.value;e.req.deviceIds.push(u.id),e.req.deviceSnList.push(u.serialNo)}}catch(e){s=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(s)throw i}}var p=!0,d=!1,v=void 0;try{for(var f,m=l()(e.subversionList);!(p=(f=m.next()).done);p=!0){var b=f.value;e.req.apps.push({appId:b.appId,appName:b.appName,appPackage:b.appPackage,apkId:b.apkId})}}catch(e){d=!0,v=e}finally{try{!p&&m.return&&m.return()}finally{if(d)throw v}}a.i(n.e)(e.req).then(function(t){var a=e.$router;e.$message({message:"添加成功",type:"success",duration:1e3,onClose:function(){a.push({path:"strategy"})}})})})}}}},"805c":function(e,t,a){var r=a("l2JX");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("553008d3",r,!0)},BO1k:function(e,t,a){e.exports={default:a("fxRn"),__esModule:!0}},USho:function(e,t,a){"use strict";function r(e){a("805c")}Object.defineProperty(t,"__esModule",{value:!0});var l=a("/nir"),s=a("nryC"),i=a("VU/8"),n=r,o=i(l.a,s.a,n,null,null);t.default=o.exports},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(c.a)({url:"/service-org/shop/list",method:"get",params:e})}function l(e){return a.i(c.a)({url:"/unionService/shop/shop",method:"post",data:e})}function s(e){return a.i(c.a)({url:"/unionService/shop/detail?shopId="+e,method:"get"})}function i(e){return a.i(c.a)({url:"/unionService/shop/shop",method:"put",data:e})}function n(e){return a.i(c.a)({url:"/unionService/device/store",method:"put",data:e})}function o(e){return a.i(c.a)({url:"/service-org/shop/delete?shopId="+e,method:"DELETE"})}t.a=r,t.f=l,t.b=s,t.c=i,t.d=n,t.e=o;var c=a("Vo7i")},g8Ux:function(e,t,a){var r=a("77Pl"),l=a("3fs2");e.exports=a("FeBl").getIterator=function(e){var t=l(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},iBAg:function(e,t,a){"use strict";function r(e){return a.i(p.a)({url:"/service-ota/apps",method:"post",data:e})}function l(e){return a.i(p.a)({url:"/service-ota/apkVersions/"+e,method:"get"})}function s(e){return a.i(p.a)({url:"/service-ota/app",method:"post",data:e})}function i(e){return a.i(p.a)({url:"/service-ota/apkVersion",method:"post",data:e})}function n(e){return a.i(p.a)({url:"/service-ota/app/status",method:"put",data:e})}function o(e){return a.i(p.a)({url:"/service-ota/apkVersionStrategy",method:"post",data:e})}function c(e){return a.i(p.a)({url:"/service-ota/apkVersionStrategies",method:"post",data:e})}function u(e){return a.i(p.a)({url:"/unionService/OTA/apkVersionStrategy/detail/"+e,method:"get"})}t.c=r,t.d=l,t.f=s,t.h=i,t.g=n,t.e=o,t.a=c,t.b=u;var p=a("Vo7i")},l2JX: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%}.el-table .success-row{background:#ecf5ff}","",{version:3,sources:["D:/projects/gitLab/wxpos/posadmin/src/views/ota/app/strategyAdd.vue"],names:[],mappings:"AACA,OACE,uBAA2B,CAC5B,AACD,SACE,YAAa,AACb,iBAAmB,CACpB,AACD,QACE,SAAW,CACZ,AACD,uBACE,kBAAoB,CACrB",file:"strategyAdd.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.el-table .success-row {\n background: #ecf5ff;\n}\n"],sourceRoot:""}])},lJq3:function(e,t,a){"use strict";function r(e){return a.i(o.a)({url:"/service-device/devices",method:"post",data:e})}function l(e){return a.i(o.a)({url:"/unionService/device",method:"post",data:e})}function s(e){return a.i(o.a)({url:"/unionService/device",method:"put",data:e})}function i(e){return a.i(o.a)({url:"/unionService/device/batch",method:"post",data:e})}function n(e){return a.i(o.a)({url:"/unionService/device/status",method:"put",data:e})}t.a=r,t.e=l,t.d=s,t.c=i,t.b=n;var o=a("Vo7i")},mvHQ:function(e,t,a){e.exports={default:a("qkKv"),__esModule:!0}},nryC: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:"选择App"}}),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",{ref:"appQuery",staticClass:"demo-form-inline",attrs:{inline:!0,model:e.appQuery}},[a("el-form-item",{attrs:{label:"app名称",prop:"appName"}},[a("el-input",{attrs:{placeholder:"app名称"},model:{value:e.appQuery.appName,callback:function(t){e.$set(e.appQuery,"appName",t)},expression:"appQuery.appName"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getApp}},[e._v("查询")])],1)],1),e._v(" "),a("el-dialog",{attrs:{visible:e.dialogTableVisible,"custom-class":"zylist",title:"版本选择",width:"90%"},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.selectversionList,"element-loading-text":"拼命加载中",border:"",fit:"",size:"mini"}},[a("el-table-column",{attrs:{label:"app名称",prop:"appName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app包名",prop:"appPackage",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app签名",prop:"appSign",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app说明",prop:"appDescription",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app状态",align:"center",prop:"status",width:"100px","element-loading-text":"拼命加载中"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.status[t.row.status])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-popover",{attrs:{placement:"left",width:"1000",trigger:"click"}},[a("el-table",{ref:"apksTable",attrs:{data:e.apkData,"highlight-current-row":"",border:"",fit:"","row-class-name":e.selectedRowClzName,"element-loading-text":"拼命加载中"},on:{"current-change":e.handleCurrentChange}},[a("el-table-column",{attrs:{label:"apk文件名",prop:"apkName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"apk文件大小",prop:"apkSize",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"apk文件版本",prop:"apkVersion",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"apk更新日志",prop:"apkReleaseNote",align:"center"}})],1),e._v(" "),a("el-button",{attrs:{slot:"reference",size:"small",type:"text"},on:{click:function(a){e.showAPKs(t.row.id)}},slot:"reference"},[e._v("选择apk文件\n ")])],1)]}}])})],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:e.chooseApp}},[e._v("确定")])],1)],1),e._v(" "),a("el-table",{attrs:{data:e.subversionList,"element-loading-text":"拼命加载中",border:"",fit:"","highlight-current-row":"",size:"mini"}},[a("el-table-column",{attrs:{label:"app名称",prop:"appName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app包名",prop:"appPackage",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app签名",prop:"appSign",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app说明",prop:"appDescription",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"app状态",align:"center",prop:"status",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.status[t.row.status])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"apk文件名",prop:"apkName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"apk文件大小",prop:"apkSize",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"apk文件版本",prop:"apkVersion",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"apk更新日志",prop:"apkReleaseNote",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small",type:"text"},on:{click:function(a){e.delApp(t.$index)}}},[e._v("删除\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:"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:"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:"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:"设备选择",width:"90%"},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:"",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:"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.subotaList,border:"",fit:"",size:"mini"}},[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("br"),e._v(" "),a("el-form-item",{attrs:{label:"开始日期",prop:"upgradeTime"}},[a("el-date-picker",{attrs:{type:"datetime",placeholder:"开始日期","value-format":"yyyy-MM-dd HH:mm","picker-options":e.dateOption},model:{value:e.req.upgradeTime,callback:function(t){e.$set(e.req,"upgradeTime",t)},expression:"req.upgradeTime"}})],1),e._v(" "),a("br"),e._v(" "),a("el-form-item",{attrs:{label:"是否强制升级",prop:"isForce"}},[a("el-radio",{attrs:{label:"1"},model:{value:e.req.isForce,callback:function(t){e.$set(e.req,"isForce",t)},expression:"req.isForce"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:"0"},model:{value:e.req.isForce,callback:function(t){e.$set(e.req,"isForce",t)},expression:"req.isForce"}},[e._v("否")])],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)},l=[],s={render:r,staticRenderFns:l};t.a=s},qkKv:function(e,t,a){var r=a("FeBl"),l=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return l.stringify.apply(l,arguments)}}});
  2. //# sourceMappingURL=14.28477e97aea7261a8352.js.map