Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/220.826cdbe7c34497c7f6b0.js
T
反编译工作区 4f79e10bd6 chore: cleanup stray nested directories in frontend-source
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
2026-04-29 13:07:40 +08:00

1 line
3.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
webpackJsonp([220],{"0Bza":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("hOsK"),s=(e.n(n),e("kqC4")),i=(e.n(s),e("lv5w")),o=(e.n(i),e("2bj9")),l=(e.n(o),e("44wJ")),r=(e.n(l),e("6zSr")),c=(e.n(r),e("23M+")),d=(e.n(c),e("DixE")),m=(e.n(d),e("oiss"),e("H5tE")),f=e.n(m),v=e("r6Af"),_=e("FCLc"),p=(e.n(_),e("cSe6")),g=(e.n(p),e("YO+z")),u=(e.n(g),e("I3KW")),h=(e.n(u),e("g8nV"),e("Mnsi")),C=(e.n(h),e("SBIS")),b=(e.n(C),e("Iy39")),S=(e.n(b),e("Ek6n")),w=(e.n(S),e("r7d2")),y=e("mtWM"),D=(e.n(y),e("zL8q")),M=(e.n(D),Object(v.a)({render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-container"},[e("el-card",{staticClass:"card",staticStyle:{padding:"20px 0"}},[e("div",{staticClass:"nameCard"},[e("span",{staticClass:"name"},[t._v(t._s(t.managerCode)),e("span",{staticClass:"new"},[t._v("NEW")])])])]),t._v(" "),e("el-card",{staticClass:"card"},[e("el-form",{staticClass:"item",attrs:{model:t.form,"label-position":"right","label-width":"100px"}},[e("el-form-item",{attrs:{label:"系统版本:"}},[e("span",{staticClass:"item_content"},[t._v(t._s(t.form.sysVersion))])]),t._v(" "),e("el-form-item",{attrs:{label:"场景名称:"}},[e("span",{staticClass:"item_content"},[t._v(t._s(t.form.name))])]),t._v(" "),e("el-form-item",{attrs:{label:"场景版本:"}},[e("span",{staticClass:"item_content"},[t._v(t._s(t.form.version))])]),t._v(" "),e("el-form-item",{attrs:{label:"型号:"}},[t.form.productModel?e("span",{staticClass:"item_content"},[t._v(t._s(t.form.productModel))]):e("span",{staticClass:"item_content"},[t._v("-")])]),t._v(" "),e("el-form-item",{attrs:{label:"货号:"}},[t.form.productNo?e("span",{staticClass:"item_content"},[t._v(t._s(t.form.productNo))]):e("span",{staticClass:"item_content"},[t._v("-")])]),t._v(" "),e("el-form-item")],1)],1),t._v(" "),e("el-dialog",{staticStyle:{"margin-top":"5%"},attrs:{visible:t.isShowDialog,title:"确认卸载",width:"30%"},on:{"update:visible":function(a){t.isShowDialog=a}}},[e("span",{staticStyle:{display:"flex",padding:"30px 20px"}},[e("span",[e("i",{staticClass:"el-icon-warning",staticStyle:{"font-size":"2em",color:"#E6A23C","margin-right":"5px"}})]),t._v(" "),e("span",{staticStyle:{"line-height":"2em"}},[t._v("更新过程中manager将停止所有服务,请确认是否更新"+t._s(t.managerCode)+"")])]),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:t.handleUpdate}},[t._v("确 定")]),t._v(" "),e("el-button",{on:{click:function(a){t.isShowDialog=!1}}},[t._v("取 消")])],1)])],1)},staticRenderFns:[]},void 0,{name:"ManagerInfo",data:function(){return{managerCode:null,form:{},isShowDialog:!1}},created:function(){this.fetchData()},methods:{fetchData:function(){var t=this;w.e.getManagerInfo().then(function(a){t.form=a.data,t.managerCode=a.data.managerId}).catch(function(t){})},updateManger:function(){this.isShowDialog=!0},handleUpdate:function(){var t=this;this.isShowDialog=!1;var a=this.$loading({lock:!0,text:"更新中,请等待...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});f()(function(){a.close(),t.$message.success("更新成功")},2e3)}}},"data-v-b54e6a8c",!1,void 0,!1,void 0,void 0,void 0));a.default=M}});