Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/165.715ade5c4ab83dd1db36.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
4.4 KiB
JavaScript

webpackJsonp([165],{bHVW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Dd8w"),o=a.n(r),n=a("04W7"),l=a("xT6B"),s={data:function(){return{formateDate:l.a,searchForm:{groupName:"",status:"",host:this.$route.query.host,groupId:"",algorithmSubType:this.$route.query.algorithmSubType,pageSize:10,pageNum:1},statusDesc:{1:"已生效",2:"同步中",0:"删除中",3:"暂存"},tableData:[],loading:!1,total:0}},created:function(){this.fetchData()},activated:function(){this.searchForm=o()({},this.searchForm,{host:this.$route.query.host,algorithmSubType:this.$route.query.algorithmSubType}),this.fetchData()},methods:{handleSearch:function(){this.searchForm.pageNum=1,this.fetchData()},resetSearch:function(){this.searchForm={pageSize:10,status:"",groupId:this.$route.query.groupId,algorithmSubType:this.$route.query.algorithmSubType,pageNum:1},this.fetchData()},fetchData:function(){var e=this;this.loading=!0,n.a.subGroupList(o()({},this.searchForm)).then(function(t){e.loading=!1,e.total=t.total,e.tableData=t.data}).catch(function(t){e.loading=!1})},handleSizeChange:function(e){this.searchForm.pageSize=e,this.fetchData()},handleCurrentChange:function(e){this.searchForm.pageNum=e,this.fetchData()}},components:{searchPage:a("vMX1").a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-card",[a("search-page",{attrs:{pageSize:e.searchForm.pageSize,pageNum:e.searchForm.pageNum,total:e.total},on:{"update:pageSize":function(t){return e.$set(e.searchForm,"pageSize",t)},"update:page-size":function(t){return e.$set(e.searchForm,"pageSize",t)},"update:pageNum":function(t){return e.$set(e.searchForm,"pageNum",t)},"update:page-num":function(t){return e.$set(e.searchForm,"pageNum",t)},change:e.fetchData}},[a("el-form",{attrs:{inline:""}},[a("el-form-item",{attrs:{label:"底库编码"}},[a("el-input",{attrs:{placeholder:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.searchForm.groupId,callback:function(t){e.$set(e.searchForm,"groupId","string"==typeof t?t.trim():t)},expression:"searchForm.groupId"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"子库编码"}},[a("el-input",{attrs:{placeholder:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.searchForm.subGroupId,callback:function(t){e.$set(e.searchForm,"subGroupId","string"==typeof t?t.trim():t)},expression:"searchForm.subGroupId"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"子库状态"}},[a("el-select",{staticStyle:{width:"160px"},model:{value:e.searchForm.status,callback:function(t){e.$set(e.searchForm,"status",t)},expression:"searchForm.status"}},[a("el-option",{attrs:{label:"全部",value:""}}),e._v(" "),a("el-option",{attrs:{label:"已生效",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"同步中",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"删除中",value:"0"}})],1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"warning"},on:{click:e.handleSearch}},[e._v("查询")]),e._v(" "),a("el-button",{on:{click:e.resetSearch}},[e._v("重置")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回 ")])],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"groupName",label:"底库名称",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupId",label:"底库编码",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"subGroupId",label:"子库编码",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"modelVersionName",label:"模型版本号",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"status",label:"子库状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.statusDesc[t.row.status])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"host",label:"所属节点",align:"center"}})],1)],1)],1)],1)},staticRenderFns:[]};var i=a("VU/8")(s,u,!1,function(e){a("lp6w")},"data-v-6db90cb4",null);t.default=i.exports},lp6w:function(e,t,a){var r=a("yZeB");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("1a653a05",r,!0)},yZeB:function(e,t,a){(e.exports=a("FZ+f")(!1)).push([e.i,"",""])}});