Commit dc3f1101 by xiaohai

build for test 20-19-1-23 20:26

parent 9c6d0f2e
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.47cadd52490068c3ef9d119277b67282.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.57dd40851fc468a2a9e2.js></script><script type=text/javascript src=./static/js/vendor.dd9854601ee4f51e4325.js></script><script type=text/javascript src=./static/js/app.ec8dcb0124b78cd8a48b.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.9899130f9c72a562f4a2e8e2b528e11a.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.2c5f254d9ede538dd337.js></script><script type=text/javascript src=./static/js/vendor.dd9854601ee4f51e4325.js></script><script type=text/javascript src=./static/js/app.7026f3bb3e85f48cba76.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.
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([22],{"/4Tr":function(t,s){},"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("2X9c"),a=i.n(e),n={name:"page500",data:function(){return{img_500:a.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("/4Tr")},"data-v-4bf06e19",null);s.default=c.exports}});
//# sourceMappingURL=22.0902784e4cc61f132377.js.map
\ No newline at end of file
webpackJsonp([21],{"/4Tr":function(t,s){},"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("2X9c"),a=i.n(e),n={name:"page500",data:function(){return{img_500:a.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("/4Tr")},"data-v-4bf06e19",null);s.default=c.exports}});
//# sourceMappingURL=21.52f0406512b49c4c4921.js.map
\ No newline at end of file
webpackJsonp([31],{Rwbg:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3Xzz"),i=e("elmV"),l=e("P9l9"),o={name:"employee-io",components:{navCrumb:s.a,uploadExcelComponent:i.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"administrativeFrame"},{name:"批量导入导出",path:""}],type:"import",fileList:[],url:t+"/haoban-manage-web/emp/upload",logList:[],loading:!0,pageSize:20,currentPage:1,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getErrorNote()},handleCurrentChange:function(t){this.currentPage=t,this.getErrorNote()},resetList:function(t){this.fileList=[],"note"==t&&this.getErrorNote()},getErrorNote:function(){var t=this,a={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(l.a)("/haoban-manage-web/error-log-page",a).then(function(a){console.log(a),1==a.data.errorCode?(console.log(a.data),t.total=a.data.result.totalCount,t.logList=a.data.result.result,t.loading=!1):t.$message.error({message:a.data.message})}).catch(function(a){t.$message.error({message:a.message})})},handleRemove:function(t,a){console.log(t,a)},handlePreview:function(t){console.log(t)},uploadSuccess:function(){this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,a){console.log(t,a),this.fileList=a}},beforeMount:function(){"note"==this.type&&this.getErrorNote()}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{staticClass:"io-container"},[t._m(0),t._v(" "),e("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(a){t.type=a},expression:"type"}},[e("el-radio-button",{attrs:{label:"import"}},[t._v("导入通讯录")]),t._v(" "),e("el-radio-button",{attrs:{label:"export"}},[t._v("导出/修改通讯录")]),t._v(" "),e("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?e("div",{staticClass:"handle-area import"},[e("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px"}},[e("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载员工通讯录模板,统一收集员工信息\n "),e("a",{staticClass:"d-u-btn",attrs:{href:"http://www.gicdev.com/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx"}},[e("el-button",{attrs:{type:"primary"}},[t._v("下载"),e("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),e("div",{staticClass:"step-div"},[e("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传收集完毕的员工信息表\n "),e("div",{staticClass:"d-u-btn m-t-20"},[e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),e("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),e("div",{staticClass:"up-btn-div"},[e("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(a){t.submitUpload("upload")}}},[t._v("上传")])],1)]):"export"==t.type?e("div",{staticClass:"handle-area import"},[e("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px"}},[e("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出所有员工信息\n "),e("a",{staticClass:"d-u-btn",attrs:{href:"http://www.gicdev.com/haoban-manage-web/emp/export?departmentId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[e("el-button",{attrs:{type:"primary"}},[t._v("下载"),e("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改员工信息\n ")]),t._v(" "),e("div",{staticClass:"step-div"},[e("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传修改好的员工信息表\n "),e("div",{staticClass:"d-u-btn m-t-20"},[e("el-upload",{ref:"uploadEdit",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),e("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),e("div",{staticClass:"up-btn-div"},[e("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(a){t.submitUpload("uploadEdit")}}},[t._v("上传")])],1)]):e("div",{staticClass:"error-log import"},[e("div",{staticClass:"title-area"},[t._m(1),t._v(" "),e("a",{attrs:{href:"http://www.gicdev.com/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[e("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[e("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),e("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),e("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),e("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),e("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),e("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),e("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(a){return[t._v("\n "+t._s(1==a.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":t.pageSize,"current-page":t.currentPage,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)],1)])])],1)},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ul",{staticClass:"tip-area"},[e("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"),e("a",{staticClass:"a-href"},[t._v("企业认证")])]),t._v(" "),e("li",{staticClass:"tip"},[t._v("如需更新已存在的员工,可逐个进行修改,或请先导出通讯录,在导出表格里进行修改")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("不能在本excel表中对员工信息类别进行增加、删除、修改")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证")])])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"tip"},[this._v("\n 导入总条数:0条,成功导入0条,"),a("span",{staticClass:"red"},[this._v("错误导入0条")])])}]};var r=e("VU/8")(o,n,!1,function(t){e("Vl8E")},null,null);a.default=r.exports},Vl8E:function(t,a){}});
//# sourceMappingURL=31.a801e522c48aebbc50c9.js.map
\ No newline at end of file
webpackJsonp([31],{SKyE:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),n=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),s=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(t,r,a){e.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),o={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("h2",[e._v("企业地址设置")]),e._v(" "),r("p",{staticClass:"m-t-24"},[e._v("开启后手机端通讯录将显示,反之则不显示")]),e._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:e.ruleForm.switch,callback:function(t){e.$set(e.ruleForm,"switch",t)},expression:"ruleForm.switch"}})],1),e._v(" "),r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(s,o,!1,function(e){r("aqKZ")},"data-v-43e0312a",null);t.default=l.exports},aqKZ:function(e,t){}});
//# sourceMappingURL=31.d61782409ab50d84b5e9.js.map
\ No newline at end of file
webpackJsonp([32],{SKyE:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),n=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),s=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(t,r,a){e.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),o={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("h2",[e._v("企业地址设置")]),e._v(" "),r("p",{staticClass:"m-t-24"},[e._v("开启后手机端通讯录将显示,反之则不显示")]),e._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:e.ruleForm.switch,callback:function(t){e.$set(e.ruleForm,"switch",t)},expression:"ruleForm.switch"}})],1),e._v(" "),r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(s,o,!1,function(e){r("aqKZ")},"data-v-43e0312a",null);t.default=l.exports},aqKZ:function(e,t){}});
//# sourceMappingURL=32.997e2b6ac42eef31cbde.js.map
\ No newline at end of file
webpackJsonp([33],{"L/QU":function(t,a){},Rwbg:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3Xzz"),i=e("elmV"),l=e("P9l9"),o={name:"employee-io",components:{navCrumb:s.a,uploadExcelComponent:i.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"administrativeFrame"},{name:"批量导入导出",path:""}],type:"import",fileList:[],url:t+"/haoban-manage-web/emp/upload",logList:[],loading:!0,pageSize:20,currentPage:1,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getErrorNote()},handleCurrentChange:function(t){this.currentPage=t,this.getErrorNote()},resetList:function(t){this.fileList=[],"note"==t&&this.getErrorNote()},getErrorNote:function(){var t=this,a={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(l.a)("/haoban-manage-web/error-log-page",a).then(function(a){console.log(a),1==a.data.errorCode?(console.log(a.data),t.total=a.data.result.totalCount,t.logList=a.data.result.result,t.loading=!1):t.$message.error({message:a.data.message})}).catch(function(a){t.$message.error({message:a.message})})},handleRemove:function(t,a){console.log(t,a)},handlePreview:function(t){console.log(t)},uploadSuccess:function(){this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,a){console.log(t,a),this.fileList=a}},beforeMount:function(){"note"==this.type&&this.getErrorNote()}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{staticClass:"io-container"},[t._m(0),t._v(" "),e("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(a){t.type=a},expression:"type"}},[e("el-radio-button",{attrs:{label:"import"}},[t._v("导入通讯录")]),t._v(" "),e("el-radio-button",{attrs:{label:"export"}},[t._v("导出/修改通讯录")]),t._v(" "),e("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?e("div",{staticClass:"handle-area import"},[e("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px"}},[e("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载员工通讯录模板,统一收集员工信息\n "),e("a",{staticClass:"d-u-btn",attrs:{href:"http://www.gicdev.com/haoban-manage-web/excel/通讯录-行政架构导入模板.xls"}},[e("el-button",{attrs:{type:"primary"}},[t._v("下载"),e("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),e("div",{staticClass:"step-div"},[e("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传收集完毕的员工信息表\n "),e("div",{staticClass:"d-u-btn m-t-20"},[e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),e("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),e("div",{staticClass:"up-btn-div"},[e("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(a){t.submitUpload("upload")}}},[t._v("上传")])],1)]):"export"==t.type?e("div",{staticClass:"handle-area import"},[e("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px"}},[e("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出所有员工信息\n "),e("a",{staticClass:"d-u-btn",attrs:{href:"http://www.gicdev.com/haoban-manage-web/emp/export?departmentId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[e("el-button",{attrs:{type:"primary"}},[t._v("下载"),e("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改员工信息\n ")]),t._v(" "),e("div",{staticClass:"step-div"},[e("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传修改好的员工信息表\n "),e("div",{staticClass:"d-u-btn m-t-20"},[e("el-upload",{ref:"uploadEdit",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),e("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),e("div",{staticClass:"up-btn-div"},[e("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(a){t.submitUpload("uploadEdit")}}},[t._v("上传")])],1)]):e("div",{staticClass:"error-log import"},[e("div",{staticClass:"title-area"},[t._m(1),t._v(" "),e("a",{attrs:{href:"http://www.gicdev.com/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[e("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[e("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),e("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),e("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),e("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),e("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),e("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),e("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(a){return[t._v("\n "+t._s(1==a.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":t.pageSize,"current-page":t.currentPage,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)],1)])])],1)},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ul",{staticClass:"tip-area"},[e("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"),e("a",{staticClass:"a-href"},[t._v("企业认证")])]),t._v(" "),e("li",{staticClass:"tip"},[t._v("如需更新已存在的员工,可逐个进行修改,或请先导出通讯录,在导出表格里进行修改")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("不能在本excel表中对员工信息类别进行增加、删除、修改")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证")])])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"tip"},[this._v("\n 导入总条数:0条,成功导入0条,"),a("span",{staticClass:"red"},[this._v("错误导入0条")])])}]};var r=e("VU/8")(o,n,!1,function(t){e("L/QU")},null,null);a.default=r.exports}});
//# sourceMappingURL=33.14194ad6f6d1f31d8a63.js.map
\ No newline at end of file
webpackJsonp([32],{szBz:function(e,t){},ys9I:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),n={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"更换超级管理员",path:""}],subNavText:"更换超级管理员,需要先验证当前超级管理员身份",active:0,ruleForm:{name:"11",phone:1334444444,code:""},rules:{name:[{required:!0,message:"请输入当前绑定账号",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},disableBtn:!1,newFormLoad:!1,newRuleForm:{name:""},newRules:{name:[{required:!0,message:"请输入手机号/姓名",trigger:"blur"}]}}},computed:{},methods:{sendCode:Object(s.a)(function(e){this.disableBtn=!0},500),postSendCode:function(){},submitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++>2&&t.active})},500),newSubmitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++})},500),submitFormBack:function(){this.active&&this.active--},getCurrentUser:function(){var e=JSON.parse(localStorage.getItem("userInfo"));this.ruleForm.phone=e.phoneNumber}},mounted:function(){this.getCurrentUser()},components:{navCrumb:a.a}},l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[r("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),r("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),r("el-step",{attrs:{title:"完成"}})],1),e._v(" "),r("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[r("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[r("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.phone,callback:function(t){e.$set(e.ruleForm,"phone",t)},expression:"ruleForm.phone"}}),r("el-button",{staticClass:"m-l-20 v-align-b",attrs:{type:"primary",disabled:e.disableBtn},on:{click:function(t){e.sendCode(e.ruleForm.phone)}}},[e._v("获取验证码")])],1),e._v(" "),r("el-form-item",{attrs:{label:"验证码",prop:"code"}},[r("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入验证码"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?r("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[r("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[r("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入手机号/姓名"},model:{value:e.newRuleForm.name,callback:function(t){e.$set(e.newRuleForm,"name",t)},expression:"newRuleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?r("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),r("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"icon-outer"},[t("i",{staticClass:"el-icon-success"})])}]};var o=r("VU/8")(n,l,!1,function(e){r("szBz")},"data-v-3ba906a9",null);t.default=o.exports}});
//# sourceMappingURL=32.29bb8d56f1545fee19cd.js.map
\ No newline at end of file
webpackJsonp([33],{szBz:function(e,t){},ys9I:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),n={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"更换超级管理员",path:""}],subNavText:"更换超级管理员,需要先验证当前超级管理员身份",active:0,ruleForm:{name:"11",phone:1334444444,code:""},rules:{name:[{required:!0,message:"请输入当前绑定账号",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},disableBtn:!1,newFormLoad:!1,newRuleForm:{name:""},newRules:{name:[{required:!0,message:"请输入手机号/姓名",trigger:"blur"}]}}},computed:{},methods:{sendCode:Object(s.a)(function(e){this.disableBtn=!0},500),postSendCode:function(){},submitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++>2&&t.active})},500),newSubmitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++})},500),submitFormBack:function(){this.active&&this.active--},getCurrentUser:function(){var e=JSON.parse(localStorage.getItem("userInfo"));this.ruleForm.phone=e.phoneNumber}},mounted:function(){this.getCurrentUser()},components:{navCrumb:a.a}},l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[r("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),r("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),r("el-step",{attrs:{title:"完成"}})],1),e._v(" "),r("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[r("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[r("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.phone,callback:function(t){e.$set(e.ruleForm,"phone",t)},expression:"ruleForm.phone"}}),r("el-button",{staticClass:"m-l-20 v-align-b",attrs:{type:"primary",disabled:e.disableBtn},on:{click:function(t){e.sendCode(e.ruleForm.phone)}}},[e._v("获取验证码")])],1),e._v(" "),r("el-form-item",{attrs:{label:"验证码",prop:"code"}},[r("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入验证码"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?r("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[r("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[r("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入手机号/姓名"},model:{value:e.newRuleForm.name,callback:function(t){e.$set(e.newRuleForm,"name",t)},expression:"newRuleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?r("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),r("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"icon-outer"},[t("i",{staticClass:"el-icon-success"})])}]};var o=r("VU/8")(n,l,!1,function(e){r("szBz")},"data-v-3ba906a9",null);t.default=o.exports}});
//# sourceMappingURL=33.26c530d2016a4cb88a28.js.map
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,n,r){for(var t,b,o,i=0,u=[];i<c.length;i++)b=c[i],f[b]&&u.push(f[b][0]),f[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(a&&a(c,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=d(d.s=r[i]);return o};var c={},f={44:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"31ddf02025b76fdad4bc",1:"26fc7c6e9b4ccca95f46",2:"bacb5e73d73df4f16865",3:"10faf9c10fcab7da92fd",4:"a12be5dd4da986b96507",5:"a975dc293f76fde45502",6:"9dc0fe16b90269efe4e8",7:"319b5d74a3ddab5c69cd",8:"5f61aeaa1e96c6061052",9:"8a98ae4dabdae7d5f831",10:"887ec2554d88df0a2346",11:"43bf211a37ecb7236e07",12:"0cfba37d8b490901eb7b",13:"0b5ff7e0becf874ebc37",14:"ebbe99c34aaf55a31bbe",15:"b57d4145adae410c5111",16:"922e9521dcbe5faa4c56",17:"dc7a17a5d3035d7983b3",18:"c3d0bf9fcaa14330f05c",19:"35a707fe9679cf48a5be",20:"a67936fc14930635fda5",21:"52f0406512b49c4c4921",22:"6c3053db4b65dff8af6c",23:"754a4e2d46bbb632942a",24:"a65971a02be425cfe7d7",25:"1a0a5d16fc9365b8baa6",26:"47454b21c2e8bc230179",27:"d26b0263b2ed679fd0fd",28:"83b3cc3d15b9fc5e2d97",29:"d14574693d4dc59f57f0",30:"61220a40cf926c4bf8ae",31:"a801e522c48aebbc50c9",32:"997e2b6ac42eef31cbde",33:"26c530d2016a4cb88a28",34:"a07a79869df420486358",35:"2871cdf47efa3f37227b",36:"a5361d59041e1fe85343",37:"a0f44cfd120df62011c9",38:"7b24d780f145fe087fc2",39:"cadd1af4e87c221a02bf",40:"4f6694f9711a5cf7c11c",43:"ebcd3aad25b0a21bd550"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.2c5f254d9ede538dd337.js.map
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,n,r){for(var t,o,b,i=0,u=[];i<c.length;i++)o=c[i],d[o]&&u.push(d[o][0]),d[o]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(a&&a(c,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=f(f.s=r[i]);return b};var c={},d={44:0};function f(a){if(c[a])return c[a].exports;var d=c[a]={i:a,l:!1,exports:{}};return e[a].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var a=d[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,f){a=d[e]=[c,f]});a[2]=c;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,f.nc&&r.setAttribute("nonce",f.nc),r.src=f.p+"static/js/"+e+"."+{0:"3362d56cfe7ddb6f94e4",1:"26fc7c6e9b4ccca95f46",2:"bacb5e73d73df4f16865",3:"10faf9c10fcab7da92fd",4:"a12be5dd4da986b96507",5:"99de65a5299386a5dbde",6:"9dc0fe16b90269efe4e8",7:"319b5d74a3ddab5c69cd",8:"5f61aeaa1e96c6061052",9:"8a98ae4dabdae7d5f831",10:"887ec2554d88df0a2346",11:"0cafadb3c47a73a91d2d",12:"0cfba37d8b490901eb7b",13:"8b4dabe950e3d584ad86",14:"ebbe99c34aaf55a31bbe",15:"b57d4145adae410c5111",16:"922e9521dcbe5faa4c56",17:"dc7a17a5d3035d7983b3",18:"c3d0bf9fcaa14330f05c",19:"89f44f1a0a4240124466",20:"f6aa782c65611b4c0fee",21:"ef29793b599205d3dece",22:"0902784e4cc61f132377",23:"f0051d04951466578c56",24:"a65971a02be425cfe7d7",25:"1a0a5d16fc9365b8baa6",26:"47454b21c2e8bc230179",27:"d26b0263b2ed679fd0fd",28:"83b3cc3d15b9fc5e2d97",29:"d14574693d4dc59f57f0",30:"61220a40cf926c4bf8ae",31:"d61782409ab50d84b5e9",32:"29bb8d56f1545fee19cd",33:"14194ad6f6d1f31d8a63",34:"a07a79869df420486358",35:"2871cdf47efa3f37227b",36:"a5361d59041e1fe85343",37:"a0f44cfd120df62011c9",38:"7b24d780f145fe087fc2",39:"cadd1af4e87c221a02bf",40:"4f6694f9711a5cf7c11c",43:"ebcd3aad25b0a21bd550"}[e]+".js";var t=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(t);var a=d[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return r.onerror=r.onload=o,n.appendChild(r),c},f.m=e,f.c=c,f.d=function(e,a,c){f.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},f.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(a,"a",a),a},f.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.57dd40851fc468a2a9e2.js.map
\ No newline at end of file
......@@ -280,7 +280,6 @@
renderDefault() {
let list = this.defaultSelection;
this.$nextTick(() => {
console.log(this.$refs, "this");
this.selectedList = list;
this.$refs.tree.setCheckedNodes(list);
list.forEach(li => {
......
......@@ -15,12 +15,13 @@
<template v-for="(item, idx) in fieldList">
<el-form-item :label="item.title+':'" class="item-width" :key="item.fieldCode+'_'+idx" :prop="item.fieldCode">
<template v-if="showEdit">
<el-input v-model="info[item.fieldCode]" v-if="item.fieldType == 0" :placeholder="item.fieldDescription" :disabled="item.fieldCode == 'clerkName' || item.fieldCode == 'clerkPhone'"></el-input>
<el-input v-model="info[item.fieldCode]" @change="onNumber(info[item.fieldCode])" v-if="item.fieldType == 6" :placeholder="item.fieldDescription" :disabled="item.fieldCode == 'clerkName' || item.fieldCode == 'clerkPhone'"></el-input>
<el-input v-model="info[item.fieldCode]" v-else-if="item.fieldType == 1" type="textarea" autosize></el-input>
<el-input v-model="info[item.fieldCode]" v-if="item.fieldType == 0" :placeholder="item.fieldDescription" :disabled="item.fieldEdited != '1'"></el-input>
<el-input v-model="info[item.fieldCode]" @change="onNumber(info[item.fieldCode])" v-if="item.fieldType == 6" :placeholder="item.fieldDescription" :disabled="item.fieldEdited != '1'"></el-input>
<el-input v-model="info[item.fieldCode]" v-else-if="item.fieldType == 1" type="textarea" autosize :disabled="item.fieldEdited != '1'"></el-input>
<template
v-else-if="item.fieldType == 2 || item.fieldType == 3">
<el-select
:disabled="item.fieldEdited != '1'"
v-if="item.systemFlag == 1"
:multiple="item.fieldType == 3"
:collapse-tags="item.fieldType == 3"
......@@ -35,6 +36,7 @@
</el-select>
<el-select
v-else
:disabled="item.fieldEdited != '1'"
:multiple="item.fieldType == 3"
:collapse-tags="item.fieldType == 3"
v-model="info[item.fieldCode]"
......@@ -48,6 +50,7 @@
</el-select>
</template>
<el-date-picker
:disabled="item.fieldEdited != '1'"
:format="item.fieldOperations.typeValue"
:value-format="item.fieldOperations.typeValue"
v-else-if="item.fieldType == 4"
......@@ -56,6 +59,7 @@
:placeholder="item.fieldDescription">
</el-date-picker>
<el-date-picker
:disabled="item.fieldEdited != '1'"
v-else-if="item.fieldType == 5"
v-model="info[item.fieldCode]"
type="daterange"
......@@ -244,13 +248,13 @@ export default {
};
fields.forEach(field => {
let arr = [];
if (!!field.isMust) {
arr.push({
required: true,
message: field.fieldDescription + field.fieldName,
trigger: "change"
});
}
// if (!!field.isMust) {
// arr.push({
// required: true,
// message: field.fieldDescription + field.fieldName,
// trigger: "change"
// });
// }
if (field.fieldType == 0 || field.fieldType == 1) {
if (!!field.minCount && field.maxCount) {
arr.push({
......
......@@ -14,7 +14,10 @@
{{scope.row[item] | formatDate("YY-MM-DD")}}
</div>
<div v-else-if="item == 'headPic'">
<img class="header-pic" :src="scope.row[item]">
<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]]}}
......@@ -157,6 +160,15 @@ export default {
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);
}
.table-handle {
cursor: pointer;
.el-dropdown-link {
......
......@@ -14,7 +14,10 @@
<ul class="particular-list" style="margin-bottom: 0;width: 380px;">
<template v-for="(li, index) in departInfo.managerClerkList">
<li class="item person-item" style="margin-top: 0;" :key="index+'_'+li.id">
<img :src="li.headPic">
<img :src="li.headPic" v-if="!!li.headPic">
<div class="replace-head-img" v-else>
<i class="iconfont icon-yewuduanmorentouxian"></i>
</div>
<p class="name">{{li.label}}</p>
<i class="el-icon-circle-close" @click="delCurrentManager(li)"></i>
</li>
......@@ -458,6 +461,15 @@ export default {
height: 40px;
border-radius:4px;
}
.replace-head-img {
width: 40px;
height: 40px;
border-radius:4px;
line-height: 40px;
text-align: center;
color: #fff;
background: rgba(64,158,255,1);
}
.name {
font-size: 12px;
text-align: center;
......
......@@ -20,7 +20,7 @@
<div class="handle-area import" v-if="type == 'import'">
<div class="step-div" style="margin-bottom :90px;">
<span class="ft-large"></span>下载员工通讯录模板,统一收集员工信息
<a href="http://www.gicdev.com/haoban-manage-web/excel/通讯录-行政架构导入模板.xls" class="d-u-btn">
<a href="http://www.gicdev.com/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx" class="d-u-btn">
<el-button type="primary">下载<i class="iconfont icon-icon_yunxiazai m-l-5"></i></el-button>
</a>
</div>
......
......@@ -153,6 +153,7 @@ export default {
cInfo[key] = obj[key];
}
list.forEach(tem => {
console.log(tem , tem.fieldType);
if (tem.parentCode != 0) {
tem.fieldOperations = JSON.parse(tem.fieldOperations);
}
......
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