Commit c0ac19ea by 无尘

style: 修改样式

parent b3da3285
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.d3b3a2d7d442c2a11818163d40a420d4.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.79c754df6720ba76ff85.js></script><script type=text/javascript src=./static/js/vendor.907e093428953c324a31.js></script><script type=text/javascript src=./static/js/app.7155ee31f7c1a4554ca1.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.f987b0b5b99af06ca9707b8afbc3938d.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.6b3ba9606dd1e9b96743.js></script><script type=text/javascript src=./static/js/vendor.907e093428953c324a31.js></script><script type=text/javascript src=./static/js/app.ab1eb1883f43bac50246.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([11],{NNAT:function(e,t,o){"use strict";var a=o("fZjL"),i=o.n(a),s=o("mvHQ"),l=o.n(s),n=o("P9l9"),r=o("0xDb"),c={name:"list-item",props:{item:{type:String,required:!0}},filters:{formatDate:r.b},data:function(){return{typeLsit:["全部","全职","兼职","外包","实习","无类型"],reasons:["","家庭原因","个人原因","发展原因","合同到期不续签","协议解除","无法胜任工作","经济性裁员","严重违法违纪","其他"],propList:{headPic:{label:"",slot:!0,width:50},clerkName:{label:"姓名",width:90},clerkPhone:{label:"手机号"},groupName:{label:"部门"},clerkCode:{label:"code"},positionName:{label:"职位"},clerkType:{label:"员工类型",slot:!0},hireDate:{label:"入职日期",needSort:"custom",slot:!0},correctionDate:{label:"转正日期",needSort:"custom",slot:!0},fireDate:{label:"离职日期",needSort:"custom",slot:!0},fireReason:{label:"离职原因",slot:!0},handleEmployee:{label:"操作",slot:!0},handleUnEmployee:{label:"操作",slot:!0}}}},methods:{callHandle:function(e){console.log(e),"编辑员工资料"!=e.typeTitle?this.$emit("callHandle",e.obj,e.type,e.typeTitle):location.href="#/recordInfo?recordId="+e.obj.recordId}},mounted:function(){console.log(this.item)}},d={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.propList[e.item].slot?o("el-table-column",{attrs:{label:e.propList[e.item].label,width:e.propList[e.item].width,sortable:e.propList[e.item].needSort,prop:e.item},scopedSlots:e._u([{key:"default",fn:function(t){return["clerkType"==e.item?o("div",[e._v("\n "+e._s(e.typeLsit[t.row[e.item]||5])+"\n ")]):"hireDate"==e.item||"correctionDate"==e.item||"fireDate"==e.item?o("div",[e._v("\n "+e._s(e._f("formatDate")(t.row[e.item],"YY-MM-DD"))+"\n ")]):"headPic"==e.item?o("div",[t.row[e.item]?o("img",{staticClass:"header-pic",attrs:{src:t.row[e.item]}}):o("div",{staticClass:"replace-head-img"},[o("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])]):"fireReason"==e.item?o("div",[e._v("\n "+e._s(e.reasons[t.row[e.item]]||"--")+"\n ")]):"handleEmployee"==e.item?o("div",[o("div",{staticClass:"table-handle"},[o("el-dropdown",{staticClass:"more",on:{command:e.callHandle}},[o("span",{staticClass:"el-dropdown-link"},[e._v("\n 更多"),o("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),o("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[2==t.row.clerkStatus?[o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"turnPositive",typeTitle:"办理转正"}}},[e._v("办理转正")]),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"eidtCorrectionTime",typeTitle:"修改转正时间"}}},[e._v("修改转正时间")])]:e._e(),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"editEmployee",typeTitle:"编辑员工资料"}}},[e._v("编辑员工资料")]),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"resignation",typeTitle:"办理离职"}}},[e._v("办理离职")])],2)],1)],1)]):"handleUnEmployee"==e.item?o("div",[o("div",{staticClass:"table-handle"},[o("a",{staticClass:"a-href",attrs:{href:"#/recordInfo?recordId="+t.row.recordId}},[e._v("编辑")])])]):e._e()]}}])}):o("el-table-column",{attrs:{"class-name":"clerkName"==e.item?"control-width":"",label:e.propList[e.item].label,width:e.propList[e.item].width,prop:e.item}})},staticRenderFns:[]};var p=o("VU/8")(c,d,!1,function(e){o("NT8v")},null,null).exports,h=o("IVno"),u=o("Ie7z"),m=o("c4uw"),f={name:"employeeRecordList",props:{isUnEmployee:{type:Boolean,default:!1}},components:{listItem:p,handleDialog:h.a,vueSelectStore:u.a,vueSelectEmployee:m.a},data:function(){return{tableH:window.screen.availHeight-440-180,pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-6048e5),e.$emit("pick",[o,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-2592e6),e.$emit("pick",[o,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-7776e6),e.$emit("pick",[o,t])}}]},employeeList:[],pageNum:1,pageSize:20,sortType:"desc",sortColumn:"hireDate",statusList:["全部","正式","试用"],typeLsit:["全部","全职","兼职","外包","实习","无类型"],clerkType:0,clerkStatus:0,total:0,handleType:"turnPositive",typeTitle:"",dialogVisible:!1,employeeObj:{},fireDate:[],startDate:"",endDate:"",showSelector:!0,searchParam:"",departMentSet:{},storeSet:{},treeData:{},selectionList:[],disabled:!0,chooseClerkIdList:[],chooseGroupIdList:[],chooseStoreIdList:[],adList:[],adDefaultSelection:[],stList:[],changed:0}},methods:{searchFn:function(){this.getEmloyeeList()},getGroupData:function(){var e=this;Object(n.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var o=[],a=[];1==t.data.errorCode&&(o=t.data.result.departmentList||[],a=t.data.result.searchList||[]),e.treeData={treeData:o,personData:a},e.disabled=!1}).catch(function(e){})},callSelector:function(){this.$refs.departmentSelector.treeSet.dialogVisible=!0},callStoreSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},showExportSet:function(){if(this.isUnEmployee){var e=window.location.origin;-1!=e.indexOf("localhost")&&(e="http://www.gicdev.com");var t=this,o=(t.pageNum,t.chooseClerkIdList.join(","),t.chooseGroupIdList.join(","),t.chooseStoreIdList.join(","),t.pageSize,t.sortType,0==t.clerkStatus||t.clerkStatus,t.sortColumn,0==t.clerkType||t.clerkType,t.startDate,t.endDate,t.searchParam,0==t.clerkType?"":t.clerkType);location.href=e+"/haoban-manage-web/record/export-fire-employee-record?clerkType="+o+"&sortType="+t.sortType+"&sortColumn="+t.sortColumn+"&startDate="+t.startDate+"&endDate="+t.endDate+"&searchParam="+t.searchParam+"&chooseClerkIdList="+t.chooseClerkIdList.join(",")+"&chooseGroupIdList="+t.chooseGroupIdList.join(",")+"&chooseStoreIdList="+t.chooseStoreIdList.join(",")}else this.$emit("showExportSetFn")},handleSelectedList:function(e){this.adDefaultSelection=e,this.adList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},handleStoreSelectedList:function(e){this.stList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},formatSelectionList:function(e){var t=this.unique(e);this.selectionList=t;var o=this;t.length&&(o.chooseClerkIdList=[],o.chooseStoreIdList=[],o.chooseGroupIdList=[],t.forEach(function(e){e.employeeClerkId?o.chooseClerkIdList.push(e.employeeClerkId):e.storeId?o.chooseStoreIdList.push(e.storeId):e.groupId&&o.chooseGroupIdList.push(e.groupId)}),o.getEmloyeeList())},unique:function(e){var t={};return e.forEach(function(e){t[l()(e)]=e}),e=i()(t).map(function(e){return JSON.parse(e)})},delSld:function(e,t){var o=this,a=this.selectionList.indexOf(e);this.selectionList.splice(a,1),this.formatSelectionList(this.selectionList),o.adList.forEach(function(t){t.id==e.id&&o.adList.splice(o.adList.indexOf(t),1)}),o.changed+=1,o.adDefaultSelection=o.adList.slice(0)},handleSuccess:function(){this.dialogVisible=!1,this.getEmloyeeList()},callHandle:function(e,t,o){this.handleType=t,this.employeeObj=e,this.typeTitle=o,this.dialogVisible=!0},handleSizeChange:function(e){this.pageSize=e,this.getEmloyeeList()},handleCurrentChange:function(e){this.pageNum=e,this.getEmloyeeList()},sortList:function(e){this.sortColumn=e.prop,this.sortType="descending"==e.order?"desc":"asc",this.getEmloyeeList()},reGetList:function(){this.getEmloyeeList()},getEmloyeeList:function(){var e=this,t=e.isUnEmployee,o=t?"/haoban-manage-web/record/find-fire-employee-record-page":"/haoban-manage-web/record/find-on-work-employee-record-page",a={pageNum:e.pageNum,chooseClerkIdList:e.chooseClerkIdList.join(","),chooseGroupIdList:e.chooseGroupIdList.join(","),chooseStoreIdList:e.chooseStoreIdList.join(","),pageSize:e.pageSize,sortType:e.sortType,clerkStatus:0==e.clerkStatus?"":e.clerkStatus,sortColumn:e.sortColumn,clerkType:0==e.clerkType?"":e.clerkType,startDate:e.startDate,endDate:e.endDate,searchParam:e.searchParam};Object(n.a)(o,a).then(function(o){1==o.data.errorCode?(e.employeeList=o.data.result.list,e.total=t?o.data.result.total:o.data.result.pageInfo.total):e.$message.error({message:o.data.message})}).catch(function(t){e.$message({message:t.message})})},selectDate:function(e){e?(this.startDate=e[0],this.endDate=e[1]):(this.startDate="",this.endDate=""),this.getEmloyeeList()}},beforeMount:function(){this.getEmloyeeList(),this.getGroupData()},computed:{propList:function(){return this.isUnEmployee?["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","fireDate","fireReason","handleUnEmployee"]:["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","correctionDate","handleEmployee"]}}},y={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"e-r-l-container"},[o("div",{staticClass:"handle-area"},[o("div",{staticClass:"flex1"},[o("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},attrs:{disabled:e.disabled},on:{click:e.callSelector}},[e._v("行政架构选人")]),e._v(" "),o("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},on:{click:e.callStoreSelector}},[e._v("门店架构选人")]),e._v(" "),e.isUnEmployee?o("div",{staticClass:"block"},[o("span",{staticClass:"demonstration"},[e._v("离职日期")]),e._v(" "),o("el-date-picker",{attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":e.pickerOptions2},on:{change:e.selectDate},model:{value:e.fireDate,callback:function(t){e.fireDate=t},expression:"fireDate"}})],1):[o("el-select",{staticClass:"m-r-10 w-130",attrs:{placeholder:"选择类型"},on:{change:e.reGetList},model:{value:e.clerkType,callback:function(t){e.clerkType=t},expression:"clerkType"}},e._l(e.typeLsit,function(e,t){return o("el-option",{key:t,attrs:{label:e,value:t}})})),e._v(" "),o("el-select",{staticClass:"w-130",attrs:{placeholder:"选择状态"},on:{change:e.reGetList},model:{value:e.clerkStatus,callback:function(t){e.clerkStatus=t},expression:"clerkStatus"}},e._l(e.statusList,function(e,t){return o("el-option",{key:t,attrs:{label:e,value:t}})}))],e._v(" "),o("el-input",{staticStyle:{width:"218px","margin-left":"10px"},attrs:{placeholder:"请输入姓名或手机号",clearable:""},on:{clear:e.searchFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchParam,callback:function(t){e.searchParam=t},expression:"searchParam"}})],2),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:e.showExportSet}},[e._v("导出"),o("i",{staticClass:"el-icon-upload el-icon--right"})])],1),e._v(" "),e.selectionList.length>0?o("ul",{staticClass:"selector-selected-list"},[e._l(e.selectionList,function(t,a){return[o("li",{key:a+t.id+t.label,staticClass:"sld"},[e._v(e._s(t.label)+" "),o("i",{staticClass:"el-icon-close",on:{click:function(o){e.delSld(t,t.isStoreGroup)}}})])]}),e._v(" "),o("li",{staticClass:"sld tip"},[e._v("共筛选出"+e._s(e.total)+"人")])],2):e._e(),e._v(" "),o("el-table",{staticClass:"list-table",attrs:{height:e.employeeList.length?e.tableH:"auto",data:e.employeeList,"default-sort":{prop:"hireDate",order:"descending"}},on:{"sort-change":e.sortList}},[e._l(e.propList,function(t){return[o("list-item",{key:t,attrs:{item:t},on:{callHandle:e.callHandle}})]})],2),e._v(" "),e.employeeList.length?o("el-pagination",{staticClass:"pagination",attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNum,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e(),e._v(" "),o("el-dialog",{attrs:{title:e.typeTitle,visible:e.dialogVisible,width:"480px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[o("handle-dialog",{attrs:{employee:e.employeeObj,handleType:e.handleType,typeTitle:e.typeTitle},on:{handleSuccess:e.handleSuccess}})],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleStoreSelectedList}}),e._v(" "),o("vue-select-employee",{ref:"departmentSelector",attrs:{changed:e.changed,treeData:e.treeData,defaultSelection:e.adDefaultSelection},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var g=o("VU/8")(f,y,!1,function(e){o("cKo8")},null,null);t.a=g.exports},NT8v:function(e,t){},TGrv:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("3Xzz"),i=(o("P9l9"),o("NNAT")),s={name:"employeeRecord",components:{navCrumb:a.a,employeeList:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"离职员工",path:""}],typeObj:{onWorkCout:"在职员工",allWorkCount:"全职",partTimeWorkCount:"兼职",outWorkCount:"外包",practiceWorkCount:"实习",noTypeWorkCount:"无类型",regularCount:"正式",onTrialCount:"试用",noStatusCount:"无状态"},countObj:{}}},beforeMount:function(){}},l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"e-record-container"},[t("employee-list",{attrs:{isUnEmployee:!0}})],1)])]),this._v(" "),t("vue-gic-footer")],1)},staticRenderFns:[]};var n=o("VU/8")(s,l,!1,function(e){o("k6/W")},null,null);t.default=n.exports},cKo8:function(e,t){},"k6/W":function(e,t){}});
//# sourceMappingURL=11.7ee53a01c7e1618ab1a3.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/employeeRecord/listItem.vue","webpack:///./src/components/employeeRecord/listItem.vue?063c","webpack:///./src/components/employeeRecord/listItem.vue","webpack:///src/components/employeeRecord/employeeList.vue","webpack:///./src/components/employeeRecord/employeeList.vue?74b6","webpack:///./src/components/employeeRecord/employeeList.vue","webpack:///src/views/contacts/unemployee.vue","webpack:///./src/views/contacts/unemployee.vue?c19b","webpack:///./src/views/contacts/unemployee.vue"],"names":["listItem","name","props","item","type","String","required","filters","formatDate","utils","data","typeLsit","reasons","propList","headPic","label","slot","width","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","needSort","correctionDate","fireDate","fireReason","handleEmployee","handleUnEmployee","methods","callHandle","command","console","log","typeTitle","this","$emit","obj","location","href","recordId","mounted","employeeRecord_listItem","render","_vm","_h","$createElement","_c","_self","attrs","sortable","prop","scopedSlots","_u","key","fn","scope","_v","_s","row","_f","staticClass","src","on","clerkStatus","_e","class-name","staticRenderFns","components_employeeRecord_listItem","__webpack_require__","normalizeComponent","ssrContext","employeeList","isUnEmployee","Boolean","default","components","handleDialog","vueSelectStore","vueSelectEmployee","tableH","window","screen","availHeight","pickerOptions2","shortcuts","text","onClick","picker","end","Date","start","setTime","getTime","pageNum","pageSize","sortType","sortColumn","statusList","total","handleType","dialogVisible","employeeObj","startDate","endDate","showSelector","searchParam","departMentSet","storeSet","treeData","selectionList","disabled","chooseClerkIdList","chooseGroupIdList","chooseStoreIdList","adList","adDefaultSelection","stList","changed","searchFn","getEmloyeeList","getGroupData","_this","Object","api","isStoreGroup","then","res","personData","errorCode","result","departmentList","searchList","catch","e","callSelector","$refs","departmentSelector","treeSet","callStoreSelector","storeSelector","showExportSet","local","origin","indexOf","ths","join","handleSelectedList","list","arr","concat","formatSelectionList","handleStoreSelectedList","newList","unique","length","forEach","li","employeeClerkId","push","storeId","groupId","stringify_default","keys_default","map","u","JSON","parse","delSld","sld","idx","splice","ad","id","slice","handleSuccess","handleSizeChange","val","handleCurrentChange","sortList","order","reGetList","url","params","pageInfo","$message","error","message","selectDate","date","beforeMount","computed","employeeRecord_employeeList","staticStyle","margin-right","height","click","align","value-format","unlink-panels","range-separator","start-placeholder","end-placeholder","picker-options","change","model","value","callback","$$v","expression","placeholder","_l","index","margin-left","clearable","clear","nativeOn","keyup","$event","_k","keyCode","default-sort","sort-change","background","page-sizes","page-size","current-page","layout","size-change","current-change","title","visible","update:visible","employee","ref","defaultSelection","employeeList_Component","employeeList_normalizeComponent","__webpack_exports__","unemployee","navCrumb","nav","navpath","path","typeObj","onWorkCout","allWorkCount","partTimeWorkCount","outWorkCount","practiceWorkCount","noTypeWorkCount","regularCount","onTrialCount","noStatusCount","countObj","contacts_unemployee","Component"],"mappings":"2HAoDAA,GACAC,KAAA,YACAC,OACAC,MACAC,KAAAC,OACAC,UAAA,IAGAC,SACAC,WAAAC,EAAA,GAEAC,KAXA,WAYA,OACAC,UAAA,gCACAC,SAAA,yEACAC,UACAC,SACAC,MAAA,GACAC,MAAA,EACAC,MAAA,IAEAC,WACAH,MAAA,KACAE,MAAA,IAEAE,YACAJ,MAAA,OAEAK,WACAL,MAAA,MAEAM,WACAN,MAAA,QAE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Yc,YAAA,uBAAiCd,EAAA,iBAAsBE,OAAOwB,cAAA,MAAqB,OAArVtC,KAAqVsB,GAAA,KAAAV,EAAA,uBAE9VoB,oBCCjB,IAcA6L,EAdyB3L,EAAQ,OAcjCC,CACEyK,EACAgB,GATF,EAVA,SAAAxL,GACEF,EAAQ,SAaV,KAEA,MAUeyK,EAAA,QAAAkB,EAAiB","file":"static/js/11.7ee53a01c7e1618ab1a3.js","sourcesContent":["<template>\n <el-table-column v-if=\"propList[item].slot\" :label=\"propList[item].label\" :width=\"propList[item].width\" :sortable=\"propList[item].needSort\" :prop=\"item\">\n <template slot-scope=\"scope\">\n <div v-if=\"item == 'clerkType'\">\n {{typeLsit[scope.row[item] || 5]}}\n </div>\n <div v-else-if=\"item == 'hireDate' || item == 'correctionDate' || item == 'fireDate'\">\n {{scope.row[item] | formatDate(\"YY-MM-DD\")}}\n </div>\n <div v-else-if=\"item == 'headPic'\">\n <img class=\"header-pic\" :src=\"scope.row[item]\" v-if=\"!!scope.row[item]\">\n <div class=\"replace-head-img\" v-else>\n <i class=\"iconfont icon-yewuduanmorentouxian\"></i>\n </div>\n </div>\n <div v-else-if=\"item == 'fireReason'\">\n {{reasons[scope.row[item]] || '--'}}\n </div>\n <div v-else-if=\"item == 'handleEmployee'\">\n <div class=\"table-handle\">\n <el-dropdown class=\"more\" @command=\"callHandle\">\n <span class=\"el-dropdown-link\">\n 更多<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <el-dropdown-menu slot=\"dropdown\">\n <template v-if=\"scope.row.clerkStatus == 2\">\n <el-dropdown-item :command=\"{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}\">办理转正</el-dropdown-item>\n <el-dropdown-item :command=\"{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}\">修改转正时间</el-dropdown-item>\n </template>\n <el-dropdown-item :command=\"{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}\">编辑员工资料</el-dropdown-item>\n <el-dropdown-item :command=\"{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}\">办理离职</el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n </div>\n </div>\n <div v-else-if=\"item == 'handleUnEmployee'\">\n <div class=\"table-handle\">\n <a :href='\"#/recordInfo?recordId=\" + scope.row.recordId' class=\"a-href\">编辑</a>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n v-else\n :class-name=\"item == 'clerkName'? 'control-width':''\"\n :label=\"propList[item].label\"\n :width=\"propList[item].width\"\n :prop=\"item\">\n </el-table-column>\n</template>\n<script>\nimport { formatDate } from '@/utils/index';\nexport default {\n name: \"list-item\",\n props: {\n item: {\n type: String,\n required: true\n }\n },\n filters: {\n formatDate\n },\n data() {\n return {\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\n reasons: [\"\", \"家庭原因\", \"个人原因\", \"发展原因\", \"合同到期不续签\", \"协议解除\", \"无法胜任工作\", \"经济性裁员\", \"严重违法违纪\", \"其他\"],\n propList: {\n headPic: {\n label: \"\",\n slot: true,\n width: 50\n },\n clerkName: {\n label: \"姓名\",\n width: 90\n },\n clerkPhone: {\n label: \"手机号\"\n },\n groupName: {\n label: \"部门\"\n },\n clerkCode: {\n label: \"code\"\n },\n positionName: {\n label: \"职位\"\n },\n clerkType: {\n label: \"员工类型\",\n slot: true\n },\n hireDate: {\n label: \"入职日期\",\n needSort: \"custom\",\n slot: true\n },\n correctionDate: {\n label: \"转正日期\",\n needSort: \"custom\",\n slot: true\n },\n fireDate: {\n label: \"离职日期\",\n needSort: \"custom\",\n slot: true\n },\n fireReason: {\n label: \"离职原因\",\n slot: true\n },\n handleEmployee: {\n label: \"操作\",\n slot: true\n },\n handleUnEmployee: {\n label: \"操作\",\n slot: true\n }\n }\n };\n },\n methods: {\n callHandle(command) {\n console.log(command);\n if (command.typeTitle != \"编辑员工资料\") {\n this.$emit(\"callHandle\", command.obj, command.type, command.typeTitle);\n } else {\n location.href = \"#/recordInfo?recordId=\" + command.obj.recordId;\n }\n }\n },\n mounted() {\n console.log(this.item)\n }\n}\n\n</script>\n<style lang=\"scss\">\n.header-pic {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n}\n\n.replace-head-img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n line-height: 35px;\n text-align: center;\n color: #fff;\n background: #82c5ff;\n}\n\n.table-handle {\n cursor: pointer;\n\n .el-dropdown-link {\n color: #409EFF;\n }\n}\n\n\n.control-width {\n .cell {\n width: 70px;\n white-space: nowrap;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/listItem.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.propList[_vm.item].slot)?_c('el-table-column',{attrs:{\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"sortable\":_vm.propList[_vm.item].needSort,\"prop\":_vm.item},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(_vm.item == 'clerkType')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.typeLsit[scope.row[_vm.item] || 5])+\"\\n \")]):(_vm.item == 'hireDate' || _vm.item == 'correctionDate' || _vm.item == 'fireDate')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm._f(\"formatDate\")(scope.row[_vm.item],\"YY-MM-DD\"))+\"\\n \")]):(_vm.item == 'headPic')?_c('div',[(!!scope.row[_vm.item])?_c('img',{staticClass:\"header-pic\",attrs:{\"src\":scope.row[_vm.item]}}):_c('div',{staticClass:\"replace-head-img\"},[_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"})])]):(_vm.item == 'fireReason')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.reasons[scope.row[_vm.item]] || '--')+\"\\n \")]):(_vm.item == 'handleEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('el-dropdown',{staticClass:\"more\",on:{\"command\":_vm.callHandle}},[_c('span',{staticClass:\"el-dropdown-link\"},[_vm._v(\"\\n 更多\"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_vm._v(\" \"),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(scope.row.clerkStatus == 2)?[_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}}},[_vm._v(\"办理转正\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}}},[_vm._v(\"修改转正时间\")])]:_vm._e(),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}}},[_vm._v(\"编辑员工资料\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}}},[_vm._v(\"办理离职\")])],2)],1)],1)]):(_vm.item == 'handleUnEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('a',{staticClass:\"a-href\",attrs:{\"href\":\"#/recordInfo?recordId=\" + scope.row.recordId}},[_vm._v(\"编辑\")])])]):_vm._e()]}}])}):_c('el-table-column',{attrs:{\"class-name\":_vm.item == 'clerkName'? 'control-width':'',\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"prop\":_vm.item}})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-dc0e3f44\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-dc0e3f44\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./listItem.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-dc0e3f44\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./listItem.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"e-r-l-container\">\n <div class=\"handle-area\">\n <div class=\"flex1\">\n <el-button @click=\"callSelector\" :disabled=\"disabled\" style=\"margin-right: 10px; height:32px;\">行政架构选人</el-button>\n <el-button @click=\"callStoreSelector\" style=\"margin-right: 10px; height:32px;\">门店架构选人</el-button>\n <template v-if=\"!isUnEmployee\">\n <el-select\n v-model=\"clerkType\"\n placeholder=\"选择类型\"\n @change=\"reGetList\"\n class=\"m-r-10 w-130\">\n <el-option v-for=\"(type, index) in typeLsit\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n <el-select\n class=\"w-130\"\n v-model=\"clerkStatus\"\n placeholder=\"选择状态\"\n @change=\"reGetList\">\n <el-option v-for=\"(type, index) in statusList\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n </template>\n <div class=\"block\" v-else>\n <span class=\"demonstration\">离职日期</span>\n <el-date-picker v-model=\"fireDate\" type=\"daterange\" align=\"right\" value-format=\"yyyy-MM-dd\" unlink-panels range-separator=\"至\" start-placeholder=\"开始日期\" end-placeholder=\"结束日期\" @change=\"selectDate\" :picker-options=\"pickerOptions2\">\n </el-date-picker>\n </div>\n <el-input v-model=\"searchParam\" placeholder=\"请输入姓名或手机号\" style=\"width: 218px;margin-left:10px;\" @keyup.enter.native=\"searchFn\" clearable @clear=\"searchFn\"></el-input>\n </div>\n <el-button type=\"primary\" @click=\"showExportSet\">导出<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </div>\n <ul class=\"selector-selected-list\" v-if=\"selectionList.length > 0\">\n <template v-for=\"(sld, index) in selectionList\">\n <li :key=\"index + sld.id + sld.label\" class=\"sld\">{{sld.label}} <i class=\"el-icon-close\" @click=\"delSld(sld, sld.isStoreGroup)\"></i></li>\n </template>\n <li class=\"sld tip\">共筛选出{{total}}人</li>\n </ul>\n <el-table\n class=\"list-table\"\n :height=\"employeeList.length? tableH:'auto'\"\n :data=\"employeeList\"\n :default-sort=\"{prop: 'hireDate', order: 'descending'}\"\n @sort-change=\"sortList\" >\n <template v-for=\"prop in propList\">\n <list-item :item=\"prop\" :key=\"prop\" @callHandle=\"callHandle\"></list-item>\n </template>\n </el-table>\n <el-pagination\n v-if=\"!!employeeList.length\"\n class=\"pagination\"\n background\n :page-sizes=\"[20, 40, 60, 80]\"\n :page-size=\"pageSize\"\n :current-page=\"pageNum\"\n layout=\"total, sizes, prev, pager, next\"\n :total=\"total\"\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\" >\n </el-pagination>\n <el-dialog :title=\"typeTitle\" :visible.sync=\"dialogVisible\" width=\"480px\">\n <handle-dialog :employee=\"employeeObj\" :handleType=\"handleType\" :typeTitle=\"typeTitle\" @handleSuccess=\"handleSuccess\"></handle-dialog>\n </el-dialog>\n <vue-select-store ref=\"storeSelector\" @handleSelectedList=\"handleStoreSelectedList\"></vue-select-store>\n <vue-select-employee ref=\"departmentSelector\" @handleSelectedList=\"handleSelectedList\" :changed=\"changed\" :treeData=\"treeData\" :defaultSelection=\"adDefaultSelection\"></vue-select-employee>\n </div>\n</template>\n<script>\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nimport listItem from \"components/employeeRecord/listItem\";\nimport handleDialog from \"components/employeeRecord/handleDialog\";\nimport vueSelectStore from \"components/common/vueSelectStore\";\nimport vueSelectEmployee from \"components/common/vueSelectEmployee\";\nexport default {\n name: \"employeeRecordList\",\n props: {\n isUnEmployee: {\n type: Boolean,\n default: false\n }\n },\n components: {\n listItem,\n handleDialog,\n vueSelectStore,\n vueSelectEmployee\n },\n data() {\n return {\n tableH: window.screen.availHeight - 440 - 180,\n pickerOptions2: {\n shortcuts: [{\n text: '最近一周',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近一个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近三个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);\n picker.$emit('pick', [start, end]);\n }\n }]\n },\n employeeList: [],\n pageNum: 1,\n pageSize: 20,\n sortType: \"desc\",\n sortColumn: \"hireDate\",\n statusList: [\"全部\", \"正式\", \"试用\"],\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\n clerkType: 0,\n clerkStatus: 0,\n total: 0,\n handleType: \"turnPositive\",\n typeTitle: \"\",\n dialogVisible: false,\n employeeObj: {},\n fireDate: [],\n startDate: \"\",\n endDate: \"\",\n showSelector: true,\n searchParam: \"\",\n departMentSet: {},\n storeSet: {},\n treeData: {},\n selectionList: [],\n disabled: true,\n chooseClerkIdList: [],\n chooseGroupIdList: [],\n chooseStoreIdList: [],\n adList: [],\n adDefaultSelection: [],\n stList: [],\n changed: 0\n };\n },\n methods: {\n searchFn() {\n this.getEmloyeeList();\n },\n getGroupData() {\n let _this = this;\n let params = {\n isStoreGroup: 0\n };\n getRequest(\"/haoban-manage-web/dept/deptListForCompany\", params)\n .then(res => {\n let treeData = [];\n let personData = [];\n if (res.data.errorCode == 1) {\n treeData = res.data.result.departmentList || [];\n personData = res.data.result.searchList || []\n }\n _this.treeData = {\n treeData,\n personData\n };\n _this.disabled = false;\n })\n .catch(e => {});\n },\n callSelector() {\n this.$refs.departmentSelector.treeSet.dialogVisible = true;\n },\n callStoreSelector() {\n this.$refs.storeSelector.treeSet.dialogVisible = true;\n },\n showExportSet() { // 显示导出设置页面\n let isUnEmployee = this.isUnEmployee;\n if (!isUnEmployee) {\n this.$emit(\"showExportSetFn\");\n } else {\n let local = window.location.origin;\n if (local.indexOf('localhost') != -1) {\n local = 'http://www.gicdev.com';\n }\n let ths = this;\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n let clerkType = ths.clerkType == 0 ? \"\" : ths.clerkType;\n location.href = local + \"/haoban-manage-web/record/export-fire-employee-record?clerkType=\" + clerkType + \"&sortType=\" + ths.sortType + \"&sortColumn=\" + ths.sortColumn + \"&startDate=\" + ths.startDate + \"&endDate=\" + ths.endDate + \"&searchParam=\" + ths.searchParam + \"&chooseClerkIdList=\" + ths.chooseClerkIdList.join(\",\") + \"&chooseGroupIdList=\" + ths.chooseGroupIdList.join(\",\") + \"&chooseStoreIdList=\" + ths.chooseStoreIdList.join(\",\");\n }\n },\n handleSelectedList(list) {\n this.adDefaultSelection = list;\n this.adList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n handleStoreSelectedList(list) {\n this.stList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n formatSelectionList(list) {\n let newList = this.unique(list);\n this.selectionList = newList;\n let ths = this;\n if (!!newList.length) {\n ths.chooseClerkIdList = [];\n ths.chooseStoreIdList = [];\n ths.chooseGroupIdList = [];\n newList.forEach(li => {\n if (li.employeeClerkId) {\n ths.chooseClerkIdList.push(li.employeeClerkId);\n } else if (li.storeId) {\n ths.chooseStoreIdList.push(li.storeId);\n } else if (li.groupId) {\n ths.chooseGroupIdList.push(li.groupId);\n }\n });\n ths.getEmloyeeList();\n }\n },\n unique(arr) {\n let unique = {};\n arr.forEach(item => {\n unique[JSON.stringify(item)] = item; // 键名不会重复\n })\n arr = Object.keys(unique).map((u) => { // Object.keys()返回对象的所有键值组成的数组,map方法是一个遍历方法,返回遍历结果组成的数组.将unique对象的键名还原成对象数组\n return JSON.parse(u);\n });\n return arr;\n },\n delSld(sld, isStoreGroup) { // 删除选择的导出字段\n let ths = this;\n let idx = this.selectionList.indexOf(sld);\n this.selectionList.splice(idx, 1);\n this.formatSelectionList(this.selectionList);\n ths.adList.forEach(ad => {\n if (ad.id == sld.id) {\n ths.adList.splice(ths.adList.indexOf(ad), 1);\n }\n });\n ths.changed += 1;\n ths.adDefaultSelection = ths.adList.slice(0);\n },\n handleSuccess() {\n this.dialogVisible = false;\n this.getEmloyeeList();\n },\n // 呼出操作弹窗(办理离职/转正)\n callHandle(obj, type, typeTitle) {\n this.handleType = type;\n this.employeeObj = obj;\n this.typeTitle = typeTitle;\n this.dialogVisible = true;\n },\n handleSizeChange(val) {\n this.pageSize = val;\n this.getEmloyeeList();\n },\n handleCurrentChange(val) {\n this.pageNum = val;\n this.getEmloyeeList();\n },\n // 改变排序\n sortList(obj) {\n this.sortColumn = obj.prop,\n this.sortType = obj.order == \"descending\" ? \"desc\" : \"asc\";\n this.getEmloyeeList();\n },\n reGetList() {\n this.getEmloyeeList();\n },\n getEmloyeeList() {\n let ths = this;\n let isUnEmployee = ths.isUnEmployee;\n let url = isUnEmployee ? \"/haoban-manage-web/record/find-fire-employee-record-page\" : \"/haoban-manage-web/record/find-on-work-employee-record-page\"\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n getRequest(url, params)\n .then(res => {\n if (res.data.errorCode == 1) {\n ths.employeeList = res.data.result.list;\n ths.total = isUnEmployee ? res.data.result.total : res.data.result.pageInfo.total;\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n ths.$message({\n message: e.message\n });\n });\n },\n selectDate(date) {\n if (!!date) {\n this.startDate = date[0];\n this.endDate = date[1];\n } else {\n this.startDate = \"\";\n this.endDate = \"\";\n }\n this.getEmloyeeList();\n }\n },\n beforeMount() {\n this.getEmloyeeList();\n this.getGroupData();\n },\n computed: {\n propList() {\n let isUnEmployee = this.isUnEmployee;\n return isUnEmployee ? [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"fireDate\", \"fireReason\", \"handleUnEmployee\"] : [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"correctionDate\", \"handleEmployee\"]\n }\n }\n}\n\n</script>\n<style lang=\"scss\">\n.e-r-l-container {\n /*margin-top: 24px;*/\n padding: 24px;\n background: #fff;\n\n .handle-area {\n display: flex;\n\n .flex1 {\n flex: 1;\n display: flex;\n\n .demonstration {\n color: #606266;\n margin-right: 10px;\n font-size: 14px;\n }\n }\n }\n\n .selector-selected-list {\n padding: 20px 0 0;\n display: flex;\n flex-wrap: wrap;\n\n .sld {\n padding: 7px 10px;\n box-sizing: border-box;\n background: rgba(244, 244, 245, 1);\n border: 1px solid rgba(233, 233, 235, 1);\n border-radius: 4px;\n font-size: 12px;\n font-weight: 400;\n color: rgba(144, 147, 153, 1);\n margin-right: 10px;\n\n .el-icon-close {\n cursor: pointer;\n }\n\n &.tip {\n border: none;\n background: none;\n }\n }\n }\n\n .list-table {\n margin-top: 22px;\n }\n\n .pagination {\n text-align: right;\n margin-top: 20px;\n }\n\n .icon-yewuduanmorentouxian {\n font-size: 20px;\n color: #e5f3ff;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/employeeList.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"e-r-l-container\"},[_c('div',{staticClass:\"handle-area\"},[_c('div',{staticClass:\"flex1\"},[_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.callSelector}},[_vm._v(\"行政架构选人\")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},on:{\"click\":_vm.callStoreSelector}},[_vm._v(\"门店架构选人\")]),_vm._v(\" \"),(!_vm.isUnEmployee)?[_c('el-select',{staticClass:\"m-r-10 w-130\",attrs:{\"placeholder\":\"选择类型\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkType),callback:function ($$v) {_vm.clerkType=$$v},expression:\"clerkType\"}},_vm._l((_vm.typeLsit),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})})),_vm._v(\" \"),_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"选择状态\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkStatus),callback:function ($$v) {_vm.clerkStatus=$$v},expression:\"clerkStatus\"}},_vm._l((_vm.statusList),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})}))]:_c('div',{staticClass:\"block\"},[_c('span',{staticClass:\"demonstration\"},[_vm._v(\"离职日期\")]),_vm._v(\" \"),_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"align\":\"right\",\"value-format\":\"yyyy-MM-dd\",\"unlink-panels\":\"\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"picker-options\":_vm.pickerOptions2},on:{\"change\":_vm.selectDate},model:{value:(_vm.fireDate),callback:function ($$v) {_vm.fireDate=$$v},expression:\"fireDate\"}})],1),_vm._v(\" \"),_c('el-input',{staticStyle:{\"width\":\"218px\",\"margin-left\":\"10px\"},attrs:{\"placeholder\":\"请输入姓名或手机号\",\"clearable\":\"\"},on:{\"clear\":_vm.searchFn},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchFn($event)}},model:{value:(_vm.searchParam),callback:function ($$v) {_vm.searchParam=$$v},expression:\"searchParam\"}})],2),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.showExportSet}},[_vm._v(\"导出\"),_c('i',{staticClass:\"el-icon-upload el-icon--right\"})])],1),_vm._v(\" \"),(_vm.selectionList.length > 0)?_c('ul',{staticClass:\"selector-selected-list\"},[_vm._l((_vm.selectionList),function(sld,index){return [_c('li',{key:index + sld.id + sld.label,staticClass:\"sld\"},[_vm._v(_vm._s(sld.label)+\" \"),_c('i',{staticClass:\"el-icon-close\",on:{\"click\":function($event){_vm.delSld(sld, sld.isStoreGroup)}}})])]}),_vm._v(\" \"),_c('li',{staticClass:\"sld tip\"},[_vm._v(\"共筛选出\"+_vm._s(_vm.total)+\"人\")])],2):_vm._e(),_vm._v(\" \"),_c('el-table',{staticClass:\"list-table\",attrs:{\"height\":_vm.employeeList.length? _vm.tableH:'auto',\"data\":_vm.employeeList,\"default-sort\":{prop: 'hireDate', order: 'descending'}},on:{\"sort-change\":_vm.sortList}},[_vm._l((_vm.propList),function(prop){return [_c('list-item',{key:prop,attrs:{\"item\":prop},on:{\"callHandle\":_vm.callHandle}})]})],2),_vm._v(\" \"),(!!_vm.employeeList.length)?_c('el-pagination',{staticClass:\"pagination\",attrs:{\"background\":\"\",\"page-sizes\":[20, 40, 60, 80],\"page-size\":_vm.pageSize,\"current-page\":_vm.pageNum,\"layout\":\"total, sizes, prev, pager, next\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}):_vm._e(),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":_vm.typeTitle,\"visible\":_vm.dialogVisible,\"width\":\"480px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('handle-dialog',{attrs:{\"employee\":_vm.employeeObj,\"handleType\":_vm.handleType,\"typeTitle\":_vm.typeTitle},on:{\"handleSuccess\":_vm.handleSuccess}})],1),_vm._v(\" \"),_c('vue-select-store',{ref:\"storeSelector\",on:{\"handleSelectedList\":_vm.handleStoreSelectedList}}),_vm._v(\" \"),_c('vue-select-employee',{ref:\"departmentSelector\",attrs:{\"changed\":_vm.changed,\"treeData\":_vm.treeData,\"defaultSelection\":_vm.adDefaultSelection},on:{\"handleSelectedList\":_vm.handleSelectedList}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-9819ad48\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-9819ad48\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employeeList.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-9819ad48\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employeeList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <div class=\"e-record-container\">\n <employee-list :isUnEmployee=\"true\"></employee-list>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nimport employeeList from \"components/employeeRecord/employeeList\";\nexport default {\n name: \"employeeRecord\",\n components: {\n navCrumb,\n employeeList\n },\n data() {\n return {\n // 面包屑参数\n navpath: [{\n name: '首页',\n path: '/index'\n },\n {\n name: '企业通讯录',\n path: '/administrativeFrame'\n },\n {\n name: '员工档案',\n path: '/fileSet'\n },\n {\n name: '离职员工',\n path: ''\n }\n ],\n typeObj: {\n onWorkCout: \"在职员工\",\n allWorkCount: \"全职\",\n partTimeWorkCount: \"兼职\",\n outWorkCount: \"外包\",\n practiceWorkCount: \"实习\",\n noTypeWorkCount: \"无类型\",\n regularCount: \"正式\",\n onTrialCount: \"试用\",\n noStatusCount: \"无状态\"\n },\n countObj: {}\n };\n },\n beforeMount() {\n // this.getEmployeeCount();\n }\n};\n\n</script>\n<style lang=\"scss\">\n.top-area {\n background: #fff;\n padding: 10px 32px;\n\n .top-title {\n display: flex;\n line-height: 32px;\n font-size: 20px;\n font-weight: bolder;\n color: rgba(48, 49, 51, 1);\n\n .title-span {\n flex: 1;\n }\n }\n\n .e-type-num-title {\n display: flex;\n padding: 12px 0;\n /*margin-top: 20px;*/\n color: #606266;\n font-size: 14px;\n\n .type-cell {\n box-sizing: border-box;\n height: 70px;\n flex: 1;\n margin-right: 20px;\n padding: 10px 0;\n\n &.with-bdr {\n border-right: 1px solid #DCDFE6;\n padding-right: 50px;\n }\n\n .num {\n font-size: 24px;\n font-weight: 400;\n color: rgba(48, 49, 51, 1);\n margin-top: 20px;\n }\n }\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/unemployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"e-record-container\"},[_c('employee-list',{attrs:{\"isUnEmployee\":true}})],1)])]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4516a3ee\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/unemployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4516a3ee\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./unemployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unemployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unemployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4516a3ee\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./unemployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/unemployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([11],{EItT:function(e,t){},LbEI:function(e,t){e.exports="data:image/png;base64,iVBORw0K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ZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},bXv9:function(e,t){},lFAe:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("//Fk"),s=i.n(n),a=i("gBtx"),l=i.n(a),d=i("mvHQ"),o=i.n(d),r=i("DAYN"),c=i.n(r),f=i("Mk6G"),u={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t,i="";i=f.a.getByteVal(e.target.value,this.limitLength);return this.itemValue=i.trim(),this.inputNum=f.a.getZhLen(this.itemValue),this.childFlag?((t={}).child=this.childFlag,t.value=this.itemValue,"title"==this.titleFlag&&(t.title=this.titleFlag),"k303"==this.c3Flag&&(t.c3Index=this.c3Index,t.flag=this.c3Flag),void this.$emit("itemInput",t)):"title"==this.titleFlag?((t={}).value=this.itemValue,t.title=this.titleFlag,void this.$emit("itemInput",t)):"k303"==this.c3Flag?((t={}).value=this.itemValue,t.flag=this.c3Flag,t.c3Index=this.c3Index,void this.$emit("itemInput",t)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=f.a.getZhLen(this.itemValue)},disFlag:function(e,t){this.disableInput=e},childItem:function(e,t){this.c3Flag=e},childIndex:function(e,t){this.c3Index=e},titleName:function(e,t){this.titleFlag=e},child:function(e,t){this.childFlag=e}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=f.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},p={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"input-line-cell"},[i("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=e.disableInput},on:{focus:function(t){e.inputFocus(e.c3Index)}},nativeOn:{keyup:function(t){return i=t,e.toInput(i);var i}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),i("span",{staticClass:"tip"},[i("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var m=i("VU/8")(u,p,!1,function(e){i("EItT")},"data-v-3078de00",null).exports,g=i("l46T"),h=i("MJLE"),v=i.n(h),C=[{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单行输入框",systemFlag:!1,fieldEdited:1,fieldType:"0",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多行输入框",systemFlag:!1,fieldEdited:1,fieldType:"1",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单选框",systemFlag:!1,fieldEdited:1,fieldType:"2",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"radio",name:"选项1"},{type:"radio",name:"选项2"},{type:"radio",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多选框",systemFlag:!1,fieldEdited:1,fieldType:"3",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"checkbox",name:"选项1"},{type:"checkbox",name:"选项2"},{type:"checkbox",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期",systemFlag:!1,fieldEdited:1,fieldType:"4",fixed:!1,fieldDescription:"请选择",fieldOperations:{typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期区间",systemFlag:!1,fieldEdited:1,fieldType:"5",fixed:!1,fieldOperations:{startName:"开始时间",endName:"结束时间",startDescription:"请选择开始时间",endDescription:"请选择结束时间",typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"数字输入框",systemFlag:!1,fieldType:"6",fieldEdited:1,fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[],unit:"元"},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"图片",systemFlag:!1,fieldType:"7",fieldEdited:1,fixed:!1,fieldDescription:"最多上传9张图片",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}}],I=(function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return baseInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return jobInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return selfInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return eduInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contractInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contactInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return personalInfo}),function(){return C}),y=i("3E4D"),x=i("Ch4/"),b=(i("PI0u"),i("P9l9")),N={name:"staffRecordsTemplate",data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},selectKey:"",baseInfo:[],jobInfo:[],selfInfo:[],eduInfo:[],contractInfo:[],contactInfo:[],personalInfo:[],defineInfo:I(),currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"baseInfo",fieldName:"基本信息",fieldEdited:!1,fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"jobInfo",fieldName:"工作信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"selfInfo",fieldName:"个人信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"eduInfo",fieldName:"学历信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contractInfo",fieldName:"合同信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contactInfo",fieldName:"紧急联系人",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"personalInfo",fieldName:"个人资料",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""}],fieldParent:{baseInfo:{},jobInfo:{},selfInfo:{},eduInfo:{},contractInfo:{},contactInfo:{},personalInfo:{}},setList:[],qrcodeCase:"",qrcodeNum:""}},created:function(){},methods:{baseInfoClone:function(){},clickItem:function(e){this.tempaletDataList.map(function(e){return e.fieldCode}).includes(e.parentCode)||"defineInfo"===e.parentCode||(this.tempaletDataList.push(this.fieldParent[e.parentCode]),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)))},checkMove:function(e){var t=!0;return"baseInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("baseInfo")||(t=!1),"jobInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("jobInfo")||(t=!1),"selfInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("selfInfo")||(t=!1),"eduInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("eduInfo")||(t=!1),"contractInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contractInfo")||(t=!1),"contactInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contactInfo")||(t=!1),"personalInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("personalInfo")||(t=!1),t},onMove:function(e){if(!this.checkMove(e))return!1;e.relatedContext.element;return!e.draggedContext.element.fixed},onChildMove:function(e){return-1!=e.dragged.className.indexOf("block-class")&&e.to.className.indexOf("block-wrap"),!0},itemMoveEnd:function(e){var t=this;t.isDragging=!1,t.selectKey="",t.selectKey=e.clone.dataset.type,t.tempaletDataList.forEach(function(e,i){e.children.forEach(function(e,i){var n;e.systemFlag&&e.fieldCode==t.selectKey&&(n=e.parentCode,t[n].forEach(function(e,i){e.fieldCode==t.selectKey&&(e.fixed=!0)}))})}),t.selectKey="",t.tempaletDataList=JSON.parse(o()(t.tempaletDataList)),t.$forceUpdate()},cloneDefine:function(e){},selectItem:function(e,t){this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t){this.tempaletDataList.splice(t,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,t){e.fixed=!1})},addItem:function(e){},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,n){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,n,s){this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].fieldCode,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),this[s.parentCode].forEach(function(t,i){t.fieldCode===e&&(t.fixed=!1)})},checkedChange:function(e,t){},delChildItem:function(e,t,i){i.fieldOperations.fieldContent.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){var n="radio";i.systemFlag||3!==parseInt(i.fieldType)||(n="checkbox"),i.fieldOperations.fieldContent.push({type:n,name:"请输入选项"});var s=i.fieldOperations.fieldContent.map(function(e){return e.name});this.isRepeat(s)&&(i.fieldOperations.fieldContent.splice(i.fieldOperations.fieldContent.length-1,1),s.splice(i.fieldOperations.fieldContent.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeRadio:function(e,t,i){},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e,n){if(""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;e.children.length&&e.children.forEach(function(e,n){if(e.systemFlag&&""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;i.push(e.fieldName)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:function(e){var t=JSON.parse(o()(this.tempaletDataList)),i=this.checkTag(t);i.filedFlag?i.filedRepeat?this.$message.error({duration:1e3,message:"字段标题不能重复"}):(t.forEach(function(e,t){e.sort=t,e.fixed=!0===e.fixed?1:0,e.isMust=!0===e.isMust?1:0,e.systemFlag=!0===e.systemFlag?1:0,e.parentFieldTemplateId=e.parentFieldTemplateId?e.parentFieldTemplateId:-1,e.fieldTemplateId=e.fieldTemplateId?e.fieldTemplateId:-1,e.children.forEach(function(t,i){t.sort=i,t.fixed=!0===t.fixed?1:0,t.isMust=!0===t.isMust?1:0,t.systemFlag=!0===t.systemFlag?1:0,e.systemFlag||(t.fieldEdited=1),2!==parseInt(t.fieldType)&&3!==parseInt(t.fieldType)||t.fieldOperations.fieldContent.forEach(function(e,i){e.key=String(e.key)?String(e.key):"",t.systemFlag||e.hasOwnProperty("key")&&""!=e.key&&"undefined"!=e.key||(e.key=e.name)}),t.systemFlag||(t.parentCode=e.fieldCode),t.fieldTemplateId=t.fieldTemplateId?t.fieldTemplateId:-1,t.parentFieldTemplateId=e.fieldTemplateId})}),"save"===e?this.saveAllData(t):this.postPreview(t)):this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"})},saveAllData:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-save.json",i).then(function(e){var i=e.data;if(1==i.errorCode)return y.a.showmsg("保存成功","success"),void t.changeRoute("/fileSet");x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-preview.json",i).then(function(e){var i=e.data;if(1==i.errorCode){var n=window.location.origin+"/office-mobile/#/staffRecordsTemplate?enterpriseId="+i.result;return t.qrcode(n),void(t.dialogVisible=!0)}x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},qrcode:function(e){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear());var t={type:"record",data:e};this.qrcodeCase=new v.a("qrcode",{width:210,height:210,text:o()(t)})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(t){var i=t.data;1!=i.errorCode?x.a.errorMsg(i):e.handleAllFields(i.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e,i){t.hasOwnProperty(e.parentCode)&&(e.fixed=1===parseInt(e.fixed),e.isMust=1===parseInt(e.isMust),e.systemFlag=!0,e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],t[e.parentCode].push(e)),t.fieldParent.hasOwnProperty(e.fieldCode)&&(e.children=[],t.fieldParent[e.fieldCode]=e,e.systemFlag=!0)})},getInfo:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-template.json",{}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],void(i.result&&i.result.length&&e.handleGetInfo(i.result));x.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(o()(e));t.setParent=[],i.forEach(function(e,i){e.fixed=1===l()(e.fixed),e.isMust=1===l()(e.isMust),e.systemFlag=1===l()(e.systemFlag),e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],e.systemFlag&&0==e.parentCode&&t.setParent.push(e.fieldCode),e.systemFlag&&0!=e.parentCode&&t.setList.push(e.fieldCode)}),t.tempaletDataList=t.treeData(i),setTimeout(function(){t.setFixed()},10)},setFixed:function(){var e=this;e.setParent.forEach(function(t,i){e[t].forEach(function(t,i){e.setList.includes(t.fieldCode)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})}},components:{draggable:c.a,AddInput:m,limitInput:g.a},mounted:function(){s.a.all([this.getAllFields(),this.getInfo()]),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}}},w={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-wrap",style:{height:e.bodyHeight}},[n("div",{staticClass:"template-contain"},[n("div",{staticClass:"template-head"},[e._m(0),e._v(" "),n("div",{staticClass:"template-btns flex-1 flex-r"},[n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.saveAndBack("preview")}}},[e._v("预 览")]),e._v(" "),n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.changeRoute("/fileSet")}}},[e._v("返 回")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),n("div",{staticClass:"template-body"},[n("div",{staticClass:"template-cell template-cell-l"},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[n("div",{staticClass:"filed-item-title"},[e._v("基本信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.baseInfo,options:e.leftOption,move:e.onMove},on:{clone:e.baseInfoClone,start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.baseInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode,"aria-hidden":"true"},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("工作信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.jobInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.jobInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.selfInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.selfInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("学历信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.eduInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.eduInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("合同信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contractInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contractInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("紧急联系人")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contactInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contactInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人材料")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.personalInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personalInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[n("div",{staticClass:"filed-item-title"}),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd,clone:e.cloneDefine}},e._l(e.defineInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[t.systemFlag||0!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||0!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-one"}),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-two"}),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-three"}),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-four"}),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-five"}),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-six"}),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-seven"}),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-eight"})])}))],1)])],1)],1),e._v(" "),n("div",{staticClass:"template-cell template-cell-m"},[n("div",{staticClass:"phone-view"},[n("div",{staticClass:"phone-show-content"},[n("div",{staticClass:"drag-show-content"},[n("div",{staticClass:"view-container"},[n("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[n("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),n("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!1},sort:!0}},on:{add:e.addItem},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return n("li",{class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(n){e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?n("span",{staticClass:"item-close p-item-close",on:{click:function(n){n.stopPropagation(),e.deleteItem(t.fieldCode,i)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),[n("div",{staticClass:"block"},[n("div",{staticClass:"block-head"},[n("div",{class:["opencard-item-title",t.fieldName.length>6?"block-pre-wrap":""]},[e._v(e._s(t.fieldName))])]),e._v(" "),n("ul",{staticClass:"view-content"},[n("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(s,a){return n("li",{class:["filed-item","child-filed-item",e.currentChildKey==s.fieldCode&&e.currentChildIndex==a?"active-item":""],on:{click:function(n){n.stopPropagation(),e.selectChildItem(s.fieldCode,i,a,t.children)}}},["clerkPhone"!=s.fieldCode?n("span",{staticClass:"item-close child-item-close",on:{click:function(n){n.stopPropagation(),e.deleteChildItem(s.fieldCode,i,a,t.children,s)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),2==s.fieldType||3==s.fieldType||4==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldDescription)+" "),n("i",{staticClass:"el-icon-arrow-right"})])])]):e._e(),e._v(" "),5==s.fieldType?n("div",[n("div",[n("div",{class:["opencard-item-title",s.fieldOperations.startName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.startName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.startDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),n("div",{staticClass:"b-t-1"},[n("div",{class:["opencard-item-title",s.fieldOperations.endName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.endName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.endDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])])]):e._e(),e._v(" "),7==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[n("i",{staticClass:"iconfont icon-icon"})])])]):e._e(),e._v(" "),0==s.fieldType||1==s.fieldType||6==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag"},[e._v(e._s(s.fieldDescription))])])]):e._e()])}))],1)])]],2)}))],2)])])])])]),e._v(" "),n("div",{staticClass:"template-cell template-cell-r"},[n("el-tabs",{model:{value:e.rightName,callback:function(t){e.rightName=t},expression:"rightName"}},[n("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[n("div",{attrs:{id:"edit-box"}},[n("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex==i&&"0"==t.parentCode?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title edit-title-padding"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:!0,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}})],1)]:e._e(),e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(t,s){return[e.currentChildIndex==s?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}}),e._v(" "),7==t.fieldType?n("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v(e._s(t.fieldDescription))]):e._e()],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5!=t.fieldType&&7!=t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"fieldDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 开始时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startDescription",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 结束时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&6==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("单位")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"unit",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex!=s||4!=t.fieldType&&5!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),e._l(t.fieldOperations.ruleContent,function(i,s){return[n("el-radio",{attrs:{label:i.key},on:{change:function(i){e.changeRadio(i,s,t)}},model:{value:t.fieldOperations.typeValue,callback:function(i){e.$set(t.fieldOperations,"typeValue",i)},expression:"childItem.fieldOperations.typeValue"}},[e._v("\n "+e._s(i.name)+"\n ")])]})],2)],e._v(" "),e.currentChildIndex!=s||"2"!=t.fieldType&&"3"!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():n("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.fieldOperations.fieldContent,function(s,a){return[n("div",{staticClass:"margin-t-15 limit-w-340",style:0==a?"margin-top: 0":""},[n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.name,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"name",t)}}}),e._v(" "),!t.systemFlag&&t.fieldOperations.fieldContent.length>1?n("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(n){e.delChildItem(i,a,t)}}}):e._e(),e._v(" "),!t.systemFlag&&a<19?[a==t.fieldOperations.fieldContent.length-1?n("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(n){e.addChildItem(i,a,t)}}}):e._e()]:e._e()],2)]})],2)],e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item"},[n("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),n("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("员工档案中")]),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工可见")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工不可见")])],1),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工可修改")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工不可修改")])],1)])]:e._e()]})]:e._e()]})],2)])])],1)],1)])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogVisible,expression:"dialogVisible"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[n("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),n("div",{staticClass:"qr-dialog"},[n("div",{staticClass:"qr-dialog__hd"},[n("strong",{staticClass:"qr-dialog__title"},[e._v("预览")]),e._v(" "),n("i",{staticClass:"el-icon-close",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"qr--dialog__ft"})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"template-title flex-1"},[t("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"template-title-span"},[this._v("员工档案设置")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qr-dialog__bd"},[t("div",{attrs:{id:"qrcode"}}),this._v(" "),t("div",{staticClass:"qr-dialog__p"},[this._v("请使用好办 APP 扫一扫预览")])])}]};var M=i("VU/8")(N,w,!1,function(e){i("bXv9")},"data-v-98b2755c",null);t.default=M.exports}});
//# sourceMappingURL=11.a637d7388af1e84b5565.js.map
\ No newline at end of file
webpackJsonp([12],{EItT:function(e,t){},LbEI:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjlEODYzRUYxN0FEMTFFOThFM0NFNTRBM0RCN0VBMDAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjlEODYzRjAxN0FEMTFFOThFM0NFNTRBM0RCN0VBMDAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLm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/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},bXv9:function(e,t){},lFAe:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("//Fk"),s=i.n(n),a=i("gBtx"),l=i.n(a),d=i("mvHQ"),o=i.n(d),r=i("DAYN"),c=i.n(r),f=i("Mk6G"),u={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t,i="";i=f.a.getByteVal(e.target.value,this.limitLength);return this.itemValue=i.trim(),this.inputNum=f.a.getZhLen(this.itemValue),this.childFlag?((t={}).child=this.childFlag,t.value=this.itemValue,"title"==this.titleFlag&&(t.title=this.titleFlag),"k303"==this.c3Flag&&(t.c3Index=this.c3Index,t.flag=this.c3Flag),void this.$emit("itemInput",t)):"title"==this.titleFlag?((t={}).value=this.itemValue,t.title=this.titleFlag,void this.$emit("itemInput",t)):"k303"==this.c3Flag?((t={}).value=this.itemValue,t.flag=this.c3Flag,t.c3Index=this.c3Index,void this.$emit("itemInput",t)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=f.a.getZhLen(this.itemValue)},disFlag:function(e,t){this.disableInput=e},childItem:function(e,t){this.c3Flag=e},childIndex:function(e,t){this.c3Index=e},titleName:function(e,t){this.titleFlag=e},child:function(e,t){this.childFlag=e}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=f.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},p={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"input-line-cell"},[i("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=e.disableInput},on:{focus:function(t){e.inputFocus(e.c3Index)}},nativeOn:{keyup:function(t){return i=t,e.toInput(i);var i}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),i("span",{staticClass:"tip"},[i("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var m=i("VU/8")(u,p,!1,function(e){i("EItT")},"data-v-3078de00",null).exports,g=i("l46T"),h=i("MJLE"),v=i.n(h),C=[{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单行输入框",systemFlag:!1,fieldEdited:1,fieldType:"0",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多行输入框",systemFlag:!1,fieldEdited:1,fieldType:"1",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单选框",systemFlag:!1,fieldEdited:1,fieldType:"2",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"radio",name:"选项1"},{type:"radio",name:"选项2"},{type:"radio",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多选框",systemFlag:!1,fieldEdited:1,fieldType:"3",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"checkbox",name:"选项1"},{type:"checkbox",name:"选项2"},{type:"checkbox",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期",systemFlag:!1,fieldEdited:1,fieldType:"4",fixed:!1,fieldDescription:"请选择",fieldOperations:{typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期区间",systemFlag:!1,fieldEdited:1,fieldType:"5",fixed:!1,fieldOperations:{startName:"开始时间",endName:"结束时间",startDescription:"请选择开始时间",endDescription:"请选择结束时间",typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"数字输入框",systemFlag:!1,fieldType:"6",fieldEdited:1,fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[],unit:"元"},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"图片",systemFlag:!1,fieldType:"7",fieldEdited:1,fixed:!1,fieldDescription:"最多上传9张图片",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}}],I=(function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return baseInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return jobInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return selfInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return eduInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contractInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contactInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return personalInfo}),function(){return C}),y=i("3E4D"),x=i("Ch4/"),b=(i("PI0u"),i("P9l9")),N={name:"staffRecordsTemplate",data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},selectKey:"",baseInfo:[],jobInfo:[],selfInfo:[],eduInfo:[],contractInfo:[],contactInfo:[],personalInfo:[],defineInfo:I(),currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"baseInfo",fieldName:"基本信息",fieldEdited:!1,fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"jobInfo",fieldName:"工作信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"selfInfo",fieldName:"个人信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"eduInfo",fieldName:"学历信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contractInfo",fieldName:"合同信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contactInfo",fieldName:"紧急联系人",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"personalInfo",fieldName:"个人资料",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""}],fieldParent:{baseInfo:{},jobInfo:{},selfInfo:{},eduInfo:{},contractInfo:{},contactInfo:{},personalInfo:{}},setList:[],qrcodeCase:"",qrcodeNum:""}},created:function(){},methods:{baseInfoClone:function(){},clickItem:function(e){this.tempaletDataList.map(function(e){return e.fieldCode}).includes(e.parentCode)||"defineInfo"===e.parentCode||(this.tempaletDataList.push(this.fieldParent[e.parentCode]),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)))},checkMove:function(e){var t=!0;return"baseInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("baseInfo")||(t=!1),"jobInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("jobInfo")||(t=!1),"selfInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("selfInfo")||(t=!1),"eduInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("eduInfo")||(t=!1),"contractInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contractInfo")||(t=!1),"contactInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contactInfo")||(t=!1),"personalInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("personalInfo")||(t=!1),t},onMove:function(e){if(!this.checkMove(e))return!1;e.relatedContext.element;return!e.draggedContext.element.fixed},onChildMove:function(e){return-1!=e.dragged.className.indexOf("block-class")&&e.to.className.indexOf("block-wrap"),!0},itemMoveEnd:function(e){var t=this;t.isDragging=!1,t.selectKey="",t.selectKey=e.clone.dataset.type,t.tempaletDataList.forEach(function(e,i){e.children.forEach(function(e,i){var n;e.systemFlag&&e.fieldCode==t.selectKey&&(n=e.parentCode,t[n].forEach(function(e,i){e.fieldCode==t.selectKey&&(e.fixed=!0)}))})}),t.selectKey="",t.tempaletDataList=JSON.parse(o()(t.tempaletDataList)),t.$forceUpdate()},cloneDefine:function(e){},selectItem:function(e,t){this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t){this.tempaletDataList.splice(t,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,t){e.fixed=!1})},addItem:function(e){},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,n){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,n,s){this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].fieldCode,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),this[s.parentCode].forEach(function(t,i){t.fieldCode===e&&(t.fixed=!1)})},checkedChange:function(e,t){},delChildItem:function(e,t,i){i.fieldOperations.fieldContent.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){var n="radio";i.systemFlag||3!==parseInt(i.fieldType)||(n="checkbox"),i.fieldOperations.fieldContent.push({type:n,name:"请输入选项"});var s=i.fieldOperations.fieldContent.map(function(e){return e.name});this.isRepeat(s)&&(i.fieldOperations.fieldContent.splice(i.fieldOperations.fieldContent.length-1,1),s.splice(i.fieldOperations.fieldContent.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeRadio:function(e,t,i){},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e,n){if(""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;e.children.length&&e.children.forEach(function(e,n){if(e.systemFlag&&""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;i.push(e.fieldName)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:function(e){var t=JSON.parse(o()(this.tempaletDataList)),i=this.checkTag(t);i.filedFlag?i.filedRepeat?this.$message.error({duration:1e3,message:"字段标题不能重复"}):(t.forEach(function(e,t){e.sort=t,e.fixed=!0===e.fixed?1:0,e.isMust=!0===e.isMust?1:0,e.systemFlag=!0===e.systemFlag?1:0,e.parentFieldTemplateId=e.parentFieldTemplateId?e.parentFieldTemplateId:-1,e.fieldTemplateId=e.fieldTemplateId?e.fieldTemplateId:-1,e.children.forEach(function(t,i){t.sort=i,t.fixed=!0===t.fixed?1:0,t.isMust=!0===t.isMust?1:0,t.systemFlag=!0===t.systemFlag?1:0,e.systemFlag||(t.fieldEdited=1),2!==parseInt(t.fieldType)&&3!==parseInt(t.fieldType)||t.fieldOperations.fieldContent.forEach(function(e,i){e.key=String(e.key)?String(e.key):"",t.systemFlag||e.hasOwnProperty("key")&&""!=e.key&&"undefined"!=e.key||(e.key=e.name)}),t.systemFlag||(t.parentCode=e.fieldCode),t.fieldTemplateId=t.fieldTemplateId?t.fieldTemplateId:-1,t.parentFieldTemplateId=e.fieldTemplateId})}),"save"===e?this.saveAllData(t):this.postPreview(t)):this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"})},saveAllData:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-save.json",i).then(function(e){var i=e.data;if(1==i.errorCode)return y.a.showmsg("保存成功","success"),void t.changeRoute("/fileSet");x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-preview.json",i).then(function(e){var i=e.data;if(1==i.errorCode){var n=window.location.origin+"/office-mobile/#/staffRecordsTemplate?enterpriseId="+i.result;return t.qrcode(n),void(t.dialogVisible=!0)}x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},qrcode:function(e){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear());var t={type:"record",data:e};this.qrcodeCase=new v.a("qrcode",{width:210,height:210,text:o()(t)})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(t){var i=t.data;1!=i.errorCode?x.a.errorMsg(i):e.handleAllFields(i.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e,i){t.hasOwnProperty(e.parentCode)&&(e.fixed=1===parseInt(e.fixed),e.isMust=1===parseInt(e.isMust),e.systemFlag=!0,e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],t[e.parentCode].push(e)),t.fieldParent.hasOwnProperty(e.fieldCode)&&(e.children=[],t.fieldParent[e.fieldCode]=e,e.systemFlag=!0)})},getInfo:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-template.json",{}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],void(i.result&&i.result.length&&e.handleGetInfo(i.result));x.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(o()(e));t.setParent=[],i.forEach(function(e,i){e.fixed=1===l()(e.fixed),e.isMust=1===l()(e.isMust),e.systemFlag=1===l()(e.systemFlag),e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],e.systemFlag&&0==e.parentCode&&t.setParent.push(e.fieldCode),e.systemFlag&&0!=e.parentCode&&t.setList.push(e.fieldCode)}),t.tempaletDataList=t.treeData(i),setTimeout(function(){t.setFixed()},10)},setFixed:function(){var e=this;e.setParent.forEach(function(t,i){e[t].forEach(function(t,i){e.setList.includes(t.fieldCode)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})}},components:{draggable:c.a,AddInput:m,limitInput:g.a},mounted:function(){s.a.all([this.getAllFields(),this.getInfo()]),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}}},w={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-wrap",style:{height:e.bodyHeight}},[n("div",{staticClass:"template-contain"},[n("div",{staticClass:"template-head"},[e._m(0),e._v(" "),n("div",{staticClass:"template-btns flex-1 flex-r"},[n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.saveAndBack("preview")}}},[e._v("预 览")]),e._v(" "),n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.changeRoute("/fileSet")}}},[e._v("返 回")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),n("div",{staticClass:"template-body"},[n("div",{staticClass:"template-cell template-cell-l"},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[n("div",{staticClass:"filed-item-title"},[e._v("基本信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.baseInfo,options:e.leftOption,move:e.onMove},on:{clone:e.baseInfoClone,start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.baseInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode,"aria-hidden":"true"},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("工作信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.jobInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.jobInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.selfInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.selfInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("学历信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.eduInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.eduInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("合同信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contractInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contractInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("紧急联系人")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contactInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contactInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人材料")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.personalInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personalInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[n("div",{staticClass:"filed-item-title"}),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd,clone:e.cloneDefine}},e._l(e.defineInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[t.systemFlag||0!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||0!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-one"}),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-two"}),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-three"}),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-four"}),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-five"}),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-six"}),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-seven"}),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-eight"})])}))],1)])],1)],1),e._v(" "),n("div",{staticClass:"template-cell template-cell-m"},[n("div",{staticClass:"phone-view"},[n("div",{staticClass:"phone-show-content"},[n("div",{staticClass:"drag-show-content"},[n("div",{staticClass:"view-container"},[n("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[n("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),n("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!1},sort:!0}},on:{add:e.addItem},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return n("li",{class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(n){e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?n("span",{staticClass:"item-close p-item-close",on:{click:function(n){n.stopPropagation(),e.deleteItem(t.fieldCode,i)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),[n("div",{staticClass:"block"},[n("div",{staticClass:"block-head"},[n("div",{class:["opencard-item-title",t.fieldName.length>6?"block-pre-wrap":""]},[e._v(e._s(t.fieldName))])]),e._v(" "),n("ul",{staticClass:"view-content"},[n("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(s,a){return n("li",{class:["filed-item","child-filed-item",e.currentChildKey==s.fieldCode&&e.currentChildIndex==a?"active-item":""],on:{click:function(n){n.stopPropagation(),e.selectChildItem(s.fieldCode,i,a,t.children)}}},["clerkPhone"!=s.fieldCode?n("span",{staticClass:"item-close child-item-close",on:{click:function(n){n.stopPropagation(),e.deleteChildItem(s.fieldCode,i,a,t.children,s)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),2==s.fieldType||3==s.fieldType||4==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldDescription)+" "),n("i",{staticClass:"el-icon-arrow-right"})])])]):e._e(),e._v(" "),5==s.fieldType?n("div",[n("div",[n("div",{class:["opencard-item-title",s.fieldOperations.startName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.startName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.startDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),n("div",{staticClass:"b-t-1"},[n("div",{class:["opencard-item-title",s.fieldOperations.endName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.endName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.endDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])])]):e._e(),e._v(" "),7==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[n("i",{staticClass:"iconfont icon-icon"})])])]):e._e(),e._v(" "),0==s.fieldType||1==s.fieldType||6==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag"},[e._v(e._s(s.fieldDescription))])])]):e._e()])}))],1)])]],2)}))],2)])])])])]),e._v(" "),n("div",{staticClass:"template-cell template-cell-r"},[n("el-tabs",{model:{value:e.rightName,callback:function(t){e.rightName=t},expression:"rightName"}},[n("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[n("div",{attrs:{id:"edit-box"}},[n("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex==i&&"0"==t.parentCode?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title edit-title-padding"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:!0,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}})],1)]:e._e(),e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(t,s){return[e.currentChildIndex==s?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}}),e._v(" "),7==t.fieldType?n("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v(e._s(t.fieldDescription))]):e._e()],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5!=t.fieldType&&7!=t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"fieldDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 开始时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startDescription",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 结束时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&6==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("单位")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"unit",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex!=s||4!=t.fieldType&&5!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),e._l(t.fieldOperations.ruleContent,function(i,s){return[n("el-radio",{attrs:{label:i.key},on:{change:function(i){e.changeRadio(i,s,t)}},model:{value:t.fieldOperations.typeValue,callback:function(i){e.$set(t.fieldOperations,"typeValue",i)},expression:"childItem.fieldOperations.typeValue"}},[e._v("\n "+e._s(i.name)+"\n ")])]})],2)],e._v(" "),e.currentChildIndex!=s||"2"!=t.fieldType&&"3"!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():n("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.fieldOperations.fieldContent,function(s,a){return[n("div",{staticClass:"margin-t-15 limit-w-340",style:0==a?"margin-top: 0":""},[n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.name,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"name",t)}}}),e._v(" "),!t.systemFlag&&t.fieldOperations.fieldContent.length>1?n("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(n){e.delChildItem(i,a,t)}}}):e._e(),e._v(" "),!t.systemFlag&&a<19?[a==t.fieldOperations.fieldContent.length-1?n("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(n){e.addChildItem(i,a,t)}}}):e._e()]:e._e()],2)]})],2)],e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item"},[n("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),n("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("员工档案中")]),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工可见")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工不可见")])],1),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工可修改")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工不可修改")])],1)])]:e._e()]})]:e._e()]})],2)])])],1)],1)])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogVisible,expression:"dialogVisible"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[n("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),n("div",{staticClass:"qr-dialog"},[n("div",{staticClass:"qr-dialog__hd"},[n("strong",{staticClass:"qr-dialog__title"},[e._v("预览")]),e._v(" "),n("i",{staticClass:"el-icon-close",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"qr--dialog__ft"})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"template-title flex-1"},[t("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"template-title-span"},[this._v("员工档案设置")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qr-dialog__bd"},[t("div",{attrs:{id:"qrcode"}}),this._v(" "),t("div",{staticClass:"qr-dialog__p"},[this._v("请使用好办 APP 扫一扫预览")])])}]};var M=i("VU/8")(N,w,!1,function(e){i("bXv9")},"data-v-98b2755c",null);t.default=M.exports}});
//# sourceMappingURL=12.a5bbc66b45845e8ff31c.js.map
\ No newline at end of file
webpackJsonp([12],{"2FlR":function(e,t,a){e.exports=a.p+"static/img/test.50e4091.png"},IyOB:function(e,t){},Zx22:function(e,t,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(e,t){function a(e){return e>9?""+e:"0"+e}var s=new Date(e),i=s.getFullYear(),n=s.getMonth()+1,o=s.getDate();return i+t+a(n)+t+a(o)+t},handleData:function(){}},watch:{value:function(e,t){this.customDialog=e},storeChangeData:function(e,t){}},mounted:function(){}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:e.customDialog,width:"600px","before-close":e.handleCardClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更前\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.leftData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])]),e._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更后\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.rightData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var n=a("VU/8")(s,i,!1,function(e){a("IyOB")},"data-v-17b2eb2d",null);t.a=n.exports},jc3B:function(e,t){},xCEU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),i=a("Zx22"),n=a("3E4D"),o=a("Ch4/"),l=(a("Mk6G"),a("PI0u")),r=a("P9l9"),c={name:"unreview",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"待审核",path:""}],filterValue:"",filterOptions:[{label:"全部事项",value:""},{label:"新增成员",value:"1"},{label:"成员离职",value:"2"}],tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{},approveVisible:!1,refuseVisible:!1}},filters:{formatTimeYMD:function(e){return"--"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return"--"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleClick:function(e,t,a){this.selectId=t.enterpriseAuditingId,a?this.refuseVisible=!0:this.approveVisible=!0},sendApprove:function(){this.postApprove(this.selectId)},approveAll:function(){console.log(this.multipleSelection);var e=this.multipleSelection.length?this.multipleSelection.map(function(e){return e.enterpriseAuditingId}):"";if(!e)return this.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;this.postAllApprove(e)},postApprove:function(e){var t=this,a={enterpriseAuditingId:e};Object(r.c)("/haoban-manage-web/audit/approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),t.approveVisible=!1,void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postAllApprove:function(e){var t=this,a={enterpriseAuditingIds:e};Object(r.c)("/haoban-manage-web/audit/batch-approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},cancelRefuse:function(e){this.refuseVisible=!1,this.$refs.ruleForm.resetFields()},sendRefuse:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.postRefuse()})},postRefuse:function(){var e=this,t={enterpriseAuditingId:e.selectId,refuseReason:e.ruleForm.refuseReason};Object(r.a)("/haoban-manage-web/audit/refuse.json",t).then(function(t){var a=t.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),e.refuseVisible=!1,void e.getTableList();o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showSingleInfo:function(e){},showStoreChange:function(e){this.showStoreDialog=!0,this.storeChangeData=e},getTableList:function(e){var t=this,a={auditingType:t.filterValue,auditingStatus:"0",search:"",pageNum:t.currentPage,pageSize:t.pageSize};Object(r.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(e,t){e.createTime&&(e.createTime=Object(l.b)(e.createTime))}),t.tableData=a.result.list,void(t.total=a.result.total);o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:i.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head flex flex-space-between"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部事项"},on:{change:e.getTableList},model:{value:e.filterValue,callback:function(t){e.filterValue=t},expression:"filterValue"}},e._l(e.filterOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.approveAll}},[e._v("批量同意")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.auditingType?"门店信息变更":1==t.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v(e._s(t.row.applyName)+"\n "),a("i",{class:[2==t.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),e._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[e._v("员工代码:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.code))])]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[e._v("职位:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.positionName))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属门店:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.storeName))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[e._v(e._s(t.row.applyName))]),e._v(" "),a("span",{staticClass:"font-13"},[e._v(e._s(t.row.storeName))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"详情"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-hidden-2"},[a("span",[e._v(e._s(t.row.detail))]),e._v(" "),0==t.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showStoreChange(t.row)}}},[e._v("查看详情")]):e._e()],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row)}}},[e._v("同意")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row,"refuse")}}},[e._v("拒绝")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("storeChange",{attrs:{storeChangeData:e.storeChangeData},model:{value:e.showStoreDialog,callback:function(t){e.showStoreDialog=t},expression:"showStoreDialog"}}),e._v(" "),a("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:e.approveVisible,width:"422px"},on:{"update:visible":function(t){e.approveVisible=t}}},[a("div",{staticClass:"approve-body text-center"},[a("div",[a("i",{staticClass:"el-icon-success"}),a("span",{staticClass:"approve-icon-tip"},[e._v("同意")])]),e._v(" "),a("div",{staticClass:"approve-tip"},[e._v("是否确认同意")])]),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.approveVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sendApprove}},[e._v("确 定")])],1)]),e._v(" "),a("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:e.refuseVisible,"before-close":e.cancelRefuse,width:"422px"},on:{"update:visible":function(t){e.refuseVisible=t}}},[a("div",[a("div",{staticClass:"refuse-tip"},[e._v("请输入拒绝理由")]),e._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[a("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:e.ruleForm.refuseReason,callback:function(t){e.$set(e.ruleForm,"refuseReason",t)},expression:"ruleForm.refuseReason"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.cancelRefuse("ruleForm")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.sendRefuse("ruleForm")}}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var p=a("VU/8")(c,u,!1,function(e){a("jc3B")},"data-v-2a5a1c0a",null);t.default=p.exports}});
//# sourceMappingURL=12.ff8b949463a1e4281bc8.js.map
\ No newline at end of file
webpackJsonp([13],{"2FlR":function(e,t,a){e.exports=a.p+"static/img/test.50e4091.png"},IyOB:function(e,t){},Zx22:function(e,t,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(e,t){function a(e){return e>9?""+e:"0"+e}var s=new Date(e),i=s.getFullYear(),n=s.getMonth()+1,o=s.getDate();return i+t+a(n)+t+a(o)+t},handleData:function(){}},watch:{value:function(e,t){this.customDialog=e},storeChangeData:function(e,t){}},mounted:function(){}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:e.customDialog,width:"600px","before-close":e.handleCardClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更前\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.leftData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])]),e._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更后\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.rightData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var n=a("VU/8")(s,i,!1,function(e){a("IyOB")},"data-v-17b2eb2d",null);t.a=n.exports},jc3B:function(e,t){},xCEU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),i=a("Zx22"),n=a("3E4D"),o=a("Ch4/"),l=(a("Mk6G"),a("PI0u")),r=a("P9l9"),c={name:"unreview",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"待审核",path:""}],filterValue:"",filterOptions:[{label:"全部事项",value:""},{label:"新增成员",value:"1"},{label:"成员离职",value:"2"}],tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{},approveVisible:!1,refuseVisible:!1}},filters:{formatTimeYMD:function(e){return"--"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return"--"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleClick:function(e,t,a){this.selectId=t.enterpriseAuditingId,a?this.refuseVisible=!0:this.approveVisible=!0},sendApprove:function(){this.postApprove(this.selectId)},approveAll:function(){console.log(this.multipleSelection);var e=this.multipleSelection.length?this.multipleSelection.map(function(e){return e.enterpriseAuditingId}):"";if(!e)return this.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;this.postAllApprove(e)},postApprove:function(e){var t=this,a={enterpriseAuditingId:e};Object(r.c)("/haoban-manage-web/audit/approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),t.approveVisible=!1,void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postAllApprove:function(e){var t=this,a={enterpriseAuditingIds:e};Object(r.c)("/haoban-manage-web/audit/batch-approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},cancelRefuse:function(e){this.refuseVisible=!1,this.$refs.ruleForm.resetFields()},sendRefuse:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.postRefuse()})},postRefuse:function(){var e=this,t={enterpriseAuditingId:e.selectId,refuseReason:e.ruleForm.refuseReason};Object(r.a)("/haoban-manage-web/audit/refuse.json",t).then(function(t){var a=t.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),e.refuseVisible=!1,void e.getTableList();o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showSingleInfo:function(e){},showStoreChange:function(e){this.showStoreDialog=!0,this.storeChangeData=e},getTableList:function(e){var t=this,a={auditingType:t.filterValue,auditingStatus:"0",search:"",pageNum:t.currentPage,pageSize:t.pageSize};Object(r.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(e,t){e.createTime&&(e.createTime=Object(l.b)(e.createTime))}),t.tableData=a.result.list,void(t.total=a.result.total);o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:i.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head flex flex-space-between"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部事项"},on:{change:e.getTableList},model:{value:e.filterValue,callback:function(t){e.filterValue=t},expression:"filterValue"}},e._l(e.filterOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.approveAll}},[e._v("批量同意")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.auditingType?"门店信息变更":1==t.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v(e._s(t.row.applyName)+"\n "),a("i",{class:[2==t.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),e._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[e._v("员工代码:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.code))])]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[e._v("职位:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.positionName))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属门店:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.storeName))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[e._v(e._s(t.row.applyName))]),e._v(" "),a("span",{staticClass:"font-13"},[e._v(e._s(t.row.storeName))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"详情"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-hidden-2"},[a("span",[e._v(e._s(t.row.detail))]),e._v(" "),0==t.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showStoreChange(t.row)}}},[e._v("查看详情")]):e._e()],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row)}}},[e._v("同意")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row,"refuse")}}},[e._v("拒绝")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("storeChange",{attrs:{storeChangeData:e.storeChangeData},model:{value:e.showStoreDialog,callback:function(t){e.showStoreDialog=t},expression:"showStoreDialog"}}),e._v(" "),a("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:e.approveVisible,width:"422px"},on:{"update:visible":function(t){e.approveVisible=t}}},[a("div",{staticClass:"approve-body text-center"},[a("div",[a("i",{staticClass:"el-icon-success"}),a("span",{staticClass:"approve-icon-tip"},[e._v("同意")])]),e._v(" "),a("div",{staticClass:"approve-tip"},[e._v("是否确认同意")])]),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.approveVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sendApprove}},[e._v("确 定")])],1)]),e._v(" "),a("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:e.refuseVisible,"before-close":e.cancelRefuse,width:"422px"},on:{"update:visible":function(t){e.refuseVisible=t}}},[a("div",[a("div",{staticClass:"refuse-tip"},[e._v("请输入拒绝理由")]),e._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[a("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:e.ruleForm.refuseReason,callback:function(t){e.$set(e.ruleForm,"refuseReason",t)},expression:"ruleForm.refuseReason"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.cancelRefuse("ruleForm")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.sendRefuse("ruleForm")}}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var p=a("VU/8")(c,u,!1,function(e){a("jc3B")},"data-v-2a5a1c0a",null);t.default=p.exports}});
//# sourceMappingURL=13.e3ade0be7df43374780f.js.map
\ No newline at end of file
webpackJsonp([13],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},"Ai/3":function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),n=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v(t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("Ai/3")},"data-v-230f4fc2",null);e.default=u.exports},IyOB:function(t,e){},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var s=new Date(t),n=s.getFullYear(),i=s.getMonth()+1,l=s.getDate();return n+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=i.exports}});
//# sourceMappingURL=13.01693b96cf028e56cf1a.js.map
\ No newline at end of file
webpackJsonp([14],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},"Ai/3":function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),n=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v(t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("Ai/3")},"data-v-230f4fc2",null);e.default=u.exports},IyOB:function(t,e){},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var s=new Date(t),n=s.getFullYear(),i=s.getMonth()+1,l=s.getDate();return n+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=i.exports}});
//# sourceMappingURL=14.3ad5bbb7abe4defc9a0a.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/test.png","webpack:///src/views/reviewCenter/reviewed.vue","webpack:///./src/views/reviewCenter/reviewed.vue?e26b","webpack:///./src/views/reviewCenter/reviewed.vue","webpack:///src/components/review/store-change.vue","webpack:///./src/components/review/store-change.vue?5ea5","webpack:///./src/components/review/store-change.vue"],"names":["module","exports","__webpack_require__","p","reviewed","name","data","tableH","window","screen","availHeight","navpath","path","filterValue","filterOptions","label","value","searchValue","tableData","multipleSelection","currentPage","pageSize","total","applyInfo","showStoreDialog","storeChangeData","filters","formatTimeYMD","split","formatTimeHMS","formatNum","replace","computed","methods","clearSearch","this","getTableList","searchEnterFun","e","String","target","trim","toggleReason","item","visible","forEach","ele","index","enterpriseAuditingId","handleSelectionChange","val","handleSizeChange","handleCurrentChange","$route","fullPath","showSingleInfo","memberId","showStoreChange","that","para","auditingType","auditingStatus","search","pageNum","Object","api","then","res","resData","errorCode","result","list","createTime","js_public","error","errorMsg","catch","$message","duration","message","mounted","components","navCrumb","nav","storeChange","store_change","reviewCenter_reviewed","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","style","min-height","$store","state","bgHeight","placeholder","on","change","model","callback","$$v","expression","_l","key","prefix-icon","clearable","clear","nativeOn","keyup","$event","_k","keyCode","ref","staticStyle","width","tooltip-effect","scopedSlots","_u","fn","scope","_s","row","show-overflow-tooltip","placement","trigger","show","applyId","headPic","src","alt","applyName","class","sex","code","phoneNumber","positionName","storeName","slot","detail","type","click","_e","_f","refuseReason","length","background","current-page","page-sizes","page-size","layout","size-change","current-change","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__","props","Boolean","default","repProjectName","customDialog","leftData","rightData","beforeMount","handleCardClose","customCancel","$emit","formatDate","time","flag","formatDig","num","myDate","Date","y","getFullYear","m","getMonth","d","getDate","handleData","watch","newData","oldData","review_store_change","title","before-close","update:visible","span"],"mappings":"0CAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,iOCqJxCC,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,OAAAC,OAAAC,OAAAC,YAAA,aAEAC,UAEAN,KAAA,KACAO,KAAA,WAGAP,KAAA,OACAO,KAAA,cAGAP,KAAA,MACAO,KAAA,KAIAC,YAAA,KACAC,gBAMAC,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,OAIAC,YAAA,GAEAC,aAiBAC,qBAGAC,YAAA,EACAC,SAAA,GACAC,MAAA,EAGAC,aAWAC,iBAAA,EACAC,qBAIAC,SACAC,cADA,SACArB,GACA,YAAAA,IAAAsB,MAAA,cAEAC,cAJA,SAIAvB,GACA,YAAAA,IAAAsB,MAAA,cAEAE,UAPA,SAOAxB,GAEA,OAAAA,EAAA,IAAAyB,QADA,wBACA,SAGAC,YAGAC,SAIAC,YAJA,WAKAC,KACAC,gBAMAC,eAZA,SAYAC,GAGA,IADAC,OAAAD,EAAAE,OAAAxB,OAAAyB,OAEA,SAHAN,KAKAC,gBAGAM,aArBA,SAqBAC,GAEAA,EAAAC,SAAA,EADAT,KAEAjB,UAAA2B,QAAA,SAAAC,EAAAC,GACAD,EAAAE,sBAAAL,EAAAK,uBACAF,EAAAF,SAAA,MAQAK,sBAlCA,SAkCAC,GACAf,KACAhB,kBAAA+B,GAMAC,iBA1CA,SA0CAD,GACAf,KACAd,SAAA6B,EADAf,KAEAC,gBAMAgB,oBAnDA,SAmDAF,GACAf,KACAf,YAAA8B,EADAf,KAEAkB,OAAAC,SAFAnB,KAGAC,gBAMAmB,eA7DA,SA6DAC,KAOAC,gBApEA,SAoEAd,GACAR,KACAX,iBAAA,EADAW,KAEAV,gBAAAkB,G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EAAAO,GAAA,KAAAJ,EAAA,OAAkEE,YAAA,cAAwBF,EAAA,OAAYE,YAAA,0DAAoEL,EAAAoB,GAAApB,EAAA,kBAAA7C,GAAuC,OAAAgD,EAAA,OAAkBG,OAAOwC,IAAA3F,EAAA2F,IAAAC,IAAA,UAA4B,OAAA/C,EAAAO,GAAA,KAAAJ,EAAA,UAAmCG,OAAOqG,KAAA,MAAWxG,EAAA,OAAYE,YAAA,gCAA0CL,EAAAO,GAAA,mCAAAP,EAAAO,GAAA,KAAAJ,EAAA,OAAkEE,YAAA,cAAwBF,EAAA,OAAYE,YAAA,0DAAoEL,EAAAoB,GAAApB,EAAA,mBAAA7C,GAAwC,OAAAgD,EAAA,OAAkBG,OAAOwC,IAAA3F,EAAA2F,IAAAC,IAAA,UAA4B,sBAEzjCuB,oBCCjB,IAcAC,EAdyB7J,EAAQ,OAcjC8J,CACE3E,EACA0G,GATF,EAVA,SAAA9B,GACE/J,EAAQ,SAaV,kBAEA,MAUegK,EAAA,EAAAH,EAAiB","file":"static/js/13.01693b96cf028e56cf1a.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/test.50e4091.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/test.png\n// module id = 2FlR\n// module chunks = 12 13","<template>\n <div class=\"reviewed-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\">\n </nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'min-height': $store.state.bgHeight}\">\n <div class=\"reviewed-body-head\">\n <el-select class=\"w-130\" v-model=\"filterValue\" placeholder=\"全部状态\" @change=\"getTableList\">\n <el-option\n v-for=\"item in filterOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select><el-input\n class=\"w-250 m-l-10\"\n placeholder=\"请输入提交人姓名或门店名称\"\n prefix-icon=\"el-icon-search\"\n v-model=\"searchValue\"\n clearable\n @clear=\"clearSearch\"\n @keyup.enter.native=\"searchEnterFun\">\n </el-input>\n </div>\n <div class=\"reviewed-body-content\">\n <el-table\n ref=\"multipleTable\"\n :data=\"tableData\"\n tooltip-effect=\"dark\"\n style=\"width: 100%\">\n <el-table-column\n label=\"审核事项\">\n <template slot-scope=\"scope\">\n {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职'}}\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交人\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"flex\">\n <el-popover\n placement=\"top-start\"\n width=\"400\"\n trigger=\"hover\"\n @show=\"showSingleInfo(scope.row.applyId)\">\n <div class=\"apply-info-detail\">\n <div class=\"flex\">\n <div class=\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n <div class=\"flex flex-column apply-info-right flex-space-between\">\n <div class=\"apply-info-name\">{{scope.row.applyName}}\n <i :class=\"[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]\"></i>\n </div>\n <div class=\"apply-info-code\">\n <span class=\"w-80\">员工代码:</span><span class=\"w-130\">{{ scope.row.code }}</span>\n </div>\n <div class=\"apply-info-phone\">\n <span class=\"w-80\">手机号:</span><span class=\"w-130\">{{ scope.row.phoneNumber }}</span>\n </div>\n <div class=\"apply-info-job\">\n <span class=\"w-80\">职位:</span><span class=\"w-130\">{{ scope.row.positionName }}</span>\n </div>\n <div class=\"apply-info-store\">\n <span class=\"w-80\">所属门店:</span><span class=\"w-130\">{{ scope.row.storeName }}</span>\n </div>\n </div>\n </div>\n </div>\n <div slot=\"reference\">\n <div class=\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n </div>\n </el-popover>\n <div class=\"flex flex-column apply-info\">\n <span >{{scope.row.applyName}}</span>\n <span class=\"font-13\">{{scope.row.storeName}}</span>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"详情\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-hidden-2\">\n <!-- <span> {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 0? '新增成员': '成员离职'}}</span> -->\n <span>{{scope.row.detail}}</span>\n <el-button v-if=\"scope.row.auditingType == 0\" type=\"text\" @click=\"showStoreChange(scope.row)\">查看详情</el-button>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交时间\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeYMD}}</div>\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeHMS}}</div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"状态\">\n <template slot-scope=\"scope\">\n <span :class=\"[scope.row.auditingStatus == 2? 'color-FF585C':'']\">{{scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'}}</span>\n <el-popover\n class=\"inline-block\"\n placement=\"top\"\n width=\"150\"\n trigger=\"hover\">\n <div class=\"tooltip-text\">{{scope.row.refuseReason}}</div>\n <div slot=\"reference\">\n <i class=\"el-icon-question\" v-if=\"scope.row.auditingStatus == 2\" @click=\"toggleReason(scope.row)\"></i>\n </div>\n </el-popover>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 门店变更 -->\n <storeChange v-model=\"showStoreDialog\" :storeChangeData=\"storeChangeData\"></storeChange>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport storeChange from '@/components/review/store-change.vue';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport strLength from '@/common/js/strlen';\nimport { _debounce,formatDate } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"reviewed\",\n data() {\n return {\n tableH: (window.screen.availHeight - 464 - 126) + 'px',\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '审核中心',\n path: '/unreview'\n },\n {\n name: '已审核',\n path: ''\n }\n ],\n\n filterValue: '99',\n filterOptions: [\n // {\n // label: '待审核',\n // value: '0'\n // },\n {\n label: '已同意',\n value: '1'\n },\n {\n label: '已拒绝',\n value: '2'\n },\n {\n label: '已审核',\n value: '99'\n }\n ],\n\n searchValue: '', // 搜索\n\n tableData: [\n // {\n // enterpriseAuditingId: 1,\n // auditingType: 0,// 审核类型(0:门店信息变更,1:新增成员,2:成员离职)\n // detail: '',\n // relationId: 112,\n // applyId: '12223233',\n // applyName: '测试',\n // headPic: '',\n // storeName: '测试',\n // refuseReason: '111111',\n // auditingStatus: 1, //审核状态 (0:待审核 ,1: 已同意,2:已拒绝)\n // beforeContent: '',\n // afterContent: '',\n // createTime: '2018-12-09 14:34:56'\n // }\n ],\n multipleSelection: [],\n\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n\n // info\n applyInfo: {\n // photo: '',\n // applyName: '测试的',\n // sex: 2,\n // code: '223344545fffffffffffffff4',\n // phone: '13012343333',\n // job: '店长',\n // store: '测试门店'\n },\n\n // store\n showStoreDialog: false,\n storeChangeData: {},\n\n }\n },\n filters: {\n formatTimeYMD(data) {\n return data != '--' ? data.split(' ')[0] : '--';\n },\n formatTimeHMS(data) {\n return data != '--' ? data.split(' ')[1] : '--';\n },\n formatNum(data){\n const reg=/\\d{1,3}(?=(\\d{3})+$)/g;\n return (data + '').replace(reg, '$&,');\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 搜索标签清空\n */\n clearSearch() {\n const that = this;\n that.getTableList();\n },\n\n /**\n * 搜索标签\n */\n searchEnterFun(e) {\n const that = this;\n let searchVal = String(e.target.value).trim()\n if (!searchVal) {\n return false;\n }\n that.getTableList();\n },\n\n toggleReason(item) {\n const that = this;\n item.visible = true;\n that.tableData.forEach(function(ele,index){\n if (ele.enterpriseAuditingId != item.enterpriseAuditingId) {\n ele.visible = false;\n }\n })\n },\n\n /**\n * 表格---多选\n */\n handleSelectionChange(val) {\n const that = this;\n that.multipleSelection = val;\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getTableList();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n let fullPath = that.$route.fullPath;\n that.getTableList();\n },\n\n /**\n * 获取头像处显示信息\n */\n showSingleInfo(memberId) {\n const that = this;\n },\n\n /**\n * 显示门店变更\n */\n showStoreChange(item) {\n const that = this;\n that.showStoreDialog = true;\n that.storeChangeData = item;\n },\n\n /**\n * 获取列表数据\n */\n getTableList(val) {\n const that = this;\n let para = {\n auditingType: '',\n auditingStatus: that.filterValue,\n search: that.searchValue || '', // 搜索字段\n pageNum: that.currentPage, // 当前页\n pageSize: that.pageSize, // 一页显示个数\n }\n getRequest('/haoban-manage-web/audit/auditing-list.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n if (!!resData.result&& !!resData.result.list) {\n resData.result.list.forEach(function(ele,index){\n if (!!ele.createTime) {\n ele.createTime = formatDate(ele.createTime);\n }\n })\n }\n that.tableData = resData.result.list;\n that.total = resData.result.total;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n },\n mounted() {\n this.getTableList();\n },\n components: {\n navCrumb,\n storeChange\n }\n}\n</script>\n<style lang=\"less\" scoped>\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-start {\n -webkit-justify-content: flex-start;\n -moz-justify-content: flex-start;\n -ms-justify-content: flex-start;\n -o-justify-content: flex-start;\n justify-content: flex-start;\n}\n\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n\n.inline-block{\n display: inline-block;\n}\n\n.bg-82C5FF {\n background: #82C5FF;\n}\n\n.color-508CEE {\n color: #508CEE;\n}\n\n.color-FF585C {\n color: #FF585C;\n}\n\n.font-13 {\n font-size: 13px;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.line-h-18 {\n line-height: 18px;\n}\n\n.line-hidden-2 {\n .flex;\n .flex-align-center;\n .flex-start;\n height: 46px;\n overflow: hidden;\n white-space: pre-wrap;\n span {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n box-orient: vertical;\n max-height: 46px;\n overflow: hidden;\n }\n}\n\n.w-80 {\n width: 80px;\n}\n\n.w-130 {\n display: inline-block;\n width: 130px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.w-250 {\n width: 250px;\n}\n\n.m-l-10 {\n margin-left: 10px;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n.tooltip-text {\n width: 100%;\n white-space: pre-wrap;\n word-break: break-all;\n}\n\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n .right-box {\n background: #fff;\n min-height: 500px;\n padding: 24px;\n\n .w-280 {\n width: 280px;\n }\n\n .w-514 {\n width: 514px;\n }\n\n .m-l-20 {\n margin-left: 20px;\n }\n\n .m-t-45 {\n margin-top: 45px;\n }\n\n .v-align-b {\n vertical-align: bottom;\n }\n\n .text-center {\n text-align: center;\n }\n\n .reviewed-body-head {\n margin-bottom: 22px;\n }\n\n .table-head-pic {\n width: 35px;\n height: 35px;\n border-radius: 4px;\n i {\n font-size: 20px;\n color: #e5f3ff;\n }\n\n img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n }\n }\n\n .apply-info {\n margin-left: 15px;\n line-height: 18px;\n span {\n font-size: 14px;\n color: #606266;\n &.font-13 {\n font-size: 13px;\n }\n }\n }\n }\n}\n\n.apply-info-detail {\n /*padding: 18px;*/\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n .apply-info-img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n text-align: center;\n i {\n font-size: 106px;\n color: #e5f3ff;\n }\n img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n }\n }\n\n .apply-info-name {\n font-size: 16px;\n color: #303133;\n }\n\n .apply-info-right {\n width: 229px;\n padding-left: 16px;\n font-size: 13px;\n color: #606266;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .w-80 {\n display: inline-block;\n vertical-align: top;\n color: #303133;\n }\n\n .w-130 {\n color: #303133;\n }\n }\n\n}\n\n.el-icon-question {\n font-size: 14px;\n color: #C0C4CC;\n cursor: pointer;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/reviewed.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"reviewed-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'min-height': _vm.$store.state.bgHeight})},[_c('div',{staticClass:\"reviewed-body-head\"},[_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"全部状态\"},on:{\"change\":_vm.getTableList},model:{value:(_vm.filterValue),callback:function ($$v) {_vm.filterValue=$$v},expression:\"filterValue\"}},_vm._l((_vm.filterOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})})),_c('el-input',{staticClass:\"w-250 m-l-10\",attrs:{\"placeholder\":\"请输入提交人姓名或门店名称\",\"prefix-icon\":\"el-icon-search\",\"clearable\":\"\"},on:{\"clear\":_vm.clearSearch},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"reviewed-body-content\"},[_c('el-table',{ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"tooltip-effect\":\"dark\"}},[_c('el-table-column',{attrs:{\"label\":\"审核事项\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职')+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交人\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"flex\"},[_c('el-popover',{attrs:{\"placement\":\"top-start\",\"width\":\"400\",\"trigger\":\"hover\"},on:{\"show\":function($event){_vm.showSingleInfo(scope.row.applyId)}}},[_c('div',{staticClass:\"apply-info-detail\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info-right flex-space-between\"},[_c('div',{staticClass:\"apply-info-name\"},[_vm._v(_vm._s(scope.row.applyName)+\"\\n \"),_c('i',{class:[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]})]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-code\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"员工代码:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-phone\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"手机号:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.phoneNumber))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-job\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"职位:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.positionName))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-store\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"所属门店:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.storeName))])])])])]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_c('div',{staticClass:\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info\"},[_c('span',[_vm._v(_vm._s(scope.row.applyName))]),_vm._v(\" \"),_c('span',{staticClass:\"font-13\"},[_vm._v(_vm._s(scope.row.storeName))])])],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"详情\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-hidden-2\"},[_c('span',[_vm._v(_vm._s(scope.row.detail))]),_vm._v(\" \"),(scope.row.auditingType == 0)?_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.showStoreChange(scope.row)}}},[_vm._v(\"查看详情\")]):_vm._e()],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交时间\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeYMD\")(scope.row.createTime)))]),_vm._v(\" \"),_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeHMS\")(scope.row.createTime)))])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{class:[scope.row.auditingStatus == 2? 'color-FF585C':'']},[_vm._v(_vm._s(scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'))]),_vm._v(\" \"),_c('el-popover',{staticClass:\"inline-block\",attrs:{\"placement\":\"top\",\"width\":\"150\",\"trigger\":\"hover\"}},[_c('div',{staticClass:\"tooltip-text\"},[_vm._v(_vm._s(scope.row.refuseReason))]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[(scope.row.auditingStatus == 2)?_c('i',{staticClass:\"el-icon-question\",on:{\"click\":function($event){_vm.toggleReason(scope.row)}}}):_vm._e()])])]}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('storeChange',{attrs:{\"storeChangeData\":_vm.storeChangeData},model:{value:(_vm.showStoreDialog),callback:function ($$v) {_vm.showStoreDialog=$$v},expression:\"showStoreDialog\"}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-230f4fc2\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-230f4fc2\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./reviewed.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-230f4fc2\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./reviewed.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-230f4fc2\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"门店环境图变更\" :visible.sync=\"customDialog\" width=\"600px\" :before-close=\"handleCardClose\">\n <div class=\"dialog-content\">\n <el-row>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更前\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in leftData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更后\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in rightData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n </el-row>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'custom-dialog',\n props: {\n value: {\n type: Boolean,\n default: false\n },\n storeChangeData: {\n type: Object\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: this.value, // 弹框显示\n\n leftData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ],\n rightData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ]\n }\n },\n beforeMount() {\n const that = this\n },\n methods:{\n\n // 关闭\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n // 取消\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('input',that.customDialog)\n },\n\n formatDate(time,flag) {\n const that = this\n // (0-9)年月数字的显示\n function formatDig(num) {\n return num > 9 ? '' + num : '0' + num;\n }\n let myDate = new Date(time);\n let y = myDate.getFullYear();\n let m = myDate.getMonth()+1;\n let d = myDate.getDate();\n return y + flag + formatDig(m) + flag + formatDig(d) + flag\n },\n\n handleData() {\n const that = this;\n\n }\n\n },\n watch: {\n value: function(newData,oldData){\n const that = this;\n // console.log(\"新数据:\",newData,oldData)\n that.customDialog = newData\n },\n storeChangeData: function(newData,oldData){\n const that = this;\n }\n },\n\n /* 接收数据 */\n mounted(){\n const that = this;\n // console.log(\"新数据:\",that.value)\n // that.customDialog = that.showStoreDialog\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n.dialog-content {\n /*height: 484px;*/\n padding-bottom: 20px;\n\n .grid-content {\n width: 100%;\n height: 42px;\n line-height: 42px;\n text-align: center;\n background: rgba(245,247,250,1);\n font-size: 16px;\n color: #303133;\n /*border: 1px solid rgba(235,238,245,1);\n border-radius: 4px;*/\n }\n\n .el-row {\n width: 100%;\n font-size: 0\n }\n .el-col-11 {\n width: 272px;\n border:1px solid rgba(235,238,245,1);\n border-radius: 4px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n &+.el-col-11 {\n margin-left: 14px;\n }\n }\n\n .data-body {\n height: 442px;\n max-height: 442px;\n padding: 11px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .data-body-content {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n }\n img {\n width: 100%;\n &+img {\n margin-top: 10px;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/review/store-change.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"门店环境图变更\",\"visible\":_vm.customDialog,\"width\":\"600px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更前\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.leftData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更后\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.rightData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])])],1)],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-17b2eb2d\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./store-change.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./store-change.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-17b2eb2d\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/review/store-change.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/test.png","webpack:///src/views/reviewCenter/reviewed.vue","webpack:///./src/views/reviewCenter/reviewed.vue?e26b","webpack:///./src/views/reviewCenter/reviewed.vue","webpack:///src/components/review/store-change.vue","webpack:///./src/components/review/store-change.vue?5ea5","webpack:///./src/components/review/store-change.vue"],"names":["module","exports","__webpack_require__","p","reviewed","name","data","tableH","window","screen","availHeight","navpath","path","filterValue","filterOptions","label","value","searchValue","tableData","multipleSelection","currentPage","pageSize","total","applyInfo","showStoreDialog","storeChangeData","filters","formatTimeYMD","split","formatTimeHMS","formatNum","replace","computed","methods","clearSearch","this","getTableList","searchEnterFun","e","String","target","trim","toggleReason","item","visible","forEach","ele","index","enterpriseAuditingId","handleSelectionChange","val","handleSizeChange","handleCurrentChange","$route","fullPath","showSingleInfo","memberId","showStoreChange","that","para","auditingType","auditingStatus","search","pageNum","Object","api","then","res","resData","errorCode","result","list","createTime","js_public","error","errorMsg","catch","$message","duration","message","mounted","components","navCrumb","nav","storeChange","store_change","reviewCenter_reviewed","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","style","min-height","$store","state","bgHeight","placeholder","on","change","model","callback","$$v","expression","_l","key","prefix-icon","clearable","clear","nativeOn","keyup","$event","_k","keyCode","ref","staticStyle","width","tooltip-effect","scopedSlots","_u","fn","scope","_s","row","show-overflow-tooltip","placement","trigger","show","applyId","headPic","src","alt","applyName","class","sex","code","phoneNumber","positionName","storeName","slot","detail","type","click","_e","_f","refuseReason","length","background","current-page","page-sizes","page-size","layout","size-change","current-change","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__","props","Boolean","default","repProjectName","customDialog","leftData","rightData","beforeMount","handleCardClose","customCancel","$emit","formatDate","time","flag","formatDig","num","myDate","Date","y","getFullYear","m","getMonth","d","getDate","handleData","watch","newData","oldData","review_store_change","title","before-close","update:visible","span"],"mappings":"0CAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,iOCqJxCC,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,OAAAC,OAAAC,OAAAC,YAAA,aAEAC,UAEAN,KAAA,KACAO,KAAA,WAGAP,KAAA,OACAO,KAAA,cAGAP,KAAA,MACAO,KAAA,KAIAC,YAAA,KACAC,gBAMAC,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,OAIAC,YAAA,GAEAC,aAiBAC,qBAGAC,YAAA,EACAC,SAAA,GACAC,MAAA,EAGAC,aAWAC,iBAAA,EACAC,qBAIAC,SACAC,cADA,SACArB,GACA,YAAAA,IAAAsB,MAAA,cAEAC,cAJA,SAIAvB,GACA,YAAAA,IAAAsB,MAAA,cAEAE,UAPA,SAOAxB,GAEA,OAAAA,EAAA,IAAAyB,QADA,wBACA,SAGAC,YAGAC,SAIA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e4091.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/test.png\n// module id = 2FlR\n// module chunks = 13 14","<template>\n <div class=\"reviewed-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\">\n </nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'min-height': $store.state.bgHeight}\">\n <div class=\"reviewed-body-head\">\n <el-select class=\"w-130\" v-model=\"filterValue\" placeholder=\"全部状态\" @change=\"getTableList\">\n <el-option\n v-for=\"item in filterOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select><el-input\n class=\"w-250 m-l-10\"\n placeholder=\"请输入提交人姓名或门店名称\"\n prefix-icon=\"el-icon-search\"\n v-model=\"searchValue\"\n clearable\n @clear=\"clearSearch\"\n @keyup.enter.native=\"searchEnterFun\">\n </el-input>\n </div>\n <div class=\"reviewed-body-content\">\n <el-table\n ref=\"multipleTable\"\n :data=\"tableData\"\n tooltip-effect=\"dark\"\n style=\"width: 100%\">\n <el-table-column\n label=\"审核事项\">\n <template slot-scope=\"scope\">\n {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职'}}\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交人\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"flex\">\n <el-popover\n placement=\"top-start\"\n width=\"400\"\n trigger=\"hover\"\n @show=\"showSingleInfo(scope.row.applyId)\">\n <div class=\"apply-info-detail\">\n <div class=\"flex\">\n <div class=\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n <div class=\"flex flex-column apply-info-right flex-space-between\">\n <div class=\"apply-info-name\">{{scope.row.applyName}}\n <i :class=\"[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]\"></i>\n </div>\n <div class=\"apply-info-code\">\n <span class=\"w-80\">员工代码:</span><span class=\"w-130\">{{ scope.row.code }}</span>\n </div>\n <div class=\"apply-info-phone\">\n <span class=\"w-80\">手机号:</span><span class=\"w-130\">{{ scope.row.phoneNumber }}</span>\n </div>\n <div class=\"apply-info-job\">\n <span class=\"w-80\">职位:</span><span class=\"w-130\">{{ scope.row.positionName }}</span>\n </div>\n <div class=\"apply-info-store\">\n <span class=\"w-80\">所属门店:</span><span class=\"w-130\">{{ scope.row.storeName }}</span>\n </div>\n </div>\n </div>\n </div>\n <div slot=\"reference\">\n <div class=\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n </div>\n </el-popover>\n <div class=\"flex flex-column apply-info\">\n <span >{{scope.row.applyName}}</span>\n <span class=\"font-13\">{{scope.row.storeName}}</span>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"详情\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-hidden-2\">\n <!-- <span> {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 0? '新增成员': '成员离职'}}</span> -->\n <span>{{scope.row.detail}}</span>\n <el-button v-if=\"scope.row.auditingType == 0\" type=\"text\" @click=\"showStoreChange(scope.row)\">查看详情</el-button>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交时间\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeYMD}}</div>\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeHMS}}</div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"状态\">\n <template slot-scope=\"scope\">\n <span :class=\"[scope.row.auditingStatus == 2? 'color-FF585C':'']\">{{scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'}}</span>\n <el-popover\n class=\"inline-block\"\n placement=\"top\"\n width=\"150\"\n trigger=\"hover\">\n <div class=\"tooltip-text\">{{scope.row.refuseReason}}</div>\n <div slot=\"reference\">\n <i class=\"el-icon-question\" v-if=\"scope.row.auditingStatus == 2\" @click=\"toggleReason(scope.row)\"></i>\n </div>\n </el-popover>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 门店变更 -->\n <storeChange v-model=\"showStoreDialog\" :storeChangeData=\"storeChangeData\"></storeChange>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport storeChange from '@/components/review/store-change.vue';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport strLength from '@/common/js/strlen';\nimport { _debounce,formatDate } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"reviewed\",\n data() {\n return {\n tableH: (window.screen.availHeight - 464 - 126) + 'px',\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '审核中心',\n path: '/unreview'\n },\n {\n name: '已审核',\n path: ''\n }\n ],\n\n filterValue: '99',\n filterOptions: [\n // {\n // label: '待审核',\n // value: '0'\n // },\n {\n label: '已同意',\n value: '1'\n },\n {\n label: '已拒绝',\n value: '2'\n },\n {\n label: '已审核',\n value: '99'\n }\n ],\n\n searchValue: '', // 搜索\n\n tableData: [\n // {\n // enterpriseAuditingId: 1,\n // auditingType: 0,// 审核类型(0:门店信息变更,1:新增成员,2:成员离职)\n // detail: '',\n // relationId: 112,\n // applyId: '12223233',\n // applyName: '测试',\n // headPic: '',\n // storeName: '测试',\n // refuseReason: '111111',\n // auditingStatus: 1, //审核状态 (0:待审核 ,1: 已同意,2:已拒绝)\n // beforeContent: '',\n // afterContent: '',\n // createTime: '2018-12-09 14:34:56'\n // }\n ],\n multipleSelection: [],\n\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n\n // info\n applyInfo: {\n // photo: '',\n // applyName: '测试的',\n // sex: 2,\n // code: '223344545fffffffffffffff4',\n // phone: '13012343333',\n // job: '店长',\n // store: '测试门店'\n },\n\n // store\n showStoreDialog: false,\n storeChangeData: {},\n\n }\n },\n filters: {\n formatTimeYMD(data) {\n return data != '--' ? data.split(' ')[0] : '--';\n },\n formatTimeHMS(data) {\n return data != '--' ? data.split(' ')[1] : '--';\n },\n formatNum(data){\n const reg=/\\d{1,3}(?=(\\d{3})+$)/g;\n return (data + '').replace(reg, '$&,');\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 搜索标签清空\n */\n clearSearch() {\n const that = this;\n that.getTableList();\n },\n\n /**\n * 搜索标签\n */\n searchEnterFun(e) {\n const that = this;\n let searchVal = String(e.target.value).trim()\n if (!searchVal) {\n return false;\n }\n that.getTableList();\n },\n\n toggleReason(item) {\n const that = this;\n item.visible = true;\n that.tableData.forEach(function(ele,index){\n if (ele.enterpriseAuditingId != item.enterpriseAuditingId) {\n ele.visible = false;\n }\n })\n },\n\n /**\n * 表格---多选\n */\n handleSelectionChange(val) {\n const that = this;\n that.multipleSelection = val;\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getTableList();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n let fullPath = that.$route.fullPath;\n that.getTableList();\n },\n\n /**\n * 获取头像处显示信息\n */\n showSingleInfo(memberId) {\n const that = this;\n },\n\n /**\n * 显示门店变更\n */\n showStoreChange(item) {\n const that = this;\n that.showStoreDialog = true;\n that.storeChangeData = item;\n },\n\n /**\n * 获取列表数据\n */\n getTableList(val) {\n const that = this;\n let para = {\n auditingType: '',\n auditingStatus: that.filterValue,\n search: that.searchValue || '', // 搜索字段\n pageNum: that.currentPage, // 当前页\n pageSize: that.pageSize, // 一页显示个数\n }\n getRequest('/haoban-manage-web/audit/auditing-list.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n if (!!resData.result&& !!resData.result.list) {\n resData.result.list.forEach(function(ele,index){\n if (!!ele.createTime) {\n ele.createTime = formatDate(ele.createTime);\n }\n })\n }\n that.tableData = resData.result.list;\n that.total = resData.result.total;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n },\n mounted() {\n this.getTableList();\n },\n components: {\n navCrumb,\n storeChange\n }\n}\n</script>\n<style lang=\"less\" scoped>\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-start {\n -webkit-justify-content: flex-start;\n -moz-justify-content: flex-start;\n -ms-justify-content: flex-start;\n -o-justify-content: flex-start;\n justify-content: flex-start;\n}\n\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n\n.inline-block{\n display: inline-block;\n}\n\n.bg-82C5FF {\n background: #82C5FF;\n}\n\n.color-508CEE {\n color: #508CEE;\n}\n\n.color-FF585C {\n color: #FF585C;\n}\n\n.font-13 {\n font-size: 13px;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.line-h-18 {\n line-height: 18px;\n}\n\n.line-hidden-2 {\n .flex;\n .flex-align-center;\n .flex-start;\n height: 46px;\n overflow: hidden;\n white-space: pre-wrap;\n span {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n box-orient: vertical;\n max-height: 46px;\n overflow: hidden;\n }\n}\n\n.w-80 {\n width: 80px;\n}\n\n.w-130 {\n display: inline-block;\n width: 130px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.w-250 {\n width: 250px;\n}\n\n.m-l-10 {\n margin-left: 10px;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n.tooltip-text {\n width: 100%;\n white-space: pre-wrap;\n word-break: break-all;\n}\n\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n .right-box {\n background: #fff;\n min-height: 500px;\n padding: 24px;\n\n .w-280 {\n width: 280px;\n }\n\n .w-514 {\n width: 514px;\n }\n\n .m-l-20 {\n margin-left: 20px;\n }\n\n .m-t-45 {\n margin-top: 45px;\n }\n\n .v-align-b {\n vertical-align: bottom;\n }\n\n .text-center {\n text-align: center;\n }\n\n .reviewed-body-head {\n margin-bottom: 22px;\n }\n\n .table-head-pic {\n width: 35px;\n height: 35px;\n border-radius: 4px;\n i {\n font-size: 20px;\n color: #e5f3ff;\n }\n\n img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n }\n }\n\n .apply-info {\n margin-left: 15px;\n line-height: 18px;\n span {\n font-size: 14px;\n color: #606266;\n &.font-13 {\n font-size: 13px;\n }\n }\n }\n }\n}\n\n.apply-info-detail {\n /*padding: 18px;*/\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n .apply-info-img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n text-align: center;\n i {\n font-size: 106px;\n color: #e5f3ff;\n }\n img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n }\n }\n\n .apply-info-name {\n font-size: 16px;\n color: #303133;\n }\n\n .apply-info-right {\n width: 229px;\n padding-left: 16px;\n font-size: 13px;\n color: #606266;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .w-80 {\n display: inline-block;\n vertical-align: top;\n color: #303133;\n }\n\n .w-130 {\n color: #303133;\n }\n }\n\n}\n\n.el-icon-question {\n font-size: 14px;\n color: #C0C4CC;\n cursor: pointer;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/reviewed.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"reviewed-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'min-height': _vm.$store.state.bgHeight})},[_c('div',{staticClass:\"reviewed-body-head\"},[_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"全部状态\"},on:{\"change\":_vm.getTableList},model:{value:(_vm.filterValue),callback:function ($$v) {_vm.filterValue=$$v},expression:\"filterValue\"}},_vm._l((_vm.filterOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})})),_c('el-input',{staticClass:\"w-250 m-l-10\",attrs:{\"placeholder\":\"请输入提交人姓名或门店名称\",\"prefix-icon\":\"el-icon-search\",\"clearable\":\"\"},on:{\"clear\":_vm.clearSearch},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"reviewed-body-content\"},[_c('el-table',{ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"tooltip-effect\":\"dark\"}},[_c('el-table-column',{attrs:{\"label\":\"审核事项\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职')+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交人\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"flex\"},[_c('el-popover',{attrs:{\"placement\":\"top-start\",\"width\":\"400\",\"trigger\":\"hover\"},on:{\"show\":function($event){_vm.showSingleInfo(scope.row.applyId)}}},[_c('div',{staticClass:\"apply-info-detail\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info-right flex-space-between\"},[_c('div',{staticClass:\"apply-info-name\"},[_vm._v(_vm._s(scope.row.applyName)+\"\\n \"),_c('i',{class:[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]})]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-code\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"员工代码:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-phone\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"手机号:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.phoneNumber))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-job\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"职位:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.positionName))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-store\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"所属门店:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.storeName))])])])])]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_c('div',{staticClass:\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info\"},[_c('span',[_vm._v(_vm._s(scope.row.applyName))]),_vm._v(\" \"),_c('span',{staticClass:\"font-13\"},[_vm._v(_vm._s(scope.row.storeName))])])],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"详情\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-hidden-2\"},[_c('span',[_vm._v(_vm._s(scope.row.detail))]),_vm._v(\" \"),(scope.row.auditingType == 0)?_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.showStoreChange(scope.row)}}},[_vm._v(\"查看详情\")]):_vm._e()],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交时间\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeYMD\")(scope.row.createTime)))]),_vm._v(\" \"),_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeHMS\")(scope.row.createTime)))])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{class:[scope.row.auditingStatus == 2? 'color-FF585C':'']},[_vm._v(_vm._s(scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'))]),_vm._v(\" \"),_c('el-popover',{staticClass:\"inline-block\",attrs:{\"placement\":\"top\",\"width\":\"150\",\"trigger\":\"hover\"}},[_c('div',{staticClass:\"tooltip-text\"},[_vm._v(_vm._s(scope.row.refuseReason))]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[(scope.row.auditingStatus == 2)?_c('i',{staticClass:\"el-icon-question\",on:{\"click\":function($event){_vm.toggleReason(scope.row)}}}):_vm._e()])])]}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('storeChange',{attrs:{\"storeChangeData\":_vm.storeChangeData},model:{value:(_vm.showStoreDialog),callback:function ($$v) {_vm.showStoreDialog=$$v},expression:\"showStoreDialog\"}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-230f4fc2\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-230f4fc2\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./reviewed.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-230f4fc2\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./reviewed.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-230f4fc2\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"门店环境图变更\" :visible.sync=\"customDialog\" width=\"600px\" :before-close=\"handleCardClose\">\n <div class=\"dialog-content\">\n <el-row>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更前\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in leftData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更后\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in rightData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n </el-row>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'custom-dialog',\n props: {\n value: {\n type: Boolean,\n default: false\n },\n storeChangeData: {\n type: Object\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: this.value, // 弹框显示\n\n leftData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ],\n rightData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ]\n }\n },\n beforeMount() {\n const that = this\n },\n methods:{\n\n // 关闭\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n // 取消\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('input',that.customDialog)\n },\n\n formatDate(time,flag) {\n const that = this\n // (0-9)年月数字的显示\n function formatDig(num) {\n return num > 9 ? '' + num : '0' + num;\n }\n let myDate = new Date(time);\n let y = myDate.getFullYear();\n let m = myDate.getMonth()+1;\n let d = myDate.getDate();\n return y + flag + formatDig(m) + flag + formatDig(d) + flag\n },\n\n handleData() {\n const that = this;\n\n }\n\n },\n watch: {\n value: function(newData,oldData){\n const that = this;\n // console.log(\"新数据:\",newData,oldData)\n that.customDialog = newData\n },\n storeChangeData: function(newData,oldData){\n const that = this;\n }\n },\n\n /* 接收数据 */\n mounted(){\n const that = this;\n // console.log(\"新数据:\",that.value)\n // that.customDialog = that.showStoreDialog\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n.dialog-content {\n /*height: 484px;*/\n padding-bottom: 20px;\n\n .grid-content {\n width: 100%;\n height: 42px;\n line-height: 42px;\n text-align: center;\n background: rgba(245,247,250,1);\n font-size: 16px;\n color: #303133;\n /*border: 1px solid rgba(235,238,245,1);\n border-radius: 4px;*/\n }\n\n .el-row {\n width: 100%;\n font-size: 0\n }\n .el-col-11 {\n width: 272px;\n border:1px solid rgba(235,238,245,1);\n border-radius: 4px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n &+.el-col-11 {\n margin-left: 14px;\n }\n }\n\n .data-body {\n height: 442px;\n max-height: 442px;\n padding: 11px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .data-body-content {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n }\n img {\n width: 100%;\n &+img {\n margin-top: 10px;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/review/store-change.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"门店环境图变更\",\"visible\":_vm.customDialog,\"width\":\"600px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更前\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.leftData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更后\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.rightData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])])],1)],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-17b2eb2d\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./store-change.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./store-change.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-17b2eb2d\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/review/store-change.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([14],{"6Or3":function(e,t){},LUXA:function(e,t){},NNAT:function(e,t,a){"use strict";var o=a("fZjL"),i=a.n(o),s=a("mvHQ"),l=a.n(s),r=a("P9l9"),n=a("0xDb"),c={name:"list-item",props:{item:{type:String,required:!0}},filters:{formatDate:n.b},data:function(){return{typeLsit:["全部","全职","兼职","外包","实习","无类型"],reasons:["","家庭原因","个人原因","发展原因","合同到期不续签","协议解除","无法胜任工作","经济性裁员","严重违法违纪","其他"],propList:{headPic:{label:"",slot:!0,width:50},clerkName:{label:"姓名",width:90},clerkPhone:{label:"手机号"},groupName:{label:"部门"},clerkCode:{label:"code"},positionName:{label:"职位"},clerkType:{label:"员工类型",slot:!0},hireDate:{label:"入职日期",needSort:"custom",slot:!0},correctionDate:{label:"转正日期",needSort:"custom",slot:!0},fireDate:{label:"离职日期",needSort:"custom",slot:!0},fireReason:{label:"离职原因",slot:!0},handleEmployee:{label:"操作",slot:!0},handleUnEmployee:{label:"操作",slot:!0}}}},methods:{callHandle:function(e){console.log(e),"编辑员工资料"!=e.typeTitle?this.$emit("callHandle",e.obj,e.type,e.typeTitle):location.href="#/recordInfo?recordId="+e.obj.recordId}}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.propList[e.item].slot?a("el-table-column",{attrs:{label:e.propList[e.item].label,width:e.propList[e.item].width,sortable:e.propList[e.item].needSort,prop:e.item},scopedSlots:e._u([{key:"default",fn:function(t){return["clerkType"==e.item?a("div",[e._v("\n "+e._s(e.typeLsit[t.row[e.item]||5])+"\n ")]):"hireDate"==e.item||"correctionDate"==e.item||"fireDate"==e.item?a("div",[e._v("\n "+e._s(e._f("formatDate")(t.row[e.item],"YY-MM-DD"))+"\n ")]):"headPic"==e.item?a("div",[t.row[e.item]?a("img",{staticClass:"header-pic",attrs:{src:t.row[e.item]}}):a("div",{staticClass:"replace-head-img"},[a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])]):"fireReason"==e.item?a("div",[e._v("\n "+e._s(e.reasons[t.row[e.item]])+"\n ")]):"handleEmployee"==e.item?a("div",[a("div",{staticClass:"table-handle"},[a("el-dropdown",{staticClass:"more",on:{command:e.callHandle}},[a("span",{staticClass:"el-dropdown-link"},[e._v("\n 更多"),a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[2==t.row.clerkStatus?[a("el-dropdown-item",{attrs:{command:{obj:t.row,type:"turnPositive",typeTitle:"办理转正"}}},[e._v("办理转正")]),e._v(" "),a("el-dropdown-item",{attrs:{command:{obj:t.row,type:"eidtCorrectionTime",typeTitle:"修改转正时间"}}},[e._v("修改转正时间")])]:e._e(),e._v(" "),a("el-dropdown-item",{attrs:{command:{obj:t.row,type:"editEmployee",typeTitle:"编辑员工资料"}}},[e._v("编辑员工资料")]),e._v(" "),a("el-dropdown-item",{attrs:{command:{obj:t.row,type:"resignation",typeTitle:"办理离职"}}},[e._v("办理离职")])],2)],1)],1)]):"handleUnEmployee"==e.item?a("div",[a("div",{staticClass:"table-handle"},[a("a",{staticClass:"a-href",attrs:{href:"#/recordInfo?recordId="+t.row.recordId}},[e._v("编辑")])])]):e._e()]}}])}):a("el-table-column",{attrs:{label:e.propList[e.item].label,width:e.propList[e.item].width,prop:e.item}})},staticRenderFns:[]};var p=a("VU/8")(c,d,!1,function(e){a("LUXA")},null,null).exports,u=a("IVno"),h=a("Ie7z"),m=a("c4uw"),f={name:"employeeRecordList",props:{isUnEmployee:{type:Boolean,default:!1}},components:{listItem:p,handleDialog:u.a,vueSelectStore:h.a,vueSelectEmployee:m.a},data:function(){return{pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}]},employeeList:[],pageNum:1,pageSize:20,sortType:"desc",sortColumn:"hireDate",statusList:["全部","正式","试用"],typeLsit:["全部","全职","兼职","外包","实习","无类型"],clerkType:0,clerkStatus:0,total:0,handleType:"turnPositive",typeTitle:"",dialogVisible:!1,employeeObj:{},fireDate:[],startDate:"",endDate:"",showSelector:!0,searchParam:"",departMentSet:{},storeSet:{},treeData:{},selectionList:[],disabled:!0,chooseClerkIdList:[],chooseGroupIdList:[],chooseStoreIdList:[],adList:[],adDefaultSelection:[],stList:[],changed:0}},methods:{searchFn:function(){this.getEmloyeeList()},getGroupData:function(){var e=this;Object(r.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var a=[],o=[];1==t.data.errorCode&&(a=t.data.result.departmentList||[],o=t.data.result.searchList||[]),e.treeData={treeData:a,personData:o},e.disabled=!1}).catch(function(e){})},callSelector:function(){this.$refs.departmentSelector.treeSet.dialogVisible=!0},callStoreSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},showExportSet:function(){if(this.isUnEmployee){var e=window.location.origin;-1!=e.indexOf("localhost")&&(e="http://www.gicdev.com");var t=this,a=(t.pageNum,t.chooseClerkIdList.join(","),t.chooseGroupIdList.join(","),t.chooseStoreIdList.join(","),t.pageSize,t.sortType,0==t.clerkStatus||t.clerkStatus,t.sortColumn,0==t.clerkType||t.clerkType,t.startDate,t.endDate,t.searchParam,0==t.clerkType?"":t.clerkType);location.href=e+"/haoban-manage-web/record/export-fire-employee-record?clerkType="+a+"&sortType="+t.sortType+"&sortColumn="+t.sortColumn+"&startDate="+t.startDate+"&endDate="+t.endDate+"&searchParam="+t.searchParam+"&chooseClerkIdList="+t.chooseClerkIdList.join(",")+"&chooseGroupIdList="+t.chooseGroupIdList.join(",")+"&chooseStoreIdList="+t.chooseStoreIdList.join(",")}else this.$emit("showExportSetFn")},handleSelectedList:function(e){this.adDefaultSelection=e,this.adList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},handleStoreSelectedList:function(e){this.stList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},formatSelectionList:function(e){var t=this.unique(e);this.selectionList=t;var a=this;t.length&&(a.chooseClerkIdList=[],a.chooseStoreIdList=[],a.chooseGroupIdList=[],t.forEach(function(e){e.employeeClerkId?a.chooseClerkIdList.push(e.employeeClerkId):e.storeId?a.chooseStoreIdList.push(e.storeId):e.groupId&&a.chooseGroupIdList.push(e.groupId)}),a.getEmloyeeList())},unique:function(e){var t={};return e.forEach(function(e){t[l()(e)]=e}),e=i()(t).map(function(e){return JSON.parse(e)})},delSld:function(e,t){var a=this,o=this.selectionList.indexOf(e);this.selectionList.splice(o,1),this.formatSelectionList(this.selectionList),a.adList.forEach(function(t){t.id==e.id&&a.adList.splice(a.adList.indexOf(t),1)}),a.changed+=1,a.adDefaultSelection=a.adList.slice(0)},handleSuccess:function(){this.dialogVisible=!1,this.getEmloyeeList()},callHandle:function(e,t,a){this.handleType=t,this.employeeObj=e,this.typeTitle=a,this.dialogVisible=!0},handleSizeChange:function(e){this.pageSize=e,this.getEmloyeeList()},handleCurrentChange:function(e){this.pageNum=e,this.getEmloyeeList()},sortList:function(e){this.sortColumn=e.prop,this.sortType="descending"==e.order?"desc":"asc",this.getEmloyeeList()},reGetList:function(){this.getEmloyeeList()},getEmloyeeList:function(){var e=this,t=e.isUnEmployee,a=t?"/haoban-manage-web/record/find-fire-employee-record-page":"/haoban-manage-web/record/find-on-work-employee-record-page",o={pageNum:e.pageNum,chooseClerkIdList:e.chooseClerkIdList.join(","),chooseGroupIdList:e.chooseGroupIdList.join(","),chooseStoreIdList:e.chooseStoreIdList.join(","),pageSize:e.pageSize,sortType:e.sortType,clerkStatus:0==e.clerkStatus?"":e.clerkStatus,sortColumn:e.sortColumn,clerkType:0==e.clerkType?"":e.clerkType,startDate:e.startDate,endDate:e.endDate,searchParam:e.searchParam};Object(r.a)(a,o).then(function(a){1==a.data.errorCode?(e.employeeList=a.data.result.list,e.total=t?a.data.result.total:a.data.result.pageInfo.total):e.$message.error({message:a.data.message})}).catch(function(t){e.$message({message:t.message})})},selectDate:function(e){e?(this.startDate=e[0],this.endDate=e[1]):(this.startDate="",this.endDate=""),this.getEmloyeeList()}},beforeMount:function(){this.getEmloyeeList(),this.getGroupData()},computed:{propList:function(){return this.isUnEmployee?["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","fireDate","fireReason","handleUnEmployee"]:["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","correctionDate","handleEmployee"]}}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"e-r-l-container"},[a("div",{staticClass:"handle-area"},[a("div",{staticClass:"flex1"},[a("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},attrs:{disabled:e.disabled},on:{click:e.callSelector}},[e._v("行政架构选人")]),e._v(" "),a("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},on:{click:e.callStoreSelector}},[e._v("门店架构选人")]),e._v(" "),e.isUnEmployee?a("div",{staticClass:"block"},[a("span",{staticClass:"demonstration"},[e._v("离职日期")]),e._v(" "),a("el-date-picker",{attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":e.pickerOptions2},on:{change:e.selectDate},model:{value:e.fireDate,callback:function(t){e.fireDate=t},expression:"fireDate"}})],1):[a("el-select",{staticClass:"m-r-10 w-130",attrs:{placeholder:"选择类型"},on:{change:e.reGetList},model:{value:e.clerkType,callback:function(t){e.clerkType=t},expression:"clerkType"}},e._l(e.typeLsit,function(e,t){return a("el-option",{key:t,attrs:{label:e,value:t}})})),e._v(" "),a("el-select",{staticClass:"w-130",attrs:{placeholder:"选择状态"},on:{change:e.reGetList},model:{value:e.clerkStatus,callback:function(t){e.clerkStatus=t},expression:"clerkStatus"}},e._l(e.statusList,function(e,t){return a("el-option",{key:t,attrs:{label:e,value:t}})}))],e._v(" "),a("el-input",{staticStyle:{width:"218px","margin-left":"10px"},attrs:{placeholder:"请输入姓名或手机号",clearable:""},on:{clear:e.searchFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchParam,callback:function(t){e.searchParam=t},expression:"searchParam"}})],2),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.showExportSet}},[e._v("导出"),a("i",{staticClass:"el-icon-upload el-icon--right"})])],1),e._v(" "),e.selectionList.length>0?a("ul",{staticClass:"selector-selected-list"},[e._l(e.selectionList,function(t,o){return[a("li",{key:o+t.id+t.label,staticClass:"sld"},[e._v(e._s(t.label)+" "),a("i",{staticClass:"el-icon-close",on:{click:function(a){e.delSld(t,t.isStoreGroup)}}})])]}),e._v(" "),a("li",{staticClass:"sld tip"},[e._v("共筛选出"+e._s(e.total)+"人")])],2):e._e(),e._v(" "),a("el-table",{staticClass:"list-table",attrs:{height:"490px",data:e.employeeList,"default-sort":{prop:"hireDate",order:"descending"}},on:{"sort-change":e.sortList}},[e._l(e.propList,function(t){return[a("list-item",{key:t,attrs:{item:t},on:{callHandle:e.callHandle}})]})],2),e._v(" "),a("el-pagination",{staticClass:"pagination",attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNum,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),a("el-dialog",{attrs:{title:e.typeTitle,visible:e.dialogVisible,width:"480px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("handle-dialog",{attrs:{employee:e.employeeObj,handleType:e.handleType,typeTitle:e.typeTitle},on:{handleSuccess:e.handleSuccess}})],1),e._v(" "),a("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleStoreSelectedList}}),e._v(" "),a("vue-select-employee",{ref:"departmentSelector",attrs:{changed:e.changed,treeData:e.treeData,defaultSelection:e.adDefaultSelection},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(f,y,!1,function(e){a("rMm+")},null,null);t.a=g.exports},TGrv:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("3Xzz"),i=(a("P9l9"),a("NNAT")),s={name:"employeeRecord",components:{navCrumb:o.a,employeeList:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"离职员工",path:""}],typeObj:{onWorkCout:"在职员工",allWorkCount:"全职",partTimeWorkCount:"兼职",outWorkCount:"外包",practiceWorkCount:"实习",noTypeWorkCount:"无类型",regularCount:"正式",onTrialCount:"试用",noStatusCount:"无状态"},countObj:{}}},beforeMount:function(){}},l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"e-record-container"},[t("employee-list",{attrs:{isUnEmployee:!0}})],1)])])],1)},staticRenderFns:[]};var r=a("VU/8")(s,l,!1,function(e){a("6Or3")},null,null);t.default=r.exports},"rMm+":function(e,t){}});
//# sourceMappingURL=14.c1429fb875a9cb64ef3c.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/employeeRecord/listItem.vue","webpack:///./src/components/employeeRecord/listItem.vue?270c","webpack:///./src/components/employeeRecord/listItem.vue","webpack:///src/components/employeeRecord/employeeList.vue","webpack:///./src/components/employeeRecord/employeeList.vue?a051","webpack:///./src/components/employeeRecord/employeeList.vue","webpack:///src/views/contacts/unemployee.vue","webpack:///./src/views/contacts/unemployee.vue?90d8","webpack:///./src/views/contacts/unemployee.vue"],"names":["listItem","name","props","item","type","String","required","filters","formatDate","utils","data","typeLsit","reasons","propList","headPic","label","slot","width","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","needSort","correctionDate","fireDate","fireReason","handleEmployee","handleUnEmployee","methods","callHandle","command","console","log","typeTitle","this","$emit","obj","location","href","recordId","employeeRecord_listItem","render","_vm","_h","$createElement","_c","_self","attrs","sortable","prop","scopedSlots","_u","key","fn","scope","_v","_s","row","_f","staticClass","src","on","clerkStatus","_e","staticRenderFns","components_employeeRecord_listItem","__webpack_require__","normalizeComponent","ssrContext","employeeList","isUnEmployee","Boolean","default","components","handleDialog","vueSelectStore","vueSelectEmployee","pickerOptions2","shortcuts","text","onClick","picker","end","Date","start","setTime","getTime","pageNum","pageSize","sortType","sortColumn","statusList","total","handleType","dialogVisible","employeeObj","startDate","endDate","showSelector","searchParam","departMentSet","storeSet","treeData","selectionList","disabled","chooseClerkIdList","chooseGroupIdList","chooseStoreIdList","adList","adDefaultSelection","stList","changed","searchFn","getEmloyeeList","getGroupData","_this","Object","api","isStoreGroup","then","res","personData","errorCode","result","departmentList","searchList","catch","e","callSelector","$refs","departmentSelector","treeSet","callStoreSelector","storeSelector","showExportSet","local","window","origin","indexOf","ths","join","handleSelectedList","list","arr","concat","formatSelectionList","handleStoreSelectedList","newList","unique","length","forEach","li","employeeClerkId","push","storeId","groupId","stringify_default","keys_default","map","u","JSON","parse","delSld","sld","idx","splice","ad","id","slice","handleSuccess","handleSizeChange","val","handleCurrentChange","sortList","order","reGetList","url","params","pageInfo","$message","error","message","selectDate","date","beforeMount","computed","employeeRecord_employeeList","staticStyle","margin-right","height","click","align","value-format","unlink-panels","range-separator","start-placeholder","end-placeholder","picker-options","change","model","value","callback","$$v","expression","placeholder","_l","index","margin-left","clearable","clear","nativeOn","keyup","$event","_k","keyCode","default-sort","sort-change","background","page-sizes","page-size","current-page","layout","size-change","current-change","title","visible","update:visible","employee","ref","defaultSelection","employeeList_Component","employeeList_normalizeComponent","__webpack_exports__","unemployee","navCrumb","nav","navpath","path","typeObj","onWorkCout","allWorkCount","partTimeWorkCount","outWorkCount","practiceWorkCount","noTypeWorkCount","regularCount","onTrialCount","noStatusCount","countObj","contacts_unemployee","Component"],"mappings":"uKA0DAA,GACAC,KAAA,YACAC,OACAC,MACAC,KAAAC,OACAC,UAAA,IAGAC,SACAC,WAAAC,EAAA,GAEAC,KAXA,WAYA,OACAC,UAAA,gCACAC,SAAA,yEACAC,UACAC,SACAC,MAAA,GACAC,MAAA,EACAC,MAAA,IAEAC,WACAH,MAAA,KACAE,MAAA,IAEAE,YACAJ,MAAA,OAEAK,WACAL,MAAA,MAEAM,WACAN,MAAA,QAEAO,cACAP,MAAA,MAEAQ,WACAR,MAAA,OACAC,MAAA,GAEAQ,UACAT,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAU,gBACAX,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAW,UACAZ,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAY,YACAb,MAAA,OACAC,MAAA,GAEAa,gBACAd,MAAA,KACAC,MAAA,GAEAc,kBACAf,MAAA,KACAC,MAAA,MAKAe,SACAC,WADA,SACAC,GACAC,QAAAC,IAAAF,GACA,UAAAA,EAAAG,UACAC,KAAAC,MAAA,aAAAL,EAAAM,IAAAN,EAAA7B,KAAA6B,EAAAG,WAEAI,SAAAC,KAAA,yBAAAR,EAAAM,IAAAG,YCpIeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAR,KAAaS,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAD,EAAAhC,SAAAgC,EAAA1C,MAAA,KAAA6C,EAAA,mBAA2DE,OAAOnC,MAAA8B,EAAAhC,SAAAgC,EAAA1C,MAAAY,MAAAE,MAAA4B,EAAAhC,SAAAgC,EAAA1C,MAAAc,MAAAkC,SAAAN,EAAAhC,SAAAgC,EAAA1C,MAAAsB,SAAA2B,KAAAP,EAAA1C,MAAqIkD,YAAAR,EAAAS,KAAsBC,IAAA,UAAAC,GAAA,SAAAC,GAAiC,oBAAAZ,EAAA1C,K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8Bd,EAAA,aAAkBE,OAAO6L,QAAvI1M,KAAuI0M,WAAvI1M,KAA8JqB,GAAA,KAAAV,EAAA,OAAwBc,YAAA,kBAA4Bd,EAAA,OAAYc,YAAA,cAAwBd,EAAA,OAAYc,YAAA,uBAAiCd,EAAA,iBAAsBE,OAAOuB,cAAA,MAAqB,YAE9VN,oBCCjB,IAcA0L,EAdyBxL,EAAQ,OAcjCC,CACEsK,EACAgB,GATF,EAVA,SAAArL,GACEF,EAAQ,SAaV,KAEA,MAUesK,EAAA,QAAAkB,EAAiB","file":"static/js/14.c1429fb875a9cb64ef3c.js","sourcesContent":["<template>\r\n <el-table-column\r\n v-if=\"propList[item].slot\"\r\n :label=\"propList[item].label\"\r\n :width=\"propList[item].width\"\r\n :sortable=\"propList[item].needSort\"\r\n :prop=\"item\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <div v-if=\"item == 'clerkType'\">\r\n {{typeLsit[scope.row[item] || 5]}}\r\n </div>\r\n <div v-else-if=\"item == 'hireDate' || item == 'correctionDate' || item == 'fireDate'\">\r\n {{scope.row[item] | formatDate(\"YY-MM-DD\")}}\r\n </div>\r\n <div v-else-if=\"item == 'headPic'\">\r\n <img class=\"header-pic\" :src=\"scope.row[item]\" v-if=\"!!scope.row[item]\">\r\n <div class=\"replace-head-img\" v-else>\r\n <i class=\"iconfont icon-yewuduanmorentouxian\"></i>\r\n </div>\r\n </div>\r\n <div v-else-if=\"item == 'fireReason'\">\r\n {{reasons[scope.row[item]]}}\r\n </div>\r\n <div v-else-if=\"item == 'handleEmployee'\">\r\n <div class=\"table-handle\">\r\n <el-dropdown class=\"more\" @command=\"callHandle\">\r\n <span class=\"el-dropdown-link\">\r\n 更多<i class=\"el-icon-arrow-down el-icon--right\"></i>\r\n </span>\r\n <el-dropdown-menu slot=\"dropdown\">\r\n <template v-if=\"scope.row.clerkStatus == 2\">\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}\">办理转正</el-dropdown-item>\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}\">修改转正时间</el-dropdown-item>\r\n </template>\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}\">编辑员工资料</el-dropdown-item>\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}\">办理离职</el-dropdown-item>\r\n </el-dropdown-menu>\r\n </el-dropdown>\r\n </div>\r\n </div>\r\n <div v-else-if=\"item == 'handleUnEmployee'\">\r\n <div class=\"table-handle\">\r\n <a :href='\"#/recordInfo?recordId=\" + scope.row.recordId' class=\"a-href\">编辑</a>\r\n </div>\r\n </div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n v-else\r\n :label=\"propList[item].label\"\r\n :width=\"propList[item].width\"\r\n :prop=\"item\"\r\n >\r\n </el-table-column>\r\n</template>\r\n<script>\r\nimport { formatDate } from '@/utils/index';\r\nexport default {\r\n name: \"list-item\",\r\n props: {\r\n item: {\r\n type: String,\r\n required: true\r\n }\r\n },\r\n filters: {\r\n formatDate\r\n },\r\n data() {\r\n return {\r\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\r\n reasons: [\"\", \"家庭原因\", \"个人原因\", \"发展原因\", \"合同到期不续签\", \"协议解除\", \"无法胜任工作\", \"经济性裁员\", \"严重违法违纪\", \"其他\"],\r\n propList: {\r\n headPic: {\r\n label: \"\",\r\n slot: true,\r\n width: 50\r\n },\r\n clerkName: {\r\n label: \"姓名\",\r\n width: 90\r\n },\r\n clerkPhone: {\r\n label: \"手机号\"\r\n },\r\n groupName: {\r\n label: \"部门\"\r\n },\r\n clerkCode: {\r\n label: \"code\"\r\n },\r\n positionName: {\r\n label: \"职位\"\r\n },\r\n clerkType: {\r\n label: \"员工类型\",\r\n slot: true\r\n },\r\n hireDate: {\r\n label: \"入职日期\",\r\n needSort: \"custom\",\r\n slot: true\r\n },\r\n correctionDate: {\r\n label: \"转正日期\",\r\n needSort: \"custom\",\r\n slot: true\r\n },\r\n fireDate: {\r\n label: \"离职日期\",\r\n needSort: \"custom\",\r\n slot: true\r\n },\r\n fireReason: {\r\n label: \"离职原因\",\r\n slot: true\r\n },\r\n handleEmployee: {\r\n label: \"操作\",\r\n slot: true\r\n },\r\n handleUnEmployee: {\r\n label: \"操作\",\r\n slot: true\r\n }\r\n }\r\n };\r\n },\r\n methods: {\r\n callHandle(command) {\r\n console.log(command);\r\n if (command.typeTitle != \"编辑员工资料\") {\r\n this.$emit(\"callHandle\", command.obj, command.type, command.typeTitle);\r\n } else {\r\n location.href = \"#/recordInfo?recordId=\" + command.obj.recordId;\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.header-pic {\r\n width: 35px;\r\n height: 35px;\r\n border-radius: 3px;\r\n}\r\n.replace-head-img {\r\n width: 35px;\r\n height: 35px;\r\n border-radius:3px;\r\n line-height: 35px;\r\n text-align: center;\r\n color: #fff;\r\n background: rgba(64,158,255,1);\r\n}\r\n.table-handle {\r\n cursor: pointer;\r\n .el-dropdown-link {\r\n color: #409EFF;\r\n }\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/listItem.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.propList[_vm.item].slot)?_c('el-table-column',{attrs:{\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"sortable\":_vm.propList[_vm.item].needSort,\"prop\":_vm.item},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(_vm.item == 'clerkType')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.typeLsit[scope.row[_vm.item] || 5])+\"\\n \")]):(_vm.item == 'hireDate' || _vm.item == 'correctionDate' || _vm.item == 'fireDate')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm._f(\"formatDate\")(scope.row[_vm.item],\"YY-MM-DD\"))+\"\\n \")]):(_vm.item == 'headPic')?_c('div',[(!!scope.row[_vm.item])?_c('img',{staticClass:\"header-pic\",attrs:{\"src\":scope.row[_vm.item]}}):_c('div',{staticClass:\"replace-head-img\"},[_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"})])]):(_vm.item == 'fireReason')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.reasons[scope.row[_vm.item]])+\"\\n \")]):(_vm.item == 'handleEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('el-dropdown',{staticClass:\"more\",on:{\"command\":_vm.callHandle}},[_c('span',{staticClass:\"el-dropdown-link\"},[_vm._v(\"\\n 更多\"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_vm._v(\" \"),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(scope.row.clerkStatus == 2)?[_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}}},[_vm._v(\"办理转正\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}}},[_vm._v(\"修改转正时间\")])]:_vm._e(),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}}},[_vm._v(\"编辑员工资料\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}}},[_vm._v(\"办理离职\")])],2)],1)],1)]):(_vm.item == 'handleUnEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('a',{staticClass:\"a-href\",attrs:{\"href\":\"#/recordInfo?recordId=\" + scope.row.recordId}},[_vm._v(\"编辑\")])])]):_vm._e()]}}])}):_c('el-table-column',{attrs:{\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"prop\":_vm.item}})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-91156f36\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-91156f36\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./listItem.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-91156f36\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./listItem.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"e-r-l-container\">\n <div class=\"handle-area\">\n <div class=\"flex1\">\n <el-button @click=\"callSelector\" :disabled=\"disabled\" style=\"margin-right: 10px; height:32px;\">行政架构选人</el-button>\n <el-button @click=\"callStoreSelector\" style=\"margin-right: 10px; height:32px;\">门店架构选人</el-button>\n <template v-if=\"!isUnEmployee\">\n <el-select\n v-model=\"clerkType\"\n placeholder=\"选择类型\"\n @change=\"reGetList\"\n class=\"m-r-10 w-130\">\n <el-option v-for=\"(type, index) in typeLsit\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n <el-select\n class=\"w-130\"\n v-model=\"clerkStatus\"\n placeholder=\"选择状态\"\n @change=\"reGetList\">\n <el-option v-for=\"(type, index) in statusList\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n </template>\n <div class=\"block\" v-else>\n <span class=\"demonstration\">离职日期</span>\n <el-date-picker v-model=\"fireDate\" type=\"daterange\" align=\"right\" value-format=\"yyyy-MM-dd\" unlink-panels range-separator=\"至\" start-placeholder=\"开始日期\" end-placeholder=\"结束日期\" @change=\"selectDate\" :picker-options=\"pickerOptions2\">\n </el-date-picker>\n </div>\n <el-input v-model=\"searchParam\" placeholder=\"请输入姓名或手机号\" style=\"width: 218px;margin-left:10px;\" @keyup.enter.native=\"searchFn\" clearable @clear=\"searchFn\"></el-input>\n </div>\n <el-button type=\"primary\" @click=\"showExportSet\">导出<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </div>\n <ul class=\"selector-selected-list\" v-if=\"selectionList.length > 0\">\n <template v-for=\"(sld, index) in selectionList\">\n <li :key=\"index + sld.id + sld.label\" class=\"sld\">{{sld.label}} <i class=\"el-icon-close\" @click=\"delSld(sld, sld.isStoreGroup)\"></i></li>\n </template>\n <li class=\"sld tip\">共筛选出{{total}}人</li>\n </ul>\n <el-table class=\"list-table\" height=\"490px\" :data=\"employeeList\" @sort-change=\"sortList\" :default-sort=\"{prop: 'hireDate', order: 'descending'}\">\n <template v-for=\"prop in propList\">\n <list-item :item=\"prop\" :key=\"prop\" @callHandle=\"callHandle\"></list-item>\n </template>\n </el-table>\n <el-pagination class=\"pagination\" background @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :page-sizes=\"[20, 40, 60, 80]\" :page-size=\"pageSize\" :current-page=\"pageNum\" layout=\"total, sizes, prev, pager, next\" :total=\"total\">\n </el-pagination>\n <el-dialog :title=\"typeTitle\" :visible.sync=\"dialogVisible\" width=\"480px\">\n <handle-dialog :employee=\"employeeObj\" :handleType=\"handleType\" :typeTitle=\"typeTitle\" @handleSuccess=\"handleSuccess\"></handle-dialog>\n </el-dialog>\n <vue-select-store ref=\"storeSelector\" @handleSelectedList=\"handleStoreSelectedList\"></vue-select-store>\n <vue-select-employee ref=\"departmentSelector\" @handleSelectedList=\"handleSelectedList\" :changed=\"changed\" :treeData=\"treeData\" :defaultSelection=\"adDefaultSelection\"></vue-select-employee>\n </div>\n</template>\n<script>\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nimport listItem from \"components/employeeRecord/listItem\";\nimport handleDialog from \"components/employeeRecord/handleDialog\";\nimport vueSelectStore from \"components/common/vueSelectStore\";\nimport vueSelectEmployee from \"components/common/vueSelectEmployee\";\nexport default {\n name: \"employeeRecordList\",\n props: {\n isUnEmployee: {\n type: Boolean,\n default: false\n }\n },\n components: {\n listItem,\n handleDialog,\n vueSelectStore,\n vueSelectEmployee\n },\n data() {\n return {\n pickerOptions2: {\n shortcuts: [{\n text: '最近一周',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近一个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近三个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);\n picker.$emit('pick', [start, end]);\n }\n }]\n },\n employeeList: [],\n pageNum: 1,\n pageSize: 20,\n sortType: \"desc\",\n sortColumn: \"hireDate\",\n statusList: [\"全部\", \"正式\", \"试用\"],\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\n clerkType: 0,\n clerkStatus: 0,\n total: 0,\n handleType: \"turnPositive\",\n typeTitle: \"\",\n dialogVisible: false,\n employeeObj: {},\n fireDate: [],\n startDate: \"\",\n endDate: \"\",\n showSelector: true,\n searchParam: \"\",\n departMentSet: {},\n storeSet: {},\n treeData: {},\n selectionList: [],\n disabled: true,\n chooseClerkIdList: [],\n chooseGroupIdList: [],\n chooseStoreIdList: [],\n adList: [],\n adDefaultSelection: [],\n stList: [],\n changed: 0\n };\n },\n methods: {\n searchFn() {\n this.getEmloyeeList();\n },\n getGroupData() {\n let _this = this;\n let params = {\n isStoreGroup: 0\n };\n getRequest(\"/haoban-manage-web/dept/deptListForCompany\", params)\n .then(res => {\n let treeData = [];\n let personData = [];\n if (res.data.errorCode == 1) {\n treeData = res.data.result.departmentList || [];\n personData = res.data.result.searchList || []\n }\n _this.treeData = {\n treeData,\n personData\n };\n _this.disabled = false;\n })\n .catch(e => {});\n },\n callSelector() {\n this.$refs.departmentSelector.treeSet.dialogVisible = true;\n },\n callStoreSelector() {\n this.$refs.storeSelector.treeSet.dialogVisible = true;\n },\n showExportSet() { // 显示导出设置页面\n let isUnEmployee = this.isUnEmployee;\n if (!isUnEmployee) {\n this.$emit(\"showExportSetFn\");\n } else {\n let local = window.location.origin;\n if (local.indexOf('localhost') != -1) {\n local = 'http://www.gicdev.com';\n }\n let ths = this;\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n let clerkType = ths.clerkType == 0 ? \"\" : ths.clerkType;\n location.href = local + \"/haoban-manage-web/record/export-fire-employee-record?clerkType=\" + clerkType + \"&sortType=\" + ths.sortType + \"&sortColumn=\" + ths.sortColumn + \"&startDate=\" + ths.startDate + \"&endDate=\" + ths.endDate + \"&searchParam=\" + ths.searchParam + \"&chooseClerkIdList=\" + ths.chooseClerkIdList.join(\",\") + \"&chooseGroupIdList=\" + ths.chooseGroupIdList.join(\",\") + \"&chooseStoreIdList=\" + ths.chooseStoreIdList.join(\",\");\n }\n },\n handleSelectedList(list) {\n this.adDefaultSelection = list;\n this.adList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n handleStoreSelectedList(list) {\n this.stList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n formatSelectionList(list) {\n let newList = this.unique(list);\n this.selectionList = newList;\n let ths = this;\n if (!!newList.length) {\n ths.chooseClerkIdList = [];\n ths.chooseStoreIdList = [];\n ths.chooseGroupIdList = [];\n newList.forEach(li => {\n if (li.employeeClerkId) {\n ths.chooseClerkIdList.push(li.employeeClerkId);\n } else if (li.storeId) {\n ths.chooseStoreIdList.push(li.storeId);\n } else if (li.groupId) {\n ths.chooseGroupIdList.push(li.groupId);\n }\n });\n ths.getEmloyeeList();\n }\n },\n unique(arr) {\n let unique = {};\n arr.forEach(item => {\n unique[JSON.stringify(item)] = item; // 键名不会重复\n })\n arr = Object.keys(unique).map((u) => { // Object.keys()返回对象的所有键值组成的数组,map方法是一个遍历方法,返回遍历结果组成的数组.将unique对象的键名还原成对象数组\n return JSON.parse(u);\n });\n return arr;\n },\n delSld(sld, isStoreGroup) { // 删除选择的导出字段\n let ths = this;\n let idx = this.selectionList.indexOf(sld);\n this.selectionList.splice(idx, 1);\n this.formatSelectionList(this.selectionList);\n ths.adList.forEach(ad => {\n if (ad.id == sld.id) {\n ths.adList.splice(ths.adList.indexOf(ad), 1);\n }\n });\n ths.changed += 1;\n ths.adDefaultSelection = ths.adList.slice(0);\n },\n handleSuccess() {\n this.dialogVisible = false;\n this.getEmloyeeList();\n },\n // 呼出操作弹窗(办理离职/转正)\n callHandle(obj, type, typeTitle) {\n this.handleType = type;\n this.employeeObj = obj;\n this.typeTitle = typeTitle;\n this.dialogVisible = true;\n },\n handleSizeChange(val) {\n this.pageSize = val;\n this.getEmloyeeList();\n },\n handleCurrentChange(val) {\n this.pageNum = val;\n this.getEmloyeeList();\n },\n // 改变排序\n sortList(obj) {\n this.sortColumn = obj.prop,\n this.sortType = obj.order == \"descending\" ? \"desc\" : \"asc\";\n this.getEmloyeeList();\n },\n reGetList() {\n this.getEmloyeeList();\n },\n getEmloyeeList() {\n let ths = this;\n let isUnEmployee = ths.isUnEmployee;\n let url = isUnEmployee ? \"/haoban-manage-web/record/find-fire-employee-record-page\" : \"/haoban-manage-web/record/find-on-work-employee-record-page\"\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n getRequest(url, params)\n .then(res => {\n if (res.data.errorCode == 1) {\n ths.employeeList = res.data.result.list;\n ths.total = isUnEmployee ? res.data.result.total : res.data.result.pageInfo.total;\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n ths.$message({\n message: e.message\n });\n });\n },\n selectDate(date) {\n if (!!date) {\n this.startDate = date[0];\n this.endDate = date[1];\n } else {\n this.startDate = \"\";\n this.endDate = \"\";\n }\n this.getEmloyeeList();\n }\n },\n beforeMount() {\n this.getEmloyeeList();\n this.getGroupData();\n },\n computed: {\n propList() {\n let isUnEmployee = this.isUnEmployee;\n return isUnEmployee ? [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"fireDate\", \"fireReason\", \"handleUnEmployee\"] : [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"correctionDate\", \"handleEmployee\"]\n }\n }\n}\n\n</script>\n<style lang=\"scss\">\n.e-r-l-container {\n /*margin-top: 24px;*/\n padding: 24px;\n background: #fff;\n\n .handle-area {\n display: flex;\n\n .flex1 {\n flex: 1;\n display: flex;\n\n .demonstration {\n color: #606266;\n margin-right: 10px;\n font-size: 14px;\n }\n }\n }\n\n .selector-selected-list {\n padding: 20px 0 0;\n display: flex;\n flex-wrap: wrap;\n\n .sld {\n padding: 8px 10px;\n box-sizing: border-box;\n background: rgba(244, 244, 245, 1);\n border: 1px solid rgba(233, 233, 235, 1);\n border-radius: 4px;\n font-size: 12px;\n font-weight: 400;\n color: rgba(144, 147, 153, 1);\n margin-right: 10px;\n\n .el-icon-close {\n cursor: pointer;\n }\n\n &.tip {\n border: none;\n background: none;\n }\n }\n }\n\n .list-table {\n margin-top: 22px;\n }\n\n .pagination {\n text-align: right;\n margin-top: 20px;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/employeeList.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"e-r-l-container\"},[_c('div',{staticClass:\"handle-area\"},[_c('div',{staticClass:\"flex1\"},[_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.callSelector}},[_vm._v(\"行政架构选人\")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},on:{\"click\":_vm.callStoreSelector}},[_vm._v(\"门店架构选人\")]),_vm._v(\" \"),(!_vm.isUnEmployee)?[_c('el-select',{staticClass:\"m-r-10 w-130\",attrs:{\"placeholder\":\"选择类型\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkType),callback:function ($$v) {_vm.clerkType=$$v},expression:\"clerkType\"}},_vm._l((_vm.typeLsit),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})})),_vm._v(\" \"),_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"选择状态\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkStatus),callback:function ($$v) {_vm.clerkStatus=$$v},expression:\"clerkStatus\"}},_vm._l((_vm.statusList),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})}))]:_c('div',{staticClass:\"block\"},[_c('span',{staticClass:\"demonstration\"},[_vm._v(\"离职日期\")]),_vm._v(\" \"),_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"align\":\"right\",\"value-format\":\"yyyy-MM-dd\",\"unlink-panels\":\"\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"picker-options\":_vm.pickerOptions2},on:{\"change\":_vm.selectDate},model:{value:(_vm.fireDate),callback:function ($$v) {_vm.fireDate=$$v},expression:\"fireDate\"}})],1),_vm._v(\" \"),_c('el-input',{staticStyle:{\"width\":\"218px\",\"margin-left\":\"10px\"},attrs:{\"placeholder\":\"请输入姓名或手机号\",\"clearable\":\"\"},on:{\"clear\":_vm.searchFn},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchFn($event)}},model:{value:(_vm.searchParam),callback:function ($$v) {_vm.searchParam=$$v},expression:\"searchParam\"}})],2),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.showExportSet}},[_vm._v(\"导出\"),_c('i',{staticClass:\"el-icon-upload el-icon--right\"})])],1),_vm._v(\" \"),(_vm.selectionList.length > 0)?_c('ul',{staticClass:\"selector-selected-list\"},[_vm._l((_vm.selectionList),function(sld,index){return [_c('li',{key:index + sld.id + sld.label,staticClass:\"sld\"},[_vm._v(_vm._s(sld.label)+\" \"),_c('i',{staticClass:\"el-icon-close\",on:{\"click\":function($event){_vm.delSld(sld, sld.isStoreGroup)}}})])]}),_vm._v(\" \"),_c('li',{staticClass:\"sld tip\"},[_vm._v(\"共筛选出\"+_vm._s(_vm.total)+\"人\")])],2):_vm._e(),_vm._v(\" \"),_c('el-table',{staticClass:\"list-table\",attrs:{\"height\":\"490px\",\"data\":_vm.employeeList,\"default-sort\":{prop: 'hireDate', order: 'descending'}},on:{\"sort-change\":_vm.sortList}},[_vm._l((_vm.propList),function(prop){return [_c('list-item',{key:prop,attrs:{\"item\":prop},on:{\"callHandle\":_vm.callHandle}})]})],2),_vm._v(\" \"),_c('el-pagination',{staticClass:\"pagination\",attrs:{\"background\":\"\",\"page-sizes\":[20, 40, 60, 80],\"page-size\":_vm.pageSize,\"current-page\":_vm.pageNum,\"layout\":\"total, sizes, prev, pager, next\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":_vm.typeTitle,\"visible\":_vm.dialogVisible,\"width\":\"480px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('handle-dialog',{attrs:{\"employee\":_vm.employeeObj,\"handleType\":_vm.handleType,\"typeTitle\":_vm.typeTitle},on:{\"handleSuccess\":_vm.handleSuccess}})],1),_vm._v(\" \"),_c('vue-select-store',{ref:\"storeSelector\",on:{\"handleSelectedList\":_vm.handleStoreSelectedList}}),_vm._v(\" \"),_c('vue-select-employee',{ref:\"departmentSelector\",attrs:{\"changed\":_vm.changed,\"treeData\":_vm.treeData,\"defaultSelection\":_vm.adDefaultSelection},on:{\"handleSelectedList\":_vm.handleSelectedList}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-14a218fe\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-14a218fe\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employeeList.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-14a218fe\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employeeList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","<template>\r\n <div class=\"common-set-wrap\">\r\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\r\n <div class=\"right-content\">\r\n <div class=\"right-box\">\r\n <div class=\"e-record-container\">\r\n <employee-list :isUnEmployee=\"true\"></employee-list>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport navCrumb from '@/components/nav/nav.vue';\r\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\r\nimport employeeList from \"components/employeeRecord/employeeList\";\r\nexport default {\r\n name: \"employeeRecord\",\r\n components: {\r\n navCrumb,\r\n employeeList\r\n },\r\n data() {\r\n return {\r\n // 面包屑参数\r\n navpath: [{\r\n name: '首页',\r\n path: '/index'\r\n },\r\n {\r\n name: '企业通讯录',\r\n path: '/administrativeFrame'\r\n },\r\n {\r\n name: '员工档案',\r\n path: '/fileSet'\r\n },\r\n {\r\n name: '离职员工',\r\n path: ''\r\n }\r\n ],\r\n typeObj: {\r\n onWorkCout: \"在职员工\",\r\n allWorkCount: \"全职\",\r\n partTimeWorkCount: \"兼职\",\r\n outWorkCount: \"外包\",\r\n practiceWorkCount: \"实习\",\r\n noTypeWorkCount: \"无类型\",\r\n regularCount: \"正式\",\r\n onTrialCount: \"试用\",\r\n noStatusCount: \"无状态\"\r\n },\r\n countObj: {}\r\n };\r\n },\r\n beforeMount() {\r\n // this.getEmployeeCount();\r\n }\r\n};\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n.top-area {\r\n background: #fff;\r\n padding: 10px 32px;\r\n\r\n .top-title {\r\n display: flex;\r\n line-height: 32px;\r\n font-size: 20px;\r\n font-weight: bolder;\r\n color: rgba(48, 49, 51, 1);\r\n\r\n .title-span {\r\n flex: 1;\r\n }\r\n }\r\n\r\n .e-type-num-title {\r\n display: flex;\r\n padding: 12px 0;\r\n margin-top: 20px;\r\n color: #606266;\r\n font-size: 14px;\r\n\r\n .type-cell {\r\n box-sizing: border-box;\r\n height: 70px;\r\n flex: 1;\r\n margin-right: 20px;\r\n padding: 10px 0;\r\n\r\n &.with-bdr {\r\n border-right: 1px solid #DCDFE6;\r\n padding-right: 50px;\r\n }\r\n\r\n .num {\r\n font-size: 24px;\r\n font-weight: 400;\r\n color: rgba(48, 49, 51, 1);\r\n margin-top: 20px;\r\n }\r\n }\r\n }\r\n}\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/unemployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"e-record-container\"},[_c('employee-list',{attrs:{\"isUnEmployee\":true}})],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-07a2c7a2\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/unemployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-07a2c7a2\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./unemployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unemployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unemployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-07a2c7a2\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./unemployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/unemployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([5],{EYRQ:function(e,t){},NNAT:function(e,t,o){"use strict";var i=o("fZjL"),a=o.n(i),s=o("mvHQ"),n=o.n(s),l=o("P9l9"),r=o("0xDb"),c={name:"list-item",props:{item:{type:String,required:!0}},filters:{formatDate:r.b},data:function(){return{typeLsit:["全部","全职","兼职","外包","实习","无类型"],reasons:["","家庭原因","个人原因","发展原因","合同到期不续签","协议解除","无法胜任工作","经济性裁员","严重违法违纪","其他"],propList:{headPic:{label:"",slot:!0,width:50},clerkName:{label:"姓名",width:90},clerkPhone:{label:"手机号"},groupName:{label:"部门"},clerkCode:{label:"code"},positionName:{label:"职位"},clerkType:{label:"员工类型",slot:!0},hireDate:{label:"入职日期",needSort:"custom",slot:!0},correctionDate:{label:"转正日期",needSort:"custom",slot:!0},fireDate:{label:"离职日期",needSort:"custom",slot:!0},fireReason:{label:"离职原因",slot:!0},handleEmployee:{label:"操作",slot:!0},handleUnEmployee:{label:"操作",slot:!0}}}},methods:{callHandle:function(e){console.log(e),"编辑员工资料"!=e.typeTitle?this.$emit("callHandle",e.obj,e.type,e.typeTitle):location.href="#/recordInfo?recordId="+e.obj.recordId}},mounted:function(){console.log(this.item)}},d={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.propList[e.item].slot?o("el-table-column",{attrs:{label:e.propList[e.item].label,width:e.propList[e.item].width,sortable:e.propList[e.item].needSort,prop:e.item},scopedSlots:e._u([{key:"default",fn:function(t){return["clerkType"==e.item?o("div",[e._v("\n "+e._s(e.typeLsit[t.row[e.item]||5])+"\n ")]):"hireDate"==e.item||"correctionDate"==e.item||"fireDate"==e.item?o("div",[e._v("\n "+e._s(e._f("formatDate")(t.row[e.item],"YY-MM-DD"))+"\n ")]):"headPic"==e.item?o("div",[t.row[e.item]?o("img",{staticClass:"header-pic",attrs:{src:t.row[e.item]}}):o("div",{staticClass:"replace-head-img"},[o("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])]):"fireReason"==e.item?o("div",[e._v("\n "+e._s(e.reasons[t.row[e.item]]||"--")+"\n ")]):"handleEmployee"==e.item?o("div",[o("div",{staticClass:"table-handle"},[o("el-dropdown",{staticClass:"more",on:{command:e.callHandle}},[o("span",{staticClass:"el-dropdown-link"},[e._v("\n 更多"),o("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),o("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[2==t.row.clerkStatus?[o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"turnPositive",typeTitle:"办理转正"}}},[e._v("办理转正")]),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"eidtCorrectionTime",typeTitle:"修改转正时间"}}},[e._v("修改转正时间")])]:e._e(),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"editEmployee",typeTitle:"编辑员工资料"}}},[e._v("编辑员工资料")]),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"resignation",typeTitle:"办理离职"}}},[e._v("办理离职")])],2)],1)],1)]):"handleUnEmployee"==e.item?o("div",[o("div",{staticClass:"table-handle"},[o("a",{staticClass:"a-href",attrs:{href:"#/recordInfo?recordId="+t.row.recordId}},[e._v("编辑")])])]):e._e()]}}])}):o("el-table-column",{attrs:{"class-name":"clerkName"==e.item?"control-width":"",label:e.propList[e.item].label,width:e.propList[e.item].width,prop:e.item}})},staticRenderFns:[]};var h=o("VU/8")(c,d,!1,function(e){o("NT8v")},null,null).exports,p=o("IVno"),u=o("Ie7z"),m=o("c4uw"),f={name:"employeeRecordList",props:{isUnEmployee:{type:Boolean,default:!1}},components:{listItem:h,handleDialog:p.a,vueSelectStore:u.a,vueSelectEmployee:m.a},data:function(){return{tableH:window.screen.availHeight-440-180,pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-6048e5),e.$emit("pick",[o,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-2592e6),e.$emit("pick",[o,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-7776e6),e.$emit("pick",[o,t])}}]},employeeList:[],pageNum:1,pageSize:20,sortType:"desc",sortColumn:"hireDate",statusList:["全部","正式","试用"],typeLsit:["全部","全职","兼职","外包","实习","无类型"],clerkType:0,clerkStatus:0,total:0,handleType:"turnPositive",typeTitle:"",dialogVisible:!1,employeeObj:{},fireDate:[],startDate:"",endDate:"",showSelector:!0,searchParam:"",departMentSet:{},storeSet:{},treeData:{},selectionList:[],disabled:!0,chooseClerkIdList:[],chooseGroupIdList:[],chooseStoreIdList:[],adList:[],adDefaultSelection:[],stList:[],changed:0}},methods:{searchFn:function(){this.getEmloyeeList()},getGroupData:function(){var e=this;Object(l.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var o=[],i=[];1==t.data.errorCode&&(o=t.data.result.departmentList||[],i=t.data.result.searchList||[]),e.treeData={treeData:o,personData:i},e.disabled=!1}).catch(function(e){})},callSelector:function(){this.$refs.departmentSelector.treeSet.dialogVisible=!0},callStoreSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},showExportSet:function(){if(this.isUnEmployee){var e=window.location.origin;-1!=e.indexOf("localhost")&&(e="http://www.gicdev.com");var t=this,o=(t.pageNum,t.chooseClerkIdList.join(","),t.chooseGroupIdList.join(","),t.chooseStoreIdList.join(","),t.pageSize,t.sortType,0==t.clerkStatus||t.clerkStatus,t.sortColumn,0==t.clerkType||t.clerkType,t.startDate,t.endDate,t.searchParam,0==t.clerkType?"":t.clerkType);location.href=e+"/haoban-manage-web/record/export-fire-employee-record?clerkType="+o+"&sortType="+t.sortType+"&sortColumn="+t.sortColumn+"&startDate="+t.startDate+"&endDate="+t.endDate+"&searchParam="+t.searchParam+"&chooseClerkIdList="+t.chooseClerkIdList.join(",")+"&chooseGroupIdList="+t.chooseGroupIdList.join(",")+"&chooseStoreIdList="+t.chooseStoreIdList.join(",")}else this.$emit("showExportSetFn")},handleSelectedList:function(e){this.adDefaultSelection=e,this.adList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},handleStoreSelectedList:function(e){this.stList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},formatSelectionList:function(e){var t=this.unique(e);this.selectionList=t;var o=this;t.length&&(o.chooseClerkIdList=[],o.chooseStoreIdList=[],o.chooseGroupIdList=[],t.forEach(function(e){e.employeeClerkId?o.chooseClerkIdList.push(e.employeeClerkId):e.storeId?o.chooseStoreIdList.push(e.storeId):e.groupId&&o.chooseGroupIdList.push(e.groupId)}),o.getEmloyeeList())},unique:function(e){var t={};return e.forEach(function(e){t[n()(e)]=e}),e=a()(t).map(function(e){return JSON.parse(e)})},delSld:function(e,t){var o=this,i=this.selectionList.indexOf(e);this.selectionList.splice(i,1),this.formatSelectionList(this.selectionList),o.adList.forEach(function(t){t.id==e.id&&o.adList.splice(o.adList.indexOf(t),1)}),o.changed+=1,o.adDefaultSelection=o.adList.slice(0)},handleSuccess:function(){this.dialogVisible=!1,this.getEmloyeeList()},callHandle:function(e,t,o){this.handleType=t,this.employeeObj=e,this.typeTitle=o,this.dialogVisible=!0},handleSizeChange:function(e){this.pageSize=e,this.getEmloyeeList()},handleCurrentChange:function(e){this.pageNum=e,this.getEmloyeeList()},sortList:function(e){this.sortColumn=e.prop,this.sortType="descending"==e.order?"desc":"asc",this.getEmloyeeList()},reGetList:function(){this.getEmloyeeList()},getEmloyeeList:function(){var e=this,t=e.isUnEmployee,o=t?"/haoban-manage-web/record/find-fire-employee-record-page":"/haoban-manage-web/record/find-on-work-employee-record-page",i={pageNum:e.pageNum,chooseClerkIdList:e.chooseClerkIdList.join(","),chooseGroupIdList:e.chooseGroupIdList.join(","),chooseStoreIdList:e.chooseStoreIdList.join(","),pageSize:e.pageSize,sortType:e.sortType,clerkStatus:0==e.clerkStatus?"":e.clerkStatus,sortColumn:e.sortColumn,clerkType:0==e.clerkType?"":e.clerkType,startDate:e.startDate,endDate:e.endDate,searchParam:e.searchParam};Object(l.a)(o,i).then(function(o){1==o.data.errorCode?(e.employeeList=o.data.result.list,e.total=t?o.data.result.total:o.data.result.pageInfo.total):e.$message.error({message:o.data.message})}).catch(function(t){e.$message({message:t.message})})},selectDate:function(e){e?(this.startDate=e[0],this.endDate=e[1]):(this.startDate="",this.endDate=""),this.getEmloyeeList()}},beforeMount:function(){this.getEmloyeeList(),this.getGroupData()},computed:{propList:function(){return this.isUnEmployee?["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","fireDate","fireReason","handleUnEmployee"]:["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","correctionDate","handleEmployee"]}}},v={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"e-r-l-container"},[o("div",{staticClass:"handle-area"},[o("div",{staticClass:"flex1"},[o("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},attrs:{disabled:e.disabled},on:{click:e.callSelector}},[e._v("行政架构选人")]),e._v(" "),o("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},on:{click:e.callStoreSelector}},[e._v("门店架构选人")]),e._v(" "),e.isUnEmployee?o("div",{staticClass:"block"},[o("span",{staticClass:"demonstration"},[e._v("离职日期")]),e._v(" "),o("el-date-picker",{attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":e.pickerOptions2},on:{change:e.selectDate},model:{value:e.fireDate,callback:function(t){e.fireDate=t},expression:"fireDate"}})],1):[o("el-select",{staticClass:"m-r-10 w-130",attrs:{placeholder:"选择类型"},on:{change:e.reGetList},model:{value:e.clerkType,callback:function(t){e.clerkType=t},expression:"clerkType"}},e._l(e.typeLsit,function(e,t){return o("el-option",{key:t,attrs:{label:e,value:t}})})),e._v(" "),o("el-select",{staticClass:"w-130",attrs:{placeholder:"选择状态"},on:{change:e.reGetList},model:{value:e.clerkStatus,callback:function(t){e.clerkStatus=t},expression:"clerkStatus"}},e._l(e.statusList,function(e,t){return o("el-option",{key:t,attrs:{label:e,value:t}})}))],e._v(" "),o("el-input",{staticStyle:{width:"218px","margin-left":"10px"},attrs:{placeholder:"请输入姓名或手机号",clearable:""},on:{clear:e.searchFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchParam,callback:function(t){e.searchParam=t},expression:"searchParam"}})],2),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:e.showExportSet}},[e._v("导出"),o("i",{staticClass:"el-icon-upload el-icon--right"})])],1),e._v(" "),e.selectionList.length>0?o("ul",{staticClass:"selector-selected-list"},[e._l(e.selectionList,function(t,i){return[o("li",{key:i+t.id+t.label,staticClass:"sld"},[e._v(e._s(t.label)+" "),o("i",{staticClass:"el-icon-close",on:{click:function(o){e.delSld(t,t.isStoreGroup)}}})])]}),e._v(" "),o("li",{staticClass:"sld tip"},[e._v("共筛选出"+e._s(e.total)+"人")])],2):e._e(),e._v(" "),o("el-table",{staticClass:"list-table",attrs:{height:e.employeeList.length?e.tableH:"auto",data:e.employeeList,"default-sort":{prop:"hireDate",order:"descending"}},on:{"sort-change":e.sortList}},[e._l(e.propList,function(t){return[o("list-item",{key:t,attrs:{item:t},on:{callHandle:e.callHandle}})]})],2),e._v(" "),e.employeeList.length?o("el-pagination",{staticClass:"pagination",attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNum,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e(),e._v(" "),o("el-dialog",{attrs:{title:e.typeTitle,visible:e.dialogVisible,width:"480px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[o("handle-dialog",{attrs:{employee:e.employeeObj,handleType:e.handleType,typeTitle:e.typeTitle},on:{handleSuccess:e.handleSuccess}})],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleStoreSelectedList}}),e._v(" "),o("vue-select-employee",{ref:"departmentSelector",attrs:{changed:e.changed,treeData:e.treeData,defaultSelection:e.adDefaultSelection},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var g=o("VU/8")(f,v,!1,function(e){o("cKo8")},null,null);t.a=g.exports},NT8v:function(e,t){},O3H5:function(e,t,o){"use strict";var i=o("mvHQ"),a=o.n(i),s=o("P9l9"),n=(o("0xDb"),o("DAYN")),l={name:"export-set",components:{draggable:o.n(n).a},data:function(){return{tempList:[],checkList:[],origin:[],checkAll:!1,isIndeterminate:!1,checkedList:[]}},methods:{checkThis:function(e){e.checked&&this.checkedList.push(e)},handleCheckAllChange:function(e){this.checkedList=[],this.origin.forEach(function(t,o){t.checked=e,e&&(t.order=o+1)}),e&&(this.checkedList=this.origin.slice(0))},getTemplate:function(){var e=this;Object(s.a)("/haoban-manage-web/record/employee-find-template",{}).then(function(t){1==t.data.errorCode?e.formatTemplateList(t.data.result):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatTemplateList:function(e){var t=[],o=[],i=e;e.forEach(function(e){e.title=e.fieldName,e.name=e.fieldName,e.checked=!1;var o=[];i.forEach(function(t){t.parentCode==e.fieldCode&&o.push(t)}),o.sort(function(e,t){return 1*e.sort-1*t.sort}),o.length>0&&(e.childrens=o),0==e.parentCode&&t.push(e)}),t.sort(function(e,t){return 1*e.sort-1*t.sort}),t.forEach(function(e){o=o.concat(e.childrens)}),this.origin=o,this.tempList=t},cancelCho:function(){this.origin.forEach(function(e){e.checked=!1}),this.$emit("cancelCho")},exportCho:function(){var e=[];this.checkedList.forEach(function(t){t.checked&&e.push({fieldCode:t.fieldCode,fieldName:t.fieldName})});a()(e);var t=window.location.origin;-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),location.href=t+"/haoban-manage-web/record/define-export?exportTitleContent="+a()(e),this.$emit("cancelCho")}},beforeMount:function(){this.getTemplate()}},r={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"export-set-container"},[e._m(0),e._v(" "),o("div",{staticClass:"cho-list"},[o("draggable",{model:{value:e.checkedList,callback:function(t){e.checkedList=t},expression:"checkedList"}},[e._l(e.checkedList,function(t){return[t.checked?o("div",{key:t.fieldCode,staticClass:"cho"},[e._v(e._s(t.fieldName))]):e._e()]})],2)],1),e._v(" "),o("div",{staticClass:"cho-area"},[o("div",{staticClass:"title"},[e._v("选择需要导出的字段")]),e._v(" "),o("div",{staticClass:"cho-area-group"},[o("div",{staticClass:"group-div"},[o("div",{staticClass:"group-title"}),e._v(" "),o("ul",{staticClass:"group-son-list"},[o("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1)]),e._v(" "),e._l(e.tempList,function(t,i){return o("div",{key:t.fieldCode+i,staticClass:"group-div"},[o("div",{staticClass:"group-title"},[e._v(e._s(t.title))]),e._v(" "),o("ul",{staticClass:"group-son-list"},[e._l(e.origin,function(i){return[i.parentCode==t.fieldCode?o("li",{key:i.fieldCode},[o("el-checkbox",{key:i.fieldCode,attrs:{label:i.fieldName},on:{change:function(t){e.checkThis(i)}},model:{value:i.checked,callback:function(t){e.$set(i,"checked",t)},expression:"items.checked"}},[e._v(e._s(i.fieldName))])],1):e._e()]})],2)])})],2)]),e._v(" "),o("div",{staticClass:"handle-cho-btn"},[o("el-button",{staticClass:"export-btn",attrs:{type:"primary",disabled:e.checkedList.length<1},on:{click:e.exportCho}},[e._v("导出"),o("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),o("el-button",{on:{click:e.cancelCho}},[e._v("取消")])],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"title"},[this._v("已选择字段"),t("span",[this._v("导出的列表中将按顺序显示这些字段(可拖拽排序)")])])}]};var c=o("VU/8")(l,r,!1,function(e){o("EYRQ")},null,null);t.a=c.exports},cKo8:function(e,t){},kEYm:function(e,t){},zGJY:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3Xzz"),a=o("P9l9"),s=o("O3H5"),n=o("NNAT"),l={name:"employeeRecord",components:{navCrumb:i.a,employeeList:n.a,exportSet:s.a},data:function(){return{windowH:window.screen.availHeight-180+"px",navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"在职员工",path:""}],typeObj:{onWorkCout:"在职员工",allWorkCount:"全职",partTimeWorkCount:"兼职",outWorkCount:"外包",practiceWorkCount:"实习",noTypeWorkCount:"无类型",regularCount:"正式",onTrialCount:"试用",noStatusCount:"无状态"},otherSet:{},countObj:{},showExportSet:!1}},methods:{cancelCho:function(){this.showExportSet=!1},showExportSetFn:function(){this.showExportSet=!0},getEmployeeCount:function(){var e=this;Object(a.a)("/haoban-manage-web/record/employee-count-detail",{}).then(function(t){console.log(t,"res count"),1==t.data.errorCode?e.countObj=t.data.result:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},beforeMount:function(){this.getEmployeeCount()}},r={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"common-set-wrap employee-record-wrap",style:{height:e.windowH}},[o("nav-crumb",{attrs:{navpath:e.navpath,slotFlag:!0}},[[o("div",{staticClass:"top-area"},[o("div",{staticClass:"top-title"},[o("span",{staticClass:"title-span"},[e._v("在职员工")]),e._v(" "),o("a",{attrs:{href:"#/recordIo?importCode=record"}},[o("el-button",{attrs:{type:"primary"}},[e._v("导入员工档案"),o("i",{staticClass:"el-icon-upload el-icon--right"})])],1)]),e._v(" "),o("div",{staticClass:"e-type-num-title"},e._l(e.countObj,function(t,i){return o("div",{key:i,staticClass:"type-cell",class:"onWorkCout"==i||"noTypeWorkCount"==i?"with-bdr":""},[o("p",{staticClass:"type-name"},[e._v(e._s(e.typeObj[i]))]),e._v(" "),o("p",{staticClass:"num"},[e._v(e._s(t))])])}))])]],2),e._v(" "),o("div",{staticClass:"right-content"},[o("div",{staticClass:"right-box"},[o("div",{staticClass:"e-record-container"},[e.showExportSet?[o("export-set",{attrs:{otherSet:e.otherSet},on:{cancelCho:e.cancelCho}})]:[o("employee-list",{on:{showExportSetFn:e.showExportSetFn}})]],2)])]),e._v(" "),o("vue-gic-footer")],1)},staticRenderFns:[]};var c=o("VU/8")(l,r,!1,function(e){o("kEYm")},null,null);t.default=c.exports}});
//# sourceMappingURL=5.4bccbbc9e2356324e053.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/employeeRecord/listItem.vue","webpack:///./src/components/employeeRecord/listItem.vue?063c","webpack:///./src/components/employeeRecord/listItem.vue","webpack:///src/components/employeeRecord/employeeList.vue","webpack:///./src/components/employeeRecord/employeeList.vue?74b6","webpack:///./src/components/employeeRecord/employeeList.vue","webpack:///src/components/employeeRecord/exportSet.vue","webpack:///./src/components/employeeRecord/exportSet.vue?7083","webpack:///./src/components/employeeRecord/exportSet.vue","webpack:///src/views/contacts/employeeRecord.vue","webpack:///./src/views/contacts/employeeRecord.vue?b999","webpack:///./src/views/contacts/employeeRecord.vue"],"names":["listItem","name","props","item","type","String","required","filters","formatDate","utils","data","typeLsit","reasons","propList","headPic","label","slot","width","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","needSort","correctionDate","fireDate","fireReason","handleEmployee","handleUnEmployee","methods","callHandle","command","console","log","typeTitle","this","$emit","obj","location","href","recordId","mounted","employeeRecord_listItem","render","_vm","_h","$createElement","_c","_self","attrs","sortable","prop","scopedSlots","_u","key","fn","scope","_v","_s","row","_f","staticClass","src","on","clerkStatus","_e","class-name","staticRenderFns","components_employeeRecord_listItem","__webpack_require__","normalizeComponent","ssrContext","employeeList","isUnEmployee","Boolean","default","components","handleDialog","vueSelectStore","vueSelectEmployee","tableH","window","screen","availHeight","pickerOptions2","shortcuts","text","onClick","picker","end","Date","start","setTime","getTime","pageNum","pageSize","sortType","sortColumn","statusList","total","handleType","dialogVisible","employeeObj","startDate","endDate","showSelector","searchParam","departMentSet","storeSet","treeData","selectionList","disabled","chooseClerkIdList","chooseGroupIdList","chooseStoreIdList","adList","adDefaultSelection","stList","changed","searchFn","getEmloyeeList","getGroupData","_this","Object","api","isStoreGroup","then","res","personData","errorCode","result","departmentList","searchList","catch","e","callSelector","$refs","departmentSelector","treeSet","callStoreSelector","storeSelector","showExportSet","local","origin","indexOf","ths","join","handleSelectedList","list","arr","concat","formatSelectionList","handleStoreSelectedList","newList","unique","length","forEach","li","employeeClerkId","push","storeId","groupId","stringify_default","keys_default","map","u","JSON","parse","delSld","sld","idx","splice","ad","id","slice","handleSuccess","handleSizeChange","val","handleCurrentChange","sortList","order","reGetList","url","params","pageInfo","$message","error","message","selectDate","date","beforeMount","computed","employeeRecord_employeeList","staticStyle","margin-right","height","click","align","value-format","unlink-panels","range-separator","start-placeholder","end-placeholder","picker-options","change","model","value","callback","$$v","expression","placeholder","_l","index","margin-left","clearable","clear","nativeOn","keyup","$event","_k","keyCode","default-sort","sort-change","background","page-sizes","page-size","current-page","layout","size-change","current-change","title","visible","update:visible","employee","ref","defaultSelection","employeeList_Component","employeeList_normalizeComponent","__webpack_exports__","exportSet","draggable","a","tempList","checkList","checkAll","isIndeterminate","checkedList","checkThis","items","checked","handleCheckAllChange","tem","getTemplate","formatTemplateList","fieldList","copyData","fieldName","parentCode","fieldCode","sort","b","group","childrens","cancelCho","exportCho","employeeRecord_exportSet","_m","indeterminate","$set","Component","employeeRecord","navCrumb","nav","windowH","navpath","path","typeObj","onWorkCout","allWorkCount","partTimeWorkCount","outWorkCount","practiceWorkCount","noTypeWorkCount","regularCount","onTrialCount","noStatusCount","otherSet","countObj","showExportSetFn","getEmployeeCount","contacts_employeeRecord","style","slotFlag","count","class"],"mappings":"+IAoDAA,GACAC,KAAA,YACAC,OACAC,MACAC,KAAAC,OACAC,UAAA,IAGAC,SACAC,WAAAC,EAAA,GAEAC,KAXA,WAYA,OACAC,UAAA,gCACAC,SAAA,yEACAC,UACAC,SACAC,MAAA,GACAC,MAAA,EACAC,MAAA,IAEAC,WACAH,MAAA,KACAE,MAAA,IAEAE,YACAJ,MAAA,OAEAK,WACAL,MAAA,MAEAM,WACAN,MAAA,QAEAO,cACAP,MAAA,MAEAQ,WACAR,MAAA,OACAC,MAAA,GAEAQ,UACAT,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAU,gBACAX,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAW,UACAZ,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAY,YACAb,MAAA,OACAC,MAAA,GAEAa,gBACAd,MAAA,KACAC,MAAA,GAEAc,kBACAf,MAAA,KACAC,MAAA,MAKAe,SACAC,WADA,SACAC,GACAC,QAAAC,IAAAF,GACA,UAAAA,EAAAG,UACAC,KAAAC,MAAA,aAAAL,EAAAM,IAAAN,EAAA7B,KAAA6B,EAAAG,WAEAI,SAAAC,KAAA,yBAAAR,EAAAM,IAAAG,WAIAC,QAjFA,WAkFAT,QAAAC,IAAAE,KAAAlC,QCnIeyC,GADEC,OAFjB,WAA0B,IAAAC,EAAAT,KAAaU,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAD,EAAAjC,SAAAiC,EAAA3C,MAAA,KAAA8C,EAAA,mBAA2DE,OAAOpC,MAAA+B,EAAAjC,SAAAiC,EAAA3C,MAAAY,MAAAE,MAAA6B,EAAAjC,SAAAiC,E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B,UAAA,MAAuCrP,EAAA,OAAac,YAAA,aAAuBd,EAAA,OAAYc,YAAA,cAAwBd,EAAA,QAAac,YAAA,eAAyBjB,EAAAa,GAAA,UAAAb,EAAAa,GAAA,KAAAV,EAAA,KAAuCE,OAAOV,KAAA,kCAAuCQ,EAAA,aAAkBE,OAAO/C,KAAA,aAAkB0C,EAAAa,GAAA,UAAAV,EAAA,KAA2Bc,YAAA,qCAA4C,KAAAjB,EAAAa,GAAA,KAAAV,EAAA,OAAgCc,YAAA,oBAA+BjB,EAAAuK,GAAAvK,EAAA,kBAAAyP,EAAA/O,GAA2C,OAAAP,EAAA,OAAiBO,MAAAO,YAAA,YAAAyO,MAAA,cAAAhP,GAAA,mBAAAA,EAAA,gBAAwGP,EAAA,KAAUc,YAAA,cAAwBjB,EAAAa,GAAAb,EAAAc,GAAAd,EAAAwO,QAAA9N,OAAAV,EAAAa,GAAA,KAAAV,EAAA,KAAyDc,YAAA,QAAkBjB,EAAAa,GAAAb,EAAAc,GAAA2O,eAA4B,GAAAzP,EAAAa,GAAA,KAAAV,EAAA,OAAgCc,YAAA,kBAA4Bd,EAAA,OAAYc,YAAA,cAAwBd,EAAA,OAAYc,YAAA,uBAAiCjB,EAAAiG,eAAuF9F,EAAA,cAAqBE,OAAO6O,SAAAlP,EAAAkP,UAAwB/N,IAAKwM,UAAA3N,EAAA2N,eAAhJxN,EAAA,iBAA4CgB,IAAIiO,gBAAApP,EAAAoP,qBAA2H,OAAApP,EAAAa,GAAA,KAAAV,EAAA,uBAErsCoB,oBCCjB,IAcA0M,EAdyBxM,EAAQ,OAcjCC,CACEwM,EACAoB,GATF,EAVA,SAAA3N,GACEF,EAAQ,SAaV,KAEA,MAUeyK,EAAA,QAAA+B,EAAiB","file":"static/js/5.4bccbbc9e2356324e053.js","sourcesContent":["<template>\n <el-table-column v-if=\"propList[item].slot\" :label=\"propList[item].label\" :width=\"propList[item].width\" :sortable=\"propList[item].needSort\" :prop=\"item\">\n <template slot-scope=\"scope\">\n <div v-if=\"item == 'clerkType'\">\n {{typeLsit[scope.row[item] || 5]}}\n </div>\n <div v-else-if=\"item == 'hireDate' || item == 'correctionDate' || item == 'fireDate'\">\n {{scope.row[item] | formatDate(\"YY-MM-DD\")}}\n </div>\n <div v-else-if=\"item == 'headPic'\">\n <img class=\"header-pic\" :src=\"scope.row[item]\" v-if=\"!!scope.row[item]\">\n <div class=\"replace-head-img\" v-else>\n <i class=\"iconfont icon-yewuduanmorentouxian\"></i>\n </div>\n </div>\n <div v-else-if=\"item == 'fireReason'\">\n {{reasons[scope.row[item]] || '--'}}\n </div>\n <div v-else-if=\"item == 'handleEmployee'\">\n <div class=\"table-handle\">\n <el-dropdown class=\"more\" @command=\"callHandle\">\n <span class=\"el-dropdown-link\">\n 更多<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <el-dropdown-menu slot=\"dropdown\">\n <template v-if=\"scope.row.clerkStatus == 2\">\n <el-dropdown-item :command=\"{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}\">办理转正</el-dropdown-item>\n <el-dropdown-item :command=\"{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}\">修改转正时间</el-dropdown-item>\n </template>\n <el-dropdown-item :command=\"{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}\">编辑员工资料</el-dropdown-item>\n <el-dropdown-item :command=\"{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}\">办理离职</el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n </div>\n </div>\n <div v-else-if=\"item == 'handleUnEmployee'\">\n <div class=\"table-handle\">\n <a :href='\"#/recordInfo?recordId=\" + scope.row.recordId' class=\"a-href\">编辑</a>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n v-else\n :class-name=\"item == 'clerkName'? 'control-width':''\"\n :label=\"propList[item].label\"\n :width=\"propList[item].width\"\n :prop=\"item\">\n </el-table-column>\n</template>\n<script>\nimport { formatDate } from '@/utils/index';\nexport default {\n name: \"list-item\",\n props: {\n item: {\n type: String,\n required: true\n }\n },\n filters: {\n formatDate\n },\n data() {\n return {\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\n reasons: [\"\", \"家庭原因\", \"个人原因\", \"发展原因\", \"合同到期不续签\", \"协议解除\", \"无法胜任工作\", \"经济性裁员\", \"严重违法违纪\", \"其他\"],\n propList: {\n headPic: {\n label: \"\",\n slot: true,\n width: 50\n },\n clerkName: {\n label: \"姓名\",\n width: 90\n },\n clerkPhone: {\n label: \"手机号\"\n },\n groupName: {\n label: \"部门\"\n },\n clerkCode: {\n label: \"code\"\n },\n positionName: {\n label: \"职位\"\n },\n clerkType: {\n label: \"员工类型\",\n slot: true\n },\n hireDate: {\n label: \"入职日期\",\n needSort: \"custom\",\n slot: true\n },\n correctionDate: {\n label: \"转正日期\",\n needSort: \"custom\",\n slot: true\n },\n fireDate: {\n label: \"离职日期\",\n needSort: \"custom\",\n slot: true\n },\n fireReason: {\n label: \"离职原因\",\n slot: true\n },\n handleEmployee: {\n label: \"操作\",\n slot: true\n },\n handleUnEmployee: {\n label: \"操作\",\n slot: true\n }\n }\n };\n },\n methods: {\n callHandle(command) {\n console.log(command);\n if (command.typeTitle != \"编辑员工资料\") {\n this.$emit(\"callHandle\", command.obj, command.type, command.typeTitle);\n } else {\n location.href = \"#/recordInfo?recordId=\" + command.obj.recordId;\n }\n }\n },\n mounted() {\n console.log(this.item)\n }\n}\n\n</script>\n<style lang=\"scss\">\n.header-pic {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n}\n\n.replace-head-img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n line-height: 35px;\n text-align: center;\n color: #fff;\n background: #82c5ff;\n}\n\n.table-handle {\n cursor: pointer;\n\n .el-dropdown-link {\n color: #409EFF;\n }\n}\n\n\n.control-width {\n .cell {\n width: 70px;\n white-space: nowrap;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/listItem.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.propList[_vm.item].slot)?_c('el-table-column',{attrs:{\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"sortable\":_vm.propList[_vm.item].needSort,\"prop\":_vm.item},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(_vm.item == 'clerkType')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.typeLsit[scope.row[_vm.item] || 5])+\"\\n \")]):(_vm.item == 'hireDate' || _vm.item == 'correctionDate' || _vm.item == 'fireDate')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm._f(\"formatDate\")(scope.row[_vm.item],\"YY-MM-DD\"))+\"\\n \")]):(_vm.item == 'headPic')?_c('div',[(!!scope.row[_vm.item])?_c('img',{staticClass:\"header-pic\",attrs:{\"src\":scope.row[_vm.item]}}):_c('div',{staticClass:\"replace-head-img\"},[_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"})])]):(_vm.item == 'fireReason')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.reasons[scope.row[_vm.item]] || '--')+\"\\n \")]):(_vm.item == 'handleEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('el-dropdown',{staticClass:\"more\",on:{\"command\":_vm.callHandle}},[_c('span',{staticClass:\"el-dropdown-link\"},[_vm._v(\"\\n 更多\"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_vm._v(\" \"),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(scope.row.clerkStatus == 2)?[_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}}},[_vm._v(\"办理转正\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}}},[_vm._v(\"修改转正时间\")])]:_vm._e(),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}}},[_vm._v(\"编辑员工资料\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}}},[_vm._v(\"办理离职\")])],2)],1)],1)]):(_vm.item == 'handleUnEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('a',{staticClass:\"a-href\",attrs:{\"href\":\"#/recordInfo?recordId=\" + scope.row.recordId}},[_vm._v(\"编辑\")])])]):_vm._e()]}}])}):_c('el-table-column',{attrs:{\"class-name\":_vm.item == 'clerkName'? 'control-width':'',\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"prop\":_vm.item}})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-dc0e3f44\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-dc0e3f44\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./listItem.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-dc0e3f44\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./listItem.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"e-r-l-container\">\n <div class=\"handle-area\">\n <div class=\"flex1\">\n <el-button @click=\"callSelector\" :disabled=\"disabled\" style=\"margin-right: 10px; height:32px;\">行政架构选人</el-button>\n <el-button @click=\"callStoreSelector\" style=\"margin-right: 10px; height:32px;\">门店架构选人</el-button>\n <template v-if=\"!isUnEmployee\">\n <el-select\n v-model=\"clerkType\"\n placeholder=\"选择类型\"\n @change=\"reGetList\"\n class=\"m-r-10 w-130\">\n <el-option v-for=\"(type, index) in typeLsit\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n <el-select\n class=\"w-130\"\n v-model=\"clerkStatus\"\n placeholder=\"选择状态\"\n @change=\"reGetList\">\n <el-option v-for=\"(type, index) in statusList\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n </template>\n <div class=\"block\" v-else>\n <span class=\"demonstration\">离职日期</span>\n <el-date-picker v-model=\"fireDate\" type=\"daterange\" align=\"right\" value-format=\"yyyy-MM-dd\" unlink-panels range-separator=\"至\" start-placeholder=\"开始日期\" end-placeholder=\"结束日期\" @change=\"selectDate\" :picker-options=\"pickerOptions2\">\n </el-date-picker>\n </div>\n <el-input v-model=\"searchParam\" placeholder=\"请输入姓名或手机号\" style=\"width: 218px;margin-left:10px;\" @keyup.enter.native=\"searchFn\" clearable @clear=\"searchFn\"></el-input>\n </div>\n <el-button type=\"primary\" @click=\"showExportSet\">导出<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </div>\n <ul class=\"selector-selected-list\" v-if=\"selectionList.length > 0\">\n <template v-for=\"(sld, index) in selectionList\">\n <li :key=\"index + sld.id + sld.label\" class=\"sld\">{{sld.label}} <i class=\"el-icon-close\" @click=\"delSld(sld, sld.isStoreGroup)\"></i></li>\n </template>\n <li class=\"sld tip\">共筛选出{{total}}人</li>\n </ul>\n <el-table\n class=\"list-table\"\n :height=\"employeeList.length? tableH:'auto'\"\n :data=\"employeeList\"\n :default-sort=\"{prop: 'hireDate', order: 'descending'}\"\n @sort-change=\"sortList\" >\n <template v-for=\"prop in propList\">\n <list-item :item=\"prop\" :key=\"prop\" @callHandle=\"callHandle\"></list-item>\n </template>\n </el-table>\n <el-pagination\n v-if=\"!!employeeList.length\"\n class=\"pagination\"\n background\n :page-sizes=\"[20, 40, 60, 80]\"\n :page-size=\"pageSize\"\n :current-page=\"pageNum\"\n layout=\"total, sizes, prev, pager, next\"\n :total=\"total\"\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\" >\n </el-pagination>\n <el-dialog :title=\"typeTitle\" :visible.sync=\"dialogVisible\" width=\"480px\">\n <handle-dialog :employee=\"employeeObj\" :handleType=\"handleType\" :typeTitle=\"typeTitle\" @handleSuccess=\"handleSuccess\"></handle-dialog>\n </el-dialog>\n <vue-select-store ref=\"storeSelector\" @handleSelectedList=\"handleStoreSelectedList\"></vue-select-store>\n <vue-select-employee ref=\"departmentSelector\" @handleSelectedList=\"handleSelectedList\" :changed=\"changed\" :treeData=\"treeData\" :defaultSelection=\"adDefaultSelection\"></vue-select-employee>\n </div>\n</template>\n<script>\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nimport listItem from \"components/employeeRecord/listItem\";\nimport handleDialog from \"components/employeeRecord/handleDialog\";\nimport vueSelectStore from \"components/common/vueSelectStore\";\nimport vueSelectEmployee from \"components/common/vueSelectEmployee\";\nexport default {\n name: \"employeeRecordList\",\n props: {\n isUnEmployee: {\n type: Boolean,\n default: false\n }\n },\n components: {\n listItem,\n handleDialog,\n vueSelectStore,\n vueSelectEmployee\n },\n data() {\n return {\n tableH: window.screen.availHeight - 440 - 180,\n pickerOptions2: {\n shortcuts: [{\n text: '最近一周',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近一个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近三个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);\n picker.$emit('pick', [start, end]);\n }\n }]\n },\n employeeList: [],\n pageNum: 1,\n pageSize: 20,\n sortType: \"desc\",\n sortColumn: \"hireDate\",\n statusList: [\"全部\", \"正式\", \"试用\"],\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\n clerkType: 0,\n clerkStatus: 0,\n total: 0,\n handleType: \"turnPositive\",\n typeTitle: \"\",\n dialogVisible: false,\n employeeObj: {},\n fireDate: [],\n startDate: \"\",\n endDate: \"\",\n showSelector: true,\n searchParam: \"\",\n departMentSet: {},\n storeSet: {},\n treeData: {},\n selectionList: [],\n disabled: true,\n chooseClerkIdList: [],\n chooseGroupIdList: [],\n chooseStoreIdList: [],\n adList: [],\n adDefaultSelection: [],\n stList: [],\n changed: 0\n };\n },\n methods: {\n searchFn() {\n this.getEmloyeeList();\n },\n getGroupData() {\n let _this = this;\n let params = {\n isStoreGroup: 0\n };\n getRequest(\"/haoban-manage-web/dept/deptListForCompany\", params)\n .then(res => {\n let treeData = [];\n let personData = [];\n if (res.data.errorCode == 1) {\n treeData = res.data.result.departmentList || [];\n personData = res.data.result.searchList || []\n }\n _this.treeData = {\n treeData,\n personData\n };\n _this.disabled = false;\n })\n .catch(e => {});\n },\n callSelector() {\n this.$refs.departmentSelector.treeSet.dialogVisible = true;\n },\n callStoreSelector() {\n this.$refs.storeSelector.treeSet.dialogVisible = true;\n },\n showExportSet() { // 显示导出设置页面\n let isUnEmployee = this.isUnEmployee;\n if (!isUnEmployee) {\n this.$emit(\"showExportSetFn\");\n } else {\n let local = window.location.origin;\n if (local.indexOf('localhost') != -1) {\n local = 'http://www.gicdev.com';\n }\n let ths = this;\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n let clerkType = ths.clerkType == 0 ? \"\" : ths.clerkType;\n location.href = local + \"/haoban-manage-web/record/export-fire-employee-record?clerkType=\" + clerkType + \"&sortType=\" + ths.sortType + \"&sortColumn=\" + ths.sortColumn + \"&startDate=\" + ths.startDate + \"&endDate=\" + ths.endDate + \"&searchParam=\" + ths.searchParam + \"&chooseClerkIdList=\" + ths.chooseClerkIdList.join(\",\") + \"&chooseGroupIdList=\" + ths.chooseGroupIdList.join(\",\") + \"&chooseStoreIdList=\" + ths.chooseStoreIdList.join(\",\");\n }\n },\n handleSelectedList(list) {\n this.adDefaultSelection = list;\n this.adList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n handleStoreSelectedList(list) {\n this.stList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n formatSelectionList(list) {\n let newList = this.unique(list);\n this.selectionList = newList;\n let ths = this;\n if (!!newList.length) {\n ths.chooseClerkIdList = [];\n ths.chooseStoreIdList = [];\n ths.chooseGroupIdList = [];\n newList.forEach(li => {\n if (li.employeeClerkId) {\n ths.chooseClerkIdList.push(li.employeeClerkId);\n } else if (li.storeId) {\n ths.chooseStoreIdList.push(li.storeId);\n } else if (li.groupId) {\n ths.chooseGroupIdList.push(li.groupId);\n }\n });\n ths.getEmloyeeList();\n }\n },\n unique(arr) {\n let unique = {};\n arr.forEach(item => {\n unique[JSON.stringify(item)] = item; // 键名不会重复\n })\n arr = Object.keys(unique).map((u) => { // Object.keys()返回对象的所有键值组成的数组,map方法是一个遍历方法,返回遍历结果组成的数组.将unique对象的键名还原成对象数组\n return JSON.parse(u);\n });\n return arr;\n },\n delSld(sld, isStoreGroup) { // 删除选择的导出字段\n let ths = this;\n let idx = this.selectionList.indexOf(sld);\n this.selectionList.splice(idx, 1);\n this.formatSelectionList(this.selectionList);\n ths.adList.forEach(ad => {\n if (ad.id == sld.id) {\n ths.adList.splice(ths.adList.indexOf(ad), 1);\n }\n });\n ths.changed += 1;\n ths.adDefaultSelection = ths.adList.slice(0);\n },\n handleSuccess() {\n this.dialogVisible = false;\n this.getEmloyeeList();\n },\n // 呼出操作弹窗(办理离职/转正)\n callHandle(obj, type, typeTitle) {\n this.handleType = type;\n this.employeeObj = obj;\n this.typeTitle = typeTitle;\n this.dialogVisible = true;\n },\n handleSizeChange(val) {\n this.pageSize = val;\n this.getEmloyeeList();\n },\n handleCurrentChange(val) {\n this.pageNum = val;\n this.getEmloyeeList();\n },\n // 改变排序\n sortList(obj) {\n this.sortColumn = obj.prop,\n this.sortType = obj.order == \"descending\" ? \"desc\" : \"asc\";\n this.getEmloyeeList();\n },\n reGetList() {\n this.getEmloyeeList();\n },\n getEmloyeeList() {\n let ths = this;\n let isUnEmployee = ths.isUnEmployee;\n let url = isUnEmployee ? \"/haoban-manage-web/record/find-fire-employee-record-page\" : \"/haoban-manage-web/record/find-on-work-employee-record-page\"\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n getRequest(url, params)\n .then(res => {\n if (res.data.errorCode == 1) {\n ths.employeeList = res.data.result.list;\n ths.total = isUnEmployee ? res.data.result.total : res.data.result.pageInfo.total;\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n ths.$message({\n message: e.message\n });\n });\n },\n selectDate(date) {\n if (!!date) {\n this.startDate = date[0];\n this.endDate = date[1];\n } else {\n this.startDate = \"\";\n this.endDate = \"\";\n }\n this.getEmloyeeList();\n }\n },\n beforeMount() {\n this.getEmloyeeList();\n this.getGroupData();\n },\n computed: {\n propList() {\n let isUnEmployee = this.isUnEmployee;\n return isUnEmployee ? [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"fireDate\", \"fireReason\", \"handleUnEmployee\"] : [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"correctionDate\", \"handleEmployee\"]\n }\n }\n}\n\n</script>\n<style lang=\"scss\">\n.e-r-l-container {\n /*margin-top: 24px;*/\n padding: 24px;\n background: #fff;\n\n .handle-area {\n display: flex;\n\n .flex1 {\n flex: 1;\n display: flex;\n\n .demonstration {\n color: #606266;\n margin-right: 10px;\n font-size: 14px;\n }\n }\n }\n\n .selector-selected-list {\n padding: 20px 0 0;\n display: flex;\n flex-wrap: wrap;\n\n .sld {\n padding: 7px 10px;\n box-sizing: border-box;\n background: rgba(244, 244, 245, 1);\n border: 1px solid rgba(233, 233, 235, 1);\n border-radius: 4px;\n font-size: 12px;\n font-weight: 400;\n color: rgba(144, 147, 153, 1);\n margin-right: 10px;\n\n .el-icon-close {\n cursor: pointer;\n }\n\n &.tip {\n border: none;\n background: none;\n }\n }\n }\n\n .list-table {\n margin-top: 22px;\n }\n\n .pagination {\n text-align: right;\n margin-top: 20px;\n }\n\n .icon-yewuduanmorentouxian {\n font-size: 20px;\n color: #e5f3ff;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/employeeList.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"e-r-l-container\"},[_c('div',{staticClass:\"handle-area\"},[_c('div',{staticClass:\"flex1\"},[_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.callSelector}},[_vm._v(\"行政架构选人\")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},on:{\"click\":_vm.callStoreSelector}},[_vm._v(\"门店架构选人\")]),_vm._v(\" \"),(!_vm.isUnEmployee)?[_c('el-select',{staticClass:\"m-r-10 w-130\",attrs:{\"placeholder\":\"选择类型\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkType),callback:function ($$v) {_vm.clerkType=$$v},expression:\"clerkType\"}},_vm._l((_vm.typeLsit),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})})),_vm._v(\" \"),_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"选择状态\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkStatus),callback:function ($$v) {_vm.clerkStatus=$$v},expression:\"clerkStatus\"}},_vm._l((_vm.statusList),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})}))]:_c('div',{staticClass:\"block\"},[_c('span',{staticClass:\"demonstration\"},[_vm._v(\"离职日期\")]),_vm._v(\" \"),_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"align\":\"right\",\"value-format\":\"yyyy-MM-dd\",\"unlink-panels\":\"\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"picker-options\":_vm.pickerOptions2},on:{\"change\":_vm.selectDate},model:{value:(_vm.fireDate),callback:function ($$v) {_vm.fireDate=$$v},expression:\"fireDate\"}})],1),_vm._v(\" \"),_c('el-input',{staticStyle:{\"width\":\"218px\",\"margin-left\":\"10px\"},attrs:{\"placeholder\":\"请输入姓名或手机号\",\"clearable\":\"\"},on:{\"clear\":_vm.searchFn},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchFn($event)}},model:{value:(_vm.searchParam),callback:function ($$v) {_vm.searchParam=$$v},expression:\"searchParam\"}})],2),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.showExportSet}},[_vm._v(\"导出\"),_c('i',{staticClass:\"el-icon-upload el-icon--right\"})])],1),_vm._v(\" \"),(_vm.selectionList.length > 0)?_c('ul',{staticClass:\"selector-selected-list\"},[_vm._l((_vm.selectionList),function(sld,index){return [_c('li',{key:index + sld.id + sld.label,staticClass:\"sld\"},[_vm._v(_vm._s(sld.label)+\" \"),_c('i',{staticClass:\"el-icon-close\",on:{\"click\":function($event){_vm.delSld(sld, sld.isStoreGroup)}}})])]}),_vm._v(\" \"),_c('li',{staticClass:\"sld tip\"},[_vm._v(\"共筛选出\"+_vm._s(_vm.total)+\"人\")])],2):_vm._e(),_vm._v(\" \"),_c('el-table',{staticClass:\"list-table\",attrs:{\"height\":_vm.employeeList.length? _vm.tableH:'auto',\"data\":_vm.employeeList,\"default-sort\":{prop: 'hireDate', order: 'descending'}},on:{\"sort-change\":_vm.sortList}},[_vm._l((_vm.propList),function(prop){return [_c('list-item',{key:prop,attrs:{\"item\":prop},on:{\"callHandle\":_vm.callHandle}})]})],2),_vm._v(\" \"),(!!_vm.employeeList.length)?_c('el-pagination',{staticClass:\"pagination\",attrs:{\"background\":\"\",\"page-sizes\":[20, 40, 60, 80],\"page-size\":_vm.pageSize,\"current-page\":_vm.pageNum,\"layout\":\"total, sizes, prev, pager, next\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}):_vm._e(),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":_vm.typeTitle,\"visible\":_vm.dialogVisible,\"width\":\"480px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('handle-dialog',{attrs:{\"employee\":_vm.employeeObj,\"handleType\":_vm.handleType,\"typeTitle\":_vm.typeTitle},on:{\"handleSuccess\":_vm.handleSuccess}})],1),_vm._v(\" \"),_c('vue-select-store',{ref:\"storeSelector\",on:{\"handleSelectedList\":_vm.handleStoreSelectedList}}),_vm._v(\" \"),_c('vue-select-employee',{ref:\"departmentSelector\",attrs:{\"changed\":_vm.changed,\"treeData\":_vm.treeData,\"defaultSelection\":_vm.adDefaultSelection},on:{\"handleSelectedList\":_vm.handleSelectedList}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-9819ad48\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-9819ad48\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employeeList.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-9819ad48\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employeeList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","<template>\r\n <div class=\"export-set-container\">\r\n <div class=\"title\">已选择字段<span>导出的列表中将按顺序显示这些字段(可拖拽排序)</span></div>\r\n <div class=\"cho-list\">\r\n <draggable v-model=\"checkedList\">\r\n <template v-for=\"tem in checkedList\">\r\n <div class=\"cho\" v-if=\"tem.checked\" :key=\"tem.fieldCode\">{{tem.fieldName}}</div>\r\n </template>\r\n </draggable>\r\n </div>\r\n <div class=\"cho-area\">\r\n <div class=\"title\">选择需要导出的字段</div>\r\n <div class=\"cho-area-group\">\r\n <div class=\"group-div\">\r\n <div class=\"group-title\"></div>\r\n <ul class=\"group-son-list\">\r\n <el-checkbox :indeterminate=\"isIndeterminate\" v-model=\"checkAll\" @change=\"handleCheckAllChange\">全选</el-checkbox></ul>\r\n </div>\r\n <div class=\"group-div\" v-for=\"(group, index) in tempList\" :key=\"group.fieldCode+index\">\r\n <div class=\"group-title\">{{group.title}}</div>\r\n <ul class=\"group-son-list\">\r\n <template v-for=\"items in origin\">\r\n <li :key=\"items.fieldCode\" v-if=\"items.parentCode == group.fieldCode\">\r\n <el-checkbox :label=\"items.fieldName\" :key=\"items.fieldCode\" v-model=\"items.checked\" @change=\"checkThis(items)\">{{items.fieldName}}</el-checkbox>\r\n </li>\r\n </template>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"handle-cho-btn\">\r\n <el-button type=\"primary\" class=\"export-btn\" @click=\"exportCho\" :disabled=\"checkedList.length < 1\">导出<i class=\"iconfont icon-icon_yunxiazai\"></i></el-button>\r\n <el-button @click=\"cancelCho\">取消</el-button>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\r\nimport { deepClone, formatDate } from '@/utils/index';\r\nimport draggable from 'vuedraggable'\r\nexport default {\r\n name: \"export-set\",\r\n components: {\r\n draggable\r\n },\r\n data() {\r\n return {\r\n tempList: [],\r\n checkList: [],\r\n origin: [],\r\n checkAll: false,\r\n isIndeterminate: false,\r\n checkedList: []\r\n };\r\n },\r\n methods: {\r\n checkThis(items) {\r\n // 将勾选的字段放入已勾选列表\r\n if (items.checked) {\r\n this.checkedList.push(items);\r\n }\r\n },\r\n handleCheckAllChange(val) { // 全选勾选框\r\n let ths = this;\r\n this.checkedList = [];\r\n this.origin.forEach((tem, idx) => {\r\n tem.checked = val;\r\n if (val) {\r\n tem.order = idx + 1;\r\n }\r\n });\r\n if (val) {\r\n ths.checkedList = ths.origin.slice(0);\r\n }\r\n },\r\n getTemplate() { // 获取模版字段\r\n let ths = this;\r\n getRequest(\"/haoban-manage-web/record/employee-find-template\", {})\r\n .then(res => {\r\n if (res.data.errorCode == 1) {\r\n ths.formatTemplateList(res.data.result);\r\n } else {\r\n ths.$message.error({\r\n message: res.data.message\r\n });\r\n }\r\n })\r\n .catch(e => {\r\n ths.$message.error({\r\n message: e.message\r\n });\r\n });\r\n },\r\n formatTemplateList(list) {\r\n // 模版字段按种类分组,按排序字段排序\r\n let ths = this;\r\n let fieldList = [];\r\n let origin = [];\r\n let copyData = list;\r\n list.forEach(tem => {\r\n tem.title = tem.fieldName;\r\n tem.name = tem.fieldName;\r\n tem.checked = false;\r\n let arr = [];\r\n copyData.forEach(li => {\r\n if (li.parentCode == tem.fieldCode) {\r\n arr.push(li);\r\n }\r\n });\r\n arr.sort(function(a,b){\r\n return a.sort*1-b.sort*1;\r\n });\r\n if (arr.length > 0) tem[\"childrens\"] = arr;\r\n if (tem.parentCode == 0) {\r\n fieldList.push(tem);\r\n }\r\n });\r\n fieldList.sort(function(a,b){\r\n return a.sort*1-b.sort*1;\r\n });\r\n fieldList.forEach(group => {\r\n origin = origin.concat(group.childrens); \r\n });\r\n this.origin = origin;\r\n this.tempList = fieldList;\r\n },\r\n cancelCho() {\r\n // 取消选择\r\n this.origin.forEach(tem => {\r\n tem.checked = false;\r\n });\r\n this.$emit(\"cancelCho\");\r\n },\r\n exportCho() {\r\n // 导出\r\n let arr = [];\r\n let ths = this;\r\n this.checkedList.forEach(tem => {\r\n if (tem.checked) {\r\n arr.push({\r\n fieldCode: tem.fieldCode,\r\n fieldName: tem.fieldName\r\n })\r\n }\r\n });\r\n let params = {};\r\n params[\"exportTitleContent\"] = JSON.stringify(arr);\r\n let local = window.location.origin;\r\n if (local.indexOf('localhost')!= -1) {\r\n local = 'http://www.gicdev.com';\r\n }\r\n location.href = local + \"/haoban-manage-web/record/define-export?exportTitleContent=\"+JSON.stringify(arr);\r\n this.$emit(\"cancelCho\");\r\n }\r\n },\r\n beforeMount() {\r\n this.getTemplate();\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.export-set-container {\r\n background: #fff;\r\n padding: 25px;\r\n .title {\r\n font-size:16px;\r\n font-family:PingFangSC-Medium;\r\n font-weight:500;\r\n color:rgba(48,49,51,1);\r\n span {\r\n font-size:14px;\r\n font-family:PingFangSC-Regular;\r\n font-weight:400;\r\n color:rgba(144,147,153,1);\r\n margin-left: 20px;\r\n }\r\n }\r\n .cho-list {\r\n >div {\r\n padding: 34px 0;\r\n border-bottom: 1px solid #E4E7ED;\r\n display: flex;\r\n flex-wrap: wrap;\r\n margin-bottom: 44px;\r\n .cho {\r\n padding: 0 15px;\r\n box-sizing: border-box;\r\n height:32px;\r\n background:rgba(236,245,255,1);\r\n border:1px solid rgba(217,236,255,1);\r\n border-radius:4px;\r\n color: #409EFF;\r\n box-sizing: border-box;\r\n text-align: center;\r\n line-height: 32px;\r\n font-size: 12px;\r\n margin-right: 10px;\r\n margin-bottom: 20px;\r\n cursor: pointer;\r\n &.osen {\r\n background:rgba(64,158,255,1);\r\n color: #fff;\r\n }\r\n }\r\n }\r\n }\r\n .cho-area {\r\n margin-top: 60px;\r\n font-size:14px;\r\n font-family:PingFangSC-Medium;\r\n font-weight:500;\r\n color:rgba(96,98,102,1);\r\n .group-div {\r\n display: flex;\r\n margin-bottom: 50px;\r\n &:first-child {\r\n margin-top: 60px;\r\n }\r\n .group-title {\r\n width: 100px;\r\n font-weight:400;\r\n color:rgba(96,98,102,1);\r\n }\r\n .group-son-list {\r\n flex: 1;\r\n display: flex;\r\n flex-wrap: wrap;\r\n li {\r\n width: 180px;\r\n margin-bottom: 25px;\r\n }\r\n }\r\n }\r\n }\r\n .handle-cho-btn {\r\n text-align: center;\r\n .export-btn{\r\n margin-right: 10px;\r\n .iconfont {\r\n color: #fff;\r\n margin-left: 5px;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/exportSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"export-set-container\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"cho-list\"},[_c('draggable',{model:{value:(_vm.checkedList),callback:function ($$v) {_vm.checkedList=$$v},expression:\"checkedList\"}},[_vm._l((_vm.checkedList),function(tem){return [(tem.checked)?_c('div',{key:tem.fieldCode,staticClass:\"cho\"},[_vm._v(_vm._s(tem.fieldName))]):_vm._e()]})],2)],1),_vm._v(\" \"),_c('div',{staticClass:\"cho-area\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"选择需要导出的字段\")]),_vm._v(\" \"),_c('div',{staticClass:\"cho-area-group\"},[_c('div',{staticClass:\"group-div\"},[_c('div',{staticClass:\"group-title\"}),_vm._v(\" \"),_c('ul',{staticClass:\"group-son-list\"},[_c('el-checkbox',{attrs:{\"indeterminate\":_vm.isIndeterminate},on:{\"change\":_vm.handleCheckAllChange},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:\"checkAll\"}},[_vm._v(\"全选\")])],1)]),_vm._v(\" \"),_vm._l((_vm.tempList),function(group,index){return _c('div',{key:group.fieldCode+index,staticClass:\"group-div\"},[_c('div',{staticClass:\"group-title\"},[_vm._v(_vm._s(group.title))]),_vm._v(\" \"),_c('ul',{staticClass:\"group-son-list\"},[_vm._l((_vm.origin),function(items){return [(items.parentCode == group.fieldCode)?_c('li',{key:items.fieldCode},[_c('el-checkbox',{key:items.fieldCode,attrs:{\"label\":items.fieldName},on:{\"change\":function($event){_vm.checkThis(items)}},model:{value:(items.checked),callback:function ($$v) {_vm.$set(items, \"checked\", $$v)},expression:\"items.checked\"}},[_vm._v(_vm._s(items.fieldName))])],1):_vm._e()]})],2)])})],2)]),_vm._v(\" \"),_c('div',{staticClass:\"handle-cho-btn\"},[_c('el-button',{staticClass:\"export-btn\",attrs:{\"type\":\"primary\",\"disabled\":_vm.checkedList.length < 1},on:{\"click\":_vm.exportCho}},[_vm._v(\"导出\"),_c('i',{staticClass:\"iconfont icon-icon_yunxiazai\"})]),_vm._v(\" \"),_c('el-button',{on:{\"click\":_vm.cancelCho}},[_vm._v(\"取消\")])],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title\"},[_vm._v(\"已选择字段\"),_c('span',[_vm._v(\"导出的列表中将按顺序显示这些字段(可拖拽排序)\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-5d745130\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/exportSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5d745130\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./exportSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./exportSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./exportSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5d745130\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./exportSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/exportSet.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"common-set-wrap employee-record-wrap\" :style=\"{'height': windowH}\">\n <nav-crumb :navpath=\"navpath\" :slotFlag=\"true\">\n <template>\n <div class=\"top-area\">\n <div class=\"top-title\">\n <span class=\"title-span\">在职员工</span>\n <a href=\"#/recordIo?importCode=record\">\n <el-button type=\"primary\">导入员工档案<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </a>\n </div>\n <div class=\"e-type-num-title\">\n <div class=\"type-cell\" v-for=\"(count, key) in countObj\" :key=\"key\" :class=\"key == 'onWorkCout' || key == 'noTypeWorkCount' ? 'with-bdr' : ''\">\n <p class=\"type-name\">{{typeObj[key]}}</p>\n <p class=\"num\">{{count}}</p>\n </div>\n </div>\n </div>\n </template>\n </nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <div class=\"e-record-container\">\n <template v-if=\"!showExportSet\">\n <employee-list @showExportSetFn=\"showExportSetFn\"></employee-list>\n </template>\n <template v-else>\n <export-set @cancelCho=\"cancelCho\" :otherSet=\"otherSet\"></export-set>\n </template>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nimport exportSet from \"components/employeeRecord/exportSet\";\nimport employeeList from \"components/employeeRecord/employeeList\";\nexport default {\n name: \"employeeRecord\",\n components: {\n navCrumb,\n employeeList,\n exportSet\n },\n data() {\n return {\n windowH: (window.screen.availHeight - 180) + 'px',\n // 面包屑参数\n navpath: [{\n name: '首页',\n path: '/index'\n },\n {\n name: '企业通讯录',\n path: '/administrativeFrame'\n },\n {\n name: '员工档案',\n path: '/fileSet'\n },\n {\n name: '在职员工',\n path: ''\n }\n ],\n typeObj: {\n onWorkCout: \"在职员工\",\n allWorkCount: \"全职\",\n partTimeWorkCount: \"兼职\",\n outWorkCount: \"外包\",\n practiceWorkCount: \"实习\",\n noTypeWorkCount: \"无类型\",\n regularCount: \"正式\",\n onTrialCount: \"试用\",\n noStatusCount: \"无状态\"\n },\n otherSet: {},\n countObj: {},\n showExportSet: false\n };\n },\n methods: {\n cancelCho() {\n this.showExportSet = false;\n },\n showExportSetFn() {\n this.showExportSet = true;\n },\n // 获取员工数量信息\n getEmployeeCount() {\n let ths = this;\n getRequest(\"/haoban-manage-web/record/employee-count-detail\", {})\n .then(res => {\n console.log(res, \"res count\");\n if (res.data.errorCode == 1) {\n ths.countObj = res.data.result;\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n ths.$message.error({\n message: e.message\n });\n });\n }\n },\n beforeMount() {\n this.getEmployeeCount();\n }\n};\n\n</script>\n<style lang=\"scss\">\n.employee-record-wrap {\n overflow-y: auto;\n}\n.top-area {\n background: #fff;\n padding: 10px 0;\n\n .top-title {\n display: flex;\n line-height: 32px;\n font-size: 20px;\n font-weight: bolder;\n color: rgba(48, 49, 51, 1);\n\n .title-span {\n flex: 1;\n }\n }\n\n .e-type-num-title {\n display: flex;\n padding: 12px 0;\n /*margin-top: 20px;*/\n color: #606266;\n font-size: 14px;\n\n .type-cell {\n box-sizing: border-box;\n height: 70px;\n flex: 1;\n margin-right: 20px;\n padding: 10px 0;\n\n &.with-bdr {\n border-right: 1px solid #DCDFE6;\n padding-right: 50px;\n }\n\n .num {\n font-size: 24px;\n font-weight: 400;\n color: rgba(48, 49, 51, 1);\n margin-top: 20px;\n }\n }\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/employeeRecord.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap employee-record-wrap\",style:({'height': _vm.windowH})},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath,\"slotFlag\":true}},[[_c('div',{staticClass:\"top-area\"},[_c('div',{staticClass:\"top-title\"},[_c('span',{staticClass:\"title-span\"},[_vm._v(\"在职员工\")]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"#/recordIo?importCode=record\"}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"导入员工档案\"),_c('i',{staticClass:\"el-icon-upload el-icon--right\"})])],1)]),_vm._v(\" \"),_c('div',{staticClass:\"e-type-num-title\"},_vm._l((_vm.countObj),function(count,key){return _c('div',{key:key,staticClass:\"type-cell\",class:key == 'onWorkCout' || key == 'noTypeWorkCount' ? 'with-bdr' : ''},[_c('p',{staticClass:\"type-name\"},[_vm._v(_vm._s(_vm.typeObj[key]))]),_vm._v(\" \"),_c('p',{staticClass:\"num\"},[_vm._v(_vm._s(count))])])}))])]],2),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"e-record-container\"},[(!_vm.showExportSet)?[_c('employee-list',{on:{\"showExportSetFn\":_vm.showExportSetFn}})]:[_c('export-set',{attrs:{\"otherSet\":_vm.otherSet},on:{\"cancelCho\":_vm.cancelCho}})]],2)])]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-a9b4137a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/employeeRecord.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-a9b4137a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employeeRecord.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeRecord.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeRecord.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-a9b4137a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employeeRecord.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/employeeRecord.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([5],{EYRQ:function(e,t){},LUXA:function(e,t){},NNAT:function(e,t,o){"use strict";var a=o("fZjL"),i=o.n(a),s=o("mvHQ"),n=o.n(s),l=o("P9l9"),r=o("0xDb"),c={name:"list-item",props:{item:{type:String,required:!0}},filters:{formatDate:r.b},data:function(){return{typeLsit:["全部","全职","兼职","外包","实习","无类型"],reasons:["","家庭原因","个人原因","发展原因","合同到期不续签","协议解除","无法胜任工作","经济性裁员","严重违法违纪","其他"],propList:{headPic:{label:"",slot:!0,width:50},clerkName:{label:"姓名",width:90},clerkPhone:{label:"手机号"},groupName:{label:"部门"},clerkCode:{label:"code"},positionName:{label:"职位"},clerkType:{label:"员工类型",slot:!0},hireDate:{label:"入职日期",needSort:"custom",slot:!0},correctionDate:{label:"转正日期",needSort:"custom",slot:!0},fireDate:{label:"离职日期",needSort:"custom",slot:!0},fireReason:{label:"离职原因",slot:!0},handleEmployee:{label:"操作",slot:!0},handleUnEmployee:{label:"操作",slot:!0}}}},methods:{callHandle:function(e){console.log(e),"编辑员工资料"!=e.typeTitle?this.$emit("callHandle",e.obj,e.type,e.typeTitle):location.href="#/recordInfo?recordId="+e.obj.recordId}}},d={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.propList[e.item].slot?o("el-table-column",{attrs:{label:e.propList[e.item].label,width:e.propList[e.item].width,sortable:e.propList[e.item].needSort,prop:e.item},scopedSlots:e._u([{key:"default",fn:function(t){return["clerkType"==e.item?o("div",[e._v("\n "+e._s(e.typeLsit[t.row[e.item]||5])+"\n ")]):"hireDate"==e.item||"correctionDate"==e.item||"fireDate"==e.item?o("div",[e._v("\n "+e._s(e._f("formatDate")(t.row[e.item],"YY-MM-DD"))+"\n ")]):"headPic"==e.item?o("div",[t.row[e.item]?o("img",{staticClass:"header-pic",attrs:{src:t.row[e.item]}}):o("div",{staticClass:"replace-head-img"},[o("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])]):"fireReason"==e.item?o("div",[e._v("\n "+e._s(e.reasons[t.row[e.item]])+"\n ")]):"handleEmployee"==e.item?o("div",[o("div",{staticClass:"table-handle"},[o("el-dropdown",{staticClass:"more",on:{command:e.callHandle}},[o("span",{staticClass:"el-dropdown-link"},[e._v("\n 更多"),o("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),o("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[2==t.row.clerkStatus?[o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"turnPositive",typeTitle:"办理转正"}}},[e._v("办理转正")]),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"eidtCorrectionTime",typeTitle:"修改转正时间"}}},[e._v("修改转正时间")])]:e._e(),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"editEmployee",typeTitle:"编辑员工资料"}}},[e._v("编辑员工资料")]),e._v(" "),o("el-dropdown-item",{attrs:{command:{obj:t.row,type:"resignation",typeTitle:"办理离职"}}},[e._v("办理离职")])],2)],1)],1)]):"handleUnEmployee"==e.item?o("div",[o("div",{staticClass:"table-handle"},[o("a",{staticClass:"a-href",attrs:{href:"#/recordInfo?recordId="+t.row.recordId}},[e._v("编辑")])])]):e._e()]}}])}):o("el-table-column",{attrs:{label:e.propList[e.item].label,width:e.propList[e.item].width,prop:e.item}})},staticRenderFns:[]};var h=o("VU/8")(c,d,!1,function(e){o("LUXA")},null,null).exports,p=o("IVno"),u=o("Ie7z"),m=o("c4uw"),f={name:"employeeRecordList",props:{isUnEmployee:{type:Boolean,default:!1}},components:{listItem:h,handleDialog:p.a,vueSelectStore:u.a,vueSelectEmployee:m.a},data:function(){return{pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-6048e5),e.$emit("pick",[o,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-2592e6),e.$emit("pick",[o,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,o=new Date;o.setTime(o.getTime()-7776e6),e.$emit("pick",[o,t])}}]},employeeList:[],pageNum:1,pageSize:20,sortType:"desc",sortColumn:"hireDate",statusList:["全部","正式","试用"],typeLsit:["全部","全职","兼职","外包","实习","无类型"],clerkType:0,clerkStatus:0,total:0,handleType:"turnPositive",typeTitle:"",dialogVisible:!1,employeeObj:{},fireDate:[],startDate:"",endDate:"",showSelector:!0,searchParam:"",departMentSet:{},storeSet:{},treeData:{},selectionList:[],disabled:!0,chooseClerkIdList:[],chooseGroupIdList:[],chooseStoreIdList:[],adList:[],adDefaultSelection:[],stList:[],changed:0}},methods:{searchFn:function(){this.getEmloyeeList()},getGroupData:function(){var e=this;Object(l.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var o=[],a=[];1==t.data.errorCode&&(o=t.data.result.departmentList||[],a=t.data.result.searchList||[]),e.treeData={treeData:o,personData:a},e.disabled=!1}).catch(function(e){})},callSelector:function(){this.$refs.departmentSelector.treeSet.dialogVisible=!0},callStoreSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},showExportSet:function(){if(this.isUnEmployee){var e=window.location.origin;-1!=e.indexOf("localhost")&&(e="http://www.gicdev.com");var t=this,o=(t.pageNum,t.chooseClerkIdList.join(","),t.chooseGroupIdList.join(","),t.chooseStoreIdList.join(","),t.pageSize,t.sortType,0==t.clerkStatus||t.clerkStatus,t.sortColumn,0==t.clerkType||t.clerkType,t.startDate,t.endDate,t.searchParam,0==t.clerkType?"":t.clerkType);location.href=e+"/haoban-manage-web/record/export-fire-employee-record?clerkType="+o+"&sortType="+t.sortType+"&sortColumn="+t.sortColumn+"&startDate="+t.startDate+"&endDate="+t.endDate+"&searchParam="+t.searchParam+"&chooseClerkIdList="+t.chooseClerkIdList.join(",")+"&chooseGroupIdList="+t.chooseGroupIdList.join(",")+"&chooseStoreIdList="+t.chooseStoreIdList.join(",")}else this.$emit("showExportSetFn")},handleSelectedList:function(e){this.adDefaultSelection=e,this.adList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},handleStoreSelectedList:function(e){this.stList=e;var t=this.selectionList.concat(e);this.selectionList=t,this.formatSelectionList(t)},formatSelectionList:function(e){var t=this.unique(e);this.selectionList=t;var o=this;t.length&&(o.chooseClerkIdList=[],o.chooseStoreIdList=[],o.chooseGroupIdList=[],t.forEach(function(e){e.employeeClerkId?o.chooseClerkIdList.push(e.employeeClerkId):e.storeId?o.chooseStoreIdList.push(e.storeId):e.groupId&&o.chooseGroupIdList.push(e.groupId)}),o.getEmloyeeList())},unique:function(e){var t={};return e.forEach(function(e){t[n()(e)]=e}),e=i()(t).map(function(e){return JSON.parse(e)})},delSld:function(e,t){var o=this,a=this.selectionList.indexOf(e);this.selectionList.splice(a,1),this.formatSelectionList(this.selectionList),o.adList.forEach(function(t){t.id==e.id&&o.adList.splice(o.adList.indexOf(t),1)}),o.changed+=1,o.adDefaultSelection=o.adList.slice(0)},handleSuccess:function(){this.dialogVisible=!1,this.getEmloyeeList()},callHandle:function(e,t,o){this.handleType=t,this.employeeObj=e,this.typeTitle=o,this.dialogVisible=!0},handleSizeChange:function(e){this.pageSize=e,this.getEmloyeeList()},handleCurrentChange:function(e){this.pageNum=e,this.getEmloyeeList()},sortList:function(e){this.sortColumn=e.prop,this.sortType="descending"==e.order?"desc":"asc",this.getEmloyeeList()},reGetList:function(){this.getEmloyeeList()},getEmloyeeList:function(){var e=this,t=e.isUnEmployee,o=t?"/haoban-manage-web/record/find-fire-employee-record-page":"/haoban-manage-web/record/find-on-work-employee-record-page",a={pageNum:e.pageNum,chooseClerkIdList:e.chooseClerkIdList.join(","),chooseGroupIdList:e.chooseGroupIdList.join(","),chooseStoreIdList:e.chooseStoreIdList.join(","),pageSize:e.pageSize,sortType:e.sortType,clerkStatus:0==e.clerkStatus?"":e.clerkStatus,sortColumn:e.sortColumn,clerkType:0==e.clerkType?"":e.clerkType,startDate:e.startDate,endDate:e.endDate,searchParam:e.searchParam};Object(l.a)(o,a).then(function(o){1==o.data.errorCode?(e.employeeList=o.data.result.list,e.total=t?o.data.result.total:o.data.result.pageInfo.total):e.$message.error({message:o.data.message})}).catch(function(t){e.$message({message:t.message})})},selectDate:function(e){e?(this.startDate=e[0],this.endDate=e[1]):(this.startDate="",this.endDate=""),this.getEmloyeeList()}},beforeMount:function(){this.getEmloyeeList(),this.getGroupData()},computed:{propList:function(){return this.isUnEmployee?["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","fireDate","fireReason","handleUnEmployee"]:["headPic","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","correctionDate","handleEmployee"]}}},v={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"e-r-l-container"},[o("div",{staticClass:"handle-area"},[o("div",{staticClass:"flex1"},[o("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},attrs:{disabled:e.disabled},on:{click:e.callSelector}},[e._v("行政架构选人")]),e._v(" "),o("el-button",{staticStyle:{"margin-right":"10px",height:"32px"},on:{click:e.callStoreSelector}},[e._v("门店架构选人")]),e._v(" "),e.isUnEmployee?o("div",{staticClass:"block"},[o("span",{staticClass:"demonstration"},[e._v("离职日期")]),e._v(" "),o("el-date-picker",{attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":e.pickerOptions2},on:{change:e.selectDate},model:{value:e.fireDate,callback:function(t){e.fireDate=t},expression:"fireDate"}})],1):[o("el-select",{staticClass:"m-r-10 w-130",attrs:{placeholder:"选择类型"},on:{change:e.reGetList},model:{value:e.clerkType,callback:function(t){e.clerkType=t},expression:"clerkType"}},e._l(e.typeLsit,function(e,t){return o("el-option",{key:t,attrs:{label:e,value:t}})})),e._v(" "),o("el-select",{staticClass:"w-130",attrs:{placeholder:"选择状态"},on:{change:e.reGetList},model:{value:e.clerkStatus,callback:function(t){e.clerkStatus=t},expression:"clerkStatus"}},e._l(e.statusList,function(e,t){return o("el-option",{key:t,attrs:{label:e,value:t}})}))],e._v(" "),o("el-input",{staticStyle:{width:"218px","margin-left":"10px"},attrs:{placeholder:"请输入姓名或手机号",clearable:""},on:{clear:e.searchFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchParam,callback:function(t){e.searchParam=t},expression:"searchParam"}})],2),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:e.showExportSet}},[e._v("导出"),o("i",{staticClass:"el-icon-upload el-icon--right"})])],1),e._v(" "),e.selectionList.length>0?o("ul",{staticClass:"selector-selected-list"},[e._l(e.selectionList,function(t,a){return[o("li",{key:a+t.id+t.label,staticClass:"sld"},[e._v(e._s(t.label)+" "),o("i",{staticClass:"el-icon-close",on:{click:function(o){e.delSld(t,t.isStoreGroup)}}})])]}),e._v(" "),o("li",{staticClass:"sld tip"},[e._v("共筛选出"+e._s(e.total)+"人")])],2):e._e(),e._v(" "),o("el-table",{staticClass:"list-table",attrs:{height:"490px",data:e.employeeList,"default-sort":{prop:"hireDate",order:"descending"}},on:{"sort-change":e.sortList}},[e._l(e.propList,function(t){return[o("list-item",{key:t,attrs:{item:t},on:{callHandle:e.callHandle}})]})],2),e._v(" "),o("el-pagination",{staticClass:"pagination",attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNum,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),o("el-dialog",{attrs:{title:e.typeTitle,visible:e.dialogVisible,width:"480px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[o("handle-dialog",{attrs:{employee:e.employeeObj,handleType:e.handleType,typeTitle:e.typeTitle},on:{handleSuccess:e.handleSuccess}})],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleStoreSelectedList}}),e._v(" "),o("vue-select-employee",{ref:"departmentSelector",attrs:{changed:e.changed,treeData:e.treeData,defaultSelection:e.adDefaultSelection},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var g=o("VU/8")(f,v,!1,function(e){o("rMm+")},null,null);t.a=g.exports},O3H5:function(e,t,o){"use strict";var a=o("mvHQ"),i=o.n(a),s=o("P9l9"),n=(o("0xDb"),o("DAYN")),l={name:"export-set",components:{draggable:o.n(n).a},data:function(){return{tempList:[],checkList:[],origin:[],checkAll:!1,isIndeterminate:!1,checkedList:[]}},methods:{checkThis:function(e){e.checked&&this.checkedList.push(e)},handleCheckAllChange:function(e){this.checkedList=[],this.origin.forEach(function(t,o){t.checked=e,e&&(t.order=o+1)}),e&&(this.checkedList=this.origin.slice(0))},getTemplate:function(){var e=this;Object(s.a)("/haoban-manage-web/record/employee-find-template",{}).then(function(t){1==t.data.errorCode?e.formatTemplateList(t.data.result):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatTemplateList:function(e){var t=[],o=[],a=e;e.forEach(function(e){e.title=e.fieldName,e.name=e.fieldName,e.checked=!1;var o=[];a.forEach(function(t){t.parentCode==e.fieldCode&&o.push(t)}),o.sort(function(e,t){return 1*e.sort-1*t.sort}),o.length>0&&(e.childrens=o),0==e.parentCode&&t.push(e)}),t.sort(function(e,t){return 1*e.sort-1*t.sort}),t.forEach(function(e){o=o.concat(e.childrens)}),this.origin=o,this.tempList=t},cancelCho:function(){this.origin.forEach(function(e){e.checked=!1}),this.$emit("cancelCho")},exportCho:function(){var e=[];this.checkedList.forEach(function(t){t.checked&&e.push({fieldCode:t.fieldCode,fieldName:t.fieldName})});i()(e);var t=window.location.origin;-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),location.href=t+"/haoban-manage-web/record/define-export?exportTitleContent="+i()(e),this.$emit("cancelCho")}},beforeMount:function(){this.getTemplate()}},r={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"export-set-container"},[e._m(0),e._v(" "),o("div",{staticClass:"cho-list"},[o("draggable",{model:{value:e.checkedList,callback:function(t){e.checkedList=t},expression:"checkedList"}},[e._l(e.checkedList,function(t){return[t.checked?o("div",{key:t.fieldCode,staticClass:"cho"},[e._v(e._s(t.fieldName))]):e._e()]})],2)],1),e._v(" "),o("div",{staticClass:"cho-area"},[o("div",{staticClass:"title"},[e._v("选择需要导出的字段")]),e._v(" "),o("div",{staticClass:"cho-area-group"},[o("div",{staticClass:"group-div"},[o("div",{staticClass:"group-title"}),e._v(" "),o("ul",{staticClass:"group-son-list"},[o("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1)]),e._v(" "),e._l(e.tempList,function(t,a){return o("div",{key:t.fieldCode+a,staticClass:"group-div"},[o("div",{staticClass:"group-title"},[e._v(e._s(t.title))]),e._v(" "),o("ul",{staticClass:"group-son-list"},[e._l(e.origin,function(a){return[a.parentCode==t.fieldCode?o("li",{key:a.fieldCode},[o("el-checkbox",{key:a.fieldCode,attrs:{label:a.fieldName},on:{change:function(t){e.checkThis(a)}},model:{value:a.checked,callback:function(t){e.$set(a,"checked",t)},expression:"items.checked"}},[e._v(e._s(a.fieldName))])],1):e._e()]})],2)])})],2)]),e._v(" "),o("div",{staticClass:"handle-cho-btn"},[o("el-button",{staticClass:"export-btn",attrs:{type:"primary",disabled:e.checkedList.length<1},on:{click:e.exportCho}},[e._v("导出"),o("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),o("el-button",{on:{click:e.cancelCho}},[e._v("取消")])],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"title"},[this._v("已选择字段"),t("span",[this._v("导出的列表中将按顺序显示这些字段(可拖拽排序)")])])}]};var c=o("VU/8")(l,r,!1,function(e){o("EYRQ")},null,null);t.a=c.exports},"rMm+":function(e,t){},tb5t:function(e,t){},zGJY:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("3Xzz"),i=o("P9l9"),s=o("O3H5"),n=o("NNAT"),l={name:"employeeRecord",components:{navCrumb:a.a,employeeList:n.a,exportSet:s.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"在职员工",path:""}],typeObj:{onWorkCout:"在职员工",allWorkCount:"全职",partTimeWorkCount:"兼职",outWorkCount:"外包",practiceWorkCount:"实习",noTypeWorkCount:"无类型",regularCount:"正式",onTrialCount:"试用",noStatusCount:"无状态"},otherSet:{},countObj:{},showExportSet:!1}},methods:{cancelCho:function(){this.showExportSet=!1},showExportSetFn:function(){this.showExportSet=!0},getEmployeeCount:function(){var e=this;Object(i.a)("/haoban-manage-web/record/employee-count-detail",{}).then(function(t){console.log(t,"res count"),1==t.data.errorCode?e.countObj=t.data.result:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},beforeMount:function(){this.getEmployeeCount()}},r={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"common-set-wrap"},[o("nav-crumb",{attrs:{navpath:e.navpath,slotFlag:!0}},[[o("div",{staticClass:"top-area"},[o("div",{staticClass:"top-title"},[o("span",{staticClass:"title-span"},[e._v("在职员工")]),e._v(" "),o("a",{attrs:{href:"#/recordIo?importCode=record"}},[o("el-button",{attrs:{type:"primary"}},[e._v("导入员工档案"),o("i",{staticClass:"el-icon-upload el-icon--right"})])],1)]),e._v(" "),o("div",{staticClass:"e-type-num-title"},e._l(e.countObj,function(t,a){return o("div",{key:a,staticClass:"type-cell",class:"onWorkCout"==a||"noTypeWorkCount"==a?"with-bdr":""},[o("p",{staticClass:"type-name"},[e._v(e._s(e.typeObj[a]))]),e._v(" "),o("p",{staticClass:"num"},[e._v(e._s(t))])])}))])]],2),e._v(" "),o("div",{staticClass:"right-content"},[o("div",{staticClass:"right-box"},[o("div",{staticClass:"e-record-container"},[e.showExportSet?[o("export-set",{attrs:{otherSet:e.otherSet},on:{cancelCho:e.cancelCho}})]:[o("employee-list",{on:{showExportSetFn:e.showExportSetFn}})]],2)])])],1)},staticRenderFns:[]};var c=o("VU/8")(l,r,!1,function(e){o("tb5t")},null,null);t.default=c.exports}});
//# sourceMappingURL=5.dc8210180109f655b04d.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/employeeRecord/listItem.vue","webpack:///./src/components/employeeRecord/listItem.vue?270c","webpack:///./src/components/employeeRecord/listItem.vue","webpack:///src/components/employeeRecord/employeeList.vue","webpack:///./src/components/employeeRecord/employeeList.vue?a051","webpack:///./src/components/employeeRecord/employeeList.vue","webpack:///src/components/employeeRecord/exportSet.vue","webpack:///./src/components/employeeRecord/exportSet.vue?7083","webpack:///./src/components/employeeRecord/exportSet.vue","webpack:///src/views/contacts/employeeRecord.vue","webpack:///./src/views/contacts/employeeRecord.vue?e78b","webpack:///./src/views/contacts/employeeRecord.vue"],"names":["listItem","name","props","item","type","String","required","filters","formatDate","utils","data","typeLsit","reasons","propList","headPic","label","slot","width","clerkName","clerkPhone","groupName","clerkCode","positionName","clerkType","hireDate","needSort","correctionDate","fireDate","fireReason","handleEmployee","handleUnEmployee","methods","callHandle","command","console","log","typeTitle","this","$emit","obj","location","href","recordId","employeeRecord_listItem","render","_vm","_h","$createElement","_c","_self","attrs","sortable","prop","scopedSlots","_u","key","fn","scope","_v","_s","row","_f","staticClass","src","on","clerkStatus","_e","staticRenderFns","components_employeeRecord_listItem","__webpack_require__","normalizeComponent","ssrContext","employeeList","isUnEmployee","Boolean","default","components","handleDialog","vueSelectStore","vueSelectEmployee","pickerOptions2","shortcuts","text","onClick","picker","end","Date","start","setTime","getTime","pageNum","pageSize","sortType","sortColumn","statusList","total","handleType","dialogVisible","employeeObj","startDate","endDate","showSelector","searchParam","departMentSet","storeSet","treeData","selectionList","disabled","chooseClerkIdList","chooseGroupIdList","chooseStoreIdList","adList","adDefaultSelection","stList","changed","searchFn","getEmloyeeList","getGroupData","_this","Object","api","isStoreGroup","then","res","personData","errorCode","result","departmentList","searchList","catch","e","callSelector","$refs","departmentSelector","treeSet","callStoreSelector","storeSelector","showExportSet","local","window","origin","indexOf","ths","join","handleSelectedList","list","arr","concat","formatSelectionList","handleStoreSelectedList","newList","unique","length","forEach","li","employeeClerkId","push","storeId","groupId","stringify_default","keys_default","map","u","JSON","parse","delSld","sld","idx","splice","ad","id","slice","handleSuccess","handleSizeChange","val","handleCurrentChange","sortList","order","reGetList","url","params","pageInfo","$message","error","message","selectDate","date","beforeMount","computed","employeeRecord_employeeList","staticStyle","margin-right","height","click","align","value-format","unlink-panels","range-separator","start-placeholder","end-placeholder","picker-options","change","model","value","callback","$$v","expression","placeholder","_l","index","margin-left","clearable","clear","nativeOn","keyup","$event","_k","keyCode","default-sort","sort-change","background","page-sizes","page-size","current-page","layout","size-change","current-change","title","visible","update:visible","employee","ref","defaultSelection","employeeList_Component","employeeList_normalizeComponent","__webpack_exports__","exportSet","draggable","a","tempList","checkList","checkAll","isIndeterminate","checkedList","checkThis","items","checked","handleCheckAllChange","tem","getTemplate","formatTemplateList","fieldList","copyData","fieldName","parentCode","fieldCode","sort","b","group","childrens","cancelCho","exportCho","employeeRecord_exportSet","_m","indeterminate","$set","Component","employeeRecord","navCrumb","nav","navpath","path","typeObj","onWorkCout","allWorkCount","partTimeWorkCount","outWorkCount","practiceWorkCount","noTypeWorkCount","regularCount","onTrialCount","noStatusCount","otherSet","countObj","showExportSetFn","getEmployeeCount","contacts_employeeRecord","slotFlag","count","class"],"mappings":"oKA0DAA,GACAC,KAAA,YACAC,OACAC,MACAC,KAAAC,OACAC,UAAA,IAGAC,SACAC,WAAAC,EAAA,GAEAC,KAXA,WAYA,OACAC,UAAA,gCACAC,SAAA,yEACAC,UACAC,SACAC,MAAA,GACAC,MAAA,EACAC,MAAA,IAEAC,WACAH,MAAA,KACAE,MAAA,IAEAE,YACAJ,MAAA,OAEAK,WACAL,MAAA,MAEAM,WACAN,MAAA,QAEAO,cACAP,MAAA,MAEAQ,WACAR,MAAA,OACAC,MAAA,GAEAQ,UACAT,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAU,gBACAX,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAW,UACAZ,MAAA,OACAU,SAAA,SACAT,MAAA,GAEAY,YACAb,MAAA,OACAC,MAAA,GAEAa,gBACAd,MAAA,KACAC,MAAA,GAEAc,kBACAf,MAAA,KACAC,MAAA,MAKAe,SACAC,WADA,SACAC,GACAC,QAAAC,IAAAF,GACA,UAAAA,EAAAG,UACAC,KAAAC,MAAA,aAAAL,EAAAM,IAAAN,EAAA7B,KAAA6B,EAAAG,WAEAI,SAAAC,KAAA,yBAAAR,EAAAM,IAAAG,YCpIeC,GADEC,OAFjB,WAA0B,IAAAC,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iB,UAAA,MAAuC/O,EAAA,OAAac,YAAA,aAAuBd,EAAA,OAAYc,YAAA,cAAwBd,EAAA,QAAac,YAAA,eAAyBjB,EAAAa,GAAA,UAAAb,EAAAa,GAAA,KAAAV,EAAA,KAAuCE,OAAOT,KAAA,kCAAuCO,EAAA,aAAkBE,OAAO9C,KAAA,aAAkByC,EAAAa,GAAA,UAAAV,EAAA,KAA2Bc,YAAA,qCAA4C,KAAAjB,EAAAa,GAAA,KAAAV,EAAA,OAAgCc,YAAA,oBAA+BjB,EAAAmK,GAAAnK,EAAA,kBAAAmP,EAAAzO,GAA2C,OAAAP,EAAA,OAAiBO,MAAAO,YAAA,YAAAmO,MAAA,cAAA1O,GAAA,mBAAAA,EAAA,gBAAwGP,EAAA,KAAUc,YAAA,cAAwBjB,EAAAa,GAAAb,EAAAc,GAAAd,EAAAmO,QAAAzN,OAAAV,EAAAa,GAAA,KAAAV,EAAA,KAAyDc,YAAA,QAAkBjB,EAAAa,GAAAb,EAAAc,GAAAqO,eAA4B,GAAAnP,EAAAa,GAAA,KAAAV,EAAA,OAAgCc,YAAA,kBAA4Bd,EAAA,OAAYc,YAAA,cAAwBd,EAAA,OAAYc,YAAA,uBAAiCjB,EAAA4F,eAAuFzF,EAAA,cAAqBE,OAAOwO,SAAA7O,EAAA6O,UAAwB1N,IAAKoM,UAAAvN,EAAAuN,eAAhJpN,EAAA,iBAA4CgB,IAAI4N,gBAAA/O,EAAA+O,qBAA2H,YAEhpCzN,oBCCjB,IAcAuM,EAdyBrM,EAAQ,OAcjCC,CACEqM,EACAmB,GATF,EAVA,SAAAvN,GACEF,EAAQ,SAaV,KAEA,MAUesK,EAAA,QAAA+B,EAAiB","file":"static/js/5.dc8210180109f655b04d.js","sourcesContent":["<template>\r\n <el-table-column\r\n v-if=\"propList[item].slot\"\r\n :label=\"propList[item].label\"\r\n :width=\"propList[item].width\"\r\n :sortable=\"propList[item].needSort\"\r\n :prop=\"item\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <div v-if=\"item == 'clerkType'\">\r\n {{typeLsit[scope.row[item] || 5]}}\r\n </div>\r\n <div v-else-if=\"item == 'hireDate' || item == 'correctionDate' || item == 'fireDate'\">\r\n {{scope.row[item] | formatDate(\"YY-MM-DD\")}}\r\n </div>\r\n <div v-else-if=\"item == 'headPic'\">\r\n <img class=\"header-pic\" :src=\"scope.row[item]\" v-if=\"!!scope.row[item]\">\r\n <div class=\"replace-head-img\" v-else>\r\n <i class=\"iconfont icon-yewuduanmorentouxian\"></i>\r\n </div>\r\n </div>\r\n <div v-else-if=\"item == 'fireReason'\">\r\n {{reasons[scope.row[item]]}}\r\n </div>\r\n <div v-else-if=\"item == 'handleEmployee'\">\r\n <div class=\"table-handle\">\r\n <el-dropdown class=\"more\" @command=\"callHandle\">\r\n <span class=\"el-dropdown-link\">\r\n 更多<i class=\"el-icon-arrow-down el-icon--right\"></i>\r\n </span>\r\n <el-dropdown-menu slot=\"dropdown\">\r\n <template v-if=\"scope.row.clerkStatus == 2\">\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}\">办理转正</el-dropdown-item>\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}\">修改转正时间</el-dropdown-item>\r\n </template>\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}\">编辑员工资料</el-dropdown-item>\r\n <el-dropdown-item :command=\"{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}\">办理离职</el-dropdown-item>\r\n </el-dropdown-menu>\r\n </el-dropdown>\r\n </div>\r\n </div>\r\n <div v-else-if=\"item == 'handleUnEmployee'\">\r\n <div class=\"table-handle\">\r\n <a :href='\"#/recordInfo?recordId=\" + scope.row.recordId' class=\"a-href\">编辑</a>\r\n </div>\r\n </div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n v-else\r\n :label=\"propList[item].label\"\r\n :width=\"propList[item].width\"\r\n :prop=\"item\"\r\n >\r\n </el-table-column>\r\n</template>\r\n<script>\r\nimport { formatDate } from '@/utils/index';\r\nexport default {\r\n name: \"list-item\",\r\n props: {\r\n item: {\r\n type: String,\r\n required: true\r\n }\r\n },\r\n filters: {\r\n formatDate\r\n },\r\n data() {\r\n return {\r\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\r\n reasons: [\"\", \"家庭原因\", \"个人原因\", \"发展原因\", \"合同到期不续签\", \"协议解除\", \"无法胜任工作\", \"经济性裁员\", \"严重违法违纪\", \"其他\"],\r\n propList: {\r\n headPic: {\r\n label: \"\",\r\n slot: true,\r\n width: 50\r\n },\r\n clerkName: {\r\n label: \"姓名\",\r\n width: 90\r\n },\r\n clerkPhone: {\r\n label: \"手机号\"\r\n },\r\n groupName: {\r\n label: \"部门\"\r\n },\r\n clerkCode: {\r\n label: \"code\"\r\n },\r\n positionName: {\r\n label: \"职位\"\r\n },\r\n clerkType: {\r\n label: \"员工类型\",\r\n slot: true\r\n },\r\n hireDate: {\r\n label: \"入职日期\",\r\n needSort: \"custom\",\r\n slot: true\r\n },\r\n correctionDate: {\r\n label: \"转正日期\",\r\n needSort: \"custom\",\r\n slot: true\r\n },\r\n fireDate: {\r\n label: \"离职日期\",\r\n needSort: \"custom\",\r\n slot: true\r\n },\r\n fireReason: {\r\n label: \"离职原因\",\r\n slot: true\r\n },\r\n handleEmployee: {\r\n label: \"操作\",\r\n slot: true\r\n },\r\n handleUnEmployee: {\r\n label: \"操作\",\r\n slot: true\r\n }\r\n }\r\n };\r\n },\r\n methods: {\r\n callHandle(command) {\r\n console.log(command);\r\n if (command.typeTitle != \"编辑员工资料\") {\r\n this.$emit(\"callHandle\", command.obj, command.type, command.typeTitle);\r\n } else {\r\n location.href = \"#/recordInfo?recordId=\" + command.obj.recordId;\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.header-pic {\r\n width: 35px;\r\n height: 35px;\r\n border-radius: 3px;\r\n}\r\n.replace-head-img {\r\n width: 35px;\r\n height: 35px;\r\n border-radius:3px;\r\n line-height: 35px;\r\n text-align: center;\r\n color: #fff;\r\n background: rgba(64,158,255,1);\r\n}\r\n.table-handle {\r\n cursor: pointer;\r\n .el-dropdown-link {\r\n color: #409EFF;\r\n }\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/listItem.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.propList[_vm.item].slot)?_c('el-table-column',{attrs:{\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"sortable\":_vm.propList[_vm.item].needSort,\"prop\":_vm.item},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(_vm.item == 'clerkType')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.typeLsit[scope.row[_vm.item] || 5])+\"\\n \")]):(_vm.item == 'hireDate' || _vm.item == 'correctionDate' || _vm.item == 'fireDate')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm._f(\"formatDate\")(scope.row[_vm.item],\"YY-MM-DD\"))+\"\\n \")]):(_vm.item == 'headPic')?_c('div',[(!!scope.row[_vm.item])?_c('img',{staticClass:\"header-pic\",attrs:{\"src\":scope.row[_vm.item]}}):_c('div',{staticClass:\"replace-head-img\"},[_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"})])]):(_vm.item == 'fireReason')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.reasons[scope.row[_vm.item]])+\"\\n \")]):(_vm.item == 'handleEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('el-dropdown',{staticClass:\"more\",on:{\"command\":_vm.callHandle}},[_c('span',{staticClass:\"el-dropdown-link\"},[_vm._v(\"\\n 更多\"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_vm._v(\" \"),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(scope.row.clerkStatus == 2)?[_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}}},[_vm._v(\"办理转正\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}}},[_vm._v(\"修改转正时间\")])]:_vm._e(),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}}},[_vm._v(\"编辑员工资料\")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"command\":{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}}},[_vm._v(\"办理离职\")])],2)],1)],1)]):(_vm.item == 'handleUnEmployee')?_c('div',[_c('div',{staticClass:\"table-handle\"},[_c('a',{staticClass:\"a-href\",attrs:{\"href\":\"#/recordInfo?recordId=\" + scope.row.recordId}},[_vm._v(\"编辑\")])])]):_vm._e()]}}])}):_c('el-table-column',{attrs:{\"label\":_vm.propList[_vm.item].label,\"width\":_vm.propList[_vm.item].width,\"prop\":_vm.item}})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-91156f36\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-91156f36\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./listItem.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./listItem.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-91156f36\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./listItem.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/listItem.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"e-r-l-container\">\n <div class=\"handle-area\">\n <div class=\"flex1\">\n <el-button @click=\"callSelector\" :disabled=\"disabled\" style=\"margin-right: 10px; height:32px;\">行政架构选人</el-button>\n <el-button @click=\"callStoreSelector\" style=\"margin-right: 10px; height:32px;\">门店架构选人</el-button>\n <template v-if=\"!isUnEmployee\">\n <el-select\n v-model=\"clerkType\"\n placeholder=\"选择类型\"\n @change=\"reGetList\"\n class=\"m-r-10 w-130\">\n <el-option v-for=\"(type, index) in typeLsit\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n <el-select\n class=\"w-130\"\n v-model=\"clerkStatus\"\n placeholder=\"选择状态\"\n @change=\"reGetList\">\n <el-option v-for=\"(type, index) in statusList\" :key=\"index\" :label=\"type\" :value=\"index\">\n </el-option>\n </el-select>\n </template>\n <div class=\"block\" v-else>\n <span class=\"demonstration\">离职日期</span>\n <el-date-picker v-model=\"fireDate\" type=\"daterange\" align=\"right\" value-format=\"yyyy-MM-dd\" unlink-panels range-separator=\"至\" start-placeholder=\"开始日期\" end-placeholder=\"结束日期\" @change=\"selectDate\" :picker-options=\"pickerOptions2\">\n </el-date-picker>\n </div>\n <el-input v-model=\"searchParam\" placeholder=\"请输入姓名或手机号\" style=\"width: 218px;margin-left:10px;\" @keyup.enter.native=\"searchFn\" clearable @clear=\"searchFn\"></el-input>\n </div>\n <el-button type=\"primary\" @click=\"showExportSet\">导出<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </div>\n <ul class=\"selector-selected-list\" v-if=\"selectionList.length > 0\">\n <template v-for=\"(sld, index) in selectionList\">\n <li :key=\"index + sld.id + sld.label\" class=\"sld\">{{sld.label}} <i class=\"el-icon-close\" @click=\"delSld(sld, sld.isStoreGroup)\"></i></li>\n </template>\n <li class=\"sld tip\">共筛选出{{total}}人</li>\n </ul>\n <el-table class=\"list-table\" height=\"490px\" :data=\"employeeList\" @sort-change=\"sortList\" :default-sort=\"{prop: 'hireDate', order: 'descending'}\">\n <template v-for=\"prop in propList\">\n <list-item :item=\"prop\" :key=\"prop\" @callHandle=\"callHandle\"></list-item>\n </template>\n </el-table>\n <el-pagination class=\"pagination\" background @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :page-sizes=\"[20, 40, 60, 80]\" :page-size=\"pageSize\" :current-page=\"pageNum\" layout=\"total, sizes, prev, pager, next\" :total=\"total\">\n </el-pagination>\n <el-dialog :title=\"typeTitle\" :visible.sync=\"dialogVisible\" width=\"480px\">\n <handle-dialog :employee=\"employeeObj\" :handleType=\"handleType\" :typeTitle=\"typeTitle\" @handleSuccess=\"handleSuccess\"></handle-dialog>\n </el-dialog>\n <vue-select-store ref=\"storeSelector\" @handleSelectedList=\"handleStoreSelectedList\"></vue-select-store>\n <vue-select-employee ref=\"departmentSelector\" @handleSelectedList=\"handleSelectedList\" :changed=\"changed\" :treeData=\"treeData\" :defaultSelection=\"adDefaultSelection\"></vue-select-employee>\n </div>\n</template>\n<script>\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nimport listItem from \"components/employeeRecord/listItem\";\nimport handleDialog from \"components/employeeRecord/handleDialog\";\nimport vueSelectStore from \"components/common/vueSelectStore\";\nimport vueSelectEmployee from \"components/common/vueSelectEmployee\";\nexport default {\n name: \"employeeRecordList\",\n props: {\n isUnEmployee: {\n type: Boolean,\n default: false\n }\n },\n components: {\n listItem,\n handleDialog,\n vueSelectStore,\n vueSelectEmployee\n },\n data() {\n return {\n pickerOptions2: {\n shortcuts: [{\n text: '最近一周',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近一个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);\n picker.$emit('pick', [start, end]);\n }\n }, {\n text: '最近三个月',\n onClick(picker) {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);\n picker.$emit('pick', [start, end]);\n }\n }]\n },\n employeeList: [],\n pageNum: 1,\n pageSize: 20,\n sortType: \"desc\",\n sortColumn: \"hireDate\",\n statusList: [\"全部\", \"正式\", \"试用\"],\n typeLsit: [\"全部\", \"全职\", \"兼职\", \"外包\", \"实习\", \"无类型\"],\n clerkType: 0,\n clerkStatus: 0,\n total: 0,\n handleType: \"turnPositive\",\n typeTitle: \"\",\n dialogVisible: false,\n employeeObj: {},\n fireDate: [],\n startDate: \"\",\n endDate: \"\",\n showSelector: true,\n searchParam: \"\",\n departMentSet: {},\n storeSet: {},\n treeData: {},\n selectionList: [],\n disabled: true,\n chooseClerkIdList: [],\n chooseGroupIdList: [],\n chooseStoreIdList: [],\n adList: [],\n adDefaultSelection: [],\n stList: [],\n changed: 0\n };\n },\n methods: {\n searchFn() {\n this.getEmloyeeList();\n },\n getGroupData() {\n let _this = this;\n let params = {\n isStoreGroup: 0\n };\n getRequest(\"/haoban-manage-web/dept/deptListForCompany\", params)\n .then(res => {\n let treeData = [];\n let personData = [];\n if (res.data.errorCode == 1) {\n treeData = res.data.result.departmentList || [];\n personData = res.data.result.searchList || []\n }\n _this.treeData = {\n treeData,\n personData\n };\n _this.disabled = false;\n })\n .catch(e => {});\n },\n callSelector() {\n this.$refs.departmentSelector.treeSet.dialogVisible = true;\n },\n callStoreSelector() {\n this.$refs.storeSelector.treeSet.dialogVisible = true;\n },\n showExportSet() { // 显示导出设置页面\n let isUnEmployee = this.isUnEmployee;\n if (!isUnEmployee) {\n this.$emit(\"showExportSetFn\");\n } else {\n let local = window.location.origin;\n if (local.indexOf('localhost') != -1) {\n local = 'http://www.gicdev.com';\n }\n let ths = this;\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n let clerkType = ths.clerkType == 0 ? \"\" : ths.clerkType;\n location.href = local + \"/haoban-manage-web/record/export-fire-employee-record?clerkType=\" + clerkType + \"&sortType=\" + ths.sortType + \"&sortColumn=\" + ths.sortColumn + \"&startDate=\" + ths.startDate + \"&endDate=\" + ths.endDate + \"&searchParam=\" + ths.searchParam + \"&chooseClerkIdList=\" + ths.chooseClerkIdList.join(\",\") + \"&chooseGroupIdList=\" + ths.chooseGroupIdList.join(\",\") + \"&chooseStoreIdList=\" + ths.chooseStoreIdList.join(\",\");\n }\n },\n handleSelectedList(list) {\n this.adDefaultSelection = list;\n this.adList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n handleStoreSelectedList(list) {\n this.stList = list;\n let arr = this.selectionList.concat(list);\n this.selectionList = arr;\n this.formatSelectionList(arr);\n },\n formatSelectionList(list) {\n let newList = this.unique(list);\n this.selectionList = newList;\n let ths = this;\n if (!!newList.length) {\n ths.chooseClerkIdList = [];\n ths.chooseStoreIdList = [];\n ths.chooseGroupIdList = [];\n newList.forEach(li => {\n if (li.employeeClerkId) {\n ths.chooseClerkIdList.push(li.employeeClerkId);\n } else if (li.storeId) {\n ths.chooseStoreIdList.push(li.storeId);\n } else if (li.groupId) {\n ths.chooseGroupIdList.push(li.groupId);\n }\n });\n ths.getEmloyeeList();\n }\n },\n unique(arr) {\n let unique = {};\n arr.forEach(item => {\n unique[JSON.stringify(item)] = item; // 键名不会重复\n })\n arr = Object.keys(unique).map((u) => { // Object.keys()返回对象的所有键值组成的数组,map方法是一个遍历方法,返回遍历结果组成的数组.将unique对象的键名还原成对象数组\n return JSON.parse(u);\n });\n return arr;\n },\n delSld(sld, isStoreGroup) { // 删除选择的导出字段\n let ths = this;\n let idx = this.selectionList.indexOf(sld);\n this.selectionList.splice(idx, 1);\n this.formatSelectionList(this.selectionList);\n ths.adList.forEach(ad => {\n if (ad.id == sld.id) {\n ths.adList.splice(ths.adList.indexOf(ad), 1);\n }\n });\n ths.changed += 1;\n ths.adDefaultSelection = ths.adList.slice(0);\n },\n handleSuccess() {\n this.dialogVisible = false;\n this.getEmloyeeList();\n },\n // 呼出操作弹窗(办理离职/转正)\n callHandle(obj, type, typeTitle) {\n this.handleType = type;\n this.employeeObj = obj;\n this.typeTitle = typeTitle;\n this.dialogVisible = true;\n },\n handleSizeChange(val) {\n this.pageSize = val;\n this.getEmloyeeList();\n },\n handleCurrentChange(val) {\n this.pageNum = val;\n this.getEmloyeeList();\n },\n // 改变排序\n sortList(obj) {\n this.sortColumn = obj.prop,\n this.sortType = obj.order == \"descending\" ? \"desc\" : \"asc\";\n this.getEmloyeeList();\n },\n reGetList() {\n this.getEmloyeeList();\n },\n getEmloyeeList() {\n let ths = this;\n let isUnEmployee = ths.isUnEmployee;\n let url = isUnEmployee ? \"/haoban-manage-web/record/find-fire-employee-record-page\" : \"/haoban-manage-web/record/find-on-work-employee-record-page\"\n let params = {\n pageNum: ths.pageNum,\n chooseClerkIdList: ths.chooseClerkIdList.join(\",\"),\n chooseGroupIdList: ths.chooseGroupIdList.join(\",\"),\n chooseStoreIdList: ths.chooseStoreIdList.join(\",\"),\n pageSize: ths.pageSize,\n sortType: ths.sortType,\n clerkStatus: ths.clerkStatus == 0 ? \"\" : ths.clerkStatus,\n sortColumn: ths.sortColumn,\n clerkType: ths.clerkType == 0 ? \"\" : ths.clerkType,\n startDate: ths.startDate,\n endDate: ths.endDate,\n searchParam: ths.searchParam\n };\n getRequest(url, params)\n .then(res => {\n if (res.data.errorCode == 1) {\n ths.employeeList = res.data.result.list;\n ths.total = isUnEmployee ? res.data.result.total : res.data.result.pageInfo.total;\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n ths.$message({\n message: e.message\n });\n });\n },\n selectDate(date) {\n if (!!date) {\n this.startDate = date[0];\n this.endDate = date[1];\n } else {\n this.startDate = \"\";\n this.endDate = \"\";\n }\n this.getEmloyeeList();\n }\n },\n beforeMount() {\n this.getEmloyeeList();\n this.getGroupData();\n },\n computed: {\n propList() {\n let isUnEmployee = this.isUnEmployee;\n return isUnEmployee ? [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"fireDate\", \"fireReason\", \"handleUnEmployee\"] : [\"headPic\", \"clerkName\", \"clerkPhone\", \"groupName\", \"clerkCode\", \"positionName\", \"clerkType\", \"hireDate\", \"correctionDate\", \"handleEmployee\"]\n }\n }\n}\n\n</script>\n<style lang=\"scss\">\n.e-r-l-container {\n /*margin-top: 24px;*/\n padding: 24px;\n background: #fff;\n\n .handle-area {\n display: flex;\n\n .flex1 {\n flex: 1;\n display: flex;\n\n .demonstration {\n color: #606266;\n margin-right: 10px;\n font-size: 14px;\n }\n }\n }\n\n .selector-selected-list {\n padding: 20px 0 0;\n display: flex;\n flex-wrap: wrap;\n\n .sld {\n padding: 8px 10px;\n box-sizing: border-box;\n background: rgba(244, 244, 245, 1);\n border: 1px solid rgba(233, 233, 235, 1);\n border-radius: 4px;\n font-size: 12px;\n font-weight: 400;\n color: rgba(144, 147, 153, 1);\n margin-right: 10px;\n\n .el-icon-close {\n cursor: pointer;\n }\n\n &.tip {\n border: none;\n background: none;\n }\n }\n }\n\n .list-table {\n margin-top: 22px;\n }\n\n .pagination {\n text-align: right;\n margin-top: 20px;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/employeeList.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"e-r-l-container\"},[_c('div',{staticClass:\"handle-area\"},[_c('div',{staticClass:\"flex1\"},[_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.callSelector}},[_vm._v(\"行政架构选人\")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"margin-right\":\"10px\",\"height\":\"32px\"},on:{\"click\":_vm.callStoreSelector}},[_vm._v(\"门店架构选人\")]),_vm._v(\" \"),(!_vm.isUnEmployee)?[_c('el-select',{staticClass:\"m-r-10 w-130\",attrs:{\"placeholder\":\"选择类型\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkType),callback:function ($$v) {_vm.clerkType=$$v},expression:\"clerkType\"}},_vm._l((_vm.typeLsit),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})})),_vm._v(\" \"),_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"选择状态\"},on:{\"change\":_vm.reGetList},model:{value:(_vm.clerkStatus),callback:function ($$v) {_vm.clerkStatus=$$v},expression:\"clerkStatus\"}},_vm._l((_vm.statusList),function(type,index){return _c('el-option',{key:index,attrs:{\"label\":type,\"value\":index}})}))]:_c('div',{staticClass:\"block\"},[_c('span',{staticClass:\"demonstration\"},[_vm._v(\"离职日期\")]),_vm._v(\" \"),_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"align\":\"right\",\"value-format\":\"yyyy-MM-dd\",\"unlink-panels\":\"\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"picker-options\":_vm.pickerOptions2},on:{\"change\":_vm.selectDate},model:{value:(_vm.fireDate),callback:function ($$v) {_vm.fireDate=$$v},expression:\"fireDate\"}})],1),_vm._v(\" \"),_c('el-input',{staticStyle:{\"width\":\"218px\",\"margin-left\":\"10px\"},attrs:{\"placeholder\":\"请输入姓名或手机号\",\"clearable\":\"\"},on:{\"clear\":_vm.searchFn},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchFn($event)}},model:{value:(_vm.searchParam),callback:function ($$v) {_vm.searchParam=$$v},expression:\"searchParam\"}})],2),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.showExportSet}},[_vm._v(\"导出\"),_c('i',{staticClass:\"el-icon-upload el-icon--right\"})])],1),_vm._v(\" \"),(_vm.selectionList.length > 0)?_c('ul',{staticClass:\"selector-selected-list\"},[_vm._l((_vm.selectionList),function(sld,index){return [_c('li',{key:index + sld.id + sld.label,staticClass:\"sld\"},[_vm._v(_vm._s(sld.label)+\" \"),_c('i',{staticClass:\"el-icon-close\",on:{\"click\":function($event){_vm.delSld(sld, sld.isStoreGroup)}}})])]}),_vm._v(\" \"),_c('li',{staticClass:\"sld tip\"},[_vm._v(\"共筛选出\"+_vm._s(_vm.total)+\"人\")])],2):_vm._e(),_vm._v(\" \"),_c('el-table',{staticClass:\"list-table\",attrs:{\"height\":\"490px\",\"data\":_vm.employeeList,\"default-sort\":{prop: 'hireDate', order: 'descending'}},on:{\"sort-change\":_vm.sortList}},[_vm._l((_vm.propList),function(prop){return [_c('list-item',{key:prop,attrs:{\"item\":prop},on:{\"callHandle\":_vm.callHandle}})]})],2),_vm._v(\" \"),_c('el-pagination',{staticClass:\"pagination\",attrs:{\"background\":\"\",\"page-sizes\":[20, 40, 60, 80],\"page-size\":_vm.pageSize,\"current-page\":_vm.pageNum,\"layout\":\"total, sizes, prev, pager, next\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":_vm.typeTitle,\"visible\":_vm.dialogVisible,\"width\":\"480px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('handle-dialog',{attrs:{\"employee\":_vm.employeeObj,\"handleType\":_vm.handleType,\"typeTitle\":_vm.typeTitle},on:{\"handleSuccess\":_vm.handleSuccess}})],1),_vm._v(\" \"),_c('vue-select-store',{ref:\"storeSelector\",on:{\"handleSelectedList\":_vm.handleStoreSelectedList}}),_vm._v(\" \"),_c('vue-select-employee',{ref:\"departmentSelector\",attrs:{\"changed\":_vm.changed,\"treeData\":_vm.treeData,\"defaultSelection\":_vm.adDefaultSelection},on:{\"handleSelectedList\":_vm.handleSelectedList}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-14a218fe\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-14a218fe\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employeeList.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-14a218fe\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employeeList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/employeeList.vue\n// module id = null\n// module chunks = ","<template>\r\n <div class=\"export-set-container\">\r\n <div class=\"title\">已选择字段<span>导出的列表中将按顺序显示这些字段(可拖拽排序)</span></div>\r\n <div class=\"cho-list\">\r\n <draggable v-model=\"checkedList\">\r\n <template v-for=\"tem in checkedList\">\r\n <div class=\"cho\" v-if=\"tem.checked\" :key=\"tem.fieldCode\">{{tem.fieldName}}</div>\r\n </template>\r\n </draggable>\r\n </div>\r\n <div class=\"cho-area\">\r\n <div class=\"title\">选择需要导出的字段</div>\r\n <div class=\"cho-area-group\">\r\n <div class=\"group-div\">\r\n <div class=\"group-title\"></div>\r\n <ul class=\"group-son-list\">\r\n <el-checkbox :indeterminate=\"isIndeterminate\" v-model=\"checkAll\" @change=\"handleCheckAllChange\">全选</el-checkbox></ul>\r\n </div>\r\n <div class=\"group-div\" v-for=\"(group, index) in tempList\" :key=\"group.fieldCode+index\">\r\n <div class=\"group-title\">{{group.title}}</div>\r\n <ul class=\"group-son-list\">\r\n <template v-for=\"items in origin\">\r\n <li :key=\"items.fieldCode\" v-if=\"items.parentCode == group.fieldCode\">\r\n <el-checkbox :label=\"items.fieldName\" :key=\"items.fieldCode\" v-model=\"items.checked\" @change=\"checkThis(items)\">{{items.fieldName}}</el-checkbox>\r\n </li>\r\n </template>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"handle-cho-btn\">\r\n <el-button type=\"primary\" class=\"export-btn\" @click=\"exportCho\" :disabled=\"checkedList.length < 1\">导出<i class=\"iconfont icon-icon_yunxiazai\"></i></el-button>\r\n <el-button @click=\"cancelCho\">取消</el-button>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\r\nimport { deepClone, formatDate } from '@/utils/index';\r\nimport draggable from 'vuedraggable'\r\nexport default {\r\n name: \"export-set\",\r\n components: {\r\n draggable\r\n },\r\n data() {\r\n return {\r\n tempList: [],\r\n checkList: [],\r\n origin: [],\r\n checkAll: false,\r\n isIndeterminate: false,\r\n checkedList: []\r\n };\r\n },\r\n methods: {\r\n checkThis(items) {\r\n // 将勾选的字段放入已勾选列表\r\n if (items.checked) {\r\n this.checkedList.push(items);\r\n }\r\n },\r\n handleCheckAllChange(val) { // 全选勾选框\r\n let ths = this;\r\n this.checkedList = [];\r\n this.origin.forEach((tem, idx) => {\r\n tem.checked = val;\r\n if (val) {\r\n tem.order = idx + 1;\r\n }\r\n });\r\n if (val) {\r\n ths.checkedList = ths.origin.slice(0);\r\n }\r\n },\r\n getTemplate() { // 获取模版字段\r\n let ths = this;\r\n getRequest(\"/haoban-manage-web/record/employee-find-template\", {})\r\n .then(res => {\r\n if (res.data.errorCode == 1) {\r\n ths.formatTemplateList(res.data.result);\r\n } else {\r\n ths.$message.error({\r\n message: res.data.message\r\n });\r\n }\r\n })\r\n .catch(e => {\r\n ths.$message.error({\r\n message: e.message\r\n });\r\n });\r\n },\r\n formatTemplateList(list) {\r\n // 模版字段按种类分组,按排序字段排序\r\n let ths = this;\r\n let fieldList = [];\r\n let origin = [];\r\n let copyData = list;\r\n list.forEach(tem => {\r\n tem.title = tem.fieldName;\r\n tem.name = tem.fieldName;\r\n tem.checked = false;\r\n let arr = [];\r\n copyData.forEach(li => {\r\n if (li.parentCode == tem.fieldCode) {\r\n arr.push(li);\r\n }\r\n });\r\n arr.sort(function(a,b){\r\n return a.sort*1-b.sort*1;\r\n });\r\n if (arr.length > 0) tem[\"childrens\"] = arr;\r\n if (tem.parentCode == 0) {\r\n fieldList.push(tem);\r\n }\r\n });\r\n fieldList.sort(function(a,b){\r\n return a.sort*1-b.sort*1;\r\n });\r\n fieldList.forEach(group => {\r\n origin = origin.concat(group.childrens); \r\n });\r\n this.origin = origin;\r\n this.tempList = fieldList;\r\n },\r\n cancelCho() {\r\n // 取消选择\r\n this.origin.forEach(tem => {\r\n tem.checked = false;\r\n });\r\n this.$emit(\"cancelCho\");\r\n },\r\n exportCho() {\r\n // 导出\r\n let arr = [];\r\n let ths = this;\r\n this.checkedList.forEach(tem => {\r\n if (tem.checked) {\r\n arr.push({\r\n fieldCode: tem.fieldCode,\r\n fieldName: tem.fieldName\r\n })\r\n }\r\n });\r\n let params = {};\r\n params[\"exportTitleContent\"] = JSON.stringify(arr);\r\n let local = window.location.origin;\r\n if (local.indexOf('localhost')!= -1) {\r\n local = 'http://www.gicdev.com';\r\n }\r\n location.href = local + \"/haoban-manage-web/record/define-export?exportTitleContent=\"+JSON.stringify(arr);\r\n this.$emit(\"cancelCho\");\r\n }\r\n },\r\n beforeMount() {\r\n this.getTemplate();\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.export-set-container {\r\n background: #fff;\r\n padding: 25px;\r\n .title {\r\n font-size:16px;\r\n font-family:PingFangSC-Medium;\r\n font-weight:500;\r\n color:rgba(48,49,51,1);\r\n span {\r\n font-size:14px;\r\n font-family:PingFangSC-Regular;\r\n font-weight:400;\r\n color:rgba(144,147,153,1);\r\n margin-left: 20px;\r\n }\r\n }\r\n .cho-list {\r\n >div {\r\n padding: 34px 0;\r\n border-bottom: 1px solid #E4E7ED;\r\n display: flex;\r\n flex-wrap: wrap;\r\n margin-bottom: 44px;\r\n .cho {\r\n padding: 0 15px;\r\n box-sizing: border-box;\r\n height:32px;\r\n background:rgba(236,245,255,1);\r\n border:1px solid rgba(217,236,255,1);\r\n border-radius:4px;\r\n color: #409EFF;\r\n box-sizing: border-box;\r\n text-align: center;\r\n line-height: 32px;\r\n font-size: 12px;\r\n margin-right: 10px;\r\n margin-bottom: 20px;\r\n cursor: pointer;\r\n &.osen {\r\n background:rgba(64,158,255,1);\r\n color: #fff;\r\n }\r\n }\r\n }\r\n }\r\n .cho-area {\r\n margin-top: 60px;\r\n font-size:14px;\r\n font-family:PingFangSC-Medium;\r\n font-weight:500;\r\n color:rgba(96,98,102,1);\r\n .group-div {\r\n display: flex;\r\n margin-bottom: 50px;\r\n &:first-child {\r\n margin-top: 60px;\r\n }\r\n .group-title {\r\n width: 100px;\r\n font-weight:400;\r\n color:rgba(96,98,102,1);\r\n }\r\n .group-son-list {\r\n flex: 1;\r\n display: flex;\r\n flex-wrap: wrap;\r\n li {\r\n width: 180px;\r\n margin-bottom: 25px;\r\n }\r\n }\r\n }\r\n }\r\n .handle-cho-btn {\r\n text-align: center;\r\n .export-btn{\r\n margin-right: 10px;\r\n .iconfont {\r\n color: #fff;\r\n margin-left: 5px;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/employeeRecord/exportSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"export-set-container\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"cho-list\"},[_c('draggable',{model:{value:(_vm.checkedList),callback:function ($$v) {_vm.checkedList=$$v},expression:\"checkedList\"}},[_vm._l((_vm.checkedList),function(tem){return [(tem.checked)?_c('div',{key:tem.fieldCode,staticClass:\"cho\"},[_vm._v(_vm._s(tem.fieldName))]):_vm._e()]})],2)],1),_vm._v(\" \"),_c('div',{staticClass:\"cho-area\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"选择需要导出的字段\")]),_vm._v(\" \"),_c('div',{staticClass:\"cho-area-group\"},[_c('div',{staticClass:\"group-div\"},[_c('div',{staticClass:\"group-title\"}),_vm._v(\" \"),_c('ul',{staticClass:\"group-son-list\"},[_c('el-checkbox',{attrs:{\"indeterminate\":_vm.isIndeterminate},on:{\"change\":_vm.handleCheckAllChange},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:\"checkAll\"}},[_vm._v(\"全选\")])],1)]),_vm._v(\" \"),_vm._l((_vm.tempList),function(group,index){return _c('div',{key:group.fieldCode+index,staticClass:\"group-div\"},[_c('div',{staticClass:\"group-title\"},[_vm._v(_vm._s(group.title))]),_vm._v(\" \"),_c('ul',{staticClass:\"group-son-list\"},[_vm._l((_vm.origin),function(items){return [(items.parentCode == group.fieldCode)?_c('li',{key:items.fieldCode},[_c('el-checkbox',{key:items.fieldCode,attrs:{\"label\":items.fieldName},on:{\"change\":function($event){_vm.checkThis(items)}},model:{value:(items.checked),callback:function ($$v) {_vm.$set(items, \"checked\", $$v)},expression:\"items.checked\"}},[_vm._v(_vm._s(items.fieldName))])],1):_vm._e()]})],2)])})],2)]),_vm._v(\" \"),_c('div',{staticClass:\"handle-cho-btn\"},[_c('el-button',{staticClass:\"export-btn\",attrs:{\"type\":\"primary\",\"disabled\":_vm.checkedList.length < 1},on:{\"click\":_vm.exportCho}},[_vm._v(\"导出\"),_c('i',{staticClass:\"iconfont icon-icon_yunxiazai\"})]),_vm._v(\" \"),_c('el-button',{on:{\"click\":_vm.cancelCho}},[_vm._v(\"取消\")])],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title\"},[_vm._v(\"已选择字段\"),_c('span',[_vm._v(\"导出的列表中将按顺序显示这些字段(可拖拽排序)\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-5d745130\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/employeeRecord/exportSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5d745130\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./exportSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./exportSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./exportSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5d745130\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./exportSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/employeeRecord/exportSet.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"common-set-wrap\">\n <nav-crumb :navpath=\"navpath\" :slotFlag=\"true\">\n <template>\n <div class=\"top-area\">\n <div class=\"top-title\">\n <span class=\"title-span\">在职员工</span>\n <a href=\"#/recordIo?importCode=record\">\n <el-button type=\"primary\">导入员工档案<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </a>\n </div>\n <div class=\"e-type-num-title\">\n <div class=\"type-cell\" v-for=\"(count, key) in countObj\" :key=\"key\" :class=\"key == 'onWorkCout' || key == 'noTypeWorkCount' ? 'with-bdr' : ''\">\n <p class=\"type-name\">{{typeObj[key]}}</p>\n <p class=\"num\">{{count}}</p>\n </div>\n </div>\n </div>\n </template>\n </nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <div class=\"e-record-container\">\n <template v-if=\"!showExportSet\">\n <employee-list @showExportSetFn=\"showExportSetFn\"></employee-list>\n </template>\n <template v-else>\n <export-set @cancelCho=\"cancelCho\" :otherSet=\"otherSet\"></export-set>\n </template>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nimport exportSet from \"components/employeeRecord/exportSet\";\nimport employeeList from \"components/employeeRecord/employeeList\";\nexport default {\n name: \"employeeRecord\",\n components: {\n navCrumb,\n employeeList,\n exportSet\n },\n data() {\n return {\n // 面包屑参数\n navpath: [{\n name: '首页',\n path: '/index'\n },\n {\n name: '企业通讯录',\n path: '/administrativeFrame'\n },\n {\n name: '员工档案',\n path: '/fileSet'\n },\n {\n name: '在职员工',\n path: ''\n }\n ],\n typeObj: {\n onWorkCout: \"在职员工\",\n allWorkCount: \"全职\",\n partTimeWorkCount: \"兼职\",\n outWorkCount: \"外包\",\n practiceWorkCount: \"实习\",\n noTypeWorkCount: \"无类型\",\n regularCount: \"正式\",\n onTrialCount: \"试用\",\n noStatusCount: \"无状态\"\n },\n otherSet: {},\n countObj: {},\n showExportSet: false\n };\n },\n methods: {\n cancelCho() {\n this.showExportSet = false;\n },\n showExportSetFn() {\n this.showExportSet = true;\n },\n // 获取员工数量信息\n getEmployeeCount() {\n let ths = this;\n getRequest(\"/haoban-manage-web/record/employee-count-detail\", {})\n .then(res => {\n console.log(res, \"res count\");\n if (res.data.errorCode == 1) {\n ths.countObj = res.data.result;\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n ths.$message.error({\n message: e.message\n });\n });\n }\n },\n beforeMount() {\n this.getEmployeeCount();\n }\n};\n\n</script>\n<style lang=\"scss\">\n.top-area {\n background: #fff;\n padding: 10px 0;\n\n .top-title {\n display: flex;\n line-height: 32px;\n font-size: 20px;\n font-weight: bolder;\n color: rgba(48, 49, 51, 1);\n\n .title-span {\n flex: 1;\n }\n }\n\n .e-type-num-title {\n display: flex;\n padding: 12px 0;\n /*margin-top: 20px;*/\n color: #606266;\n font-size: 14px;\n\n .type-cell {\n box-sizing: border-box;\n height: 70px;\n flex: 1;\n margin-right: 20px;\n padding: 10px 0;\n\n &.with-bdr {\n border-right: 1px solid #DCDFE6;\n padding-right: 50px;\n }\n\n .num {\n font-size: 24px;\n font-weight: 400;\n color: rgba(48, 49, 51, 1);\n margin-top: 20px;\n }\n }\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/employeeRecord.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath,\"slotFlag\":true}},[[_c('div',{staticClass:\"top-area\"},[_c('div',{staticClass:\"top-title\"},[_c('span',{staticClass:\"title-span\"},[_vm._v(\"在职员工\")]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"#/recordIo?importCode=record\"}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"导入员工档案\"),_c('i',{staticClass:\"el-icon-upload el-icon--right\"})])],1)]),_vm._v(\" \"),_c('div',{staticClass:\"e-type-num-title\"},_vm._l((_vm.countObj),function(count,key){return _c('div',{key:key,staticClass:\"type-cell\",class:key == 'onWorkCout' || key == 'noTypeWorkCount' ? 'with-bdr' : ''},[_c('p',{staticClass:\"type-name\"},[_vm._v(_vm._s(_vm.typeObj[key]))]),_vm._v(\" \"),_c('p',{staticClass:\"num\"},[_vm._v(_vm._s(count))])])}))])]],2),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"e-record-container\"},[(!_vm.showExportSet)?[_c('employee-list',{on:{\"showExportSetFn\":_vm.showExportSetFn}})]:[_c('export-set',{attrs:{\"otherSet\":_vm.otherSet},on:{\"cancelCho\":_vm.cancelCho}})]],2)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-32d490c1\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/employeeRecord.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-32d490c1\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employeeRecord.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeRecord.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employeeRecord.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-32d490c1\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employeeRecord.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/employeeRecord.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([42],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("6jtR")},null,null).exports,i=n("/ocq"),m=n("5tgt"),d=n.n(m);r.default.use(i.a);var p=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var u,l=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"index",component:d()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:d()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:d()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:d()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:d()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:d()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:d()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:d()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:d()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:d()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:d()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:d()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:d()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:d()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:d()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:d()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:d()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:d()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:d()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:d()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:d()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:d()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:d()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:d()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:d()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:d()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:d()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:d()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:d()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:d()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:d()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:d()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),w=n.n(g),y=n("mtWM"),C=n.n(y),A=n("bOdI"),I=n.n(A),x=n("NYxO");r.default.use(x.a);var R=new x.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(u={},I()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),I()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),I()(u,"title",function(e,t){e.title=t}),I()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),S=n("tyqE"),j=n.n(S),O=n("pRVe"),T=n.n(O),b=n("SE7k"),D=n.n(b),F=n("XsK6"),z=n.n(F),E=n("QRL9"),G=n.n(E),H=n("2Pnh"),q=n.n(H),J=n("l9mu"),X=n.n(J),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;q()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new X.a("","pt","a4");if(r<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)m.addImage(i,"JPEG",0,c,595.28,s),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};r.default.use(U),r.default.use(z.a),r.default.use(G.a),r.default.use(D.a),r.default.use(T.a),r.default.use(j.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(w.a,C.a),r.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var o=void 0,r=window.location.origin;o="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||C.a.get(o+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode?h.Message.error({duration:1e3,message:t.message}):localStorage.setItem("userInfo",a()(t.result))}).catch(function(e){h.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,15],"./contacts/addDepartment.vue":["HHRu",0,9],"./contacts/addEmployee.vue":["00Sv",37],"./contacts/addGroup.vue":["mPjx",0,28],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,29],"./contacts/employeeIo.vue":["Rwbg",0,35],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,26],"./contacts/recordInfo.vue":["67iC",0,22],"./contacts/recordIo.vue":["738z",0,16],"./contacts/recycle.vue":["HkK0",0,18],"./contacts/shareAddDepartment.vue":["q5Ri",0,10],"./contacts/shareCode.vue":["JsWW",0,34],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,11],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,36],"./contacts/storeIo.vue":["RHxA",0,39],"./contacts/unemployee.vue":["TGrv",0,14],"./enterpriseApp/index.vue":["da9f",27],"./errorPage/403.vue":["6XGN",20],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",21],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,25],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",32],"./reviewCenter/reviewed.vue":["CLYF",0,13],"./reviewCenter/unreview.vue":["xCEU",0,12],"./setting/addAdmin.vue":["rs/A",0,31],"./setting/addAdminRole.vue":["fZsz",0,19],"./setting/companyAddress.vue":["SKyE",0,30],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",33],"./setting/replaceAdmin.vue":["ys9I",0,38],"./setting/setChildAdmin.vue":["VqB7",0,40],"./setting/staffDetails.vue":["Zyzf",0,24],"./setting/storePermission.vue":["Xwfy",0,17]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.7155ee31f7c1a4554ca1.js.map
\ No newline at end of file
webpackJsonp([42],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("6jtR")},null,null).exports,i=n("/ocq"),m=n("5tgt"),d=n.n(m);r.default.use(i.a);var p=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var u,l=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"index",component:d()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:d()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:d()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:d()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:d()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:d()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:d()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:d()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:d()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:d()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:d()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:d()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:d()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:d()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:d()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:d()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:d()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:d()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:d()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:d()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:d()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:d()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:d()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:d()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:d()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:d()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:d()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:d()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:d()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:d()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:d()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:d()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),w=n.n(g),y=n("mtWM"),C=n.n(y),A=n("bOdI"),I=n.n(A),x=n("NYxO");r.default.use(x.a);var R=new x.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(u={},I()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),I()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),I()(u,"title",function(e,t){e.title=t}),I()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),S=n("tyqE"),j=n.n(S),O=n("pRVe"),T=n.n(O),b=n("SE7k"),D=n.n(b),F=n("XsK6"),z=n.n(F),E=n("QRL9"),G=n.n(E),H=n("2Pnh"),q=n.n(H),J=n("l9mu"),X=n.n(J),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;q()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new X.a("","pt","a4");if(r<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)m.addImage(i,"JPEG",0,c,595.28,s),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};r.default.use(U),r.default.use(z.a),r.default.use(G.a),r.default.use(D.a),r.default.use(T.a),r.default.use(j.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(w.a,C.a),r.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var o=void 0,r=window.location.origin;o="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||C.a.get(o+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode?h.Message.error({duration:1e3,message:t.message}):localStorage.setItem("userInfo",a()(t.result))}).catch(function(e){h.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,15],"./contacts/addDepartment.vue":["HHRu",0,9],"./contacts/addEmployee.vue":["00Sv",37],"./contacts/addGroup.vue":["mPjx",0,28],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,29],"./contacts/employeeIo.vue":["Rwbg",0,35],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,26],"./contacts/recordInfo.vue":["67iC",0,22],"./contacts/recordIo.vue":["738z",0,16],"./contacts/recycle.vue":["HkK0",0,18],"./contacts/shareAddDepartment.vue":["q5Ri",0,10],"./contacts/shareCode.vue":["JsWW",0,34],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,12],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,36],"./contacts/storeIo.vue":["RHxA",0,39],"./contacts/unemployee.vue":["TGrv",0,11],"./enterpriseApp/index.vue":["da9f",27],"./errorPage/403.vue":["6XGN",20],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",21],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,25],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",32],"./reviewCenter/reviewed.vue":["CLYF",0,14],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,31],"./setting/addAdminRole.vue":["fZsz",0,19],"./setting/companyAddress.vue":["SKyE",0,30],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",33],"./setting/replaceAdmin.vue":["ys9I",0,38],"./setting/setChildAdmin.vue":["VqB7",0,40],"./setting/staffDetails.vue":["Zyzf",0,24],"./setting/storePermission.vue":["Xwfy",0,17]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.ab1eb1883f43bac50246.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","bgHeight","screen","availHeight","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","baseUrl","host","location","origin","indexOf","localStorage","get","res","resData","errorCode","Message","error","duration","message","setItem","stringify_default","result","catch","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,uJCCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDO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EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAA5H,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAuK,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAA3J,GAAA,OACAf,EAAAC,QAAAyK","file":"static/js/app.7155ee31f7c1a4554ca1.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-d8072086\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8072086\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\nimport Router from 'vue-router'\nimport _import from './_import.js'\nVue.use(Router);\n\n// const error403 = (r) => {\n// import('views/errorPage/403.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error404 = (r) => {\n// import('views/errorPage/404.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error500 = (r) => {\n// import('views/errorPage/500.vue').then((module) => {\n// r(module)\n// })\n// };\nconst errorPage = (r) => {\n import('views/errorPage/index.vue').then((module) => {\n r(module)\n })\n};\n// 页面刷新时,重新赋值token\nif (window.sessionStorage.getItem('token')) {\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\n}\nexport const constantRouterMap = [\n {\n path: '/',\n name: '/',\n redirect: 'login',\n },\n {\n path: '/login',\n name: '登录',\n component: _import('login','index')\n },\n {\n path: '/index',\n name: 'index',\n component: _import('index','index'),\n },\n {\n path: '/contacts',\n name: '通讯录',\n redirect: 'administrativeFrame',\n component: _import('contacts','index'),\n children: [\n // 通讯录\n {\n path: '/administrativeFrame',\n name: '行政架构',\n component: _import('contacts','administrativeFrame')\n },\n {\n path: \"/employeeIo\",\n name: \"批量导入/导出\",\n component: _import('contacts','employeeIo')\n },\n {\n path: '/addDepartment',\n name: '添加部门',\n component: _import('contacts','addDepartment')\n },\n {\n path: '/addClerk',\n name: '添加店员',\n component: _import('contacts','addClerk')\n },\n {\n path: '/storeFrame',\n name: '门店架构',\n component: _import('contacts','storeFrame')\n },\n {\n path: '/addGroup',\n name: '添加子分组',\n component: _import('contacts','addGroup')\n },\n {\n path: '/storeIo',\n name: '门店导入/导出',\n component: _import('contacts','storeIo')\n },\n {\n path: '/storeInfo',\n name: '编辑门店',\n component: _import('contacts','storeInfo')\n },\n {\n path: \"/recycle\",\n name: \"门店回收站\",\n component: _import('contacts','recycle')\n },\n {\n path: '/employee',\n name: '编辑员工',\n component: _import('contacts','employee')\n },\n {\n path: '/unemployee',\n name: '离职员工',\n component: _import('contacts','unemployee')\n },\n {\n path: '/fileSet',\n name: '档案设置',\n component: _import('contacts','fileSet')\n },\n {\n path: '/recordInfo',\n name: '编辑员工信息',\n component: _import('contacts','recordInfo')\n },\n {\n path: '/recordIo',\n name: '导入导出员工档案',\n component: _import('contacts','recordIo')\n },\n {\n path: '/shareContact',\n name: '共享通讯录',\n component: _import('contacts','shareContact')\n },\n {\n path: \"/shareCode\",\n name: '共享通讯录二维码',\n component: _import('contacts','shareCode')\n },\n {\n path: \"/employeeRecord\",\n name: '在职员工',\n component: _import('contacts','employeeRecord')\n }\n ]\n },\n {\n // 企业应用\n path: '/enterpriseApp',\n name: '企业应用',\n component: _import('enterpriseApp','index'),\n },\n {\n // 审核中心\n path: '/reviewCenter',\n name: '审核中心',\n redirect: 'unreview',\n component: _import('reviewCenter','index'),\n children: [\n {\n path: '/reviewed',\n name: '已审核',\n component: _import('reviewCenter','reviewed')\n },\n {\n path: '/unreview',\n name: '未审核',\n component: _import('reviewCenter','unreview')\n },\n ]\n },\n {\n // 设置模块\n path: '/setCenter',\n name: '设置',\n redirect: 'companyAddress',\n component: _import('setting','index'),\n children: [\n {\n path: '/companyAddress',\n name: '企业地址',\n component: _import('setting','companyAddress')\n },\n {\n path: '/companyCertify',\n name: '企业认证',\n component: _import('setting','companyCertify')\n },\n {\n path: '/staffDetails',\n name: '员工详情字段',\n component: _import('setting','staffDetails')\n },\n {\n path: '/storePermission',\n name: '门店权限设置',\n component: _import('setting','storePermission')\n },\n {\n path: '/replaceAdmin',\n name: '更换超级管理员',\n component: _import('setting','replaceAdmin')\n },\n {\n path: '/setChildAdmin',\n name: '设置子管理员',\n component: _import('setting','setChildAdmin')\n },\n {\n path: '/addAdmin',\n name: '添加管理员',\n component: _import('setting','addAdmin')\n },\n {\n path: '/addAdminRole',\n name: '添加管理员角色',\n component: _import('setting','addAdminRole')\n }\n ]\n },\n {\n path: '/staffRecordsTemplate',\n name: '员工档案设置',\n component: _import('contacts','staffRecordsTemplate')\n },\n {\n path: '/403',\n name: '无权访问',\n component: errorPage\n },\n {\n path: '/404',\n name: 'error404',\n component: errorPage\n },\n {\n path: '/500',\n name: 'error500',\n component: errorPage\n },\n { path: '*', redirect: '/404', hidden: true },\n];\nexport default new Router({\n // mode:'history',\n routes: constantRouterMap,\n scrollBehavior: () => ({ y: 0 }),\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\nimport Vue from 'vue'\nimport * as types from './types'\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n state: {\n user: {},\n token: null,\n title: '',\n show: false,\n bgHeight: (window.screen.availHeight - 440 - 24) +'px'\n },\n mutations: {\n [types.LOGIN]: (state, data) => {\n sessionStorage.token = data;\n state.token = data;\n },\n [types.LOGOUT]: (state) => {\n sessionStorage.removeItem('token');\n state.token = null\n },\n [types.TITLE]: (state, data) => {\n state.title = data;\n },\n [types.SHOW]: (state,data) => {\n state.show = data;\n }\n }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n let baseUrl;\n let host = window.location.origin;\n if (host.indexOf('localhost') != '-1') {\n baseUrl = 'http://www.gicdev.com';\n }else {\n baseUrl = host;\n }\n if (!localStorage.getItem('userInfo')) {\n axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n localStorage.setItem('userInfo',JSON.stringify(resData.result));\n return;\n }\n Message.error({\n duration: 1000,\n message: resData.message\n })\n })\n .catch(function (error) {\n Message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t37\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t28\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t29\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t35\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t26\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t22\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t18\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t10\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t34\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t11\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t36\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t39\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t14\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t27\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t20\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t23\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t21\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t25\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t32\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t13\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t12\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t31\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t19\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t30\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t33\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t38\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t40\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t24\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t17\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","bgHeight","screen","availHeight","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","baseUrl","host","location","origin","indexOf","localStorage","get","res","resData","errorCode","Message","error","duration","message","setItem","stringify_default","result","catch","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,uJCCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDOEd,GATF,EAVA,SAAAe,GACEjB,EAAQ,SAaV,KAEA,MAUgC,yCEvBhCkB,UAAIC,IAAIC,KAiBR,IAAMC,EAAY,SAACtB,GACjBC,EAAAsB,EAAA,GAAArB,KAAAD,EAAAuB,KAAA,cAAoCtB,KAAK,SAACN,GACxCI,EAAEJ,MAIF6B,OAAOC,eAAeC,QAAQ,UAChCC,MAAMC,OAAOC,MAAMC,MAAON,OAAOC,eAAeC,QAAQ,UAEnD,MAAMK,IAETC,KAAM,IACNrB,KAAM,IACNsB,SAAU,UAGVD,KAAM,SACNrB,KAAM,KACNuB,UAAWC,IAAQ,QAAQ,WAG3BH,KAAM,SACNrB,KAAM,QACNuB,UAAWC,IAAQ,QAAQ,WAG3BH,KAAM,YACNrB,KAAM,MACNsB,SAAU,sBACVC,UAAWC,IAAQ,WAAW,SAC9BC,WAGIJ,KAAM,uBACNrB,KAAM,OACNuB,UAAWC,IAAQ,WAAW,yBAG9BH,KAAM,cACNrB,KAAM,UACNuB,UAAWC,IAAQ,WAAW,gBAG9BH,KAAM,iBACNrB,KAAM,OACNuB,UAAWC,IAAQ,W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M,WAEbqE,MAKJ,IAAInF,WACFsG,GAAI,OACJlF,SACAX,QACA8F,YAAcC,OACdC,SAAU,iCChFZ,IAAAC,GACAC,2BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,8BACA,OACA,IAEAC,2BACA,OACA,EACA,IAEAC,sCACA,OACA,EACA,GAEAC,2BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,GAEAC,0BACA,OACA,EACA,GAEAC,wBACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,2BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,qCACA,OACA,EACA,IAEAC,4BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,GAEAC,uCACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAA5H,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAuK,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAA3J,GAAA,OACAf,EAAAC,QAAAyK","file":"static/js/app.ab1eb1883f43bac50246.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-d8072086\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8072086\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\nimport Router from 'vue-router'\nimport _import from './_import.js'\nVue.use(Router);\n\n// const error403 = (r) => {\n// import('views/errorPage/403.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error404 = (r) => {\n// import('views/errorPage/404.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error500 = (r) => {\n// import('views/errorPage/500.vue').then((module) => {\n// r(module)\n// })\n// };\nconst errorPage = (r) => {\n import('views/errorPage/index.vue').then((module) => {\n r(module)\n })\n};\n// 页面刷新时,重新赋值token\nif (window.sessionStorage.getItem('token')) {\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\n}\nexport const constantRouterMap = [\n {\n path: '/',\n name: '/',\n redirect: 'login',\n },\n {\n path: '/login',\n name: '登录',\n component: _import('login','index')\n },\n {\n path: '/index',\n name: 'index',\n component: _import('index','index'),\n },\n {\n path: '/contacts',\n name: '通讯录',\n redirect: 'administrativeFrame',\n component: _import('contacts','index'),\n children: [\n // 通讯录\n {\n path: '/administrativeFrame',\n name: '行政架构',\n component: _import('contacts','administrativeFrame')\n },\n {\n path: \"/employeeIo\",\n name: \"批量导入/导出\",\n component: _import('contacts','employeeIo')\n },\n {\n path: '/addDepartment',\n name: '添加部门',\n component: _import('contacts','addDepartment')\n },\n {\n path: '/addClerk',\n name: '添加店员',\n component: _import('contacts','addClerk')\n },\n {\n path: '/storeFrame',\n name: '门店架构',\n component: _import('contacts','storeFrame')\n },\n {\n path: '/addGroup',\n name: '添加子分组',\n component: _import('contacts','addGroup')\n },\n {\n path: '/storeIo',\n name: '门店导入/导出',\n component: _import('contacts','storeIo')\n },\n {\n path: '/storeInfo',\n name: '编辑门店',\n component: _import('contacts','storeInfo')\n },\n {\n path: \"/recycle\",\n name: \"门店回收站\",\n component: _import('contacts','recycle')\n },\n {\n path: '/employee',\n name: '编辑员工',\n component: _import('contacts','employee')\n },\n {\n path: '/unemployee',\n name: '离职员工',\n component: _import('contacts','unemployee')\n },\n {\n path: '/fileSet',\n name: '档案设置',\n component: _import('contacts','fileSet')\n },\n {\n path: '/recordInfo',\n name: '编辑员工信息',\n component: _import('contacts','recordInfo')\n },\n {\n path: '/recordIo',\n name: '导入导出员工档案',\n component: _import('contacts','recordIo')\n },\n {\n path: '/shareContact',\n name: '共享通讯录',\n component: _import('contacts','shareContact')\n },\n {\n path: \"/shareCode\",\n name: '共享通讯录二维码',\n component: _import('contacts','shareCode')\n },\n {\n path: \"/employeeRecord\",\n name: '在职员工',\n component: _import('contacts','employeeRecord')\n }\n ]\n },\n {\n // 企业应用\n path: '/enterpriseApp',\n name: '企业应用',\n component: _import('enterpriseApp','index'),\n },\n {\n // 审核中心\n path: '/reviewCenter',\n name: '审核中心',\n redirect: 'unreview',\n component: _import('reviewCenter','index'),\n children: [\n {\n path: '/reviewed',\n name: '已审核',\n component: _import('reviewCenter','reviewed')\n },\n {\n path: '/unreview',\n name: '未审核',\n component: _import('reviewCenter','unreview')\n },\n ]\n },\n {\n // 设置模块\n path: '/setCenter',\n name: '设置',\n redirect: 'companyAddress',\n component: _import('setting','index'),\n children: [\n {\n path: '/companyAddress',\n name: '企业地址',\n component: _import('setting','companyAddress')\n },\n {\n path: '/companyCertify',\n name: '企业认证',\n component: _import('setting','companyCertify')\n },\n {\n path: '/staffDetails',\n name: '员工详情字段',\n component: _import('setting','staffDetails')\n },\n {\n path: '/storePermission',\n name: '门店权限设置',\n component: _import('setting','storePermission')\n },\n {\n path: '/replaceAdmin',\n name: '更换超级管理员',\n component: _import('setting','replaceAdmin')\n },\n {\n path: '/setChildAdmin',\n name: '设置子管理员',\n component: _import('setting','setChildAdmin')\n },\n {\n path: '/addAdmin',\n name: '添加管理员',\n component: _import('setting','addAdmin')\n },\n {\n path: '/addAdminRole',\n name: '添加管理员角色',\n component: _import('setting','addAdminRole')\n }\n ]\n },\n {\n path: '/staffRecordsTemplate',\n name: '员工档案设置',\n component: _import('contacts','staffRecordsTemplate')\n },\n {\n path: '/403',\n name: '无权访问',\n component: errorPage\n },\n {\n path: '/404',\n name: 'error404',\n component: errorPage\n },\n {\n path: '/500',\n name: 'error500',\n component: errorPage\n },\n { path: '*', redirect: '/404', hidden: true },\n];\nexport default new Router({\n // mode:'history',\n routes: constantRouterMap,\n scrollBehavior: () => ({ y: 0 }),\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\nimport Vue from 'vue'\nimport * as types from './types'\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n state: {\n user: {},\n token: null,\n title: '',\n show: false,\n bgHeight: (window.screen.availHeight - 440 - 24) +'px'\n },\n mutations: {\n [types.LOGIN]: (state, data) => {\n sessionStorage.token = data;\n state.token = data;\n },\n [types.LOGOUT]: (state) => {\n sessionStorage.removeItem('token');\n state.token = null\n },\n [types.TITLE]: (state, data) => {\n state.title = data;\n },\n [types.SHOW]: (state,data) => {\n state.show = data;\n }\n }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n let baseUrl;\n let host = window.location.origin;\n if (host.indexOf('localhost') != '-1') {\n baseUrl = 'http://www.gicdev.com';\n }else {\n baseUrl = host;\n }\n if (!localStorage.getItem('userInfo')) {\n axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n localStorage.setItem('userInfo',JSON.stringify(resData.result));\n return;\n }\n Message.error({\n duration: 1000,\n message: resData.message\n })\n })\n .catch(function (error) {\n Message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t37\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t28\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t29\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t35\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t26\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t22\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t18\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t10\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t34\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t12\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t36\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t39\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t11\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t27\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t20\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t23\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t21\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t25\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t32\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t14\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t13\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t31\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t19\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t30\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t33\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t38\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t40\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t24\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t17\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,r,t){for(var d,o,b,i=0,u=[];i<f.length;i++)o=f[i],a[o]&&u.push(a[o][0]),a[o]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(c&&c(f,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var f={},a={44:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"589895e663cf279b4342",1:"26fc7c6e9b4ccca95f46",2:"61d9790344919baf48c5",3:"6633d57a1087e1b7f453",4:"d90892d76e7f52858af5",5:"dc8210180109f655b04d",6:"1d7830b4d55d08cb5ead",7:"fbeb3db819eec7392fd8",8:"1f9cc69f1d1455b4395a",9:"3466da9dc5776679b270",10:"7208d93b0fb81a57a978",11:"a637d7388af1e84b5565",12:"ff8b949463a1e4281bc8",13:"01693b96cf028e56cf1a",14:"c1429fb875a9cb64ef3c",15:"9c4eb83d3a7630e2becd",16:"e03dd1cc480bb5413c3c",17:"74e56664fde2697c5c7c",18:"6eb9dedf69ea0e0cd4f1",19:"7f1c8393b3bfef00b45d",20:"a67936fc14930635fda5",21:"52f0406512b49c4c4921",22:"39f5e1d81ccacdc34ac8",23:"9f05cfc644dbcf58019a",24:"f87968cd1809bd537de5",25:"41900b7b606ec81d1b49",26:"30beb66a68cf4670017a",27:"94b3fc65a52004cfda55",28:"ce30294345c96cf957b1",29:"3d2f67e201fb157fb15d",30:"a9e98de26f049b159f2b",31:"5cf0182fc424e8606c89",32:"e0dcc7cfee4fd78f294f",33:"74ac82b84ddd0a61f0c5",34:"d29c59b220221af0352b",35:"3a1287481845f3ab0f96",36:"6ec2d4074c84f920def4",37:"a0f44cfd120df62011c9",38:"bffc9417838d0b109405",39:"7eee96327266740f3019",40:"6ff12ea562cf0ae0f1ea",43:"13848f214bb993c20004"}[e]+".js";var d=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(d);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return t.onerror=t.onload=o,r.appendChild(t),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.79c754df6720ba76ff85.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,r,t){for(var d,b,o,i=0,u=[];i<f.length;i++)b=f[i],a[b]&&u.push(a[b][0]),a[b]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(c&&c(f,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var f={},a={44:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"589895e663cf279b4342",1:"26fc7c6e9b4ccca95f46",2:"61d9790344919baf48c5",3:"6633d57a1087e1b7f453",4:"d90892d76e7f52858af5",5:"4bccbbc9e2356324e053",6:"1d7830b4d55d08cb5ead",7:"fbeb3db819eec7392fd8",8:"1f9cc69f1d1455b4395a",9:"3466da9dc5776679b270",10:"7208d93b0fb81a57a978",11:"7ee53a01c7e1618ab1a3",12:"a5bbc66b45845e8ff31c",13:"e3ade0be7df43374780f",14:"3ad5bbb7abe4defc9a0a",15:"9c4eb83d3a7630e2becd",16:"e03dd1cc480bb5413c3c",17:"74e56664fde2697c5c7c",18:"6eb9dedf69ea0e0cd4f1",19:"7f1c8393b3bfef00b45d",20:"a67936fc14930635fda5",21:"52f0406512b49c4c4921",22:"39f5e1d81ccacdc34ac8",23:"9f05cfc644dbcf58019a",24:"f87968cd1809bd537de5",25:"41900b7b606ec81d1b49",26:"30beb66a68cf4670017a",27:"94b3fc65a52004cfda55",28:"ce30294345c96cf957b1",29:"3d2f67e201fb157fb15d",30:"a9e98de26f049b159f2b",31:"5cf0182fc424e8606c89",32:"e0dcc7cfee4fd78f294f",33:"74ac82b84ddd0a61f0c5",34:"d29c59b220221af0352b",35:"3a1287481845f3ab0f96",36:"6ec2d4074c84f920def4",37:"a0f44cfd120df62011c9",38:"bffc9417838d0b109405",39:"7eee96327266740f3019",40:"6ff12ea562cf0ae0f1ea",43:"13848f214bb993c20004"}[e]+".js";var d=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(d);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return t.onerror=t.onload=b,r.appendChild(t),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.6b3ba9606dd1e9b96743.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 7d877da4d02bbf50eeac"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","43","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,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AC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAA8oChF,GAAA,MACttC,IAAAkC,EAAA+C,WAAAC,EAAA,MAEA,SAAAA,IAEArD,EAAAsD,QAAAtD,EAAAuD,OAAA,KACAC,aAAAnD,GACA,IAAAoD,EAAAjF,EAAAL,GACA,IAAAsF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAvF,EAAA,aAEAK,EAAAL,QAAAwF,GAKA,OAfA3D,EAAAsD,QAAAtD,EAAAuD,OAAAF,EAaAxD,EAAA+D,YAAA5D,GAEAL,GAIAX,EAAA6E,EAAA/E,EAGAE,EAAA8E,EAAA5E,EAGAF,EAAA+E,EAAA,SAAA3E,EAAA4E,EAAAC,GACAjF,EAAAkF,EAAA9E,EAAA4E,IACAtF,OAAAyF,eAAA/E,EAAA4E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.79c754df6720ba76ff85.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t44: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"589895e663cf279b4342\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"61d9790344919baf48c5\",\"3\":\"6633d57a1087e1b7f453\",\"4\":\"d90892d76e7f52858af5\",\"5\":\"dc8210180109f655b04d\",\"6\":\"1d7830b4d55d08cb5ead\",\"7\":\"fbeb3db819eec7392fd8\",\"8\":\"1f9cc69f1d1455b4395a\",\"9\":\"3466da9dc5776679b270\",\"10\":\"7208d93b0fb81a57a978\",\"11\":\"a637d7388af1e84b5565\",\"12\":\"ff8b949463a1e4281bc8\",\"13\":\"01693b96cf028e56cf1a\",\"14\":\"c1429fb875a9cb64ef3c\",\"15\":\"9c4eb83d3a7630e2becd\",\"16\":\"e03dd1cc480bb5413c3c\",\"17\":\"74e56664fde2697c5c7c\",\"18\":\"6eb9dedf69ea0e0cd4f1\",\"19\":\"7f1c8393b3bfef00b45d\",\"20\":\"a67936fc14930635fda5\",\"21\":\"52f0406512b49c4c4921\",\"22\":\"39f5e1d81ccacdc34ac8\",\"23\":\"9f05cfc644dbcf58019a\",\"24\":\"f87968cd1809bd537de5\",\"25\":\"41900b7b606ec81d1b49\",\"26\":\"30beb66a68cf4670017a\",\"27\":\"94b3fc65a52004cfda55\",\"28\":\"ce30294345c96cf957b1\",\"29\":\"3d2f67e201fb157fb15d\",\"30\":\"a9e98de26f049b159f2b\",\"31\":\"5cf0182fc424e8606c89\",\"32\":\"e0dcc7cfee4fd78f294f\",\"33\":\"74ac82b84ddd0a61f0c5\",\"34\":\"d29c59b220221af0352b\",\"35\":\"3a1287481845f3ab0f96\",\"36\":\"6ec2d4074c84f920def4\",\"37\":\"a0f44cfd120df62011c9\",\"38\":\"bffc9417838d0b109405\",\"39\":\"7eee96327266740f3019\",\"40\":\"6ff12ea562cf0ae0f1ea\",\"43\":\"13848f214bb993c20004\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 7d877da4d02bbf50eeac"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 1a628d1d2a559c08c245"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","43","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI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GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAA8oChF,GAAA,MACttC,IAAAkC,EAAA+C,WAAAC,EAAA,MAEA,SAAAA,IAEArD,EAAAsD,QAAAtD,EAAAuD,OAAA,KACAC,aAAAnD,GACA,IAAAoD,EAAAjF,EAAAL,GACA,IAAAsF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAvF,EAAA,aAEAK,EAAAL,QAAAwF,GAKA,OAfA3D,EAAAsD,QAAAtD,EAAAuD,OAAAF,EAaAxD,EAAA+D,YAAA5D,GAEAL,GAIAX,EAAA6E,EAAA/E,EAGAE,EAAA8E,EAAA5E,EAGAF,EAAA+E,EAAA,SAAA3E,EAAA4E,EAAAC,GACAjF,EAAAkF,EAAA9E,EAAA4E,IACAtF,OAAAyF,eAAA/E,EAAA4E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.6b3ba9606dd1e9b96743.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t44: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"589895e663cf279b4342\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"61d9790344919baf48c5\",\"3\":\"6633d57a1087e1b7f453\",\"4\":\"d90892d76e7f52858af5\",\"5\":\"4bccbbc9e2356324e053\",\"6\":\"1d7830b4d55d08cb5ead\",\"7\":\"fbeb3db819eec7392fd8\",\"8\":\"1f9cc69f1d1455b4395a\",\"9\":\"3466da9dc5776679b270\",\"10\":\"7208d93b0fb81a57a978\",\"11\":\"7ee53a01c7e1618ab1a3\",\"12\":\"a5bbc66b45845e8ff31c\",\"13\":\"e3ade0be7df43374780f\",\"14\":\"3ad5bbb7abe4defc9a0a\",\"15\":\"9c4eb83d3a7630e2becd\",\"16\":\"e03dd1cc480bb5413c3c\",\"17\":\"74e56664fde2697c5c7c\",\"18\":\"6eb9dedf69ea0e0cd4f1\",\"19\":\"7f1c8393b3bfef00b45d\",\"20\":\"a67936fc14930635fda5\",\"21\":\"52f0406512b49c4c4921\",\"22\":\"39f5e1d81ccacdc34ac8\",\"23\":\"9f05cfc644dbcf58019a\",\"24\":\"f87968cd1809bd537de5\",\"25\":\"41900b7b606ec81d1b49\",\"26\":\"30beb66a68cf4670017a\",\"27\":\"94b3fc65a52004cfda55\",\"28\":\"ce30294345c96cf957b1\",\"29\":\"3d2f67e201fb157fb15d\",\"30\":\"a9e98de26f049b159f2b\",\"31\":\"5cf0182fc424e8606c89\",\"32\":\"e0dcc7cfee4fd78f294f\",\"33\":\"74ac82b84ddd0a61f0c5\",\"34\":\"d29c59b220221af0352b\",\"35\":\"3a1287481845f3ab0f96\",\"36\":\"6ec2d4074c84f920def4\",\"37\":\"a0f44cfd120df62011c9\",\"38\":\"bffc9417838d0b109405\",\"39\":\"7eee96327266740f3019\",\"40\":\"6ff12ea562cf0ae0f1ea\",\"43\":\"13848f214bb993c20004\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 1a628d1d2a559c08c245"],"sourceRoot":""}
\ No newline at end of file
......@@ -37,12 +37,27 @@
</template>
<li class="sld tip">共筛选出{{total}}人</li>
</ul>
<el-table class="list-table" height="490px" :data="employeeList" @sort-change="sortList" :default-sort="{prop: 'hireDate', order: 'descending'}">
<el-table
class="list-table"
:height="employeeList.length? tableH:'auto'"
:data="employeeList"
:default-sort="{prop: 'hireDate', order: 'descending'}"
@sort-change="sortList" >
<template v-for="prop in propList">
<list-item :item="prop" :key="prop" @callHandle="callHandle"></list-item>
</template>
</el-table>
<el-pagination class="pagination" background @size-change="handleSizeChange" @current-change="handleCurrentChange" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" :current-page="pageNum" layout="total, sizes, prev, pager, next" :total="total">
<el-pagination
v-if="!!employeeList.length"
class="pagination"
background
:page-sizes="[20, 40, 60, 80]"
:page-size="pageSize"
:current-page="pageNum"
layout="total, sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange" >
</el-pagination>
<el-dialog :title="typeTitle" :visible.sync="dialogVisible" width="480px">
<handle-dialog :employee="employeeObj" :handleType="handleType" :typeTitle="typeTitle" @handleSuccess="handleSuccess"></handle-dialog>
......@@ -73,6 +88,7 @@ export default {
},
data() {
return {
tableH: window.screen.availHeight - 440 - 180,
pickerOptions2: {
shortcuts: [{
text: '最近一周',
......@@ -362,7 +378,7 @@ export default {
flex-wrap: wrap;
.sld {
padding: 8px 10px;
padding: 7px 10px;
box-sizing: border-box;
background: rgba(244, 244, 245, 1);
border: 1px solid rgba(233, 233, 235, 1);
......@@ -391,6 +407,11 @@ export default {
text-align: right;
margin-top: 20px;
}
.icon-yewuduanmorentouxian {
font-size: 20px;
color: #e5f3ff;
}
}
</style>
<template>
<el-table-column
v-if="propList[item].slot"
:label="propList[item].label"
:width="propList[item].width"
:sortable="propList[item].needSort"
:prop="item"
>
<template slot-scope="scope">
<div v-if="item == 'clerkType'">
{{typeLsit[scope.row[item] || 5]}}
</div>
<div v-else-if="item == 'hireDate' || item == 'correctionDate' || item == 'fireDate'">
{{scope.row[item] | formatDate("YY-MM-DD")}}
</div>
<div v-else-if="item == 'headPic'">
<img class="header-pic" :src="scope.row[item]" v-if="!!scope.row[item]">
<div class="replace-head-img" v-else>
<i class="iconfont icon-yewuduanmorentouxian"></i>
</div>
</div>
<div v-else-if="item == 'fireReason'">
{{reasons[scope.row[item]]}}
</div>
<div v-else-if="item == 'handleEmployee'">
<div class="table-handle">
<el-dropdown class="more" @command="callHandle">
<span class="el-dropdown-link">
更多<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<template v-if="scope.row.clerkStatus == 2">
<el-dropdown-item :command="{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}">办理转正</el-dropdown-item>
<el-dropdown-item :command="{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}">修改转正时间</el-dropdown-item>
</template>
<el-dropdown-item :command="{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}">编辑员工资料</el-dropdown-item>
<el-dropdown-item :command="{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}">办理离职</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
<div v-else-if="item == 'handleUnEmployee'">
<div class="table-handle">
<a :href='"#/recordInfo?recordId=" + scope.row.recordId' class="a-href">编辑</a>
</div>
</div>
</template>
</el-table-column>
<el-table-column
v-else
:label="propList[item].label"
:width="propList[item].width"
:prop="item"
>
</el-table-column>
<el-table-column v-if="propList[item].slot" :label="propList[item].label" :width="propList[item].width" :sortable="propList[item].needSort" :prop="item">
<template slot-scope="scope">
<div v-if="item == 'clerkType'">
{{typeLsit[scope.row[item] || 5]}}
</div>
<div v-else-if="item == 'hireDate' || item == 'correctionDate' || item == 'fireDate'">
{{scope.row[item] | formatDate("YY-MM-DD")}}
</div>
<div v-else-if="item == 'headPic'">
<img class="header-pic" :src="scope.row[item]" v-if="!!scope.row[item]">
<div class="replace-head-img" v-else>
<i class="iconfont icon-yewuduanmorentouxian"></i>
</div>
</div>
<div v-else-if="item == 'fireReason'">
{{reasons[scope.row[item]] || '--'}}
</div>
<div v-else-if="item == 'handleEmployee'">
<div class="table-handle">
<el-dropdown class="more" @command="callHandle">
<span class="el-dropdown-link">
更多<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<template v-if="scope.row.clerkStatus == 2">
<el-dropdown-item :command="{obj: scope.row, type: 'turnPositive', typeTitle: '办理转正'}">办理转正</el-dropdown-item>
<el-dropdown-item :command="{obj: scope.row, type: 'eidtCorrectionTime', typeTitle: '修改转正时间'}">修改转正时间</el-dropdown-item>
</template>
<el-dropdown-item :command="{obj: scope.row, type: 'editEmployee', typeTitle: '编辑员工资料'}">编辑员工资料</el-dropdown-item>
<el-dropdown-item :command="{obj: scope.row, type: 'resignation', typeTitle: '办理离职'}">办理离职</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
<div v-else-if="item == 'handleUnEmployee'">
<div class="table-handle">
<a :href='"#/recordInfo?recordId=" + scope.row.recordId' class="a-href">编辑</a>
</div>
</div>
</template>
</el-table-column>
<el-table-column
v-else
:class-name="item == 'clerkName'? 'control-width':''"
:label="propList[item].label"
:width="propList[item].width"
:prop="item">
</el-table-column>
</template>
<script>
import { formatDate } from '@/utils/index';
export default {
name: "list-item",
props: {
item: {
type: String,
required: true
}
},
filters: {
formatDate
},
data() {
return {
typeLsit: ["全部", "全职", "兼职", "外包", "实习", "无类型"],
reasons: ["", "家庭原因", "个人原因", "发展原因", "合同到期不续签", "协议解除", "无法胜任工作", "经济性裁员", "严重违法违纪", "其他"],
propList: {
headPic: {
label: "",
slot: true,
width: 50
},
clerkName: {
label: "姓名",
width: 90
},
clerkPhone: {
label: "手机号"
},
groupName: {
label: "部门"
},
clerkCode: {
label: "code"
},
positionName: {
label: "职位"
},
clerkType: {
label: "员工类型",
slot: true
},
hireDate: {
label: "入职日期",
needSort: "custom",
slot: true
},
correctionDate: {
label: "转正日期",
needSort: "custom",
slot: true
},
fireDate: {
label: "离职日期",
needSort: "custom",
slot: true
},
fireReason: {
label: "离职原因",
slot: true
},
handleEmployee: {
label: "操作",
slot: true
},
handleUnEmployee: {
label: "操作",
slot: true
}
}
};
},
methods: {
callHandle(command) {
console.log(command);
if (command.typeTitle != "编辑员工资料") {
this.$emit("callHandle", command.obj, command.type, command.typeTitle);
} else {
location.href = "#/recordInfo?recordId=" + command.obj.recordId;
}
name: "list-item",
props: {
item: {
type: String,
required: true
}
},
filters: {
formatDate
},
data() {
return {
typeLsit: ["全部", "全职", "兼职", "外包", "实习", "无类型"],
reasons: ["", "家庭原因", "个人原因", "发展原因", "合同到期不续签", "协议解除", "无法胜任工作", "经济性裁员", "严重违法违纪", "其他"],
propList: {
headPic: {
label: "",
slot: true,
width: 50
},
clerkName: {
label: "姓名",
width: 90
},
clerkPhone: {
label: "手机号"
},
groupName: {
label: "部门"
},
clerkCode: {
label: "code"
},
positionName: {
label: "职位"
},
clerkType: {
label: "员工类型",
slot: true
},
hireDate: {
label: "入职日期",
needSort: "custom",
slot: true
},
correctionDate: {
label: "转正日期",
needSort: "custom",
slot: true
},
fireDate: {
label: "离职日期",
needSort: "custom",
slot: true
},
fireReason: {
label: "离职原因",
slot: true
},
handleEmployee: {
label: "操作",
slot: true
},
handleUnEmployee: {
label: "操作",
slot: true
}
}
};
},
methods: {
callHandle(command) {
console.log(command);
if (command.typeTitle != "编辑员工资料") {
this.$emit("callHandle", command.obj, command.type, command.typeTitle);
} else {
location.href = "#/recordInfo?recordId=" + command.obj.recordId;
}
}
},
mounted() {
console.log(this.item)
}
}
</script>
<style lang="scss">
.header-pic {
width: 35px;
height: 35px;
border-radius: 3px;
width: 35px;
height: 35px;
border-radius: 3px;
}
.replace-head-img {
width: 35px;
height: 35px;
border-radius:3px;
line-height: 35px;
text-align: center;
color: #fff;
background: rgba(64,158,255,1);
width: 35px;
height: 35px;
border-radius: 3px;
line-height: 35px;
text-align: center;
color: #fff;
background: #82c5ff;
}
.table-handle {
cursor: pointer;
.el-dropdown-link {
color: #409EFF;
}
cursor: pointer;
.el-dropdown-link {
color: #409EFF;
}
}
.control-width {
.cell {
width: 70px;
white-space: nowrap;
}
}
</style>
<template>
<div class="common-set-wrap">
<div class="common-set-wrap employee-record-wrap" :style="{'height': windowH}">
<nav-crumb :navpath="navpath" :slotFlag="true">
<template>
<div class="top-area">
......@@ -30,6 +30,7 @@
</div>
</div>
</div>
<vue-gic-footer></vue-gic-footer>
</div>
</template>
<script>
......@@ -46,6 +47,7 @@ export default {
},
data() {
return {
windowH: (window.screen.availHeight - 180) + 'px',
// 面包屑参数
navpath: [{
name: '首页',
......@@ -115,6 +117,9 @@ export default {
</script>
<style lang="scss">
.employee-record-wrap {
overflow-y: auto;
}
.top-area {
background: #fff;
padding: 10px 0;
......
......@@ -8,6 +8,7 @@
</div>
</div>
</div>
<vue-gic-footer></vue-gic-footer>
</div>
</template>
<script>
......@@ -80,7 +81,7 @@ export default {
.e-type-num-title {
display: flex;
padding: 12px 0;
margin-top: 20px;
/*margin-top: 20px;*/
color: #606266;
font-size: 14px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment