ERP/static/js/chunk-4725.e1b6f84b.js

1 line
42 KiB
JavaScript
Raw Normal View History

2019-03-11 19:01:31 +08:00
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4725"],{"0zGY":function(e,t,a){"use strict";a.d(t,"g",function(){return l}),a.d(t,"l",function(){return n}),a.d(t,"e",function(){return r}),a.d(t,"h",function(){return o}),a.d(t,"o",function(){return s}),a.d(t,"j",function(){return d}),a.d(t,"i",function(){return c}),a.d(t,"b",function(){return p}),a.d(t,"c",function(){return m}),a.d(t,"n",function(){return u}),a.d(t,"f",function(){return f}),a.d(t,"k",function(){return y}),a.d(t,"a",function(){return g}),a.d(t,"m",function(){return h}),a.d(t,"d",function(){return b});var i=a("t3Un");function l(e){return Object(i.a)({url:"http://192.168.1.45:8080/erp/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(i.a)({url:"http://192.168.1.45:8080/erp/employee/startorendemp",method:"post",data:a})}function r(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empids",e),Object(i.a)({url:"http://192.168.1.45:8080/erp/employee/deleteemp",method:"post",data:t})}function o(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("id",e),Object(i.a)({url:"http://192.168.1.45:8080/erp/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(i.a)({url:"http://192.168.1.45:8080/erp/employee/updateemp",method:"post",data:t})}function d(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(i.a)({url:"http://192.168.1.45:8080/erp/employee/register",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e.repositoryid&&t.append("repositoryid",e.repo