HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/douyin.fehss.com/static/js/chunk-6407.5ca4b716.js
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6407"],{"0GEW":function(e,t,i){"use strict";var s=i("wW83");i.n(s).a},"6R3Q":function(e,t,i){"use strict";var s={name:"Reminder",components:{},props:{content:{type:String,default:"内容"},fontSize:{type:String,default:"13"}},data:function(){return{}},computed:{},mounted:function(){},destroyed:function(){},methods:{}},a=(i("kLyV"),i("KHd+")),n=Object(a.a)(s,function(){var e=this.$createElement,t=this._self._c||e;return t("flexbox",{staticClass:"reminder-wrapper"},[t("flexbox",{staticClass:"reminder-body",attrs:{align:"stretch"}},[t("i",{staticClass:"wukong wukong-reminder reminder-icon"}),this._v(" "),t("div",{staticClass:"reminder-content",style:{"font-size":this.fontSize+"px"}},[this._v("\n      "+this._s(this.content)+"\n    ")])])],1)},[],!1,null,"0e2a0d66",null);n.options.__file="reminder.vue";t.a=n.exports},"7lix":function(e,t,i){"use strict";var s=i("cjAg");i.n(s).a},AtyL:function(e,t,i){"use strict";i.r(t);var s=i("FyfS"),a=i.n(s),n=i("QbLZ"),l=i.n(n),o=i("csZP"),r=i("KTTK"),c=i("Ew9n"),d=i("L2JU"),u={name:"EmployeeDetail",components:{SlideView:c.a},filters:{formatedInfo:function(e,t){return"sex"==t&&0==e[t]?"":e[t]}},props:{data:Object},data:function(){return{detailList:[{field:"username",value:"手机号(登录名)"},{field:"realname",value:"姓名"},{field:"sex",value:"性别",type:"select"},{field:"email",value:"邮箱"},{field:"s_name",value:"部门",type:"select"},{field:"post",value:"岗位"},{field:"parent_name",value:"直属上级",type:"select"},{field:"groups",value:"角色",type:"selectCheckout"}]}},computed:l()({},Object(d.b)(["admin"]),{userUpdateAuth:function(){return this.admin&&this.admin.users&&this.admin.users.update},userEnablesAuth:function(){return this.admin&&this.admin.users&&this.admin.users.enables}}),watch:{},mounted:function(){},methods:{editBtn:function(){this.$emit("edit")},handleCommand:function(e){this.$emit("command",e)},hideView:function(){this.$emit("hide-view")}}},m=(i("7lix"),i("KHd+")),p=Object(m.a)(u,function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("slide-view",{staticClass:"d-view",attrs:{"listener-ids":["manager-main-container"],"no-listener-ids":["depTable"],"body-style":{padding:"10px 30px",height:"100%"}},on:{"side-close":e.hideView}},[s("flexbox",{staticStyle:{height:"100%"},attrs:{orient:"vertical"}},[s("flexbox",{staticClass:"detail-header"},[s("div",{staticClass:"header-name"}),e._v(" "),s("img",{staticClass:"header-close",attrs:{src:i("cjwK")},on:{click:e.hideView}})]),e._v(" "),s("div",{staticClass:"detail-body"},[s("div",{staticClass:"dialog-top"},[s("img",{attrs:{src:e.data.thumb_img,alt:""}}),e._v(" "),s("span",[e._v(e._s(e.data.realname))]),e._v(" "),s("div",{staticClass:"dialog-btn-group"},[e.userUpdateAuth?s("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.editBtn}},[e._v(" 编 辑 ")]):e._e(),e._v(" "),e.userUpdateAuth||e.userEnablesAuth?s("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[s("el-button",{attrs:{size:"medium"}},[e._v("\n              更 多"),s("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),s("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.userUpdateAuth?s("el-dropdown-item",{attrs:{command:"reset"}},[e._v("重置密码")]):e._e(),e._v(" "),e.userEnablesAuth?s("el-dropdown-item",{attrs:{command:"status"}},[e._v(e._s(0===e.data.status?"激 活":"禁 用"))]):e._e()],1)],1):e._e()],1),e._v(" "),s("div",{staticClass:"dialog-remark"},[s("p",[e._v("账号状态:"+e._s({0:"禁用",1:"激活",2:"未激活"}[e.data.status]))]),e._v(" "),s("p",[e._v("创建时间:"+e._s(e._f("filterTimestampToFormatTime")(e.data.create_time,"YYYY-MM-DD")))])])]),e._v(" "),s("div",{staticClass:"dialog-content"},e._l(e.detailList,function(t,i){return s("flexbox",{key:i,staticClass:"content-items",attrs:{align:"stretch"}},[s("div",{staticClass:"content-items-name"},[e._v(e._s(t.value))]),e._v(" "),s("div",{staticClass:"content-items-value"},[e._v(e._s(e._f("formatedInfo")(e.data,t.field)))])])}))])],1)],1)},[],!1,null,"2d2f79de",null);p.options.__file="employeeDetail.vue";var h=p.exports,g=i("ZuO2"),v=i("6R3Q"),b={name:"EmployeeDepManagement",components:{EmployeeDetail:h,CRMImport:g.a,Reminder:v.a},data:function(){return{navBtnTitle:"新建",depCreateDialog:!1,depSelect:"",dialogOptions:[],labelName:"",treeData:[],depLoading:!1,loading:!1,importInput:"",statusOptions:[{value:"0",label:"禁用"},{value:"1",label:"激活"},{value:"2",label:"未激活"}],selectModel:"",fieldList:[{field:"username",value:"手机号(登录名)",width:"150"},{field:"sex",value:"性别",type:"select",width:"50"},{field:"email",value:"邮箱",width:"150"},{field:"s_name",value:"部门",type:"select",width:"100"},{field:"post",value:"岗位",width:"150"},{field:"parent_name",value:"直属上级",type:"select",width:"150"},{field:"groups",value:"角色",type:"selectCheckout",width:"150"}],selectionList:[],tableData:[],structureValue:"",currentPage:1,pageSize:15,pageSizes:[15,30,45,60],total:0,employeeDetailDialog:!1,dialogData:{},employeeCreateDialog:!1,dialogTitle:"新建员工",formInline:{},treeInput:"",treeEditId:"",optionsList:{structure_id:{field:"structure_id",list:[]},parent_id:{field:"parent_id",list:[]},sex:{field:"sex",list:[{id:"男",name:"男"},{id:"女",name:"女"}]}},groupsList:[],resetPasswordVisible:!1,setParentVisible:!1,rules:{password:[{required:!0,message:"请输入旧密码",trigger:"blur"},{min:6,max:12,message:"长度在 6 到 12 个字符",trigger:"blur"}],username:[{required:!0,message:"手机号不能为空",trigger:"blur"}]},passForm:{},dialogRules:{realname:[{required:!0,message:"姓名不能为空",trigger:"blur"}],password:[{required:!0,message:"密码不能为空",trigger:"blur"},{min:6,message:"长度至少为6个字符",trigger:"blur"}],username:[{required:!0,message:"手机号码不能为空",trigger:"blur"},{pattern:/^1\d{10}/,message:"目前只支持中国大陆的手机号码",trigger:"blur"}],email:[{pattern:/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,message:"请输入正确的邮箱格式",trigger:"blur"}],structure_id:[{required:!0,message:"部门不能为空",trigger:"change"}],group_id:[{required:!0,message:"角色不能为空",trigger:"change"}]},resetUserNameVisible:!1,resetUserNameForm:{username:"",password:""},moreTypes:[{type:"import",name:"导入"}],showCRMImport:!1,parentForm:{},parent_id:null}},computed:l()({},Object(d.b)(["admin"]),{userSaveAuth:function(){return this.admin&&this.admin.users&&this.admin.users.save},userUpdateAuth:function(){return this.admin&&this.admin.users&&this.admin.users.update},userEnablesAuth:function(){return this.admin&&this.admin.users&&this.admin.users.enables},tableUpdateAuth:function(){return this.userEnablesAuth&&this.userUpdateAuth},strucSaveAuth:function(){return this.admin&&this.admin.users&&this.admin.users.structures_save},strucUpdateAuth:function(){return this.admin&&this.admin.users&&this.admin.users.structures_update},strucDeleteAuth:function(){return this.admin&&this.admin.users&&this.admin.users.structures_delete},selectionInfo:function(){var e=[];return this.userEnablesAuth&&(e=[{name:"禁用",type:"lock",icon:i("disj")},{name:"激活",type:"unlock",icon:i("yTN1")},{name:"设置直属上级",type:"setParent",icon:i("aQEv")}]),this.userUpdateAuth&&(e=1===this.selectionList.length?e.concat([{name:"编辑",type:"edit",icon:i("N2TM")},{name:"重置密码",type:"reset",icon:i("b5IL")},{name:"重置登录账号",type:"resetName",icon:i("edgn")}]):e.concat([{name:"重置密码",type:"reset",icon:i("b5IL")}])),e},tableList:function(){return"新建员工"===this.dialogTitle?[{field:"username",value:"手机号(登录名)"},{field:"password",value:"登录密码"},{field:"realname",value:"姓名"},{field:"sex",value:"性别",type:"select"},{field:"email",value:"邮箱"},{field:"structure_id",value:"部门",type:"select"},{field:"post",value:"岗位"},{field:"parent_id",value:"直属上级",type:"select"},{field:"group_id",value:"角色",type:"selectCheckout"}]:[{field:"username",value:"手机号(登录名)",tips:"如需修改登录名,请在列表勾选员工后进行操作"},{field:"realname",value:"姓名"},{field:"sex",value:"性别",type:"select"},{field:"email",value:"邮箱"},{field:"structure_id",value:"部门",type:"select"},{field:"post",value:"岗位"},{field:"parent_id",value:"直属上级",type:"select"},{field:"group_id",value:"角色",type:"selectCheckout"}]},userNoStructureGroup:function(){return this.tableData.filter(function(e){return!e.groups||!e.s_name}).length>0},tableHeight:function(){var e=document.documentElement.clientHeight-260;return this.userNoStructureGroup&&(e-=38),e}}),mounted:function(){var e=this,t=this;window.onresize=function(){t.tableHeight=document.documentElement.clientHeight-260},this.treeListFun(),this.getSelectUserList(),this.usersListFun(),this.getDepList(),Object(o.i)({tree:1}).then(function(t){e.groupsList=t.data}),document.getElementsByClassName("el-select-dropdown")[0].style.color="red"},methods:{changeDepClick:function(e){this.currentPage=1,this.structureValue=e.id,this.usersListFun()},handleExpand:function(e,t,i){"close"==e?i.children&&(t.expanded=!1):"open"==e&&(t.expanded=!0)},handleClose:function(){this.employeeDetailDialog=!1},rowClick:function(e,t,i){this.dialogData=e,"realname"==t.property&&(this.employeeDetailDialog=!0)},newHandleClose:function(){this.employeeCreateDialog=!1},newBtn:function(){this.employeeCreateDialog=!0,this.dialogTitle="新建员工",this.formInline={group_id:[]}},editBtn:function(){this.dialogTitle="编辑员工";for(var e={},t=0;t<this.tableList.length;t++){var i=this.tableList[t];"password"!==i.field&&("group_id"===i.field?e[i.field]=this.dialogData.groupids?this.dialogData.groupids.split(",").map(function(e,t,i){return parseInt(e)}):[]:"parent_id"==i.field?e[i.field]=0==this.dialogData[i.field]?"":this.dialogData[i.field]:e[i.field]=this.dialogData[i.field])}e.id=this.dialogData.id,this.formInline=e,this.employeeCreateDialog=!0},getDepList:function(){var e=this;Object(r.i)().then(function(t){e.optionsList.structure_id.list=t.data})},append:function(e){this.treeInput="",this.labelName="新增部门",this.navBtnTitle="新增部门",this.depSelect=e.id,this.getStructuresListBySuperior({id:e.id,type:"save"}),this.depCreateDialog=!0},getStructuresListBySuperior:function(e){var t=this;this.dialogOptions=[],Object(o.a)(e).then(function(e){t.dialogOptions=e.data})},edit:function(e,t){this.treeInput=t.label,this.treeEditId=t.id,this.depSelect=t.pid,this.navBtnTitle="编辑部门",this.labelName="编辑部门",this.getStructuresListBySuperior({id:t.id,type:"update"}),this.depCreateDialog=!0},remove:function(e,t){var i=this;this.$confirm("此操作将永久删除, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){i.loading=!0,Object(o.e)({id:t.id}).then(function(e){i.treeListFun(),i.$message.success("删除成功"),i.loading=!1}).catch(function(){i.loading=!1})}).catch(function(){i.$message({type:"info",message:"已取消删除"})})},navHandleClose:function(){this.depCreateDialog=!1},submitDialog:function(){var e=this;"新增部门"==this.labelName?Object(o.g)({name:this.treeInput,pid:this.depSelect}).then(function(t){e.getDepList(),e.treeListFun(),e.navHandleClose()}):Object(o.f)({name:this.treeInput,id:this.treeEditId,pid:this.depSelect}).then(function(t){e.treeListFun(),e.navHandleClose()})},treeListFun:function(){var e=this;this.depLoading=!0,Object(o.h)().then(function(t){e.treeData=t.data,e.depLoading=!1}).catch(function(){e.depLoading=!1})},searchClick:function(){this.currentPage=1,this.usersListFun()},statusChange:function(){this.currentPage=1,this.usersListFun()},newDialogSubmit:function(){var e=this;this.$refs.dialogRef.validate(function(t){if(!t)return!1;"新建员工"==e.dialogTitle?(e.loading=!0,Object(o.k)(e.formInline).then(function(t){e.$message.success("新增成功"),e.employeeCreateDialog=!1,e.usersListFun(),e.getSelectUserList(),e.loading=!1}).catch(function(){e.loading=!1})):(e.loading=!0,Object(o.m)(e.formInline).then(function(t){e.employeeDetailDialog&&(e.employeeDetailDialog=!1),e.employeeCreateDialog=!1,e.$message.success("编辑成功"),e.usersListFun(),e.getSelectUserList(),e.loading=!1}).catch(function(){e.loading=!1}))})},handleCommand:function(e){var t=this;switch(e){case"reset":this.passForm={password:""},this.resetPasswordVisible=!0;break;case"status":Object(o.l)({id:[this.dialogData.id],status:0==this.dialogData.status?1:0}).then(function(e){t.employeeDetailDialog=!1,t.$message.success("修改成功"),t.usersListFun()})}},selectionBarClick:function(e){var t=this,i=this.selectionList.map(function(e,t,i){return e.id});if("lock"===e||"unlock"===e){var s="lock"===e?"禁用":"激活";this.$confirm("这些员工账号将被"+s+", 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.loading=!0,Object(o.l)({id:i,status:"unlock"===e?1:0}).then(function(e){t.loading=!1,t.$message.success("修改成功"),t.usersListFun()}).catch(function(){t.loading=!1})}).catch(function(){t.$message({type:"info",message:"已取消删除"})})}else if("reset"===e)this.resetPasswordVisible=!0;else if("resetName"===e)this.resetUserNameVisible=!0;else if("edit"===e){this.dialogData=this.selectionList[0],this.dialogTitle="编辑员工";for(var a={},n=0;n<this.tableList.length;n++){var l=this.tableList[n];"password"!==l.field&&("group_id"===l.field?a[l.field]=this.dialogData.groupids?this.dialogData.groupids.split(",").map(function(e,t,i){return parseInt(e)}):[]:a[l.field]=this.dialogData[l.field])}a.id=this.dialogData.id,this.formInline=a,this.employeeCreateDialog=!0}else"setParent"===e&&(this.setParentVisible=!0,this.parentForm={},this.parent_id=null)},resetPasswordClose:function(){this.resetPasswordVisible=!1},passSubmit:function(e){var t=this,i=[];i=this.selectionList.length>0?this.selectionList.map(function(e,t,i){return e.id}):[this.dialogData.id],e.id=i,this.loading=!0,Object(o.c)(e).then(function(e){t.$message.success("重置成功"),t.resetPasswordClose(),t.loading=!1}).catch(function(){t.loading=!1})},setParentClose:function(){this.setParentVisible=!1},parentSubmit:function(e){var t=this;this.$refs.parentForm.validate(function(i){if(i){if(!(t.selectionList.length>0))return t.$message("2333"),!1;var s;s=t.selectionList.map(function(e){return e.id}),e.id_list=s,t.loading=!0,Object(o.j)(e).then(function(e){t.$message.success(e.data),t.searchClick(),t.setParentVisible=!1,t.loading=!1}).catch(function(){t.loading=!1})}})},passUserNameSubmit:function(e){var t=this;this.$refs.resetUserNameForm.validate(function(i){if(!i)return!1;t.selectionList.length>0&&(e.id=t.selectionList[0].id,t.loading=!0,Object(o.d)(e).then(function(e){t.$message.success(e.data),t.searchClick(),t.resetUserNameVisible=!1,t.loading=!1}).catch(function(){t.loading=!1}))})},multipleSetParent:function(e){console.log(233)},handleSizeChange:function(e){this.pageSize=e,this.usersListFun()},handleCurrentChange:function(e){this.currentPage=e,this.usersListFun()},handleSelectionChange:function(e){this.selectionList=e},usersListFun:function(){var e=this;this.loading=!0;var t={page:this.currentPage,limit:this.pageSize,search:this.importInput,structure_id:this.structureValue};this.selectModel?t.status=this.selectModel:t.status="all",Object(o.b)(t).then(function(t){e.tableData=t.data.list.map(function(e,t,i){return"0"==e.sex&&(e.sex=""),e}),e.total=t.data.dataCount,e.loading=!1}).catch(function(){e.loading=!1})},getSelectUserList:function(){var e=this;this.loading=!0,Object(r.o)({}).then(function(t){e.optionsList.parent_id.list=[];var i=!0,s=!1,n=void 0;try{for(var l,o=a()(t.data);!(i=(l=o.next()).done);i=!0){var r=l.value;e.optionsList.parent_id.list.push({id:r.id,name:r.realname})}}catch(e){s=!0,n=e}finally{try{!i&&o.return&&o.return()}finally{if(s)throw n}}e.loading=!1}).catch(function(){e.loading=!1})},getStatusColor:function(e){return 0==e?"#FF6767":1==e?"#46CDCF":2==e?"#CCCCCC":void 0},handleTypeDrop:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];"import"==e?this.showCRMImport=!0:"export"==e&&console.log("export")},listRefresh:function(){console.log("刷新列表")}}},f=(i("k1va"),Object(m.a)(b,function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"employee-dep-management"},[s("p",{staticClass:"title"},[e._v(" 员工与部门管理 ")]),e._v(" "),s("div",{staticClass:"system-content"},[s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.depLoading,expression:"depLoading"}],staticClass:"system-view-nav"},[s("el-tree",{ref:"tree",attrs:{data:e.treeData,"expand-on-click-node":!1,"node-key":"id","default-expand-all":"","highlight-current":""},on:{"node-click":e.changeDepClick},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node,n=t.data;return s("flexbox",{staticClass:"node-data"},[a.expanded?s("img",{staticClass:"node-img",attrs:{src:i("Csel")},on:{click:function(t){e.handleExpand("close",a,n)}}}):e._e(),e._v(" "),a.expanded?e._e():s("img",{staticClass:"node-img",attrs:{src:i("zXZL")},on:{click:function(t){e.handleExpand("open",a,n)}}}),e._v(" "),s("div",{staticClass:"node-label"},[e._v(e._s(a.label))]),e._v(" "),s("div",{staticClass:"node-label-set"},[e.strucSaveAuth?s("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return t.stopPropagation(),e.append(n)}}},[s("i",{staticClass:"el-icon-plus"})]):e._e(),e._v(" "),e.strucUpdateAuth?s("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return t.stopPropagation(),e.edit(a,n)}}},[s("i",{staticClass:"el-icon-edit"})]):e._e(),e._v(" "),e.strucDeleteAuth?s("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return t.stopPropagation(),e.remove(a,n)}}},[s("i",{staticClass:"el-icon-close"})]):e._e()],1)])}}])})],1),e._v(" "),s("div",{staticClass:"system-view-table flex-index"},[0===e.selectionList.length?s("div",{staticClass:"table-top"},[s("div",{staticClass:"icon-search lt"},[s("el-input",{attrs:{placeholder:"请输入员工名称"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchClick(t):null}},model:{value:e.importInput,callback:function(t){e.importInput=t},expression:"importInput"}}),e._v(" "),s("i",{staticClass:"el-icon-search",on:{click:e.searchClick}})],1),e._v(" "),s("div",{staticClass:"status"},[s("span",[e._v("状态")]),e._v(" "),s("el-select",{attrs:{clearable:!0,placeholder:"请选择"},on:{change:e.statusChange},model:{value:e.selectModel,callback:function(t){e.selectModel=t},expression:"selectModel"}},e._l(e.statusOptions,function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),e.moreTypes.length>0?s("el-dropdown",{staticClass:"rt",attrs:{trigger:"click"},on:{command:e.handleTypeDrop}},[s("flexbox",{staticClass:"right-more-item"},[s("div",[e._v("更多")]),e._v(" "),s("i",{staticClass:"el-icon-arrow-down el-icon--right",staticStyle:{color:"#777"}})]),e._v(" "),s("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.moreTypes,function(t,i){return s("el-dropdown-item",{key:i,attrs:{command:t.type}},[e._v(e._s(t.name))])}))],1):e._e(),e._v(" "),e.userSaveAuth?s("el-button",{staticClass:"rt",attrs:{type:"primary"},on:{click:e.newBtn}},[e._v("新建员工")]):e._e()],1):e._e(),e._v(" "),e.selectionList.length>0?s("flexbox",{staticClass:"selection-bar"},[s("div",{staticClass:"selected—title"},[e._v("已选中"),s("span",{staticClass:"selected—count"},[e._v(e._s(e.selectionList.length))]),e._v("项")]),e._v(" "),s("flexbox",{staticClass:"selection-items-box"},e._l(e.selectionInfo,function(t,i){return s("flexbox",{key:i,staticClass:"selection-item",nativeOn:{click:function(i){e.selectionBarClick(t.type)}}},[s("img",{staticClass:"selection-item-icon",attrs:{src:t.icon}}),e._v(" "),s("div",{staticClass:"selection-item-name"},[e._v(e._s(t.name))])])}))],1):e._e(),e._v(" "),s("flexbox",{staticClass:"content-table-header"},[s("div",{staticClass:"content-table-header-reminder"},[e.userNoStructureGroup?s("reminder",{attrs:{content:"未添加部门和角色的员工无法正常登录系统"}}):e._e()],1)]),e._v(" "),s("div",{staticClass:"flex-box"},[s("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{id:"depTable",data:e.tableData,height:e.tableHeight},on:{"selection-change":e.handleSelectionChange,"row-click":e.rowClick}},[e.tableUpdateAuth?s("el-table-column",{attrs:{type:"selection",width:"55"}}):e._e(),e._v(" "),s("el-table-column",{attrs:{prop:"realname",width:"100","show-overflow-tooltip":"",label:"姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",{staticClass:"status-name"},[s("div",{style:{"background-color":e.getStatusColor(t.row.status)}}),e._v("\n                "+e._s(t.row.realname)+"\n              ")])]}},{key:"header",fn:function(t){return[s("div",{staticClass:"table-head-name"},[e._v(e._s(t.column.label))])]}}])}),e._v(" "),e._l(e.fieldList,function(t,i){return s("el-table-column",{key:i,attrs:{width:t.width,prop:t.field,label:t.value,"show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(t){return[s("div",{staticClass:"table-head-name"},[e._v(e._s(t.column.label))])]}}])})}),e._v(" "),s("el-table-column")],2),e._v(" "),s("div",{staticClass:"p-contianer"},[s("div",{staticClass:"status-des"},e._l(e.statusOptions,function(t){return s("div",{key:t.value,staticClass:"status-des-item"},[s("div",{style:{"background-color":e.getStatusColor(t.value)}}),e._v("\n              "+e._s(t.label)+"\n            ")])})),e._v(" "),s("el-pagination",{staticClass:"p-bar",attrs:{"current-page":e.currentPage,"page-sizes":e.pageSizes,"page-size":e.pageSize,total:e.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"update:pageSize":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1)]),e._v(" "),s("el-dialog",{attrs:{visible:e.depCreateDialog,title:e.navBtnTitle,"before-close":e.navHandleClose,width:"30%"},on:{"update:visible":function(t){e.depCreateDialog=t}}},[s("div",{staticClass:"nav-dialog-div"},[s("label",[e._v(e._s(e.labelName)+":")]),e._v(" "),s("el-input",{attrs:{placeholder:"请输入内容"},model:{value:e.treeInput,callback:function(t){e.treeInput=t},expression:"treeInput"}})],1),e._v(" "),0!=e.depSelect?s("div",{staticClass:"nav-dialog-div"},[s("label",[e._v("上级部门:")]),e._v(" "),s("el-select",{attrs:{clearable:!1,placeholder:"请选择"},model:{value:e.depSelect,callback:function(t){e.depSelect=t},expression:"depSelect"}},e._l(e.dialogOptions,function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1):e._e(),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.depCreateDialog=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.submitDialog}},[e._v("确 定")])],1)]),e._v(" "),e.employeeDetailDialog?s("employee-detail",{attrs:{data:e.dialogData},on:{edit:e.editBtn,command:e.handleCommand,"hide-view":function(t){e.employeeDetailDialog=!1}}}):e._e(),e._v(" "),s("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{visible:e.resetPasswordVisible,"close-on-click-modal":!1,"modal-append-to-body":!1,"before-close":e.resetPasswordClose,title:"重置密码",width:"30%"},on:{"update:visible":function(t){e.resetPasswordVisible=t}}},[s("div",{staticClass:"el-password"},[s("el-form",{ref:"passForm",attrs:{model:e.passForm,rules:e.rules}},[s("el-form-item",{attrs:{label:"密码",prop:"new_pwd"}},[s("el-input",{attrs:{type:"password"},model:{value:e.passForm.password,callback:function(t){e.$set(e.passForm,"password",t)},expression:"passForm.password"}})],1)],1)],1),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:e.resetPasswordClose}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.passSubmit(e.passForm)}}},[e._v("确 定")])],1)]),e._v(" "),s("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{visible:e.resetUserNameVisible,"close-on-click-modal":!1,"modal-append-to-body":!1,"before-close":function(){e.resetUserNameVisible=!1},title:"重置登录账号",width:"30%"},on:{"update:visible":function(t){e.resetUserNameVisible=t}}},[s("div",{staticClass:"el-password"},[s("el-form",{ref:"resetUserNameForm",attrs:{model:e.resetUserNameForm,rules:e.dialogRules}},[s("el-form-item",{attrs:{label:"新账号(手机号)",prop:"username"}},[s("el-input",{model:{value:e.resetUserNameForm.username,callback:function(t){e.$set(e.resetUserNameForm,"username",t)},expression:"resetUserNameForm.username"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"新密码",prop:"password"}},[s("el-input",{attrs:{type:"password"},model:{value:e.resetUserNameForm.password,callback:function(t){e.$set(e.resetUserNameForm,"password",t)},expression:"resetUserNameForm.password"}})],1)],1),e._v(" "),s("div",{staticClass:"tips",staticStyle:{"margin-top":"20px"}},[e._v("重置登录帐号后,员工需用新账号登录。请及时告知员工,确保正常使用")])],1),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(){e.resetUserNameVisible=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.passUserNameSubmit(e.resetUserNameForm)}}},[e._v("确 定")])],1)]),e._v(" "),e.employeeCreateDialog?s("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.dialogTitle,visible:e.employeeCreateDialog,"close-on-click-modal":!1,"popper-append-to-body":!1,"append-to-body":!0,"before-close":e.newHandleClose,width:"60%"},on:{"update:visible":function(t){e.employeeCreateDialog=t}}},[s("p",{staticClass:"new-dialog-title"},[e._v("基本信息")]),e._v(" "),s("el-form",{ref:"dialogRef",staticClass:"new-dialog-form",attrs:{inline:!0,model:e.formInline,rules:e.dialogRules,"label-width":"80px","label-position":"top"}},e._l(e.tableList,function(t,i){return s("el-form-item",{key:i,attrs:{label:t.value,prop:t.field}},[s("span",{attrs:{slot:"label"},slot:"label"},[e._v(e._s(t.value))]),e._v(" "),t.tips?s("el-tooltip",{attrs:{slot:"label",content:t.tips,effect:"dark",placement:"top"},slot:"label"},[s("i",{staticClass:"wukong wukong-help_tips"})]):e._e(),e._v(" "),"select"==t.type?[s("el-select",{attrs:{filterable:"",placeholder:"请选择"},model:{value:e.formInline[t.field],callback:function(i){e.$set(e.formInline,t.field,i)},expression:"formInline[item.field]"}},e._l(e.optionsList[t.field].list,function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))]:"selectCheckout"==t.type?[s("el-select",{attrs:{"popper-append-to-body":!1,"popper-class":"select-popper-class",filterable:"",multiple:"",placeholder:"请选择"},model:{value:e.formInline[t.field],callback:function(i){e.$set(e.formInline,t.field,i)},expression:"formInline[item.field]"}},e._l(e.groupsList,function(t){return s("el-option-group",{key:t.pid,attrs:{label:t.name}},e._l(t.list,function(e){return s("el-option",{key:e.id,attrs:{label:e.title,value:e.id}})}))}))]:s("el-input",{attrs:{disabled:"编辑员工"==e.dialogTitle&&"username"==t.field},model:{value:e.formInline[t.field],callback:function(i){e.$set(e.formInline,t.field,i)},expression:"formInline[item.field]"}})],2)})),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{type:"primary"},on:{click:e.newDialogSubmit}},[e._v("保 存")]),e._v(" "),s("el-button",{on:{click:function(t){e.employeeCreateDialog=!1}}},[e._v("取 消")])],1)],1):e._e(),e._v(" "),s("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{visible:e.setParentVisible,"close-on-click-modal":!1,"modal-append-to-body":!1,"before-close":e.setParentClose,title:"设置直属上级",width:"30%"},on:{"update:visible":function(t){e.setParentVisible=t}}},[s("div",{staticClass:"el-password"},[s("el-form",{ref:"parentForm",staticClass:"demo-ruleForm parentForm",attrs:{model:e.parentForm}},[s("el-form-item",{attrs:{rules:[{required:!0,message:"直属上级不能为空"}],prop:"parent_id",label:"直属上级"}},[s("el-select",{attrs:{filterable:"",placeholder:"请选择"},model:{value:e.parentForm.parent_id,callback:function(t){e.$set(e.parentForm,"parent_id",t)},expression:"parentForm.parent_id"}},e._l(e.optionsList.parent_id.list,function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1)],1)],1),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:e.setParentClose}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.parentSubmit(e.parentForm)}}},[e._v("确 定")])],1)]),e._v(" "),s("c-r-m-import",{attrs:{show:e.showCRMImport,"crm-type":"user"},on:{listRefresh:e.listRefresh,close:function(t){e.showCRMImport=!1}}})],1)},[],!1,null,"b376f654",null));f.options.__file="EmployeeDepManagement.vue";t.default=f.exports},Csel:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjU0OTlCOUZDRERCMjExRTg4MjVEQ0RGOThFMUY2OTEyIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjU0OTlCOUZERERCMjExRTg4MjVEQ0RGOThFMUY2OTEyIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NTQ5OUI5RkFEREIyMTFFODgyNURDREY5OEUxRjY5MTIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NTQ5OUI5RkJEREIyMTFFODgyNURDREY5OEUxRjY5MTIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5iPiS9AAAAY0lEQVR42mI8c+aMLQMDw0IgVmQgHdwH4jgmIDEHiNOBmJEMDNI3lxHokv9QAXLBfyYGKoBRQzABC7bQJkIfIyFDGEdjZxAZcguIXcjUD9J3CxTFKUC8CIgVyDDkARDHAgQYANTlEN4TaBTMAAAAAElFTkSuQmCC"},Ew9n:function(e,t,i){"use strict";var s=i("7Qib"),a={name:"SlideView",components:{},props:{bodyStyle:{type:Object,default:function(){return{padding:0}}},listenerIDs:{type:Array,default:function(){return[]}},noListenerIDs:{type:Array,default:function(){return[]}},noListenerClass:{type:Array,default:function(){return[]}},appendToBody:{type:Boolean,default:!1}},data:function(){return{zIndex:Object(s.g)()}},computed:{},watch:{},mounted:function(){var e=this;this.appendToBody&&document.body.appendChild(this.$el),this.listenerIDs.forEach(function(t){document.getElementById(t)&&document.getElementById(t).addEventListener("click",e.handleDocumentClick,!1)})},beforeDestroy:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{handleDocumentClick:function(e){var t=!0;this.noListenerIDs.forEach(function(i){document.getElementById(i)&&document.getElementById(i).contains(e.target)&&(t=!1)}),this.noListenerClass.forEach(function(i){var s=document.getElementsByClassName(i);if(s&&t)for(var a=0;a<s.length;a++){if(s[a].contains(e.target)){t=!1;break}}}),document.getElementById("slide")&&document.getElementById("slide").contains(e.target)&&(t=!1),t&&this.$emit("side-close")},afterEnter:function(){this.$emit("afterEnter")}}},n=(i("0GEW"),i("KHd+")),l=Object(n.a)(a,function(){var e=this.$createElement,t=this._self._c||e;return t("transition",{attrs:{name:"slide-fade"},on:{"after-enter":this.afterEnter}},[t("el-card",{ref:"slide",staticClass:"slide-detail-card-container",style:{"z-index":this.zIndex},attrs:{id:"slide","body-style":this.bodyStyle}},[this._t("default")],2)],1)},[],!1,null,"0f708744",null);l.options.__file="SlideView.vue";t.a=l.exports},N2TM:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSA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pZxGaYAjZDl2AzDZSAhw0DZqgxv1kMCSdAwciDHMGwuNAfi+eQahs1AZSC+S65h2LysAsR80ByhBA2CVcQahs1ADqjmu1DcAsRzSC4PkYDEQBRfeAEjtasAgAADAGyIOmMAf77mAAAAAElFTkSuQmCC"},ZgIG:function(e,t,i){},ZuO2:function(e,t,i){"use strict";var s=i("QbLZ"),a=i.n(s),n=i("L2JU"),l=i("vG5h"),o=i("5tgW"),r=i("qbf4"),c=i("YrMO"),d=i("KzkL"),u=i("KTTK"),m={name:"CRMImport",components:{XhUserCell:i("8GhS").p},props:{show:{type:Boolean,default:!1},crmType:{type:String,default:""}},data:function(){return{showDialog:!1,config:1,file:{name:""},user:[],fieldUniqueInfo:"",activeName:"first",importExecStats:!1,errorInfo:"",isDone:!1,isCancel:!1,importResponseShow:!1,done:0,total:0,error:0,cover:0,errorFilePath:"",resTemp:{},importQueueIndex:""}},computed:a()({},Object(n.b)(["userInfo"]),{crmTypeName:function(){return{customer:"客户",leads:"线索",contacts:"联系人",product:"产品",user:"员工"}[this.crmType]||""}}),watch:{show:function(e){this.showDialog=e,this.fieldUniqueInfo||this.getFieldUniqueInfo()}},mounted:function(){this.user.push(this.userInfo)},methods:{sure:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=a()({import_queue_index:this.importQueueIndex,cover:this.cover},t);if(this.file.name)if("customer"==this.crmType||this.user&&0!=this.user.length){this.activeName="second",i&&(this.importExecStats=!0),this.isDone=!1,this.refreshOrCloseTips(),s.config=this.config,s.temp_file||(s.file=this.file),console.log(s),s.owner_user_id=this.user.length>0?this.user[0].id:"",(0,{customer:l.f,leads:o.d,contacts:r.d,product:c.d,user:u.m}[this.crmType])(s).then(function(t){e.importQueueIndex=t.data.import_queue_index,e.resTemp=t,e.importResponseShow=!0,e.done=t.data.done?t.data.done:e.done,e.total=t.data.total?t.data.total:e.total,e.error=t.data.error?t.data.error:e.error,e.cover=t.data.cover?t.data.cover:e.cover,e.isCancel&&-1===t.data.page?(e.importExecStats=!1,window.onbeforeunload=null,e.error?e.errorFilePath=t.data.error_file_path:e.errorFilePath=""):e.isCancel||-2!==t.data.page?t.data.done>=t.data.total?(e.isDone=!0,e.importExecStats=!1,e.$emit("listRefresh"),window.onbeforeunload=null,t.data.error?e.errorFilePath=t.data.error_file_path:e.errorFilePath=""):e.isCancel?e.sure({page:-1,temp_file:t.data.temp_file,error_file:t.data.error_file,error:t.data.error}):e.sure({page:t.data.page,temp_file:t.data.temp_file,error_file:t.data.error_file,error:t.data.error}):(e.importResponseShow=!1,setTimeout(function(){e.sure({page:1,temp_file:t.data.temp_file})},1e3))}).catch(function(){e.isCancel=!0,e.importExecStats=!1,e.importExecStats=!1,window.onbeforeunload=null})}else this.$message.error("请选择负责人");else this.$message.error("请选择导入文件")},download:function(){var e=document.createElement("a");e.href=window.BASE_URL+{customer:l.d,leads:o.b,contacts:r.b,product:c.b,user:u.l}[this.crmType],e.target="_black",document.body.appendChild(e),e.click(),document.body.removeChild(e)},selectFile:function(){document.getElementById("importInputFile").click()},uploadFile:function(e){var t=e.target.files[0];this.file=t,e.target.value=""},userSelect:function(e){e.value&&e.value.length>0?this.user=e.value:this.user=[]},closeView:function(){"second"==this.activeName&&(this.file={name:""}),this.activeName="first",this.importResponseShow=!1,this.errorFilePath="",this.isDone=!1,this.importExecStats=!1,this.errorInfo="",this.isCancel=!1,this.importQueueIndex="",this.$emit("close")},getFieldUniqueInfo:function(){var e=this;Object(d.a)({types:"crm_"+this.crmType}).then(function(t){e.fieldUniqueInfo=t.data}).catch(function(){})},tabClick:function(){"first"===this.activeName&&(this.importQueueIndex="",this.importResponseShow=!1,this.errorFilePath="",this.isCancel=!1,this.isDone=!1,this.errorInfo="",this.importExecStats=!1,this.file={name:""})},downloadErrorFile:function(){Object(u.a)({path:this.errorFilePath,name:"导入错误数据"}).then(function(e){var t=new Blob([e.data],{type:"application/vnd.ms-excel;charset=utf-8"}),i=document.createElement("a"),s=window.URL.createObjectURL(t);i.href=s,i.download=decodeURI(e.headers["content-disposition"].split("filename=")[1])||"",document.body.appendChild(i),i.click(),document.body.removeChild(i),window.URL.revokeObjectURL(s)})},cancelImport:function(){var e=this;this.importExecStats&&this.$confirm("此操作将取消数据导入, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.importExecStats=!1,e.isCancel=!0}).catch(function(){})},beforeClose:function(e){this.importExecStats&&"second"==this.activeName?this.$message.error("导入中无法关闭窗口"):e()},refreshOrCloseTips:function(){var e=this;window.onbeforeunload=function(t){return e.sure({page:-1,temp_file:e.resTemp.temp_file,error_file:e.resTemp.error_file}),t}}}},p=(i("edG1"),i("KHd+")),h=Object(p.a)(m,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{visible:e.showDialog,title:"导入"+e.crmTypeName,"append-to-body":!0,"close-on-click-modal":!1,"before-close":e.beforeClose,"close-on-press-escape":!1,width:"550px"},on:{"update:visible":function(t){e.showDialog=t},close:e.closeView}},[i("div",{staticClass:"dialog-body"},[i("el-tabs",{attrs:{stretch:!0},on:{"tab-click":e.tabClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[i("el-tab-pane",{attrs:{disabled:e.importExecStats,label:"① 上传文件",name:"first"}},[i("div",{staticClass:"sections"},[i("div",[e._v("一、请按照数据模板的格式准备要导入的数据。"),i("span",{staticClass:"download",on:{click:e.download}},[e._v("点击下载")]),e._v("《"+e._s(e.crmTypeName)+"导入模板》")]),e._v(" "),i("div",{staticClass:"content content-tips"},[i("div",[e._v("注意事项:")]),e._v(" "),i("div",[e._v("1、模板中的表头名称不能更改,表头行不能删除")]),e._v(" "),i("div",[e._v("2、其中标*为必填项,必须填写")]),e._v(" "),i("div",[e._v("3、导入文件请勿超过20MB")])])]),e._v(" "),i("div",{staticClass:"sections"},[i("flexbox",{attrs:{align:"initial"}},[i("div",[e._v("二、")]),e._v(" "),i("div",[e._v("请选择数据重复时的处理方式(查重规则:【"+e._s(e.fieldUniqueInfo)+"】)")])]),e._v(" "),i("div",{staticClass:"content"},[i("el-select",{attrs:{placeholder:"请选择"},model:{value:e.config,callback:function(t){e.config=t},expression:"config"}},e._l([{name:"覆盖系统原有数据",value:1},{name:"跳过",value:0}],function(e,t){return i("el-option",{key:t,attrs:{label:e.name,value:e.value}})}))],1)],1),e._v(" "),i("div",{staticClass:"sections"},[i("div",[e._v("三、请选择需要导入的文件")]),e._v(" "),i("div",{staticClass:"content"},[i("flexbox",{staticClass:"file-select"},[i("el-input",{attrs:{disabled:!0},model:{value:e.file.name,callback:function(t){e.$set(e.file,"name",t)},expression:"file.name"}}),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.selectFile}},[e._v("选择文件")])],1)],1)]),e._v(" "),"user"!=e.crmType?i("div",{staticClass:"sections"},[i("div",[e._v("四、请选择负责人("+e._s("customer"==e.crmType?"如不选择,导入的客户将进入公海":"必选")+")")]),e._v(" "),i("div",{staticClass:"content"},[i("div",{staticClass:"user-cell"},[i("xh-user-cell",{attrs:{value:e.user},on:{"value-change":e.userSelect}})],1)])]):e._e(),e._v(" "),i("input",{attrs:{id:"importInputFile",type:"file",accept:".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"},on:{change:e.uploadFile}})]),e._v(" "),i("el-tab-pane",{attrs:{disabled:!e.importExecStats,label:"② 导入数据",name:"second"}},[i("div",{staticClass:"importProgress"},[e.errorInfo?i("p",{staticClass:"error"},[e._v("\n            "+e._s(e.errorInfo)+"\n          ")]):i("div",[e.isCancel?i("p",{staticClass:"cancel"},[i("i",{staticClass:"el-icon-warning"}),e._v("\n              已取消\n            ")]):e.importExecStats?i("p",[i("i",{staticClass:"el-icon-loading"}),e._v("\n              导入中...\n            ")]):i("p",{staticClass:"success"},[i("i",{staticClass:"el-icon-success"}),e._v("\n              已完成\n            ")]),e._v(" "),e.importResponseShow?i("p",[e._v("\n              共 "+e._s(e.total)+" 条数据,\n              已导入 "),i("span",{staticClass:"primary"},[e._v(e._s(e.done))]),e._v(" 条,\n              成功 "),i("span",{staticClass:"success"},[e._v(e._s(e.done-e.error))]),e._v(" 条,\n              "),e.config?i("span",[e._v("覆盖 "),i("span",[e._v(e._s(e.cover))]),e._v(" 条,")]):e._e(),e._v("\n              失败"),0==e.config?i("span",[e._v("/跳过")]):e._e(),e._v(" "),i("span",{staticClass:"error"},[e._v(e._s(e.error))]),e._v(" 条\n            ")]):e._e(),e._v(" "),e.errorFilePath?i("p",[i("el-link",{attrs:{type:"primary"},nativeOn:{click:function(t){return e.downloadErrorFile(t)}}},[i("i",{staticClass:"el-icon-download"}),e._v("\n                点击下载错误数据\n              ")])],1):e._e()])])])],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},["first"===e.activeName?i("el-button",{on:{click:e.closeView}},[e._v("取 消")]):e._e(),e._v(" "),"first"===e.activeName?i("el-button",{attrs:{type:"primary"},on:{click:function(t){e.sure({},!0)}}},[e._v("确 定")]):e._e(),e._v(" "),e.importExecStats?i("el-button",{on:{click:e.cancelImport}},[e._v("取消导入")]):e._e()],1)])},[],!1,null,"621d2423",null);h.options.__file="CRMImport.vue";t.a=h.exports},aQEv:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZ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50SUQ9InhtcC5kaWQ6NzhCODlCNzExQUZDMTFFOUE3OEU5OENGNjAwNzFBQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz660K9XAAABhklEQVR42qzVzysEYRjA8R2hEFLCopTyo+XizoWLRQ6K4uxAURyVsnJw4yI5sBcXGaWUclAOyx8giz1IlBVRQvLjMr5vPVtvb++OVvvUZ2f3mZln3p+zjud5gWxGrvpwXTdrBXN8zoWwhEt8iQvJhTIpmI8VHOEJQygVw3iRc2sowJxfQVVsH1VoxCLO8C1OsYAGqMHfQsSv4DJeMShHFWHci7Dk3vCAfuukSLRgAE3y9FRsSLdVbKNauhn5awxHsSpP1yOIYxGU3DwcjbVgN/b+uVoqbAXrkdB+x7Sue8b3mNGohG0MzWhHLZJGvgZ32u9C5NlaeI1m4+ak1tqYkdN7dmsreGBbBlo4afK9OLQVVMtjHCVark6OHTIEei4g105i3VYwjl1EpTVqmdxoE5KicidyTVTuiaeblGnZemoB9+A9TTeL1UsKZRjx23o/MiaPuMIMWmUWi9CGWTn3jD65x/dtoy6YQCcqsYMPecgmytGFMXz67WUzzjGV6ZZxsv0X8CvAALx1XuD6JRY0AAAAAElFTkSuQmCC"},cjAg:function(e,t,i){},csZP:function(e,t,i){"use strict";i.d(t,"h",function(){return a}),i.d(t,"e",function(){return n}),i.d(t,"f",function(){return l}),i.d(t,"g",function(){return o}),i.d(t,"b",function(){return r}),i.d(t,"k",function(){return c}),i.d(t,"m",function(){return d}),i.d(t,"i",function(){return u}),i.d(t,"c",function(){return m}),i.d(t,"d",function(){return p}),i.d(t,"l",function(){return h}),i.d(t,"a",function(){return g}),i.d(t,"j",function(){return v});var s=i("t3Un");function a(){return Object(s.a)({url:"admin/structures/index",method:"post",data:{type:"tree"}})}function n(e){return Object(s.a)({url:"admin/structures/delete",method:"post",data:e})}function l(e){return Object(s.a)({url:"admin/structures/update",method:"post",data:e})}function o(e){return Object(s.a)({url:"admin/structures/save",method:"post",data:e})}function r(e){return Object(s.a)({url:"admin/users/index",method:"post",data:e})}function c(e){return Object(s.a)({url:"admin/users/save",method:"post",data:e})}function d(e){return Object(s.a)({url:"admin/users/update",method:"post",data:e})}function u(e){return Object(s.a)({url:"admin/groups/index",method:"post",data:e})}function m(e){return Object(s.a)({url:"admin/users/updatePwd",method:"post",data:e})}function p(e){return Object(s.a)({url:"admin/users/usernameEdit",method:"post",data:e})}function h(e){return Object(s.a)({url:"admin/users/enables",method:"post",data:e})}function g(e){return Object(s.a)({url:"admin/structures/listDialog",method:"post",data:e})}function v(e){return Object(s.a)({url:"admin/users/setParent",method:"post",data:e})}},disj:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdX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jdDNUVDQTI3OTEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RTU1ODhDRTM4MzU0MTFFOUFFRkRGQjdDNUVDQTI3OTEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6ron+nAAABlElEQVR42qzVOyxDURzH8RYJKixKkDCwGUUMNbCYLBKpxyARFiIREaPV5hWLxSMYaGpBLAZhQRBhYaCDWJAGiUcsWt+T/Jrc1L1tJfeffHp6zr399zz+t/XG43GPm5FjXsLhsCvJgsGgJ8vjcmSludaNbTzjB0/YQReyUYjcTBJW4xRTuFTiOiW6wgxOcIGaP3tok+wYu2jGR9L1Q5iTHFe/AtdOMzT9ELbQZ5PMRB5eca9+ZaolmyWVYcQyVoU9vKv1Y1pL7cBLqoQ9WMaXZWwRByhXu6Jxc0hhrcYxYb32yBqNmNTy5xD4T9n4VSLWOMMYCjCs0884YRSllr6psQgmNEPT3ibVXqvq0zbhOZos/SXNrBb5an0aT0RAq7BNuIZefdhEO4Zwg2+1A2jT9SL0Y9Up4YamP2upuWjSPW+atRfzeMCm05MSUy0e6b05jE+bvfcpWYuWHEv16EV0U0gHsIB9zbRYezyIR5XUXbpnOZG0AZ36YTD7VKKk5uBG9YUx2x9YhzA3r0vG4XX7L+BXgAEATzRfYOrsUXwAAAAASUVORK5CYII="},k1va:function(e,t,i){"use strict";var s=i("ZgIG");i.n(s).a},kLyV:function(e,t,i){"use strict";var s=i("wx7R");i.n(s).a},uXkD:function(e,t,i){},wW83:function(e,t,i){},wx7R:function(e,t,i){},yTN1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD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