(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1fdb2338"],{"3d8b":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"org-wrapper"},[a("layout-panel",[a("div",{staticClass:"table-search pd-tb10-lr30 box-shadow-b"},[a("TableSearch",{attrs:{columns:e.searchColumns,inline:!0},on:{search:e.onSearch},scopedSlots:e._u([{key:"orgName",fn:function(t){return[a("fd-input",{attrs:{placeholder:e.$t("system.orgPlaceholder")},model:{value:t.formData["orgName"],callback:function(a){e.$set(t.formData,"orgName",a)},expression:"scope.formData['orgName']"}})]}}])})],1)]),a("layout-panel",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table-con-sty pd-tb20-lr30",attrs:{title:e.$t("system.orgList")}},[a("layout-table",{scopedSlots:e._u([{key:"default",fn:function(){return[a("EleTable",{attrs:{loading:e.loading,"table-data":e.tableData,"table-config":e.tableConfig},on:{modalFn:e.modalFn}})]},proxy:!0},e.tableData.length>0?{key:"page",fn:function(){return[a("Pagenation",{attrs:{pageConfig:e.pageConfig},on:{pageChange:e.getOrgList}})]},proxy:!0}:null],null,!0)})],1)],1)},n=[],r=a("fe07"),i=[{label:r["a"].t("system.orgName"),id:"name"},{label:r["a"].t("system.orgCode"),id:"code"},{label:r["a"].t("组织类型"),id:"organizationType"},{label:r["a"].t("createTime"),id:"createTime"}],l=a("072e"),s={data:function(){return{queryForm:{orgName:""},searchColumns:[{name:this.$t("system.orgName"),field:"orgName",type:"input",slot:!0}],tableConfig:{headers:i,index:!0,selection:!1},tableData:[],pageConfig:{totalCount:0,pageSize:10,pageNum:1},loading:!1}},created:function(){this.getOrgList()},methods:{modalFn:function(e){var t=e.type;e.row;"query"===t&&this.$fdModal.open("org")},getOrgList:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.pageConfig.pageNum=t;var a={keyword:this.queryForm.orgName||""};this.loading=!0,Object(l["l"])({param:a},this.pageConfig).then((function(t){e.loading=!1,"200"===t.code&&(e.tableData=t.data.dataList||[],e.pageConfig.totalCount=t.data.totalCount||0)}))},reset:function(){this.queryForm.orgName=""},onSearch:function(e){this.queryForm=e,this.getOrgList()}}},g=s,d=(a("5ded"),a("2877")),c=Object(d["a"])(g,o,n,!1,null,"e675c9b6",null);t["default"]=c.exports},"5ded":function(e,t,a){"use strict";a("9ce3")},"9ce3":function(e,t,a){}}]);