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
6.0 KiB
JavaScript
1 line
6.0 KiB
JavaScript
webpackJsonp([171],{hzLb:function(e,t,a){var n=a("tbgF");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a("rjj0")("17aa1d0e",n,!0)},rDNe:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("EEkg"),r=a("xT6B"),i={components:{searchPage:a("vMX1").a},data:function(){return{formateDate:r.a,searchForm:{rowsOfPage:10,currentPage:1,deviceTypeId:""},logoutDialog:!1,logoutTitle:"",engineTypes:[],packageList:[{label:"增量",value:"1"},{label:"全量",value:"2"}],tableData:[],loading:!1,showEdit:!1,total:0,tableLoading:!1}},created:function(){this.fetchData(),this.fetchTypeList()},methods:{fetchTypeList:function(){var e=this;n.a.typeList().then(function(t){e.engineTypes=t,e.engineTypes.unshift({label:"全部",value:""})}).catch(function(t){e.$message.error(t.message)})},searchData:function(){this.searchForm.currentPage=1,this.fetchData()},fetchData:function(e){var t=this;this.tableLoading=!0,n.a.fileSearch(this.searchForm).then(function(e){setTimeout(function(){t.tableData=e.data,t.total=e.total,t.tableLoading=!1},500)}).catch(function(e){t.tableLoading=!1,t.$message.error(e.message)})},disable:function(e){var t=this;this.$confirm("是否确定注销?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.$set(e,"loading",!0),n.a.disable(e.id).then(function(a){t.$set(e,"loading",!1),t.$message.success(a.message),t.fetchData()}).catch(function(a){t.$set(e,"loading",!1),t.$message.error(a.message),t.fetchData()})}).catch(function(){})},enable:function(e){var t=this;this.$set(e,"loading",!0),n.a.enable(e.id).then(function(a){t.$set(e,"loading",!1),t.$message.success(a.message),t.fetchData()}).catch(function(a){t.$message.error(a.message),t.$set(e,"loading",!1),t.fetchData()})},del:function(e){var t=this;this.$confirm("提示:版本删除后,无法恢复,请谨慎操作!","确认删除所选择的版本吗?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.$set(e,"loading",!0),n.a.fileDel(e.id).then(function(a){t.$set(e,"loading",!1),t.fetchData(),t.$message.success(a.message)}).catch(function(a){t.$set(e,"loading",!1),t.$message.error(a.message),t.fetchData()})}).catch(function(){})},resetSearch:function(){this.searchForm={rowsOfPage:10,currentPage:1},this.fetchData()},handleSizeChange:function(e){this.searchForm.rowsOfPage=e,this.fetchData()},handleCurrentChange:function(e){this.searchForm.currentPage=e,this.fetchData()}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-card",{staticClass:"upadd-card",attrs:{shadow:"hover"}},[a("search-page",{attrs:{pageSize:e.searchForm.rowsOfPage,pageNum:e.searchForm.currentPage,total:e.total},on:{"update:pageSize":function(t){return e.$set(e.searchForm,"rowsOfPage",t)},"update:page-size":function(t){return e.$set(e.searchForm,"rowsOfPage",t)},"update:pageNum":function(t){return e.$set(e.searchForm,"currentPage",t)},"update:page-num":function(t){return e.$set(e.searchForm,"currentPage",t)},change:e.fetchData}},[a("el-form",{attrs:{inline:"","label-width":"70px"}},[a("el-form-item",{attrs:{label:"升级文件名称","label-width":"100px"}},[a("el-input",{attrs:{placeholder:"请输入文件名称",maxlength:"32"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchData(t)}},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name","string"==typeof t?t.trim():t)},expression:"searchForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"设备类型","label-width":"100px"}},[a("el-select",{model:{value:e.searchForm.deviceTypeId,callback:function(t){e.$set(e.searchForm,"deviceTypeId",t)},expression:"searchForm.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",[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.deviceFileSearch],expression:"[$auth.deviceFileSearch]"}],attrs:{type:"warning"},on:{click:e.searchData}},[e._v("查询")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.deviceFileSearch],expression:"[$auth.deviceFileSearch]"}],attrs:{type:"default"},on:{click:e.resetSearch}},[e._v("重置")]),e._v(" "),a("router-link",{attrs:{to:{name:"fileAdd"}}},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.deviceFileAdd],expression:"[$auth.deviceFileAdd]"}],staticStyle:{"margin-left":"10px"},attrs:{type:"primary"}},[e._v("新建")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tableLoading,expression:"tableLoading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"升级文件名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"deviceTypeName",label:"设备类型"}}),e._v(" "),a("el-table-column",{attrs:{prop:"previousVersion",label:"上一版本号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"remark",label:"升级备注","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.createTime?e.formateDate(new Date(t.row.createTime),"yyyy-MM-dd hh:mm:ss"):""))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("router-link",{attrs:{to:{name:"fileDetail",query:{id:t.row.id}}}},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.deviceFileDetail],expression:"[$auth.deviceFileDetail]"}],attrs:{type:"text"}},[e._v("详情")])],1)]}}])})],1)],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(i,s,!1,function(e){a("hzLb")},"data-v-63bbf3af",null);t.default=o.exports},tbgF:function(e,t,a){(e.exports=a("FZ+f")(!1)).push([e.i,"\n.upadd-card[data-v-63bbf3af] {\n margin-bottom: 100px;\n padding-bottom: 18px;\n}\n",""])}}); |