Commit fd895bef by 无尘

fix: 完善审核中心

parent fdcdc4b5
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.50119b08b132a2bb4a1bdea795607bde.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.6d36da331f57146476a7.js></script><script type=text/javascript src=./static/js/vendor.a4eb31cddc47b5c14557.js></script><script type=text/javascript src=./static/js/app.d56dea1e6c09a4c6fbd0.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.233c6bed8653890eb117e758dc07b056.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.21112cced96070f9b531.js></script><script type=text/javascript src=./static/js/vendor.a4eb31cddc47b5c14557.js></script><script type=text/javascript src=./static/js/app.008112b52ed88acf84f2.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([12],{"3zYh":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),o=r("l46T"),i=r("//Fk"),l=r.n(i),s=(r("Mk6G"),r("3E4D"),r("Ch4/")),n=r("PI0u"),u=(r("P9l9"),{name:"single-upload",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e,this.upUrl=this.baseUrl+"/api-plug/upload-img?wxFlag=1"},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return console.log("当前host:",e),t="-1"!=e.indexOf("localhost")?"http://gicdev.demogic.com":e,this.upUrl=t+"/api-plug/upload-img?wxFlag=1&requestProject=gic-clique",console.log(this.upUrl),this.upUrl},handleAvatarSuccess:function(e,t,r){console.log("上传成功回调:",e,r),0==e.errorCode?this.$emit("update:imgSrc",e.result[0].qcloudImageUrl):s.a.errorMsg(e)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type||"image/gif"===e.type||"image/bmg"===e.type,r=e.size/1024/1024<this.uploadLimit;return t||this.$message.error("上传头像图片只能是 JPG 格式!"),r||this.$message.error("上传头像图片大小不能超过 "+this.uploadLimit+"MB!"),t&&r&&new l.a(function(t,r){var a=new FileReader;a.onload=function(e){var r=new Image;r.onload=function(){var e=this.width,r=this.height;console.log(e,r),t()},r.src=e.target.result,console.log("上传成功:",e.target.result)},a.readAsDataURL(e)})},showImage:function(e){if(!e||""==e)return!1;this.imgShowFlag=!0,this.imgUrl=e},hideImage:function(e){this.imgShowFlag=e}},mounted:function(){}}),m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"single-upload-wrap"},[r("el-upload",{staticClass:"avatar-uploader",attrs:{action:e.uploadUrl(),"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imgSrc?r("img",{staticClass:"avatar",attrs:{src:e.imgSrc},on:{mouseover:function(t){e.showImage(e.imgSrc)}}}):r("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),"businessCard"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("上传营业执照复印件加盖公章,手写“仅用于好办认证”字样;照片搜索信息要求清晰可见,内容真实有效,不得做任何修改;支持jpp、jpeg、bmg、gif、png格式,大小不超过8M。")]):e._e(),e._v(" "),"idPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),"authPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("点击可以"),r("a",{staticClass:"color-1890ff",attrs:{href:"#/"}},[e._v("下载授权书")]),e._v("模板,支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),r("vue-gic-img-preview",{attrs:{imgUrl:e.imgUrl,imgShowFlag:e.imgShowFlag},on:{hideImage:e.hideImage}})],1)},staticRenderFns:[]};var c=r("VU/8")(u,m,!1,function(e){r("mapd")},"data-v-654c4ccc",null).exports,d={name:"companyCertify",data:function(){return{projectName:"",postUrl:"/api-admin/dict-district-list",navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{name:"",region:"",addressDetail:"",registNum:"",cardType:"0",qcloudImageUrl:"",idPhoto:"",authPhoto:"",status:0},rules:{name:[{required:!0,message:"请输入企业名称",trigger:"blur"}],addressDetail:[{required:!0,message:"请输入详细地址",trigger:"blur"}],registNum:[{required:!0,message:"请输入营业执照注册号",trigger:"blur"}],region:[{required:!0,message:"请选择地区",trigger:"blur"}],cardType:[{required:!0,message:"请选择证件类型",trigger:"blur"}],qcloudImageUrl:[{required:!0,message:"请上传营业执照",trigger:"blur"}],idPhoto:[{required:!0,message:"请上传照片",trigger:"blur"}],authPhoto:[{required:!0,message:"请上传授权书",trigger:"blur"}]},areaOptions:{provinceName:"",provinceId:"",cityName:"",cityId:"",countryName:"",countyId:""},upUrl:"",baseUrl:""}},computed:{},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e,this.upUrl=this.baseUrl+"/api-plug/upload-img?wxFlag=1"},methods:{selected:function(e){console.log(e);e.country?(this.ruleForm.region=e,console.log(e.areaId),this.ruleForm.areaId=e.areaId):this.ruleForm.region=""},submitForm:Object(n.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e,t.ruleForm),!e)return!1})},500),postSave:function(){},submitReview:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postReview:function(){}},mounted:function(){},components:{navCrumb:a.a,limitInput:o.a,singleUpload:c}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyCertify-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-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"企业名称",prop:"name"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.name,holder:"请输入企业名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"name",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"city-area",attrs:{label:"所在地区",prop:"region"}},[r("vue-office-area",{attrs:{projectName:e.projectName,postUrl:e.postUrl,areaOptions:e.areaOptions},on:{selected:e.selected}})],1),e._v(" "),r("el-form-item",{attrs:{label:"详细地址",prop:"addressDetail"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.addressDetail,holder:"请输入详细地址",maxLength:40},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"addressDetail",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"营业执照注册号",prop:"registNum"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.registNum,holder:"请输入营业执照注册号",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"registNum",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"证件类型",prop:"cardType"}},[r("div",[r("el-radio",{attrs:{label:"0"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("多证合一营业执照(原“注册号”字样,调整为18位的“统一社会信用代码”)")])],1),e._v(" "),r("div",[r("el-radio",{attrs:{label:"1"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("普通营业执照(仍然标识为15位的“注册号”)")])],1)]),e._v(" "),r("el-form-item",{attrs:{label:"营业执照",prop:"qcloudImageUrl"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.qcloudImageUrl,uploadLimit:8,field:"businessCard"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"qcloudImageUrl",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手持证件照片",prop:"idPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.idPhoto,field:"idPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"idPhoto",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"授权书",prop:"authPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.authPhoto,field:"authPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"authPhoto",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"status-item",attrs:{label:"状态",prop:"status"}},[0==e.ruleForm.status?r("el-tag",{attrs:{type:"danger"}},[r("i",{staticClass:"el-icon-error"}),e._v("审核失败")]):e._e(),e._v(" "),1==e.ruleForm.status?r("el-tag",{attrs:{type:"success"}},[r("i",{staticClass:"el-icon-success"}),e._v("审核成功")]):e._e(),e._v(" "),2==e.ruleForm.status?r("el-tag",[r("i",{}),e._v("审核中")]):e._e()],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")]),r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitReview("ruleForm")}}},[e._v("提交审核")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var g=r("VU/8")(d,p,!1,function(e){r("DToR")},"data-v-3dab12e7",null);t.default=g.exports},DToR:function(e,t){},mapd:function(e,t){}});
//# sourceMappingURL=12.84dccc0827b60bdc7813.js.map
\ No newline at end of file
//# sourceMappingURL=12.11206a30fa4c7379022c.js.map
\ No newline at end of file
webpackJsonp([13],{"/h6+":function(e,t){},fZsz:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),l=a("l46T"),i=a("Mk6G"),r={name:"limittextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t="";"word"==this.getByType?(t=i.a.getByteVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=i.a.getZhLen(this.itemValue)):(t=i.a.getCharVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=i.a.getByteLen(this.itemValue)),this.$emit("update:inputValue",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=i.a.getZhLen(this.itemValue)}},mounted:function(){this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=i.a.getZhLen(this.inputValue)}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-line-cell",style:{width:e.inputWidth+"px"}},[a("el-input",{style:{width:e.inputWidth+"px"},attrs:{placeholder:e.holder,type:"textarea",rows:3},on:{focus:function(t){e.inputFocus()}},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),a("span",{staticClass:"tip"},[a("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var o=a("VU/8")(r,u,!1,function(e){a("/h6+")},"data-v-3198daa6",null).exports,s=(a("3E4D"),a("Ch4/"),a("PI0u")),h=(a("P9l9"),{name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"新增管理员",path:""}],ruleForm:{name:"企业管理员",leftChecked:[],left:[{key:"index",label:"首页"},{key:"center",label:"审核中心"},{key:"set",label:"设置"}],rightChecked:[],right:[{key:"index",label:"首页"},{key:"center",label:"审核中心"},{key:"set",label:"设置"}],leftCheckedApp:[],leftApp:[{key:"index",label:"首页"},{key:"center",label:"审核中心"},{key:"set",label:"设置"}],rightCheckedApp:[],rightApp:[{key:"index",label:"首页"},{key:"center",label:"审核中心"},{key:"set",label:"设置"}]},rules:{}}},computed:{},methods:{submitForm:Object(s.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postSave:function(){},leftChange:function(e,t){console.log(e,t)},rightChange:function(e,t){console.log(e,t)},leftChangeApp:function(e,t){console.log(e,t)},rightChangeApp:function(e,t){console.log(e,t)}},mounted:function(){},components:{navCrumb:n.a,limitInput:l.a,limitTextarea:o}}),c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"companyAddress-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"角色名称",prop:"name"}},[a("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.name,holder:"请输入角色名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"name",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"角色说明",prop:""}},[a("limitTextarea",{attrs:{inputWidth:500,inputValue:e.ruleForm.name,holder:"请输入角色说明",maxLength:50},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"name",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单权限",prop:""}},[a("el-transfer",{attrs:{titles:["一级权限","二级权限"],"left-default-checked":e.ruleForm.leftChecked,data:e.ruleForm.left},on:{"left-check-change":e.leftChange}}),e._v(" "),a("el-transfer",{attrs:{titles:["二级权限","二级权限"],"left-default-checked":e.ruleForm.rightChecked,data:e.ruleForm.right},on:{"left-check-change":e.rightChange}})],1),e._v(" "),a("el-form-item",{attrs:{label:"应用权限",prop:""}},[a("el-transfer",{attrs:{titles:["一级权限","二级权限"],"left-default-checked":e.ruleForm.leftCheckedApp,data:e.ruleForm.leftApp},on:{"left-check-change":e.leftChangeApp}}),e._v(" "),a("el-transfer",{attrs:{titles:["二级权限","二级权限"],"left-default-checked":e.ruleForm.rightCheckedApp,data:e.ruleForm.rightApp},on:{"left-check-change":e.rightChangeApp}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var p=a("VU/8")(h,c,!1,function(e){a("tfQF")},"data-v-be6ecd1c",null);t.default=p.exports},tfQF:function(e,t){}});
//# sourceMappingURL=13.e46566e235066b9a5d1b.js.map
\ No newline at end of file
//# sourceMappingURL=13.4a9b805de60c36836222.js.map
\ No newline at end of file
webpackJsonp([14],{VI4U:function(t,e){},Xwfy:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),s=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u")),l=(a("P9l9"),{name:"",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:"",ruleForm:{radio:"0"}}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(console.log(t),!t)return!1})},500)},mounted:function(){}}),r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"permiss-wrap"},[a("el-form",{attrs:{"label-width":"110px",model:t.ruleForm}},[a("el-form-item",{attrs:{label:"店员可见权限"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("可见所有品牌门店架构和行政架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"1"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("可见所在品牌门店架构和行政架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"2"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("门店仅可见所有品牌门店架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"3"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v(" 门店仅可见自己品牌门店架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"4"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("门店仅可见自己门店")])],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保存")])],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(l,r,!1,function(t){a("VI4U")},"data-v-14181db8",null).exports,n={name:"storePermission",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"门店权限设置",path:""}],activeName:"a",brandList:[{id:"a",name:"A 品牌"},{id:"b",name:"B 品牌"},{id:"c",name:"C 品牌"},{id:"d",name:"D 品牌"}],switchList:{addName:"新增门店成员",addStatus:!1,delName:"删除门店成员",delStatus:!1,modName:"门店信息变更",modStatus:!1}}},computed:{},methods:{handleClick:function(t,e){console.log(t,e)},saveSwitch:function(){console.log(this.switchList)}},mounted:function(){},components:{navCrumb:i.a,setPermiss:o}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"storePermission-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t._l(t.brandList,function(e,i){return[a("el-tab-pane",{attrs:{label:e.name,name:e.id}},[t._v("\n "+t._s(e.name)+"\n "),a("set-permiss")],1)]})],2),t._v(" "),a("div",{staticClass:"storePermission-wrap-switch m-t-24"},[a("div",{staticClass:"storePermission-switch-title"},[t._v("\n 门店信息变更是否需要审核\n ")]),t._v(" "),a("div",{staticClass:"storePermission-switch-body"},[a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.addName},model:{value:t.switchList.addStatus,callback:function(e){t.$set(t.switchList,"addStatus",e)},expression:"switchList.addStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.delName},model:{value:t.switchList.delStatus,callback:function(e){t.$set(t.switchList,"delStatus",e)},expression:"switchList.delStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.modName},model:{value:t.switchList.modStatus,callback:function(e){t.$set(t.switchList,"modStatus",e)},expression:"switchList.modStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell p-l-94"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSwitch}},[t._v("保存")])],1)])])],1)]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(n,c,!1,function(t){a("alq2")},"data-v-32112f96",null);e.default=d.exports},alq2:function(t,e){}});
//# sourceMappingURL=14.59d6e61a0a99fa64d705.js.map
\ No newline at end of file
//# sourceMappingURL=14.28bbde61d6c95455292e.js.map
\ No newline at end of file
webpackJsonp([24],{"rs/A":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=a("3Xzz"),i=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u")),o=(a("P9l9"),{name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"添加成员",path:""}],ruleForm:{name:"企业管理员",peopleList:[{id:"1",name:"张三",img:"http://thirdwx.qlogo.cn/mmopen/j7nX4OeBsXRNyvh6micCywssVEYCaWiaicUZq5Vn2zWktWLAyRvEAH7icQmUhLze8rrQYpM5ptwZ2RL7cX0icyBbiavhYFNTIZhibKu/0"}],departList:[{id:"1",name:"张三"}]},rules:{}}},computed:{},methods:{submitForm:Object(i.a)(function(t){this.$refs[t].validate(function(t){if(console.log(t),!t)return!1})},500),postSave:function(){},delField:function(t,e,a){this.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(e){e.value;a.splice(t,1)}).catch(function(){})},showDialogLayer:function(){console.log(1)}},mounted:function(){},components:{navCrumb:l.a}}),s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"companyAddress-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"管理员角色",prop:"name"}},[a("el-input",{staticClass:"w-380",attrs:{disabled:"",placeholder:""},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"选择人员",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-wrap"},[t._l(t.ruleForm.peopleList,function(e,l){return[a("div",{staticClass:"people-cell"},[a("img",{attrs:{src:e.img}}),t._v(" "),a("p",[t._v(t._s(e.name))]),t._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(l,e,t.ruleForm.peopleList)}}})])]}),t._v(" "),a("div",{staticClass:"people-cell"},[a("span",{staticClass:"add-icon",on:{click:function(e){e.stopPropagation(),t.showDialogLayer("people")}}},[a("i",{staticClass:"el-icon-plus"})])])],2)]),t._v(" "),a("el-form-item",{staticClass:"m-b-0",attrs:{label:"选择管理范围",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-wrap"},[t._l(t.ruleForm.departList,function(e,l){return[a("el-tag",{staticClass:"depart-cell"},[t._v(t._s(e.name)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(l,e,t.ruleForm.departList)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 depart-cell",on:{click:function(e){e.stopPropagation(),t.showDialogLayer("depart")}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保存")])],1)],1)],1)]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var n=a("VU/8")(o,s,!1,function(t){a("stWC")},"data-v-33f79e44",null);e.default=n.exports},stWC:function(t,e){}});
//# sourceMappingURL=24.5865910b82f5a71d5eb9.js.map
\ No newline at end of file
//# sourceMappingURL=24.a2ed35cc2a2ad8d788a8.js.map
\ No newline at end of file
webpackJsonp([28],{EeHb:function(e,t){},ys9I:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),s=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u")),l={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{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--}},mounted:function(){},components:{navCrumb:r.a}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[a("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),a("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),a("el-step",{attrs:{title:"完成"}})],1),e._v(" "),a("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[a("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(" "),a("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[a("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"}}),a("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(" "),a("el-form-item",{attrs:{label:"验证码",prop:"code"}},[a("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(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?a("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[a("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[a("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(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?a("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),a("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),a("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 i=a("VU/8")(l,n,!1,function(e){a("EeHb")},"data-v-0652fa2b",null);t.default=i.exports}});
//# sourceMappingURL=28.8550f6196994ff79e383.js.map
\ No newline at end of file
//# sourceMappingURL=28.e7f9437d7012aa113184.js.map
\ No newline at end of file
webpackJsonp([29],{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")),o=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index",relocation:!0},{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}}),s={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")(o,s,!1,function(e){r("t65T")},"data-v-0630a336",null);t.default=l.exports},t65T:function(e,t){}});
//# sourceMappingURL=29.dd94297d78b2276aa0fe.js.map
\ No newline at end of file
//# sourceMappingURL=29.53b7436ec5d1c6141f72.js.map
\ No newline at end of file
webpackJsonp([7],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Zx22"),i=(a("3E4D"),a("Ch4/")),o=(a("Mk6G"),a("PI0u")),l=a("P9l9"),r={name:"reviewed",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{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:{photo:"",applyName:"测试的",sex:2,code:"223344545fffffffffffffff4",phone:"13012343333",job:"店长",store:"测试门店"},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(console.log(t),!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(l.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(o.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:s.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"},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{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",[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",[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",[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",[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("fS5J")},"data-v-537d6622",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 n={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 n=new Date(t),s=n.getFullYear(),i=n.getMonth()+1,o=n.getDate();return s+e+a(i)+e+a(o)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},s={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")(n,s,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=i.exports},fS5J:function(t,e){}});
//# sourceMappingURL=7.bf4808e9edd389eba41e.js.map
\ No newline at end of file
webpackJsonp([8],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Zx22"),o=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u"),a("P9l9")),i={name:"reviewed",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"}],searchValue:"",tableData:[{enterpriseAuditingId:1,auditingType:0,detail:"",relationId:112,applyId:"12223233",applyName:"测试",headPic:"",storeName:"测试",refuseReason:"111111",auditingStatus:1,beforeContent:"",afterContent:"",createTime:"2018-12-09 14:34:56"}],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{photo:"",applyName:"测试的",sex:2,code:"223344545fffffffffffffff4",phone:"13012343333",job:"店长",store:"测试门店"},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return console.log(t,"--"!=t?t.split(" ")[0]:"--"),"--"!=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(console.log(t),!String(t.target.value).trim())return!1;this.getTableList()},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(l.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list,void(e.total=a.result.total);o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:s.a}},r={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"},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{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-240 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("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 "},[t.applyInfo.photo?a("img",{attrs:{src:t.applyInfo.photo,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(t.applyInfo.applyName)+"\n "),a("i",{class:[1==t.applyInfo.sex?"icon-xingbienan color-508CEE":"icon-xingbienv color-FF585C","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(t.applyInfo.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(t.applyInfo.phone))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(t.applyInfo.job))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(t.applyInfo.store))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex"},[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",[t._v(t._s(e.row.storeName))])])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("span",[t._v(" "+t._s(0==e.row.auditingType?"门店信息变更":0==e.row.auditingType?"新增成员":"成员离职"))]),t._v(" "),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",[t._v(t._s(e.row.createTime))]),t._v(" "),a("div",[t._v(t._s(e.row.createTime))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",[t._v(t._s(e.row.refuseReason))]),t._v(" "),2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",attrs:{slot:"reference"},slot:"reference"}):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 c=a("VU/8")(i,r,!1,function(t){a("KxCW")},"data-v-2896026c",null);e.default=c.exports},IyOB:function(t,e){},KxCW:function(t,e){},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var n={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 n=new Date(t),s=n.getFullYear(),o=n.getMonth()+1,l=n.getDate();return s+e+a(o)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},s={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 o=a("VU/8")(n,s,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=o.exports}});
//# sourceMappingURL=8.2cede2b8a7b18ccea353.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,o){for(var f,d,b,i=0,u=[];i<a.length;i++)d=a[i],n[d]&&u.push(n[d][0]),n[d]=0;for(f in t)Object.prototype.hasOwnProperty.call(t,f)&&(e[f]=t[f]);for(c&&c(a,t,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=r(r.s=o[i]);return b};var a={},n={32:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var t=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,r.nc&&o.setAttribute("nonce",r.nc),o.src=r.p+"static/js/"+e+"."+{0:"55391e33b443ef6c3aeb",1:"26fc7c6e9b4ccca95f46",2:"6bf59805468677f7eca1",3:"237e5172ce378459de4f",4:"3dced6d4b6037c0bbcb3",5:"c496a92d6a46e8f787a1",6:"d098baee9f8a1b84807c",7:"21dd2b040fc696a7ac3a",8:"2cede2b8a7b18ccea353",9:"3efbd52a6c939c0c8c95",10:"14ccf2b5ac78e9df37b8",11:"3fb03db0d930b5b27c45",12:"84dccc0827b60bdc7813",13:"e46566e235066b9a5d1b",14:"59d6e61a0a99fa64d705",15:"060041aba9e230b11664",16:"4cf670d46cb7ba759089",17:"5564a3b877f49c7c7623",18:"510599f7144300961720",19:"89578854328b793401e6",20:"efa0a2e8e5ceaa765966",21:"386e96d5529cfc2a297a",22:"efee25c5eb4b5d4f5fe6",23:"2e8631d136d983aec412",24:"5865910b82f5a71d5eb9",25:"deed1078cc03aad96148",26:"406b336aa54c082d5556",27:"0e36ae9e3824eafd2bdb",28:"8550f6196994ff79e383",29:"dd94297d78b2276aa0fe"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return o.onerror=o.onload=d,t.appendChild(o),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.6d36da331f57146476a7.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,o){for(var f,d,b,i=0,u=[];i<a.length;i++)d=a[i],n[d]&&u.push(n[d][0]),n[d]=0;for(f in t)Object.prototype.hasOwnProperty.call(t,f)&&(e[f]=t[f]);for(c&&c(a,t,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=r(r.s=o[i]);return b};var a={},n={32:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var t=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,r.nc&&o.setAttribute("nonce",r.nc),o.src=r.p+"static/js/"+e+"."+{0:"f5e207bceaf358485f25",1:"26fc7c6e9b4ccca95f46",2:"6bf59805468677f7eca1",3:"237e5172ce378459de4f",4:"3dced6d4b6037c0bbcb3",5:"c496a92d6a46e8f787a1",6:"d098baee9f8a1b84807c",7:"bf4808e9edd389eba41e",8:"52021e6806ab0eb80126",9:"3efbd52a6c939c0c8c95",10:"14ccf2b5ac78e9df37b8",11:"3fb03db0d930b5b27c45",12:"11206a30fa4c7379022c",13:"4a9b805de60c36836222",14:"28bbde61d6c95455292e",15:"060041aba9e230b11664",16:"4cf670d46cb7ba759089",17:"5564a3b877f49c7c7623",18:"510599f7144300961720",19:"89578854328b793401e6",20:"efa0a2e8e5ceaa765966",21:"386e96d5529cfc2a297a",22:"efee25c5eb4b5d4f5fe6",23:"2e8631d136d983aec412",24:"a2ed35cc2a2ad8d788a8",25:"deed1078cc03aad96148",26:"406b336aa54c082d5556",27:"0e36ae9e3824eafd2bdb",28:"e7f9437d7012aa113184",29:"53b7436ec5d1c6141f72"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return o.onerror=o.onload=d,t.appendChild(o),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.21112cced96070f9b531.js.map
\ No newline at end of file
......@@ -37,3 +37,20 @@ export function _throttle(fn, interval) {
}
}
}
function formatDig(num) {
return num > 9 ? '' + num : '0' + num;
}
export function formatDate(time) {
const that = this
let now = new Date(time)
let year = now.getFullYear();
let month = now.getMonth()+1;
let date = now.getDate();
let hour = now.getHours();
let minute = now.getMinutes();
let second = now.getSeconds();
let data = year+"-"+formatDig(month)+"-"+formatDig(date)+" "+formatDig(hour)+":"+formatDig(minute)+":"+formatDig(second);
return data
}
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