(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-603284ff"],{"55e1":function(e,l,a){"use strict";a("683f")},"683f":function(e,l,a){},e326:function(e,l,a){"use strict";a.r(l);var o=function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("a-card",{attrs:{visible:e.visible}},[a("a-form-model",{ref:"form",attrs:{model:e.model}},[a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"机构名称"}},[a("a-input",{staticStyle:{border:"0"},attrs:{placeholder:""},model:{value:e.model.departName,callback:function(l){e.$set(e.model,"departName",l)},expression:"model.departName"}})],1),a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"上级部门"}},[a("a-tree-select",{staticStyle:{width:"100%",border:"none",outline:"none"},attrs:{disabled:"",dropdownStyle:{maxHeight:"200px",overflow:"auto"},treeData:e.treeData,placeholder:"无"},model:{value:e.model.parentId,callback:function(l){e.$set(e.model,"parentId",l)},expression:"model.parentId"}})],1),a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"机构编码"}},[a("a-input",{staticStyle:{border:"0"},attrs:{placeholder:""},model:{value:e.model.orgCode,callback:function(l){e.$set(e.model,"orgCode",l)},expression:"model.orgCode"}})],1),a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"机构类型"}},[a("a-radio-group",{attrs:{disabled:!0,"read-only":""},model:{value:e.model.orgCategory,callback:function(l){e.$set(e.model,"orgCategory",l)},expression:"model.orgCategory"}},[a("a-radio",{attrs:{value:"1"}},[e._v("\n            公司\n          ")]),a("a-radio",{attrs:{value:"2"}},[e._v("\n            部门\n          ")]),a("a-radio",{attrs:{value:"3"}},[e._v("\n            岗位\n          ")])],1)],1),a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"排序"}},[a("a-input-number",{staticStyle:{border:"0"},model:{value:e.model.departOrder,callback:function(l){e.$set(e.model,"departOrder",l)},expression:"model.departOrder"}})],1),a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"手机号"}},[a("a-input",{staticStyle:{border:"0"},attrs:{placeholder:""},model:{value:e.model.mobile,callback:function(l){e.$set(e.model,"mobile",l)},expression:"model.mobile"}})],1),a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"地址"}},[a("a-input",{staticStyle:{border:"0"},attrs:{placeholder:""},model:{value:e.model.address,callback:function(l){e.$set(e.model,"address",l)},expression:"model.address"}})],1),a("a-form-model-item",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol,label:"备注"}},[a("a-textarea",{staticStyle:{border:"0"},attrs:{placeholder:""},model:{value:e.model.memo,callback:function(l){e.$set(e.model,"memo",l)},expression:"model.memo"}})],1)],1)],1)},r=[],t=a("4ec3"),s={name:"DeptBaseInfo",components:{},data:function(){return{departTree:[],id:"",model:{},visible:!1,disable:!0,treeData:[],labelCol:{xs:{span:24},sm:{span:3}},wrapperCol:{xs:{span:24},sm:{span:16}}}},created:function(){this.loadTreeData()},methods:{loadTreeData:function(){var e=this;Object(t["G"])().then((function(l){if(l.success)for(var a=0;a<l.result.length;a++){var o=l.result[a];e.treeData.push(o)}}))},open:function(e){var l=this;this.visible=!0,this.$nextTick((function(){l.$refs.form.resetFields(),l.model=Object.assign({},e)}))},clearForm:function(){this.$refs.form.resetFields(),this.treeData=[]}}},d=s,n=(a("55e1"),a("2877")),i=Object(n["a"])(d,o,r,!1,null,"7cf52d0e",null);l["default"]=i.exports}}]);