Commit 32235654 by 无尘

style: 修改样式

parent a7a9bd70
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.949ff3cf5a85ea1e03ae7917166a5aa5.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.86136e732a6118136d4f.js></script><script type=text/javascript src=./static/js/vendor.b02b90fdc8a9ad87b713.js></script><script type=text/javascript src=./static/js/app.1ebc709a00965913c2d7.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.45e20a524e4cef7bca504b4cacf7f3f4.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.33db6ffac87f68c57995.js></script><script type=text/javascript src=./static/js/vendor.b02b90fdc8a9ad87b713.js></script><script type=text/javascript src=./static/js/app.68949e8aa0c051d9a57e.js></script></body></html>
\ No newline at end of file
webpackJsonp([11],{"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 s=a("3Xzz"),n=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[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",{staticClass:"font-13"},[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("e49D")},"data-v-762d65e4",null);e.default=u.exports},IyOB:function(t,e){},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var s=new Date(t),n=s.getFullYear(),i=s.getMonth()+1,l=s.getDate();return n+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=i.exports},e49D:function(t,e){}});
//# sourceMappingURL=11.61b1388a109eeaa9c569.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/test.png","webpack:///src/views/reviewCenter/reviewed.vue","webpack:///./src/views/reviewCenter/reviewed.vue?4a67","webpack:///./src/views/reviewCenter/reviewed.vue","webpack:///src/components/review/store-change.vue","webpack:///./src/components/review/store-change.vue?5ea5","webpack:///./src/components/review/store-change.vue"],"names":["module","exports","__webpack_require__","p","reviewed","name","data","navpath","path","filterValue","filterOptions","label","value","searchValue","tableData","multipleSelection","currentPage","pageSize","total","applyInfo","showStoreDialog","storeChangeData","filters","formatTimeYMD","split","formatTimeHMS","formatNum","replace","computed","methods","clearSearch","this","getTableList","searchEnterFun","e","String","target","trim","toggleReason","item","visible","forEach","ele","index","enterpriseAuditingId","handleSelectionChange","val","handleSizeChange","handleCurrentChange","$route","fullPath","showSingleInfo","memberId","showStoreChange","that","para","auditingType","auditingStatus","search","pageNum","Object","api","then","res","resData","errorCode","result","list","createTime","js_public","error","errorMsg","catch","$message","duration","message","mounted","components","navCrumb","nav","storeChange","store_change","reviewCenter_reviewed","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","style","height","$store","state","bgHeight","placeholder","on","change","model","callback","$$v","expression","_l","key","prefix-icon","clearable","clear","nativeOn","keyup","$event","_k","keyCode","ref","staticStyle","width","tooltip-effect","scopedSlots","_u","fn","scope","_s","row","show-overflow-tooltip","placement","trigger","show","applyId","headPic","src","alt","applyName","class","sex","code","phoneNumber","positionName","storeName","slot","detail","type","click","_e","_f","refuseReason","length","background","current-page","page-sizes","page-size","layout","size-change","current-change","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__","props","Boolean","default","repProjectName","customDialog","leftData","rightData","beforeMount","handleCardClose","customCancel","$emit","formatDate","time","flag","formatDig","num","myDate","Date","y","getFullYear","m","getMonth","d","getDate","handleData","watch","newData","oldData","review_store_change","title","before-close","update:visible","span"],"mappings":"0CAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,0MCoJxCC,GACAC,KAAA,WACAC,KAFA,WAGA,OAEAC,UAEAF,KAAA,KACAG,KAAA,WAGAH,KAAA,OACAG,KAAA,cAGAH,KAAA,MACAG,KAAA,KAIAC,YAAA,KACAC,gBAMAC,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,OAIAC,YAAA,GAEAC,aAiBAC,qBAGAC,YAAA,EACAC,SAAA,GACAC,MAAA,EAGAC,aAWAC,iBAAA,EACAC,qBAIAC,SACAC,cADA,SACAjB,GACA,YAAAA,IAAAkB,MAAA,cAEAC,cAJA,SAIAnB,GACA,YAAAA,IAAAkB,MAAA,cAEAE,UAPA,SAOApB,GAEA,OAAAA,EAAA,IAAAqB,QADA,wBACA,SAGAC,YAGAC,SAIAC,YAJA,WAKAC,KACAC,gBAMAC,eAZA,SAYAC,GAGA,IADAC,OAAAD,EAAAE,OAAAxB,OAAAyB,OAEA,SAHAN,KAKAC,gBAGAM,aArBA,SAqBAC,GAEAA,EAAAC,SAAA,EADAT,KAEAjB,UAAA2B,QAAA,SAAAC,EAAAC,GACAD,EAAAE,sBAAAL,EAAAK,uBACAF,EAAAF,SAAA,MAQAK,sBAlCA,SAkCAC,GACAf,KACAhB,kBAAA+B,GAMAC,iBA1CA,SA0CAD,GACAf,KACAd,SAAA6B,EADAf,KAEAC,gBAMAgB,oBAnDA,SAmDAF,GACAf,KACAf,YAAA8B,EADAf,KAEAkB,OAA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BF,EAAA,UAAAA,EAAA,UAA4BG,OAAOqG,KAAA,MAAWxG,EAAA,OAAYE,YAAA,gCAA0CL,EAAAO,GAAA,mCAAAP,EAAAO,GAAA,KAAAJ,EAAA,OAAkEE,YAAA,cAAwBF,EAAA,OAAYE,YAAA,0DAAoEL,EAAAoB,GAAApB,EAAA,kBAAA7C,GAAuC,OAAAgD,EAAA,OAAkBG,OAAOwC,IAAA3F,EAAA2F,IAAAC,IAAA,UAA4B,OAAA/C,EAAAO,GAAA,KAAAJ,EAAA,UAAmCG,OAAOqG,KAAA,MAAWxG,EAAA,OAAYE,YAAA,gCAA0CL,EAAAO,GAAA,mCAAAP,EAAAO,GAAA,KAAAJ,EAAA,OAAkEE,YAAA,cAAwBF,EAAA,OAAYE,YAAA,0DAAoEL,EAAAoB,GAAApB,EAAA,mBAAA7C,GAAwC,OAAAgD,EAAA,OAAkBG,OAAOwC,IAAA3F,EAAA2F,IAAAC,IAAA,UAA4B,sBAEzjCuB,oBCCjB,IAcAC,EAdyBzJ,EAAQ,OAcjC0J,CACE3E,EACA0G,GATF,EAVA,SAAA9B,GACE3J,EAAQ,SAaV,kBAEA,MAUe4J,EAAA,EAAAH,EAAiB","file":"static/js/11.61b1388a109eeaa9c569.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/test.50e4091.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/test.png\n// module id = 2FlR\n// module chunks = 11 14","<template>\n <div class=\"reviewed-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'height': $store.state.bgHeight}\">\n <div class=\"reviewed-body-head\">\n <el-select v-model=\"filterValue\" placeholder=\"全部状态\" @change=\"getTableList\">\n <el-option\n v-for=\"item in filterOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select><el-input\n class=\"w-250 m-l-10\"\n placeholder=\"请输入提交人姓名或门店名称\"\n prefix-icon=\"el-icon-search\"\n v-model=\"searchValue\"\n clearable\n @clear=\"clearSearch\"\n @keyup.enter.native=\"searchEnterFun\">\n </el-input>\n </div>\n <div class=\"reviewed-body-content\">\n <el-table\n ref=\"multipleTable\"\n :data=\"tableData\"\n tooltip-effect=\"dark\"\n style=\"width: 100%\">\n <el-table-column\n label=\"审核事项\">\n <template slot-scope=\"scope\">\n {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职'}}\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交人\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"flex\">\n <el-popover\n placement=\"top-start\"\n width=\"400\"\n trigger=\"hover\"\n @show=\"showSingleInfo(scope.row.applyId)\">\n <div class=\"apply-info-detail\">\n <div class=\"flex\">\n <div class=\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n <div class=\"flex flex-column apply-info-right flex-space-between\">\n <div class=\"apply-info-name\">{{scope.row.applyName}}\n <i :class=\"[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]\"></i>\n </div>\n <div class=\"apply-info-code\">\n <span class=\"w-80\">员工代码:</span><span class=\"w-130\">{{ scope.row.code }}</span>\n </div>\n <div class=\"apply-info-phone\">\n <span class=\"w-80\">手机号:</span><span class=\"w-130\">{{ scope.row.phoneNumber }}</span>\n </div>\n <div class=\"apply-info-job\">\n <span class=\"w-80\">职位:</span><span class=\"w-130\">{{ scope.row.positionName }}</span>\n </div>\n <div class=\"apply-info-store\">\n <span class=\"w-80\">所属门店:</span><span class=\"w-130\">{{ scope.row.storeName }}</span>\n </div>\n </div>\n </div>\n </div>\n <div slot=\"reference\">\n <div class=\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n </div>\n </el-popover>\n <div class=\"flex flex-column apply-info\">\n <span >{{scope.row.applyName}}</span>\n <span class=\"font-13\">{{scope.row.storeName}}</span>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"详情\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-hidden-2\">\n <!-- <span> {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 0? '新增成员': '成员离职'}}</span> -->\n <span>{{scope.row.detail}}</span>\n <el-button v-if=\"scope.row.auditingType == 0\" type=\"text\" @click=\"showStoreChange(scope.row)\">查看详情</el-button>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交时间\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeYMD}}</div>\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeHMS}}</div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"状态\">\n <template slot-scope=\"scope\">\n <span :class=\"[scope.row.auditingStatus == 2? 'color-FF585C':'']\">{{scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'}}</span>\n <el-popover\n class=\"inline-block\"\n placement=\"top\"\n width=\"150\"\n trigger=\"hover\">\n <div class=\"tooltip-text\">{{scope.row.refuseReason}}</div>\n <div slot=\"reference\">\n <i class=\"el-icon-question\" v-if=\"scope.row.auditingStatus == 2\" @click=\"toggleReason(scope.row)\"></i>\n </div>\n </el-popover>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 门店变更 -->\n <storeChange v-model=\"showStoreDialog\" :storeChangeData=\"storeChangeData\"></storeChange>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport storeChange from '@/components/review/store-change.vue';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport strLength from '@/common/js/strlen';\nimport { _debounce,formatDate } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"reviewed\",\n data() {\n return {\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '审核中心',\n path: '/unreview'\n },\n {\n name: '已审核',\n path: ''\n }\n ],\n\n filterValue: '99',\n filterOptions: [\n // {\n // label: '待审核',\n // value: '0'\n // },\n {\n label: '已同意',\n value: '1'\n },\n {\n label: '已拒绝',\n value: '2'\n },\n {\n label: '已审核',\n value: '99'\n }\n ],\n\n searchValue: '', // 搜索\n\n tableData: [\n // {\n // enterpriseAuditingId: 1,\n // auditingType: 0,// 审核类型(0:门店信息变更,1:新增成员,2:成员离职)\n // detail: '',\n // relationId: 112,\n // applyId: '12223233',\n // applyName: '测试',\n // headPic: '',\n // storeName: '测试',\n // refuseReason: '111111',\n // auditingStatus: 1, //审核状态 (0:待审核 ,1: 已同意,2:已拒绝)\n // beforeContent: '',\n // afterContent: '',\n // createTime: '2018-12-09 14:34:56'\n // }\n ],\n multipleSelection: [],\n\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n\n // info\n applyInfo: {\n // photo: '',\n // applyName: '测试的',\n // sex: 2,\n // code: '223344545fffffffffffffff4',\n // phone: '13012343333',\n // job: '店长',\n // store: '测试门店'\n },\n\n // store\n showStoreDialog: false,\n storeChangeData: {},\n\n }\n },\n filters: {\n formatTimeYMD(data) {\n return data != '--' ? data.split(' ')[0] : '--';\n },\n formatTimeHMS(data) {\n return data != '--' ? data.split(' ')[1] : '--';\n },\n formatNum(data){\n const reg=/\\d{1,3}(?=(\\d{3})+$)/g;\n return (data + '').replace(reg, '$&,');\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 搜索标签清空\n */\n clearSearch() {\n const that = this;\n that.getTableList();\n },\n\n /**\n * 搜索标签\n */\n searchEnterFun(e) {\n const that = this;\n let searchVal = String(e.target.value).trim()\n if (!searchVal) {\n return false;\n }\n that.getTableList();\n },\n\n toggleReason(item) {\n const that = this;\n item.visible = true;\n that.tableData.forEach(function(ele,index){\n if (ele.enterpriseAuditingId != item.enterpriseAuditingId) {\n ele.visible = false;\n }\n })\n },\n\n /**\n * 表格---多选\n */\n handleSelectionChange(val) {\n const that = this;\n that.multipleSelection = val;\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getTableList();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n let fullPath = that.$route.fullPath;\n that.getTableList();\n },\n\n /**\n * 获取头像处显示信息\n */\n showSingleInfo(memberId) {\n const that = this;\n },\n\n /**\n * 显示门店变更\n */\n showStoreChange(item) {\n const that = this;\n that.showStoreDialog = true;\n that.storeChangeData = item;\n },\n\n /**\n * 获取列表数据\n */\n getTableList(val) {\n const that = this;\n let para = {\n auditingType: '',\n auditingStatus: that.filterValue,\n search: that.searchValue || '', // 搜索字段\n pageNum: that.currentPage, // 当前页\n pageSize: that.pageSize, // 一页显示个数\n }\n getRequest('/haoban-manage-web/audit/auditing-list.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n if (!!resData.result&& !!resData.result.list) {\n resData.result.list.forEach(function(ele,index){\n if (!!ele.createTime) {\n ele.createTime = formatDate(ele.createTime);\n }\n })\n }\n that.tableData = resData.result.list;\n that.total = resData.result.total;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n },\n mounted() {\n this.getTableList();\n },\n components: {\n navCrumb,\n storeChange\n }\n}\n</script>\n<style lang=\"less\" scoped>\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n\n.inline-block{\n display: inline-block;\n}\n\n.bg-82C5FF {\n background: #82C5FF;\n}\n\n.color-508CEE {\n color: #508CEE;\n}\n\n.color-FF585C {\n color: #FF585C;\n}\n\n.font-13 {\n font-size: 13px;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.line-h-18 {\n line-height: 18px;\n}\n\n.line-hidden-2 {\n .flex;\n .flex-align-center;\n .flex-pack-center;\n height: 46px;\n overflow: hidden;\n white-space: pre-wrap;\n span {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n box-orient: vertical;\n max-height: 46px;\n overflow: hidden;\n }\n}\n\n.w-80 {\n width: 80px;\n}\n\n.w-130 {\n display: inline-block;\n width: 130px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.w-250 {\n width: 250px;\n}\n\n.m-l-10 {\n margin-left: 10px;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n.tooltip-text {\n width: 100%;\n white-space: pre-wrap;\n word-break: break-all;\n}\n\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n .right-box {\n background: #fff;\n min-height: 500px;\n padding: 24px;\n\n .w-280 {\n width: 280px;\n }\n\n .w-514 {\n width: 514px;\n }\n\n .m-l-20 {\n margin-left: 20px;\n }\n\n .m-t-45 {\n margin-top: 45px;\n }\n\n .v-align-b {\n vertical-align: bottom;\n }\n\n .text-center {\n text-align: center;\n }\n\n .reviewed-body-head {\n margin-bottom: 22px;\n }\n\n .table-head-pic {\n width: 35px;\n height: 35px;\n border-radius: 4px;\n i {\n font-size: 20px;\n color: #e5f3ff;\n }\n\n img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n }\n }\n\n .apply-info {\n margin-left: 15px;\n line-height: 18px;\n span {\n font-size: 14px;\n color: #606266;\n &.font-13 {\n font-size: 13px;\n }\n }\n }\n }\n}\n\n.apply-info-detail {\n /*padding: 18px;*/\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n .apply-info-img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n text-align: center;\n i {\n font-size: 106px;\n color: #e5f3ff;\n }\n img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n }\n }\n\n .apply-info-name {\n font-size: 16px;\n color: #303133;\n }\n\n .apply-info-right {\n width: 229px;\n padding-left: 16px;\n font-size: 13px;\n color: #606266;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .w-80 {\n display: inline-block;\n vertical-align: top;\n color: #303133;\n }\n\n .w-130 {\n color: #303133;\n }\n }\n\n}\n\n.el-icon-question {\n font-size: 14px;\n color: #C0C4CC;\n cursor: pointer;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/reviewed.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"reviewed-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'height': _vm.$store.state.bgHeight})},[_c('div',{staticClass:\"reviewed-body-head\"},[_c('el-select',{attrs:{\"placeholder\":\"全部状态\"},on:{\"change\":_vm.getTableList},model:{value:(_vm.filterValue),callback:function ($$v) {_vm.filterValue=$$v},expression:\"filterValue\"}},_vm._l((_vm.filterOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})})),_c('el-input',{staticClass:\"w-250 m-l-10\",attrs:{\"placeholder\":\"请输入提交人姓名或门店名称\",\"prefix-icon\":\"el-icon-search\",\"clearable\":\"\"},on:{\"clear\":_vm.clearSearch},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"reviewed-body-content\"},[_c('el-table',{ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"tooltip-effect\":\"dark\"}},[_c('el-table-column',{attrs:{\"label\":\"审核事项\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职')+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交人\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"flex\"},[_c('el-popover',{attrs:{\"placement\":\"top-start\",\"width\":\"400\",\"trigger\":\"hover\"},on:{\"show\":function($event){_vm.showSingleInfo(scope.row.applyId)}}},[_c('div',{staticClass:\"apply-info-detail\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info-right flex-space-between\"},[_c('div',{staticClass:\"apply-info-name\"},[_vm._v(_vm._s(scope.row.applyName)+\"\\n \"),_c('i',{class:[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]})]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-code\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"员工代码:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-phone\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"手机号:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.phoneNumber))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-job\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"职位:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.positionName))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-store\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"所属门店:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.storeName))])])])])]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_c('div',{staticClass:\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info\"},[_c('span',[_vm._v(_vm._s(scope.row.applyName))]),_vm._v(\" \"),_c('span',{staticClass:\"font-13\"},[_vm._v(_vm._s(scope.row.storeName))])])],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"详情\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-hidden-2\"},[_c('span',[_vm._v(_vm._s(scope.row.detail))]),_vm._v(\" \"),(scope.row.auditingType == 0)?_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.showStoreChange(scope.row)}}},[_vm._v(\"查看详情\")]):_vm._e()],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交时间\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeYMD\")(scope.row.createTime)))]),_vm._v(\" \"),_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeHMS\")(scope.row.createTime)))])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{class:[scope.row.auditingStatus == 2? 'color-FF585C':'']},[_vm._v(_vm._s(scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'))]),_vm._v(\" \"),_c('el-popover',{staticClass:\"inline-block\",attrs:{\"placement\":\"top\",\"width\":\"150\",\"trigger\":\"hover\"}},[_c('div',{staticClass:\"tooltip-text\"},[_vm._v(_vm._s(scope.row.refuseReason))]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[(scope.row.auditingStatus == 2)?_c('i',{staticClass:\"el-icon-question\",on:{\"click\":function($event){_vm.toggleReason(scope.row)}}}):_vm._e()])])]}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('storeChange',{attrs:{\"storeChangeData\":_vm.storeChangeData},model:{value:(_vm.showStoreDialog),callback:function ($$v) {_vm.showStoreDialog=$$v},expression:\"showStoreDialog\"}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-762d65e4\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-762d65e4\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./reviewed.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-762d65e4\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./reviewed.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-762d65e4\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"门店环境图变更\" :visible.sync=\"customDialog\" width=\"600px\" :before-close=\"handleCardClose\">\n <div class=\"dialog-content\">\n <el-row>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更前\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in leftData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更后\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in rightData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n </el-row>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'custom-dialog',\n props: {\n value: {\n type: Boolean,\n default: false\n },\n storeChangeData: {\n type: Object\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: this.value, // 弹框显示\n\n leftData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ],\n rightData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ]\n }\n },\n beforeMount() {\n const that = this\n },\n methods:{\n\n // 关闭\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n // 取消\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('input',that.customDialog)\n },\n\n formatDate(time,flag) {\n const that = this\n // (0-9)年月数字的显示\n function formatDig(num) {\n return num > 9 ? '' + num : '0' + num;\n }\n let myDate = new Date(time);\n let y = myDate.getFullYear();\n let m = myDate.getMonth()+1;\n let d = myDate.getDate();\n return y + flag + formatDig(m) + flag + formatDig(d) + flag\n },\n\n handleData() {\n const that = this;\n\n }\n\n },\n watch: {\n value: function(newData,oldData){\n const that = this;\n // console.log(\"新数据:\",newData,oldData)\n that.customDialog = newData\n },\n storeChangeData: function(newData,oldData){\n const that = this;\n }\n },\n\n /* 接收数据 */\n mounted(){\n const that = this;\n // console.log(\"新数据:\",that.value)\n // that.customDialog = that.showStoreDialog\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n.dialog-content {\n /*height: 484px;*/\n padding-bottom: 20px;\n\n .grid-content {\n width: 100%;\n height: 42px;\n line-height: 42px;\n text-align: center;\n background: rgba(245,247,250,1);\n font-size: 16px;\n color: #303133;\n /*border: 1px solid rgba(235,238,245,1);\n border-radius: 4px;*/\n }\n\n .el-row {\n width: 100%;\n font-size: 0\n }\n .el-col-11 {\n width: 272px;\n border:1px solid rgba(235,238,245,1);\n border-radius: 4px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n &+.el-col-11 {\n margin-left: 14px;\n }\n }\n\n .data-body {\n height: 442px;\n max-height: 442px;\n padding: 11px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .data-body-content {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n }\n img {\n width: 100%;\n &+img {\n margin-top: 10px;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/review/store-change.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"门店环境图变更\",\"visible\":_vm.customDialog,\"width\":\"600px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更前\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.leftData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更后\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.rightData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])])],1)],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-17b2eb2d\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./store-change.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./store-change.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-17b2eb2d\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/review/store-change.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([11],{"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 s=a("3Xzz"),n=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[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",height:t.tableData.length?t.tableH:"auto"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v(t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("wYsY")},"data-v-547a9e56",null);e.default=u.exports},IyOB:function(t,e){},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var s=new Date(t),n=s.getFullYear(),i=s.getMonth()+1,l=s.getDate();return n+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=i.exports},wYsY:function(t,e){}});
//# sourceMappingURL=11.7dfc81c2e0577dddba5a.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/test.png","webpack:///src/views/reviewCenter/reviewed.vue","webpack:///./src/views/reviewCenter/reviewed.vue?fd83","webpack:///./src/views/reviewCenter/reviewed.vue","webpack:///src/components/review/store-change.vue","webpack:///./src/components/review/store-change.vue?5ea5","webpack:///./src/components/review/store-change.vue"],"names":["module","exports","__webpack_require__","p","reviewed","name","data","tableH","window","screen","availHeight","navpath","path","filterValue","filterOptions","label","value","searchValue","tableData","multipleSelection","currentPage","pageSize","total","applyInfo","showStoreDialog","storeChangeData","filters","formatTimeYMD","split","formatTimeHMS","formatNum","replace","computed","methods","clearSearch","this","getTableList","searchEnterFun","e","String","target","trim","toggleReason","item","visible","forEach","ele","index","enterpriseAuditingId","handleSelectionChange","val","handleSizeChange","handleCurrentChange","$route","fullPath","showSingleInfo","memberId","showStoreChange","that","para","auditingType","auditingStatus","search","pageNum","Object","api","then","res","resData","errorCode","result","list","createTime","js_public","error","errorMsg","catch","$message","duration","message","mounted","components","navCrumb","nav","storeChange","store_change","reviewCenter_reviewed","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","style","height","$store","state","bgHeight","placeholder","on","change","model","callback","$$v","expression","_l","key","prefix-icon","clearable","clear","nativeOn","keyup","$event","_k","keyCode","ref","staticStyle","width","tooltip-effect","length","scopedSlots","_u","fn","scope","_s","row","show-overflow-tooltip","placement","trigger","show","applyId","headPic","src","alt","applyName","class","sex","code","phoneNumber","positionName","storeName","slot","detail","type","click","_e","_f","refuseReason","background","current-page","page-sizes","page-size","layout","size-change","current-change","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__","props","Boolean","default","repProjectName","customDialog","leftData","rightData","beforeMount","handleCardClose","customCancel","$emit","formatDate","time","flag","formatDig","num","myDate","Date","y","getFullYear","m","getMonth","d","getDate","handleData","watch","newData","oldData","review_store_change","title","before-close","update:visible","span"],"mappings":"0CAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,0MCqJxCC,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,OAAAC,OAAAC,OAAAC,YAAA,aAEAC,UAEAN,KAAA,KACAO,KAAA,WAGAP,KAAA,OACAO,KAAA,cAGAP,KAAA,MACAO,KAAA,KAIAC,YAAA,KACAC,gBAMAC,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,MAGAD,MAAA,MACAC,MAAA,OAIAC,YAAA,GAEAC,aAiBAC,qBAGAC,YAAA,EACAC,SAAA,GACAC,MAAA,EAGAC,aAWAC,iBAAA,EACAC,qBAIAC,SACAC,cADA,SACArB,GACA,YAAAA,IAAAsB,MAAA,cAEAC,cAJA,SAIAvB,GACA,YAAAA,IAAAsB,MAAA,cAEAE,UAPA,SAOAxB,GAEA,OAAAA,EAAA,IAAAyB,QADA,wBACA,SAGAC,YAGAC,SAIAC,YAJA,WAKAC,KACAC,gBAMAC,eAZA,SAYAC,GAGA,IADAC,OAAAD,EAAAE,OAAAxB,OAAAyB,OAEA,SAHAN,KAKAC,gBAGAM,aArBA,SAqBAC,GAEAA,EAAAC,SAAA,EADAT,KAEAjB,UAAA2B,QAAA,SAAAC,EAAAC,GACAD,EAAAE,sBAAAL,EAAAK,uBACAF,EAAAF,SAAA,MAQAK,sBAlCA,SAkCAC,GACAf,KACAhB,kBA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kBG,OAAOkG,MAAA,UAAApJ,QAAA4C,EAAA+E,aAAA/C,MAAA,QAAAyE,eAAAzG,EAAAmF,iBAAgGrE,IAAK4F,iBAAA,SAAA/E,GAAkC3B,EAAA+E,aAAApD,MAA0BxB,EAAA,OAAYE,YAAA,mBAA6BF,EAAA,UAAAA,EAAA,UAA4BG,OAAOqG,KAAA,MAAWxG,EAAA,OAAYE,YAAA,gCAA0CL,EAAAO,GAAA,mCAAAP,EAAAO,GAAA,KAAAJ,EAAA,OAAkEE,YAAA,cAAwBF,EAAA,OAAYE,YAAA,0DAAoEL,EAAAoB,GAAApB,EAAA,kBAAA7C,GAAuC,OAAAgD,EAAA,OAAkBG,OAAOyC,IAAA5F,EAAA4F,IAAAC,IAAA,UAA4B,OAAAhD,EAAAO,GAAA,KAAAJ,EAAA,UAAmCG,OAAOqG,KAAA,MAAWxG,EAAA,OAAYE,YAAA,gCAA0CL,EAAAO,GAAA,mCAAAP,EAAAO,GAAA,KAAAJ,EAAA,OAAkEE,YAAA,cAAwBF,EAAA,OAAYE,YAAA,0DAAoEL,EAAAoB,GAAApB,EAAA,mBAAA7C,GAAwC,OAAAgD,EAAA,OAAkBG,OAAOyC,IAAA5F,EAAA4F,IAAAC,IAAA,UAA4B,sBAEzjCsB,oBCCjB,IAcAC,EAdyB7J,EAAQ,OAcjC8J,CACE3E,EACA0G,GATF,EAVA,SAAA9B,GACE/J,EAAQ,SAaV,kBAEA,MAUegK,EAAA,EAAAH,EAAiB","file":"static/js/11.7dfc81c2e0577dddba5a.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/test.50e4091.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/test.png\n// module id = 2FlR\n// module chunks = 11 13","<template>\n <div class=\"reviewed-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'height': $store.state.bgHeight}\">\n <div class=\"reviewed-body-head\">\n <el-select v-model=\"filterValue\" placeholder=\"全部状态\" @change=\"getTableList\">\n <el-option\n v-for=\"item in filterOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select><el-input\n class=\"w-250 m-l-10\"\n placeholder=\"请输入提交人姓名或门店名称\"\n prefix-icon=\"el-icon-search\"\n v-model=\"searchValue\"\n clearable\n @clear=\"clearSearch\"\n @keyup.enter.native=\"searchEnterFun\">\n </el-input>\n </div>\n <div class=\"reviewed-body-content\">\n <el-table\n ref=\"multipleTable\"\n :data=\"tableData\"\n tooltip-effect=\"dark\"\n :height=\"tableData.length? tableH: 'auto'\"\n style=\"width: 100%\">\n <el-table-column\n label=\"审核事项\">\n <template slot-scope=\"scope\">\n {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职'}}\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交人\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"flex\">\n <el-popover\n placement=\"top-start\"\n width=\"400\"\n trigger=\"hover\"\n @show=\"showSingleInfo(scope.row.applyId)\">\n <div class=\"apply-info-detail\">\n <div class=\"flex\">\n <div class=\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n <div class=\"flex flex-column apply-info-right flex-space-between\">\n <div class=\"apply-info-name\">{{scope.row.applyName}}\n <i :class=\"[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]\"></i>\n </div>\n <div class=\"apply-info-code\">\n <span class=\"w-80\">员工代码:</span><span class=\"w-130\">{{ scope.row.code }}</span>\n </div>\n <div class=\"apply-info-phone\">\n <span class=\"w-80\">手机号:</span><span class=\"w-130\">{{ scope.row.phoneNumber }}</span>\n </div>\n <div class=\"apply-info-job\">\n <span class=\"w-80\">职位:</span><span class=\"w-130\">{{ scope.row.positionName }}</span>\n </div>\n <div class=\"apply-info-store\">\n <span class=\"w-80\">所属门店:</span><span class=\"w-130\">{{ scope.row.storeName }}</span>\n </div>\n </div>\n </div>\n </div>\n <div slot=\"reference\">\n <div class=\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n </div>\n </el-popover>\n <div class=\"flex flex-column apply-info\">\n <span >{{scope.row.applyName}}</span>\n <span class=\"font-13\">{{scope.row.storeName}}</span>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"详情\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-hidden-2\">\n <!-- <span> {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 0? '新增成员': '成员离职'}}</span> -->\n <span>{{scope.row.detail}}</span>\n <el-button v-if=\"scope.row.auditingType == 0\" type=\"text\" @click=\"showStoreChange(scope.row)\">查看详情</el-button>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交时间\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeYMD}}</div>\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeHMS}}</div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"状态\">\n <template slot-scope=\"scope\">\n <span :class=\"[scope.row.auditingStatus == 2? 'color-FF585C':'']\">{{scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'}}</span>\n <el-popover\n class=\"inline-block\"\n placement=\"top\"\n width=\"150\"\n trigger=\"hover\">\n <div class=\"tooltip-text\">{{scope.row.refuseReason}}</div>\n <div slot=\"reference\">\n <i class=\"el-icon-question\" v-if=\"scope.row.auditingStatus == 2\" @click=\"toggleReason(scope.row)\"></i>\n </div>\n </el-popover>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 门店变更 -->\n <storeChange v-model=\"showStoreDialog\" :storeChangeData=\"storeChangeData\"></storeChange>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport storeChange from '@/components/review/store-change.vue';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport strLength from '@/common/js/strlen';\nimport { _debounce,formatDate } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"reviewed\",\n data() {\n return {\n tableH: (window.screen.availHeight - 464 - 126) + 'px',\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '审核中心',\n path: '/unreview'\n },\n {\n name: '已审核',\n path: ''\n }\n ],\n\n filterValue: '99',\n filterOptions: [\n // {\n // label: '待审核',\n // value: '0'\n // },\n {\n label: '已同意',\n value: '1'\n },\n {\n label: '已拒绝',\n value: '2'\n },\n {\n label: '已审核',\n value: '99'\n }\n ],\n\n searchValue: '', // 搜索\n\n tableData: [\n // {\n // enterpriseAuditingId: 1,\n // auditingType: 0,// 审核类型(0:门店信息变更,1:新增成员,2:成员离职)\n // detail: '',\n // relationId: 112,\n // applyId: '12223233',\n // applyName: '测试',\n // headPic: '',\n // storeName: '测试',\n // refuseReason: '111111',\n // auditingStatus: 1, //审核状态 (0:待审核 ,1: 已同意,2:已拒绝)\n // beforeContent: '',\n // afterContent: '',\n // createTime: '2018-12-09 14:34:56'\n // }\n ],\n multipleSelection: [],\n\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n\n // info\n applyInfo: {\n // photo: '',\n // applyName: '测试的',\n // sex: 2,\n // code: '223344545fffffffffffffff4',\n // phone: '13012343333',\n // job: '店长',\n // store: '测试门店'\n },\n\n // store\n showStoreDialog: false,\n storeChangeData: {},\n\n }\n },\n filters: {\n formatTimeYMD(data) {\n return data != '--' ? data.split(' ')[0] : '--';\n },\n formatTimeHMS(data) {\n return data != '--' ? data.split(' ')[1] : '--';\n },\n formatNum(data){\n const reg=/\\d{1,3}(?=(\\d{3})+$)/g;\n return (data + '').replace(reg, '$&,');\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 搜索标签清空\n */\n clearSearch() {\n const that = this;\n that.getTableList();\n },\n\n /**\n * 搜索标签\n */\n searchEnterFun(e) {\n const that = this;\n let searchVal = String(e.target.value).trim()\n if (!searchVal) {\n return false;\n }\n that.getTableList();\n },\n\n toggleReason(item) {\n const that = this;\n item.visible = true;\n that.tableData.forEach(function(ele,index){\n if (ele.enterpriseAuditingId != item.enterpriseAuditingId) {\n ele.visible = false;\n }\n })\n },\n\n /**\n * 表格---多选\n */\n handleSelectionChange(val) {\n const that = this;\n that.multipleSelection = val;\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getTableList();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n let fullPath = that.$route.fullPath;\n that.getTableList();\n },\n\n /**\n * 获取头像处显示信息\n */\n showSingleInfo(memberId) {\n const that = this;\n },\n\n /**\n * 显示门店变更\n */\n showStoreChange(item) {\n const that = this;\n that.showStoreDialog = true;\n that.storeChangeData = item;\n },\n\n /**\n * 获取列表数据\n */\n getTableList(val) {\n const that = this;\n let para = {\n auditingType: '',\n auditingStatus: that.filterValue,\n search: that.searchValue || '', // 搜索字段\n pageNum: that.currentPage, // 当前页\n pageSize: that.pageSize, // 一页显示个数\n }\n getRequest('/haoban-manage-web/audit/auditing-list.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n if (!!resData.result&& !!resData.result.list) {\n resData.result.list.forEach(function(ele,index){\n if (!!ele.createTime) {\n ele.createTime = formatDate(ele.createTime);\n }\n })\n }\n that.tableData = resData.result.list;\n that.total = resData.result.total;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n },\n mounted() {\n this.getTableList();\n },\n components: {\n navCrumb,\n storeChange\n }\n}\n</script>\n<style lang=\"less\" scoped>\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n\n.inline-block{\n display: inline-block;\n}\n\n.bg-82C5FF {\n background: #82C5FF;\n}\n\n.color-508CEE {\n color: #508CEE;\n}\n\n.color-FF585C {\n color: #FF585C;\n}\n\n.font-13 {\n font-size: 13px;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.line-h-18 {\n line-height: 18px;\n}\n\n.line-hidden-2 {\n .flex;\n .flex-align-center;\n .flex-pack-center;\n height: 46px;\n overflow: hidden;\n white-space: pre-wrap;\n span {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n box-orient: vertical;\n max-height: 46px;\n overflow: hidden;\n }\n}\n\n.w-80 {\n width: 80px;\n}\n\n.w-130 {\n display: inline-block;\n width: 130px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.w-250 {\n width: 250px;\n}\n\n.m-l-10 {\n margin-left: 10px;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n.tooltip-text {\n width: 100%;\n white-space: pre-wrap;\n word-break: break-all;\n}\n\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n .right-box {\n background: #fff;\n min-height: 500px;\n padding: 24px;\n\n .w-280 {\n width: 280px;\n }\n\n .w-514 {\n width: 514px;\n }\n\n .m-l-20 {\n margin-left: 20px;\n }\n\n .m-t-45 {\n margin-top: 45px;\n }\n\n .v-align-b {\n vertical-align: bottom;\n }\n\n .text-center {\n text-align: center;\n }\n\n .reviewed-body-head {\n margin-bottom: 22px;\n }\n\n .table-head-pic {\n width: 35px;\n height: 35px;\n border-radius: 4px;\n i {\n font-size: 20px;\n color: #e5f3ff;\n }\n\n img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n }\n }\n\n .apply-info {\n margin-left: 15px;\n line-height: 18px;\n span {\n font-size: 14px;\n color: #606266;\n &.font-13 {\n font-size: 13px;\n }\n }\n }\n }\n}\n\n.apply-info-detail {\n /*padding: 18px;*/\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n .apply-info-img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n text-align: center;\n i {\n font-size: 106px;\n color: #e5f3ff;\n }\n img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n }\n }\n\n .apply-info-name {\n font-size: 16px;\n color: #303133;\n }\n\n .apply-info-right {\n width: 229px;\n padding-left: 16px;\n font-size: 13px;\n color: #606266;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .w-80 {\n display: inline-block;\n vertical-align: top;\n color: #303133;\n }\n\n .w-130 {\n color: #303133;\n }\n }\n\n}\n\n.el-icon-question {\n font-size: 14px;\n color: #C0C4CC;\n cursor: pointer;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/reviewed.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"reviewed-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'height': _vm.$store.state.bgHeight})},[_c('div',{staticClass:\"reviewed-body-head\"},[_c('el-select',{attrs:{\"placeholder\":\"全部状态\"},on:{\"change\":_vm.getTableList},model:{value:(_vm.filterValue),callback:function ($$v) {_vm.filterValue=$$v},expression:\"filterValue\"}},_vm._l((_vm.filterOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})})),_c('el-input',{staticClass:\"w-250 m-l-10\",attrs:{\"placeholder\":\"请输入提交人姓名或门店名称\",\"prefix-icon\":\"el-icon-search\",\"clearable\":\"\"},on:{\"clear\":_vm.clearSearch},nativeOn:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"reviewed-body-content\"},[_c('el-table',{ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"tooltip-effect\":\"dark\",\"height\":_vm.tableData.length? _vm.tableH: 'auto'}},[_c('el-table-column',{attrs:{\"label\":\"审核事项\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职')+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交人\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"flex\"},[_c('el-popover',{attrs:{\"placement\":\"top-start\",\"width\":\"400\",\"trigger\":\"hover\"},on:{\"show\":function($event){_vm.showSingleInfo(scope.row.applyId)}}},[_c('div',{staticClass:\"apply-info-detail\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info-right flex-space-between\"},[_c('div',{staticClass:\"apply-info-name\"},[_vm._v(_vm._s(scope.row.applyName)+\"\\n \"),_c('i',{class:[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]})]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-code\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"员工代码:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-phone\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"手机号:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.phoneNumber))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-job\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"职位:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.positionName))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-store\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"所属门店:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.storeName))])])])])]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_c('div',{staticClass:\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info\"},[_c('span',[_vm._v(_vm._s(scope.row.applyName))]),_vm._v(\" \"),_c('span',{staticClass:\"font-13\"},[_vm._v(_vm._s(scope.row.storeName))])])],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"详情\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-hidden-2\"},[_c('span',[_vm._v(_vm._s(scope.row.detail))]),_vm._v(\" \"),(scope.row.auditingType == 0)?_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.showStoreChange(scope.row)}}},[_vm._v(\"查看详情\")]):_vm._e()],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交时间\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeYMD\")(scope.row.createTime)))]),_vm._v(\" \"),_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeHMS\")(scope.row.createTime)))])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{class:[scope.row.auditingStatus == 2? 'color-FF585C':'']},[_vm._v(_vm._s(scope.row.auditingStatus == 1? '超级管理员已同意':'超级管理员已拒绝'))]),_vm._v(\" \"),_c('el-popover',{staticClass:\"inline-block\",attrs:{\"placement\":\"top\",\"width\":\"150\",\"trigger\":\"hover\"}},[_c('div',{staticClass:\"tooltip-text\"},[_vm._v(_vm._s(scope.row.refuseReason))]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[(scope.row.auditingStatus == 2)?_c('i',{staticClass:\"el-icon-question\",on:{\"click\":function($event){_vm.toggleReason(scope.row)}}}):_vm._e()])])]}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('storeChange',{attrs:{\"storeChangeData\":_vm.storeChangeData},model:{value:(_vm.showStoreDialog),callback:function ($$v) {_vm.showStoreDialog=$$v},expression:\"showStoreDialog\"}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-547a9e56\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-547a9e56\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./reviewed.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./reviewed.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-547a9e56\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./reviewed.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-547a9e56\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/reviewed.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"门店环境图变更\" :visible.sync=\"customDialog\" width=\"600px\" :before-close=\"handleCardClose\">\n <div class=\"dialog-content\">\n <el-row>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更前\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in leftData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更后\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in rightData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n </el-row>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'custom-dialog',\n props: {\n value: {\n type: Boolean,\n default: false\n },\n storeChangeData: {\n type: Object\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: this.value, // 弹框显示\n\n leftData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ],\n rightData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ]\n }\n },\n beforeMount() {\n const that = this\n },\n methods:{\n\n // 关闭\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n // 取消\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('input',that.customDialog)\n },\n\n formatDate(time,flag) {\n const that = this\n // (0-9)年月数字的显示\n function formatDig(num) {\n return num > 9 ? '' + num : '0' + num;\n }\n let myDate = new Date(time);\n let y = myDate.getFullYear();\n let m = myDate.getMonth()+1;\n let d = myDate.getDate();\n return y + flag + formatDig(m) + flag + formatDig(d) + flag\n },\n\n handleData() {\n const that = this;\n\n }\n\n },\n watch: {\n value: function(newData,oldData){\n const that = this;\n // console.log(\"新数据:\",newData,oldData)\n that.customDialog = newData\n },\n storeChangeData: function(newData,oldData){\n const that = this;\n }\n },\n\n /* 接收数据 */\n mounted(){\n const that = this;\n // console.log(\"新数据:\",that.value)\n // that.customDialog = that.showStoreDialog\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n.dialog-content {\n /*height: 484px;*/\n padding-bottom: 20px;\n\n .grid-content {\n width: 100%;\n height: 42px;\n line-height: 42px;\n text-align: center;\n background: rgba(245,247,250,1);\n font-size: 16px;\n color: #303133;\n /*border: 1px solid rgba(235,238,245,1);\n border-radius: 4px;*/\n }\n\n .el-row {\n width: 100%;\n font-size: 0\n }\n .el-col-11 {\n width: 272px;\n border:1px solid rgba(235,238,245,1);\n border-radius: 4px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n &+.el-col-11 {\n margin-left: 14px;\n }\n }\n\n .data-body {\n height: 442px;\n max-height: 442px;\n padding: 11px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .data-body-content {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n }\n img {\n width: 100%;\n &+img {\n margin-top: 10px;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/review/store-change.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"门店环境图变更\",\"visible\":_vm.customDialog,\"width\":\"600px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更前\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.leftData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更后\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.rightData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])])],1)],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-17b2eb2d\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./store-change.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./store-change.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-17b2eb2d\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/review/store-change.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([13],{"2FlR":function(e,t,a){e.exports=a.p+"static/img/test.50e4091.png"},IyOB:function(e,t){},Zx22:function(e,t,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(e,t){function a(e){return e>9?""+e:"0"+e}var s=new Date(e),i=s.getFullYear(),n=s.getMonth()+1,o=s.getDate();return i+t+a(n)+t+a(o)+t},handleData:function(){}},watch:{value:function(e,t){this.customDialog=e},storeChangeData:function(e,t){}},mounted:function(){}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:e.customDialog,width:"600px","before-close":e.handleCardClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更前\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.leftData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])]),e._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更后\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.rightData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var n=a("VU/8")(s,i,!1,function(e){a("IyOB")},"data-v-17b2eb2d",null);t.a=n.exports},jduM:function(e,t){},xCEU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),i=a("Zx22"),n=a("3E4D"),o=a("Ch4/"),l=(a("Mk6G"),a("PI0u")),r=a("P9l9"),c={name:"unreview",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"待审核",path:""}],filterValue:"",filterOptions:[{label:"全部事项",value:""},{label:"新增成员",value:"1"},{label:"成员离职",value:"2"}],tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{},approveVisible:!1,refuseVisible:!1}},filters:{formatTimeYMD:function(e){return"--"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return"--"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleClick:function(e,t,a){this.selectId=t.enterpriseAuditingId,a?this.refuseVisible=!0:this.approveVisible=!0},sendApprove:function(){this.postApprove(this.selectId)},approveAll:function(){console.log(this.multipleSelection);var e=this.multipleSelection.length?this.multipleSelection.map(function(e){return e.enterpriseAuditingId}):"";if(!e)return this.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;this.postAllApprove(e)},postApprove:function(e){var t=this,a={enterpriseAuditingId:e};Object(r.c)("/haoban-manage-web/audit/approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),t.approveVisible=!1,void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postAllApprove:function(e){var t=this,a={enterpriseAuditingIds:e};Object(r.c)("/haoban-manage-web/audit/batch-approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},cancelRefuse:function(e){this.refuseVisible=!1,this.$refs.ruleForm.resetFields()},sendRefuse:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.postRefuse()})},postRefuse:function(){var e=this,t={enterpriseAuditingId:e.selectId,refuseReason:e.ruleForm.refuseReason};Object(r.a)("/haoban-manage-web/audit/refuse.json",t).then(function(t){var a=t.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),e.refuseVisible=!1,void e.getTableList();o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showSingleInfo:function(e){},showStoreChange:function(e){this.showStoreDialog=!0,this.storeChangeData=e},getTableList:function(e){var t=this,a={auditingType:t.filterValue,auditingStatus:"0",search:"",pageNum:t.currentPage,pageSize:t.pageSize};Object(r.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(e,t){e.createTime&&(e.createTime=Object(l.b)(e.createTime))}),t.tableData=a.result.list,void(t.total=a.result.total);o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:i.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:e.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head flex flex-space-between"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部事项"},on:{change:e.getTableList},model:{value:e.filterValue,callback:function(t){e.filterValue=t},expression:"filterValue"}},e._l(e.filterOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.approveAll}},[e._v("批量同意")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark",height:e.tableH},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.auditingType?"门店信息变更":1==t.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v(e._s(t.row.applyName)+"\n "),a("i",{class:[2==t.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),e._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[e._v("员工代码:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.code))])]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[e._v("职位:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.positionName))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属门店:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.storeName))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[e._v(e._s(t.row.applyName))]),e._v(" "),a("span",{staticClass:"font-13"},[e._v(e._s(t.row.storeName))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"详情"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-hidden-2"},[a("span",[e._v(e._s(t.row.detail))]),e._v(" "),0==t.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showStoreChange(t.row)}}},[e._v("查看详情")]):e._e()],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row)}}},[e._v("同意")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row,"refuse")}}},[e._v("拒绝")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("storeChange",{attrs:{storeChangeData:e.storeChangeData},model:{value:e.showStoreDialog,callback:function(t){e.showStoreDialog=t},expression:"showStoreDialog"}}),e._v(" "),a("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:e.approveVisible,width:"422px"},on:{"update:visible":function(t){e.approveVisible=t}}},[a("div",{staticClass:"approve-body text-center"},[a("div",[a("i",{staticClass:"el-icon-success"}),a("span",{staticClass:"approve-icon-tip"},[e._v("同意")])]),e._v(" "),a("div",{staticClass:"approve-tip"},[e._v("是否确认同意")])]),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.approveVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sendApprove}},[e._v("确 定")])],1)]),e._v(" "),a("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:e.refuseVisible,"before-close":e.cancelRefuse,width:"422px"},on:{"update:visible":function(t){e.refuseVisible=t}}},[a("div",[a("div",{staticClass:"refuse-tip"},[e._v("请输入拒绝理由")]),e._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[a("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:e.ruleForm.refuseReason,callback:function(t){e.$set(e.ruleForm,"refuseReason",t)},expression:"ruleForm.refuseReason"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.cancelRefuse("ruleForm")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.sendRefuse("ruleForm")}}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var p=a("VU/8")(c,u,!1,function(e){a("jduM")},"data-v-12fea740",null);t.default=p.exports}});
//# sourceMappingURL=13.93a0e547fbed2d4787e1.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/test.png","webpack:///src/components/review/store-change.vue","webpack:///./src/components/review/store-change.vue?5ea5","webpack:///./src/components/review/store-change.vue","webpack:///src/views/reviewCenter/unreview.vue","webpack:///./src/views/reviewCenter/unreview.vue?241f","webpack:///./src/views/reviewCenter/unreview.vue"],"names":["module","exports","__webpack_require__","p","store_change","name","props","value","type","Boolean","default","storeChangeData","Object","data","repProjectName","customDialog","this","leftData","src","rightData","beforeMount","methods","handleCardClose","customCancel","$emit","formatDate","time","flag","formatDig","num","myDate","Date","y","getFullYear","m","getMonth","d","getDate","handleData","watch","newData","oldData","mounted","review_store_change","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","title","visible","width","before-close","on","update:visible","$event","span","_v","_l","item","alt","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__","unreview","tableH","window","screen","availHeight","navpath","path","filterValue","filterOptions","label","tableData","multipleSelection","currentPage","pageSize","total","selectId","ruleForm","refuseReason","rules","required","message","trigger","min","max","showStoreDialog","approveVisible","refuseVisible","filters","formatTimeYMD","split","formatTimeHMS","formatNum","replace","computed","handleSelectionChange","val","handleSizeChange","getTableList","handleCurrentChange","handleClick","index","enterpriseAuditingId","sendApprove","postApprove","approveAll","console","log","ids","length","map","$message","postAllApprove","that","para","api","then","res","resData","errorCode","showmsg","error","errorMsg","catch","duration","enterpriseAuditingIds","cancelRefuse","formName","$refs","resetFields","sendRefuse","validate","valid","postRefuse","showSingleInfo","memberId","showStoreChange","auditingType","auditingStatus","search","pageNum","result","list","forEach","ele","createTime","js_public","components","navCrumb","nav","storeChange","reviewCenter_unreview","style","height","$store","state","bgHeight","placeholder","change","model","callback","$$v","expression","key","click","ref","staticStyle","tooltip-effect","selection-change","scopedSlots","_u","fn","scope","_s","row","show-overflow-tooltip","placement","show","applyId","headPic","applyName","class","sex","code","phoneNumber","positionName","storeName","slot","detail","_e","_f","size","$index","background","current-page","page-sizes","page-size","layout","size-change","current-change","text-align","prop","rows","$set"],"mappings":"0CAAAA,EAAAC,QAAiBC,EAAAC,E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b,EAAAkD,cAAArC,MAA2BV,EAAA,OAAAA,EAAA,OAAsBE,YAAA,eAAyBL,EAAAe,GAAA,aAAAf,EAAAe,GAAA,KAAAZ,EAAA,WAAgD6H,IAAA,WAAA3H,YAAA,gBAAAC,OAAkDoH,MAAA1H,EAAAwC,SAAAE,MAAA1C,EAAA0C,SAAwCvC,EAAA,gBAAqBG,OAAO2B,MAAA,GAAAmI,KAAA,kBAAkCjK,EAAA,YAAiBE,YAAA,UAAAC,OAA6B3C,KAAA,WAAA6J,YAAA,WAAA6C,KAAA,GAAoD3C,OAAQhK,MAAAsC,EAAAwC,SAAA,aAAAmF,SAAA,SAAAC,GAA2D5H,EAAAsK,KAAAtK,EAAAwC,SAAA,eAAAoF,IAA4CC,WAAA,4BAAqC,WAAA7H,EAAAe,GAAA,KAAAZ,EAAA,OAAoCE,YAAA,+BAAAC,OAAkDgJ,KAAA,UAAgBA,KAAA,WAAenJ,EAAA,aAAkBQ,IAAIoH,MAAA,SAAAlH,GAAyBb,EAAAyF,aAAA,gBAA+BzF,EAAAe,GAAA,SAAAf,EAAAe,GAAA,KAAAZ,EAAA,aAA8CG,OAAO3C,KAAA,WAAiBgD,IAAKoH,MAAA,SAAAlH,GAAyBb,EAAA6F,WAAA,gBAA6B7F,EAAAe,GAAA,oBAE9gOI,oBCCjB,IAcAC,EAdyB/D,EAAQ,OAcjCgE,CACEG,EACA0F,GATF,EAVA,SAAA5F,GACEjE,EAAQ,SAaV,kBAEA,MAUekE,EAAA,QAAAH,EAAiB","file":"static/js/13.93a0e547fbed2d4787e1.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/test.50e4091.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/test.png\n// module id = 2FlR\n// module chunks = 11 13","<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"门店环境图变更\" :visible.sync=\"customDialog\" width=\"600px\" :before-close=\"handleCardClose\">\n <div class=\"dialog-content\">\n <el-row>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更前\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in leftData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更后\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in rightData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n </el-row>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'custom-dialog',\n props: {\n value: {\n type: Boolean,\n default: false\n },\n storeChangeData: {\n type: Object\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: this.value, // 弹框显示\n\n leftData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ],\n rightData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ]\n }\n },\n beforeMount() {\n const that = this\n },\n methods:{\n\n // 关闭\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n // 取消\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('input',that.customDialog)\n },\n\n formatDate(time,flag) {\n const that = this\n // (0-9)年月数字的显示\n function formatDig(num) {\n return num > 9 ? '' + num : '0' + num;\n }\n let myDate = new Date(time);\n let y = myDate.getFullYear();\n let m = myDate.getMonth()+1;\n let d = myDate.getDate();\n return y + flag + formatDig(m) + flag + formatDig(d) + flag\n },\n\n handleData() {\n const that = this;\n\n }\n\n },\n watch: {\n value: function(newData,oldData){\n const that = this;\n // console.log(\"新数据:\",newData,oldData)\n that.customDialog = newData\n },\n storeChangeData: function(newData,oldData){\n const that = this;\n }\n },\n\n /* 接收数据 */\n mounted(){\n const that = this;\n // console.log(\"新数据:\",that.value)\n // that.customDialog = that.showStoreDialog\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n.dialog-content {\n /*height: 484px;*/\n padding-bottom: 20px;\n\n .grid-content {\n width: 100%;\n height: 42px;\n line-height: 42px;\n text-align: center;\n background: rgba(245,247,250,1);\n font-size: 16px;\n color: #303133;\n /*border: 1px solid rgba(235,238,245,1);\n border-radius: 4px;*/\n }\n\n .el-row {\n width: 100%;\n font-size: 0\n }\n .el-col-11 {\n width: 272px;\n border:1px solid rgba(235,238,245,1);\n border-radius: 4px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n &+.el-col-11 {\n margin-left: 14px;\n }\n }\n\n .data-body {\n height: 442px;\n max-height: 442px;\n padding: 11px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .data-body-content {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n }\n img {\n width: 100%;\n &+img {\n margin-top: 10px;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/review/store-change.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"门店环境图变更\",\"visible\":_vm.customDialog,\"width\":\"600px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更前\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.leftData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更后\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.rightData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])])],1)],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-17b2eb2d\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./store-change.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./store-change.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-17b2eb2d\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"unreview-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'height': $store.state.bgHeight}\">\n <div class=\"reviewed-body-head flex flex-space-between\">\n <el-select v-model=\"filterValue\" placeholder=\"全部事项\" @change=\"getTableList\" class=\"w-130\">\n <el-option\n v-for=\"item in filterOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select>\n <el-button type=\"primary\" @click=\"approveAll\">批量同意</el-button>\n </div>\n <div class=\"reviewed-body-content\">\n <el-table\n ref=\"multipleTable\"\n :data=\"tableData\"\n tooltip-effect=\"dark\"\n style=\"width: 100%\"\n :height=\"tableH\"\n @selection-change=\"handleSelectionChange\">\n <el-table-column\n type=\"selection\"\n width=\"55\">\n </el-table-column>\n <el-table-column\n label=\"审核事项\">\n <template slot-scope=\"scope\">\n {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职'}}\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交人\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"flex\">\n <el-popover\n placement=\"top-start\"\n width=\"400\"\n trigger=\"hover\"\n @show=\"showSingleInfo(scope.row.applyId)\">\n <div class=\"apply-info-detail\">\n <div class=\"flex\">\n <div class=\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n <div class=\"flex flex-column apply-info-right flex-space-between\">\n <div class=\"apply-info-name\">{{scope.row.applyName}}\n <i :class=\"[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]\"></i>\n </div>\n <div class=\"apply-info-code\">\n <span class=\"w-80\">员工代码:</span><span class=\"w-130\">{{ scope.row.code }}</span>\n </div>\n <div class=\"apply-info-phone\">\n <span class=\"w-80\">手机号:</span><span class=\"w-130\">{{ scope.row.phoneNumber }}</span>\n </div>\n <div class=\"apply-info-job\">\n <span class=\"w-80\">职位:</span><span class=\"w-130\">{{ scope.row.positionName }}</span>\n </div>\n <div class=\"apply-info-store\">\n <span class=\"w-80\">所属门店:</span><span class=\"w-130\">{{ scope.row.storeName }}</span>\n </div>\n </div>\n </div>\n </div>\n <div slot=\"reference\">\n <div class=\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n </div>\n </el-popover>\n <div class=\"flex flex-column apply-info\">\n <span>{{scope.row.applyName}}</span>\n <span class=\"font-13\">{{scope.row.storeName}}</span>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"详情\">\n <template slot-scope=\"scope\">\n <div class=\"line-hidden-2\">\n <!-- <span> {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 0? '新增成员': '成员离职'}}</span> -->\n <span >{{scope.row.detail}}</span>\n <el-button v-if=\"scope.row.auditingType == 0\" type=\"text\" @click=\"showStoreChange(scope.row)\">查看详情</el-button>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交时间\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeYMD}}</div>\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeHMS}}</div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"操作\"\n width=\"100\">\n <template slot-scope=\"scope\">\n <el-button @click=\"handleClick(scope.$index,scope.row)\" type=\"text\" size=\"small\">同意</el-button>\n <el-button @click=\"handleClick(scope.$index,scope.row,'refuse')\" type=\"text\" size=\"small\">拒绝</el-button>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 门店变更 -->\n <storeChange v-model=\"showStoreDialog\" :storeChangeData=\"storeChangeData\"></storeChange>\n <!-- 同意 -->\n <el-dialog class=\"approve-dialog\" title=\"\" :visible.sync=\"approveVisible\" width=\"422px\">\n <div class=\"approve-body text-center\">\n <div><i class=\"el-icon-success\"></i><span class=\"approve-icon-tip\">同意</span></div>\n <div class=\"approve-tip\">是否确认同意</div>\n </div>\n <div slot=\"footer\" class=\"approve-footer dialog-footer\" style=\"text-align: center;\">\n <el-button @click=\"approveVisible = false\">取 消</el-button>\n <el-button type=\"primary\" @click=\"sendApprove\">确 定</el-button>\n </div>\n </el-dialog>\n <!-- 拒绝 -->\n <el-dialog\n class=\"refuse-dialog\"\n title=\"提示\"\n :visible.sync=\"refuseVisible\"\n :before-close=\"cancelRefuse\"\n width=\"422px\">\n <div>\n <div class=\"refuse-tip\">请输入拒绝理由</div>\n <el-form :model=\"ruleForm\" :rules=\"rules\" ref=\"ruleForm\" class=\"demo-ruleForm\">\n <el-form-item label=\"\" prop=\"refuseReason\">\n <el-input\n class=\"font-14\"\n v-model=\"ruleForm.refuseReason\"\n type=\"textarea\"\n placeholder=\"最多 50 个字\"\n :rows=\"3\">\n </el-input>\n </el-form-item>\n </el-form>\n </div>\n <div slot=\"footer\" class=\"approve-footer dialog-footer\" >\n <el-button @click=\"cancelRefuse('ruleForm')\">取 消</el-button>\n <el-button type=\"primary\" @click=\"sendRefuse('ruleForm')\">确 定</el-button>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport storeChange from '@/components/review/store-change.vue';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport strLength from '@/common/js/strlen';\nimport { _debounce,formatDate } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"unreview\",\n data() {\n return {\n tableH: (window.screen.availHeight - 464 - 126) + 'px',\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '审核中心',\n path: '/unreview'\n },\n {\n name: '待审核',\n path: ''\n }\n\n ],\n\n filterValue: '',\n filterOptions: [\n // {\n // label: '门店信息变更',\n // value: '0'\n // },\n {\n label: '全部事项',\n value: ''\n },\n {\n label: '新增成员',\n value: '1'\n },\n {\n label: '成员离职',\n value: '2'\n }\n ],\n\n tableData: [\n // {\n // enterpriseAuditingId: 1,\n // auditingType: 0,//审核类型(0:门店信息变更,1:新增成员,2:成员离职)\n // detail: '',\n // relationId: 112,\n // applyId: '12223233',\n // applyName: '测试',\n // headPic: '',\n // storeName: '测试门店',\n // refuseReason: '111111',\n // auditingStatus: 0, //审核状态 (0:待审核 ,1: 已同意,2:已拒绝)\n // beforeContent: '',\n // afterContent: '',\n // createTime: '2018-12-09 14:34:56'\n // }\n ],\n multipleSelection: [],\n\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n\n // 操作\n selectId: '',\n ruleForm: {\n refuseReason: ''\n },\n rules: {\n refuseReason: [\n { required: true, message: '拒绝理由不能为空', trigger: 'change' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字', trigger: 'change' }\n ],\n },\n\n showStoreDialog: false,\n storeChangeData: {},\n\n approveVisible: false,\n refuseVisible: false,\n\n }\n },\n filters: {\n formatTimeYMD(data) {\n return data != '--' ? data.split(' ')[0] : '--';\n },\n formatTimeHMS(data) {\n return data != '--' ? data.split(' ')[1] : '--';\n },\n formatNum(data){\n const reg=/\\d{1,3}(?=(\\d{3})+$)/g;\n return (data + '').replace(reg, '$&,');\n }\n },\n computed: {\n\n },\n methods: {\n\n /**\n * 表格---多选\n */\n handleSelectionChange(val) {\n const that = this;\n that.multipleSelection = val;\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getTableList();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n that.getTableList();\n },\n\n /**\n * 操作\n */\n handleClick(index,item,flag) {\n const that = this;\n that.selectId = item.enterpriseAuditingId;\n !!flag? that.refuseVisible = true: that.approveVisible = true;\n },\n\n /**\n * 确定同意\n */\n sendApprove() {\n const that = this;\n that.postApprove(that.selectId)\n },\n\n /**\n * 批量同意\n */\n approveAll() {\n const that = this;\n console.log(that.multipleSelection)\n let ids = !!that.multipleSelection.length? that.multipleSelection.map(item=>item.enterpriseAuditingId) : '';\n if (!ids) {\n that.$message({\n message: '请至少选择一条审核事项',\n type: 'warning'\n });\n return false;\n }\n that.postAllApprove(ids)\n },\n\n postApprove(ids) {\n const that = this;\n let para = {\n enterpriseAuditingId: ids\n }\n postRequest('/haoban-manage-web/audit/approve.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n showMsg.showmsg('操作成功','success')\n that.approveVisible = false;\n that.getTableList();\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n postAllApprove(ids) {\n const that = this;\n let para = {\n enterpriseAuditingIds: ids\n }\n postRequest('/haoban-manage-web/audit/batch-approve.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n showMsg.showmsg('操作成功','success')\n that.getTableList();\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 取消拒绝\n */\n cancelRefuse(formName){\n const that = this;\n that.refuseVisible = false;\n that.$refs['ruleForm'].resetFields();\n },\n\n /**\n * 确定拒绝\n */\n sendRefuse(formName) {\n const that = this;\n that.$refs[formName].validate((valid) => {\n if (valid) {\n that.postRefuse();\n } else {\n return false;\n }\n })\n },\n\n postRefuse() {\n const that = this;\n let para = {\n enterpriseAuditingId: that.selectId,\n refuseReason: that.ruleForm.refuseReason\n }\n getRequest('/haoban-manage-web/audit/refuse.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n showMsg.showmsg('操作成功','success');\n that.refuseVisible = false;\n that.getTableList();\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 获取头像处显示信息\n */\n showSingleInfo(memberId) {\n const that = this;\n },\n\n /**\n * 显示门店变更\n */\n showStoreChange(item) {\n const that = this;\n that.showStoreDialog = true;\n that.storeChangeData = item;\n },\n\n /**\n * 获取列表数据\n */\n getTableList(val) {\n const that = this;\n let para = {\n auditingType: that.filterValue,\n auditingStatus: '0',\n search: '', // 搜索字段\n pageNum: that.currentPage, // 当前页\n pageSize: that.pageSize // 一页显示个数\n }\n getRequest('/haoban-manage-web/audit/auditing-list.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n if (!!resData.result&& !!resData.result.list) {\n resData.result.list.forEach(function(ele,index){\n if (!!ele.createTime) {\n ele.createTime = formatDate(ele.createTime);\n }\n })\n }\n that.tableData = resData.result.list;\n that.total = resData.result.total;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n },\n mounted() {\n this.getTableList();\n },\n components: {\n navCrumb,\n storeChange\n }\n}\n\n</script>\n<style lang=\"less\" scoped>\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n\n.flex-start {\n -webkit-justify-content: flex-start;\n -moz-justify-content: flex-start;\n -ms-justify-content: flex-start;\n -o-justify-content: flex-start;\n justify-content: flex-start;\n}\n\n.bg-82C5FF {\n background: #82C5FF;\n}\n\n.color-508CEE {\n color: #508CEE;\n}\n\n.color-FF585C {\n color: #FF585C;\n}\n\n.font-13 {\n font-size: 13px;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.line-h-18 {\n line-height: 18px;\n}\n\n.line-hidden-2 {\n .flex;\n .flex-align-center;\n .flex-start;\n height: 46px;\n overflow: hidden;\n span {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n box-orient: vertical;\n max-height: 46px;\n overflow: hidden;\n }\n}\n\n.w-80 {\n width: 80px;\n}\n\n.w-130 {\n display: inline-block;\n width: 130px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n .right-box {\n background: #fff;\n min-height: 500px;\n padding: 24px;\n\n .w-280 {\n width: 280px;\n }\n\n .w-514 {\n width: 514px;\n }\n\n .m-l-20 {\n margin-left: 20px;\n }\n\n .m-t-45 {\n margin-top: 45px;\n }\n\n .v-align-b {\n vertical-align: bottom;\n }\n\n .reviewed-body-head {\n margin-bottom: 22px;\n }\n\n .table-head-pic {\n width: 35px;\n height: 35px;\n border-radius: 4px;\n i {\n font-size: 20px;\n color: #e5f3ff;\n }\n\n img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n }\n }\n\n .apply-info {\n margin-left: 15px;\n line-height: 18px;\n span {\n font-size: 14px;\n color: #606266;\n &.font-13 {\n font-size: 13px;\n }\n }\n }\n }\n}\n\n.apply-info-detail {\n /*padding: 18px;*/\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n .apply-info-img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n text-align: center;\n i {\n font-size: 106px;\n color: #e5f3ff;\n }\n img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n }\n }\n\n .apply-info-name {\n font-size: 16px;\n color: #303133;\n }\n\n .apply-info-right {\n width: 229px;\n padding-left: 16px;\n font-size: 13px;\n color: #606266;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .w-80 {\n display: inline-block;\n vertical-align: top;\n color: #303133;\n }\n\n .w-130 {\n color: #303133;\n }\n }\n\n}\n\n.approve-dialog {\n .el-icon-success {\n display: inline-block;\n vertical-align: middle;\n font-size: 24px;\n color: #67C23A;\n }\n\n .approve-icon-tip {\n display: inline-block;\n vertical-align: middle;\n margin-left: 6px;\n font-size: 18px;\n color: #303133;\n }\n\n .approve-tip {\n margin-top: 31px;\n font-size: 14px;\n color: #606266;\n }\n\n /deep/.el-dialog__body {\n padding-top: 0;\n }\n\n /deep/.el-dialog__footer {\n border: none;\n padding: 18px 20px 22px 20px;\n }\n}\n\n.refuse-dialog {\n .refuse-tip {\n margin-bottom: 20px;\n font-size: 14px;\n color: #606266;\n }\n /deep/.el-dialog__footer {\n border: none;\n /*padding: 18px 20px 22px 20px;*/\n }\n\n .el-textarea {\n /deep/ .el-textarea__inner {\n font-size: 14px;\n color: #606266;\n background-color: rgba(255,255,255,.1);\n resize: none;\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/unreview.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"unreview-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'height': _vm.$store.state.bgHeight})},[_c('div',{staticClass:\"reviewed-body-head flex flex-space-between\"},[_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"全部事项\"},on:{\"change\":_vm.getTableList},model:{value:(_vm.filterValue),callback:function ($$v) {_vm.filterValue=$$v},expression:\"filterValue\"}},_vm._l((_vm.filterOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})})),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.approveAll}},[_vm._v(\"批量同意\")])],1),_vm._v(\" \"),_c('div',{staticClass:\"reviewed-body-content\"},[_c('el-table',{ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"tooltip-effect\":\"dark\",\"height\":_vm.tableH},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"审核事项\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职')+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交人\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"flex\"},[_c('el-popover',{attrs:{\"placement\":\"top-start\",\"width\":\"400\",\"trigger\":\"hover\"},on:{\"show\":function($event){_vm.showSingleInfo(scope.row.applyId)}}},[_c('div',{staticClass:\"apply-info-detail\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info-right flex-space-between\"},[_c('div',{staticClass:\"apply-info-name\"},[_vm._v(_vm._s(scope.row.applyName)+\"\\n \"),_c('i',{class:[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]})]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-code\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"员工代码:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-phone\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"手机号:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.phoneNumber))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-job\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"职位:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.positionName))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-store\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"所属门店:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.storeName))])])])])]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_c('div',{staticClass:\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info\"},[_c('span',[_vm._v(_vm._s(scope.row.applyName))]),_vm._v(\" \"),_c('span',{staticClass:\"font-13\"},[_vm._v(_vm._s(scope.row.storeName))])])],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"详情\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-hidden-2\"},[_c('span',[_vm._v(_vm._s(scope.row.detail))]),_vm._v(\" \"),(scope.row.auditingType == 0)?_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.showStoreChange(scope.row)}}},[_vm._v(\"查看详情\")]):_vm._e()],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交时间\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeYMD\")(scope.row.createTime)))]),_vm._v(\" \"),_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeHMS\")(scope.row.createTime)))])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleClick(scope.$index,scope.row)}}},[_vm._v(\"同意\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleClick(scope.$index,scope.row,'refuse')}}},[_vm._v(\"拒绝\")])]}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('storeChange',{attrs:{\"storeChangeData\":_vm.storeChangeData},model:{value:(_vm.showStoreDialog),callback:function ($$v) {_vm.showStoreDialog=$$v},expression:\"showStoreDialog\"}}),_vm._v(\" \"),_c('el-dialog',{staticClass:\"approve-dialog\",attrs:{\"title\":\"\",\"visible\":_vm.approveVisible,\"width\":\"422px\"},on:{\"update:visible\":function($event){_vm.approveVisible=$event}}},[_c('div',{staticClass:\"approve-body text-center\"},[_c('div',[_c('i',{staticClass:\"el-icon-success\"}),_c('span',{staticClass:\"approve-icon-tip\"},[_vm._v(\"同意\")])]),_vm._v(\" \"),_c('div',{staticClass:\"approve-tip\"},[_vm._v(\"是否确认同意\")])]),_vm._v(\" \"),_c('div',{staticClass:\"approve-footer dialog-footer\",staticStyle:{\"text-align\":\"center\"},attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.approveVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.sendApprove}},[_vm._v(\"确 定\")])],1)]),_vm._v(\" \"),_c('el-dialog',{staticClass:\"refuse-dialog\",attrs:{\"title\":\"提示\",\"visible\":_vm.refuseVisible,\"before-close\":_vm.cancelRefuse,\"width\":\"422px\"},on:{\"update:visible\":function($event){_vm.refuseVisible=$event}}},[_c('div',[_c('div',{staticClass:\"refuse-tip\"},[_vm._v(\"请输入拒绝理由\")]),_vm._v(\" \"),_c('el-form',{ref:\"ruleForm\",staticClass:\"demo-ruleForm\",attrs:{\"model\":_vm.ruleForm,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"\",\"prop\":\"refuseReason\"}},[_c('el-input',{staticClass:\"font-14\",attrs:{\"type\":\"textarea\",\"placeholder\":\"最多 50 个字\",\"rows\":3},model:{value:(_vm.ruleForm.refuseReason),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"refuseReason\", $$v)},expression:\"ruleForm.refuseReason\"}})],1)],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"approve-footer dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.cancelRefuse('ruleForm')}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.sendRefuse('ruleForm')}}},[_vm._v(\"确 定\")])],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-12fea740\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/unreview.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-12fea740\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./unreview.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unreview.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unreview.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-12fea740\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./unreview.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-12fea740\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/unreview.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([13],{"4i+e":function(e,t){},EItT:function(e,t){},LbEI:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9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CcLw83JssJD+yle+hOWErmtSOUnucp3um65+s61XmMTpd2ym4Xp7exusRRr9IsEeVrkWxJ4S2+4SZln8uf14V5ZxHtJ/9CMfR8/CwReodP3mmlsTS5YZqZ6bmh664T03utrUOnf0A4q4Wov0Z2w2bTM/Ysa999wX2LDbtm0ro2E2RRfJlOxB02k3be9oN977G6yQym1cBB5zTrsbDavIdUl3YFk8i14mZURnFu4B7dRu5qN42H3GATMiUw+k0A5mx0vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},lFAe:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("//Fk"),s=i.n(n),a=i("gBtx"),l=i.n(a),d=i("mvHQ"),o=i.n(d),r=i("DAYN"),c=i.n(r),f=i("Mk6G"),u={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t,i="";i=f.a.getByteVal(e.target.value,this.limitLength);return this.itemValue=i.trim(),this.inputNum=f.a.getZhLen(this.itemValue),this.childFlag?((t={}).child=this.childFlag,t.value=this.itemValue,"title"==this.titleFlag&&(t.title=this.titleFlag),"k303"==this.c3Flag&&(t.c3Index=this.c3Index,t.flag=this.c3Flag),void this.$emit("itemInput",t)):"title"==this.titleFlag?((t={}).value=this.itemValue,t.title=this.titleFlag,void this.$emit("itemInput",t)):"k303"==this.c3Flag?((t={}).value=this.itemValue,t.flag=this.c3Flag,t.c3Index=this.c3Index,void this.$emit("itemInput",t)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=f.a.getZhLen(this.itemValue)},disFlag:function(e,t){this.disableInput=e},childItem:function(e,t){this.c3Flag=e},childIndex:function(e,t){this.c3Index=e},titleName:function(e,t){this.titleFlag=e},child:function(e,t){this.childFlag=e}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=f.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},p={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"input-line-cell"},[i("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=e.disableInput},on:{focus:function(t){e.inputFocus(e.c3Index)}},nativeOn:{keyup:function(t){return i=t,e.toInput(i);var i}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),i("span",{staticClass:"tip"},[i("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var m=i("VU/8")(u,p,!1,function(e){i("EItT")},"data-v-3078de00",null).exports,g=i("l46T"),h=i("MJLE"),v=i.n(h),C=[{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单行输入框",systemFlag:!1,fieldEdited:1,fieldType:"0",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多行输入框",systemFlag:!1,fieldEdited:1,fieldType:"1",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单选框",systemFlag:!1,fieldEdited:1,fieldType:"2",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"radio",name:"选项1"},{type:"radio",name:"选项2"},{type:"radio",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多选框",systemFlag:!1,fieldEdited:1,fieldType:"3",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"checkbox",name:"选项1"},{type:"checkbox",name:"选项2"},{type:"checkbox",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期",systemFlag:!1,fieldEdited:1,fieldType:"4",fixed:!1,fieldDescription:"请选择",fieldOperations:{typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期区间",systemFlag:!1,fieldEdited:1,fieldType:"5",fixed:!1,fieldOperations:{startName:"开始时间",endName:"结束时间",startDescription:"请选择开始时间",endDescription:"请选择结束时间",typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"数字输入框",systemFlag:!1,fieldType:"6",fieldEdited:1,fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[],unit:"元"},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"图片",systemFlag:!1,fieldType:"7",fieldEdited:1,fixed:!1,fieldDescription:"最多上传9张图片",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}}],I=(function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return baseInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return jobInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return selfInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return eduInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contractInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contactInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return personalInfo}),function(){return C}),y=i("3E4D"),x=i("Ch4/"),b=(i("PI0u"),i("P9l9")),N={name:"staffRecordsTemplate",data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},selectKey:"",baseInfo:[],jobInfo:[],selfInfo:[],eduInfo:[],contractInfo:[],contactInfo:[],personalInfo:[],defineInfo:I(),currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"baseInfo",fieldName:"基本信息",fieldEdited:!1,fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"jobInfo",fieldName:"工作信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"selfInfo",fieldName:"个人信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"eduInfo",fieldName:"学历信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contractInfo",fieldName:"合同信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contactInfo",fieldName:"紧急联系人",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"personalInfo",fieldName:"个人资料",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""}],fieldParent:{baseInfo:{},jobInfo:{},selfInfo:{},eduInfo:{},contractInfo:{},contactInfo:{},personalInfo:{}},setList:[],qrcodeCase:"",qrcodeNum:""}},created:function(){},methods:{baseInfoClone:function(){},clickItem:function(e){this.tempaletDataList.map(function(e){return e.fieldCode}).includes(e.parentCode)||"defineInfo"===e.parentCode||(this.tempaletDataList.push(this.fieldParent[e.parentCode]),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)))},checkMove:function(e){var t=!0;return"baseInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("baseInfo")||(t=!1),"jobInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("jobInfo")||(t=!1),"selfInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("selfInfo")||(t=!1),"eduInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("eduInfo")||(t=!1),"contractInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contractInfo")||(t=!1),"contactInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contactInfo")||(t=!1),"personalInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("personalInfo")||(t=!1),t},onMove:function(e){if(!this.checkMove(e))return!1;e.relatedContext.element;return!e.draggedContext.element.fixed},onChildMove:function(e){return-1!=e.dragged.className.indexOf("block-class")&&e.to.className.indexOf("block-wrap"),!0},itemMoveEnd:function(e){var t=this;t.isDragging=!1,t.selectKey="",t.selectKey=e.clone.dataset.type,t.tempaletDataList.forEach(function(e,i){e.children.forEach(function(e,i){var n;e.systemFlag&&e.fieldCode==t.selectKey&&(n=e.parentCode,t[n].forEach(function(e,i){e.fieldCode==t.selectKey&&(e.fixed=!0)}))})}),t.selectKey="",t.tempaletDataList=JSON.parse(o()(t.tempaletDataList)),t.$forceUpdate()},cloneDefine:function(e){},selectItem:function(e,t){this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t){this.tempaletDataList.splice(t,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,t){e.fixed=!1})},addItem:function(e){},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,n){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,n,s){this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].fieldCode,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),this[s.parentCode].forEach(function(t,i){t.fieldCode===e&&(t.fixed=!1)})},checkedChange:function(e,t){},delChildItem:function(e,t,i){i.fieldOperations.fieldContent.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){var n="radio";i.systemFlag||3!==parseInt(i.fieldType)||(n="checkbox"),i.fieldOperations.fieldContent.push({type:n,name:"请输入选项"});var s=i.fieldOperations.fieldContent.map(function(e){return e.name});this.isRepeat(s)&&(i.fieldOperations.fieldContent.splice(i.fieldOperations.fieldContent.length-1,1),s.splice(i.fieldOperations.fieldContent.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeRadio:function(e,t,i){},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e,n){if(""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;e.children.length&&e.children.forEach(function(e,n){if(e.systemFlag&&""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;i.push(e.fieldName)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:function(e){var t=JSON.parse(o()(this.tempaletDataList)),i=this.checkTag(t);i.filedFlag?i.filedRepeat?this.$message.error({duration:1e3,message:"字段标题不能重复"}):(t.forEach(function(e,t){e.sort=t,e.fixed=!0===e.fixed?1:0,e.isMust=!0===e.isMust?1:0,e.systemFlag=!0===e.systemFlag?1:0,e.parentFieldTemplateId=e.parentFieldTemplateId?e.parentFieldTemplateId:-1,e.fieldTemplateId=e.fieldTemplateId?e.fieldTemplateId:-1,e.children.forEach(function(t,i){t.sort=i,t.fixed=!0===t.fixed?1:0,t.isMust=!0===t.isMust?1:0,t.systemFlag=!0===t.systemFlag?1:0,e.systemFlag||(t.fieldEdited=1),2!==parseInt(t.fieldType)&&3!==parseInt(t.fieldType)||t.fieldOperations.fieldContent.forEach(function(e,i){e.key=String(e.key)?String(e.key):"",t.systemFlag||e.hasOwnProperty("key")&&""!=e.key&&"undefined"!=e.key||(e.key=e.name)}),t.systemFlag||(t.parentCode=e.fieldCode),t.fieldTemplateId=t.fieldTemplateId?t.fieldTemplateId:-1,t.parentFieldTemplateId=e.fieldTemplateId})}),"save"===e?this.saveAllData(t):this.postPreview(t)):this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"})},saveAllData:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-save.json",i).then(function(e){var i=e.data;if(1==i.errorCode)return y.a.showmsg("保存成功","success"),void t.changeRoute("/fileSet");x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-preview.json",i).then(function(e){var i=e.data;if(1==i.errorCode){var n=window.location.origin+"/office-mobile/#/staffRecordsTemplate?enterpriseId="+i.result;return t.qrcode(n),void(t.dialogVisible=!0)}x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},qrcode:function(e){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear());var t={type:"record",data:e};this.qrcodeCase=new v.a("qrcode",{width:210,height:210,text:o()(t)})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(t){var i=t.data;1!=i.errorCode?x.a.errorMsg(i):e.handleAllFields(i.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e,i){t.hasOwnProperty(e.parentCode)&&(e.fixed=1===parseInt(e.fixed),e.isMust=1===parseInt(e.isMust),e.systemFlag=!0,e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],t[e.parentCode].push(e)),t.fieldParent.hasOwnProperty(e.fieldCode)&&(e.children=[],t.fieldParent[e.fieldCode]=e,e.systemFlag=!0)})},getInfo:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-template.json",{}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],void(i.result&&i.result.length&&e.handleGetInfo(i.result));x.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(o()(e));t.setParent=[],i.forEach(function(e,i){e.fixed=1===l()(e.fixed),e.isMust=1===l()(e.isMust),e.systemFlag=1===l()(e.systemFlag),e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],e.systemFlag&&0==e.parentCode&&t.setParent.push(e.fieldCode),e.systemFlag&&0!=e.parentCode&&t.setList.push(e.fieldCode)}),t.tempaletDataList=t.treeData(i),setTimeout(function(){t.setFixed()},10)},setFixed:function(){var e=this;e.setParent.forEach(function(t,i){e[t].forEach(function(t,i){e.setList.includes(t.fieldCode)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})}},components:{draggable:c.a,AddInput:m,limitInput:g.a},mounted:function(){s.a.all([this.getAllFields(),this.getInfo()]),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}}},w={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-wrap",style:{height:e.bodyHeight}},[n("div",{staticClass:"template-contain"},[n("div",{staticClass:"template-head"},[e._m(0),e._v(" "),n("div",{staticClass:"template-btns flex-1 flex-r"},[n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.saveAndBack("preview")}}},[e._v("预 览")]),e._v(" "),n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.changeRoute("/fileSet")}}},[e._v("返 回")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),n("div",{staticClass:"template-body"},[n("div",{staticClass:"template-cell template-cell-l"},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[n("div",{staticClass:"filed-item-title"},[e._v("基本信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.baseInfo,options:e.leftOption,move:e.onMove},on:{clone:e.baseInfoClone,start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.baseInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode,"aria-hidden":"true"},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("工作信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.jobInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.jobInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.selfInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.selfInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("学历信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.eduInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.eduInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("合同信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contractInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contractInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("紧急联系人")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contactInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contactInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人材料")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.personalInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personalInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[n("div",{staticClass:"filed-item-title"}),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd,clone:e.cloneDefine}},e._l(e.defineInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[t.systemFlag||0!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||0!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-one"}),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-two"}),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-three"}),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-four"}),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-five"}),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-six"}),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-seven"}),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-eight"})])}))],1)])],1)],1),e._v(" "),n("div",{staticClass:"template-cell template-cell-m"},[n("div",{staticClass:"phone-view"},[n("div",{staticClass:"phone-show-content"},[n("div",{staticClass:"drag-show-content"},[n("div",{staticClass:"view-container"},[n("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[n("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),n("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!1},sort:!0}},on:{add:e.addItem},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return n("li",{class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(n){e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?n("span",{staticClass:"item-close p-item-close",on:{click:function(n){n.stopPropagation(),e.deleteItem(t.fieldCode,i)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),[n("div",{staticClass:"block"},[n("div",{staticClass:"block-head"},[n("div",{class:["opencard-item-title",t.fieldName.length>6?"block-pre-wrap":""]},[e._v(e._s(t.fieldName))])]),e._v(" "),n("ul",{staticClass:"view-content"},[n("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(s,a){return n("li",{class:["filed-item","child-filed-item",e.currentChildKey==s.fieldCode&&e.currentChildIndex==a?"active-item":""],on:{click:function(n){n.stopPropagation(),e.selectChildItem(s.fieldCode,i,a,t.children)}}},["clerkPhone"!=s.fieldCode?n("span",{staticClass:"item-close child-item-close",on:{click:function(n){n.stopPropagation(),e.deleteChildItem(s.fieldCode,i,a,t.children,s)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),2==s.fieldType||3==s.fieldType||4==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldDescription)+" "),n("i",{staticClass:"el-icon-arrow-right"})])])]):e._e(),e._v(" "),5==s.fieldType?n("div",[n("div",[n("div",{class:["opencard-item-title",s.fieldOperations.startName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.startName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.startDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),n("div",{staticClass:"b-t-1"},[n("div",{class:["opencard-item-title",s.fieldOperations.endName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.endName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.endDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])])]):e._e(),e._v(" "),7==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[n("i",{staticClass:"iconfont icon-icon"})])])]):e._e(),e._v(" "),0==s.fieldType||1==s.fieldType||6==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag"},[e._v(e._s(s.fieldDescription))])])]):e._e()])}))],1)])]],2)}))],2)])])])])]),e._v(" "),n("div",{staticClass:"template-cell template-cell-r"},[n("el-tabs",{model:{value:e.rightName,callback:function(t){e.rightName=t},expression:"rightName"}},[n("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[n("div",{attrs:{id:"edit-box"}},[n("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex==i&&"0"==t.parentCode?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title edit-title-padding"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:!0,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}})],1)]:e._e(),e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(t,s){return[e.currentChildIndex==s?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}}),e._v(" "),7==t.fieldType?n("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v(e._s(t.fieldDescription))]):e._e()],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5!=t.fieldType&&7!=t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"fieldDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 开始时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startDescription",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 结束时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&6==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("单位")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"unit",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex!=s||4!=t.fieldType&&5!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),e._l(t.fieldOperations.ruleContent,function(i,s){return[n("el-radio",{attrs:{label:i.key},on:{change:function(i){e.changeRadio(i,s,t)}},model:{value:t.fieldOperations.typeValue,callback:function(i){e.$set(t.fieldOperations,"typeValue",i)},expression:"childItem.fieldOperations.typeValue"}},[e._v("\n "+e._s(i.name)+"\n ")])]})],2)],e._v(" "),e.currentChildIndex!=s||"2"!=t.fieldType&&"3"!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():n("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.fieldOperations.fieldContent,function(s,a){return[n("div",{staticClass:"margin-t-15 limit-w-340",style:0==a?"margin-top: 0":""},[n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.name,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"name",t)}}}),e._v(" "),!t.systemFlag&&t.fieldOperations.fieldContent.length>1?n("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(n){e.delChildItem(i,a,t)}}}):e._e(),e._v(" "),!t.systemFlag&&a<19?[a==t.fieldOperations.fieldContent.length-1?n("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(n){e.addChildItem(i,a,t)}}}):e._e()]:e._e()],2)]})],2)],e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item"},[n("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),n("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("员工档案中")]),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工可见")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工不可见")])],1),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工可修改")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工不可修改")])],1)])]:e._e()]})]:e._e()]})],2)])])],1)],1)])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogVisible,expression:"dialogVisible"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[n("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),n("div",{staticClass:"qr-dialog"},[n("div",{staticClass:"qr-dialog__hd"},[n("strong",{staticClass:"qr-dialog__title"},[e._v("预览")]),e._v(" "),n("i",{staticClass:"el-icon-close",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"qr--dialog__ft"})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"template-title flex-1"},[t("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"template-title-span"},[this._v("员工档案设置")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qr-dialog__bd"},[t("div",{attrs:{id:"qrcode"}}),this._v(" "),t("div",{staticClass:"qr-dialog__p"},[this._v("请使用好办 APP 扫一扫预览")])])}]};var M=i("VU/8")(N,w,!1,function(e){i("4i+e")},"data-v-02985de9",null);t.default=M.exports}});
//# sourceMappingURL=13.49af5161fabc245cc594.js.map
\ No newline at end of file
webpackJsonp([14],{"4i+e":function(e,t){},EItT:function(e,t){},LbEI:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuY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5ZlGuSZu+jWP7I9pQhuoaYwgk614umG8Ez70GZMDaBkWJ7N04G26DI9t0kiX4ln65ecXWVjVaeKFsww4pWMGqBLPPbOXdyCQy9oJCfSnmdzcQWzhvFj40GdS2poYs57EossQKWofXJJyzwBwz3rP7438i+JZr+twgtZUqumQwh0P9sDsLfhedqQFTDrwpP7Tyx6v/qqzxgBaPLj07KCES/ugpHkjuFKifBqb+4C72Jvk/5ZPAnz7yj1QO3JlwUxNSbEtYFjw6sRmnR33+5fQoWUsmmFiXilMxEQlXHrd8wx/u4EKYx92xgyT9rZVe6F2ElioaInJKbhR218hSCxrW+Heq1NH1JoeEbQ44/GFFmZQJVSppMstJjPOawVWn2OVQyLLhF3xcC9ADxuln2hbEkZTrBIWvENP3d9wbFYuQ1S5Z7/28OFudnjU4CVctC7rMMtezhH4tof7UNxeKRiR9gTs5jiGZ1NFhftvTWH6BOvYQP/bkJC481EBzpY/c1ricNoTlYVAwcN9Swnc+t+W5qFCK57ppof64G07DLgtBmdicgTwPdcnMKP9vz+9sMP08pufZaG6c76s+SdvjSEytQKsGRIrrj064NCht/yULwNbLPHR6bUVYNb05VfH0Tnp6J/WmGFCNzZZ5WbImVoTPPigacrisqui6JxshTJPqNA3X8HVdZ3jN0TWuKjfdkrG3Hh5JBQPjwn0iXUmVj3ZBLfW8kVdexrXLrQxe6oV5jQYk6emP+zy8NK7BdywOIJ5062wT4+qfNRrogqHQBeqjDkt0JurDPpngV5bZdBrJRFlnS3vETuqAPhH2mzxtLzduhTBG9HjeciLz8XCO6wePbQ5tLtp30uHeZyAZko8wjW7xIm/BBgAwTyDjBM754wAAAAASUVORK5CYII="},Y7wY:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/Ii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Qlhiu/jQN1zSkNB6e2NhInIl+ZPKqvVwqxO5pIJCE7l+/etdVWPXsGqor/Wd5KsMi8ZXtjt3bKfmDlSeUMVaMtoYNN6Uzi+sCcLw83JssJD+yle+hOWErmtSOUnucp3um65+s61XmMTpd2ym4Xp7exusRRr9IsEeVrkWxJ4S2+4SZln8uf14V5ZxHtJ/9CMfR8/CwReodP3mmlsTS5YZqZ6bmh664T03utrUOnf0A4q4Wov0Z2w2bTM/Ysa999wX2LDbtm0ro2E2RRfJlOxB02k3be9oN977G6yQym1cBB5zTrsbDavIdUl3YFk8i14mZURnFu4B7dRu5qN42H3GATMiUw+k0A5mx0vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},lFAe:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("//Fk"),s=i.n(n),a=i("gBtx"),l=i.n(a),d=i("mvHQ"),o=i.n(d),r=i("DAYN"),c=i.n(r),f=i("Mk6G"),u={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t,i="";i=f.a.getByteVal(e.target.value,this.limitLength);return this.itemValue=i.trim(),this.inputNum=f.a.getZhLen(this.itemValue),this.childFlag?((t={}).child=this.childFlag,t.value=this.itemValue,"title"==this.titleFlag&&(t.title=this.titleFlag),"k303"==this.c3Flag&&(t.c3Index=this.c3Index,t.flag=this.c3Flag),void this.$emit("itemInput",t)):"title"==this.titleFlag?((t={}).value=this.itemValue,t.title=this.titleFlag,void this.$emit("itemInput",t)):"k303"==this.c3Flag?((t={}).value=this.itemValue,t.flag=this.c3Flag,t.c3Index=this.c3Index,void this.$emit("itemInput",t)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=f.a.getZhLen(this.itemValue)},disFlag:function(e,t){this.disableInput=e},childItem:function(e,t){this.c3Flag=e},childIndex:function(e,t){this.c3Index=e},titleName:function(e,t){this.titleFlag=e},child:function(e,t){this.childFlag=e}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=f.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},p={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"input-line-cell"},[i("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=e.disableInput},on:{focus:function(t){e.inputFocus(e.c3Index)}},nativeOn:{keyup:function(t){return i=t,e.toInput(i);var i}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),i("span",{staticClass:"tip"},[i("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var m=i("VU/8")(u,p,!1,function(e){i("EItT")},"data-v-3078de00",null).exports,g=i("l46T"),h=i("MJLE"),v=i.n(h),C=[{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单行输入框",systemFlag:!1,fieldEdited:1,fieldType:"0",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多行输入框",systemFlag:!1,fieldEdited:1,fieldType:"1",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单选框",systemFlag:!1,fieldEdited:1,fieldType:"2",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"radio",name:"选项1"},{type:"radio",name:"选项2"},{type:"radio",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多选框",systemFlag:!1,fieldEdited:1,fieldType:"3",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"checkbox",name:"选项1"},{type:"checkbox",name:"选项2"},{type:"checkbox",name:"选项3"}]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期",systemFlag:!1,fieldEdited:1,fieldType:"4",fixed:!1,fieldDescription:"请选择",fieldOperations:{typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期区间",systemFlag:!1,fieldEdited:1,fieldType:"5",fixed:!1,fieldOperations:{startName:"开始时间",endName:"结束时间",startDescription:"请选择开始时间",endDescription:"请选择结束时间",typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"数字输入框",systemFlag:!1,fieldType:"6",fieldEdited:1,fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[],unit:"元"},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"图片",systemFlag:!1,fieldType:"7",fieldEdited:1,fixed:!1,fieldDescription:"最多上传9张图片",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:{staffVisible:"1",staffModify:"1"}}],I=(function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return baseInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return jobInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return selfInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return eduInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contractInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return contactInfo}),function(e){function t(){return e.apply(this,arguments)}t.toString=function(){return e.toString()}}(function(){return personalInfo}),function(){return C}),y=i("3E4D"),x=i("Ch4/"),b=(i("PI0u"),i("P9l9")),N={name:"staffRecordsTemplate",data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},selectKey:"",baseInfo:[],jobInfo:[],selfInfo:[],eduInfo:[],contractInfo:[],contactInfo:[],personalInfo:[],defineInfo:I(),currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"baseInfo",fieldName:"基本信息",fieldEdited:!1,fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"jobInfo",fieldName:"工作信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"selfInfo",fieldName:"个人信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"eduInfo",fieldName:"学历信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contractInfo",fieldName:"合同信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contactInfo",fieldName:"紧急联系人",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"personalInfo",fieldName:"个人资料",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:{},status:""}],fieldParent:{baseInfo:{},jobInfo:{},selfInfo:{},eduInfo:{},contractInfo:{},contactInfo:{},personalInfo:{}},setList:[],qrcodeCase:"",qrcodeNum:""}},created:function(){},methods:{baseInfoClone:function(){},clickItem:function(e){this.tempaletDataList.map(function(e){return e.fieldCode}).includes(e.parentCode)||"defineInfo"===e.parentCode||(this.tempaletDataList.push(this.fieldParent[e.parentCode]),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)))},checkMove:function(e){var t=!0;return"baseInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("baseInfo")||(t=!1),"jobInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("jobInfo")||(t=!1),"selfInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("selfInfo")||(t=!1),"eduInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("eduInfo")||(t=!1),"contractInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contractInfo")||(t=!1),"contactInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contactInfo")||(t=!1),"personalInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("personalInfo")||(t=!1),t},onMove:function(e){if(!this.checkMove(e))return!1;e.relatedContext.element;return!e.draggedContext.element.fixed},onChildMove:function(e){return-1!=e.dragged.className.indexOf("block-class")&&e.to.className.indexOf("block-wrap"),!0},itemMoveEnd:function(e){var t=this;t.isDragging=!1,t.selectKey="",t.selectKey=e.clone.dataset.type,t.tempaletDataList.forEach(function(e,i){e.children.forEach(function(e,i){var n;e.systemFlag&&e.fieldCode==t.selectKey&&(n=e.parentCode,t[n].forEach(function(e,i){e.fieldCode==t.selectKey&&(e.fixed=!0)}))})}),t.selectKey="",t.tempaletDataList=JSON.parse(o()(t.tempaletDataList)),t.$forceUpdate()},cloneDefine:function(e){},selectItem:function(e,t){this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t){this.tempaletDataList.splice(t,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,t){e.fixed=!1})},addItem:function(e){},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,n){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,n,s){this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].fieldCode,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),this[s.parentCode].forEach(function(t,i){t.fieldCode===e&&(t.fixed=!1)})},checkedChange:function(e,t){},delChildItem:function(e,t,i){i.fieldOperations.fieldContent.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){var n="radio";i.systemFlag||3!==parseInt(i.fieldType)||(n="checkbox"),i.fieldOperations.fieldContent.push({type:n,name:"请输入选项"});var s=i.fieldOperations.fieldContent.map(function(e){return e.name});this.isRepeat(s)&&(i.fieldOperations.fieldContent.splice(i.fieldOperations.fieldContent.length-1,1),s.splice(i.fieldOperations.fieldContent.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeRadio:function(e,t,i){},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e,n){if(""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;e.children.length&&e.children.forEach(function(e,n){if(e.systemFlag&&""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;i.push(e.fieldName)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:function(e){var t=JSON.parse(o()(this.tempaletDataList)),i=this.checkTag(t);i.filedFlag?i.filedRepeat?this.$message.error({duration:1e3,message:"字段标题不能重复"}):(t.forEach(function(e,t){e.sort=t,e.fixed=!0===e.fixed?1:0,e.isMust=!0===e.isMust?1:0,e.systemFlag=!0===e.systemFlag?1:0,e.parentFieldTemplateId=e.parentFieldTemplateId?e.parentFieldTemplateId:-1,e.fieldTemplateId=e.fieldTemplateId?e.fieldTemplateId:-1,e.children.forEach(function(t,i){t.sort=i,t.fixed=!0===t.fixed?1:0,t.isMust=!0===t.isMust?1:0,t.systemFlag=!0===t.systemFlag?1:0,e.systemFlag||(t.fieldEdited=1),2!==parseInt(t.fieldType)&&3!==parseInt(t.fieldType)||t.fieldOperations.fieldContent.forEach(function(e,i){e.key=String(e.key)?String(e.key):"",t.systemFlag||e.hasOwnProperty("key")&&""!=e.key&&"undefined"!=e.key||(e.key=e.name)}),t.systemFlag||(t.parentCode=e.fieldCode),t.fieldTemplateId=t.fieldTemplateId?t.fieldTemplateId:-1,t.parentFieldTemplateId=e.fieldTemplateId})}),"save"===e?this.saveAllData(t):this.postPreview(t)):this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"})},saveAllData:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-save.json",i).then(function(e){var i=e.data;if(1==i.errorCode)return y.a.showmsg("保存成功","success"),void t.changeRoute("/fileSet");x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-preview.json",i).then(function(e){var i=e.data;if(1==i.errorCode){var n=window.location.origin+"/office-mobile/#/staffRecordsTemplate?enterpriseId="+i.result;return t.qrcode(n),void(t.dialogVisible=!0)}x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},qrcode:function(e){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear());var t={type:"record",data:e};this.qrcodeCase=new v.a("qrcode",{width:210,height:210,text:o()(t)})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(t){var i=t.data;1!=i.errorCode?x.a.errorMsg(i):e.handleAllFields(i.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e,i){t.hasOwnProperty(e.parentCode)&&(e.fixed=1===parseInt(e.fixed),e.isMust=1===parseInt(e.isMust),e.systemFlag=!0,e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],t[e.parentCode].push(e)),t.fieldParent.hasOwnProperty(e.fieldCode)&&(e.children=[],t.fieldParent[e.fieldCode]=e,e.systemFlag=!0)})},getInfo:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-template.json",{}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],void(i.result&&i.result.length&&e.handleGetInfo(i.result));x.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(o()(e));t.setParent=[],i.forEach(function(e,i){e.fixed=1===l()(e.fixed),e.isMust=1===l()(e.isMust),e.systemFlag=1===l()(e.systemFlag),e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],e.systemFlag&&0==e.parentCode&&t.setParent.push(e.fieldCode),e.systemFlag&&0!=e.parentCode&&t.setList.push(e.fieldCode)}),t.tempaletDataList=t.treeData(i),setTimeout(function(){t.setFixed()},10)},setFixed:function(){var e=this;e.setParent.forEach(function(t,i){e[t].forEach(function(t,i){e.setList.includes(t.fieldCode)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})}},components:{draggable:c.a,AddInput:m,limitInput:g.a},mounted:function(){s.a.all([this.getAllFields(),this.getInfo()]),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}}},w={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-wrap",style:{height:e.bodyHeight}},[n("div",{staticClass:"template-contain"},[n("div",{staticClass:"template-head"},[e._m(0),e._v(" "),n("div",{staticClass:"template-btns flex-1 flex-r"},[n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.saveAndBack("preview")}}},[e._v("预 览")]),e._v(" "),n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.changeRoute("/fileSet")}}},[e._v("返 回")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),n("div",{staticClass:"template-body"},[n("div",{staticClass:"template-cell template-cell-l"},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[n("div",{staticClass:"filed-item-title"},[e._v("基本信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.baseInfo,options:e.leftOption,move:e.onMove},on:{clone:e.baseInfoClone,start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.baseInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode,"aria-hidden":"true"},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("工作信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.jobInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.jobInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.selfInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.selfInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("学历信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.eduInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.eduInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("合同信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contractInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contractInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("紧急联系人")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contactInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contactInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人材料")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.personalInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personalInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[n("div",{staticClass:"filed-item-title"}),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd,clone:e.cloneDefine}},e._l(e.defineInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[t.systemFlag||0!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||0!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-one"}),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-two"}),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-three"}),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-four"}),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-five"}),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-six"}),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-seven"}),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-eight"})])}))],1)])],1)],1),e._v(" "),n("div",{staticClass:"template-cell template-cell-m"},[n("div",{staticClass:"phone-view"},[n("div",{staticClass:"phone-show-content"},[n("div",{staticClass:"drag-show-content"},[n("div",{staticClass:"view-container"},[n("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[n("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),n("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!1},sort:!0}},on:{add:e.addItem},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return n("li",{class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(n){e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?n("span",{staticClass:"item-close p-item-close",on:{click:function(n){n.stopPropagation(),e.deleteItem(t.fieldCode,i)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),[n("div",{staticClass:"block"},[n("div",{staticClass:"block-head"},[n("div",{class:["opencard-item-title",t.fieldName.length>6?"block-pre-wrap":""]},[e._v(e._s(t.fieldName))])]),e._v(" "),n("ul",{staticClass:"view-content"},[n("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(s,a){return n("li",{class:["filed-item","child-filed-item",e.currentChildKey==s.fieldCode&&e.currentChildIndex==a?"active-item":""],on:{click:function(n){n.stopPropagation(),e.selectChildItem(s.fieldCode,i,a,t.children)}}},["clerkPhone"!=s.fieldCode?n("span",{staticClass:"item-close child-item-close",on:{click:function(n){n.stopPropagation(),e.deleteChildItem(s.fieldCode,i,a,t.children,s)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),2==s.fieldType||3==s.fieldType||4==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldDescription)+" "),n("i",{staticClass:"el-icon-arrow-right"})])])]):e._e(),e._v(" "),5==s.fieldType?n("div",[n("div",[n("div",{class:["opencard-item-title",s.fieldOperations.startName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.startName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.startDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),n("div",{staticClass:"b-t-1"},[n("div",{class:["opencard-item-title",s.fieldOperations.endName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.endName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.endDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])])]):e._e(),e._v(" "),7==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[n("i",{staticClass:"iconfont icon-icon"})])])]):e._e(),e._v(" "),0==s.fieldType||1==s.fieldType||6==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag"},[e._v(e._s(s.fieldDescription))])])]):e._e()])}))],1)])]],2)}))],2)])])])])]),e._v(" "),n("div",{staticClass:"template-cell template-cell-r"},[n("el-tabs",{model:{value:e.rightName,callback:function(t){e.rightName=t},expression:"rightName"}},[n("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[n("div",{attrs:{id:"edit-box"}},[n("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex==i&&"0"==t.parentCode?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title edit-title-padding"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:!0,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}})],1)]:e._e(),e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(t,s){return[e.currentChildIndex==s?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}}),e._v(" "),7==t.fieldType?n("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v(e._s(t.fieldDescription))]):e._e()],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5!=t.fieldType&&7!=t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"fieldDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&5==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 开始时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.startDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"startDescription",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 结束时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endName,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endName",i)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.endDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"endDescription",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==s&&6==t.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("单位")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldOperations.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t.fieldOperations,"unit",i)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex!=s||4!=t.fieldType&&5!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),e._l(t.fieldOperations.ruleContent,function(i,s){return[n("el-radio",{attrs:{label:i.key},on:{change:function(i){e.changeRadio(i,s,t)}},model:{value:t.fieldOperations.typeValue,callback:function(i){e.$set(t.fieldOperations,"typeValue",i)},expression:"childItem.fieldOperations.typeValue"}},[e._v("\n "+e._s(i.name)+"\n ")])]})],2)],e._v(" "),e.currentChildIndex!=s||"2"!=t.fieldType&&"3"!=t.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():n("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.fieldOperations.fieldContent,function(s,a){return[n("div",{staticClass:"margin-t-15 limit-w-340",style:0==a?"margin-top: 0":""},[n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.name,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"name",t)}}}),e._v(" "),!t.systemFlag&&t.fieldOperations.fieldContent.length>1?n("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(n){e.delChildItem(i,a,t)}}}):e._e(),e._v(" "),!t.systemFlag&&a<19?[a==t.fieldOperations.fieldContent.length-1?n("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(n){e.addChildItem(i,a,t)}}}):e._e()]:e._e()],2)]})],2)],e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item"},[n("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),n("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex==s?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("员工档案中")]),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工可见")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffVisible,callback:function(i){e.$set(t.staffRecordsIds,"staffVisible",i)},expression:"childItem.staffRecordsIds.staffVisible"}},[e._v("对员工不可见")])],1),e._v(" "),n("div",{staticClass:"staffRecords-limit"},[n("el-radio",{staticClass:"label-cell",attrs:{label:"1"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工可修改")]),e._v(" "),n("el-radio",{staticClass:"label-cell",attrs:{label:"0"},model:{value:t.staffRecordsIds.staffModify,callback:function(i){e.$set(t.staffRecordsIds,"staffModify",i)},expression:"childItem.staffRecordsIds.staffModify"}},[e._v("对员工不可修改")])],1)])]:e._e()]})]:e._e()]})],2)])])],1)],1)])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogVisible,expression:"dialogVisible"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[n("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),n("div",{staticClass:"qr-dialog"},[n("div",{staticClass:"qr-dialog__hd"},[n("strong",{staticClass:"qr-dialog__title"},[e._v("预览")]),e._v(" "),n("i",{staticClass:"el-icon-close",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"qr--dialog__ft"})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"template-title flex-1"},[t("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"template-title-span"},[this._v("员工档案设置")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qr-dialog__bd"},[t("div",{attrs:{id:"qrcode"}}),this._v(" "),t("div",{staticClass:"qr-dialog__p"},[this._v("请使用好办 APP 扫一扫预览")])])}]};var M=i("VU/8")(N,w,!1,function(e){i("4i+e")},"data-v-02985de9",null);t.default=M.exports}});
//# sourceMappingURL=14.39dbce1e831f7315bc6e.js.map
\ No newline at end of file
webpackJsonp([14],{"2FlR":function(e,t,a){e.exports=a.p+"static/img/test.50e4091.png"},IyOB:function(e,t){},Zx22:function(e,t,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(e,t){function a(e){return e>9?""+e:"0"+e}var s=new Date(e),i=s.getFullYear(),n=s.getMonth()+1,o=s.getDate();return i+t+a(n)+t+a(o)+t},handleData:function(){}},watch:{value:function(e,t){this.customDialog=e},storeChangeData:function(e,t){}},mounted:function(){}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:e.customDialog,width:"600px","before-close":e.handleCardClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更前\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.leftData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])]),e._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更后\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[e._l(e.rightData,function(e){return[a("img",{attrs:{src:e.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var n=a("VU/8")(s,i,!1,function(e){a("IyOB")},"data-v-17b2eb2d",null);t.a=n.exports},"cq/G":function(e,t){},xCEU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),i=a("Zx22"),n=a("3E4D"),o=a("Ch4/"),l=(a("Mk6G"),a("PI0u")),r=a("P9l9"),c={name:"unreview",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"待审核",path:""}],filterValue:"",filterOptions:[{label:"全部事项",value:""},{label:"新增成员",value:"1"},{label:"成员离职",value:"2"}],tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{},approveVisible:!1,refuseVisible:!1}},filters:{formatTimeYMD:function(e){return"--"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return"--"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleClick:function(e,t,a){this.selectId=t.enterpriseAuditingId,a?this.refuseVisible=!0:this.approveVisible=!0},sendApprove:function(){this.postApprove(this.selectId)},approveAll:function(){console.log(this.multipleSelection);var e=this.multipleSelection.length?this.multipleSelection.map(function(e){return e.enterpriseAuditingId}):"";if(!e)return this.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;this.postAllApprove(e)},postApprove:function(e){var t=this,a={enterpriseAuditingId:e};Object(r.c)("/haoban-manage-web/audit/approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),t.approveVisible=!1,void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postAllApprove:function(e){var t=this,a={enterpriseAuditingIds:e};Object(r.c)("/haoban-manage-web/audit/batch-approve.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),void t.getTableList();o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},cancelRefuse:function(e){this.refuseVisible=!1,this.$refs.ruleForm.resetFields()},sendRefuse:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.postRefuse()})},postRefuse:function(){var e=this,t={enterpriseAuditingId:e.selectId,refuseReason:e.ruleForm.refuseReason};Object(r.a)("/haoban-manage-web/audit/refuse.json",t).then(function(t){var a=t.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),e.refuseVisible=!1,void e.getTableList();o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showSingleInfo:function(e){},showStoreChange:function(e){this.showStoreDialog=!0,this.storeChangeData=e},getTableList:function(e){var t=this,a={auditingType:t.filterValue,auditingStatus:"0",search:"",pageNum:t.currentPage,pageSize:t.pageSize};Object(r.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(e,t){e.createTime&&(e.createTime=Object(l.b)(e.createTime))}),t.tableData=a.result.list,void(t.total=a.result.total);o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:s.a,storeChange:i.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:e.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head flex flex-space-between"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部事项"},on:{change:e.getTableList},model:{value:e.filterValue,callback:function(t){e.filterValue=t},expression:"filterValue"}},e._l(e.filterOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.approveAll}},[e._v("批量同意")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.auditingType?"门店信息变更":1==t.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v(e._s(t.row.applyName)+"\n "),a("i",{class:[2==t.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),e._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[e._v("员工代码:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.code))])]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[e._v("职位:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.positionName))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属门店:")]),a("span",{staticClass:"w-130"},[e._v(e._s(t.row.storeName))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[t.row.headPic?a("img",{attrs:{src:t.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[e._v(e._s(t.row.applyName))]),e._v(" "),a("span",{staticClass:"font-13"},[e._v(e._s(t.row.storeName))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"详情"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-hidden-2"},[a("span",[e._v(e._s(t.row.detail))]),e._v(" "),0==t.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showStoreChange(t.row)}}},[e._v("查看详情")]):e._e()],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row)}}},[e._v("同意")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick(t.$index,t.row,"refuse")}}},[e._v("拒绝")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("storeChange",{attrs:{storeChangeData:e.storeChangeData},model:{value:e.showStoreDialog,callback:function(t){e.showStoreDialog=t},expression:"showStoreDialog"}}),e._v(" "),a("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:e.approveVisible,width:"422px"},on:{"update:visible":function(t){e.approveVisible=t}}},[a("div",{staticClass:"approve-body text-center"},[a("div",[a("i",{staticClass:"el-icon-success"}),a("span",{staticClass:"approve-icon-tip"},[e._v("同意")])]),e._v(" "),a("div",{staticClass:"approve-tip"},[e._v("是否确认同意")])]),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.approveVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sendApprove}},[e._v("确 定")])],1)]),e._v(" "),a("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:e.refuseVisible,"before-close":e.cancelRefuse,width:"422px"},on:{"update:visible":function(t){e.refuseVisible=t}}},[a("div",[a("div",{staticClass:"refuse-tip"},[e._v("请输入拒绝理由")]),e._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[a("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:e.ruleForm.refuseReason,callback:function(t){e.$set(e.ruleForm,"refuseReason",t)},expression:"ruleForm.refuseReason"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.cancelRefuse("ruleForm")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.sendRefuse("ruleForm")}}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var p=a("VU/8")(c,u,!1,function(e){a("cq/G")},"data-v-00f4e495",null);t.default=p.exports}});
//# sourceMappingURL=14.4338619b3df5ed6d28e0.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/test.png","webpack:///src/components/review/store-change.vue","webpack:///./src/components/review/store-change.vue?5ea5","webpack:///./src/components/review/store-change.vue","webpack:///src/views/reviewCenter/unreview.vue","webpack:///./src/views/reviewCenter/unreview.vue?c023","webpack:///./src/views/reviewCenter/unreview.vue"],"names":["module","exports","__webpack_require__","p","store_change","name","props","value","type","Boolean","default","storeChangeData","Object","data","repProjectName","customDialog","this","leftData","src","rightData","beforeMount","methods","handleCardClose","customCancel","$emit","formatDate","time","flag","formatDig","num","myDate","Date","y","getFullYear","m","getMonth","d","getDate","handleData","watch","newData","oldData","mounted","review_store_change","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","title","visible","width","before-close","on","update:visible","$event","span","_v","_l","item","alt","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__","unreview","navpath","path","filterValue","filterOptions","label","tableData","multipleSelection","currentPage","pageSize","total","selectId","ruleForm","refuseReason","rules","required","message","trigger","min","max","showStoreDialog","approveVisible","refuseVisible","filters","formatTimeYMD","split","formatTimeHMS","formatNum","replace","computed","handleSelectionChange","val","handleSizeChange","getTableList","handleCurrentChange","handleClick","index","enterpriseAuditingId","sendApprove","postApprove","approveAll","console","log","ids","length","map","$message","postAllApprove","that","para","api","then","res","resData","errorCode","showmsg","error","errorMsg","catch","duration","enterpriseAuditingIds","cancelRefuse","formName","$refs","resetFields","sendRefuse","validate","valid","postRefuse","showSingleInfo","memberId","showStoreChange","auditingType","auditingStatus","search","pageNum","result","list","forEach","ele","createTime","js_public","components","navCrumb","nav","storeChange","reviewCenter_unreview","style","height","$store","state","bgHeight","placeholder","change","model","callback","$$v","expression","key","click","ref","staticStyle","tooltip-effect","selection-change","scopedSlots","_u","fn","scope","_s","row","show-overflow-tooltip","placement","show","applyId","headPic","applyName","class","sex","code","phoneNumber","positionName","storeName","slot","detail","_e","_f","size","$index","background","current-page","page-sizes","page-size","layout","size-change","current-change","text-align","prop","rows","$set"],"mappings":"0CAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,kICuCxCC,GACAC,KAAA,gBACAC,OACAC,OACAC,KAAAC,QACAC,SAAA,GAEAC,iBACAH,KAAAI,SAGAC,KAXA,WAYA,OACAC,eAAA,UACAC,aAAAC,KAAAT,MAEAU,WAEAC,IAAAhB,EAAA,UAGAgB,IAAAhB,EAAA,UAGAgB,IAAAhB,EAAA,UAGAiB,YAEAD,IAAAhB,EAAA,UAGAgB,IAAAhB,EAAA,UAGAgB,IAAAhB,EAAA,YAKAkB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AAQ5J,MAAAsC,EAAAoC,SAAA,aAAAmF,SAAA,SAAAC,GAA2DxH,EAAAkK,KAAAlK,EAAAoC,SAAA,eAAAoF,IAA4CC,WAAA,4BAAqC,WAAAzH,EAAAe,GAAA,KAAAZ,EAAA,OAAoCE,YAAA,+BAAAC,OAAkD4I,KAAA,UAAgBA,KAAA,WAAe/I,EAAA,aAAkBQ,IAAIgH,MAAA,SAAA9G,GAAyBb,EAAAqF,aAAA,gBAA+BrF,EAAAe,GAAA,SAAAf,EAAAe,GAAA,KAAAZ,EAAA,aAA8CG,OAAO3C,KAAA,WAAiBgD,IAAKgH,MAAA,SAAA9G,GAAyBb,EAAAyF,WAAA,gBAA6BzF,EAAAe,GAAA,oBAE1/NI,oBCCjB,IAcAC,EAdyB/D,EAAQ,OAcjCgE,CACEG,EACAsF,GATF,EAVA,SAAAxF,GACEjE,EAAQ,SAaV,kBAEA,MAUekE,EAAA,QAAAH,EAAiB","file":"static/js/14.4338619b3df5ed6d28e0.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/test.50e4091.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/test.png\n// module id = 2FlR\n// module chunks = 11 14","<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"门店环境图变更\" :visible.sync=\"customDialog\" width=\"600px\" :before-close=\"handleCardClose\">\n <div class=\"dialog-content\">\n <el-row>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更前\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in leftData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n <el-col :span=\"11\">\n <div class=\"grid-content bg-purple-dark\">\n 变更后\n </div>\n <div class=\"data-body\">\n <div class=\"data-body-content flex flex-column flex-space-between\">\n <template v-for=\"item in rightData\">\n <img :src=\"item.src\" alt=\"\"/>\n </template>\n </div>\n </div>\n </el-col>\n </el-row>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'custom-dialog',\n props: {\n value: {\n type: Boolean,\n default: false\n },\n storeChangeData: {\n type: Object\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: this.value, // 弹框显示\n\n leftData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ],\n rightData: [\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n },\n {\n src: require('../../assets/test.png')\n }\n ]\n }\n },\n beforeMount() {\n const that = this\n },\n methods:{\n\n // 关闭\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n // 取消\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('input',that.customDialog)\n },\n\n formatDate(time,flag) {\n const that = this\n // (0-9)年月数字的显示\n function formatDig(num) {\n return num > 9 ? '' + num : '0' + num;\n }\n let myDate = new Date(time);\n let y = myDate.getFullYear();\n let m = myDate.getMonth()+1;\n let d = myDate.getDate();\n return y + flag + formatDig(m) + flag + formatDig(d) + flag\n },\n\n handleData() {\n const that = this;\n\n }\n\n },\n watch: {\n value: function(newData,oldData){\n const that = this;\n // console.log(\"新数据:\",newData,oldData)\n that.customDialog = newData\n },\n storeChangeData: function(newData,oldData){\n const that = this;\n }\n },\n\n /* 接收数据 */\n mounted(){\n const that = this;\n // console.log(\"新数据:\",that.value)\n // that.customDialog = that.showStoreDialog\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n.dialog-content {\n /*height: 484px;*/\n padding-bottom: 20px;\n\n .grid-content {\n width: 100%;\n height: 42px;\n line-height: 42px;\n text-align: center;\n background: rgba(245,247,250,1);\n font-size: 16px;\n color: #303133;\n /*border: 1px solid rgba(235,238,245,1);\n border-radius: 4px;*/\n }\n\n .el-row {\n width: 100%;\n font-size: 0\n }\n .el-col-11 {\n width: 272px;\n border:1px solid rgba(235,238,245,1);\n border-radius: 4px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n &+.el-col-11 {\n margin-left: 14px;\n }\n }\n\n .data-body {\n height: 442px;\n max-height: 442px;\n padding: 11px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .data-body-content {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n }\n img {\n width: 100%;\n &+img {\n margin-top: 10px;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/review/store-change.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"门店环境图变更\",\"visible\":_vm.customDialog,\"width\":\"600px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更前\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.leftData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":11}},[_c('div',{staticClass:\"grid-content bg-purple-dark\"},[_vm._v(\"\\n 变更后\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"data-body\"},[_c('div',{staticClass:\"data-body-content flex flex-column flex-space-between\"},[_vm._l((_vm.rightData),function(item){return [_c('img',{attrs:{\"src\":item.src,\"alt\":\"\"}})]})],2)])])],1)],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-17b2eb2d\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./store-change.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./store-change.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-17b2eb2d\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./store-change.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-17b2eb2d\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/review/store-change.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"unreview-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'height': $store.state.bgHeight}\">\n <div class=\"reviewed-body-head flex flex-space-between\">\n <el-select v-model=\"filterValue\" placeholder=\"全部事项\" @change=\"getTableList\" class=\"w-130\">\n <el-option\n v-for=\"item in filterOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select>\n <el-button type=\"primary\" @click=\"approveAll\">批量同意</el-button>\n </div>\n <div class=\"reviewed-body-content\">\n <el-table\n ref=\"multipleTable\"\n :data=\"tableData\"\n tooltip-effect=\"dark\"\n style=\"width: 100%\"\n @selection-change=\"handleSelectionChange\">\n <el-table-column\n type=\"selection\"\n width=\"55\">\n </el-table-column>\n <el-table-column\n label=\"审核事项\">\n <template slot-scope=\"scope\">\n {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职'}}\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交人\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"flex\">\n <el-popover\n placement=\"top-start\"\n width=\"400\"\n trigger=\"hover\"\n @show=\"showSingleInfo(scope.row.applyId)\">\n <div class=\"apply-info-detail\">\n <div class=\"flex\">\n <div class=\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n <div class=\"flex flex-column apply-info-right flex-space-between\">\n <div class=\"apply-info-name\">{{scope.row.applyName}}\n <i :class=\"[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]\"></i>\n </div>\n <div class=\"apply-info-code\">\n <span class=\"w-80\">员工代码:</span><span class=\"w-130\">{{ scope.row.code }}</span>\n </div>\n <div class=\"apply-info-phone\">\n <span class=\"w-80\">手机号:</span><span class=\"w-130\">{{ scope.row.phoneNumber }}</span>\n </div>\n <div class=\"apply-info-job\">\n <span class=\"w-80\">职位:</span><span class=\"w-130\">{{ scope.row.positionName }}</span>\n </div>\n <div class=\"apply-info-store\">\n <span class=\"w-80\">所属门店:</span><span class=\"w-130\">{{ scope.row.storeName }}</span>\n </div>\n </div>\n </div>\n </div>\n <div slot=\"reference\">\n <div class=\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\">\n <i v-if=\"!scope.row.headPic\" class=\"iconfont icon-yewuduanmorentouxian\"></i>\n <img v-else :src=\"scope.row.headPic\" alt=\"img\"/>\n </div>\n </div>\n </el-popover>\n <div class=\"flex flex-column apply-info\">\n <span>{{scope.row.applyName}}</span>\n <span class=\"font-13\">{{scope.row.storeName}}</span>\n </div>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"详情\">\n <template slot-scope=\"scope\">\n <div class=\"line-hidden-2\">\n <!-- <span> {{ scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 0? '新增成员': '成员离职'}}</span> -->\n <span >{{scope.row.detail}}</span>\n <el-button v-if=\"scope.row.auditingType == 0\" type=\"text\" @click=\"showStoreChange(scope.row)\">查看详情</el-button>\n </div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"提交时间\"\n show-overflow-tooltip>\n <template slot-scope=\"scope\">\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeYMD}}</div>\n <div class=\"line-h-18\">{{ scope.row.createTime | formatTimeHMS}}</div>\n </template>\n </el-table-column>\n <el-table-column\n label=\"操作\"\n width=\"100\">\n <template slot-scope=\"scope\">\n <el-button @click=\"handleClick(scope.$index,scope.row)\" type=\"text\" size=\"small\">同意</el-button>\n <el-button @click=\"handleClick(scope.$index,scope.row,'refuse')\" type=\"text\" size=\"small\">拒绝</el-button>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 门店变更 -->\n <storeChange v-model=\"showStoreDialog\" :storeChangeData=\"storeChangeData\"></storeChange>\n <!-- 同意 -->\n <el-dialog class=\"approve-dialog\" title=\"\" :visible.sync=\"approveVisible\" width=\"422px\">\n <div class=\"approve-body text-center\">\n <div><i class=\"el-icon-success\"></i><span class=\"approve-icon-tip\">同意</span></div>\n <div class=\"approve-tip\">是否确认同意</div>\n </div>\n <div slot=\"footer\" class=\"approve-footer dialog-footer\" style=\"text-align: center;\">\n <el-button @click=\"approveVisible = false\">取 消</el-button>\n <el-button type=\"primary\" @click=\"sendApprove\">确 定</el-button>\n </div>\n </el-dialog>\n <!-- 拒绝 -->\n <el-dialog\n class=\"refuse-dialog\"\n title=\"提示\"\n :visible.sync=\"refuseVisible\"\n :before-close=\"cancelRefuse\"\n width=\"422px\">\n <div>\n <div class=\"refuse-tip\">请输入拒绝理由</div>\n <el-form :model=\"ruleForm\" :rules=\"rules\" ref=\"ruleForm\" class=\"demo-ruleForm\">\n <el-form-item label=\"\" prop=\"refuseReason\">\n <el-input\n class=\"font-14\"\n v-model=\"ruleForm.refuseReason\"\n type=\"textarea\"\n placeholder=\"最多 50 个字\"\n :rows=\"3\">\n </el-input>\n </el-form-item>\n </el-form>\n </div>\n <div slot=\"footer\" class=\"approve-footer dialog-footer\" >\n <el-button @click=\"cancelRefuse('ruleForm')\">取 消</el-button>\n <el-button type=\"primary\" @click=\"sendRefuse('ruleForm')\">确 定</el-button>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport storeChange from '@/components/review/store-change.vue';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport strLength from '@/common/js/strlen';\nimport { _debounce,formatDate } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"unreview\",\n data() {\n return {\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '审核中心',\n path: '/unreview'\n },\n {\n name: '待审核',\n path: ''\n }\n\n ],\n\n filterValue: '',\n filterOptions: [\n // {\n // label: '门店信息变更',\n // value: '0'\n // },\n {\n label: '全部事项',\n value: ''\n },\n {\n label: '新增成员',\n value: '1'\n },\n {\n label: '成员离职',\n value: '2'\n }\n ],\n\n tableData: [\n // {\n // enterpriseAuditingId: 1,\n // auditingType: 0,//审核类型(0:门店信息变更,1:新增成员,2:成员离职)\n // detail: '',\n // relationId: 112,\n // applyId: '12223233',\n // applyName: '测试',\n // headPic: '',\n // storeName: '测试门店',\n // refuseReason: '111111',\n // auditingStatus: 0, //审核状态 (0:待审核 ,1: 已同意,2:已拒绝)\n // beforeContent: '',\n // afterContent: '',\n // createTime: '2018-12-09 14:34:56'\n // }\n ],\n multipleSelection: [],\n\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n\n // 操作\n selectId: '',\n ruleForm: {\n refuseReason: ''\n },\n rules: {\n refuseReason: [\n { required: true, message: '拒绝理由不能为空', trigger: 'change' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字', trigger: 'change' }\n ],\n },\n\n showStoreDialog: false,\n storeChangeData: {},\n\n approveVisible: false,\n refuseVisible: false,\n\n }\n },\n filters: {\n formatTimeYMD(data) {\n return data != '--' ? data.split(' ')[0] : '--';\n },\n formatTimeHMS(data) {\n return data != '--' ? data.split(' ')[1] : '--';\n },\n formatNum(data){\n const reg=/\\d{1,3}(?=(\\d{3})+$)/g;\n return (data + '').replace(reg, '$&,');\n }\n },\n computed: {\n\n },\n methods: {\n\n /**\n * 表格---多选\n */\n handleSelectionChange(val) {\n const that = this;\n that.multipleSelection = val;\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getTableList();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n that.getTableList();\n },\n\n /**\n * 操作\n */\n handleClick(index,item,flag) {\n const that = this;\n that.selectId = item.enterpriseAuditingId;\n !!flag? that.refuseVisible = true: that.approveVisible = true;\n },\n\n /**\n * 确定同意\n */\n sendApprove() {\n const that = this;\n that.postApprove(that.selectId)\n },\n\n /**\n * 批量同意\n */\n approveAll() {\n const that = this;\n console.log(that.multipleSelection)\n let ids = !!that.multipleSelection.length? that.multipleSelection.map(item=>item.enterpriseAuditingId) : '';\n if (!ids) {\n that.$message({\n message: '请至少选择一条审核事项',\n type: 'warning'\n });\n return false;\n }\n that.postAllApprove(ids)\n },\n\n postApprove(ids) {\n const that = this;\n let para = {\n enterpriseAuditingId: ids\n }\n postRequest('/haoban-manage-web/audit/approve.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n showMsg.showmsg('操作成功','success')\n that.approveVisible = false;\n that.getTableList();\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n postAllApprove(ids) {\n const that = this;\n let para = {\n enterpriseAuditingIds: ids\n }\n postRequest('/haoban-manage-web/audit/batch-approve.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n showMsg.showmsg('操作成功','success')\n that.getTableList();\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 取消拒绝\n */\n cancelRefuse(formName){\n const that = this;\n that.refuseVisible = false;\n that.$refs['ruleForm'].resetFields();\n },\n\n /**\n * 确定拒绝\n */\n sendRefuse(formName) {\n const that = this;\n that.$refs[formName].validate((valid) => {\n if (valid) {\n that.postRefuse();\n } else {\n return false;\n }\n })\n },\n\n postRefuse() {\n const that = this;\n let para = {\n enterpriseAuditingId: that.selectId,\n refuseReason: that.ruleForm.refuseReason\n }\n getRequest('/haoban-manage-web/audit/refuse.json',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n showMsg.showmsg('操作成功','success');\n that.refuseVisible = false;\n that.getTableList();\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 获取头像处显示信息\n */\n showSingleInfo(memberId) {\n const that = this;\n },\n\n /**\n * 显示门店变更\n */\n showStoreChange(item) {\n const that = this;\n that.showStoreDialog = true;\n that.storeChangeData = item;\n },\n\n /**\n * 获取列表数据\n */\n getTableList(val) {\n const that = this;\n let para = {\n auditingType: that.filterValue,\n auditingStatus: '0',\n search: '', // 搜索字段\n pageNum: that.currentPage, // 当前页\n pageSize: that.pageSize // 一页显示个数\n }\n getRequest('/haoban-manage-web/audit/auditing-list.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n if (!!resData.result&& !!resData.result.list) {\n resData.result.list.forEach(function(ele,index){\n if (!!ele.createTime) {\n ele.createTime = formatDate(ele.createTime);\n }\n })\n }\n that.tableData = resData.result.list;\n that.total = resData.result.total;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n },\n mounted() {\n this.getTableList();\n },\n components: {\n navCrumb,\n storeChange\n }\n}\n\n</script>\n<style lang=\"less\" scoped>\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.flex-space-between {\n -webkit-justify-content: space-between;\n -moz-justify-content: space-between;\n -ms-justify-content: space-between;\n -o-justify-content: space-between;\n justify-content: space-between;\n}\n\n.flex-start {\n -webkit-justify-content: flex-start;\n -moz-justify-content: flex-start;\n -ms-justify-content: flex-start;\n -o-justify-content: flex-start;\n justify-content: flex-start;\n}\n\n.bg-82C5FF {\n background: #82C5FF;\n}\n\n.color-508CEE {\n color: #508CEE;\n}\n\n.color-FF585C {\n color: #FF585C;\n}\n\n.font-13 {\n font-size: 13px;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.line-h-18 {\n line-height: 18px;\n}\n\n.line-hidden-2 {\n .flex;\n .flex-align-center;\n .flex-start;\n height: 46px;\n overflow: hidden;\n span {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n box-orient: vertical;\n max-height: 46px;\n overflow: hidden;\n }\n}\n\n.w-80 {\n width: 80px;\n}\n\n.w-130 {\n display: inline-block;\n width: 130px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n .right-box {\n background: #fff;\n min-height: 500px;\n padding: 24px;\n\n .w-280 {\n width: 280px;\n }\n\n .w-514 {\n width: 514px;\n }\n\n .m-l-20 {\n margin-left: 20px;\n }\n\n .m-t-45 {\n margin-top: 45px;\n }\n\n .v-align-b {\n vertical-align: bottom;\n }\n\n .reviewed-body-head {\n margin-bottom: 22px;\n }\n\n .table-head-pic {\n width: 35px;\n height: 35px;\n border-radius: 4px;\n i {\n font-size: 20px;\n color: #e5f3ff;\n }\n\n img {\n width: 35px;\n height: 35px;\n border-radius: 3px;\n }\n }\n\n .apply-info {\n margin-left: 15px;\n line-height: 18px;\n span {\n font-size: 14px;\n color: #606266;\n &.font-13 {\n font-size: 13px;\n }\n }\n }\n }\n}\n\n.apply-info-detail {\n /*padding: 18px;*/\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n .apply-info-img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n text-align: center;\n i {\n font-size: 106px;\n color: #e5f3ff;\n }\n img {\n width: 150px;\n height: 150px;\n border-radius: 12px;\n }\n }\n\n .apply-info-name {\n font-size: 16px;\n color: #303133;\n }\n\n .apply-info-right {\n width: 229px;\n padding-left: 16px;\n font-size: 13px;\n color: #606266;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .w-80 {\n display: inline-block;\n vertical-align: top;\n color: #303133;\n }\n\n .w-130 {\n color: #303133;\n }\n }\n\n}\n\n.approve-dialog {\n .el-icon-success {\n display: inline-block;\n vertical-align: middle;\n font-size: 24px;\n color: #67C23A;\n }\n\n .approve-icon-tip {\n display: inline-block;\n vertical-align: middle;\n margin-left: 6px;\n font-size: 18px;\n color: #303133;\n }\n\n .approve-tip {\n margin-top: 31px;\n font-size: 14px;\n color: #606266;\n }\n\n /deep/.el-dialog__body {\n padding-top: 0;\n }\n\n /deep/.el-dialog__footer {\n border: none;\n padding: 18px 20px 22px 20px;\n }\n}\n\n.refuse-dialog {\n .refuse-tip {\n margin-bottom: 20px;\n font-size: 14px;\n color: #606266;\n }\n /deep/.el-dialog__footer {\n border: none;\n /*padding: 18px 20px 22px 20px;*/\n }\n\n .el-textarea {\n /deep/ .el-textarea__inner {\n font-size: 14px;\n color: #606266;\n background-color: rgba(255,255,255,.1);\n resize: none;\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/unreview.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"unreview-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'height': _vm.$store.state.bgHeight})},[_c('div',{staticClass:\"reviewed-body-head flex flex-space-between\"},[_c('el-select',{staticClass:\"w-130\",attrs:{\"placeholder\":\"全部事项\"},on:{\"change\":_vm.getTableList},model:{value:(_vm.filterValue),callback:function ($$v) {_vm.filterValue=$$v},expression:\"filterValue\"}},_vm._l((_vm.filterOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})})),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.approveAll}},[_vm._v(\"批量同意\")])],1),_vm._v(\" \"),_c('div',{staticClass:\"reviewed-body-content\"},[_c('el-table',{ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"tooltip-effect\":\"dark\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"审核事项\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.auditingType == 0? '门店信息变更': scope.row.auditingType == 1? '新增成员': '成员离职')+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交人\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"flex\"},[_c('el-popover',{attrs:{\"placement\":\"top-start\",\"width\":\"400\",\"trigger\":\"hover\"},on:{\"show\":function($event){_vm.showSingleInfo(scope.row.applyId)}}},[_c('div',{staticClass:\"apply-info-detail\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"apply-info-img flex-align-center flex-pack-center bg-82C5FF \"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info-right flex-space-between\"},[_c('div',{staticClass:\"apply-info-name\"},[_vm._v(_vm._s(scope.row.applyName)+\"\\n \"),_c('i',{class:[scope.row.sex == 2? 'icon-xingbienv color-FF585C' : 'icon-xingbienan color-508CEE','iconfont' ]})]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-code\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"员工代码:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-phone\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"手机号:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.phoneNumber))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-job\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"职位:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.positionName))])]),_vm._v(\" \"),_c('div',{staticClass:\"apply-info-store\"},[_c('span',{staticClass:\"w-80\"},[_vm._v(\"所属门店:\")]),_c('span',{staticClass:\"w-130\"},[_vm._v(_vm._s(scope.row.storeName))])])])])]),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_c('div',{staticClass:\"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic\"},[(!scope.row.headPic)?_c('i',{staticClass:\"iconfont icon-yewuduanmorentouxian\"}):_c('img',{attrs:{\"src\":scope.row.headPic,\"alt\":\"img\"}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-column apply-info\"},[_c('span',[_vm._v(_vm._s(scope.row.applyName))]),_vm._v(\" \"),_c('span',{staticClass:\"font-13\"},[_vm._v(_vm._s(scope.row.storeName))])])],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"详情\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-hidden-2\"},[_c('span',[_vm._v(_vm._s(scope.row.detail))]),_vm._v(\" \"),(scope.row.auditingType == 0)?_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.showStoreChange(scope.row)}}},[_vm._v(\"查看详情\")]):_vm._e()],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交时间\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeYMD\")(scope.row.createTime)))]),_vm._v(\" \"),_c('div',{staticClass:\"line-h-18\"},[_vm._v(_vm._s(_vm._f(\"formatTimeHMS\")(scope.row.createTime)))])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleClick(scope.$index,scope.row)}}},[_vm._v(\"同意\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleClick(scope.$index,scope.row,'refuse')}}},[_vm._v(\"拒绝\")])]}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('storeChange',{attrs:{\"storeChangeData\":_vm.storeChangeData},model:{value:(_vm.showStoreDialog),callback:function ($$v) {_vm.showStoreDialog=$$v},expression:\"showStoreDialog\"}}),_vm._v(\" \"),_c('el-dialog',{staticClass:\"approve-dialog\",attrs:{\"title\":\"\",\"visible\":_vm.approveVisible,\"width\":\"422px\"},on:{\"update:visible\":function($event){_vm.approveVisible=$event}}},[_c('div',{staticClass:\"approve-body text-center\"},[_c('div',[_c('i',{staticClass:\"el-icon-success\"}),_c('span',{staticClass:\"approve-icon-tip\"},[_vm._v(\"同意\")])]),_vm._v(\" \"),_c('div',{staticClass:\"approve-tip\"},[_vm._v(\"是否确认同意\")])]),_vm._v(\" \"),_c('div',{staticClass:\"approve-footer dialog-footer\",staticStyle:{\"text-align\":\"center\"},attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.approveVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.sendApprove}},[_vm._v(\"确 定\")])],1)]),_vm._v(\" \"),_c('el-dialog',{staticClass:\"refuse-dialog\",attrs:{\"title\":\"提示\",\"visible\":_vm.refuseVisible,\"before-close\":_vm.cancelRefuse,\"width\":\"422px\"},on:{\"update:visible\":function($event){_vm.refuseVisible=$event}}},[_c('div',[_c('div',{staticClass:\"refuse-tip\"},[_vm._v(\"请输入拒绝理由\")]),_vm._v(\" \"),_c('el-form',{ref:\"ruleForm\",staticClass:\"demo-ruleForm\",attrs:{\"model\":_vm.ruleForm,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"\",\"prop\":\"refuseReason\"}},[_c('el-input',{staticClass:\"font-14\",attrs:{\"type\":\"textarea\",\"placeholder\":\"最多 50 个字\",\"rows\":3},model:{value:(_vm.ruleForm.refuseReason),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"refuseReason\", $$v)},expression:\"ruleForm.refuseReason\"}})],1)],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"approve-footer dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.cancelRefuse('ruleForm')}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.sendRefuse('ruleForm')}}},[_vm._v(\"确 定\")])],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-00f4e495\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/unreview.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-00f4e495\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./unreview.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unreview.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unreview.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-00f4e495\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./unreview.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-00f4e495\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/unreview.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([24],{BgPI:function(t,e){},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),o=a("gBtx"),n=a.n(o),l=a("3Xzz"),c=a("PI0u"),r=a("P9l9"),d=a("3E4D"),f=a("Ch4/"),u=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:Object(c.a)(function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},500),customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(r.c)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");f.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(r.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),m={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:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加")])]),t._v(" "),a("div",{staticClass:"custom-dialog-body"},[t._l(t.customData,function(e,i){return[a("div",{key:i,staticClass:"detail-field-cell flex"},[a("div",{staticClass:"detail-field-left"},[t._v(t._s(e.fieldName))]),t._v(" "),a("div",{staticClass:"detail-field-right flex"},[a("el-checkbox-group",{staticClass:"flex flex-wrap",on:{change:t.customChange},model:{value:e.checkList,callback:function(a){t.$set(e,"checkList",a)},expression:"item.checkList"}},t._l(e.children,function(e,i){return a("el-checkbox",{key:e.fieldCode,attrs:{label:e.fieldCode,disabled:e.disable,name:"type"}},[t._v("\n "+t._s(e.fieldName)+"\n ")])}))],1)])]})],2),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var h=a("VU/8")(u,m,!1,function(t){a("rDPl")},"data-v-110ef18e",null).exports,g=(a("Mk6G"),{name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"员工详细字段",path:""}],fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],adminStruct:{name:"行政架构通讯录员工详情字段",fixedList:[],defineList:[]},storeStruct:{name:"门店架构通讯录员工详情字段",fixedList:[],defineList:[]},showCustomDialog:!1,detailData:[],dataType:null}},computed:{},methods:{showDialogLayer:function(t){this.showCustomDialog=!0,this.dataType=t,this.detailData=1===t?this.adminStruct.fixedList.map(function(t){return t.fields}).concat(this.adminStruct.defineList.map(function(t){return t.fields})):this.storeStruct.fixedList.map(function(t){return t.fields}).concat(this.storeStruct.defineList.map(function(t){return t.fields}))},customHandleConfirm:function(t){if(this.showCustomDialog=!1,t)return!1;this.getSaveFields(this.dataType)},delField:function(t,e,a,i){var s=this;s.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(o){o.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,o={fields:t,type:e};Object(r.c)("/haoban-manage-web/record/employee-show-field-delete.json",o).then(function(t){var e=t.data;if(1==e.errorCode)return d.a.showmsg("删除成功","success"),void a.splice(i,1);f.a.errorMsg(e)}).catch(function(t){s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(r.c)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?f.a.errorMsg(i):i.result.forEach(function(a,i){1===n()(t)?e.fixData.includes(a.fields)?e.adminStruct.fixedList.push(a):e.adminStruct.defineList.push(a):e.fixDataStore.includes(a.fields)?e.storeStruct.fixedList.push(a):e.storeStruct.defineList.push(a)})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){s.a.all([this.getSaveFields(1),this.getSaveFields(2)])},components:{navCrumb:l.a,staffDetailField:h}}),p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"staffDetails-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25 font-w-500"},[t._v(t._s(t.adminStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.adminStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add font-0"},[t._l(t.adminStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.adminStruct.defineList,1)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25 font-w-500"},[t._v(t._s(t.storeStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.storeStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add font-0"},[t._l(t.storeStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.storeStruct.defineList,2)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(2)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("staff-detail-field",{attrs:{detailData:t.detailData,showCustomDialog:t.showCustomDialog,dataType:t.dataType},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[]};var v=a("VU/8")(g,p,!1,function(t){a("BgPI")},"data-v-3969865c",null);e.default=v.exports},rDPl:function(t,e){}});
//# sourceMappingURL=24.fc2fa459d74a02e3f722.js.map
\ No newline at end of file
webpackJsonp([24],{P2Me:function(t,e){},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),o=a("gBtx"),n=a.n(o),l=a("3Xzz"),c=a("PI0u"),r=a("P9l9"),d=a("3E4D"),f=a("Ch4/"),u=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:Object(c.a)(function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},500),customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(r.c)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");f.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(r.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),m={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:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加")])]),t._v(" "),a("div",{staticClass:"custom-dialog-body"},[t._l(t.customData,function(e,i){return[a("div",{key:i,staticClass:"detail-field-cell flex"},[a("div",{staticClass:"detail-field-left"},[t._v(t._s(e.fieldName))]),t._v(" "),a("div",{staticClass:"detail-field-right flex"},[a("el-checkbox-group",{staticClass:"flex flex-wrap",on:{change:t.customChange},model:{value:e.checkList,callback:function(a){t.$set(e,"checkList",a)},expression:"item.checkList"}},t._l(e.children,function(e,i){return a("el-checkbox",{key:e.fieldCode,attrs:{label:e.fieldCode,disabled:e.disable,name:"type"}},[t._v("\n "+t._s(e.fieldName)+"\n ")])}))],1)])]})],2),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var h=a("VU/8")(u,m,!1,function(t){a("rDPl")},"data-v-110ef18e",null).exports,v=(a("Mk6G"),{name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"员工详细字段",path:""}],fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],adminStruct:{name:"行政架构通讯录员工详情字段",fixedList:[],defineList:[]},storeStruct:{name:"门店架构通讯录员工详情字段",fixedList:[],defineList:[]},showCustomDialog:!1,detailData:[],dataType:null}},computed:{},methods:{showDialogLayer:function(t){this.showCustomDialog=!0,this.dataType=t,this.detailData=1===t?this.adminStruct.fixedList.map(function(t){return t.fields}).concat(this.adminStruct.defineList.map(function(t){return t.fields})):this.storeStruct.fixedList.map(function(t){return t.fields}).concat(this.storeStruct.defineList.map(function(t){return t.fields}))},customHandleConfirm:function(t){if(this.showCustomDialog=!1,t)return!1;this.getSaveFields(this.dataType)},delField:function(t,e,a,i){var s=this;s.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(o){o.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,o={fields:t,type:e};Object(r.c)("/haoban-manage-web/record/employee-show-field-delete.json",o).then(function(t){var e=t.data;if(1==e.errorCode)return d.a.showmsg("删除成功","success"),void a.splice(i,1);f.a.errorMsg(e)}).catch(function(t){s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(r.c)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?f.a.errorMsg(i):i.result.forEach(function(a,i){1===n()(t)?e.fixData.includes(a.fields)?e.adminStruct.fixedList.push(a):e.adminStruct.defineList.push(a):e.fixDataStore.includes(a.fields)?e.storeStruct.fixedList.push(a):e.storeStruct.defineList.push(a)})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){s.a.all([this.getSaveFields(1),this.getSaveFields(2)])},components:{navCrumb:l.a,staffDetailField:h}}),p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"staffDetails-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight,"overflow-y":"auto"}},[a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25 font-w-500"},[t._v(t._s(t.adminStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.adminStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add font-0"},[t._l(t.adminStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.adminStruct.defineList,1)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25 font-w-500"},[t._v(t._s(t.storeStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.storeStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add font-0"},[t._l(t.storeStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.storeStruct.defineList,2)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(2)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("staff-detail-field",{attrs:{detailData:t.detailData,showCustomDialog:t.showCustomDialog,dataType:t.dataType},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[]};var g=a("VU/8")(v,p,!1,function(t){a("P2Me")},"data-v-09b6d997",null);e.default=g.exports},rDPl:function(t,e){}});
//# sourceMappingURL=24.f87968cd1809bd537de5.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/set/staff-detail-field.vue","webpack:///./src/components/set/staff-detail-field.vue?322f","webpack:///./src/components/set/staff-detail-field.vue","webpack:///src/views/setting/staffDetails.vue","webpack:///./src/views/setting/staffDetails.vue?9a03","webpack:///./src/views/setting/staffDetails.vue"],"names":["staff_detail_field","name","props","showCustomDialog","type","Boolean","default","detailData","Array","dataType","Number","data","repProjectName","customDialog","fixData","fixDataStore","customData","checkList","baseUrl","beforeMount","host","window","location","origin","console","log","indexOf","this","computed","methods","handleCardClose","customCancel","$emit","customConfirm","Object","js_public","map","item","flat","saveFields","customChange","value","that","para","fields","api","then","res","resData","errorCode","showmsg","error","errorMsg","catch","$message","duration","message","treeData","tree","filter","father","branchArr","child","fieldCode","parentCode","length","children","sort","a","b","forEach","ele","index","getAllFields","handleAllFields","result","newResult","handleDetailData","el","key","includes","push","disable","watch","newData","oldData","mounted","set_staff_detail_field","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","title","visible","width","before-close","on","update:visible","$event","_v","_l","_s","fieldName","change","model","callback","$$v","$set","expression","childItem","childIndex","label","disabled","slot","click","staticRenderFns","components_set_staff_detail_field","__webpack_require__","normalizeComponent","ssrContext","staffDetails","navpath","path","adminStruct","fixedList","defineList","storeStruct","showDialogLayer","concat","customHandleConfirm","val","getSaveFields","delField","list","flag","$alert","confirmButtonText","cancelButtonText","_ref","postDlField","code","splice","parse_int_default","promise_default","all","components","navCrumb","nav","staffDetailField","setting_staffDetails","style","height","$store","state","bgHeight","overflow-y","stopPropagation","staffDetails_Component","staffDetails_normalizeComponent","__webpack_exports__"],"mappings":"qOAqCAA,cACAC,KAAA,qBACAC,OACAC,kBACAC,KAAAC,QACAC,SAAA,GAEAC,YACAH,KAAAI,MACAF,YAEAG,UACAL,KAAAM,OACAJ,QAAA,IAGAK,KAhBA,WAiBA,OACAC,eAAA,UACAC,cAAA,EACAC,SAAA,qDACAC,cAAA,iEAEAC,cAgFAC,aAGAC,QAAA,KAGAC,YA7GA,WA8GA,IACAC,EAAAC,OAAAC,SAAAC,OACAC,QAAAC,IAAA,UAAAL,GACA,MAAAA,EAAAM,QAAA,aAHAC,KAIAT,QAAA,4BAJAS,KAMAT,QAAAE,GAGAQ,YAGAC,SAKAC,gBALA,WAMAH,KACAI,gBAMAA,aAbA,WAcAJ,KACAd,cAAA,EADAc,KAEAK,MAAA,+BAQAC,cAAAC,OAAAC,EAAA,EAAAD,CAAA,WACAP,KACAV,UAD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A,YAA6DxC,EAAAc,GAAA,KAAAX,EAAA,aAA8BE,YAAA,qCAAAM,IAAqDkB,MAAA,SAAAhB,GAAyBA,EAAA0D,kBAAyBvE,EAAA0C,gBAAA,OAAyBvC,EAAA,KAAUE,YAAA,iBAA2BL,EAAAc,GAAA,oBAAAd,EAAAc,GAAA,KAAAX,EAAA,kBAAAH,EAAAc,GAAA,KAAAX,EAAA,sBAAmGG,OAAOxF,WAAAkF,EAAAlF,WAAAJ,iBAAAsF,EAAAtF,iBAAAM,SAAAgF,EAAAhF,UAA4F2F,IAAKiC,oBAAA5C,EAAA4C,wBAA+C,IAE57Ed,oBCChC,IAcI0C,EAdqBxC,EAAQ,OAcjByC,CACdtC,EACA6B,GAT6B,EAV/B,SAAoB9B,GAClBF,EAAQ,SAaS,kBAEU,MAUd0C,EAAA,QAAAF,EAAiB","file":"static/js/24.f87968cd1809bd537de5.js","sourcesContent":["<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"员工个人详情页展示字段设置\" :visible.sync=\"customDialog\" width=\"761px\" :before-close=\"handleCardClose\">\n <div class=\"custom-dialog__title\">\n <p class=\"custom-dialog__p\">tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加</p>\n </div>\n <div class=\"custom-dialog-body\">\n <template v-for=\"(item,index) in customData\">\n <div class=\"detail-field-cell flex\" :key=\"index\">\n <div class=\"detail-field-left\">{{item.fieldName}}</div>\n <div class=\"detail-field-right flex\">\n <el-checkbox-group class=\"flex flex-wrap\" v-model=\"item.checkList\" @change=\"customChange\">\n <el-checkbox v-for=\"(childItem,childIndex) in item.children\"\n :label=\"childItem.fieldCode\"\n :key=\"childItem.fieldCode\"\n :disabled=\"childItem.disable\"\n name=\"type\" >\n {{childItem.fieldName}}\n </el-checkbox>\n </el-checkbox-group>\n </div>\n </div>\n </template>\n </div>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"customCancel\">取 消</el-button>\n <el-button type=\"primary\" @click=\"customConfirm\">确 定</el-button>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { _debounce } from \"@/common/js/public\";\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'staff-detail-field',\n props: {\n showCustomDialog: {\n type: Boolean,\n default: false\n },\n detailData: {\n type: Array,\n default: []\n },\n dataType: {\n type: Number,\n default: 1 //'类型:1行政架构,2门店架构'\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: false, // 弹框显示\n fixData: ['clerkName','clerkPhone','groupName','positionName'],\n fixDataStore: ['clerkName','clerkPhone','groupName','positionName','clerkCode'],\n // 复选框数据\n customData: [\n // {\n // fieldCode: 1,\n // fieldName: \"基本信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // },\n // {\n // fieldCode: 'phone',\n // fieldName: '手机号'\n // },\n // {\n // fieldCode: 'email',\n // fieldName: '邮箱'\n // },\n // {\n // fieldCode: 'profession',\n // fieldName: '职业'\n // },\n // {\n // fieldCode: 'hiredate',\n // fieldName: '入职时间'\n // },\n\n // ]\n // },\n // {\n // fieldCode: 2,\n // fieldName: \"工作信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // }\n // ]\n // },\n // {\n // fieldCode: 3,\n // fieldName: \"个人信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // },\n // ]\n // },\n // {\n // fieldCode: 4,\n // fieldName: \"学历信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // },\n // ]\n // },\n\n ],\n checkList: [], //已选数据\n\n // 获取 location origin\n baseUrl: '',\n }\n },\n beforeMount() {\n const that = this\n var host = window.location.origin;\n console.log(\"当前host:\",host)\n if (host.indexOf('localhost') != '-1') {\n that.baseUrl = 'http://gicdev.demogic.com';\n }else {\n that.baseUrl = host\n }\n },\n computed: {\n\n },\n methods:{\n\n /**\n * 关闭\n */\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n /**\n * 取消\n */\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('customHandleConfirm','hide')\n },\n\n\n\n /**\n * 确定\n */\n customConfirm: _debounce(function() {\n const that = this;\n that.checkList = that.customData.map(item=>item.checkList).flat();\n that.saveFields(that.dataType);\n },500),\n\n /**\n * 复选框选择事件\n */\n customChange(value) {\n const that = this\n console.log(value)\n },\n\n /**\n * 保存已经勾选\n */\n saveFields(type) {\n const that = this;\n const para = {\n fields: that.checkList,\n type: type,// 类型:1行政架构,2门店架构'\n }\n\n postRequest('/haoban-manage-web/record/employee-show-field-save.json',para)\n .then((res) => {\n // console.log(res,res.data,res.data.errorCode)\n var resData = res.data\n if (resData.errorCode == 1) {\n showMsg.showmsg('添加成功','success');\n that.$emit('customHandleConfirm')\n return;\n }\n\n errMsg.errorMsg(resData)\n\n })\n .catch(function (error) {\n console.log(error);\n\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 简单数组-->父子数组对象\n */\n treeData(data){\n let tree = data.filter((father)=>{ //循环所有项\n let branchArr = data.filter((child)=>{\n return father.fieldCode == child.parentCode; //返回每一项的子级数组\n });\n if(branchArr.length>0){\n father.children = branchArr; //如果存在子级,则给父级添加一个children属性,并赋值\n }\n return father.parentCode == 0; //返回第一层\n });\n // 排序\n tree.sort(function(a,b){\n return a.sort - b.sort;\n })\n\n tree.forEach(function(ele,index){\n ele.children.sort(function(a,b){\n return a.sort - b.sort;\n })\n })\n return tree;\n },\n\n /**\n * 获取所有字段\n */\n getAllFields() {\n const that = this;\n postRequest('/haoban-manage-web/record/employee-find-system-template.json',{})\n .then((res) => {\n // console.log(res.data)\n let resData = res.data\n if (resData.errorCode == 1) {\n that.handleAllFields(resData.result)\n return;\n }\n errMsg.errorMsg(resData)\n\n })\n .catch(function (error) {\n // console.log(error);\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 处理所有系统模板信息\n */\n handleAllFields(result) {\n const that = this\n // console.log(that.treeData(result))\n let newResult = that.treeData(result);\n newResult.forEach(function(ele,index){\n ele.checkList = []\n // ele.children.forEach(function(el,key){\n // el.disable = that.dataType == 1 ? that.fixData.includes(el.fieldCode) : that.fixDataStore.includes(el.fieldCode)\n // })\n })\n that.customData = newResult;\n },\n\n /**\n * 处理已选信息\n */\n handleDetailData() {\n const that = this\n that.customData.forEach(function(ele,index) {\n ele.checkList = [];\n ele.children.forEach(function(el,key){\n\n that.checkList.includes(el.fieldCode)? ele.checkList.push(el.fieldCode): '';\n el.disable = that.dataType == 1 ? that.fixData.includes(el.fieldCode) : that.fixDataStore.includes(el.fieldCode)\n })\n })\n }\n\n },\n watch: {\n showCustomDialog: function(newData,oldData){\n const that = this;\n that.customDialog = newData\n },\n detailData: function(newData,oldData){\n const that = this;\n // console.log(newData)\n that.checkList = !!newData && !!newData.length ? newData: [];\n that.handleDetailData()\n }\n },\n\n /* 接收数据 */\n mounted(){\n // console.log(\"传递的参数对象:\",this.showCustomDialog)\n const that = this;\n that.customDialog = that.showCustomDialog;\n that.getAllFields()\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .custom-dialog {\n &-body {\n width: 100%;\n height: 410px;\n padding: 5px 0 22px 0;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow-y: auto;\n }\n &-wrap {\n .border-box {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n /* display */\n .inline-block {\n display: inline-block;\n }\n\n .block {\n display: block;\n }\n\n .top {\n vertical-align: top;\n }\n\n .middle {\n vertical-align: middle;\n }\n\n /* flex */\n .flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n }\n\n .flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n }\n\n .flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n }\n\n .flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n }\n\n .flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n }\n\n .flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n\n .flex-between {\n -webkit-justify-content: space-between;\n justify-content: space-between;\n }\n\n .flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n }\n\n .detail-field {\n &-cell {\n width: 100%;\n margin-top: 24px;\n .el-checkbox {\n min-width: 25%;\n margin-bottom: 24px;\n &+.el-checkbox {\n margin-left: 0;\n }\n\n &.is-checked {\n /deep/ .el-checkbox__label{\n color: #1890ff;\n }\n }\n }\n }\n\n &-left {\n width: 100px;\n padding-top: 4px;\n }\n &-right {\n width: calc(100% - 100px);\n\n .el-checkbox-group {\n width: 100%;\n\n }\n }\n }\n }\n\n &__title {\n width: 100%;\n height:38px;\n padding: 12px 15px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n background:rgba(235,238,245,1);\n }\n\n &__p {\n width: 100%;\n font-size: 14px;\n color: #606266;\n\n span {\n color: #1890ff;\n }\n }\n\n &__checkbox {\n width: 100%;\n height: 410px;\n padding-top: 10px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow-y: auto;\n\n .el-checkbox {\n width: 22%;\n margin-left: 16px;\n line-height: 62px;\n }\n }\n\n\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/set/staff-detail-field.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"员工个人详情页展示字段设置\",\"visible\":_vm.customDialog,\"width\":\"761px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"custom-dialog__title\"},[_c('p',{staticClass:\"custom-dialog__p\"},[_vm._v(\"tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加\")])]),_vm._v(\" \"),_c('div',{staticClass:\"custom-dialog-body\"},[_vm._l((_vm.customData),function(item,index){return [_c('div',{key:index,staticClass:\"detail-field-cell flex\"},[_c('div',{staticClass:\"detail-field-left\"},[_vm._v(_vm._s(item.fieldName))]),_vm._v(\" \"),_c('div',{staticClass:\"detail-field-right flex\"},[_c('el-checkbox-group',{staticClass:\"flex flex-wrap\",on:{\"change\":_vm.customChange},model:{value:(item.checkList),callback:function ($$v) {_vm.$set(item, \"checkList\", $$v)},expression:\"item.checkList\"}},_vm._l((item.children),function(childItem,childIndex){return _c('el-checkbox',{key:childItem.fieldCode,attrs:{\"label\":childItem.fieldCode,\"disabled\":childItem.disable,\"name\":\"type\"}},[_vm._v(\"\\n \"+_vm._s(childItem.fieldName)+\"\\n \")])}))],1)])]})],2),_vm._v(\" \"),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.customCancel}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.customConfirm}},[_vm._v(\"确 定\")])],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-110ef18e\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/set/staff-detail-field.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-110ef18e\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./staff-detail-field.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staff-detail-field.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staff-detail-field.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-110ef18e\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./staff-detail-field.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-110ef18e\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/set/staff-detail-field.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"staffDetails-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'height': $store.state.bgHeight,'overflow-y': 'auto'}\">\n <div class=\"staffDetails-cell\">\n <h2 class=\"m-b-25 font-w-500\">{{adminStruct.name}}</h2>\n <div class=\"staffDetails-cell-fixed\">\n <template v-for=\"(item,index) in adminStruct.fixedList\">\n <el-button disabled class=\"staffDetails-cell-btn\">{{item.fieldName}}</el-button>\n </template>\n </div>\n <div class=\"staffDetails-cell-add font-0\">\n <template v-for=\"(item,index) in adminStruct.defineList\">\n <el-tag class=\"staffDetails-cell-btn\">{{item.fieldName}} <i class=\"el-icon-circle-close\" @click.stop=\"delField(index,item,adminStruct.defineList,1)\"></i></el-tag>\n </template>\n <el-button class=\"el-tag m-l-8 staffDetails-cell-btn\" @click.stop=\"showDialogLayer(1)\"><i class=\"el-icon-plus\"></i>添加字段</el-button>\n </div>\n </div>\n <div class=\"staffDetails-cell\">\n <h2 class=\"m-b-25 font-w-500\">{{storeStruct.name}}</h2>\n <div class=\"staffDetails-cell-fixed\">\n <template v-for=\"(item,index) in storeStruct.fixedList\">\n <el-button disabled class=\"staffDetails-cell-btn\">{{item.fieldName}}</el-button>\n </template>\n </div>\n <div class=\"staffDetails-cell-add font-0\">\n <template v-for=\"(item,index) in storeStruct.defineList\">\n <el-tag class=\"staffDetails-cell-btn\">{{item.fieldName}} <i class=\"el-icon-circle-close\" @click.stop=\"delField(index,item,storeStruct.defineList,2)\"></i></el-tag>\n </template>\n <el-button class=\"el-tag m-l-8 staffDetails-cell-btn\" @click.stop=\"showDialogLayer(2)\"><i class=\"el-icon-plus\"></i>添加字段</el-button>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 自定义字段 -->\n <staff-detail-field\n :detailData=\"detailData\"\n :showCustomDialog=\"showCustomDialog\"\n :dataType=\"dataType\"\n @customHandleConfirm=\"customHandleConfirm\">\n </staff-detail-field>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport staffDetailField from '@/components/set/staff-detail-field.vue';\nimport strLength from '@/common/js/strlen';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport { _debounce } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"staffDetails\",\n data() {\n return {\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '设置',\n path: '/companyAddress'\n },\n {\n name: '通讯录信息',\n path: '/staffDetails'\n },\n {\n name: '员工详细字段',\n path: ''\n }\n ],\n // 固定的字段\n fixData: ['clerkName','clerkPhone','groupName','positionName'],\n fixDataStore: ['clerkName','clerkPhone','groupName','positionName','clerkCode'],\n // 行政架构\n adminStruct: {\n name: '行政架构通讯录员工详情字段',\n fixedList: [\n /*{\n fieldName: \"姓名\",\n fields: \"clerkName\"\n }*/\n ],\n defineList: [\n /* {\n fieldName: \"姓名\",\n fields: \"clerkName\"\n },*/\n ],\n },\n // 门店架构'\n storeStruct: {\n name: '门店架构通讯录员工详情字段',\n fixedList: [\n /* {\n fieldName: \"姓名\",\n fields: \"clerkName\"\n },*/\n ],\n defineList: [\n /* {\n fieldName: \"姓名\",\n fields: \"clerkName\"\n }*/\n ]\n },\n showCustomDialog: false, // 自定义弹框显示标志\n detailData: [], // 已选数据 '类型:1行政架构,2门店架构'\n dataType: null, //'类型:1行政架构,2门店架构'\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 自定义弹窗显示事件\n */\n showDialogLayer(type) {\n const that = this\n that.showCustomDialog = true;\n that.dataType = type;\n if (type === 1) {\n that.detailData = that.adminStruct.fixedList.map(item=>item.fields).concat(that.adminStruct.defineList.map(item=>item.fields));\n }else {\n that.detailData = that.storeStruct.fixedList.map(item=>item.fields).concat(that.storeStruct.defineList.map(item=>item.fields));\n }\n },\n\n /**\n * 自定义弹框触发事件\n */\n customHandleConfirm(val) {\n const that = this;\n that.showCustomDialog = false;\n if (!!val) { return false; }\n that.getSaveFields(that.dataType);\n },\n\n /**\n * 删除字段\n */\n delField(index,item,list,flag) {\n const that = this;\n that.$alert('确定要删除?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n }).then(({ value }) => {\n that.postDlField(item.fields,flag,list,index);\n }).catch(() => {\n });\n },\n\n /**\n * 删除字段---api\n */\n postDlField(code,type,list,index) {\n const that = this;\n const para = {\n fields: code,\n type: type // 类型:1行政架构,2门店架构'\n }\n postRequest('/haoban-manage-web/record/employee-show-field-delete.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n showMsg.showmsg('删除成功','success')\n list.splice(index,1);\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 获取已经选择的字段\n */\n getSaveFields(type) {\n const that = this;\n if (type === 1) {\n that.adminStruct.fixedList = [];\n that.adminStruct.defineList = [];\n }else {\n that.storeStruct.fixedList = [];\n that.storeStruct.defineList = [];\n }\n const para = {\n type: type,// 类型:1行政架构,2门店架构'\n }\n postRequest('/haoban-manage-web/record/employee-show-field-detail.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n resData.result.forEach(function(ele,index){\n if (Number.parseInt(type) === 1) {\n that.fixData.includes(ele.fields)? that.adminStruct.fixedList.push(ele) : that.adminStruct.defineList.push(ele);\n }else {\n that.fixDataStore.includes(ele.fields)? that.storeStruct.fixedList.push(ele) : that.storeStruct.defineList.push(ele);\n }\n })\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n },\n mounted() {\n const that = this;\n Promise.all([that.getSaveFields(1),that.getSaveFields(2)]);\n },\n components: {\n navCrumb,\n staffDetailField\n }\n}\n\n</script>\n<style lang=\"less\" scoped>\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n background: #fff;\n padding: 24px;\n min-height: 500px;\n\n h2 {\n font-size: 16px;\n color: #303133;\n }\n\n .m-l-8 {\n margin-left: 8px;\n }\n\n .m-r-20 {\n margin-left: 20px;\n }\n\n .m-b-25 {\n margin-bottom: 25px;\n }\n\n .staffDetails-cell {\n &+.staffDetails-cell {\n margin-top: 14px;\n padding-top: 36px;\n border-top: 1px solid #E4E7ED;\n }\n }\n\n .el-tag {\n position: relative;\n cursor: pointer;\n\n .el-icon-circle-close {\n position: absolute;\n top: -10px;\n right: -10px;\n font-size: 16px;\n color: #808995;\n cursor: pointer;\n &:hover {\n color: #f56c6c;\n }\n }\n }\n\n .staffDetails-cell-btn {\n width: 110px;\n height: 32px;\n padding: 0;\n margin: 0 20px 20px 0;\n text-align: center;\n vertical-align: top;\n font-size: 12px;\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/staffDetails.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"staffDetails-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'height': _vm.$store.state.bgHeight,'overflow-y': 'auto'})},[_c('div',{staticClass:\"staffDetails-cell\"},[_c('h2',{staticClass:\"m-b-25 font-w-500\"},[_vm._v(_vm._s(_vm.adminStruct.name))]),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-fixed\"},[_vm._l((_vm.adminStruct.fixedList),function(item,index){return [_c('el-button',{staticClass:\"staffDetails-cell-btn\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(item.fieldName))])]})],2),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-add font-0\"},[_vm._l((_vm.adminStruct.defineList),function(item,index){return [_c('el-tag',{staticClass:\"staffDetails-cell-btn\"},[_vm._v(_vm._s(item.fieldName)+\" \"),_c('i',{staticClass:\"el-icon-circle-close\",on:{\"click\":function($event){$event.stopPropagation();_vm.delField(index,item,_vm.adminStruct.defineList,1)}}})])]}),_vm._v(\" \"),_c('el-button',{staticClass:\"el-tag m-l-8 staffDetails-cell-btn\",on:{\"click\":function($event){$event.stopPropagation();_vm.showDialogLayer(1)}}},[_c('i',{staticClass:\"el-icon-plus\"}),_vm._v(\"添加字段\")])],2)]),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell\"},[_c('h2',{staticClass:\"m-b-25 font-w-500\"},[_vm._v(_vm._s(_vm.storeStruct.name))]),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-fixed\"},[_vm._l((_vm.storeStruct.fixedList),function(item,index){return [_c('el-button',{staticClass:\"staffDetails-cell-btn\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(item.fieldName))])]})],2),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-add font-0\"},[_vm._l((_vm.storeStruct.defineList),function(item,index){return [_c('el-tag',{staticClass:\"staffDetails-cell-btn\"},[_vm._v(_vm._s(item.fieldName)+\" \"),_c('i',{staticClass:\"el-icon-circle-close\",on:{\"click\":function($event){$event.stopPropagation();_vm.delField(index,item,_vm.storeStruct.defineList,2)}}})])]}),_vm._v(\" \"),_c('el-button',{staticClass:\"el-tag m-l-8 staffDetails-cell-btn\",on:{\"click\":function($event){$event.stopPropagation();_vm.showDialogLayer(2)}}},[_c('i',{staticClass:\"el-icon-plus\"}),_vm._v(\"添加字段\")])],2)])])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('staff-detail-field',{attrs:{\"detailData\":_vm.detailData,\"showCustomDialog\":_vm.showCustomDialog,\"dataType\":_vm.dataType},on:{\"customHandleConfirm\":_vm.customHandleConfirm}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-09b6d997\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/setting/staffDetails.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-09b6d997\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./staffDetails.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staffDetails.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staffDetails.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-09b6d997\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./staffDetails.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-09b6d997\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/setting/staffDetails.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/set/staff-detail-field.vue","webpack:///./src/components/set/staff-detail-field.vue?322f","webpack:///./src/components/set/staff-detail-field.vue","webpack:///src/views/setting/staffDetails.vue","webpack:///./src/views/setting/staffDetails.vue?5acf","webpack:///./src/views/setting/staffDetails.vue"],"names":["staff_detail_field","name","props","showCustomDialog","type","Boolean","default","detailData","Array","dataType","Number","data","repProjectName","customDialog","fixData","fixDataStore","customData","checkList","baseUrl","beforeMount","host","window","location","origin","console","log","indexOf","this","computed","methods","handleCardClose","customCancel","$emit","customConfirm","Object","js_public","map","item","flat","saveFields","customChange","value","that","para","fields","api","then","res","resData","errorCode","showmsg","error","errorMsg","catch","$message","duration","message","treeData","tree","filter","father","branchArr","child","fieldCode","parentCode","length","children","sort","a","b","forEach","ele","index","getAllFields","handleAllFields","result","newResult","handleDetailData","el","key","includes","push","disable","watch","newData","oldData","mounted","set_staff_detail_field","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","title","visible","width","before-close","on","update:visible","$event","_v","_l","_s","fieldName","change","model","callback","$$v","$set","expression","childItem","childIndex","label","disabled","slot","click","staticRenderFns","components_set_staff_detail_field","__webpack_require__","normalizeComponent","ssrContext","staffDetails","navpath","path","adminStruct","fixedList","defineList","storeStruct","showDialogLayer","concat","customHandleConfirm","val","getSaveFields","delField","list","flag","$alert","confirmButtonText","cancelButtonText","_ref","postDlField","code","splice","parse_int_default","promise_default","all","components","navCrumb","nav","staffDetailField","setting_staffDetails","style","height","$store","state","bgHeight","stopPropagation","staffDetails_Component","staffDetails_normalizeComponent","__webpack_exports__"],"mappings":"qOAqCAA,cACAC,KAAA,qBACAC,OACAC,kBACAC,KAAAC,QACAC,SAAA,GAEAC,YACAH,KAAAI,MACAF,YAEAG,UACAL,KAAAM,OACAJ,QAAA,IAGAK,KAhBA,WAiBA,OACAC,eAAA,UACAC,cAAA,EACAC,SAAA,qDACAC,cAAA,iEAEAC,cAgFAC,aAGAC,QAAA,KAGAC,YA7GA,WA8GA,IACAC,EAAAC,OAAAC,SAAAC,OACAC,QAAAC,IAAA,UAAAL,GACA,MAAAA,EAAAM,QAAA,aAHAC,KAIAT,QAAA,4BAJAS,KAMAT,QAAAE,GAGAQ,YAGAC,SAKAC,gBALA,WAMAH,KACAI,gBAMAA,aAbA,WAcAJ,KACAd,cAAA,EADAc,KAEAK,MAAA,+BAQAC,cAAAC,OAAAC,EAAA,EAAAD,CAAA,WACAP,KACAV,UADAU,KACAX,WAAAoB,IAAA,SAAAC,GAAA,OAAAA,EAAApB,YAAAqB,OADAX,KAEAY,WAFAZ,KAEAlB,WACA,KAKA+B,aAjCA,SAiCAC,GAEAjB,QAAAC,IAAAgB,IAMAF,WAzCA,SAyCAnC,GACA,IAAAsC,EAAAf,KACAgB,GACAC,OAAAF,EAAAzB,UACAb,QAGM8B,OAAAW,EAAA,EAAAX,CAAN,0DAAAS,GACAG,KAAA,SAAAC,GAEA,IAAAC,EAAAD,EAAApC,KACA,MAAAqC,EAAAC,UAGA,OAFUC,EAAA,EAAVA,QAAA,uBACAR,EAAAV,MAAA,uBAIQmB,EAAA,EAARC,SAAAJ,KAGAK,MAAA,SAAAF,GACA3B,QAAAC,IAAA0B,GAEAT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EAAQ,SAaS,kBAEU,MAUdyC,EAAA,QAAAF,EAAiB","file":"static/js/24.fc2fa459d74a02e3f722.js","sourcesContent":["<template>\n <div class=\"custom-dialog-wrap\">\n <el-dialog title=\"员工个人详情页展示字段设置\" :visible.sync=\"customDialog\" width=\"761px\" :before-close=\"handleCardClose\">\n <div class=\"custom-dialog__title\">\n <p class=\"custom-dialog__p\">tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加</p>\n </div>\n <div class=\"custom-dialog-body\">\n <template v-for=\"(item,index) in customData\">\n <div class=\"detail-field-cell flex\" :key=\"index\">\n <div class=\"detail-field-left\">{{item.fieldName}}</div>\n <div class=\"detail-field-right flex\">\n <el-checkbox-group class=\"flex flex-wrap\" v-model=\"item.checkList\" @change=\"customChange\">\n <el-checkbox v-for=\"(childItem,childIndex) in item.children\"\n :label=\"childItem.fieldCode\"\n :key=\"childItem.fieldCode\"\n :disabled=\"childItem.disable\"\n name=\"type\" >\n {{childItem.fieldName}}\n </el-checkbox>\n </el-checkbox-group>\n </div>\n </div>\n </template>\n </div>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"customCancel\">取 消</el-button>\n <el-button type=\"primary\" @click=\"customConfirm\">确 定</el-button>\n </div>\n </el-dialog>\n </div>\n</template>\n<script>\n import { _debounce } from \"@/common/js/public\";\n import { getRequest, postRequest, postJsonRequest } from '@/api/api';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import qs from 'qs';\n export default {\n name: 'staff-detail-field',\n props: {\n showCustomDialog: {\n type: Boolean,\n default: false\n },\n detailData: {\n type: Array,\n default: []\n },\n dataType: {\n type: Number,\n default: 1 //'类型:1行政架构,2门店架构'\n }\n },\n data () {\n return {\n repProjectName: 'gic-web', // 项目名\n customDialog: false, // 弹框显示\n fixData: ['clerkName','clerkPhone','groupName','positionName'],\n fixDataStore: ['clerkName','clerkPhone','groupName','positionName','clerkCode'],\n // 复选框数据\n customData: [\n // {\n // fieldCode: 1,\n // fieldName: \"基本信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // },\n // {\n // fieldCode: 'phone',\n // fieldName: '手机号'\n // },\n // {\n // fieldCode: 'email',\n // fieldName: '邮箱'\n // },\n // {\n // fieldCode: 'profession',\n // fieldName: '职业'\n // },\n // {\n // fieldCode: 'hiredate',\n // fieldName: '入职时间'\n // },\n\n // ]\n // },\n // {\n // fieldCode: 2,\n // fieldName: \"工作信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // }\n // ]\n // },\n // {\n // fieldCode: 3,\n // fieldName: \"个人信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // },\n // ]\n // },\n // {\n // fieldCode: 4,\n // fieldName: \"学历信息\",\n // checkList: [],\n // children: [\n // {\n // fieldCode: 'name',\n // fieldName: '姓名'\n // },\n // {\n // fieldCode: 'depart',\n // fieldName: '部门'\n // },\n // ]\n // },\n\n ],\n checkList: [], //已选数据\n\n // 获取 location origin\n baseUrl: '',\n }\n },\n beforeMount() {\n const that = this\n var host = window.location.origin;\n console.log(\"当前host:\",host)\n if (host.indexOf('localhost') != '-1') {\n that.baseUrl = 'http://gicdev.demogic.com';\n }else {\n that.baseUrl = host\n }\n },\n computed: {\n\n },\n methods:{\n\n /**\n * 关闭\n */\n handleCardClose() {\n const that = this;\n that.customCancel();\n },\n\n /**\n * 取消\n */\n customCancel() {\n const that = this;\n that.customDialog = false\n that.$emit('customHandleConfirm','hide')\n },\n\n\n\n /**\n * 确定\n */\n customConfirm: _debounce(function() {\n const that = this;\n that.checkList = that.customData.map(item=>item.checkList).flat();\n that.saveFields(that.dataType);\n },500),\n\n /**\n * 复选框选择事件\n */\n customChange(value) {\n const that = this\n console.log(value)\n },\n\n /**\n * 保存已经勾选\n */\n saveFields(type) {\n const that = this;\n const para = {\n fields: that.checkList,\n type: type,// 类型:1行政架构,2门店架构'\n }\n\n postRequest('/haoban-manage-web/record/employee-show-field-save.json',para)\n .then((res) => {\n // console.log(res,res.data,res.data.errorCode)\n var resData = res.data\n if (resData.errorCode == 1) {\n showMsg.showmsg('添加成功','success');\n that.$emit('customHandleConfirm')\n return;\n }\n\n errMsg.errorMsg(resData)\n\n })\n .catch(function (error) {\n console.log(error);\n\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 简单数组-->父子数组对象\n */\n treeData(data){\n let tree = data.filter((father)=>{ //循环所有项\n let branchArr = data.filter((child)=>{\n return father.fieldCode == child.parentCode; //返回每一项的子级数组\n });\n if(branchArr.length>0){\n father.children = branchArr; //如果存在子级,则给父级添加一个children属性,并赋值\n }\n return father.parentCode == 0; //返回第一层\n });\n // 排序\n tree.sort(function(a,b){\n return a.sort - b.sort;\n })\n\n tree.forEach(function(ele,index){\n ele.children.sort(function(a,b){\n return a.sort - b.sort;\n })\n })\n return tree;\n },\n\n /**\n * 获取所有字段\n */\n getAllFields() {\n const that = this;\n postRequest('/haoban-manage-web/record/employee-find-system-template.json',{})\n .then((res) => {\n // console.log(res.data)\n let resData = res.data\n if (resData.errorCode == 1) {\n that.handleAllFields(resData.result)\n return;\n }\n errMsg.errorMsg(resData)\n\n })\n .catch(function (error) {\n // console.log(error);\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 处理所有系统模板信息\n */\n handleAllFields(result) {\n const that = this\n // console.log(that.treeData(result))\n let newResult = that.treeData(result);\n newResult.forEach(function(ele,index){\n ele.checkList = []\n // ele.children.forEach(function(el,key){\n // el.disable = that.dataType == 1 ? that.fixData.includes(el.fieldCode) : that.fixDataStore.includes(el.fieldCode)\n // })\n })\n that.customData = newResult;\n },\n\n /**\n * 处理已选信息\n */\n handleDetailData() {\n const that = this\n that.customData.forEach(function(ele,index) {\n ele.checkList = [];\n ele.children.forEach(function(el,key){\n\n that.checkList.includes(el.fieldCode)? ele.checkList.push(el.fieldCode): '';\n el.disable = that.dataType == 1 ? that.fixData.includes(el.fieldCode) : that.fixDataStore.includes(el.fieldCode)\n })\n })\n }\n\n },\n watch: {\n showCustomDialog: function(newData,oldData){\n const that = this;\n that.customDialog = newData\n },\n detailData: function(newData,oldData){\n const that = this;\n // console.log(newData)\n that.checkList = !!newData && !!newData.length ? newData: [];\n that.handleDetailData()\n }\n },\n\n /* 接收数据 */\n mounted(){\n // console.log(\"传递的参数对象:\",this.showCustomDialog)\n const that = this;\n that.customDialog = that.showCustomDialog;\n that.getAllFields()\n },\n\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .custom-dialog {\n &-body {\n width: 100%;\n height: 410px;\n padding: 5px 0 22px 0;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow-y: auto;\n }\n &-wrap {\n .border-box {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n /* display */\n .inline-block {\n display: inline-block;\n }\n\n .block {\n display: block;\n }\n\n .top {\n vertical-align: top;\n }\n\n .middle {\n vertical-align: middle;\n }\n\n /* flex */\n .flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n }\n\n .flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n }\n\n .flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n }\n\n .flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n }\n\n .flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n }\n\n .flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n\n .flex-between {\n -webkit-justify-content: space-between;\n justify-content: space-between;\n }\n\n .flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n }\n\n .detail-field {\n &-cell {\n width: 100%;\n margin-top: 24px;\n .el-checkbox {\n min-width: 25%;\n margin-bottom: 24px;\n &+.el-checkbox {\n margin-left: 0;\n }\n\n &.is-checked {\n /deep/ .el-checkbox__label{\n color: #1890ff;\n }\n }\n }\n }\n\n &-left {\n width: 100px;\n padding-top: 4px;\n }\n &-right {\n width: calc(100% - 100px);\n\n .el-checkbox-group {\n width: 100%;\n\n }\n }\n }\n }\n\n &__title {\n width: 100%;\n height:38px;\n padding: 12px 15px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n background:rgba(235,238,245,1);\n }\n\n &__p {\n width: 100%;\n font-size: 14px;\n color: #606266;\n\n span {\n color: #1890ff;\n }\n }\n\n &__checkbox {\n width: 100%;\n height: 410px;\n padding-top: 10px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow-y: auto;\n\n .el-checkbox {\n width: 22%;\n margin-left: 16px;\n line-height: 62px;\n }\n }\n\n\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/set/staff-detail-field.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"custom-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"员工个人详情页展示字段设置\",\"visible\":_vm.customDialog,\"width\":\"761px\",\"before-close\":_vm.handleCardClose},on:{\"update:visible\":function($event){_vm.customDialog=$event}}},[_c('div',{staticClass:\"custom-dialog__title\"},[_c('p',{staticClass:\"custom-dialog__p\"},[_vm._v(\"tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加\")])]),_vm._v(\" \"),_c('div',{staticClass:\"custom-dialog-body\"},[_vm._l((_vm.customData),function(item,index){return [_c('div',{key:index,staticClass:\"detail-field-cell flex\"},[_c('div',{staticClass:\"detail-field-left\"},[_vm._v(_vm._s(item.fieldName))]),_vm._v(\" \"),_c('div',{staticClass:\"detail-field-right flex\"},[_c('el-checkbox-group',{staticClass:\"flex flex-wrap\",on:{\"change\":_vm.customChange},model:{value:(item.checkList),callback:function ($$v) {_vm.$set(item, \"checkList\", $$v)},expression:\"item.checkList\"}},_vm._l((item.children),function(childItem,childIndex){return _c('el-checkbox',{key:childItem.fieldCode,attrs:{\"label\":childItem.fieldCode,\"disabled\":childItem.disable,\"name\":\"type\"}},[_vm._v(\"\\n \"+_vm._s(childItem.fieldName)+\"\\n \")])}))],1)])]})],2),_vm._v(\" \"),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.customCancel}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.customConfirm}},[_vm._v(\"确 定\")])],1)])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-110ef18e\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/set/staff-detail-field.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-110ef18e\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./staff-detail-field.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staff-detail-field.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staff-detail-field.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-110ef18e\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./staff-detail-field.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-110ef18e\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/set/staff-detail-field.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"staffDetails-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\" :style=\"{'height': $store.state.bgHeight}\">\n <div class=\"staffDetails-cell\">\n <h2 class=\"m-b-25 font-w-500\">{{adminStruct.name}}</h2>\n <div class=\"staffDetails-cell-fixed\">\n <template v-for=\"(item,index) in adminStruct.fixedList\">\n <el-button disabled class=\"staffDetails-cell-btn\">{{item.fieldName}}</el-button>\n </template>\n </div>\n <div class=\"staffDetails-cell-add font-0\">\n <template v-for=\"(item,index) in adminStruct.defineList\">\n <el-tag class=\"staffDetails-cell-btn\">{{item.fieldName}} <i class=\"el-icon-circle-close\" @click.stop=\"delField(index,item,adminStruct.defineList,1)\"></i></el-tag>\n </template>\n <el-button class=\"el-tag m-l-8 staffDetails-cell-btn\" @click.stop=\"showDialogLayer(1)\"><i class=\"el-icon-plus\"></i>添加字段</el-button>\n </div>\n </div>\n <div class=\"staffDetails-cell\">\n <h2 class=\"m-b-25 font-w-500\">{{storeStruct.name}}</h2>\n <div class=\"staffDetails-cell-fixed\">\n <template v-for=\"(item,index) in storeStruct.fixedList\">\n <el-button disabled class=\"staffDetails-cell-btn\">{{item.fieldName}}</el-button>\n </template>\n </div>\n <div class=\"staffDetails-cell-add font-0\">\n <template v-for=\"(item,index) in storeStruct.defineList\">\n <el-tag class=\"staffDetails-cell-btn\">{{item.fieldName}} <i class=\"el-icon-circle-close\" @click.stop=\"delField(index,item,storeStruct.defineList,2)\"></i></el-tag>\n </template>\n <el-button class=\"el-tag m-l-8 staffDetails-cell-btn\" @click.stop=\"showDialogLayer(2)\"><i class=\"el-icon-plus\"></i>添加字段</el-button>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n <!-- 自定义字段 -->\n <staff-detail-field\n :detailData=\"detailData\"\n :showCustomDialog=\"showCustomDialog\"\n :dataType=\"dataType\"\n @customHandleConfirm=\"customHandleConfirm\">\n </staff-detail-field>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport staffDetailField from '@/components/set/staff-detail-field.vue';\nimport strLength from '@/common/js/strlen';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport { _debounce } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"staffDetails\",\n data() {\n return {\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '设置',\n path: '/companyAddress'\n },\n {\n name: '通讯录信息',\n path: '/staffDetails'\n },\n {\n name: '员工详细字段',\n path: ''\n }\n ],\n // 固定的字段\n fixData: ['clerkName','clerkPhone','groupName','positionName'],\n fixDataStore: ['clerkName','clerkPhone','groupName','positionName','clerkCode'],\n // 行政架构\n adminStruct: {\n name: '行政架构通讯录员工详情字段',\n fixedList: [\n /*{\n fieldName: \"姓名\",\n fields: \"clerkName\"\n }*/\n ],\n defineList: [\n /* {\n fieldName: \"姓名\",\n fields: \"clerkName\"\n },*/\n ],\n },\n // 门店架构'\n storeStruct: {\n name: '门店架构通讯录员工详情字段',\n fixedList: [\n /* {\n fieldName: \"姓名\",\n fields: \"clerkName\"\n },*/\n ],\n defineList: [\n /* {\n fieldName: \"姓名\",\n fields: \"clerkName\"\n }*/\n ]\n },\n showCustomDialog: false, // 自定义弹框显示标志\n detailData: [], // 已选数据 '类型:1行政架构,2门店架构'\n dataType: null, //'类型:1行政架构,2门店架构'\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 自定义弹窗显示事件\n */\n showDialogLayer(type) {\n const that = this\n that.showCustomDialog = true;\n that.dataType = type;\n if (type === 1) {\n that.detailData = that.adminStruct.fixedList.map(item=>item.fields).concat(that.adminStruct.defineList.map(item=>item.fields));\n }else {\n that.detailData = that.storeStruct.fixedList.map(item=>item.fields).concat(that.storeStruct.defineList.map(item=>item.fields));\n }\n },\n\n /**\n * 自定义弹框触发事件\n */\n customHandleConfirm(val) {\n const that = this;\n that.showCustomDialog = false;\n if (!!val) { return false; }\n that.getSaveFields(that.dataType);\n },\n\n /**\n * 删除字段\n */\n delField(index,item,list,flag) {\n const that = this;\n that.$alert('确定要删除?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n }).then(({ value }) => {\n that.postDlField(item.fields,flag,list,index);\n }).catch(() => {\n });\n },\n\n /**\n * 删除字段---api\n */\n postDlField(code,type,list,index) {\n const that = this;\n const para = {\n fields: code,\n type: type // 类型:1行政架构,2门店架构'\n }\n postRequest('/haoban-manage-web/record/employee-show-field-delete.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n showMsg.showmsg('删除成功','success')\n list.splice(index,1);\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 获取已经选择的字段\n */\n getSaveFields(type) {\n const that = this;\n if (type === 1) {\n that.adminStruct.fixedList = [];\n that.adminStruct.defineList = [];\n }else {\n that.storeStruct.fixedList = [];\n that.storeStruct.defineList = [];\n }\n const para = {\n type: type,// 类型:1行政架构,2门店架构'\n }\n postRequest('/haoban-manage-web/record/employee-show-field-detail.json',para)\n .then((res) => {\n let resData = res.data\n if (resData.errorCode == 1) {\n resData.result.forEach(function(ele,index){\n if (Number.parseInt(type) === 1) {\n that.fixData.includes(ele.fields)? that.adminStruct.fixedList.push(ele) : that.adminStruct.defineList.push(ele);\n }else {\n that.fixDataStore.includes(ele.fields)? that.storeStruct.fixedList.push(ele) : that.storeStruct.defineList.push(ele);\n }\n })\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n },\n mounted() {\n const that = this;\n Promise.all([that.getSaveFields(1),that.getSaveFields(2)]);\n },\n components: {\n navCrumb,\n staffDetailField\n }\n}\n\n</script>\n<style lang=\"less\" scoped>\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n background: #fff;\n padding: 24px;\n min-height: 500px;\n\n h2 {\n font-size: 16px;\n color: #303133;\n }\n\n .m-l-8 {\n margin-left: 8px;\n }\n\n .m-r-20 {\n margin-left: 20px;\n }\n\n .m-b-25 {\n margin-bottom: 25px;\n }\n\n .staffDetails-cell {\n &+.staffDetails-cell {\n margin-top: 14px;\n padding-top: 36px;\n border-top: 1px solid #E4E7ED;\n }\n }\n\n .el-tag {\n position: relative;\n cursor: pointer;\n\n .el-icon-circle-close {\n position: absolute;\n top: -10px;\n right: -10px;\n font-size: 16px;\n color: #808995;\n cursor: pointer;\n &:hover {\n color: #f56c6c;\n }\n }\n }\n\n .staffDetails-cell-btn {\n width: 110px;\n height: 32px;\n padding: 0;\n margin: 0 20px 20px 0;\n text-align: center;\n vertical-align: top;\n font-size: 12px;\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/staffDetails.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"staffDetails-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\",style:({'height': _vm.$store.state.bgHeight})},[_c('div',{staticClass:\"staffDetails-cell\"},[_c('h2',{staticClass:\"m-b-25 font-w-500\"},[_vm._v(_vm._s(_vm.adminStruct.name))]),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-fixed\"},[_vm._l((_vm.adminStruct.fixedList),function(item,index){return [_c('el-button',{staticClass:\"staffDetails-cell-btn\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(item.fieldName))])]})],2),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-add font-0\"},[_vm._l((_vm.adminStruct.defineList),function(item,index){return [_c('el-tag',{staticClass:\"staffDetails-cell-btn\"},[_vm._v(_vm._s(item.fieldName)+\" \"),_c('i',{staticClass:\"el-icon-circle-close\",on:{\"click\":function($event){$event.stopPropagation();_vm.delField(index,item,_vm.adminStruct.defineList,1)}}})])]}),_vm._v(\" \"),_c('el-button',{staticClass:\"el-tag m-l-8 staffDetails-cell-btn\",on:{\"click\":function($event){$event.stopPropagation();_vm.showDialogLayer(1)}}},[_c('i',{staticClass:\"el-icon-plus\"}),_vm._v(\"添加字段\")])],2)]),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell\"},[_c('h2',{staticClass:\"m-b-25 font-w-500\"},[_vm._v(_vm._s(_vm.storeStruct.name))]),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-fixed\"},[_vm._l((_vm.storeStruct.fixedList),function(item,index){return [_c('el-button',{staticClass:\"staffDetails-cell-btn\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(item.fieldName))])]})],2),_vm._v(\" \"),_c('div',{staticClass:\"staffDetails-cell-add font-0\"},[_vm._l((_vm.storeStruct.defineList),function(item,index){return [_c('el-tag',{staticClass:\"staffDetails-cell-btn\"},[_vm._v(_vm._s(item.fieldName)+\" \"),_c('i',{staticClass:\"el-icon-circle-close\",on:{\"click\":function($event){$event.stopPropagation();_vm.delField(index,item,_vm.storeStruct.defineList,2)}}})])]}),_vm._v(\" \"),_c('el-button',{staticClass:\"el-tag m-l-8 staffDetails-cell-btn\",on:{\"click\":function($event){$event.stopPropagation();_vm.showDialogLayer(2)}}},[_c('i',{staticClass:\"el-icon-plus\"}),_vm._v(\"添加字段\")])],2)])])]),_vm._v(\" \"),_c('vue-gic-footer'),_vm._v(\" \"),_c('staff-detail-field',{attrs:{\"detailData\":_vm.detailData,\"showCustomDialog\":_vm.showCustomDialog,\"dataType\":_vm.dataType},on:{\"customHandleConfirm\":_vm.customHandleConfirm}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-3969865c\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/setting/staffDetails.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-3969865c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./staffDetails.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staffDetails.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./staffDetails.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3969865c\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./staffDetails.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-3969865c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/setting/staffDetails.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/setting/setChildAdmin.vue","webpack:///./src/views/setting/setChildAdmin.vue?e1cf","webpack:///./src/views/setting/setChildAdmin.vue"],"names":["setChildAdmin","name","data","windowH","window","screen","availHeight","tableH","navpath","path","boxHeight","isAddAdmin","activeId","activeBrandId","roleListData","roleRightObj","roleName","tip","roleCode","isEdit","tableData","currentPage","pageSize","total","computed","methods","changeRoute","this","$router","push","toRoleDetail","type","selectRole","item","brandId","roleId","getRoleUsers","toAddRole","handleDel","index","that","$alert","confirmButtonText","cancelButtonText","then","_ref","value","postDelUser","userId","catch","para","Object","api","res","resData","errorCode","showmsg","splice","error","errorMsg","$message","duration","message","handleShow","handleSizeChange","val","handleCurrentChange","pageNum","result","totalCount","getRoles","roleList","length","mounted","components","navCrumb","nav","setting_setChildAdmin","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","style","height","_l","pItem","pIndex","key","_s","brandName","canAddRole","size","on","click","$event","_e","class","stopPropagation","title","closable","show-icon","staticStyle","width","prop","label","scopedSlots","_u","fn","scope","row","canEdit","$index","undefined","background","current-page","page-sizes","page-size","layout","size-change","current-change","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"uMAgHAA,GACAC,KAAA,gBACAC,KAFA,WAGA,OACAC,QAAAC,OAAAC,OAAAC,YAAA,SACAC,OAAAH,OAAAC,OAAAC,YAAA,QAEAE,UAEAP,KAAA,KACAQ,KAAA,WAGAR,KAAA,KACAQ,KAAA,oBAGAR,KAAA,SACAQ,KAAA,KAGAC,UAAAN,OAAAC,OAAAC,YAAA,KACAK,WAAA,GACAC,SAAA,GACAC,cAAA,GACAC,gBAgBAC,cACAC,SAAA,QACAC,IAAA,yBACAC,SAAA,GACAC,OAAA,GAGAC,aASAC,YAAA,EACAC,SAAA,GACAC,MAAA,IAGAC,YAGAC,SAIAC,YAJA,SAIAjB,GACAkB,KAAAC,QAAAC,KAAApB,IAMAqB,aAXA,SAWAC,GACAJ,KACAD,YAAA,wBADAC,KACA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AC,GAAyBpB,EAAAhB,WAAAkD,EAAAG,OAAAH,EAAAC,IAAAnC,EAAAhE,aAAAG,cAAmE6D,EAAAO,GAAA,QAAAP,EAAAO,GAAA,KAAAJ,EAAA,aAA6CG,OAAOtD,KAAA,OAAAiE,KAAA,SAA6BC,IAAKC,MAAA,SAAAC,GAAyBpB,EAAAzC,UAAA2E,EAAAG,OAAAH,EAAAC,SAAwCnC,EAAAO,GAAA,cAAA+B,SAAgC,GAAAtC,EAAAO,GAAA,QAAAP,EAAA3D,UAAAoD,OAAAU,EAAA,OAAsDE,YAAA,uCAAiDF,EAAA,iBAAsBG,OAAOiC,WAAA,GAAAC,eAAAxC,EAAA1D,YAAAmG,cAAA,aAAAC,YAAA1C,EAAAzD,SAAAoG,OAAA,0CAAAnG,MAAAwD,EAAAxD,OAA2K0E,IAAK0B,cAAA5C,EAAAf,iBAAA4D,iBAAA7C,EAAAb,wBAA6E,GAAAa,EAAAqB,MAAA,WAAArB,EAAAO,GAAA,KAAAJ,EAAA,uBAEz0H2C,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEhI,EACA6E,GATF,EAVA,SAAAoD,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/38.7cd271edb5663859b41a.js","sourcesContent":["<template>\n <div class=\"setChildAdmin-wrap common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\" :style=\"{'height': windowH}\">\n <div class=\"right-box\">\n <div class=\"setChildAdmin-wrap-body flex\">\n <div class=\"setChildAdmin-wrap-left w-260\" :style=\"{height: boxHeight}\">\n\n <div class=\"m-t-20\" v-for=\"(pItem,pIndex) in roleListData\" :key=\"pIndex\">\n <div class=\"role-cell-head flex\">\n <div class=\"flex-1 max-half role-cell-head_name\">{{pItem.brandName}}</div>\n <div class=\"text-right flex-1 \" v-if=\"!!pItem.canAddRole\"><el-button size=\"mini\" @click=\"changeRoute('/addAdminRole?brandId=' + pItem.brandId)\">新增角色</el-button></div>\n </div>\n <ul>\n <li\n v-for=\"(item,index) in pItem.roleList\"\n :key=\"index\"\n :class=\"['role-cell border-bottom-1',(pItem.brandId == activeBrandId && item.roleId == activeId)? 'role-active':'']\"\n @click.stop=\"selectRole(item,pItem.brandId)\">\n <i class=\"iconfont icon-lizhi p-r-6\"></i>\n {{item.roleName}}\n </li>\n </ul>\n </div>\n </div>\n <div class=\"setChildAdmin-wrap-right box-sizing\">\n <div class=\"role-title flex flex-between m-b-25\">\n <span class=\"font-20 color-303133\">\n {{roleRightObj.roleName}}\n </span><span\n class=\"font-14 color-1890ff pinter\"\n v-if=\"roleRightObj.roleCode !='child_admin'\"\n @click=\"toRoleDetail('show')\">\n 查看权限\n </span><span\n class=\"font-14 color-1890ff pinter\"\n v-if=\"roleRightObj.roleCode =='child_admin'\"\n @click=\"toRoleDetail('edit')\">\n 编辑权限\n </span>\n </div>\n <div class=\"role-tip \" v-if=\"roleRightObj.roleCode === 'master_admin' || roleRightObj.roleCode === 'admin'\">\n <el-alert\n :title=\"roleRightObj.roleCode === 'master_admin'?'企业的创建者,拥有企业的所有权限,只会有一个':roleRightObj.roleCode === 'admin'? '企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个': ''\"\n type=\"info\"\n :closable=\"false\"\n show-icon>\n </el-alert>\n </div>\n <div class=\"role-add m-t-27\" v-if=\"!!roleRightObj.isEdit\">\n <el-button type=\"primary\" @click=\"toAddRole(roleRightObj.roleCode)\">添加成员</el-button>\n </div>\n <div :class=\"['role-table', !!roleRightObj.isEdit?'': 'm-t-27']\">\n <el-table\n :data=\"tableData\"\n :height=\"tableH\"\n style=\"width: 100%\">\n <el-table-column\n prop=\"clerkName\"\n label=\"姓名\"\n >\n </el-table-column>\n <el-table-column\n prop=\"clerkPhone\"\n label=\"手机号\"\n >\n </el-table-column>\n <el-table-column\n prop=\"groupName\"\n label=\"部门\">\n </el-table-column>\n <el-table-column\n label=\"操作\">\n <template slot-scope=\"scope\" v-if=\"scope.row.canEdit == 1\">\n <el-button\n @click=\"handleShow(scope.$index,scope.row,roleRightObj.roleCode)\"\n type=\"text\"\n size=\"small\">编辑</el-button>\n <el-button\n @click=\"handleDel(scope.$index,scope.row)\"\n type=\"text\"\n size=\"small\">删除</el-button>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport strLength from '@/common/js/strlen';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport { _debounce } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"setChildAdmin\",\n data() {\n return {\n windowH: (window.screen.availHeight - 440) + 'px',\n tableH: window.screen.availHeight - 440 - 180,\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '设置',\n path: '/companyAddress'\n },\n {\n name: '设置子管理员',\n path: ''\n }\n ],\n boxHeight: window.screen.availHeight + 'px',\n isAddAdmin: '', // 是否有添加管理员权限\n activeId: '', // 当前选择的管理员 id\n activeBrandId: '',// 当前选择的管理员对应的品牌 id\n roleListData: [\n // {\n // brandId: '1',\n // brandName: '集团',\n // roleList: [\n // {\n // roleId: '1',\n // roleName: '超级管理员'\n // },\n // {\n // roleId: '2',\n // roleName: '企业管理员'\n // }\n // ],\n // }\n ],\n roleRightObj: {\n roleName: '超级管理员',\n tip: '企业的创建者,拥有企业的所有权限,只会有一个',\n roleCode: '',\n isEdit: 0\n },\n // 角色表格数据\n tableData: [\n // {\n // userId: 1,\n // clerkName: '张三',\n // clerkPhone: '13333333333',\n // groupName: '技术部'\n // }\n ],\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 路由跳转\n */\n changeRoute(path) {\n this.$router.push(path);\n },\n\n /**\n * role 详情\n */\n toRoleDetail(type) {\n const that = this;\n that.changeRoute(`/addAdminRole?roleId=${that.activeId}&type=${type}&brandId=${that.activeBrandId}`);\n },\n\n /**\n * 选择 role\n */\n selectRole(item,brandId) {\n const that = this;\n that.activeId = item.roleId;\n that.activeBrandId = brandId;\n that.roleRightObj = item;\n that.getRoleUsers();\n },\n\n /**\n * 添加成员\n */\n toAddRole(roleCode) {\n const that = this;\n that.changeRoute(`/addAdmin?roleId=${that.activeId}&roleCode=${roleCode}&brandId=${that.activeBrandId}`);\n },\n\n /**\n * 删除成员\n */\n handleDel(index,item) {\n const that = this;\n that.$alert('确定要删除?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n }).then(({ value }) => {\n that.postDelUser(item.userId,index);\n }).catch(() => {\n });\n },\n\n postDelUser(userId,index) {\n const that = this;\n let para = {\n roleId: that.activeId,\n userId: userId,\n brandId: that.activeBrandId\n }\n postRequest('/haoban-manage-web/del-role-user',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n showMsg.showmsg('删除成功','success')\n that.tableData.splice(index,1)\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n handleShow(index,item,roleCode) {\n const that = this;\n that.changeRoute(`/addAdmin?roleId=${that.activeId}&roleCode=${roleCode}&userId=${item.userId}&brandId=${that.activeBrandId}`);\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getRoleUsers();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n that.getRoleUsers();\n },\n\n /**\n * 获取角色用户数据\n */\n getRoleUsers() {\n const that = this;\n let para = {\n roleId: that.activeId,\n brandId: that.activeBrandId,\n pageSize: that.pageSize,\n pageNum: that.currentPage\n }\n postRequest('/haoban-manage-web/role-user-list',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n if(!resData.result || !resData.result.result){\n that.tableData = [];\n return false;\n }\n that.tableData = resData.result.result;\n that.total = resData.result.totalCount;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 获取角色数据\n */\n getRoles() {\n const that = this;\n postRequest('/haoban-manage-web/role-list',{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n that.isAddAdmin = resData.result.isAddAdmin;\n that.roleListData = resData.result.roleList || [];\n if (!!resData.result && !!resData.result.roleList.length) {\n that.activeId = that.roleListData[0].roleList[0].roleId;\n that.activeBrandId = that.roleListData[0].brandId;\n that.roleRightObj = that.roleListData[0].roleList[0];\n that.getRoleUsers();\n }\n return;\n }\n errMsg.errorMsg(resData)\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n },\n mounted() {\n const that = this;\n that.boxHeight = (window.screen.availHeight - 430) + 'px';\n that.getRoles();\n },\n components: {\n navCrumb\n }\n}\n</script>\n<style lang=\"less\" scoped>\n.border-box {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n/* display */\n.inline-block {\n display: inline-block;\n}\n\n.block {\n display: block;\n}\n\n.top {\n vertical-align: top;\n}\n\n.middle {\n vertical-align: middle;\n}\n\n.pinter {\n cursor: pointer;\n}\n\n.text-right {\n text-align: right;\n}\n\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-between {\n -webkit-justify-content: space-between;\n justify-content: space-between;\n}\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.font-20 {\n font-size: 20px;\n}\n\n.color-303133 {\n color: #303133;\n}\n\n.color-1890ff {\n color: #1890ff;\n}\n\n.text-center {\n text-align: center;\n}\n\n.w-260 {\n width: 260px;\n}\n\n.p-r-6 {\n padding-right: 6px;\n}\n\n.m-t-20 {\n margin-top: 20px;\n}\n\n.m-b-25 {\n margin-bottom: 25px;\n}\n\n.m-t-27 {\n margin-top: 27px;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n /*background: #fff;*/\n /*padding: 24px;*/\n /*min-height: 500px;*/\n\n .setChildAdmin-wrap {\n &-body {\n\n }\n\n &-left {\n min-width: 260px;\n height: 100%;\n padding: 20px 0 0 0;\n background: #EEF1F8;\n overflow-x: hidden;\n overflow-y: auto;\n\n .role-cell-head {\n height: 36px;\n line-height: 36px;\n padding: 0 20px;\n font-size: 14px;\n color: #606266;\n\n .max-half {\n max-width: 50%;\n min-width: 50%;\n width: 50%;\n overflow: hidden;\n }\n }\n\n .role-cell {\n position: relative;\n width: 220px;\n height: 36px;\n line-height: 36px;\n padding: 0 20px;\n font-size: 14px;\n color: #606266;\n background: #fff;\n cursor: pointer;\n overflow: hidden;\n i {\n color: #1890ff;\n }\n &:hover {\n color: #fff;\n background: #1890ff;\n i {\n color: #fff;\n }\n }\n\n &.role-active {\n color: #fff;\n background: #1890ff;\n i {\n color: #fff;\n }\n }\n }\n\n }\n\n &-right {\n width: calc(100% - 260px);\n padding: 24px;\n background: #fff;\n\n .role-tip {\n .el-alert {\n background-color: rgba(64,158,255,.1);\n border: 1px solid rgba(64,158,255,.2);\n color: #606266;\n font-size: 13px;\n /deep/ i {\n font-size: 16px;\n color: #1890ff;\n }\n }\n }\n\n .role-add {\n background: #EBEEF5;\n padding: 8px 0 8px 15px;\n }\n }\n }\n }\n}\n\n.el-table {\n /deep/.el-table__empty-block {\n height: 256px;\n }\n\n /deep/.el-table__empty-text{\n width: auto;\n margin-bottom:80px;\n &::before{\n content: ' ';\n display: block;\n width: 60px;\n height: 60px;\n background: url(../../assets/no-data_icon.png) no-repeat center;\n margin: 0px auto 22px auto;\n }\n }\n\n /deep/.el-table__empty-text {\n margin-bottom: 0;\n }\n}\n\n\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/setChildAdmin.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"setChildAdmin-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\",style:({'height': _vm.windowH})},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"setChildAdmin-wrap-body flex\"},[_c('div',{staticClass:\"setChildAdmin-wrap-left w-260\",style:({height: _vm.boxHeight})},_vm._l((_vm.roleListData),function(pItem,pIndex){return _c('div',{key:pIndex,staticClass:\"m-t-20\"},[_c('div',{staticClass:\"role-cell-head flex\"},[_c('div',{staticClass:\"flex-1 max-half role-cell-head_name\"},[_vm._v(_vm._s(pItem.brandName))]),_vm._v(\" \"),(!!pItem.canAddRole)?_c('div',{staticClass:\"text-right flex-1 \"},[_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.changeRoute('/addAdminRole?brandId=' + pItem.brandId)}}},[_vm._v(\"新增角色\")])],1):_vm._e()]),_vm._v(\" \"),_c('ul',_vm._l((pItem.roleList),function(item,index){return _c('li',{key:index,class:['role-cell border-bottom-1',(pItem.brandId == _vm.activeBrandId && item.roleId == _vm.activeId)? 'role-active':''],on:{\"click\":function($event){$event.stopPropagation();_vm.selectRole(item,pItem.brandId)}}},[_c('i',{staticClass:\"iconfont icon-lizhi p-r-6\"}),_vm._v(\"\\n \"+_vm._s(item.roleName)+\"\\n \")])}))])})),_vm._v(\" \"),_c('div',{staticClass:\"setChildAdmin-wrap-right box-sizing\"},[_c('div',{staticClass:\"role-title flex flex-between m-b-25\"},[_c('span',{staticClass:\"font-20 color-303133\"},[_vm._v(\"\\n \"+_vm._s(_vm.roleRightObj.roleName)+\"\\n \")]),(_vm.roleRightObj.roleCode !='child_admin')?_c('span',{staticClass:\"font-14 color-1890ff pinter\",on:{\"click\":function($event){_vm.toRoleDetail('show')}}},[_vm._v(\"\\n 查看权限\\n \")]):_vm._e(),(_vm.roleRightObj.roleCode =='child_admin')?_c('span',{staticClass:\"font-14 color-1890ff pinter\",on:{\"click\":function($event){_vm.toRoleDetail('edit')}}},[_vm._v(\"\\n 编辑权限\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.roleRightObj.roleCode === 'master_admin' || _vm.roleRightObj.roleCode === 'admin')?_c('div',{staticClass:\"role-tip \"},[_c('el-alert',{attrs:{\"title\":_vm.roleRightObj.roleCode === 'master_admin'?'企业的创建者,拥有企业的所有权限,只会有一个':_vm.roleRightObj.roleCode === 'admin'? '企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个': '',\"type\":\"info\",\"closable\":false,\"show-icon\":\"\"}})],1):_vm._e(),_vm._v(\" \"),(!!_vm.roleRightObj.isEdit)?_c('div',{staticClass:\"role-add m-t-27\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.toAddRole(_vm.roleRightObj.roleCode)}}},[_vm._v(\"添加成员\")])],1):_vm._e(),_vm._v(\" \"),_c('div',{class:['role-table', !!_vm.roleRightObj.isEdit?'': 'm-t-27']},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"height\":_vm.tableH}},[_c('el-table-column',{attrs:{\"prop\":\"clerkName\",\"label\":\"姓名\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"clerkPhone\",\"label\":\"手机号\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"groupName\",\"label\":\"部门\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return scope.row.canEdit == 1?[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleShow(scope.$index,scope.row,_vm.roleRightObj.roleCode)}}},[_vm._v(\"编辑\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleDel(scope.$index,scope.row)}}},[_vm._v(\"删除\")])]:undefined}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])])])]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-24cac558\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/setting/setChildAdmin.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-24cac558\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./setChildAdmin.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./setChildAdmin.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./setChildAdmin.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-24cac558\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./setChildAdmin.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-24cac558\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/setting/setChildAdmin.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([39],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("4IAe")},null,null);n.default=u.exports},"4IAe":function(e,n){}});
//# sourceMappingURL=39.18cbba23aa3ed9f6951d.js.map
\ No newline at end of file
webpackJsonp([38],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("4IAe")},null,null);n.default=u.exports},"4IAe":function(e,n){}});
//# sourceMappingURL=38.af05b5b6cc28a922ade4.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addEmployee.vue","webpack:///./src/views/contacts/addEmployee.vue?d464","webpack:///./src/views/contacts/addEmployee.vue"],"names":["contacts_addEmployee","render","_h","this","$createElement","_self","_c","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","ssrContext","__webpack_exports__"],"mappings":"wGAIA,ICDeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,QAExEK,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFZAC,KAAA,gBEcEX,GATF,EAVA,SAAAY,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/39.18cbba23aa3ed9f6951d.js","sourcesContent":["<template>\r\n <div></div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"add-employee\" \r\n};\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addEmployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-1c75bdd8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addEmployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addEmployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addEmployee.vue","webpack:///./src/views/contacts/addEmployee.vue?d464","webpack:///./src/views/contacts/addEmployee.vue"],"names":["contacts_addEmployee","render","_h","this","$createElement","_self","_c","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","ssrContext","__webpack_exports__"],"mappings":"wGAIA,ICDeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,QAExEK,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFZAC,KAAA,gBEcEX,GATF,EAVA,SAAAY,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/38.af05b5b6cc28a922ade4.js","sourcesContent":["<template>\r\n <div></div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"add-employee\" \r\n};\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addEmployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-1c75bdd8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addEmployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addEmployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([40],{NWrb:function(t,a){},RHxA: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:"storeFrame"},{name:"批量导入导出",path:""}],type:"import",fileList:[],url:t+"/haoban-manage-web/store/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){1==a.data.errorCode?(t.total=a.data.result.totalCount,t.logList=a.data.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()}},r={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+"?brandId="+t.$route.query.brandId,"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/store/export?storeGroupId="+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+"?brandId="+t.$route.query.brandId,"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"},[e("div",{staticClass:"tip"}),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("由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"),e("a",{staticClass:"a-href"},[t._v("企业认证")])]),t._v(" "),e("li",{staticClass:"tip"},[t._v("如需更新已存在的门店及店员,可逐个进行修改,或请先导出,在导出表格里进行修改")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入")]),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("未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入")])])}]};var n=e("VU/8")(o,r,!1,function(t){e("NWrb")},null,null);a.default=n.exports}});
//# sourceMappingURL=40.4f6694f9711a5cf7c11c.js.map
\ No newline at end of file
webpackJsonp([39],{NWrb:function(t,a){},RHxA: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:"storeFrame"},{name:"批量导入导出",path:""}],type:"import",fileList:[],url:t+"/haoban-manage-web/store/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){1==a.data.errorCode?(t.total=a.data.result.totalCount,t.logList=a.data.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()}},r={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+"?brandId="+t.$route.query.brandId,"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/store/export?storeGroupId="+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+"?brandId="+t.$route.query.brandId,"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"},[e("div",{staticClass:"tip"}),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("由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"),e("a",{staticClass:"a-href"},[t._v("企业认证")])]),t._v(" "),e("li",{staticClass:"tip"},[t._v("如需更新已存在的门店及店员,可逐个进行修改,或请先导出,在导出表格里进行修改")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入")]),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("未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证")]),t._v(" "),e("li",{staticClass:"tip"},[t._v("每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入")])])}]};var n=e("VU/8")(o,r,!1,function(t){e("NWrb")},null,null);a.default=n.exports}});
//# sourceMappingURL=39.7eee96327266740f3019.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/storeIo.vue","webpack:///./src/views/contacts/storeIo.vue?05b6","webpack:///./src/views/contacts/storeIo.vue"],"names":["storeIo","name","components","navCrumb","nav","uploadExcelComponent","uploadExcel","data","local","window","location","origin","indexOf","navpath","path","type","fileList","url","logList","loading","pageSize","currentPage","total","methods","handleSizeChange","val","this","getErrorNote","handleCurrentChange","resetList","ths","params","departmentId","$route","query","importCode","Object","api","then","res","errorCode","result","totalCount","$message","error","message","catch","e","handleRemove","file","console","log","handlePreview","uploadSuccess","submitUpload","upload","$refs","submit","getChange","beforeMount","contacts_storeIo","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","_m","on","change","model","value","callback","$$v","expression","label","staticStyle","margin-bottom","href","ref","action","brandId","on-success","on-change","multiple","file-list","auto-upload","slot","size","disabled","length","click","$event","showChildMember","directives","rawName","width","prop","scopedSlots","_u","key","fn","scope","_s","row","isManager","background","page-sizes","page-size","current-page","layout","size-change","current-change","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"mKAoGAA,GACAC,KAAA,cACAC,YACAC,SAAAC,EAAA,EACAC,qBAAAC,EAAA,GAEAC,KANA,WAOA,IAAAC,EAAAC,OAAAC,SAAAC,OAIA,OAHA,GAAAH,EAAAI,QAAA,eACAJ,EAAA,0BAIAK,UACAZ,KAAA,KACAa,KAAA,WAGAb,KAAA,QACAa,KAAA,yBAGAb,KAAA,OACAa,KAAA,eAGAb,KAAA,SACAa,KAAA,KAGAC,KAAA,SACAC,YACAC,IAAAT,EAAA,kCACAU,WACAC,SAAA,EACAC,SAAA,GACAC,YAAA,EACAC,MAAA,IAGAC,SACAC,iBADA,SACAC,GACAC,KAAAN,SAAAK,EACAC,KAAAC,gBAEAC,oBALA,SAKAH,GACAC,KAAAL,YAAAI,EACAC,KAAAC,gBAEAE,UATA,SASAJ,GACAC,KAAA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AAJ,EAAiB","file":"static/js/40.4f6694f9711a5cf7c11c.js","sourcesContent":["<template>\r\n <div class=\"common-set-wrap\">\r\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\r\n <div class=\"right-content\">\r\n <div class=\"right-box\">\r\n <div class=\"io-container\">\r\n <ul class=\"tip-area\">\r\n <li class=\"tip\">由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行<a class=\"a-href\">企业认证</a></li>\r\n <li class=\"tip\">如需更新已存在的门店及店员,可逐个进行修改,或请先导出,在导出表格里进行修改</li>\r\n <li class=\"tip\">由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入</li>\r\n <li class=\"tip\">不能在本excel表中对门店信息类别进行增加、删除、修改</li>\r\n <li class=\"tip\">标*字段为必填字段,未标*字段为选填字段</li>\r\n <li class=\"tip\">门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面</li>\r\n <li class=\"tip\">未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证</li>\r\n <li class=\"tip\">每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入</li>\r\n </ul>\r\n <el-radio-group v-model=\"type\" class=\"m-t-20\" @change=\"resetList\">\r\n <el-radio-button label=\"import\">导入门店</el-radio-button>\r\n <el-radio-button label=\"export\">导出/修改门店</el-radio-button>\r\n <el-radio-button label=\"note\">错误记录</el-radio-button>\r\n </el-radio-group>\r\n <div class=\"handle-area import\" v-if=\"type == 'import'\">\r\n <div class=\"step-div\" style=\"margin-bottom :90px;\">\r\n <span class=\"ft-large\">①</span>下载门店导入模板,批量填写门店信息\r\n <a href=\"http://www.gicdev.com/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx\" class=\"d-u-btn\">\r\n <el-button type=\"primary\">下载<i class=\"iconfont icon-icon_yunxiazai m-l-5\"></i></el-button>\r\n </a>\r\n </div>\r\n <div class=\"step-div\">\r\n <span class=\"ft-large\">②</span>上传填写好的门店信息\r\n <div class=\"d-u-btn m-t-20\">\r\n <el-upload class=\"upload-demo\" ref=\"upload\" :action=\"url+'?brandId='+$route.query.brandId\" :on-success=\"uploadSuccess\" :on-change=\"getChange\" :multiple=\"false\" :file-list=\"fileList\" :auto-upload=\"false\">\r\n <el-button slot=\"trigger\" size=\"small\" type=\"primary\">选取文件</el-button>\r\n <div slot=\"tip\" class=\"el-upload__tip\">文件格式必须为xls或xlsx格式</div>\r\n </el-upload>\r\n </div>\r\n </div>\r\n <div class=\"up-btn-div\">\r\n <el-button type=\"primary\" @click=\"submitUpload('upload')\" :disabled=\"fileList.length == 0\">上传</el-button>\r\n </div>\r\n </div>\r\n <div class=\"handle-area import\" v-else-if=\"type == 'export'\">\r\n <div class=\"step-div\" style=\"margin-bottom :90px;\">\r\n <span class=\"ft-large\">①</span>导出门店\r\n <a class=\"d-u-btn\" :href=\"'http://www.gicdev.com/haoban-manage-web/store/export?storeGroupId='+$route.query.departmentId+'&showChild='+$route.query.showChildMember\">\r\n <el-button type=\"primary\">下载<i class=\"iconfont icon-icon_yunxiazai m-l-5\"></i></el-button>\r\n </a>\r\n 批量修改门店信息\r\n </div>\r\n <div class=\"step-div\">\r\n <span class=\"ft-large\">②</span>上传修改后的门店信息\r\n <div class=\"d-u-btn m-t-20\">\r\n <el-upload class=\"upload-demo\" ref=\"uploadEdit\" :action=\"url+'?brandId='+$route.query.brandId\" :on-success=\"uploadSuccess\" :on-change=\"getChange\" :multiple=\"false\" :file-list=\"fileList\" :auto-upload=\"false\">\r\n <el-button slot=\"trigger\" size=\"small\" type=\"primary\">选取文件</el-button>\r\n <div slot=\"tip\" class=\"el-upload__tip\">文件格式必须为xls或xlsx格式</div>\r\n </el-upload>\r\n </div>\r\n </div>\r\n <div class=\"up-btn-div\">\r\n <el-button type=\"primary\" @click=\"submitUpload('uploadEdit')\" :disabled=\"fileList.length == 0\">上传</el-button>\r\n </div>\r\n </div>\r\n <div class=\"error-log import\" v-else>\r\n <div class=\"title-area\">\r\n <div class=\"tip\">\r\n <!-- 导入总条数:0条,成功导入0条,<span class=\"red\">错误导入0条</span> -->\r\n </div>\r\n <a :href=\"'http://www.gicdev.com/haoban-manage-web/error-improt-log-export?importCode='+$route.query.importCode+'&departmentId='+$route.query.departmentId\">\r\n <el-button type=\"primary\">导出错误记录</el-button>\r\n </a>\r\n </div>\r\n <el-table v-loading=\"loading\" :data=\"logList\" class=\"m-t-20\" style=\"width: 100%\">\r\n <el-table-column type=\"index\" width=\"50\" label=\"序号\">\r\n </el-table-column>\r\n <el-table-column label=\"错误提示\" prop=\"failReason\"></el-table-column>\r\n <el-table-column label=\"姓名\" prop=\"name\"></el-table-column>\r\n <el-table-column label=\"手机号\" prop=\"phoneNumber\"></el-table-column>\r\n <el-table-column label=\"部门ID\" prop=\"departmentId\"></el-table-column>\r\n <el-table-column label=\"职位\" prop=\"positionName\"></el-table-column>\r\n <el-table-column label=\"是否此部门负责人(是/否)\" prop=\"isManager\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.isManager == 1 ? \"是\" : \"否\"}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"入职时间\" prop=\"hireDate\"></el-table-column>\r\n </el-table>\r\n <div class=\"pagination\">\r\n <el-pagination background @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :page-sizes=\"[20, 40, 60, 80]\" :page-size=\"pageSize\" :current-page=\"currentPage\" layout=\"total, sizes, prev, pager, next\" :total=\"total\">\r\n </el-pagination>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport navCrumb from '@/components/nav/nav.vue';\r\nimport uploadExcelComponent from \"components/uploadExcel/index\";\r\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\r\nexport default {\r\n name: \"employee-io\",\r\n components: {\r\n navCrumb,\r\n uploadExcelComponent\r\n },\r\n data() {\r\n let local = window.location.origin;\r\n if (local.indexOf('localhost') != -1) {\r\n local = 'http://www.gicdev.com';\r\n }\r\n return {\r\n // 面包屑参数\r\n navpath: [{\r\n name: '首页',\r\n path: '/index'\r\n },\r\n {\r\n name: '企业通讯录',\r\n path: '/administrativeFrame'\r\n },\r\n {\r\n name: '门店架构',\r\n path: 'storeFrame'\r\n },\r\n {\r\n name: '批量导入导出',\r\n path: ''\r\n }\r\n ],\r\n type: \"import\",\r\n fileList: [],\r\n url: local + \"/haoban-manage-web/store/upload\",\r\n logList: [],\r\n loading: true,\r\n pageSize: 20,\r\n currentPage: 1,\r\n total: 0\r\n };\r\n },\r\n methods: {\r\n handleSizeChange(val) {\r\n this.pageSize = val;\r\n this.getErrorNote();\r\n },\r\n handleCurrentChange(val) {\r\n this.currentPage = val;\r\n this.getErrorNote();\r\n },\r\n resetList(val) {\r\n this.fileList = [];\r\n if (val == \"note\") {\r\n this.getErrorNote();\r\n }\r\n },\r\n getErrorNote() {\r\n let ths = this;\r\n let params = {\r\n departmentId: ths.$route.query.departmentId,\r\n importCode: ths.$route.query.importCode\r\n };\r\n getRequest(\"/haoban-manage-web/error-log-page\", params)\r\n .then(res => {\r\n if (res.data.errorCode == 1) {\r\n ths.total = res.data.result.totalCount;\r\n ths.logList = res.data.result;\r\n ths.loading = false;\r\n } else {\r\n ths.$message.error({\r\n message: res.data.message\r\n });\r\n }\r\n })\r\n .catch(e => {\r\n ths.$message.error({\r\n message: e.message\r\n })\r\n });\r\n },\r\n handleRemove(file, fileList) {\r\n console.log(file, fileList);\r\n },\r\n handlePreview(file) {\r\n console.log(file);\r\n },\r\n uploadSuccess() {\r\n this.fileList = [];\r\n this.type = \"note\";\r\n this.getErrorNote();\r\n },\r\n submitUpload(upload) {\r\n this.$refs[upload].submit();\r\n },\r\n getChange(file, fileList) {\r\n console.log(file, fileList);\r\n this.fileList = fileList;\r\n }\r\n },\r\n beforeMount() {\r\n if (this.type == \"note\") {\r\n this.getErrorNote();\r\n }\r\n }\r\n}\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n.io-container {\r\n width: 100%;\r\n height: 538px;\r\n background: #fff;\r\n box-sizing: border-box;\r\n padding: 28px 32px;\r\n overflow: auto;\r\n\r\n .tip-area {\r\n width: 100%;\r\n background: rgba(236, 245, 255, 1);\r\n border: 1px solid rgba(179, 216, 255, 1);\r\n border-radius: 4px;\r\n padding: 10px;\r\n font-size: 13px;\r\n font-weight: 400;\r\n color: rgba(96, 98, 102, 1);\r\n .tip {\r\n line-height: 24px;\r\n position: relative;\r\n padding-left: 16px;\r\n text-align: left;\r\n\r\n &:last-child {\r\n margin-bottom: 0;\r\n }\r\n\r\n .radio {\r\n width: 6px;\r\n height: 6px;\r\n background: rgba(64, 158, 255, 1);\r\n border-radius: 50%;\r\n }\r\n\r\n &::before {\r\n position: absolute;\r\n content: \"\";\r\n width: 6px;\r\n height: 6px;\r\n background: rgba(64, 158, 255, 1);\r\n border-radius: 50%;\r\n top: 9px;\r\n left: 0;\r\n }\r\n }\r\n }\r\n\r\n .error-log {\r\n margin-top: 24px;\r\n\r\n .title-area {\r\n display: flex;\r\n height: 32px;\r\n line-height: 32px;\r\n\r\n .tip {\r\n flex: 1;\r\n .red {\r\n color: red;\r\n }\r\n }\r\n }\r\n\r\n .pagination {\r\n margin-top: 30px;\r\n text-align: right;\r\n }\r\n }\r\n\r\n .handle-area {\r\n height: 310px;\r\n background: rgba(255, 255, 255, 1);\r\n border: 1px solid rgba(220, 223, 230, 1);\r\n border-radius: 4px;\r\n padding: 25px 20px;\r\n margin-top: 24px;\r\n color: #606266;\r\n\r\n .step-div {\r\n .d-u-btn {\r\n display: inline-block;\r\n margin-left: 10px;\r\n margin-right: 10px;\r\n vertical-align: middle;\r\n\r\n .iconfont {\r\n margin-left: 5px;\r\n }\r\n\r\n .warming {\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: rgba(96, 98, 102, 1);\r\n line-height: 30px;\r\n margin-top: 5px;\r\n }\r\n }\r\n\r\n .ft-large {\r\n font-size: 20px;\r\n margin-right: 10px;\r\n color: #909399;\r\n }\r\n }\r\n\r\n .up-btn-div {\r\n text-align: center;\r\n margin-top: 20px;\r\n }\r\n }\r\n}\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/storeIo.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"io-container\"},[_vm._m(0),_vm._v(\" \"),_c('el-radio-group',{staticClass:\"m-t-20\",on:{\"change\":_vm.resetList},model:{value:(_vm.type),callback:function ($$v) {_vm.type=$$v},expression:\"type\"}},[_c('el-radio-button',{attrs:{\"label\":\"import\"}},[_vm._v(\"导入门店\")]),_vm._v(\" \"),_c('el-radio-button',{attrs:{\"label\":\"export\"}},[_vm._v(\"导出/修改门店\")]),_vm._v(\" \"),_c('el-radio-button',{attrs:{\"label\":\"note\"}},[_vm._v(\"错误记录\")])],1),_vm._v(\" \"),(_vm.type == 'import')?_c('div',{staticClass:\"handle-area import\"},[_c('div',{staticClass:\"step-div\",staticStyle:{\"margin-bottom\":\"90px\"}},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"①\")]),_vm._v(\"下载门店导入模板,批量填写门店信息\\n \"),_c('a',{staticClass:\"d-u-btn\",attrs:{\"href\":\"http://www.gicdev.com/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx\"}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"下载\"),_c('i',{staticClass:\"iconfont icon-icon_yunxiazai m-l-5\"})])],1)]),_vm._v(\" \"),_c('div',{staticClass:\"step-div\"},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"②\")]),_vm._v(\"上传填写好的门店信息\\n \"),_c('div',{staticClass:\"d-u-btn m-t-20\"},[_c('el-upload',{ref:\"upload\",staticClass:\"upload-demo\",attrs:{\"action\":_vm.url+'?brandId='+_vm.$route.query.brandId,\"on-success\":_vm.uploadSuccess,\"on-change\":_vm.getChange,\"multiple\":false,\"file-list\":_vm.fileList,\"auto-upload\":false}},[_c('el-button',{attrs:{\"slot\":\"trigger\",\"size\":\"small\",\"type\":\"primary\"},slot:\"trigger\"},[_vm._v(\"选取文件\")]),_vm._v(\" \"),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\"文件格式必须为xls或xlsx格式\")])],1)],1)]),_vm._v(\" \"),_c('div',{staticClass:\"up-btn-div\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.fileList.length == 0},on:{\"click\":function($event){_vm.submitUpload('upload')}}},[_vm._v(\"上传\")])],1)]):(_vm.type == 'export')?_c('div',{staticClass:\"handle-area import\"},[_c('div',{staticClass:\"step-div\",staticStyle:{\"margin-bottom\":\"90px\"}},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"①\")]),_vm._v(\"导出门店\\n \"),_c('a',{staticClass:\"d-u-btn\",attrs:{\"href\":'http://www.gicdev.com/haoban-manage-web/store/export?storeGroupId='+_vm.$route.query.departmentId+'&showChild='+_vm.$route.query.showChildMember}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"下载\"),_c('i',{staticClass:\"iconfont icon-icon_yunxiazai m-l-5\"})])],1),_vm._v(\"\\n 批量修改门店信息\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"step-div\"},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"②\")]),_vm._v(\"上传修改后的门店信息\\n \"),_c('div',{staticClass:\"d-u-btn m-t-20\"},[_c('el-upload',{ref:\"uploadEdit\",staticClass:\"upload-demo\",attrs:{\"action\":_vm.url+'?brandId='+_vm.$route.query.brandId,\"on-success\":_vm.uploadSuccess,\"on-change\":_vm.getChange,\"multiple\":false,\"file-list\":_vm.fileList,\"auto-upload\":false}},[_c('el-button',{attrs:{\"slot\":\"trigger\",\"size\":\"small\",\"type\":\"primary\"},slot:\"trigger\"},[_vm._v(\"选取文件\")]),_vm._v(\" \"),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\"文件格式必须为xls或xlsx格式\")])],1)],1)]),_vm._v(\" \"),_c('div',{staticClass:\"up-btn-div\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.fileList.length == 0},on:{\"click\":function($event){_vm.submitUpload('uploadEdit')}}},[_vm._v(\"上传\")])],1)]):_c('div',{staticClass:\"error-log import\"},[_c('div',{staticClass:\"title-area\"},[_c('div',{staticClass:\"tip\"}),_vm._v(\" \"),_c('a',{attrs:{\"href\":'http://www.gicdev.com/haoban-manage-web/error-improt-log-export?importCode='+_vm.$route.query.importCode+'&departmentId='+_vm.$route.query.departmentId}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"导出错误记录\")])],1)]),_vm._v(\" \"),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"m-t-20\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.logList}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"width\":\"50\",\"label\":\"序号\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"错误提示\",\"prop\":\"failReason\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"姓名\",\"prop\":\"name\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"手机号\",\"prop\":\"phoneNumber\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"部门ID\",\"prop\":\"departmentId\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"职位\",\"prop\":\"positionName\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"是否此部门负责人(是/否)\",\"prop\":\"isManager\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.isManager == 1 ? \"是\" : \"否\")+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"入职时间\",\"prop\":\"hireDate\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"pagination\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"page-sizes\":[20, 40, 60, 80],\"page-size\":_vm.pageSize,\"current-page\":_vm.currentPage,\"layout\":\"total, sizes, prev, pager, next\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],1)],1)])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"tip-area\"},[_c('li',{staticClass:\"tip\"},[_vm._v(\"由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行\"),_c('a',{staticClass:\"a-href\"},[_vm._v(\"企业认证\")])]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"如需更新已存在的门店及店员,可逐个进行修改,或请先导出,在导出表格里进行修改\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"不能在本excel表中对门店信息类别进行增加、删除、修改\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"标*字段为必填字段,未标*字段为选填字段\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-09509eae\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/storeIo.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-09509eae\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./storeIo.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./storeIo.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./storeIo.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-09509eae\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./storeIo.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/storeIo.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/storeIo.vue","webpack:///./src/views/contacts/storeIo.vue?05b6","webpack:///./src/views/contacts/storeIo.vue"],"names":["storeIo","name","components","navCrumb","nav","uploadExcelComponent","uploadExcel","data","local","window","location","origin","indexOf","navpath","path","type","fileList","url","logList","loading","pageSize","currentPage","total","methods","handleSizeChange","val","this","getErrorNote","handleCurrentChange","resetList","ths","params","departmentId","$route","query","importCode","Object","api","then","res","errorCode","result","totalCount","$message","error","message","catch","e","handleRemove","file","console","log","handlePreview","uploadSuccess","submitUpload","upload","$refs","submit","getChange","beforeMount","contacts_storeIo","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","_m","on","change","model","value","callback","$$v","expression","label","staticStyle","margin-bottom","href","ref","action","brandId","on-success","on-change","multiple","file-list","auto-upload","slot","size","disabled","length","click","$event","showChildMember","directives","rawName","width","prop","scopedSlots","_u","key","fn","scope","_s","row","isManager","background","page-sizes","page-size","current-page","layout","size-change","current-change","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"mKAoGAA,GACAC,KAAA,cACAC,YACAC,SAAAC,EAAA,EACAC,qBAAAC,EAAA,GAEAC,KANA,WAOA,IAAAC,EAAAC,OAAAC,SAAAC,OAIA,OAHA,GAAAH,EAAAI,QAAA,eACAJ,EAAA,0BAIAK,UACAZ,KAAA,KACAa,KAAA,WAGAb,KAAA,QACAa,KAAA,yBAGAb,KAAA,OACAa,KAAA,eAGAb,KAAA,SACAa,KAAA,KAGAC,KAAA,SACAC,YACAC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AAA,QAAkBL,EAAAO,GAAA,0CAAAP,EAAAO,GAAA,KAAAJ,EAAA,MAAwEE,YAAA,QAAkBL,EAAAO,GAAA,gDCEn1B,IAcAgD,EAdyBC,EAAQ,OAcjCC,CACEvH,EACA4D,GATF,EAVA,SAAA4D,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/39.7eee96327266740f3019.js","sourcesContent":["<template>\r\n <div class=\"common-set-wrap\">\r\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\r\n <div class=\"right-content\">\r\n <div class=\"right-box\">\r\n <div class=\"io-container\">\r\n <ul class=\"tip-area\">\r\n <li class=\"tip\">由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行<a class=\"a-href\">企业认证</a></li>\r\n <li class=\"tip\">如需更新已存在的门店及店员,可逐个进行修改,或请先导出,在导出表格里进行修改</li>\r\n <li class=\"tip\">由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入</li>\r\n <li class=\"tip\">不能在本excel表中对门店信息类别进行增加、删除、修改</li>\r\n <li class=\"tip\">标*字段为必填字段,未标*字段为选填字段</li>\r\n <li class=\"tip\">门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面</li>\r\n <li class=\"tip\">未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证</li>\r\n <li class=\"tip\">每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入</li>\r\n </ul>\r\n <el-radio-group v-model=\"type\" class=\"m-t-20\" @change=\"resetList\">\r\n <el-radio-button label=\"import\">导入门店</el-radio-button>\r\n <el-radio-button label=\"export\">导出/修改门店</el-radio-button>\r\n <el-radio-button label=\"note\">错误记录</el-radio-button>\r\n </el-radio-group>\r\n <div class=\"handle-area import\" v-if=\"type == 'import'\">\r\n <div class=\"step-div\" style=\"margin-bottom :90px;\">\r\n <span class=\"ft-large\">①</span>下载门店导入模板,批量填写门店信息\r\n <a href=\"http://www.gicdev.com/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx\" class=\"d-u-btn\">\r\n <el-button type=\"primary\">下载<i class=\"iconfont icon-icon_yunxiazai m-l-5\"></i></el-button>\r\n </a>\r\n </div>\r\n <div class=\"step-div\">\r\n <span class=\"ft-large\">②</span>上传填写好的门店信息\r\n <div class=\"d-u-btn m-t-20\">\r\n <el-upload class=\"upload-demo\" ref=\"upload\" :action=\"url+'?brandId='+$route.query.brandId\" :on-success=\"uploadSuccess\" :on-change=\"getChange\" :multiple=\"false\" :file-list=\"fileList\" :auto-upload=\"false\">\r\n <el-button slot=\"trigger\" size=\"small\" type=\"primary\">选取文件</el-button>\r\n <div slot=\"tip\" class=\"el-upload__tip\">文件格式必须为xls或xlsx格式</div>\r\n </el-upload>\r\n </div>\r\n </div>\r\n <div class=\"up-btn-div\">\r\n <el-button type=\"primary\" @click=\"submitUpload('upload')\" :disabled=\"fileList.length == 0\">上传</el-button>\r\n </div>\r\n </div>\r\n <div class=\"handle-area import\" v-else-if=\"type == 'export'\">\r\n <div class=\"step-div\" style=\"margin-bottom :90px;\">\r\n <span class=\"ft-large\">①</span>导出门店\r\n <a class=\"d-u-btn\" :href=\"'http://www.gicdev.com/haoban-manage-web/store/export?storeGroupId='+$route.query.departmentId+'&showChild='+$route.query.showChildMember\">\r\n <el-button type=\"primary\">下载<i class=\"iconfont icon-icon_yunxiazai m-l-5\"></i></el-button>\r\n </a>\r\n 批量修改门店信息\r\n </div>\r\n <div class=\"step-div\">\r\n <span class=\"ft-large\">②</span>上传修改后的门店信息\r\n <div class=\"d-u-btn m-t-20\">\r\n <el-upload class=\"upload-demo\" ref=\"uploadEdit\" :action=\"url+'?brandId='+$route.query.brandId\" :on-success=\"uploadSuccess\" :on-change=\"getChange\" :multiple=\"false\" :file-list=\"fileList\" :auto-upload=\"false\">\r\n <el-button slot=\"trigger\" size=\"small\" type=\"primary\">选取文件</el-button>\r\n <div slot=\"tip\" class=\"el-upload__tip\">文件格式必须为xls或xlsx格式</div>\r\n </el-upload>\r\n </div>\r\n </div>\r\n <div class=\"up-btn-div\">\r\n <el-button type=\"primary\" @click=\"submitUpload('uploadEdit')\" :disabled=\"fileList.length == 0\">上传</el-button>\r\n </div>\r\n </div>\r\n <div class=\"error-log import\" v-else>\r\n <div class=\"title-area\">\r\n <div class=\"tip\">\r\n <!-- 导入总条数:0条,成功导入0条,<span class=\"red\">错误导入0条</span> -->\r\n </div>\r\n <a :href=\"'http://www.gicdev.com/haoban-manage-web/error-improt-log-export?importCode='+$route.query.importCode+'&departmentId='+$route.query.departmentId\">\r\n <el-button type=\"primary\">导出错误记录</el-button>\r\n </a>\r\n </div>\r\n <el-table v-loading=\"loading\" :data=\"logList\" class=\"m-t-20\" style=\"width: 100%\">\r\n <el-table-column type=\"index\" width=\"50\" label=\"序号\">\r\n </el-table-column>\r\n <el-table-column label=\"错误提示\" prop=\"failReason\"></el-table-column>\r\n <el-table-column label=\"姓名\" prop=\"name\"></el-table-column>\r\n <el-table-column label=\"手机号\" prop=\"phoneNumber\"></el-table-column>\r\n <el-table-column label=\"部门ID\" prop=\"departmentId\"></el-table-column>\r\n <el-table-column label=\"职位\" prop=\"positionName\"></el-table-column>\r\n <el-table-column label=\"是否此部门负责人(是/否)\" prop=\"isManager\">\r\n <template slot-scope=\"scope\">\r\n {{scope.row.isManager == 1 ? \"是\" : \"否\"}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"入职时间\" prop=\"hireDate\"></el-table-column>\r\n </el-table>\r\n <div class=\"pagination\">\r\n <el-pagination background @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :page-sizes=\"[20, 40, 60, 80]\" :page-size=\"pageSize\" :current-page=\"currentPage\" layout=\"total, sizes, prev, pager, next\" :total=\"total\">\r\n </el-pagination>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport navCrumb from '@/components/nav/nav.vue';\r\nimport uploadExcelComponent from \"components/uploadExcel/index\";\r\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\r\nexport default {\r\n name: \"employee-io\",\r\n components: {\r\n navCrumb,\r\n uploadExcelComponent\r\n },\r\n data() {\r\n let local = window.location.origin;\r\n if (local.indexOf('localhost') != -1) {\r\n local = 'http://www.gicdev.com';\r\n }\r\n return {\r\n // 面包屑参数\r\n navpath: [{\r\n name: '首页',\r\n path: '/index'\r\n },\r\n {\r\n name: '企业通讯录',\r\n path: '/administrativeFrame'\r\n },\r\n {\r\n name: '门店架构',\r\n path: 'storeFrame'\r\n },\r\n {\r\n name: '批量导入导出',\r\n path: ''\r\n }\r\n ],\r\n type: \"import\",\r\n fileList: [],\r\n url: local + \"/haoban-manage-web/store/upload\",\r\n logList: [],\r\n loading: true,\r\n pageSize: 20,\r\n currentPage: 1,\r\n total: 0\r\n };\r\n },\r\n methods: {\r\n handleSizeChange(val) {\r\n this.pageSize = val;\r\n this.getErrorNote();\r\n },\r\n handleCurrentChange(val) {\r\n this.currentPage = val;\r\n this.getErrorNote();\r\n },\r\n resetList(val) {\r\n this.fileList = [];\r\n if (val == \"note\") {\r\n this.getErrorNote();\r\n }\r\n },\r\n getErrorNote() {\r\n let ths = this;\r\n let params = {\r\n departmentId: ths.$route.query.departmentId,\r\n importCode: ths.$route.query.importCode\r\n };\r\n getRequest(\"/haoban-manage-web/error-log-page\", params)\r\n .then(res => {\r\n if (res.data.errorCode == 1) {\r\n ths.total = res.data.result.totalCount;\r\n ths.logList = res.data.result;\r\n ths.loading = false;\r\n } else {\r\n ths.$message.error({\r\n message: res.data.message\r\n });\r\n }\r\n })\r\n .catch(e => {\r\n ths.$message.error({\r\n message: e.message\r\n })\r\n });\r\n },\r\n handleRemove(file, fileList) {\r\n console.log(file, fileList);\r\n },\r\n handlePreview(file) {\r\n console.log(file);\r\n },\r\n uploadSuccess() {\r\n this.fileList = [];\r\n this.type = \"note\";\r\n this.getErrorNote();\r\n },\r\n submitUpload(upload) {\r\n this.$refs[upload].submit();\r\n },\r\n getChange(file, fileList) {\r\n console.log(file, fileList);\r\n this.fileList = fileList;\r\n }\r\n },\r\n beforeMount() {\r\n if (this.type == \"note\") {\r\n this.getErrorNote();\r\n }\r\n }\r\n}\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n.io-container {\r\n width: 100%;\r\n height: 538px;\r\n background: #fff;\r\n box-sizing: border-box;\r\n padding: 28px 32px;\r\n overflow: auto;\r\n\r\n .tip-area {\r\n width: 100%;\r\n background: rgba(236, 245, 255, 1);\r\n border: 1px solid rgba(179, 216, 255, 1);\r\n border-radius: 4px;\r\n padding: 10px;\r\n font-size: 13px;\r\n font-weight: 400;\r\n color: rgba(96, 98, 102, 1);\r\n .tip {\r\n line-height: 24px;\r\n position: relative;\r\n padding-left: 16px;\r\n text-align: left;\r\n\r\n &:last-child {\r\n margin-bottom: 0;\r\n }\r\n\r\n .radio {\r\n width: 6px;\r\n height: 6px;\r\n background: rgba(64, 158, 255, 1);\r\n border-radius: 50%;\r\n }\r\n\r\n &::before {\r\n position: absolute;\r\n content: \"\";\r\n width: 6px;\r\n height: 6px;\r\n background: rgba(64, 158, 255, 1);\r\n border-radius: 50%;\r\n top: 9px;\r\n left: 0;\r\n }\r\n }\r\n }\r\n\r\n .error-log {\r\n margin-top: 24px;\r\n\r\n .title-area {\r\n display: flex;\r\n height: 32px;\r\n line-height: 32px;\r\n\r\n .tip {\r\n flex: 1;\r\n .red {\r\n color: red;\r\n }\r\n }\r\n }\r\n\r\n .pagination {\r\n margin-top: 30px;\r\n text-align: right;\r\n }\r\n }\r\n\r\n .handle-area {\r\n height: 310px;\r\n background: rgba(255, 255, 255, 1);\r\n border: 1px solid rgba(220, 223, 230, 1);\r\n border-radius: 4px;\r\n padding: 25px 20px;\r\n margin-top: 24px;\r\n color: #606266;\r\n\r\n .step-div {\r\n .d-u-btn {\r\n display: inline-block;\r\n margin-left: 10px;\r\n margin-right: 10px;\r\n vertical-align: middle;\r\n\r\n .iconfont {\r\n margin-left: 5px;\r\n }\r\n\r\n .warming {\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: rgba(96, 98, 102, 1);\r\n line-height: 30px;\r\n margin-top: 5px;\r\n }\r\n }\r\n\r\n .ft-large {\r\n font-size: 20px;\r\n margin-right: 10px;\r\n color: #909399;\r\n }\r\n }\r\n\r\n .up-btn-div {\r\n text-align: center;\r\n margin-top: 20px;\r\n }\r\n }\r\n}\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/storeIo.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"io-container\"},[_vm._m(0),_vm._v(\" \"),_c('el-radio-group',{staticClass:\"m-t-20\",on:{\"change\":_vm.resetList},model:{value:(_vm.type),callback:function ($$v) {_vm.type=$$v},expression:\"type\"}},[_c('el-radio-button',{attrs:{\"label\":\"import\"}},[_vm._v(\"导入门店\")]),_vm._v(\" \"),_c('el-radio-button',{attrs:{\"label\":\"export\"}},[_vm._v(\"导出/修改门店\")]),_vm._v(\" \"),_c('el-radio-button',{attrs:{\"label\":\"note\"}},[_vm._v(\"错误记录\")])],1),_vm._v(\" \"),(_vm.type == 'import')?_c('div',{staticClass:\"handle-area import\"},[_c('div',{staticClass:\"step-div\",staticStyle:{\"margin-bottom\":\"90px\"}},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"①\")]),_vm._v(\"下载门店导入模板,批量填写门店信息\\n \"),_c('a',{staticClass:\"d-u-btn\",attrs:{\"href\":\"http://www.gicdev.com/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx\"}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"下载\"),_c('i',{staticClass:\"iconfont icon-icon_yunxiazai m-l-5\"})])],1)]),_vm._v(\" \"),_c('div',{staticClass:\"step-div\"},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"②\")]),_vm._v(\"上传填写好的门店信息\\n \"),_c('div',{staticClass:\"d-u-btn m-t-20\"},[_c('el-upload',{ref:\"upload\",staticClass:\"upload-demo\",attrs:{\"action\":_vm.url+'?brandId='+_vm.$route.query.brandId,\"on-success\":_vm.uploadSuccess,\"on-change\":_vm.getChange,\"multiple\":false,\"file-list\":_vm.fileList,\"auto-upload\":false}},[_c('el-button',{attrs:{\"slot\":\"trigger\",\"size\":\"small\",\"type\":\"primary\"},slot:\"trigger\"},[_vm._v(\"选取文件\")]),_vm._v(\" \"),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\"文件格式必须为xls或xlsx格式\")])],1)],1)]),_vm._v(\" \"),_c('div',{staticClass:\"up-btn-div\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.fileList.length == 0},on:{\"click\":function($event){_vm.submitUpload('upload')}}},[_vm._v(\"上传\")])],1)]):(_vm.type == 'export')?_c('div',{staticClass:\"handle-area import\"},[_c('div',{staticClass:\"step-div\",staticStyle:{\"margin-bottom\":\"90px\"}},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"①\")]),_vm._v(\"导出门店\\n \"),_c('a',{staticClass:\"d-u-btn\",attrs:{\"href\":'http://www.gicdev.com/haoban-manage-web/store/export?storeGroupId='+_vm.$route.query.departmentId+'&showChild='+_vm.$route.query.showChildMember}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"下载\"),_c('i',{staticClass:\"iconfont icon-icon_yunxiazai m-l-5\"})])],1),_vm._v(\"\\n 批量修改门店信息\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"step-div\"},[_c('span',{staticClass:\"ft-large\"},[_vm._v(\"②\")]),_vm._v(\"上传修改后的门店信息\\n \"),_c('div',{staticClass:\"d-u-btn m-t-20\"},[_c('el-upload',{ref:\"uploadEdit\",staticClass:\"upload-demo\",attrs:{\"action\":_vm.url+'?brandId='+_vm.$route.query.brandId,\"on-success\":_vm.uploadSuccess,\"on-change\":_vm.getChange,\"multiple\":false,\"file-list\":_vm.fileList,\"auto-upload\":false}},[_c('el-button',{attrs:{\"slot\":\"trigger\",\"size\":\"small\",\"type\":\"primary\"},slot:\"trigger\"},[_vm._v(\"选取文件\")]),_vm._v(\" \"),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\"文件格式必须为xls或xlsx格式\")])],1)],1)]),_vm._v(\" \"),_c('div',{staticClass:\"up-btn-div\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.fileList.length == 0},on:{\"click\":function($event){_vm.submitUpload('uploadEdit')}}},[_vm._v(\"上传\")])],1)]):_c('div',{staticClass:\"error-log import\"},[_c('div',{staticClass:\"title-area\"},[_c('div',{staticClass:\"tip\"}),_vm._v(\" \"),_c('a',{attrs:{\"href\":'http://www.gicdev.com/haoban-manage-web/error-improt-log-export?importCode='+_vm.$route.query.importCode+'&departmentId='+_vm.$route.query.departmentId}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"导出错误记录\")])],1)]),_vm._v(\" \"),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"m-t-20\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.logList}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"width\":\"50\",\"label\":\"序号\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"错误提示\",\"prop\":\"failReason\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"姓名\",\"prop\":\"name\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"手机号\",\"prop\":\"phoneNumber\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"部门ID\",\"prop\":\"departmentId\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"职位\",\"prop\":\"positionName\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"是否此部门负责人(是/否)\",\"prop\":\"isManager\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.isManager == 1 ? \"是\" : \"否\")+\"\\n \")]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"入职时间\",\"prop\":\"hireDate\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"pagination\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"page-sizes\":[20, 40, 60, 80],\"page-size\":_vm.pageSize,\"current-page\":_vm.currentPage,\"layout\":\"total, sizes, prev, pager, next\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],1)],1)])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"tip-area\"},[_c('li',{staticClass:\"tip\"},[_vm._v(\"由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行\"),_c('a',{staticClass:\"a-href\"},[_vm._v(\"企业认证\")])]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"如需更新已存在的门店及店员,可逐个进行修改,或请先导出,在导出表格里进行修改\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"不能在本excel表中对门店信息类别进行增加、删除、修改\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"标*字段为必填字段,未标*字段为选填字段\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证\")]),_vm._v(\" \"),_c('li',{staticClass:\"tip\"},[_vm._v(\"每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-09509eae\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/storeIo.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-09509eae\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./storeIo.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./storeIo.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./storeIo.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-09509eae\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./storeIo.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/storeIo.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([38],{Pjkr:function(e,t){},VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=(a("Mk6G"),a("3E4D")),n=a("Ch4/"),r=(a("PI0u"),a("P9l9")),l={name:"setChildAdmin",data:function(){return{windowH:window.screen.availHeight-440+"px",tableH:window.screen.availHeight-440-180,navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",isAddAdmin:"",activeId:"",activeBrandId:"",roleListData:[],roleRightObj:{roleName:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",roleCode:"",isEdit:0},tableData:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(e){this.changeRoute("/addAdminRole?roleId="+this.activeId+"&type="+e+"&brandId="+this.activeBrandId)},selectRole:function(e,t){this.activeId=e.roleId,this.activeBrandId=t,this.roleRightObj=e,this.getRoleUsers()},toAddRole:function(e){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+e+"&brandId="+this.activeBrandId)},handleDel:function(e,t){var a=this;a.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(i){i.value;a.postDelUser(t.userId,e)}).catch(function(){})},postDelUser:function(e,t){var a=this,i={roleId:a.activeId,userId:e,brandId:a.activeBrandId};Object(r.c)("/haoban-manage-web/del-role-user",i).then(function(e){var i=e.data;if(1==i.errorCode)return o.a.showmsg("删除成功","success"),void a.tableData.splice(t,1);n.a.errorMsg(i)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleShow:function(e,t,a){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+a+"&userId="+t.userId+"&brandId="+this.activeBrandId)},handleSizeChange:function(e){this.pageSize=e,this.getRoleUsers()},handleCurrentChange:function(e){this.currentPage=e,this.getRoleUsers()},getRoleUsers:function(){var e=this,t={roleId:e.activeId,brandId:e.activeBrandId,pageSize:e.pageSize,pageNum:e.currentPage};Object(r.c)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.tableData=[],!1);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(r.c)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.isAddAdmin=a.result.isAddAdmin,e.roleListData=a.result.roleList||[],void(a.result&&a.result.roleList.length&&(e.activeId=e.roleListData[0].roleList[0].roleId,e.activeBrandId=e.roleListData[0].brandId,e.roleRightObj=e.roleListData[0].roleList[0],e.getRoleUsers()));n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:i.a}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content",style:{height:e.windowH}},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},e._l(e.roleListData,function(t,i){return a("div",{key:i,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head flex"},[a("div",{staticClass:"flex-1 max-half role-cell-head_name"},[e._v(e._s(t.brandName))]),e._v(" "),t.canAddRole?a("div",{staticClass:"text-right flex-1 "},[a("el-button",{attrs:{size:"mini"},on:{click:function(a){e.changeRoute("/addAdminRole?brandId="+t.brandId)}}},[e._v("新增角色")])],1):e._e()]),e._v(" "),a("ul",e._l(t.roleList,function(i,o){return a("li",{key:o,class:["role-cell border-bottom-1",t.brandId==e.activeBrandId&&i.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(i,t.brandId)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v("\n "+e._s(i.roleName)+"\n ")])}))])})),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between m-b-25"},[a("span",{staticClass:"font-20 color-303133"},[e._v("\n "+e._s(e.roleRightObj.roleName)+"\n ")]),"child_admin"!=e.roleRightObj.roleCode?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v("\n 查看权限\n ")]):e._e(),"child_admin"==e.roleRightObj.roleCode?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("edit")}}},[e._v("\n 编辑权限\n ")]):e._e()]),e._v(" "),"master_admin"===e.roleRightObj.roleCode||"admin"===e.roleRightObj.roleCode?a("div",{staticClass:"role-tip "},[a("el-alert",{attrs:{title:"master_admin"===e.roleRightObj.roleCode?"企业的创建者,拥有企业的所有权限,只会有一个":"admin"===e.roleRightObj.roleCode?"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个":"",type:"info",closable:!1,"show-icon":""}})],1):e._e(),e._v(" "),e.roleRightObj.isEdit?a("div",{staticClass:"role-add m-t-27"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.toAddRole(e.roleRightObj.roleCode)}}},[e._v("添加成员")])],1):e._e(),e._v(" "),a("div",{class:["role-table",e.roleRightObj.isEdit?"":"m-t-27"]},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,height:e.tableH}},[a("el-table-column",{attrs:{prop:"clerkName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"clerkPhone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"部门"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return 1==t.row.canEdit?[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleShow(t.$index,t.row,e.roleRightObj.roleCode)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")])]:void 0}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(l,s,!1,function(e){a("Pjkr")},"data-v-24cac558",null);t.default=d.exports}});
//# sourceMappingURL=38.7cd271edb5663859b41a.js.map
\ No newline at end of file
webpackJsonp([40],{Hfih:function(e,t){},VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=(a("Mk6G"),a("3E4D")),n=a("Ch4/"),r=(a("PI0u"),a("P9l9")),l={name:"setChildAdmin",data:function(){return{windowH:window.screen.availHeight-440+"px",tableH:window.screen.availHeight-440-180,navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",isAddAdmin:"",activeId:"",activeBrandId:"",roleListData:[],roleRightObj:{roleName:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",roleCode:"",isEdit:0},tableData:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(e){this.changeRoute("/addAdminRole?roleId="+this.activeId+"&type="+e+"&brandId="+this.activeBrandId)},selectRole:function(e,t){this.activeId=e.roleId,this.activeBrandId=t,this.roleRightObj=e,this.getRoleUsers()},toAddRole:function(e){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+e+"&brandId="+this.activeBrandId)},handleDel:function(e,t){var a=this;a.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(i){i.value;a.postDelUser(t.userId,e)}).catch(function(){})},postDelUser:function(e,t){var a=this,i={roleId:a.activeId,userId:e,brandId:a.activeBrandId};Object(r.c)("/haoban-manage-web/del-role-user",i).then(function(e){var i=e.data;if(1==i.errorCode)return o.a.showmsg("删除成功","success"),void a.tableData.splice(t,1);n.a.errorMsg(i)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleShow:function(e,t,a){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+a+"&userId="+t.userId+"&brandId="+this.activeBrandId)},handleSizeChange:function(e){this.pageSize=e,this.getRoleUsers()},handleCurrentChange:function(e){this.currentPage=e,this.getRoleUsers()},getRoleUsers:function(){var e=this,t={roleId:e.activeId,brandId:e.activeBrandId,pageSize:e.pageSize,pageNum:e.currentPage};Object(r.c)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.tableData=[],!1);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(r.c)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.isAddAdmin=a.result.isAddAdmin,e.roleListData=a.result.roleList||[],void(a.result&&a.result.roleList.length&&(e.activeId=e.roleListData[0].roleList[0].roleId,e.activeBrandId=e.roleListData[0].brandId,e.roleRightObj=e.roleListData[0].roleList[0],e.getRoleUsers()));n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:i.a}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content",style:{height:e.windowH}},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},e._l(e.roleListData,function(t,i){return a("div",{key:i,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head flex"},[a("div",{staticClass:"flex-1 max-half role-cell-head_name"},[e._v(e._s(t.brandName))]),e._v(" "),t.canAddRole?a("div",{staticClass:"text-right flex-1 "},[a("el-button",{attrs:{size:"mini"},on:{click:function(a){e.changeRoute("/addAdminRole?brandId="+t.brandId)}}},[e._v("新增角色")])],1):e._e()]),e._v(" "),a("ul",e._l(t.roleList,function(i,o){return a("li",{key:o,class:["role-cell border-bottom-1",t.brandId==e.activeBrandId&&i.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(i,t.brandId)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v("\n "+e._s(i.roleName)+"\n ")])}))])})),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between m-b-25"},[a("span",{staticClass:"font-20 color-303133"},[e._v("\n "+e._s(e.roleRightObj.roleName)+"\n ")]),"child_admin"!=e.roleRightObj.roleCode?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v("\n 查看权限\n ")]):e._e(),"child_admin"==e.roleRightObj.roleCode?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("edit")}}},[e._v("\n 编辑权限\n ")]):e._e()]),e._v(" "),"master_admin"===e.roleRightObj.roleCode||"admin"===e.roleRightObj.roleCode?a("div",{staticClass:"role-tip "},[a("el-alert",{attrs:{title:"master_admin"===e.roleRightObj.roleCode?"企业的创建者,拥有企业的所有权限,只会有一个":"admin"===e.roleRightObj.roleCode?"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个":"",type:"info",closable:!1,"show-icon":""}})],1):e._e(),e._v(" "),e.roleRightObj.isEdit?a("div",{staticClass:"role-add m-t-27"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.toAddRole(e.roleRightObj.roleCode)}}},[e._v("添加成员")])],1):e._e(),e._v(" "),a("div",{class:["role-table",e.roleRightObj.isEdit?"":"m-t-27"]},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,height:e.tableData.length?e.tableH:"auto"}},[a("el-table-column",{attrs:{prop:"clerkName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"clerkPhone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"部门"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return 1==t.row.canEdit?[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleShow(t.$index,t.row,e.roleRightObj.roleCode)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")])]:void 0}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(l,s,!1,function(e){a("Hfih")},"data-v-01bdcde4",null);t.default=d.exports}});
//# sourceMappingURL=40.6ff12ea562cf0ae0f1ea.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/setting/setChildAdmin.vue","webpack:///./src/views/setting/setChildAdmin.vue?571e","webpack:///./src/views/setting/setChildAdmin.vue"],"names":["setChildAdmin","name","data","windowH","window","screen","availHeight","tableH","navpath","path","boxHeight","isAddAdmin","activeId","activeBrandId","roleListData","roleRightObj","roleName","tip","roleCode","isEdit","tableData","currentPage","pageSize","total","computed","methods","changeRoute","this","$router","push","toRoleDetail","type","selectRole","item","brandId","roleId","getRoleUsers","toAddRole","handleDel","index","that","$alert","confirmButtonText","cancelButtonText","then","_ref","value","postDelUser","userId","catch","para","Object","api","res","resData","errorCode","showmsg","splice","error","errorMsg","$message","duration","message","handleShow","handleSizeChange","val","handleCurrentChange","pageNum","result","totalCount","getRoles","roleList","length","mounted","components","navCrumb","nav","setting_setChildAdmin","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","style","height","_l","pItem","pIndex","key","_s","brandName","canAddRole","size","on","click","$event","_e","class","stopPropagation","title","closable","show-icon","staticStyle","width","prop","label","scopedSlots","_u","fn","scope","row","canEdit","$index","undefined","background","current-page","page-sizes","page-size","layout","size-change","current-change","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"uMAgHAA,GACAC,KAAA,gBACAC,KAFA,WAGA,OACAC,QAAAC,OAAAC,OAAAC,YAAA,SACAC,OAAAH,OAAAC,OAAAC,YAAA,QAEAE,UAEAP,KAAA,KACAQ,KAAA,WAGAR,KAAA,KACAQ,KAAA,oBAGAR,KAAA,SACAQ,KAAA,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"{'height': windowH}\">\n <div class=\"right-box\">\n <div class=\"setChildAdmin-wrap-body flex\">\n <div class=\"setChildAdmin-wrap-left w-260\" :style=\"{height: boxHeight}\">\n\n <div class=\"m-t-20\" v-for=\"(pItem,pIndex) in roleListData\" :key=\"pIndex\">\n <div class=\"role-cell-head flex\">\n <div class=\"flex-1 max-half role-cell-head_name\">{{pItem.brandName}}</div>\n <div class=\"text-right flex-1 \" v-if=\"!!pItem.canAddRole\"><el-button size=\"mini\" @click=\"changeRoute('/addAdminRole?brandId=' + pItem.brandId)\">新增角色</el-button></div>\n </div>\n <ul>\n <li\n v-for=\"(item,index) in pItem.roleList\"\n :key=\"index\"\n :class=\"['role-cell border-bottom-1',(pItem.brandId == activeBrandId && item.roleId == activeId)? 'role-active':'']\"\n @click.stop=\"selectRole(item,pItem.brandId)\">\n <i class=\"iconfont icon-lizhi p-r-6\"></i>\n {{item.roleName}}\n </li>\n </ul>\n </div>\n </div>\n <div class=\"setChildAdmin-wrap-right box-sizing\">\n <div class=\"role-title flex flex-between m-b-25\">\n <span class=\"font-20 color-303133\">\n {{roleRightObj.roleName}}\n </span><span\n class=\"font-14 color-1890ff pinter\"\n v-if=\"roleRightObj.roleCode !='child_admin'\"\n @click=\"toRoleDetail('show')\">\n 查看权限\n </span><span\n class=\"font-14 color-1890ff pinter\"\n v-if=\"roleRightObj.roleCode =='child_admin'\"\n @click=\"toRoleDetail('edit')\">\n 编辑权限\n </span>\n </div>\n <div class=\"role-tip \" v-if=\"roleRightObj.roleCode === 'master_admin' || roleRightObj.roleCode === 'admin'\">\n <el-alert\n :title=\"roleRightObj.roleCode === 'master_admin'?'企业的创建者,拥有企业的所有权限,只会有一个':roleRightObj.roleCode === 'admin'? '企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个': ''\"\n type=\"info\"\n :closable=\"false\"\n show-icon>\n </el-alert>\n </div>\n <div class=\"role-add m-t-27\" v-if=\"!!roleRightObj.isEdit\">\n <el-button type=\"primary\" @click=\"toAddRole(roleRightObj.roleCode)\">添加成员</el-button>\n </div>\n <div :class=\"['role-table', !!roleRightObj.isEdit?'': 'm-t-27']\">\n <el-table\n :data=\"tableData\"\n :height=\"tableData.length? tableH:'auto'\"\n style=\"width: 100%\">\n <el-table-column\n prop=\"clerkName\"\n label=\"姓名\"\n >\n </el-table-column>\n <el-table-column\n prop=\"clerkPhone\"\n label=\"手机号\"\n >\n </el-table-column>\n <el-table-column\n prop=\"groupName\"\n label=\"部门\">\n </el-table-column>\n <el-table-column\n label=\"操作\">\n <template slot-scope=\"scope\" v-if=\"scope.row.canEdit == 1\">\n <el-button\n @click=\"handleShow(scope.$index,scope.row,roleRightObj.roleCode)\"\n type=\"text\"\n size=\"small\">编辑</el-button>\n <el-button\n @click=\"handleDel(scope.$index,scope.row)\"\n type=\"text\"\n size=\"small\">删除</el-button>\n </template>\n </el-table-column>\n </el-table>\n <div class=\"block common-wrap__page text-right\" v-if=\"tableData.length!=0\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"pageSize\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport strLength from '@/common/js/strlen';\nimport showMsg from '@/common/js/showmsg';\nimport errMsg from '@/common/js/error';\nimport { _debounce } from \"@/common/js/public\";\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\nexport default {\n name: \"setChildAdmin\",\n data() {\n return {\n windowH: (window.screen.availHeight - 440) + 'px',\n tableH: window.screen.availHeight - 440 - 180,\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '设置',\n path: '/companyAddress'\n },\n {\n name: '设置子管理员',\n path: ''\n }\n ],\n boxHeight: window.screen.availHeight + 'px',\n isAddAdmin: '', // 是否有添加管理员权限\n activeId: '', // 当前选择的管理员 id\n activeBrandId: '',// 当前选择的管理员对应的品牌 id\n roleListData: [\n // {\n // brandId: '1',\n // brandName: '集团',\n // roleList: [\n // {\n // roleId: '1',\n // roleName: '超级管理员'\n // },\n // {\n // roleId: '2',\n // roleName: '企业管理员'\n // }\n // ],\n // }\n ],\n roleRightObj: {\n roleName: '超级管理员',\n tip: '企业的创建者,拥有企业的所有权限,只会有一个',\n roleCode: '',\n isEdit: 0\n },\n // 角色表格数据\n tableData: [\n // {\n // userId: 1,\n // clerkName: '张三',\n // clerkPhone: '13333333333',\n // groupName: '技术部'\n // }\n ],\n // 分页参数\n currentPage: 1,\n pageSize: 20,\n total: 0,\n }\n },\n computed: {\n\n },\n methods: {\n /**\n * 路由跳转\n */\n changeRoute(path) {\n this.$router.push(path);\n },\n\n /**\n * role 详情\n */\n toRoleDetail(type) {\n const that = this;\n that.changeRoute(`/addAdminRole?roleId=${that.activeId}&type=${type}&brandId=${that.activeBrandId}`);\n },\n\n /**\n * 选择 role\n */\n selectRole(item,brandId) {\n const that = this;\n that.activeId = item.roleId;\n that.activeBrandId = brandId;\n that.roleRightObj = item;\n that.getRoleUsers();\n },\n\n /**\n * 添加成员\n */\n toAddRole(roleCode) {\n const that = this;\n that.changeRoute(`/addAdmin?roleId=${that.activeId}&roleCode=${roleCode}&brandId=${that.activeBrandId}`);\n },\n\n /**\n * 删除成员\n */\n handleDel(index,item) {\n const that = this;\n that.$alert('确定要删除?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n }).then(({ value }) => {\n that.postDelUser(item.userId,index);\n }).catch(() => {\n });\n },\n\n postDelUser(userId,index) {\n const that = this;\n let para = {\n roleId: that.activeId,\n userId: userId,\n brandId: that.activeBrandId\n }\n postRequest('/haoban-manage-web/del-role-user',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n showMsg.showmsg('删除成功','success')\n that.tableData.splice(index,1)\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n handleShow(index,item,roleCode) {\n const that = this;\n that.changeRoute(`/addAdmin?roleId=${that.activeId}&roleCode=${roleCode}&userId=${item.userId}&brandId=${that.activeBrandId}`);\n },\n\n /**\n * 分页---页码变化\n */\n handleSizeChange(val) {\n const that = this;\n that.pageSize = val;\n that.getRoleUsers();\n },\n\n /**\n * 分页---当前页变化\n */\n handleCurrentChange(val) {\n const that = this;\n that.currentPage = val;\n that.getRoleUsers();\n },\n\n /**\n * 获取角色用户数据\n */\n getRoleUsers() {\n const that = this;\n let para = {\n roleId: that.activeId,\n brandId: that.activeBrandId,\n pageSize: that.pageSize,\n pageNum: that.currentPage\n }\n postRequest('/haoban-manage-web/role-user-list',para)\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n if(!resData.result || !resData.result.result){\n that.tableData = [];\n return false;\n }\n that.tableData = resData.result.result;\n that.total = resData.result.totalCount;\n return;\n }\n errMsg.errorMsg(resData);\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n },\n\n /**\n * 获取角色数据\n */\n getRoles() {\n const that = this;\n postRequest('/haoban-manage-web/role-list',{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n that.isAddAdmin = resData.result.isAddAdmin;\n that.roleListData = resData.result.roleList || [];\n if (!!resData.result && !!resData.result.roleList.length) {\n that.activeId = that.roleListData[0].roleList[0].roleId;\n that.activeBrandId = that.roleListData[0].brandId;\n that.roleRightObj = that.roleListData[0].roleList[0];\n that.getRoleUsers();\n }\n return;\n }\n errMsg.errorMsg(resData)\n })\n .catch(function (error) {\n that.$message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n },\n mounted() {\n const that = this;\n that.boxHeight = (window.screen.availHeight - 430) + 'px';\n that.getRoles();\n },\n components: {\n navCrumb\n }\n}\n</script>\n<style lang=\"less\" scoped>\n.border-box {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n/* display */\n.inline-block {\n display: inline-block;\n}\n\n.block {\n display: block;\n}\n\n.top {\n vertical-align: top;\n}\n\n.middle {\n vertical-align: middle;\n}\n\n.pinter {\n cursor: pointer;\n}\n\n.text-right {\n text-align: right;\n}\n\n/* flex */\n.flex {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n\n.flex-1 {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n.flex-column {\n -webkit-flex-direction: column;\n -moz-flex-direction: column;\n -ms-flex-direction: column;\n -o-flex-direction: column;\n flex-direction: column;\n}\n\n.flex-row {\n -webkit-flex-direction: row;\n -moz-flex-direction: row;\n -ms-flex-direction: row;\n -o-flex-direction: row;\n flex-direction: row;\n}\n\n.flex-align-center {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.flex-pack-center {\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.flex-between {\n -webkit-justify-content: space-between;\n justify-content: space-between;\n}\n\n.flex-wrap {\n -webkit-flex-wrap: wrap;\n -moz-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n -o-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.font-14 {\n font-size: 14px;\n}\n\n.font-20 {\n font-size: 20px;\n}\n\n.color-303133 {\n color: #303133;\n}\n\n.color-1890ff {\n color: #1890ff;\n}\n\n.text-center {\n text-align: center;\n}\n\n.w-260 {\n width: 260px;\n}\n\n.p-r-6 {\n padding-right: 6px;\n}\n\n.m-t-20 {\n margin-top: 20px;\n}\n\n.m-b-25 {\n margin-bottom: 25px;\n}\n\n.m-t-27 {\n margin-top: 27px;\n}\n\n.common-wrap__page {\n margin-top: 24px;\n}\n\n.right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n /*background: #fff;*/\n /*padding: 24px;*/\n /*min-height: 500px;*/\n\n .setChildAdmin-wrap {\n &-body {\n\n }\n\n &-left {\n min-width: 260px;\n height: 100%;\n padding: 20px 0 0 0;\n background: #EEF1F8;\n overflow-x: hidden;\n overflow-y: auto;\n\n .role-cell-head {\n height: 36px;\n line-height: 36px;\n padding: 0 20px;\n font-size: 14px;\n color: #606266;\n\n .max-half {\n max-width: 50%;\n min-width: 50%;\n width: 50%;\n overflow: hidden;\n }\n }\n\n .role-cell {\n position: relative;\n width: 220px;\n height: 36px;\n line-height: 36px;\n padding: 0 20px;\n font-size: 14px;\n color: #606266;\n background: #fff;\n cursor: pointer;\n overflow: hidden;\n i {\n color: #1890ff;\n }\n &:hover {\n color: #fff;\n background: #1890ff;\n i {\n color: #fff;\n }\n }\n\n &.role-active {\n color: #fff;\n background: #1890ff;\n i {\n color: #fff;\n }\n }\n }\n\n }\n\n &-right {\n width: calc(100% - 260px);\n padding: 24px;\n background: #fff;\n\n .role-tip {\n .el-alert {\n background-color: rgba(64,158,255,.1);\n border: 1px solid rgba(64,158,255,.2);\n color: #606266;\n font-size: 13px;\n /deep/ i {\n font-size: 16px;\n color: #1890ff;\n }\n }\n }\n\n .role-add {\n background: #EBEEF5;\n padding: 8px 0 8px 15px;\n }\n }\n }\n }\n}\n\n.el-table {\n /deep/.el-table__empty-block {\n height: 256px;\n }\n\n /deep/.el-table__empty-text{\n width: auto;\n margin-bottom:80px;\n &::before{\n content: ' ';\n display: block;\n width: 60px;\n height: 60px;\n background: url(../../assets/no-data_icon.png) no-repeat center;\n margin: 0px auto 22px auto;\n }\n }\n\n /deep/.el-table__empty-text {\n margin-bottom: 0;\n }\n}\n\n\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/setChildAdmin.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"setChildAdmin-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\",style:({'height': _vm.windowH})},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"setChildAdmin-wrap-body flex\"},[_c('div',{staticClass:\"setChildAdmin-wrap-left w-260\",style:({height: _vm.boxHeight})},_vm._l((_vm.roleListData),function(pItem,pIndex){return _c('div',{key:pIndex,staticClass:\"m-t-20\"},[_c('div',{staticClass:\"role-cell-head flex\"},[_c('div',{staticClass:\"flex-1 max-half role-cell-head_name\"},[_vm._v(_vm._s(pItem.brandName))]),_vm._v(\" \"),(!!pItem.canAddRole)?_c('div',{staticClass:\"text-right flex-1 \"},[_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.changeRoute('/addAdminRole?brandId=' + pItem.brandId)}}},[_vm._v(\"新增角色\")])],1):_vm._e()]),_vm._v(\" \"),_c('ul',_vm._l((pItem.roleList),function(item,index){return _c('li',{key:index,class:['role-cell border-bottom-1',(pItem.brandId == _vm.activeBrandId && item.roleId == _vm.activeId)? 'role-active':''],on:{\"click\":function($event){$event.stopPropagation();_vm.selectRole(item,pItem.brandId)}}},[_c('i',{staticClass:\"iconfont icon-lizhi p-r-6\"}),_vm._v(\"\\n \"+_vm._s(item.roleName)+\"\\n \")])}))])})),_vm._v(\" \"),_c('div',{staticClass:\"setChildAdmin-wrap-right box-sizing\"},[_c('div',{staticClass:\"role-title flex flex-between m-b-25\"},[_c('span',{staticClass:\"font-20 color-303133\"},[_vm._v(\"\\n \"+_vm._s(_vm.roleRightObj.roleName)+\"\\n \")]),(_vm.roleRightObj.roleCode !='child_admin')?_c('span',{staticClass:\"font-14 color-1890ff pinter\",on:{\"click\":function($event){_vm.toRoleDetail('show')}}},[_vm._v(\"\\n 查看权限\\n \")]):_vm._e(),(_vm.roleRightObj.roleCode =='child_admin')?_c('span',{staticClass:\"font-14 color-1890ff pinter\",on:{\"click\":function($event){_vm.toRoleDetail('edit')}}},[_vm._v(\"\\n 编辑权限\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.roleRightObj.roleCode === 'master_admin' || _vm.roleRightObj.roleCode === 'admin')?_c('div',{staticClass:\"role-tip \"},[_c('el-alert',{attrs:{\"title\":_vm.roleRightObj.roleCode === 'master_admin'?'企业的创建者,拥有企业的所有权限,只会有一个':_vm.roleRightObj.roleCode === 'admin'? '企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个': '',\"type\":\"info\",\"closable\":false,\"show-icon\":\"\"}})],1):_vm._e(),_vm._v(\" \"),(!!_vm.roleRightObj.isEdit)?_c('div',{staticClass:\"role-add m-t-27\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.toAddRole(_vm.roleRightObj.roleCode)}}},[_vm._v(\"添加成员\")])],1):_vm._e(),_vm._v(\" \"),_c('div',{class:['role-table', !!_vm.roleRightObj.isEdit?'': 'm-t-27']},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"height\":_vm.tableData.length? _vm.tableH:'auto'}},[_c('el-table-column',{attrs:{\"prop\":\"clerkName\",\"label\":\"姓名\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"clerkPhone\",\"label\":\"手机号\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"groupName\",\"label\":\"部门\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return scope.row.canEdit == 1?[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleShow(scope.$index,scope.row,_vm.roleRightObj.roleCode)}}},[_vm._v(\"编辑\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleDel(scope.$index,scope.row)}}},[_vm._v(\"删除\")])]:undefined}}])})],1),_vm._v(\" \"),(_vm.tableData.length!=0)?_c('div',{staticClass:\"block common-wrap__page text-right\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-sizes\":[10, 20, 30, 40],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)])])])]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-01bdcde4\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/setting/setChildAdmin.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-01bdcde4\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./setChildAdmin.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./setChildAdmin.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./setChildAdmin.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-01bdcde4\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./setChildAdmin.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-01bdcde4\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/setting/setChildAdmin.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","bgHeight","screen","availHeight","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","baseUrl","host","location","origin","indexOf","localStorage","get","res","resData","errorCode","Message","error","duration","message","setItem","stringify_default","result","catch","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,uJCCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,c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C,4BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,GAEAC,uCACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAA5H,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAuK,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAA3J,GAAA,OACAf,EAAAC,QAAAyK","file":"static/js/app.1ebc709a00965913c2d7.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-d8072086\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8072086\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport _import from './_import.js'\r\nVue.use(Router);\r\n\r\n// const error403 = (r) => {\r\n// import('views/errorPage/403.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error404 = (r) => {\r\n// import('views/errorPage/404.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error500 = (r) => {\r\n// import('views/errorPage/500.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\nconst errorPage = (r) => {\r\n import('views/errorPage/index.vue').then((module) => {\r\n r(module)\r\n })\r\n};\r\n// 页面刷新时,重新赋值token\r\nif (window.sessionStorage.getItem('token')) {\r\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\r\n}\r\nexport const constantRouterMap = [\r\n {\r\n path: '/',\r\n name: '/',\r\n redirect: 'login',\r\n },\r\n {\r\n path: '/login',\r\n name: '登录',\r\n component: _import('login','index')\r\n },\r\n {\r\n path: '/index',\r\n name: 'index',\r\n component: _import('index','index'),\r\n },\r\n {\r\n path: '/contacts',\r\n name: '通讯录',\r\n redirect: 'administrativeFrame',\r\n component: _import('contacts','index'),\r\n children: [\r\n // 通讯录\r\n {\r\n path: '/administrativeFrame',\r\n name: '行政架构',\r\n component: _import('contacts','administrativeFrame')\r\n },\r\n {\r\n path: \"/employeeIo\",\r\n name: \"批量导入/导出\",\r\n component: _import('contacts','employeeIo')\r\n },\r\n {\r\n path: '/addDepartment',\r\n name: '添加部门',\r\n component: _import('contacts','addDepartment')\r\n },\r\n {\r\n path: '/addClerk',\r\n name: '添加店员',\r\n component: _import('contacts','addClerk')\r\n },\r\n {\r\n path: '/storeFrame',\r\n name: '门店架构',\r\n component: _import('contacts','storeFrame')\r\n },\r\n {\r\n path: '/addGroup',\r\n name: '添加子分组',\r\n component: _import('contacts','addGroup')\r\n },\r\n {\r\n path: '/storeIo',\r\n name: '门店导入/导出',\r\n component: _import('contacts','storeIo')\r\n },\r\n {\r\n path: '/storeInfo',\r\n name: '编辑门店',\r\n component: _import('contacts','storeInfo')\r\n },\r\n {\r\n path: \"/recycle\",\r\n name: \"门店回收站\",\r\n component: _import('contacts','recycle')\r\n },\r\n {\r\n path: '/employee',\r\n name: '在职员工',\r\n component: _import('contacts','employee')\r\n },\r\n {\r\n path: '/unemployee',\r\n name: '离职员工',\r\n component: _import('contacts','unemployee')\r\n },\r\n {\r\n path: '/fileSet',\r\n name: '档案设置',\r\n component: _import('contacts','fileSet')\r\n },\r\n {\r\n path: '/recordInfo',\r\n name: '编辑员工信息',\r\n component: _import('contacts','recordInfo')\r\n },\r\n {\r\n path: '/recordIo',\r\n name: '导入导出员工档案',\r\n component: _import('contacts','recordIo')\r\n },\r\n {\r\n path: '/shareContact',\r\n name: '共享通讯录',\r\n component: _import('contacts','shareContact')\r\n },\r\n {\r\n path: \"/shareCode\",\r\n name: '共享通讯录二维码',\r\n component: _import('contacts','shareCode')\r\n },\r\n {\r\n path: \"/employeeRecord\",\r\n name: '在职员工',\r\n component: _import('contacts','employeeRecord')\r\n }\r\n ]\r\n },\r\n {\r\n // 企业应用\r\n path: '/enterpriseApp',\r\n name: '企业应用',\r\n component: _import('enterpriseApp','index'),\r\n },\r\n {\r\n // 审核中心\r\n path: '/reviewCenter',\r\n name: '审核中心',\r\n redirect: 'unreview',\r\n component: _import('reviewCenter','index'),\r\n children: [\r\n {\r\n path: '/reviewed',\r\n name: '已审核',\r\n component: _import('reviewCenter','reviewed')\r\n },\r\n {\r\n path: '/unreview',\r\n name: '未审核',\r\n component: _import('reviewCenter','unreview')\r\n },\r\n ]\r\n },\r\n {\r\n // 设置模块\r\n path: '/setCenter',\r\n name: '设置',\r\n redirect: 'companyAddress',\r\n component: _import('setting','index'),\r\n children: [\r\n {\r\n path: '/companyAddress',\r\n name: '企业地址',\r\n component: _import('setting','companyAddress')\r\n },\r\n {\r\n path: '/companyCertify',\r\n name: '企业认证',\r\n component: _import('setting','companyCertify')\r\n },\r\n {\r\n path: '/staffDetails',\r\n name: '员工详情字段',\r\n component: _import('setting','staffDetails')\r\n },\r\n {\r\n path: '/storePermission',\r\n name: '门店权限设置',\r\n component: _import('setting','storePermission')\r\n },\r\n {\r\n path: '/replaceAdmin',\r\n name: '更换超级管理员',\r\n component: _import('setting','replaceAdmin')\r\n },\r\n {\r\n path: '/setChildAdmin',\r\n name: '设置子管理员',\r\n component: _import('setting','setChildAdmin')\r\n },\r\n {\r\n path: '/addAdmin',\r\n name: '添加管理员',\r\n component: _import('setting','addAdmin')\r\n },\r\n {\r\n path: '/addAdminRole',\r\n name: '添加管理员角色',\r\n component: _import('setting','addAdminRole')\r\n }\r\n ]\r\n },\r\n {\r\n path: '/staffRecordsTemplate',\r\n name: '员工档案设置',\r\n component: _import('contacts','staffRecordsTemplate')\r\n },\r\n {\r\n path: '/403',\r\n name: '无权访问',\r\n component: errorPage\r\n },\r\n {\r\n path: '/404',\r\n name: 'error404',\r\n component: errorPage\r\n },\r\n {\r\n path: '/500',\r\n name: 'error500',\r\n component: errorPage\r\n },\r\n { path: '*', redirect: '/404', hidden: true },\r\n];\r\nexport default new Router({\r\n // mode:'history',\r\n routes: constantRouterMap,\r\n scrollBehavior: () => ({ y: 0 }),\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\nimport Vue from 'vue'\nimport * as types from './types'\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n state: {\n user: {},\n token: null,\n title: '',\n show: false,\n bgHeight: (window.screen.availHeight - 440) +'px'\n },\n mutations: {\n [types.LOGIN]: (state, data) => {\n sessionStorage.token = data;\n state.token = data;\n },\n [types.LOGOUT]: (state) => {\n sessionStorage.removeItem('token');\n state.token = null\n },\n [types.TITLE]: (state, data) => {\n state.title = data;\n },\n [types.SHOW]: (state,data) => {\n state.show = data;\n }\n }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n let baseUrl;\n let host = window.location.origin;\n if (host.indexOf('localhost') != '-1') {\n baseUrl = 'http://www.gicdev.com';\n }else {\n baseUrl = host;\n }\n if (!localStorage.getItem('userInfo')) {\n axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n localStorage.setItem('userInfo',JSON.stringify(resData.result));\n return;\n }\n Message.error({\n duration: 1000,\n message: resData.message\n })\n })\n .catch(function (error) {\n Message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t10\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t39\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t33\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t36\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t22\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t17\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t21\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t37\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t13\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t29\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t40\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t12\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t28\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t19\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t23\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t20\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t25\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t34\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t11\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t14\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t31\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t18\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t26\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t35\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t30\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t38\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t24\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t16\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([42],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("6jtR")},null,null).exports,i=n("/ocq"),m=n("5tgt"),d=n.n(m);r.default.use(i.a);var p=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var u,l=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"index",component:d()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:d()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:d()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:d()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:d()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:d()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:d()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:d()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:d()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:d()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:d()("contacts","recycle")},{path:"/employee",name:"在职员工",component:d()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:d()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:d()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:d()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:d()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:d()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:d()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:d()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:d()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:d()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:d()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:d()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:d()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:d()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:d()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:d()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:d()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:d()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:d()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:d()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:d()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),w=n.n(g),y=n("mtWM"),C=n.n(y),A=n("bOdI"),I=n.n(A),x=n("NYxO");r.default.use(x.a);var R=new x.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440+"px"},mutations:(u={},I()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),I()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),I()(u,"title",function(e,t){e.title=t}),I()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),S=n("tyqE"),j=n.n(S),O=n("pRVe"),T=n.n(O),b=n("SE7k"),D=n.n(b),F=n("XsK6"),z=n.n(F),E=n("QRL9"),G=n.n(E),H=n("2Pnh"),q=n.n(H),J=n("l9mu"),X=n.n(J),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;q()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new X.a("","pt","a4");if(r<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)m.addImage(i,"JPEG",0,c,595.28,s),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};r.default.use(U),r.default.use(z.a),r.default.use(G.a),r.default.use(D.a),r.default.use(T.a),r.default.use(j.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(w.a,C.a),r.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var o=void 0,r=window.location.origin;o="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||C.a.get(o+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode?h.Message.error({duration:1e3,message:t.message}):localStorage.setItem("userInfo",a()(t.result))}).catch(function(e){h.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,15],"./contacts/addDepartment.vue":["HHRu",0,10],"./contacts/addEmployee.vue":["00Sv",39],"./contacts/addGroup.vue":["mPjx",0,32],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,33],"./contacts/employeeIo.vue":["Rwbg",0,36],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,27],"./contacts/recordInfo.vue":["67iC",0,22],"./contacts/recordIo.vue":["738z",0,17],"./contacts/recycle.vue":["HkK0",0,21],"./contacts/shareAddDepartment.vue":["q5Ri",0,9],"./contacts/shareCode.vue":["JsWW",0,37],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,13],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,29],"./contacts/storeIo.vue":["RHxA",0,40],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/index.vue":["da9f",28],"./errorPage/403.vue":["6XGN",19],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,25],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",34],"./reviewCenter/reviewed.vue":["CLYF",0,11],"./reviewCenter/unreview.vue":["xCEU",0,14],"./setting/addAdmin.vue":["rs/A",0,31],"./setting/addAdminRole.vue":["fZsz",0,18],"./setting/companyAddress.vue":["SKyE",0,26],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",35],"./setting/replaceAdmin.vue":["ys9I",0,30],"./setting/setChildAdmin.vue":["VqB7",0,38],"./setting/staffDetails.vue":["Zyzf",0,24],"./setting/storePermission.vue":["Xwfy",0,16]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.1ebc709a00965913c2d7.js.map
\ No newline at end of file
webpackJsonp([42],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("6jtR")},null,null).exports,i=n("/ocq"),m=n("5tgt"),d=n.n(m);r.default.use(i.a);var p=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var u,l=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"index",component:d()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:d()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:d()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:d()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:d()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:d()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:d()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:d()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:d()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:d()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:d()("contacts","recycle")},{path:"/employee",name:"在职员工",component:d()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:d()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:d()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:d()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:d()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:d()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:d()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:d()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:d()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:d()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:d()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:d()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:d()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:d()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:d()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:d()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:d()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:d()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:d()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:d()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:d()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),w=n.n(g),y=n("mtWM"),C=n.n(y),A=n("bOdI"),I=n.n(A),x=n("NYxO");r.default.use(x.a);var R=new x.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(u={},I()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),I()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),I()(u,"title",function(e,t){e.title=t}),I()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),S=n("tyqE"),j=n.n(S),O=n("pRVe"),T=n.n(O),b=n("SE7k"),D=n.n(b),F=n("XsK6"),z=n.n(F),E=n("QRL9"),G=n.n(E),H=n("2Pnh"),q=n.n(H),J=n("l9mu"),X=n.n(J),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;q()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new X.a("","pt","a4");if(r<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)m.addImage(i,"JPEG",0,c,595.28,s),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};r.default.use(U),r.default.use(z.a),r.default.use(G.a),r.default.use(D.a),r.default.use(T.a),r.default.use(j.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(w.a,C.a),r.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var o=void 0,r=window.location.origin;o="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||C.a.get(o+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode?h.Message.error({duration:1e3,message:t.message}):localStorage.setItem("userInfo",a()(t.result))}).catch(function(e){h.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,15],"./contacts/addDepartment.vue":["HHRu",0,10],"./contacts/addEmployee.vue":["00Sv",38],"./contacts/addGroup.vue":["mPjx",0,32],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,33],"./contacts/employeeIo.vue":["Rwbg",0,36],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,27],"./contacts/recordInfo.vue":["67iC",0,22],"./contacts/recordIo.vue":["738z",0,17],"./contacts/recycle.vue":["HkK0",0,21],"./contacts/shareAddDepartment.vue":["q5Ri",0,9],"./contacts/shareCode.vue":["JsWW",0,37],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,14],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,29],"./contacts/storeIo.vue":["RHxA",0,39],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/index.vue":["da9f",28],"./errorPage/403.vue":["6XGN",19],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,25],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",34],"./reviewCenter/reviewed.vue":["CLYF",0,11],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,31],"./setting/addAdminRole.vue":["fZsz",0,18],"./setting/companyAddress.vue":["SKyE",0,26],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",35],"./setting/replaceAdmin.vue":["ys9I",0,30],"./setting/setChildAdmin.vue":["VqB7",0,40],"./setting/staffDetails.vue":["Zyzf",0,24],"./setting/storePermission.vue":["Xwfy",0,16]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.68949e8aa0c051d9a57e.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","bgHeight","screen","availHeight","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","baseUrl","host","location","origin","indexOf","localStorage","get","res","resData","errorCode","Message","error","duration","message","setItem","stringify_default","result","catch","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,uJCCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDOEd,GATF,EAVA,SAAAe,GACEjB,EAAQ,SAaV,KAEA,MAUgC,yCEvBhCkB,UAAIC,IAAIC,KAiBR,IAAMC,E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A,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAA5H,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAuK,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAA3J,GAAA,OACAf,EAAAC,QAAAyK","file":"static/js/app.68949e8aa0c051d9a57e.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-d8072086\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8072086\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport _import from './_import.js'\r\nVue.use(Router);\r\n\r\n// const error403 = (r) => {\r\n// import('views/errorPage/403.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error404 = (r) => {\r\n// import('views/errorPage/404.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error500 = (r) => {\r\n// import('views/errorPage/500.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\nconst errorPage = (r) => {\r\n import('views/errorPage/index.vue').then((module) => {\r\n r(module)\r\n })\r\n};\r\n// 页面刷新时,重新赋值token\r\nif (window.sessionStorage.getItem('token')) {\r\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\r\n}\r\nexport const constantRouterMap = [\r\n {\r\n path: '/',\r\n name: '/',\r\n redirect: 'login',\r\n },\r\n {\r\n path: '/login',\r\n name: '登录',\r\n component: _import('login','index')\r\n },\r\n {\r\n path: '/index',\r\n name: 'index',\r\n component: _import('index','index'),\r\n },\r\n {\r\n path: '/contacts',\r\n name: '通讯录',\r\n redirect: 'administrativeFrame',\r\n component: _import('contacts','index'),\r\n children: [\r\n // 通讯录\r\n {\r\n path: '/administrativeFrame',\r\n name: '行政架构',\r\n component: _import('contacts','administrativeFrame')\r\n },\r\n {\r\n path: \"/employeeIo\",\r\n name: \"批量导入/导出\",\r\n component: _import('contacts','employeeIo')\r\n },\r\n {\r\n path: '/addDepartment',\r\n name: '添加部门',\r\n component: _import('contacts','addDepartment')\r\n },\r\n {\r\n path: '/addClerk',\r\n name: '添加店员',\r\n component: _import('contacts','addClerk')\r\n },\r\n {\r\n path: '/storeFrame',\r\n name: '门店架构',\r\n component: _import('contacts','storeFrame')\r\n },\r\n {\r\n path: '/addGroup',\r\n name: '添加子分组',\r\n component: _import('contacts','addGroup')\r\n },\r\n {\r\n path: '/storeIo',\r\n name: '门店导入/导出',\r\n component: _import('contacts','storeIo')\r\n },\r\n {\r\n path: '/storeInfo',\r\n name: '编辑门店',\r\n component: _import('contacts','storeInfo')\r\n },\r\n {\r\n path: \"/recycle\",\r\n name: \"门店回收站\",\r\n component: _import('contacts','recycle')\r\n },\r\n {\r\n path: '/employee',\r\n name: '在职员工',\r\n component: _import('contacts','employee')\r\n },\r\n {\r\n path: '/unemployee',\r\n name: '离职员工',\r\n component: _import('contacts','unemployee')\r\n },\r\n {\r\n path: '/fileSet',\r\n name: '档案设置',\r\n component: _import('contacts','fileSet')\r\n },\r\n {\r\n path: '/recordInfo',\r\n name: '编辑员工信息',\r\n component: _import('contacts','recordInfo')\r\n },\r\n {\r\n path: '/recordIo',\r\n name: '导入导出员工档案',\r\n component: _import('contacts','recordIo')\r\n },\r\n {\r\n path: '/shareContact',\r\n name: '共享通讯录',\r\n component: _import('contacts','shareContact')\r\n },\r\n {\r\n path: \"/shareCode\",\r\n name: '共享通讯录二维码',\r\n component: _import('contacts','shareCode')\r\n },\r\n {\r\n path: \"/employeeRecord\",\r\n name: '在职员工',\r\n component: _import('contacts','employeeRecord')\r\n }\r\n ]\r\n },\r\n {\r\n // 企业应用\r\n path: '/enterpriseApp',\r\n name: '企业应用',\r\n component: _import('enterpriseApp','index'),\r\n },\r\n {\r\n // 审核中心\r\n path: '/reviewCenter',\r\n name: '审核中心',\r\n redirect: 'unreview',\r\n component: _import('reviewCenter','index'),\r\n children: [\r\n {\r\n path: '/reviewed',\r\n name: '已审核',\r\n component: _import('reviewCenter','reviewed')\r\n },\r\n {\r\n path: '/unreview',\r\n name: '未审核',\r\n component: _import('reviewCenter','unreview')\r\n },\r\n ]\r\n },\r\n {\r\n // 设置模块\r\n path: '/setCenter',\r\n name: '设置',\r\n redirect: 'companyAddress',\r\n component: _import('setting','index'),\r\n children: [\r\n {\r\n path: '/companyAddress',\r\n name: '企业地址',\r\n component: _import('setting','companyAddress')\r\n },\r\n {\r\n path: '/companyCertify',\r\n name: '企业认证',\r\n component: _import('setting','companyCertify')\r\n },\r\n {\r\n path: '/staffDetails',\r\n name: '员工详情字段',\r\n component: _import('setting','staffDetails')\r\n },\r\n {\r\n path: '/storePermission',\r\n name: '门店权限设置',\r\n component: _import('setting','storePermission')\r\n },\r\n {\r\n path: '/replaceAdmin',\r\n name: '更换超级管理员',\r\n component: _import('setting','replaceAdmin')\r\n },\r\n {\r\n path: '/setChildAdmin',\r\n name: '设置子管理员',\r\n component: _import('setting','setChildAdmin')\r\n },\r\n {\r\n path: '/addAdmin',\r\n name: '添加管理员',\r\n component: _import('setting','addAdmin')\r\n },\r\n {\r\n path: '/addAdminRole',\r\n name: '添加管理员角色',\r\n component: _import('setting','addAdminRole')\r\n }\r\n ]\r\n },\r\n {\r\n path: '/staffRecordsTemplate',\r\n name: '员工档案设置',\r\n component: _import('contacts','staffRecordsTemplate')\r\n },\r\n {\r\n path: '/403',\r\n name: '无权访问',\r\n component: errorPage\r\n },\r\n {\r\n path: '/404',\r\n name: 'error404',\r\n component: errorPage\r\n },\r\n {\r\n path: '/500',\r\n name: 'error500',\r\n component: errorPage\r\n },\r\n { path: '*', redirect: '/404', hidden: true },\r\n];\r\nexport default new Router({\r\n // mode:'history',\r\n routes: constantRouterMap,\r\n scrollBehavior: () => ({ y: 0 }),\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\nimport Vue from 'vue'\nimport * as types from './types'\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n state: {\n user: {},\n token: null,\n title: '',\n show: false,\n bgHeight: (window.screen.availHeight - 440 - 24) +'px'\n },\n mutations: {\n [types.LOGIN]: (state, data) => {\n sessionStorage.token = data;\n state.token = data;\n },\n [types.LOGOUT]: (state) => {\n sessionStorage.removeItem('token');\n state.token = null\n },\n [types.TITLE]: (state, data) => {\n state.title = data;\n },\n [types.SHOW]: (state,data) => {\n state.show = data;\n }\n }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n let baseUrl;\n let host = window.location.origin;\n if (host.indexOf('localhost') != '-1') {\n baseUrl = 'http://www.gicdev.com';\n }else {\n baseUrl = host;\n }\n if (!localStorage.getItem('userInfo')) {\n axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n localStorage.setItem('userInfo',JSON.stringify(resData.result));\n return;\n }\n Message.error({\n duration: 1000,\n message: resData.message\n })\n })\n .catch(function (error) {\n Message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t10\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t38\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t33\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t36\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t22\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t17\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t21\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t37\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t14\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t29\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t39\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t12\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t28\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t19\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t23\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t20\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t25\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t34\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t11\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t13\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t31\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t18\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t26\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t35\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t30\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t40\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t24\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t16\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,n,r){for(var t,b,o,i=0,u=[];i<f.length;i++)b=f[i],d[b]&&u.push(d[b][0]),d[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(f,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=a(a.s=r[i]);return o};var f={},d={44:0};function a(c){if(f[c])return f[c].exports;var d=f[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,a),d.l=!0,d.exports}a.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,a){c=d[e]=[f,a]});c[2]=f;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,a.nc&&r.setAttribute("nonce",a.nc),r.src=a.p+"static/js/"+e+"."+{0:"77195c0e95720c28034b",1:"26fc7c6e9b4ccca95f46",2:"bacb5e73d73df4f16865",3:"10faf9c10fcab7da92fd",4:"a12be5dd4da986b96507",5:"a975dc293f76fde45502",6:"52de663cd0264e7ad9b3",7:"fbeb3db819eec7392fd8",8:"29a5b108fe382230d78d",9:"23e8ef0a1def47d908b5",10:"8c75b80be6af38109dec",11:"7dfc81c2e0577dddba5a",12:"65fbef103b223dce7de2",13:"93a0e547fbed2d4787e1",14:"39dbce1e831f7315bc6e",15:"00d6d8aad37764dd8210",16:"bf27929223158a86262d",17:"b02da0a0ea84450f769e",18:"c56109bc82f866177dbb",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"02ca463f69f7571bd2ec",22:"14faf8f1fff4233f3a3e",23:"9f05cfc644dbcf58019a",24:"f87968cd1809bd537de5",25:"41900b7b606ec81d1b49",26:"3a3d87b1e80c9c57ebe4",27:"5fedb7ca55c6e210ba23",28:"237809603e9db67ad49c",29:"15ee7eef323b3311fed9",30:"267d022ab713c0b234cf",31:"5cf0182fc424e8606c89",32:"ee574691414b3b6252b0",33:"f0b23dd69cd8df4d2405",34:"0132a779ccaa891bcdfd",35:"2081120c649e899bf64d",36:"36ce04d3d4376dc742c4",37:"977e084e8593bc3d0701",38:"af05b5b6cc28a922ade4",39:"7eee96327266740f3019",40:"6ff12ea562cf0ae0f1ea",43:"13848f214bb993c20004"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),f},a.m=e,a.c=f,a.d=function(e,c,f){a.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},a.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(c,"a",c),c},a.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.33db6ffac87f68c57995.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap cd227d86ed515c95ef7f"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","43","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAA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/E,EAAA4E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.86136e732a6118136d4f.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t44: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"77195c0e95720c28034b\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"bacb5e73d73df4f16865\",\"3\":\"10faf9c10fcab7da92fd\",\"4\":\"a12be5dd4da986b96507\",\"5\":\"a975dc293f76fde45502\",\"6\":\"52de663cd0264e7ad9b3\",\"7\":\"fbeb3db819eec7392fd8\",\"8\":\"29a5b108fe382230d78d\",\"9\":\"23e8ef0a1def47d908b5\",\"10\":\"8c75b80be6af38109dec\",\"11\":\"61b1388a109eeaa9c569\",\"12\":\"65fbef103b223dce7de2\",\"13\":\"49af5161fabc245cc594\",\"14\":\"4338619b3df5ed6d28e0\",\"15\":\"00d6d8aad37764dd8210\",\"16\":\"bf27929223158a86262d\",\"17\":\"b02da0a0ea84450f769e\",\"18\":\"c56109bc82f866177dbb\",\"19\":\"39879d07beb4c6b71c52\",\"20\":\"48c7dac836dc8f07b246\",\"21\":\"02ca463f69f7571bd2ec\",\"22\":\"14faf8f1fff4233f3a3e\",\"23\":\"9f05cfc644dbcf58019a\",\"24\":\"fc2fa459d74a02e3f722\",\"25\":\"41900b7b606ec81d1b49\",\"26\":\"3a3d87b1e80c9c57ebe4\",\"27\":\"5fedb7ca55c6e210ba23\",\"28\":\"237809603e9db67ad49c\",\"29\":\"15ee7eef323b3311fed9\",\"30\":\"267d022ab713c0b234cf\",\"31\":\"5cf0182fc424e8606c89\",\"32\":\"ee574691414b3b6252b0\",\"33\":\"f0b23dd69cd8df4d2405\",\"34\":\"0132a779ccaa891bcdfd\",\"35\":\"2081120c649e899bf64d\",\"36\":\"36ce04d3d4376dc742c4\",\"37\":\"977e084e8593bc3d0701\",\"38\":\"7cd271edb5663859b41a\",\"39\":\"18cbba23aa3ed9f6951d\",\"40\":\"4f6694f9711a5cf7c11c\",\"43\":\"13848f214bb993c20004\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap cd227d86ed515c95ef7f"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 18e295d6e71598d9392a"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","43","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EA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AAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.33db6ffac87f68c57995.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t44: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"77195c0e95720c28034b\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"bacb5e73d73df4f16865\",\"3\":\"10faf9c10fcab7da92fd\",\"4\":\"a12be5dd4da986b96507\",\"5\":\"a975dc293f76fde45502\",\"6\":\"52de663cd0264e7ad9b3\",\"7\":\"fbeb3db819eec7392fd8\",\"8\":\"29a5b108fe382230d78d\",\"9\":\"23e8ef0a1def47d908b5\",\"10\":\"8c75b80be6af38109dec\",\"11\":\"7dfc81c2e0577dddba5a\",\"12\":\"65fbef103b223dce7de2\",\"13\":\"93a0e547fbed2d4787e1\",\"14\":\"39dbce1e831f7315bc6e\",\"15\":\"00d6d8aad37764dd8210\",\"16\":\"bf27929223158a86262d\",\"17\":\"b02da0a0ea84450f769e\",\"18\":\"c56109bc82f866177dbb\",\"19\":\"39879d07beb4c6b71c52\",\"20\":\"48c7dac836dc8f07b246\",\"21\":\"02ca463f69f7571bd2ec\",\"22\":\"14faf8f1fff4233f3a3e\",\"23\":\"9f05cfc644dbcf58019a\",\"24\":\"f87968cd1809bd537de5\",\"25\":\"41900b7b606ec81d1b49\",\"26\":\"3a3d87b1e80c9c57ebe4\",\"27\":\"5fedb7ca55c6e210ba23\",\"28\":\"237809603e9db67ad49c\",\"29\":\"15ee7eef323b3311fed9\",\"30\":\"267d022ab713c0b234cf\",\"31\":\"5cf0182fc424e8606c89\",\"32\":\"ee574691414b3b6252b0\",\"33\":\"f0b23dd69cd8df4d2405\",\"34\":\"0132a779ccaa891bcdfd\",\"35\":\"2081120c649e899bf64d\",\"36\":\"36ce04d3d4376dc742c4\",\"37\":\"977e084e8593bc3d0701\",\"38\":\"af05b5b6cc28a922ade4\",\"39\":\"7eee96327266740f3019\",\"40\":\"6ff12ea562cf0ae0f1ea\",\"43\":\"13848f214bb993c20004\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 18e295d6e71598d9392a"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,n,r){for(var t,b,o,i=0,u=[];i<f.length;i++)b=f[i],a[b]&&u.push(a[b][0]),a[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(f,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=d(d.s=r[i]);return o};var f={},a={44:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;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:"77195c0e95720c28034b",1:"26fc7c6e9b4ccca95f46",2:"bacb5e73d73df4f16865",3:"10faf9c10fcab7da92fd",4:"a12be5dd4da986b96507",5:"a975dc293f76fde45502",6:"52de663cd0264e7ad9b3",7:"fbeb3db819eec7392fd8",8:"29a5b108fe382230d78d",9:"23e8ef0a1def47d908b5",10:"8c75b80be6af38109dec",11:"61b1388a109eeaa9c569",12:"65fbef103b223dce7de2",13:"49af5161fabc245cc594",14:"4338619b3df5ed6d28e0",15:"00d6d8aad37764dd8210",16:"bf27929223158a86262d",17:"b02da0a0ea84450f769e",18:"c56109bc82f866177dbb",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"02ca463f69f7571bd2ec",22:"14faf8f1fff4233f3a3e",23:"9f05cfc644dbcf58019a",24:"fc2fa459d74a02e3f722",25:"41900b7b606ec81d1b49",26:"3a3d87b1e80c9c57ebe4",27:"5fedb7ca55c6e210ba23",28:"237809603e9db67ad49c",29:"15ee7eef323b3311fed9",30:"267d022ab713c0b234cf",31:"5cf0182fc424e8606c89",32:"ee574691414b3b6252b0",33:"f0b23dd69cd8df4d2405",34:"0132a779ccaa891bcdfd",35:"2081120c649e899bf64d",36:"36ce04d3d4376dc742c4",37:"977e084e8593bc3d0701",38:"7cd271edb5663859b41a",39:"18cbba23aa3ed9f6951d",40:"4f6694f9711a5cf7c11c",43:"13848f214bb993c20004"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.86136e732a6118136d4f.js.map
\ No newline at end of file
......@@ -9,7 +9,7 @@ export default new Vuex.Store({
token: null,
title: '',
show: false,
bgHeight: (window.screen.availHeight - 440) +'px'
bgHeight: (window.screen.availHeight - 440 - 24) +'px'
},
mutations: {
[types.LOGIN]: (state, data) => {
......
......@@ -26,6 +26,7 @@
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
:height="tableData.length? tableH: 'auto'"
style="width: 100%">
<el-table-column
label="审核事项">
......@@ -150,6 +151,7 @@ export default {
name: "reviewed",
data() {
return {
tableH: (window.screen.availHeight - 464 - 126) + 'px',
// 面包屑参数
navpath: [
{
......
......@@ -20,6 +20,7 @@
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
:height="tableH"
@selection-change="handleSelectionChange">
<el-table-column
type="selection"
......@@ -176,6 +177,7 @@ export default {
name: "unreview",
data() {
return {
tableH: (window.screen.availHeight - 464 - 126) + 'px',
// 面包屑参数
navpath: [
{
......
......@@ -53,7 +53,7 @@
<div :class="['role-table', !!roleRightObj.isEdit?'': 'm-t-27']">
<el-table
:data="tableData"
:height="tableH"
:height="tableData.length? tableH:'auto'"
style="width: 100%">
<el-table-column
prop="clerkName"
......
......@@ -2,7 +2,7 @@
<div class="staffDetails-wrap common-set-wrap">
<nav-crumb :navpath="navpath"></nav-crumb>
<div class="right-content">
<div class="right-box" :style="{'height': $store.state.bgHeight}">
<div class="right-box" :style="{'height': $store.state.bgHeight,'overflow-y': 'auto'}">
<div class="staffDetails-cell">
<h2 class="m-b-25 font-w-500">{{adminStruct.name}}</h2>
<div class="staffDetails-cell-fixed">
......
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