(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c52ef902"],{"14bb":function(e,t,a){"use strict";a("416d")},"2f64":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"shareConfig"}},[a("div",{staticClass:"title"},[e._v("进港代操作配置")]),a("div",{staticClass:"separatorLine"}),a("el-row",[a("el-col",[a("el-form",{ref:"query",attrs:{inline:!0,model:e.query}},[a("el-form-item",[a("span",{staticClass:"lights",staticStyle:{"font-weight":"bold"},attrs:{plain:""}},[e._v("绑定组织名称 ")])]),a("el-form-item",[a("el-input",{attrs:{placeholder:"请输入代码或名称"},model:{value:e.query.orgCodeName,callback:function(t){e.$set(e.query,"orgCodeName",t)},expression:"query.orgCodeName"}})],1),a("el-form-item",[a("span",{staticClass:"lights",staticStyle:{"font-weight":"bold"},attrs:{plain:""}},[e._v(" 代操作模式 ")])]),a("el-form-item",[a("el-select",{model:{value:e.query.shareMode,callback:function(t){e.$set(e.query,"shareMode",t)},expression:"query.shareMode"}},e._l(e.shareModeOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",[a("span",{staticClass:"lights",staticStyle:{"font-weight":"bold"},attrs:{plain:""}},[e._v(" 状态 ")])]),a("el-form-item",{staticClass:"input-style"},[a("el-select",{model:{value:e.query.used,callback:function(t){e.$set(e.query,"used",t)},expression:"query.used"}},e._l(e.eStatsQueryOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",[a("el-button",{staticStyle:{"margin-left":"20px","margin-bottom":"2px"},attrs:{type:"primary",plain:""},on:{click:e.queryData}},[e._v("查询")])],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.reset()}}},[e._v("重置")])],1)],1)],1)],1),a("YtoTable",{attrs:{loading:e.tableLoading,columns:e.tableColumns,data:e.tableData,pager:e.page},on:{"size-change":e.handleSizePageChange,"current-change":e.handleCurrentPageChange}})],1)},r=[],s=a("b85c"),i=a("72ac"),o={data:function(){return{query:{used:"",shareMode:"",orgCodeName:""},tableLoading:!1,uesdOptions:[{value:"Y",label:"启用"},{value:"N",label:"禁用"}],eStatsQueryOptions:[{value:"",label:"全部"},{value:"Y",label:"启用"},{value:"N",label:"禁用"}],shareModeOptions:[{value:"",label:"全部"},{value:"1",label:"合并分拣"},{value:"2",label:"全流程"}],tableColumns:[{prop:"orgCode",label:"绑定代码",minWidth:120,sort:!1,align:"left"},{prop:"orgName",label:"绑定组织代码",minWidth:120,sort:!1},{prop:"shareMode",label:"代操作模式",minWidth:120,sort:!1},{prop:"used",label:"状态",minWidth:120,sort:!1},{prop:"createTime",label:"创建时间",minWidth:120,sort:!1},{prop:"modifyTime",label:"更新时间",minWidth:120,sort:!1}],tableData:[],exportDataArr:[],page:{pageNo:1,limit:10,sizes:[10,20,50],total:0},url:{queryPage:"/Yto_MonitorGateway/multiOrgConfig/queryPage"}}},methods:{reset:function(){this.query.used="",this.query.shareMode="",this.query.orgCodeName=""},handleSizePageChange:function(e){this.page.limit=e,this.queryPage(this.page)},handleCurrentPageChange:function(e){this.page.pageNo=e,this.queryPage(this.page)},queryData:function(){this.page.pageNo=1,this.page.limit=this.page.limit,this.queryPage(this.page)},queryPage:function(e){var t=this,a={page:{current:this.page.pageNo,size:this.page.limit},condition:{orgCodeOrName:this.query.orgCodeName,used:this.query.used,shareMode:this.query.shareMode}};this.$http.post(i["b"]+this.url.queryPage,a,{emulateJSON:!1}).then((function(e){if(200==e.status)if("000"==e.body.respcode){t.tableData=e.body.data.pageData;var a,l=Object(s["a"])(t.tableData);try{for(l.s();!(a=l.n()).done;){var r=a.value;"Y"===r.used?r.used="启用":r.used="禁用","1"===r.shareMode?r.shareMode="合并分拣":"2"===r.shareMode&&(r.shareMode="全流程")}}catch(o){l.e(o)}finally{l.f()}t.page.total=e.body.data.total}else{var i=e.body.respMessage;t.$message({message:i,type:"error"})}}))}},mounted:function(){this.queryData()}},n=o,u=(a("14bb"),a("2877")),d=Object(u["a"])(n,l,r,!1,null,"c1c4cb96",null);t["default"]=d.exports},"416d":function(e,t,a){}}]);