mirror of
https://github.com/shawncai/ERP.git
synced 2024-11-14 20:56:32 +08:00
1 line
No EOL
27 KiB
JavaScript
1 line
No EOL
27 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-26dc"],{"0zGY":function(e,t,a){"use strict";a.d(t,"g",function(){return r}),a.d(t,"l",function(){return i}),a.d(t,"e",function(){return o}),a.d(t,"h",function(){return c}),a.d(t,"o",function(){return l}),a.d(t,"j",function(){return s}),a.d(t,"i",function(){return p}),a.d(t,"b",function(){return d}),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 v}),a.d(t,"m",function(){return b}),a.d(t,"d",function(){return h});var n=a("t3Un");function r(e){return Object(n.a)({url:"http://192.168.1.45:8080/erp/country/getdeptlist",method:"post",params:e})}function i(e,t){var a=new URLSearchParams;return""!==e&&null!==e&&a.append("empids",e),""!==t&&null!==t&&a.append("stat",t),Object(n.a)({url:"http://192.168.1.45:8080/erp/employee/startorendemp",method:"post",data:a})}function o(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empids",e),Object(n.a)({url:"http://192.168.1.45:8080/erp/employee/deleteemp",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("id",e),Object(n.a)({url:"http://192.168.1.45:8080/erp/employee/getempinfo",method:"post",data:t})}function l(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(n.a)({url:"http://192.168.1.45:8080/erp/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(n.a)({url:"http://192.168.1.45:8080/erp/employee/register",method:"post",data:t})}function p(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(n.a)({url:"http://192.168.1.45:8080/erp/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(n.a)({url:"http://192.168.1.45:8080/erp/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(n.a)({url:"http://192.168.1.45:8080/erp/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(n.a)({url:"http://192.168.1.45:8080/erp/contract/updatecontract",method:"post",data:t})}function f(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empcontractids",e),Object(n.a)({url:"http://192.168.1.45:8080/erp/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(n.a)({url:"http://192.168.1.45:8080/erp/employee/searchEmpCategory",method:"post",data:t})}function v(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(n.a)({url:"http://192.168.1.45:8080/erp/employee/addEmpCategory",method:"post",data:t})}function b(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(n.a)({url:"http://192.168.1.45:8080/erp/employee/updateEmpCategory",method:"post",data:t})}function h(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("ids",e),Object(n.a)({url:"http://192.168.1.45:8080/erp/employee/delateEmpCategory",method:"post",data:t})}},Cb5a:function(e,t,a){"use strict";var n=a("mmCe");a.n(n).a},Y5bG:function(e,t,a){"use strict";a.d(t,"a",function(){return r}),Math.easeInOutQuad=function(e,t,a,n){return(e/=n/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function r(e,t,a){var r=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,i=e-r,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,r,i,t)),o<t?n(e):a&&"function"==typeof a&&a()}()}},ZySA:function(e,t,a){"use strict";var n=a("P2sY"),r=a.n(n),i=(a("jUE0"),{bind:function(e,t){e.addEventListener("click",function(a){var n=r()({},t.value),i=r()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),o=i.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var c=o.getBoundingClientRect(),l=o.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":((l=document.createElement("span")).className="waves-ripple",l.style.height=l.style.width=Math.max(c.width,c.height)+"px",o.appendChild(l)),i.type){case"center":l.style.top=c.height/2-l.offsetHeight/2+"px",l.style.left=c.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(a.pageY-c.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(a.pageX-c.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=i.color,l.className="waves-ripple z-active",!1}},!1)}}),o=function(e){e.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(o)),i.install=o;t.a=i},jUE0:function(e,t,a){},mmCe:function(e,t,a){},r8AQ:function(e,t,a){"use strict";a.r(t);var n=a("P2sY"),r=a.n(n),i=a("0zGY"),o=a("ZySA"),c=a("Mz3J"),l={name:"EmployeeContract",directives:{waves:o.a},components:{Pagination:c.a},data:function(){return{moredelete:[],downloadLoading:!1,list:[],total:0,tableKey:0,listLoading:!0,getcontractlist:{contractname:"",contractnumber:"",empnumber:"",empname:"",pagenum:1,pagesize:10},editVisible:!1,employeeName:"",contractNumber:"",contractForm:{employeeId:"",contractName:"",signTime:"",expiredTime:"",effectiveTime:"",type:"",contractAttribute:"",period:"",isCorrection:"",stat:"",advanceDay:"",trialSalary:"",correctionSalary:"",remindPerson:""},contractFormRules:{employeeId:[{required:!0,message:"请选择员工",trigger:"focus"}],type:[{required:!0,message:"请选择合同类别",trigger:"change"}],contractName:[{required:!0,message:"请输入合同名称",trigger:"blur"}],signTime:[{required:!0,message:"请选择签约时间",trigger:"blur"}],expiredTime:[{required:!0,message:"请选择签约时间",trigger:"blur"}],effectiveTime:[{required:!0,message:"请选择签约时间",trigger:"blur"}]}}},mounted:function(){this.getlist()},methods:{getlist:function(){var e=this;this.listLoading=!0,Object(i.c)(this.getcontractlist).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}),e.listLoading=!1),setTimeout(function(){e.listLoading=!1},50)})},restcontractForm:function(){this.employeeName="",this.contractNumber="",this.contractForm={employeeId:"",contractName:"",signTime:"",expiredTime:"",effectiveTime:"",type:"",contractAttribute:"",period:"",isCorrection:"",stat:"",advanceDay:"",trialSalary:"",correctionSalary:"",remindPerson:""}},handleEdit:function(e){console.log(e),this.editVisible=!0,this.employeeName=e.empName,this.contractNumber=e.contractNumber,this.contractForm=r()({},e),console.log(this.contractForm)},handleEditok:function(){var e=this;console.log(this.contractForm),this.$refs.contractForm.validate(function(t){if(!t)return e.$notify.error({title:"错误",message:"信息未填完整",offset:100}),!1;Object(i.n)(e.contractForm).then(function(t){200===t.data.ret?(e.$notify({title:"成功",message:"保存成功",type:"success",offset:100}),e.$refs.contractForm.resetFields(),e.editVisible=!1,e.getlist()):e.$notify.error({title:"错误",message:"出现错误",offset:100})})})},handlecancel:function(){this.$refs.contractForm.resetFields(),this.editVisible=!1},handleFilter:function(){var e=this;console.log(this.getcontractlist),Object(i.c)(this.getcontractlist).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})})},handleDelete:function(e){var t=this;this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.f)(e.id).then(function(e){200===e.data.ret?(t.$notify({title:"删除成功",type:"success",offset:100}),t.getlist()):t.$notify.error({title:"错误",message:"出错了",offset:100})})}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},handleSelectionChange:function(e){console.log(e),this.moredelete=e},handleCommand:function(e){var t=this;if("delete"===e){var a=this.moredelete.map(function(e){return e.id}).join();this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.f)(a).then(function(e){200===e.data.ret?(t.$notify({title:"删除成功",type:"success",offset:100}),t.getlist()):t.$notify.error({title:"错误",message:"出错了",offset:100})})}).catch(function(){t.$message({type:"info",message:"已取消删除"})}),console.log(a)}},handleAdd:function(){this.$router.push("/EmployeeInformation/NewEmployeeContract")},handleContract:function(){console.log(123)},handleExport:function(){var e=this;this.downloadLoading=!0,Promise.all([a.e("chunk-ef4a"),a.e("chunk-6b3a")]).then(a.bind(null,"S/jZ")).then(function(t){var a=e.formatJson(["id","jobNumber","account","firstName","gender","birthday","email","postName","deptName","regionName","repositoryName","createTime","dimissionTime","stat"],e.list);t.export_json_to_excel({header:["合同编号","合同名称","","姓名","性别","生日","邮箱","职位","所属部门","所属区域","所属门店","入职时间","离职时间","状态"],data:a,filename:"员工资料表"}),e.downloadLoading=!1})},formatJson:function(e,t){return t.map(function(t){return e.map(function(e){return t[e]})})},handlePrint:function(){console.log(456)}}},s=(a("Cb5a"),a("KHd+")),p=Object(s.a)(l,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ERP-container"},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.contractnumber"),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.getcontractlist.contractnumber,callback:function(t){e.$set(e.getcontractlist,"contractnumber",t)},expression:"getcontractlist.contractnumber"}}),e._v(" "),a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.contractname"),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.getcontractlist.contractname,callback:function(t){e.$set(e.getcontractlist,"contractname",t)},expression:"getcontractlist.contractname"}}),e._v(" "),a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.empnumber"),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.getcontractlist.empnumber,callback:function(t){e.$set(e.getcontractlist,"empnumber",t)},expression:"getcontractlist.empnumber"}}),e._v(" "),a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.empname"),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.getcontractlist.empname,callback:function(t){e.$set(e.getcontractlist,"empname",t)},expression:"getcontractlist.empname"}}),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-dropdown",{on:{command:e.handleCommand}},[a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary"}},[e._v("\n "+e._s(e.$t("public.batchoperation"))+" "),a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{staticStyle:{width:"140px"},attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticStyle:{"text-align":"left"},attrs:{command:"delete"}},[a("svg-icon",{staticStyle:{width:"40px"},attrs:{"icon-class":"shanchu"}}),e._v(e._s(e.$t("public.delete")))],1)],1)],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{loading:e.downloadLoading},on:{click:e.handleExport}},[a("svg-icon",{attrs:{"icon-class":"daochu"}}),e._v(e._s(e.$t("public.export")))],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{icon:"el-icon-printer"},on:{click:e.handlePrint}},[e._v(e._s(e.$t("public.print")))]),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px",float:"right"},attrs:{icon:"el-icon-plus",type:"success"},on:{click:e.handleAdd}},[e._v(e._s(e.$t("public.add")))])],1),e._v(" "),a("div",{staticClass:"app-container"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,ref:"list",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.contractnumber"),resizable:!1,prop:"contractNumber",align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.contractNumber))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.contractname"),resizable:!1,prop:"contractName",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.contractName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.jobnumber"),resizable:!1,prop:"empNumber",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.empNumber))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.empname"),resizable:!1,prop:"empName",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.empName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.signtime"),resizable:!1,prop:"signTime",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.signTime))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.effectivetime"),resizable:!1,prop:"effectiveTime",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.effectiveTime))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.expiredtime"),resizable:!1,prop:"expiredTime",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.expiredTime))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("public.actions"),resizable:!1,align:"center","min-width":"230"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){e.handleEdit(t.row)}}},[e._v(e._s(e.$t("public.edit")))]),e._v(" "),a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){e.handleDelete(t.row)}}},[e._v(e._s(e.$t("public.delete")))])]}}])})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.getcontractlist.pagenum,limit:e.getcontractlist.pagesize},on:{"update:page":function(t){e.$set(e.getcontractlist,"pagenum",t)},"update:limit":function(t){e.$set(e.getcontractlist,"pagesize",t)},pagination:e.getlist}}),e._v(" "),a("el-dialog",{attrs:{visible:e.editVisible,title:"合同编号"+e.contractNumber,top:"10px"},on:{"update:visible":function(t){e.editVisible=t}}},[a("el-form",{ref:"contractForm",staticClass:"demo-ruleForm",staticStyle:{"margin-left":"30px"},attrs:{model:e.contractForm,rules:e.contractFormRules,inline:!0,"status-icon":"","label-position":"top","label-width":"300px"}},[a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.employeeid"),prop:"employeeId"}},[a("el-input",{attrs:{disabled:!0,placeholder:"请选择员工",clearable:""},model:{value:e.employeeName,callback:function(t){e.employeeName=t},expression:"employeeName"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.typeid"),prop:"type"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择合同类别"},model:{value:e.contractForm.type,callback:function(t){e.$set(e.contractForm,"type",t)},expression:"contractForm.type"}},[a("el-option",{attrs:{label:"类型1",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"类型2",value:"2"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.contractname"),prop:"contractName"}},[a("el-input",{attrs:{placeholder:"请输入合同名称",clearable:""},model:{value:e.contractForm.contractName,callback:function(t){e.$set(e.contractForm,"contractName",t)},expression:"contractForm.contractName"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.signtime"),prop:"signTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择签约时间","value-format":"yyyy-MM-dd"},model:{value:e.contractForm.signTime,callback:function(t){e.$set(e.contractForm,"signTime",t)},expression:"contractForm.signTime"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.expiredtime"),prop:"expiredTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择到期时间","value-format":"yyyy-MM-dd"},model:{value:e.contractForm.expiredTime,callback:function(t){e.$set(e.contractForm,"expiredTime",t)},expression:"contractForm.expiredTime"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.effectivetime"),prop:"effectiveTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择生效时间","value-format":"yyyy-MM-dd"},model:{value:e.contractForm.effectiveTime,callback:function(t){e.$set(e.contractForm,"effectiveTime",t)},expression:"contractForm.effectiveTime"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.period")}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择合同期限"},model:{value:e.contractForm.period,callback:function(t){e.$set(e.contractForm,"period",t)},expression:"contractForm.period"}},[a("el-option",{attrs:{label:"类型1",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"类型2",value:"2"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.attribute")}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择合同属性"},model:{value:e.contractForm.contractAttribute,callback:function(t){e.$set(e.contractForm,"contractAttribute",t)},expression:"contractForm.contractAttribute"}},[a("el-option",{attrs:{label:"类型1",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"类型2",value:"2"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.iscorrection")}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择转正标志"},model:{value:e.contractForm.isCorrection,callback:function(t){e.$set(e.contractForm,"isCorrection",t)},expression:"contractForm.isCorrection"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"2"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%","margin-top":"1%"},attrs:{label:e.$t("NewEmployeeInformation.contractstat")}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择合同状态"},model:{value:e.contractForm.stat,callback:function(t){e.$set(e.contractForm,"stat",t)},expression:"contractForm.stat"}},[a("el-option",{attrs:{label:"类型1",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"类型2",value:"2"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.trialsalary")}},[a("el-input",{attrs:{placeholder:"请输入试用工资",clearable:""},model:{value:e.contractForm.trialSalary,callback:function(t){e.$set(e.contractForm,"trialSalary",t)},expression:"contractForm.trialSalary"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.correctionsalary")}},[a("el-input",{attrs:{placeholder:"请输入转正工资",clearable:""},model:{value:e.contractForm.correctionSalary,callback:function(t){e.$set(e.contractForm,"correctionSalary",t)},expression:"contractForm.correctionSalary"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.remindpersonid")}},[a("el-input",{attrs:{placeholder:"请选择提醒人",clearable:""},model:{value:e.contractForm.remindPerson,callback:function(t){e.$set(e.contractForm,"remindPerson",t)},expression:"contractForm.remindPerson"}})],1),e._v(" "),a("el-form-item",{staticStyle:{width:"40%"},attrs:{label:e.$t("NewEmployeeInformation.advanceday")}},[a("el-input",{attrs:{placeholder:"请输入提前时间",clearable:""},model:{value:e.contractForm.advanceDay,callback:function(t){e.$set(e.contractForm,"advanceDay",t)},expression:"contractForm.advanceDay"}},[a("template",{slot:"append"},[e._v("天")])],2)],1)],1),e._v(" "),a("div",{staticClass:"buttons",staticStyle:{"margin-top":"20px","margin-left":"30px"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.handleEditok()}}},[e._v("修改")]),e._v(" "),a("el-button",{attrs:{type:"danger"},on:{click:function(t){e.handlecancel()}}},[e._v("取消")])],1)],1)],1)])},[],!1,null,"ae697f9e",null);p.options.__file="EmployeeContract.vue";t.default=p.exports}}]); |