ERP/static/js/chunk-1a76.e7f88546.js
beyond e4cd916a0c beyond 8.1 version2
beyond 8.1 version2
2019-08-01 19:52:12 +08:00

1 line
25 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1a76"],{"0zGY":function(e,t,r){"use strict";r.d(t,"g",function(){return n}),r.d(t,"l",function(){return o}),r.d(t,"e",function(){return i}),r.d(t,"h",function(){return l}),r.d(t,"o",function(){return p}),r.d(t,"j",function(){return s}),r.d(t,"i",function(){return c}),r.d(t,"b",function(){return d}),r.d(t,"c",function(){return m}),r.d(t,"n",function(){return u}),r.d(t,"f",function(){return f}),r.d(t,"k",function(){return y}),r.d(t,"a",function(){return h}),r.d(t,"m",function(){return g}),r.d(t,"d",function(){return v});var a=r("t3Un");function n(e){return Object(a.a)({url:"http://192.168.1.45:8080/country/getdeptlist",method:"post",params:e})}function o(e,t){var r=new URLSearchParams;return""!==e&&null!==e&&r.append("empids",e),""!==t&&null!==t&&r.append("stat",t),Object(a.a)({url:"http://192.168.1.45:8080/employee/startorendemp",method:"post",data:r})}function i(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empids",e),Object(a.a)({url:"http://192.168.1.45:8080/employee/deleteemp",method:"post",data:t})}function l(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("id",e),Object(a.a)({url:"http://192.168.1.45:8080/employee/getempinfo",method:"post",data:t})}function p(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("employeeid",e.id),""!==e.firstName&&null!==e.firstName&&void 0!==e.firstName&&t.append("firstname",e.firstName),""!==e.middleName&&null!==e.middleName&&void 0!==e.middleName&&t.append("middlename",e.middleName),""!==e.lastName&&null!==e.lastName&&void 0!==e.lastName&&t.append("lastname",e.lastName),""!==e.password&&null!==e.password&&void 0!==e.password&&t.append("passwd",e.password),""!==e.email&&null!==e.email&&void 0!==e.email&&t.append("email",e.email),""!==e.phone&&null!==e.phone&&void 0!==e.phone&&t.append("phone",e.phone),""!==e.gender&&null!==e.gender&&void 0!==e.gender&&t.append("gender",e.gender),""!==e.countryid&&null!==e.countryid&&void 0!==e.countryid&&t.append("countryid",e.countryid),""!==e.provinceid&&null!==e.provinceid&&void 0!==e.provinceid&&t.append("provinceid",e.provinceid),""!==e.cityid&&null!==e.cityid&&void 0!==e.cityid&&t.append("cityid",e.cityid),""!==e.address&&null!==e.address&&void 0!==e.address&&t.append("address",e.address),""!==e.birthday&&null!==e.birthday&&void 0!==e.birthday&&t.append("birthday",e.birthday),""!==e.deptId&&null!==e.deptId&&void 0!==e.deptId&&t.append("deptid",e.deptId),""!==e.postId&&null!==e.postId&&void 0!==e.postId&&t.append("postid",e.postId),""!==e.repositoryid2&&null!==e.repositoryid2&&void 0!==e.repositoryid2&&t.append("repositoryid",e.repositoryid2),""!==e.regionId&&null!==e.regionId&&void 0!==e.regionId&&t.append("regionid",e.regionId),""!==e.certificateType&&null!==e.certificateType&&void 0!==e.certificateType&&t.append("certificatetype",e.certificateType),""!==e.certificateNumber&&null!==e.certificateNumber&&void 0!==e.certificateNumber&&t.append("certificatenumber",e.certificateNumber),Object(a.a)({url:"http://192.168.1.45:8080/employee/updateemp",method:"post",data:t})}function s(e){var t=new URLSearchParams;return t.append("firstname",e.firstname),t.append("middlename",e.middlename),t.append("lastname",e.lastname),t.append("passwd",e.passwd),t.append("email",e.email),t.append("phone",e.phone),t.append("gender",e.gender),t.append("countryid",e.country),t.append("provinceid",e.provinceid),t.append("cityid",e.cityid),t.append("address",e.address),""===e.birthday&&null===e.birthday||t.append("birthday",e.birthday),t.append("account",e.account),t.append("jobnumber",e.jobnumber),t.append("deptid",e.deptid),t.append("roleid",e.roleid),t.append("postid",e.postid),t.append("repositoryid",e.repositoryid),t.append("regionid",e.regionid1),t.append("certificatetype",e.certificatetype),t.append("certificatenumber",e.certificatenumber),Object(a.a)({url:"http://192.168.1.45:8080/employee/register",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e.repositoryid&&t.append("repositoryid",e.repositoryid),""!==e.regionid&&void 0!==e.regionid&&t.append("regionid",e.regionid),""!==e.postid&&t.append("postid",e.postid),""!==e.deptid&&t.append("deptid",e.deptid),""!==e.employeename&&t.append("employeename",e.employeename),""!==e.stat&&t.append("stat",e.stat),""!==e.time&&null!==e.time&&t.append("time",e.time),""!==e.jobnumber&&t.append("jobnumber",e.jobnumber),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(a.a)({url:"http://192.168.1.45:8080/employee/getemplist",method:"post",data:t})}function d(e){var t=new URLSearchParams;return""!==e.employeeid&&t.append("employeeid",e.employeeid),""!==e.contractname&&t.append("contractname",e.contractname),""!==e.signtime&&null!==e.signtime&&t.append("signtime",e.signtime),""!==e.expiredtime&&null!==e.expiredtime&&t.append("expiredtime",e.expiredtime),""!==e.effectivetime&&null!==e.effectivetime&&t.append("effectivetime",e.effectivetime),""!==e.typeid&&t.append("typeid",e.typeid),""!==e.attribute&&t.append("attribute",e.attribute),""!==e.period&&t.append("period",e.period),""!==e.iscorrection&&t.append("iscorrection",e.iscorrection),""!==e.stat&&t.append("stat",e.stat),""!==e.advanceday&&t.append("advanceday",e.advanceday),""!==e.trialsalary&&t.append("trialsalary",e.trialsalary),""!==e.correctionsalary&&t.append("correctionsalary",e.correctionsalary),""!==e.remindpersonid&&t.append("remindpersonid",e.remindpersonid),Object(a.a)({url:"http://192.168.1.45:8080/contract/addcontract",method:"post",data:t})}function m(e){var t=new URLSearchParams;return""!==e.contractname&&t.append("contractname",e.contractname),""!==e.contractnumber&&t.append("contractnumber",e.contractnumber),""!==e.empnumber&&t.append("empnumber",e.empnumber),""!==e.empname&&t.append("empname",e.empname),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(a.a)({url:"http://192.168.1.45:8080/contract/contractlist",method:"post",data:t})}function u(e){var t=new URLSearchParams;return""!==e.id&&t.append("contractid",e.id),""!==e.contractName&&t.append("contractname",e.contractName),""!==e.signTime&&t.append("signtime",e.signTime),""!==e.expiredTime&&t.append("expiredtime",e.expiredTime),""!==e.effectiveTime&&t.append("effectivetime",e.effectiveTime),""!==e.type&&t.append("typeid",e.type),""!==e.contractAttribute&&t.append("attribute",e.contractAttribute),""!==e.contractAttribute&&t.append("period",e.period),""!==e.isCorrection&&t.append("iscorrection",e.isCorrection),""!==e.stat&&t.append("stat",e.stat),""!==e.advanceDay&&t.append("advanceday",e.advanceDay),""!==e.trialSalary&&t.append("trialsalary",e.trialSalary),""!==e.correctionSalary&&t.append("correctionsalary",e.correctionSalary),""!==e.expiredRemindPersonId&&null!==e.expiredRemindPersonId&&t.append("remindpersonid",e.expiredRemindPersonId),Object(a.a)({url:"http://192.168.1.45:8080/contract/updatecontract",method:"post",data:t})}function f(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empcontractids",e),Object(a.a)({url:"http://192.168.1.45:8080/contract/deleteempcontract",method:"post",data:t})}function y(e){var t=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.iseffective&&null!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&t.append("type",e.type),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(a.a)({url:"http://192.168.1.45:8080/employee/searchEmpCategory",method:"post",data:t})}function h(e){var t=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.category&&null!==e.category&&t.append("category",e.category),""!==e.iseffective&&null!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&t.append("type",e.type),Object(a.a)({url:"http://192.168.1.45:8080/employee/addEmpCategory",method:"post",data:t})}function g(e){var t=new URLSearchParams;return""!==e.categoryName&&null!==e.categoryName&&t.append("categoryname",e.categoryName),""!==e.isEffective&&null!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.id&&null!==e.id&&t.append("id",e.id),Object(a.a)({url:"http://192.168.1.45:8080/employee/updateEmpCategory",method:"post",data:t})}function v(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("ids",e),Object(a.a)({url:"http://192.168.1.45:8080/employee/delateEmpCategory",method:"post",data:t})}},"6EsC":function(e,t,r){"use strict";r.r(t);var a=r("ql3t"),n=r.n(a),o=r("6HaC"),i=r("0zGY"),l={name:"NewEmployeeContract",data:function(){return{nations:[],provinces:[],cities:[],regions:[],repositories:[],depts:[],props:{value:"id",label:"regionName",children:"regionListVos"},personalForm:{account:"",passwd:"",firstname:"",middlename:"",lastname:"",birthday:"",email:"",gender:"",certificatetype:"",certificatenumber:"",country:""},personalrules:{passwd:[{message:"请正确输入密码长度",trigger:"blur"},{min:6,max:100,message:"密码长度要大于6个字符",trigger:"blur"}],account:[{required:!0,message:"请输入员工端登陆账号",trigger:"blur"}],firstname:[{required:!0,message:"请输入姓氏",trigger:"blur"}],lastname:[{required:!0,message:"请输入名",trigger:"blur"}],gender:[{required:!0,message:"请选择性别",trigger:"change"}],country:[{required:!0,message:"请选择工作地区",trigger:"change"}],email:[{type:"email",message:"请输入正确邮箱号",trigger:"blur"},{min:1,message:"请输入正确邮箱号",trigger:"blur"}]},connectForm:{address:"",phone:"",provinceid:"",cityid:""},connectrules:{address:[{required:!0,message:"请输入地址",trigger:"blur"}],provinceid:[{required:!0,message:"请选择省",trigger:"change"}],cityid:[{required:!0,message:"请选择市",trigger:"change"}],phone:[{required:!0,validator:function(e,t,r){if(!t)return r(new Error("手机号不能为空"));setTimeout(function(){n()(t)?r():r(new Error("请输入数字值"))},1e3)},trigger:"change"}]},companyForm:{jobnumber:"",postid:"",deptid:"",regionid:[],repositoryid:""},companyrules:{deptid:[{required:!0,message:"请选择部门",trigger:"change"}],regionid:[{required:!0,message:"请选择区域",trigger:"change"}],repositoryid:[{required:!0,message:"请选择门店",trigger:"change"}]}}},created:function(){this.getnationlist()},methods:{getnationlist:function(){var e=this;Object(o.b)().then(function(t){200===t.data.ret?e.nations=t.data.data.content:e.$notify.error({title:"错误",message:"出错了",offset:100})}),Object(o.d)().then(function(t){200===t.data.ret?e.regions=e.tranKTree(t.data.data.content):e.$notify.error({title:"错误",message:"出错了",offset:100})}),Object(i.g)().then(function(t){200===t.data.ret?e.depts=t.data.data.content:e.$notify.error({title:"错误",message:"出错了",offset:100})})},handlechange:function(e){var t=this;Object(o.c)(e).then(function(e){200===e.data.ret?t.provinces=e.data.data.content:t.$notify.error({title:"错误",message:"出错了",offset:100})})},handlechange2:function(e){var t=this;Object(o.a)(e).then(function(e){console.log(e),200===e.data.ret?t.cities=e.data.data.content:t.$notify.error({title:"错误",message:"出错了",offset:100})})},tranKTree:function(e){var t=this;if(e&&e.length)return e.map(function(e){return{id:e.id,regionName:e.regionName,regionListVos:t.tranKTree(e.regionListVos)}})},handlechange4:function(e){var t=this,r=e[e.length-1];Object(o.e)(r).then(function(e){console.log(e),200===e.data.ret?t.repositories=e.data.data.content.list:t.$notify.error({title:"错误",message:"出错了",offset:100})})},extend:function(e,t){var r={};for(var a in e)r[a]=e[a];for(var n in t)r[n]=t[n];return r},handlesave:function(){var e=this,t=this.extend(this.companyForm,this.connectForm),r=this.extend(t,this.personalForm),a=this.companyForm.regionid.length;r.roleid=3,r.regionid1=r.regionid[a-1],this.$refs.personalForm.validate(function(t){if(!t){e.$notify.error({title:"错误",message:"信息未填完整",offset:100});var a=e.$refs.geren.offsetTop;return console.log(a),document.documentElement.scrollTop=a-100,!1}e.$refs.connectForm.validate(function(t){if(!t){e.$notify.error({title:"错误",message:"信息未填完整",offset:100});var a=e.$refs.lianxi.offsetTop;return document.documentElement.scrollTop=a-100,!1}e.$refs.companyForm.validate(function(t){if(!t)return e.$notify.error({title:"错误",message:"信息未填完整",offset:100}),!1;Object(i.j)(r).then(function(t){console.log(t),200===t.data.ret?(e.$notify({title:"成功",message:"保存成功",type:"success",offset:100}),e.restAllForm(),e.$refs.personalForm.resetFields(),e.$refs.connectForm.resetFields(),e.$refs.companyForm.resetFields()):"account isExist"===t.data.msg&&e.$notify.error({title:"错误",message:"登陆账号已存在",offset:100})})})})})},restAllForm:function(){this.personalForm={account:"",passwd:"",firstname:"",middlename:"",lastname:"",birthday:"",email:"",gender:"",certificatetype:"",certificatenumber:"",country:""},this.connectForm={address:"",phone:"",provinceid:"",cityid:""},this.companyForm={jobnumber:"",postid:"",deptid:"",regionid:[],repositoryid:""}},handleentry:function(){var e=this,t=this.extend(this.companyForm,this.connectForm),r=this.extend(t,this.personalForm),a=this.companyForm.regionid.length;r.roleid=3,r.regionid1=r.regionid[a-1],this.$refs.personalForm.validate(function(t){if(!t){e.$notify.error({title:"错误",message:"信息未填完整",offset:100});var a=e.$refs.geren.offsetTop;return console.log(a),document.documentElement.scrollTop=a-100,!1}e.$refs.connectForm.validate(function(t){if(!t)return e.$notify.error({title:"错误",message:"信息未填完整",offset:100}),!1;e.$refs.companyForm.validate(function(t){if(!t)return e.$notify.error({title:"错误",message:"信息未填完整",offset:100}),!1;Object(i.j)(r).then(function(t){if(200===t.data.ret){e.$notify({title:"成功",message:"保存成功",type:"success",offset:100}),e.restAllForm(),e.$refs.personalForm.resetFields(),e.$refs.connectForm.resetFields(),e.$refs.companyForm.resetFields();var r=e.$refs.geren.offsetTop;document.documentElement.scrollTop=r-100}else"account isExist"===t.data.msg&&e.$notify.error({title:"错误",message:"登陆账号已存在",offset:100})})})})})},handlecancel:function(){this.$router.go(-1);this.$store.dispatch("delView",{path:"/EmployeeInformation/NewEmployeeInformation",name:"NewEmployeeInformation",fullPath:"/EmployeeInformation/NewEmployeeInformation",title:"NewEmployeeInformation"}).then(function(e){e.visitedViews})}}},p=(r("nP6D"),r("KHd+")),s=Object(p.a)(l,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ERP-container"},[r("div",{staticClass:"app-container"},[r("h2",{ref:"geren",staticClass:"form-name"},[e._v("个人信息")]),e._v(" "),r("div",{staticClass:"container"},[r("el-form",{ref:"personalForm",staticClass:"demo-ruleForm",staticStyle:{"margin-left":"30px"},attrs:{model:e.personalForm,rules:e.personalrules,inline:!0,"status-icon":"","label-position":"top","label-width":"300px"}},[r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.account"),prop:"account"}},[r("el-input",{attrs:{placeholder:"请输入账号名",clearable:""},model:{value:e.personalForm.account,callback:function(t){e.$set(e.personalForm,"account",t)},expression:"personalForm.account"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.password"),prop:"passwd"}},[r("el-input",{attrs:{placeholder:"请输入密码",autocomplete:"new-password",clearable:""},model:{value:e.personalForm.passwd,callback:function(t){e.$set(e.personalForm,"passwd",t)},expression:"personalForm.passwd"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.lastname"),prop:"firstname"}},[r("el-input",{attrs:{placeholder:"请输入姓氏",clearable:""},model:{value:e.personalForm.firstname,callback:function(t){e.$set(e.personalForm,"firstname",t)},expression:"personalForm.firstname"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.middlename")}},[r("el-input",{attrs:{placeholder:"请输入中间名",clearable:""},model:{value:e.personalForm.middlename,callback:function(t){e.$set(e.personalForm,"middlename",t)},expression:"personalForm.middlename"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.firstname"),prop:"lastname"}},[r("el-input",{attrs:{placeholder:"请输入名",clearable:""},model:{value:e.personalForm.lastname,callback:function(t){e.$set(e.personalForm,"lastname",t)},expression:"personalForm.lastname"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.birthday")}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择生日","value-format":"yyyy-MM-dd",clearable:""},model:{value:e.personalForm.birthday,callback:function(t){e.$set(e.personalForm,"birthday",t)},expression:"personalForm.birthday"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.email"),prop:"email"}},[r("el-input",{attrs:{placeholder:"请输入邮箱地址",clearable:""},model:{value:e.personalForm.email,callback:function(t){e.$set(e.personalForm,"email",t)},expression:"personalForm.email"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.gender"),prop:"gender"}},[r("el-radio-group",{staticStyle:{width:"80%"},model:{value:e.personalForm.gender,callback:function(t){e.$set(e.personalForm,"gender",t)},expression:"personalForm.gender"}},[r("el-radio",{staticStyle:{width:"50%"},attrs:{label:1}},[e._v(e._s(e.$t("NewEmployeeInformation.male")))]),e._v(" "),r("el-radio",{attrs:{label:2}},[e._v(e._s(e.$t("NewEmployeeInformation.female")))])],1)],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.certificatetype")}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择证件类型"},model:{value:e.personalForm.certificatetype,callback:function(t){e.$set(e.personalForm,"certificatetype",t)},expression:"personalForm.certificatetype"}},[r("el-option",{attrs:{label:"类型1",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"类型2",value:"2"}})],1)],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.certificatenumber")}},[r("el-input",{attrs:{clearable:""},model:{value:e.personalForm.certificatenumber,callback:function(t){e.$set(e.personalForm,"certificatenumber",t)},expression:"personalForm.certificatenumber"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.country"),prop:"country"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择国籍"},on:{change:e.handlechange},model:{value:e.personalForm.country,callback:function(t){e.$set(e.personalForm,"country",t)},expression:"personalForm.country"}},e._l(e.nations,function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})}))],1)],1)],1),e._v(" "),r("h2",{ref:"lianxi",staticClass:"form-name"},[e._v("联系信息")]),e._v(" "),r("div",{staticClass:"container"},[r("el-form",{ref:"connectForm",staticClass:"demo-ruleForm",staticStyle:{"margin-left":"30px"},attrs:{model:e.connectForm,rules:e.connectrules,inline:!0,"status-icon":"","label-position":"top","label-width":"300px"}},[r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.address"),prop:"address"}},[r("el-input",{attrs:{placeholder:"请输入地址",clearable:""},model:{value:e.connectForm.address,callback:function(t){e.$set(e.connectForm,"address",t)},expression:"connectForm.address"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.phone"),prop:"phone"}},[r("el-input",{attrs:{placeholder:"请输入手机号",clearable:""},model:{value:e.connectForm.phone,callback:function(t){e.$set(e.connectForm,"phone",e._n(t))},expression:"connectForm.phone"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.provinceid"),prop:"provinceid"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择省"},on:{change:e.handlechange2},model:{value:e.connectForm.provinceid,callback:function(t){e.$set(e.connectForm,"provinceid",t)},expression:"connectForm.provinceid"}},e._l(e.provinces,function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.cityid"),prop:"cityid"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择市"},model:{value:e.connectForm.cityid,callback:function(t){e.$set(e.connectForm,"cityid",t)},expression:"connectForm.cityid"}},e._l(e.cities,function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})}))],1)],1)],1),e._v(" "),r("h2",{staticClass:"form-name"},[e._v("公司信息")]),e._v(" "),r("div",{staticClass:"container"},[r("el-form",{ref:"companyForm",staticClass:"demo-ruleForm",staticStyle:{"margin-left":"30px"},attrs:{model:e.companyForm,rules:e.companyrules,inline:!0,"status-icon":"","label-position":"top","label-width":"300px"}},[r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.jobnumber")}},[r("el-input",{attrs:{placeholder:"请输入工号",clearable:""},model:{value:e.companyForm.jobnumber,callback:function(t){e.$set(e.companyForm,"jobnumber",e._n(t))},expression:"companyForm.jobnumber"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.postid")}},[r("el-select",{staticStyle:{width:"100%"},attrs:{value:e.companyForm.postid,placeholder:"请选择职称"},model:{value:e.companyForm.postid,callback:function(t){e.$set(e.companyForm,"postid",t)},expression:"companyForm.postid"}},[r("el-option",{attrs:{label:"xxx",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"xxx",value:"2"}})],1)],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.deptid"),prop:"deptid"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择部门"},model:{value:e.companyForm.deptid,callback:function(t){e.$set(e.companyForm,"deptid",t)},expression:"companyForm.deptid"}},e._l(e.depts,function(e,t){return r("el-option",{key:t,attrs:{label:e.deptName,value:e.id}})}))],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.regionid"),prop:"regionid"}},[r("el-cascader",{staticStyle:{width:"100%"},attrs:{options:e.regions,props:e.props,"show-all-levels":!1,placeholder:"请选择区域","change-on-select":"",filterable:"",clearable:""},on:{change:e.handlechange4},model:{value:e.companyForm.regionid,callback:function(t){e.$set(e.companyForm,"regionid",t)},expression:"companyForm.regionid"}})],1),e._v(" "),r("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.repositoryid"),prop:"repositoryid"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择门店",filterable:""},model:{value:e.companyForm.repositoryid,callback:function(t){e.$set(e.companyForm,"repositoryid",t)},expression:"companyForm.repositoryid"}},e._l(e.repositories,function(e,t){return r("el-option",{key:t,attrs:{label:e.repositoryName,value:e.id}})}))],1)],1)],1),e._v(" "),r("div",{staticClass:"buttons",staticStyle:{"margin-top":"20px"}},[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.handlesave()}}},[e._v("保存")]),e._v(" "),r("el-button",{attrs:{type:"success"},on:{click:function(t){e.handleentry()}}},[e._v("继续录入")]),e._v(" "),r("el-button",{attrs:{type:"danger"},on:{click:function(t){e.handlecancel()}}},[e._v("取消")])],1)])])},[],!1,null,"a27c295c",null);s.options.__file="NewEmployeeInformation.vue";t.default=s.exports},"6HaC":function(e,t,r){"use strict";r.d(t,"b",function(){return n}),r.d(t,"d",function(){return o}),r.d(t,"e",function(){return i}),r.d(t,"c",function(){return l}),r.d(t,"a",function(){return p});var a=r("t3Un");function n(e){return Object(a.a)({url:"http://192.168.1.45:8080/country/getcountrylist",method:"post",params:e})}function o(e){return Object(a.a)({url:"http://192.168.1.45:8080/region/detaillist",method:"post",params:e})}function i(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("regionId",e),t.append("pagenum",1),t.append("pagesize",99999),Object(a.a)({url:"http://192.168.1.45:8080/repository/searchRepository",method:"post",data:t})}function l(e){var t=new URLSearchParams;return t.append("countryid",e),Object(a.a)({url:"http://192.168.1.45:8080/country/getprovincelist",method:"post",data:t})}function p(e){var t=new URLSearchParams;return t.append("provinceid",e),Object(a.a)({url:"http://192.168.1.45:8080/country/getcitylist",method:"post",data:t})}},DNkW:function(e,t,r){var a=r("93I4"),n=Math.floor;e.exports=function(e){return!a(e)&&isFinite(e)&&n(e)===e}},"eDU/":function(e,t,r){},h5AQ:function(e,t,r){r("hRZT"),e.exports=r("WEpk").Number.isInteger},hRZT:function(e,t,r){var a=r("Y7ZC");a(a.S,"Number",{isInteger:r("DNkW")})},nP6D:function(e,t,r){"use strict";var a=r("eDU/");r.n(a).a},ql3t:function(e,t,r){e.exports={default:r("h5AQ"),__esModule:!0}}}]);