(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7a33"],{"0zGY":function(e,t,a){"use strict";a.d(t,"g",function(){return i}),a.d(t,"l",function(){return n}),a.d(t,"e",function(){return o}),a.d(t,"h",function(){return l}),a.d(t,"o",function(){return s}),a.d(t,"j",function(){return p}),a.d(t,"i",function(){return d}),a.d(t,"b",function(){return c}),a.d(t,"c",function(){return m}),a.d(t,"n",function(){return u}),a.d(t,"f",function(){return y}),a.d(t,"k",function(){return g}),a.d(t,"a",function(){return f}),a.d(t,"m",function(){return h}),a.d(t,"d",function(){return v});var r=a("t3Un");function i(e){return Object(r.a)({url:"http://192.168.1.45:8080/country/getdeptlist",method:"post",params:e})}function n(e,t){var a=new URLSearchParams;return""!==e&&null!==e&&a.append("empids",e),""!==t&&null!==t&&a.append("stat",t),Object(r.a)({url:"http://192.168.1.45:8080/employee/startorendemp",method:"post",data:a})}function o(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empids",e),Object(r.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(r.a)({url:"http://192.168.1.45:8080/employee/getempinfo",method:"post",data:t})}function s(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(r.a)({url:"http://192.168.1.45:8080/employee/updateemp",method:"post",data:t})}function p(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(r.a)({url:"http://192.168.1.45:8080/employee/register",method:"post",data:t})}function d(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(r.a)({url:"http://192.168.1.45:8080/employee/getemplist",method:"post",data:t})}function c(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(r.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(r.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(r.a)({url:"http://192.168.1.45:8080/contract/updatecontract",method:"post",data:t})}function y(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empcontractids",e),Object(r.a)({url:"http://192.168.1.45:8080/contract/deleteempcontract",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.type&&null!==e.type&&t.append("type",e.type),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(r.a)({url:"http://192.168.1.45:8080/employee/searchEmpCategory",method:"post",data:t})}function f(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(r.a)({url:"http://192.168.1.45:8080/employee/addEmpCategory",method:"post",data:t})}function h(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(r.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(r.a)({url:"http://192.168.1.45:8080/employee/delateEmpCategory",method:"post",data:t})}},"2H35":function(e,t,a){"use strict";a.d(t,"f",function(){return i}),a.d(t,"b",function(){return n}),a.d(t,"h",function(){return o}),a.d(t,"j",function(){return l}),a.d(t,"g",function(){return s}),a.d(t,"a",function(){return p}),a.d(t,"k",function(){return d}),a.d(t,"c",function(){return c}),a.d(t,"d",function(){return m}),a.d(t,"i",function(){return u}),a.d(t,"e",function(){return y});var r=a("t3Un");function i(){var e=new URLSearchParams;return e.append("pagenum",1),e.append("pagesize",99999),Object(r.a)({url:"http://192.168.1.45:8080/repository/searchRepCategory",method:"post",data:e})}function n(e){var t=new URLSearchParams;return""!==e.repositoryName&&null!==e.repositoryName&&t.append("repositoryName",e.repositoryName),""!==e.address&&null!==e.address&&t.append("address",e.address),""!==e.longitude&&null!==e.longitude&&t.append("longitude",e.longitude),""!==e.latitude&&null!==e.latitude&&t.append("latitude",e.latitude),""!==e.managerPeopleId&&null!==e.managerPeopleId&&t.append("managerPeopleId",e.managerPeopleId),""!==e.createTime&&null!==e.createTime&&t.append("createTime",e.createTime),""!==e.stat&&null!==e.stat&&t.append("stat",e.stat),""!==e.description&&null!==e.description&&t.append("description",e.description),""!==e.regionId&&null!==e.regionId&&t.append("regionId",e.regionId),""!==e.type&&null!==e.type&&t.append("type",e.type),""!==e.regionManagerId&&null!==e.regionManagerId&&t.append("regionManagerId",e.regionManagerId),""!==e.attributes&&null!==e.attributes&&t.append("attributes",e.attributes),""!==e.countryId&&null!==e.countryId&&t.append("countryId",e.countryId),Object(r.a)({url:"http://192.168.1.45:8080/repository/create",method:"post",data:t})}function o(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),""!==e.repositoryName&&null!==e.repositoryName&&void 0!==e.repositoryName&&t.append("repositoryName",e.repositoryName),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.regionId&&null!==e.regionId&&void 0!==e.regionId&&t.append("regionId",e.regionId),""!==e.countyrId&&null!==e.countyrId&&void 0!==e.countyrId&&t.append("countyrId",e.countyrId),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(r.a)({url:"http://192.168.1.45:8080/repository/searchRepository",method:"post",data:t})}function l(e){var t=new URLSearchParams;return""!==e.repositoryName&&null!==e.repositoryName&&void 0!==e.repositoryName&&t.append("repositoryName",e.repositoryName),""!==e.address&&null!==e.address&&void 0!==e.address&&t.append("address",e.address),""!==e.longitude&&null!==e.longitude&&void 0!==e.longitude&&t.append("longitude",e.longitude),""!==e.latitude&&null!==e.latitude&&void 0!==e.latitude&&t.append("latitude",e.latitude),""!==e.createTime&&null!==e.createTime&&void 0!==e.createTime&&t.append("createTime",e.createTime),""!==e.managerPeopleId&&null!==e.managerPeopleId&&void 0!==e.managerPeopleId&&t.append("managerPeopleId",e.managerPeopleId),""!==e.stat&&null!==e.stat&&void 0!==e.stat&&t.append("stat",e.stat),""!==e.description&&null!==e.description&&void 0!==e.description&&t.append("description",e.description),""!==e.regionId&&null!==e.regionId&&void 0!==e.regionId&&t.append("regionId",e.regionId),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.regionManagerId&&null!==e.regionManagerId&&void 0!==e.regionManagerId&&t.append("regionManagerId",e.regionManagerId),""!==e.attributes&&null!==e.attributes&&void 0!==e.attributes&&t.append("attributes",e.attributes),""!==e.countryId&&null!==e.countryId&&void 0!==e.countryId&&t.append("countryId",e.countryId),""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(r.a)({url:"http://192.168.1.45:8080/repository/update",method:"post",data:t})}function s(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(r.a)({url:"http://192.168.1.45:8080/repository/searchRepCategory",method:"post",data:t})}function p(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(r.a)({url:"http://192.168.1.45:8080/repository/addRepCategory",method:"post",data:t})}function d(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(r.a)({url:"http://192.168.1.45:8080/repository/updateRepCategory",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("modelids",e),Object(r.a)({url:"http://192.168.1.45:8080/repository/delateRepCategory",method:"post",data:t})}function m(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("modelids",e),Object(r.a)({url:"http://192.168.1.45:8080/repository/deleteRepository",method:"post",data:t})}function u(e,t){var a=new URLSearchParams;return""!==e&&null!==e&&a.append("modelids",e),""!==t&&null!==t&&a.append("iseffective",t),Object(r.a)({url:"http://192.168.1.45:8080/repository/startorend",method:"post",data:a})}function y(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("repositoryJson",e),Object(r.a)({url:"http://192.168.1.45:8080/repository/manyinsert",method:"post",data:t})}},"6HaC":function(e,t,a){"use strict";a.d(t,"b",function(){return i}),a.d(t,"d",function(){return n}),a.d(t,"e",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"a",function(){return s});var r=a("t3Un");function i(e){return Object(r.a)({url:"http://192.168.1.45:8080/country/getcountrylist",method:"post",params:e})}function n(e){return Object(r.a)({url:"http://192.168.1.45:8080/region/detaillist",method:"post",params:e})}function o(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(r.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(r.a)({url:"http://192.168.1.45:8080/country/getprovincelist",method:"post",data:t})}function s(e){var t=new URLSearchParams;return t.append("provinceid",e),Object(r.a)({url:"http://192.168.1.45:8080/country/getcitylist",method:"post",data:t})}},"M/MW":function(e,t,a){"use strict";a.r(t);var r=a("6HaC"),i=a("2H35"),n=a("0zGY"),o=a("ZySA"),l=a("Mz3J"),s={name:"NewRepository",directives:{waves:o.a},components:{Pagination:l.a},filters:{genderFilter:function(e){return{1:"男",2:"女"}[e]}},data:function(){return{types:[],nations:[],regions:[],props:{value:"id",label:"regionName",children:"regionListVos"},managerPeople:"",regionManagerId:"",RepositoryForm:{repositoryName:"",address:"",longitude:"",latitude:"",managerPeopleId:"",createTime:"",stat:"",description:"",regionId:"",type:"",regionManagerId:"",attributes:"",countryId:""},regionId:[],Repositoryrules:{longitude:[{required:!0,message:"请输入经度",trigger:"blur"},{type:"number",message:"经度必须为数字值"}],repositoryName:[{required:!0,message:"请输入仓库名称",trigger:"blur"}],latitude:[{required:!0,message:"请输入维度",trigger:"blur"},{type:"number",message:"维度必须为数字值"}],lastname:[{required:!0,message:"请输入名",trigger:"blur"}],address:[{required:!0,message:"请输入地址",trigger:"blur"}],countryId:[{required:!0,message:"请选择国家",trigger:"change"}]},currentRow:null,list:[],total:0,tableKey:0,listLoading:!0,getemplist:{repositoryid:"",regionid:"",postid:"",deptid:"",employeename:"",pagenum:1,pagesize:10,stat:1,time:"",jobnumber:""},depts:[],props2:{value:"id",label:"regionName",children:"regionListVos"},regions2:[],getemplistregions:[],repositories:[],employeeVisible:!1,regionManagerVisible:!1}},created:function(){this.getnationlist()},methods:{getnationlist:function(){var e=this;Object(r.b)().then(function(t){200===t.data.ret?e.nations=t.data.data.content:e.$notify.error({title:"错误",message:"出错了",offset:100})}),Object(r.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.f)().then(function(t){200===t.data.ret?e.types=t.data.data.content.list:e.$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)}})},restAllForm:function(){this.RepositoryForm={repositoryName:"",address:"",longitude:"",latitude:"",managerPeopleId:"",createTime:"",stat:"",description:"",regionId:"",type:"",regionManagerId:"",attributes:"",countryId:""},this.managerPeople="",this.regionManagerId=""},handlesave:function(){var e=this;this.RepositoryForm.regionId=this.regionId[this.regionId.length-1],this.$refs.RepositoryForm.validate(function(t){if(!t){e.$notify.error({title:"错误",message:"信息未填完整",offset:100});var a=e.$refs.geren.offsetTop;return document.documentElement.scrollTop=a-100,!1}Object(i.b)(e.RepositoryForm).then(function(t){200===t.data.ret?(e.$notify({title:"成功",message:"保存成功",type:"success",offset:100}),e.restAllForm(),e.$refs.RepositoryForm.clearValidate(),e.$refs.RepositoryForm.resetFields()):e.$notify.error({title:"错误",message:t.data.msg,offset:100})})})},handleentry:function(){var e=this;this.RepositoryForm.regionId=this.regionId[this.regionId.length-1],this.$refs.RepositoryForm.validate(function(t){if(!t){e.$notify.error({title:"错误",message:"信息未填完整",offset:100});var a=e.$refs.geren.offsetTop;return document.documentElement.scrollTop=a-100,!1}Object(i.b)(e.RepositoryForm).then(function(t){if(200===t.data.ret){e.$notify({title:"成功",message:"保存成功",type:"success",offset:100}),e.restAllForm(),e.$refs.RepositoryForm.clearValidate(),e.$refs.RepositoryForm.resetFields();var a=e.$refs.geren.offsetTop;document.documentElement.scrollTop=a-100}else e.$notify.error({title:"错误",message:t.data.msg,offset:100})})})},handlecancel:function(){this.$router.go(-1);this.$store.dispatch("delView",{path:"/Repository/NewRepository",name:"NewRepository",fullPath:"/Repository/NewRepository",title:"NewRepository"}).then(function(e){e.visitedViews})},gitemplist:function(){var e=this;this.listLoading=!0,console.log(this.getemplist),Object(n.i)(this.getemplist).then(function(t){200===t.data.ret?(e.list=t.data.data.content.list,e.total=t.data.data.content.totalCount):e.$notify.error({title:"错误",message:"出错了",offset:100}),setTimeout(function(){e.listLoading=!1},50)}),Object(n.g)().then(function(t){200===t.data.ret?e.depts=t.data.data.content:e.$notify.error({title:"错误",message:"出错了",offset:100})}),Object(r.d)().then(function(t){200===t.data.ret&&(e.regions2=e.tranKTree(t.data.data.content))})},handleFilter:function(){var e=this;this.getemplist.regionid=this.getemplistregions[this.getemplistregions.length-1],Object(n.i)(this.getemplist).then(function(t){200===t.data.ret?(e.list=t.data.data.content.list,e.total=t.data.data.content.totalCount):e.$notify.error({title:"错误",message:"出错了",offset:100})})},handleAdd:function(){this.employeeVisible=!1,this.$router.push("/EmployeeInformation/NewEmployeeInformation")},handlechange4:function(e){var t=this;console.log(e);var a=e[e.length-1];Object(r.e)(a).then(function(e){200===e.data.ret?(console.log(e),t.repositories=e.data.data.content.list):t.$message.error("出错了")})},restemplist:function(){this.getemplist={repositoryid:"",regionid:"",postid:"",deptid:"",employeename:"",pagenum:1,pagesize:10,stat:1,time:"",jobnumber:""},this.getemplistregions=[]},handlechoose:function(){this.restemplist(),this.employeeVisible=!0,this.gitemplist()},handleCurrentChange:function(e){this.managerPeople=e.personName,this.RepositoryForm.managerPeopleId=e.id,this.employeeVisible=!1},handlechoose2:function(){this.restemplist(),this.regionManagerVisible=!0,this.gitemplist()},handleAdd2:function(){this.regionManagerVisible=!1,this.$router.push("/EmployeeInformation/NewEmployeeInformation")},handleCurrentChange2:function(e){console.log(e),this.regionManagerId=e.personName,this.RepositoryForm.regionManagerId=e.id,this.regionManagerVisible=!1}}},p=(a("Xkyu"),a("KHd+")),d=Object(p.a)(s,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ERP-container"},[a("div",{staticClass:"app-container"},[a("h2",{ref:"geren",staticClass:"form-name"},[e._v("基本信息")]),e._v(" "),a("div",{staticClass:"container"},[a("el-form",{ref:"RepositoryForm",staticClass:"demo-ruleForm",staticStyle:{"margin-left":"30px"},attrs:{model:e.RepositoryForm,rules:e.Repositoryrules,inline:!0,"status-icon":"","label-position":"top","label-width":"300px"}},[a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.repositoryName"),prop:"repositoryName"}},[a("el-input",{attrs:{placeholder:"请输入门店名称",clearable:""},model:{value:e.RepositoryForm.repositoryName,callback:function(t){e.$set(e.RepositoryForm,"repositoryName",t)},expression:"RepositoryForm.repositoryName"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.longitude"),prop:"longitude"}},[a("el-input",{attrs:{placeholder:"请输入经度",autocomplete:"new-password",clearable:""},model:{value:e.RepositoryForm.longitude,callback:function(t){e.$set(e.RepositoryForm,"longitude",e._n(t))},expression:"RepositoryForm.longitude"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("Repository.latitude"),prop:"latitude"}},[a("el-input",{attrs:{placeholder:"请输入纬度",clearable:""},model:{value:e.RepositoryForm.latitude,callback:function(t){e.$set(e.RepositoryForm,"latitude",e._n(t))},expression:"RepositoryForm.latitude"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("public.address"),prop:"address"}},[a("el-input",{attrs:{placeholder:"请输入详细门店地址",clearable:""},model:{value:e.RepositoryForm.address,callback:function(t){e.$set(e.RepositoryForm,"address",t)},expression:"RepositoryForm.address"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.regionId"),prop:"regionid"}},[a("el-cascader",{staticStyle:{width:"100%"},attrs:{options:e.regions,props:e.props,"show-all-levels":!1,placeholder:"请选择区域",filterable:"",clearable:""},model:{value:e.regionId,callback:function(t){e.regionId=t},expression:"regionId"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.stat")}},[a("el-select",{staticStyle:{width:"100%"},attrs:{value:e.RepositoryForm.stat,placeholder:"请选择"},model:{value:e.RepositoryForm.stat,callback:function(t){e.$set(e.RepositoryForm,"stat",t)},expression:"RepositoryForm.stat"}},[a("el-option",{attrs:{label:"active",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"dead",value:"2"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.type")}},[a("el-select",{staticStyle:{width:"100%"},attrs:{value:e.RepositoryForm.type,placeholder:"请选择"},model:{value:e.RepositoryForm.type,callback:function(t){e.$set(e.RepositoryForm,"type",t)},expression:"RepositoryForm.type"}},e._l(e.types,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.categoryName}})}))],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.managerPeople")}},[a("el-input",{attrs:{value:e.managerPeople,placeholder:"请选择",clearable:""},on:{focus:e.handlechoose},model:{value:e.managerPeople,callback:function(t){e.managerPeople=t},expression:"managerPeople"}})],1),e._v(" "),a("el-dialog",{attrs:{visible:e.employeeVisible,top:"10px",title:"选择员工"},on:{"update:visible":function(t){e.employeeVisible=t}}},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.employeename"),clearable:""},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.getemplist.employeename,callback:function(t){e.$set(e.getemplist,"employeename",t)},expression:"getemplist.employeename"}}),e._v(" "),a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.jobnumber2"),clearable:""},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.getemplist.jobnumber,callback:function(t){e.$set(e.getemplist,"jobnumber",t)},expression:"getemplist.jobnumber"}}),e._v(" "),a("el-date-picker",{staticClass:"filter-item",attrs:{type:"date",placeholder:"选择日期","value-format":"yyyy-MM-dd"},model:{value:e.getemplist.time,callback:function(t){e.$set(e.getemplist,"time",t)},expression:"getemplist.time"}}),e._v(" "),a("el-popover",{attrs:{placement:"bottom",width:"500",trigger:"click"}},[a("el-cascader",{staticStyle:{width:"40%",float:"left","margin-left":"20px"},attrs:{options:e.regions2,props:e.props2,"show-all-levels":!1,placeholder:"请选择区域","change-on-select":"",filterable:"",clearable:""},on:{change:e.handlechange4},model:{value:e.getemplistregions,callback:function(t){e.getemplistregions=t},expression:"getemplistregions"}}),e._v(" "),a("el-select",{staticStyle:{width:"40%",float:"right","margin-right":"20px"},attrs:{placeholder:"请选择门店",clearable:"",filterable:""},model:{value:e.getemplist.repositoryid,callback:function(t){e.$set(e.getemplist,"repositoryid",t)},expression:"getemplist.repositoryid"}},e._l(e.repositories,function(e,t){return a("el-option",{key:t,attrs:{label:e.repositoryName,value:e.id}})})),e._v(" "),a("el-select",{staticClass:"filter-item",staticStyle:{width:"40%",float:"left","margin-top":"10px","margin-left":"20px"},attrs:{value:e.getemplist.postid,placeholder:e.$t("NewEmployeeInformation.postid2"),clearable:""},model:{value:e.getemplist.postid,callback:function(t){e.$set(e.getemplist,"postid",t)},expression:"getemplist.postid"}},[a("el-option",{attrs:{label:"xxx",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"xxx",value:"2"}})],1),e._v(" "),a("el-select",{staticClass:"filter-item",staticStyle:{width:"40%",float:"right","margin-top":"10px","margin-right":"20px"},attrs:{placeholder:e.$t("NewEmployeeInformation.deptid2"),clearable:""},model:{value:e.getemplist.deptid,callback:function(t){e.$set(e.getemplist,"deptid",t)},expression:"getemplist.deptid"}},e._l(e.depts,function(e,t){return a("el-option",{key:t,attrs:{label:e.deptName,value:e.id}})})),e._v(" "),a("div",{staticClass:"seachbutton",staticStyle:{width:"100%",float:"right","margin-top":"20px"}},[a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:e.handleFilter}},[e._v(e._s(e.$t("public.search")))])],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"130px"},attrs:{slot:"reference",type:"primary"},slot:"reference"},[e._v(e._s(e.$t("public.filter"))),a("svg-icon",{staticStyle:{"margin-left":"4px"},attrs:{"icon-class":"shaixuan"}})],1)],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(e._s(e.$t("public.search")))]),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{icon:"el-icon-plus",type:"success"},on:{click:e.handleAdd}},[e._v(e._s(e.$t("public.add")))])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.id"),resizable:!1,property:"id",align:"center",width:"50"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.jobNumber"),resizable:!1,property:"jobNumber",align:"center",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.account"),resizable:!1,property:"account",width:"150",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.name"),resizable:!1,align:"center",width:"109"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.firstName)+" "+e._s(t.row.middleName)+" "+e._s(t.row.lastName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.gender"),resizable:!1,prop:"gender",align:"center",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e._f("genderFilter")(t.row.gender)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.deptName"),resizable:!1,prop:"deptName",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deptName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.regionName"),resizable:!1,prop:"regionName",align:"center",width:"230"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.regionName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.repositoryName"),resizable:!1,prop:"repositoryName",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.repositoryName))])]}}])})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.getemplist.pagenum,limit:e.getemplist.pagesize},on:{"update:page":function(t){e.$set(e.getemplist,"pagenum",t)},"update:limit":function(t){e.$set(e.getemplist,"pagesize",t)},pagination:e.gitemplist}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.createTime")}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择开业时间","value-format":"yyyy-MM-dd",clearable:""},model:{value:e.RepositoryForm.createTime,callback:function(t){e.$set(e.RepositoryForm,"createTime",t)},expression:"RepositoryForm.createTime"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.regionManager")}},[a("el-input",{attrs:{value:e.regionManagerId,placeholder:"请选择",clearable:""},on:{focus:e.handlechoose2},model:{value:e.regionManagerId,callback:function(t){e.regionManagerId=t},expression:"regionManagerId"}})],1),e._v(" "),a("el-dialog",{attrs:{visible:e.regionManagerVisible,top:"10px",title:"选择员工"},on:{"update:visible":function(t){e.regionManagerVisible=t}}},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.employeename"),clearable:""},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.getemplist.employeename,callback:function(t){e.$set(e.getemplist,"employeename",t)},expression:"getemplist.employeename"}}),e._v(" "),a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.jobnumber2"),clearable:""},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.getemplist.jobnumber,callback:function(t){e.$set(e.getemplist,"jobnumber",t)},expression:"getemplist.jobnumber"}}),e._v(" "),a("el-date-picker",{staticClass:"filter-item",attrs:{type:"date",placeholder:"选择日期","value-format":"yyyy-MM-dd"},model:{value:e.getemplist.time,callback:function(t){e.$set(e.getemplist,"time",t)},expression:"getemplist.time"}}),e._v(" "),a("el-popover",{attrs:{placement:"bottom",width:"500",trigger:"click"}},[a("el-cascader",{staticStyle:{width:"40%",float:"left","margin-left":"20px"},attrs:{options:e.regions2,props:e.props2,"show-all-levels":!1,placeholder:"请选择区域","change-on-select":"",filterable:"",clearable:""},on:{change:e.handlechange4},model:{value:e.getemplistregions,callback:function(t){e.getemplistregions=t},expression:"getemplistregions"}}),e._v(" "),a("el-select",{staticStyle:{width:"40%",float:"right","margin-right":"20px"},attrs:{placeholder:"请选择门店",filterable:"",clearable:""},model:{value:e.getemplist.repositoryid,callback:function(t){e.$set(e.getemplist,"repositoryid",t)},expression:"getemplist.repositoryid"}},e._l(e.repositories,function(e,t){return a("el-option",{key:t,attrs:{label:e.repositoryName,value:e.id}})})),e._v(" "),a("el-select",{staticClass:"filter-item",staticStyle:{width:"40%",float:"left","margin-top":"10px","margin-left":"20px"},attrs:{value:e.getemplist.postid,placeholder:e.$t("NewEmployeeInformation.postid2"),clearable:""},model:{value:e.getemplist.postid,callback:function(t){e.$set(e.getemplist,"postid",t)},expression:"getemplist.postid"}},[a("el-option",{attrs:{label:"xxx",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"xxx",value:"2"}})],1),e._v(" "),a("el-select",{staticClass:"filter-item",staticStyle:{width:"40%",float:"right","margin-top":"10px","margin-right":"20px"},attrs:{placeholder:e.$t("NewEmployeeInformation.deptid2"),clearable:""},model:{value:e.getemplist.deptid,callback:function(t){e.$set(e.getemplist,"deptid",t)},expression:"getemplist.deptid"}},e._l(e.depts,function(e,t){return a("el-option",{key:t,attrs:{label:e.deptName,value:e.id}})})),e._v(" "),a("div",{staticClass:"seachbutton",staticStyle:{width:"100%",float:"right","margin-top":"20px"}},[a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:e.handleFilter}},[e._v(e._s(e.$t("public.search")))])],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"130px"},attrs:{slot:"reference",type:"primary"},slot:"reference"},[e._v(e._s(e.$t("public.filter"))),a("svg-icon",{staticStyle:{"margin-left":"4px"},attrs:{"icon-class":"shaixuan"}})],1)],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(e._s(e.$t("public.search")))]),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{icon:"el-icon-plus",type:"success"},on:{click:e.handleAdd2}},[e._v(e._s(e.$t("public.add")))])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange2}},[a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.id"),resizable:!1,property:"id",align:"center",width:"50"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.jobNumber"),resizable:!1,property:"jobNumber",align:"center",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.account"),resizable:!1,property:"account",width:"150",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.name"),resizable:!1,align:"center",width:"109"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.firstName)+" "+e._s(t.row.middleName)+" "+e._s(t.row.lastName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.gender"),resizable:!1,prop:"gender",align:"center",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e._f("genderFilter")(t.row.gender)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.deptName"),resizable:!1,prop:"deptName",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deptName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.regionName"),resizable:!1,prop:"regionName",align:"center",width:"230"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.regionName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.repositoryName"),resizable:!1,prop:"repositoryName",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.repositoryName))])]}}])})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.getemplist.pagenum,limit:e.getemplist.pagesize},on:{"update:page":function(t){e.$set(e.getemplist,"pagenum",t)},"update:limit":function(t){e.$set(e.getemplist,"pagesize",t)},pagination:e.gitemplist}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.attributes")}},[a("el-select",{staticStyle:{width:"100%"},attrs:{value:e.RepositoryForm.attributes,placeholder:"请选择",clearable:""},model:{value:e.RepositoryForm.attributes,callback:function(t){e.$set(e.RepositoryForm,"attributes",t)},expression:"RepositoryForm.attributes"}},[a("el-option",{attrs:{label:"只卖",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"既卖又维修",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"只存储",value:"3"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.countryId"),prop:"countryId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择国家"},model:{value:e.RepositoryForm.countryId,callback:function(t){e.$set(e.RepositoryForm,"countryId",t)},expression:"RepositoryForm.countryId"}},e._l(e.nations,function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("Repository.description")}},[a("el-input",{attrs:{type:"textarea",clearable:""},model:{value:e.RepositoryForm.description,callback:function(t){e.$set(e.RepositoryForm,"description",t)},expression:"RepositoryForm.description"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"buttons",staticStyle:{"margin-top":"20px"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.handlesave()}}},[e._v("保存")]),e._v(" "),a("el-button",{attrs:{type:"success"},on:{click:function(t){e.handleentry()}}},[e._v("继续录入")]),e._v(" "),a("el-button",{attrs:{type:"danger"},on:{click:function(t){e.handlecancel()}}},[e._v("取消")])],1)])])},[],!1,null,"26b57605",null);d.options.__file="NewRepository.vue";t.default=d.exports},Xkyu:function(e,t,a){"use strict";var r=a("jDDL");a.n(r).a},Y5bG:function(e,t,a){"use strict";a.d(t,"a",function(){return i}),Math.easeInOutQuad=function(e,t,a,r){return(e/=r/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t};var r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function i(e,t,a){var i=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,n=e-i,o=0;t=void 0===t?500:t;!function e(){o+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(o,i,n,t)),o