mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 17:00:30 +08:00
7b2bd307f1
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.) - frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts - scripts/: build, test-env, tools (Docker Compose, service templates, API parity) - docs/: AGENTS.md, superpowers specs, architecture docs - .gitignore: standard Java/Maven exclusions Moved from legacy maven-*/ root layout to backend/ organized structure.
1 line
25 KiB
JavaScript
1 line
25 KiB
JavaScript
webpackJsonp([66],{"9qSZ":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("Dd8w"),s=a.n(i),n=a("Gu7T"),l=a.n(n),o=a("Xxa5"),r=a.n(o),c=a("exGp"),p=a.n(c),u=a("hpEt"),d={components:{morer:a("7PvZ").a},name:"addMulPromotion",props:{title:{type:String,default:""}},data:function(){return{stepForm:{rowsOfPage:10,currentPage:1},deviceStatusList:[{label:"全部",value:""},{label:"在线",value:"2"},{label:"离线",value:"3"},{label:"禁用",value:"1"}],ruleForm:{name:"",type:"",code:"",delivery:!1,supplierName:"",remark:""},businessTypes:[],statusList:[{label:"全部",value:""},{label:"空闲中",value:"1"},{label:"升级中",value:"2"}],isSub:!1,isEdit:!1,engineTypes:[],loading:!1,states:[],active:0,stepTwoForm:{netLimit:""},startTime:"",endTime:"",stepOneDisabled:!0,stepTwoDisabled:!0,tableData:[],engineRecogTypes:[],serviceTypes:[],mechanismTypes:[],isAllDevice:!1,selectNum:0,selectData:[],multipleSelectionAll:[],multipleSelection:[],idKey:"id",deviceIds:[],allDeviceList:[],versionList:[],stepThreeData:{},isFalse:!1,errMessage:"",rules:{deviceTypeId:[{required:!0,message:"请选择设备类型",trigger:"change"}]},rules2:{name:[{required:!0,message:"请输入升级任务名称",trigger:"blur"},{min:1,max:32,message:"长度在 1 到 32 个字符",trigger:"blur"}],upgradeType:[{required:!0,message:"请选择升级时间"}],upgradeId:[{required:!0,message:"请选择目标版本",trigger:"change"}],netLimit:[{required:!0,message:"请输入宽带限制",trigger:"blur"},{type:"number",min:0,max:999999,message:"长度在 1 到 6 位之间的数字",trigger:"blur"}]},handleList:[],hasEngine:!0,disabledNum:0,upgradeNum:0}},mounted:function(){this.$refs.table.toggleRowSelection(this.tableData,!0)},created:function(){this.fetchTypeList(),this.fetchMechanismList(),this.fetchRecogTypeList(),this.fetchApplicationList(),this.fetchBusinessTypeList(),this.$route.query.id&&(this.fetchDetail(),this.isEdit=!0)},methods:{fetchDetail:function(){var e,t=this;u.a.upgradeDetail(this.$route.query.id).then((e=p()(r.a.mark(function e(a){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.stepForm.deviceTypeId=a.deviceTypeId,e.next=3,t.fetchData();case 3:t.stepTwoForm=a,t.editDeviceTypeId=a.deviceTypeId,2===a.upgradeType&&(t.startTime=a.timeLimit.split("~")[0],t.endTime=a.timeLimit.split("~")[1]),t.multipleSelectionAll=a.deviceIds.map(function(e){return{id:e}})||[];case 7:case"end":return e.stop()}},e,t)})),function(t){return e.apply(this,arguments)})).catch(function(e){t.$message.error(e.message)})},next:function(){this.active++},oneNext:function(){var e=this;this.multipleSelectionAll.length<1?this.$message.warning("请先选择设备"):(this.multipleSelectionAll.map(function(t){e.deviceIds.push(t.id)}),this.fetchVersionList(),this.active++)},upStep:function(){this.active--},getRowKeys:function(e){return e.id},searchDevice:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;t.stepForm.currentPage=1,t.fetchData(),setTimeout(function(){t.selectNum=0},500)})},fetchBusinessTypeList:function(){var e=this;u.a.queryBusiness().then(function(t){e.businessTypes=[{label:"全部",value:""}].concat(l()(t))}).catch(function(t){e.$message.error(t.message)})},fetchApplicationList:function(){var e=this;u.a.applicationList().then(function(t){e.serviceTypes=[{label:"全部",value:""}].concat(l()(t))}).catch(function(t){e.$message.error(t.message)})},fetchData:function(e){var t=this;return p()(r.a.mark(function e(){var a;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.tableLoading=!0,e.next=3,u.a.search(s()({},t.stepForm));case 3:a=e.sent,t.tableData=a.data,t.hasEngine=!(t.tableData.length>0),t.total=a.total,t.tableLoading=!1,setTimeout(function(){t.setSelectRow(),t.fetchDisabledNum(),t.fetchUpgradeNum()},100),t.tableData.map(function(e){t.selectData.map(function(t){e.id==t&&(e.isSelect=!0)})});case 10:case"end":return e.stop()}},e,t)}))()},handleSizeChange:function(e){this.changePageCoreRecordData(),this.stepForm.rowsOfPage=e,this.fetchData()},handleCurrentChange:function(e){this.changePageCoreRecordData(),this.stepForm.currentPage=e,this.fetchData()},fetchTypeList:function(){var e=this;u.a.typeList().then(function(t){e.engineTypes=t}).catch(function(t){e.$message.error(t.message)})},fetchVersionList:function(){var e=this;u.a.versionList().then(function(t){e.versionList=t}).catch(function(t){e.$message.error(t.message)})},fetchCreateData:function(){var e=this,t=s()({},this.ruleForm);(this.ifEdit?u.a.edit(t):u.a.add(t)).then(function(t){e.$message.success(t.message)}).catch(function(t){e.$message.error(t.message)}),setTimeout(function(){e.$emit("fetchData")},500)},submitForm:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;t.fetchCreateData()})},resetForm:function(e){this.stepForm={rowsOfPage:10,currentPage:1},this.isEdit&&(this.stepForm.deviceTypeId=this.editDeviceTypeId),this.tableData=[],this.total=0,this.multipleSelectionAll=[],this.hasEngine=!0},remoteMethod:function(e){var t=this;e?(this.loading=!0,setTimeout(function(){t.loading=!1,t.options4=t.list.filter(function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1})},200)):this.options4=[]},transterApplicationName:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e&&e.map(function(e){return e.name}).join(",")},fetchRecogTypeList:function(){var e=this;u.a.typeRecogList().then(function(t){e.engineRecogTypes=t}).catch(function(t){e.$message.error(t.message)})},fetchMechanismList:function(){var e=this;u.a.mechanismList().then(function(t){e.mechanismTypes=t}).catch(function(t){e.$message.error(t.message)})},allDevice:function(){var e=this;this.tableData.forEach(function(t){e.$refs.table.toggleRowSelection(t,!0)}),this.isAllDevice=!0,this.selectNum=this.total,this.$refs.stepForm.validate(function(t){if(!t)return!1;0!=e.tableData.length?u.a.deviceList(s()({},e.stepForm,{currentPage:"",rowsOfPage:""})).then(function(t){e.allDeviceList=t.data,e.multipleSelectionAll=t.data,e.fetchDisabledNum(),e.fetchUpgradeNum()}).catch(function(t){e.$message.error(t.message)}):e.$message.warning("暂无设备")})},clearAll:function(){var e=this;this.multipleSelectionAll=[],this.tableData.forEach(function(t){e.$refs.table.toggleRowSelection(t,!1),e.isAllDevice=!1,e.selectNum=0})},checkSelectable:function(e){return!this.isAllDevice},setSelectRow:function(){if(this.multipleSelectionAll&&!(this.multipleSelectionAll.length<=0)){var e=this.idKey,t=[];this.multipleSelectionAll.forEach(function(a){t.push(a[e])});for(var a=0;a<this.tableData.length;a++)t.indexOf(this.tableData[a][e])>=0&&this.$refs.table.toggleRowSelection(this.tableData[a],!0)}},arrayUnique2:function(e,t){var a={};return e.reduce(function(e,i){return!a[i[t]]&&(a[i[t]]=e.push(i)),e},[])},fetchDisabledNum:function(){var e=this;this.disabledNum=0,this.multipleSelectionAll.forEach(function(t){1==t.deviceStatus&&e.disabledNum++})},fetchUpgradeNum:function(){var e=this;this.upgradeNum=0,this.multipleSelectionAll.forEach(function(t){2==t.confStatus&&e.upgradeNum++})},changePageCoreRecordData:function(){var e=this.idKey,t=this;if(this.multipleSelectionAll.length<=0)this.multipleSelectionAll=this.multipleSelection;else{var a=[];this.multipleSelectionAll.forEach(function(t){a.push(t[e])});var i=[];this.multipleSelection.forEach(function(s){i.push(s[e]),a.indexOf(s[e])<0&&t.multipleSelectionAll.push(s)});var s=[];this.tableData.forEach(function(t){i.indexOf(t[e])<0&&s.push(t[e])}),s.forEach(function(i){if(a.indexOf(i)>=0)for(var s=0;s<t.multipleSelectionAll.length;s++)if(t.multipleSelectionAll[s][e]==i){t.multipleSelectionAll.splice(s,1);break}})}},selectAll:function(e){this.multipleSelectionAll=0==this.multipleSelectionAll.length?e:this.multipleSelectionAll,this.selectNum=this.multipleSelectionAll.length,this.getAllSelectionData()},getAllSelectionData:function(){var e=this;this.disabledNum=0,this.upgradeNum=0,this.changePageCoreRecordData(),this.selectNum=this.multipleSelectionAll.length,this.multipleSelectionAll.forEach(function(t){1==t.deviceStatus&&e.disabledNum++,2==t.confStatus&&e.upgradeNum++})},handleSelectionChange:function(e){this.multipleSelection=e,this.disabledNum=0,this.upgradeNum=0,this.multipleSelectionAll[0]&&this.multipleSelectionAll[0]instanceof Array&&this.multipleSelectionAll.shift(),this.selectNum=this.multipleSelectionAll.length},handleSelect:function(e,t){this.getAllSelectionData()},submitData:function(e){var t=this;2!==this.stepTwoForm.upgradeType||this.startTime&&this.endTime?this.$refs[e].validate(function(e){if(!e)return!1;t.stepTwoForm.deviceIds=t.deviceIds,2===t.stepTwoForm.upgradeType&&(t.startTime.replace(/:/g,"")>t.endTime.replace(/:/g,"")?t.stepTwoForm.timeLimit=t.startTime+"~次日"+t.endTime:t.stepTwoForm.timeLimit=t.startTime+"~"+t.endTime),t.isEdit?u.a.editUpgrade(s()({},t.stepTwoForm,{id:t.$route.query.id})).then(function(e){t.active++,t.stepThreeData=e.data,t.$message.success(e.message)}).catch(function(e){t.active++,t.isFalse=!0,t.errMessage=e.message}):u.a.submitUpgrade(t.stepTwoForm).then(function(e){t.active++,t.stepThreeData=e.data,t.$message.success(e.message)}).catch(function(e){t.active++,t.isFalse=!0,t.errMessage=e.message})}):this.$message.warning("请选择升级时间")},newAgain:function(){this.$router.push("/mulDeviceManage/upgrade/add"),this.$router.go(0)},goBack:function(){this.$router.go(-1)}}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"app-container"},[a("el-card",{staticStyle:{"margin-bottom":"24px","padding-bottom":"10px","margin-top":"14px","text-align":"center"}},[a("div",[a("span",[0==e.active?a("span",{staticClass:"red-icon"},[e._v("1")]):a("svg-icon",{staticClass:"icon",staticStyle:{width:"32px",height:"32px",position:"relative",top:"10px"},attrs:{"icon-class":"icon_step_sucess"}}),e._v(" "),a("span",{class:{"two-color":0==e.active,"one-color":0!=e.active}},[e._v("选择需要升级的设备")])],1),e._v(" "),a("span",{staticClass:"line-next"}),e._v(" "),a("span",[1==e.active?a("span",{staticClass:"red-icon"},[e._v("2")]):e._e(),e._v(" "),0==e.active?a("span",{staticClass:"gray-icon"},[e._v("2")]):e._e(),e._v(" "),2==e.active?a("svg-icon",{staticClass:"icon",staticStyle:{width:"32px",height:"32px",position:"relative",top:"10px"},attrs:{"icon-class":"icon_step_sucess"}}):e._e(),e._v(" "),a("span",{class:{"one-color":2==e.active,"two-color":1==e.active,"three-color":0==e.active}},[e._v("升级策略设置")])],1),e._v(" "),a("span",{staticClass:"line-next"}),e._v(" "),a("span",[2!=e.active?a("span",{staticClass:"gray-icon"},[e._v("3")]):a("span",{staticClass:"red-icon"},[e._v("3")]),e._v(" "),a("span",{class:{"two-color":2==e.active,"three-color":2!=e.active}},[e._v("完成")])])])]),e._v(" "),a("el-card",{staticClass:"upadd-card",attrs:{shadow:"hover"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:0==e.active,expression:"active == 0"}],staticClass:"stpe-one"},[a("div",{staticClass:"add-form"},[a("el-form",{ref:"stepForm",attrs:{inline:"","label-width":"120px",model:e.stepForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"设备类型",prop:"deviceTypeId"}},[a("el-select",{attrs:{disabled:e.isEdit},model:{value:e.stepForm.deviceTypeId,callback:function(t){e.$set(e.stepForm,"deviceTypeId",t)},expression:"stepForm.deviceTypeId"}},e._l(e.engineTypes,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"应用类型"}},[a("el-select",{model:{value:e.stepForm.serviceCode,callback:function(t){e.$set(e.stepForm,"serviceCode",t)},expression:"stepForm.serviceCode"}},e._l(e.serviceTypes,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"任务状态"}},[a("el-select",{model:{value:e.stepForm.confStatus,callback:function(t){e.$set(e.stepForm,"confStatus",t)},expression:"stepForm.confStatus"}},e._l(e.statusList,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"设备状态",prop:"deviceStatus"}},[a("el-select",{model:{value:e.stepForm.deviceStatus,callback:function(t){e.$set(e.stepForm,"deviceStatus",t)},expression:"stepForm.deviceStatus"}},e._l(e.deviceStatusList,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"所属企业"}},[a("el-select",{attrs:{filterable:"",placeholder:"请选择"},model:{value:e.stepForm.businessId,callback:function(t){e.$set(e.stepForm,"businessId",t)},expression:"stepForm.businessId"}},e._l(e.businessTypes,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"设备名称",prop:"deviceName"}},[a("el-input",{attrs:{placeholder:"请输入设备名称",maxlength:"32"},model:{value:e.stepForm.deviceName,callback:function(t){e.$set(e.stepForm,"deviceName","string"==typeof t?t.trim():t)},expression:"stepForm.deviceName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"设备编号",prop:"deviceCode"}},[a("el-input",{attrs:{placeholder:"请输入设备编号",maxlength:"32"},model:{value:e.stepForm.deviceCode,callback:function(t){e.$set(e.stepForm,"deviceCode","string"==typeof t?t.trim():t)},expression:"stepForm.deviceCode"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"warning"},on:{click:function(t){return e.searchDevice("stepForm")}}},[e._v("查询")]),e._v(" "),a("el-button",{on:{click:function(t){return e.resetForm("stepForm")}}},[e._v("重置")])],1)],1),e._v(" "),a("el-row",{staticStyle:{"margin-bottom":"24px"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"选择按查询条件搜索出来的全部设备",placement:"top"}},[a("el-button",{attrs:{type:"primary",disabled:e.hasEngine},on:{click:e.allDevice}},[e._v("全部设备")])],1),e._v(" "),a("p",{staticStyle:{"font-size":"12px",background:"#EEF0FC","margin-top":"24px","padding-left":"10px"}},[a("i",{staticClass:"el-icon-info label-icon",staticStyle:{color:"#546DE9"}}),e._v("\n 已选择\n "),a("span",{staticStyle:{color:"#546DE9"}},[e._v(e._s(e.selectNum))]),e._v(" 项 ,其中禁用设备\n "),a("span",{staticStyle:{color:"#546DE9"}},[e._v(e._s(e.disabledNum))]),e._v("项,升级中设备 "),a("span",{staticStyle:{color:"#546DE9"}},[e._v(e._s(e.upgradeNum))]),e._v("项,将不参与升级 \n "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:e.clearAll}},[e._v("清空")])],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tableLoading,expression:"tableLoading"}],ref:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData},on:{"selection-change":e.handleSelectionChange,"select-all":e.selectAll,select:e.handleSelect}},[a("el-table-column",{attrs:{type:"selection",selectable:e.checkSelectable,width:"55"}}),e._v(" "),a("el-table-column",{attrs:{prop:"deviceName",label:"设备名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"deviceCode",label:"设备编号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"businessName",label:"所属企业"}}),e._v(" "),a("el-table-column",{attrs:{prop:"deviceTypeName",label:"设备类型"}}),e._v(" "),a("el-table-column",{attrs:{prop:"applicationNameList",label:"应用类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e.transterApplicationName(t.row.applicationNameList)))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"deviceVersion",label:"版本号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"设备安装位置","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"deviceStatus",label:"设备状态"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("morer",{attrs:{statusColorList:{1:"#FC0D1B",2:"#29FD2E",3:"rgb(204,204,204)"},statusTextList:{1:"禁用",2:"在线",3:"离线"},value:e.row.deviceStatus}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"confStatus",label:"任务状态"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("morer",{attrs:{statusColorList:{1:"#29FD2E",2:"#FC0D1B"},statusTextList:{1:"空闲中",2:"升级中"},value:e.row.confStatus}})]}}])})],1),e._v(" "),a("el-pagination",{directives:[{name:"show",rawName:"v-show",value:!e.hidePage,expression:"!hidePage"}],attrs:{"current-page":e.pageNum,"page-sizes":[10,20,50,100],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.active,expression:"active == 1"}],staticClass:"stpe-two",staticStyle:{"text-align":"center"}},[a("el-form",{ref:"stepTwoForm",staticStyle:{width:"60%","margin-left":"22%"},attrs:{"label-width":"120px",model:e.stepTwoForm,rules:e.rules2}},[a("el-form-item",{attrs:{label:"升级任务名称",prop:"name"}},[a("el-input",{attrs:{placeholder:"请输入升级任务名称",maxlength:"32"},model:{value:e.stepTwoForm.name,callback:function(t){e.$set(e.stepTwoForm,"name",t)},expression:"stepTwoForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"选择目标版本",prop:"upgradeId"}},[a("el-select",{attrs:{placeholder:"请选择选择目标版本"},model:{value:e.stepTwoForm.upgradeId,callback:function(t){e.$set(e.stepTwoForm,"upgradeId",t)},expression:"stepTwoForm.upgradeId"}},e._l(e.versionList,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"宽带限制",prop:"netLimit"}},[a("el-input",{attrs:{maxlength:"6",placeholder:"请输入不影响主营业允许的带宽"},model:{value:e.stepTwoForm.netLimit,callback:function(t){e.$set(e.stepTwoForm,"netLimit",e._n(t))},expression:"stepTwoForm.netLimit"}}),e._v(" "),a("span",{staticStyle:{float:"right",position:"absolute",top:"0px",right:"-45px"}},[e._v("MB/s")])],1),e._v(" "),a("el-form-item",{attrs:{label:"升级时间",prop:"upgradeType"}},[a("el-radio-group",{staticStyle:{position:"relative",left:"-155px"},model:{value:e.stepTwoForm.upgradeType,callback:function(t){e.$set(e.stepTwoForm,"upgradeType",t)},expression:"stepTwoForm.upgradeType"}},[a("el-radio",{attrs:{label:1}},[e._v("立即升级")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("固定时间段")])],1)],1),e._v(" "),2===e.stepTwoForm.upgradeType?a("el-form-item",{attrs:{label:"升级时间段",required:""}},[a("el-time-select",{staticClass:"time-select",attrs:{placeholder:"起始时间","picker-options":{start:"00:00",step:"00:15",end:"24:00"}},model:{value:e.startTime,callback:function(t){e.startTime=t},expression:"startTime"}}),e._v("-\n "),a("el-time-select",{staticClass:"time-select",staticStyle:{left:"15px"},attrs:{placeholder:"结束时间","picker-options":{start:"00:00",step:"00:15",end:"24:00"}},model:{value:e.endTime,callback:function(t){e.endTime=t},expression:"endTime"}}),e._v(" "),a("p",{staticStyle:{float:"left","font-size":"14px","padding-left":"20px",color:"rgba(0, 0, 0, 0.427450980392157)"}},[e._v("\n 第二个输入框当值小于第一个时间的时间时,为次日\n ")])],1):e._e()],1)],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.active&&!e.isFalse,expression:"active == 2 && !isFalse"}],staticClass:"step-three"},[a("div",[a("div",{staticClass:"success",staticStyle:{"margin-bottom":"15px"}},[a("svg-icon",{staticClass:"icon",staticStyle:{width:"50px",height:"50px"},attrs:{"icon-class":"icon_sucess"}})],1),e._v(" "),a("p",{staticStyle:{"font-size":"20px","margin-bottom":"10px","font-weight":"700"}},[e._v("操作成功")]),e._v(" "),a("p",{staticStyle:{"font-size":"12px"}},[e._v("任务即将开始执行")])]),e._v(" "),a("div",{staticClass:"detail-info"},[a("el-form",{staticStyle:{width:"43%","margin-left":"30%",background:"#F4F5F9","padding-left":"120px","padding-top":"24px","padding-bottom":"13px","margin-top":"50px","margin-bottom":"30px"},attrs:{"label-width":"120px"}},[a("el-form-item",{attrs:{label:"升级任务名称:"}},[a("span",[e._v(e._s(e.stepThreeData.name))])]),e._v(" "),a("el-form-item",{attrs:{label:"升级设备数:"}},[a("span",[e._v(e._s(e.stepThreeData.deviceTotal))])]),e._v(" "),a("el-form-item",{attrs:{label:"目标版本:"}},[a("span",[e._v(e._s(e.stepThreeData.targetVersion))])]),e._v(" "),a("el-form-item",{attrs:{label:"带宽限制:"}},[a("span",[e._v(e._s(e.stepThreeData.netLimit)+" MB/s")])]),e._v(" "),a("el-form-item",{attrs:{label:"升级时间:"}},[a("span",[e._v(e._s(e.stepThreeData.timeLimit))])])],1)],1)]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.active&&e.isFalse,expression:"active == 2 && isFalse"}],staticClass:"step-three"},[a("div",[a("div",{staticClass:"success",staticStyle:{"margin-bottom":"15px"}},[a("svg-icon",{staticClass:"icon",staticStyle:{width:"50px",height:"50px"},attrs:{"icon-class":"icon_default"}})],1),e._v(" "),a("p",{staticStyle:{"font-size":"20px","margin-bottom":"10px","font-weight":"700"}},[e._v("任务新建失败")]),e._v(" "),a("p",{staticStyle:{"font-size":"12px"}},[e._v("请核对并修改以下信息后,再重新提交。")])]),e._v(" "),a("div",{staticClass:"detail-info",staticStyle:{width:"400px",margin:"0 auto","margin-top":"40px","text-align":"left"}},[a("p",{staticStyle:{"font-size":"14px","line-height":"30px","font-weight":"700","margin-bottom":"5px"}},[e._v("\n 您提交的内容有以下问题:\n ")]),e._v(" "),a("p",{staticStyle:{"font-size":"12px","line-height":"25px"}},[a("svg-icon",{staticClass:"icon",staticStyle:{width:"14px",height:"14px"},attrs:{"icon-class":"icon_default"}}),e._v("\n "+e._s(e.errMessage)+"\n ")],1)])])])],1),e._v(" "),a("div",{staticClass:"bottom-btn"},[0==e.active?a("el-button",{staticStyle:{float:"left","margin-left":"24px","margin-top":"16px"},attrs:{type:"primary"},on:{click:e.oneNext}},[e._v("下一步")]):e._e(),e._v(" "),1==e.active?a("el-button",{staticStyle:{float:"left","margin-left":"24px","margin-top":"16px"},attrs:{type:"primary"},on:{click:function(t){return e.submitData("stepTwoForm")}}},[e._v("提交")]):e._e(),e._v(" "),1==e.active?a("el-button",{staticStyle:{float:"left","margin-left":"24px","margin-top":"16px"},on:{click:e.upStep}},[e._v("上一步")]):e._e(),e._v(" "),2==e.active?a("el-button",{staticStyle:{float:"left","margin-left":"24px","margin-top":"16px"},attrs:{type:"primary"},on:{click:e.newAgain}},[e._v("再新建升级任务")]):e._e()],1)])},staticRenderFns:[]};var h=a("VU/8")(d,m,!1,function(e){a("lMgM")},"data-v-e9890d46",null);t.default=h.exports},G4ua:function(e,t,a){(e.exports=a("FZ+f")(!1)).push([e.i,"\n[data-v-e9890d46] .el-select {\n width: 100%;\n}\n[data-v-e9890d46] .el-textarea {\n width: 96%;\n}\n.add-form[data-v-e9890d46] {\n width: 100%;\n}\n[data-v-e9890d46] .el-step__head.is-process {\n border-color: #303133 !important;\n}\n/* /deep/ .el-pagination .el-select .el-input .el-input__inner {\n width: 100px;\n} */\n.stpe-two[data-v-e9890d46] .el-input__inner {\n width: 527px;\n}\n.stpe-two[data-v-e9890d46] .el-form-item {\n width: 640px;\n}\n.time-select[data-v-e9890d46] {\n left: -36px;\n}\n.time-select[data-v-e9890d46] .el-input__inner {\n width: 240px !important;\n}\n[data-v-e9890d46] .el-pagination .el-select .el-input {\n width: 100px;\n}\n[data-v-e9890d46] .el-pagination__editor.el-input {\n width: 50px;\n}\n.step-three[data-v-e9890d46] {\n text-align: center;\n}\n.detail-info[data-v-e9890d46] .el-form-item__label {\n font-weight: 400;\n}\n.detail-info span[data-v-e9890d46] {\n float: left;\n word-break: break-all;\n text-align: left;\n}\n.detail-info[data-v-e9890d46] .el-form-item {\n margin-bottom: 10px;\n}\n.cur-input[data-v-e9890d46] .el-input {\n width: 50px;\n}\n.bottom-btn[data-v-e9890d46] {\n height: 60px;\n width: 100%;\n line-height: 60px;\n background: #fff;\n position: fixed;\n bottom: 0;\n z-index: 2;\n}\n.app-container .fixed-pagination-ctnr[data-v-e9890d46] {\n margin-left: 300px !important;\n}\n.upadd-card[data-v-e9890d46] {\n margin-bottom: 100px;\n padding-bottom: 18px;\n}\n.red-icon[data-v-e9890d46] {\n background: #e4071e;\n height: 32px;\n width: 32px;\n display: inline-block;\n text-align: center;\n line-height: 32px;\n color: #fff !important;\n border-radius: 50%;\n margin-right: 4px;\n}\n.gray-icon[data-v-e9890d46] {\n border: 1px solid #bcc0c5;\n height: 32px;\n width: 32px;\n display: inline-block;\n text-align: center;\n line-height: 32px;\n color: #bcc0c5;\n border-radius: 50%;\n margin-right: 4px;\n}\n.line-next[data-v-e9890d46] {\n display: inline-block;\n height: 1px;\n width: 192px;\n background: #e4e6e9;\n margin: 0 10px;\n margin-bottom: 5px;\n}\n.one-color[data-v-e9890d46] {\n color: #2c2d2f;\n}\n.two-color[data-v-e9890d46] {\n color: #2c2d2f;\n font-weight: 700;\n}\n.three-color[data-v-e9890d46] {\n color: #74777c;\n}\n",""])},lMgM:function(e,t,a){var i=a("G4ua");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a("rjj0")("13e23d33",i,!0)}}); |