Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/178.a9c7afb40f9008da1bb2.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
2.7 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([178],{"/waL":function(e,t,a){var i=a("iz8j");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a("rjj0")("5da07cca",i,!0)},"4BQE":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("EEkg"),n={data:function(){return{info:JSON.parse(decodeURIComponent(this.$route.query.info)),single:!1,loading:!1,engineRecogTypes:[],recogniseType:""}},created:function(){this.info?this.fetchRecogTypeList():this.$router.push("/equipment/manage/index")},methods:{goDetail:function(){this.$router.push({name:"editEquipment",params:{row:this.info}})},fetchRecogTypeList:function(){var e=this;i.a.typeRecogList().then(function(t){e.engineRecogTypes=t;var a=e.info.recogniseType.split("#")[1];e.engineRecogTypes.some(function(t){t.value===a&&(e.recogniseType=t.label)})}).catch(function(t){e.$message.error(t.message)})}},computed:{}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-card",{staticClass:"full-card"},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{margin:"20px 0 0 20px"},attrs:{"label-width":"120px","label-suffix":"","label-position":"left"}},[a("el-row",[a("el-col",{attrs:{span:9}},[e.single?a("el-form-item",{attrs:{label:"所属机构"}},[e._v(e._s(e.info.orgName))]):e._e()],1),e._v(" "),a("el-col",{attrs:{span:9}},[a("el-form-item",{attrs:{label:"设备类型"}},[e._v(e._s(e.info.deviceTypeName))])],1),e._v(" "),a("el-col",{attrs:{span:9}},[a("el-form-item",{attrs:{label:"设备识别类型"}},[e._v(e._s(e.recogniseType))])],1),e._v(" "),a("el-col",{attrs:{span:9}},[a("el-form-item",{attrs:{label:"设备编号"}},[e._v(e._s(e.info.deviceCode))])],1),e._v(" "),a("el-col",{attrs:{span:9}},[a("el-form-item",{attrs:{label:"设备名称"}},[e._v(e._s(e.info.deviceName))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"关联应用"}},[e._v(e._s(e.info.applicationNameList?e.info.applicationNameList.map(function(e){return e.name}).join(" "):""))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"设备位置"}},[e._v(e._s(e.info.address))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-top":"24px"}},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.deviceManageEdit],expression:"[$auth.deviceManageEdit]"}],attrs:{type:"primary"},on:{click:e.goDetail}},[e._v("编辑")])],1)],1)],1)],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(n,s,!1,function(e){a("/waL")},"data-v-47d8b8d5",null);t.default=o.exports},iz8j:function(e,t,a){(e.exports=a("FZ+f")(!1)).push([e.i,"\n.el-form-item[data-v-47d8b8d5] {\n margin-bottom: 6px;\n}\n",""])}});