Commit 5554f82b by 无尘

feat: 修改回收站 bug

parent 61d25227
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.618f73941e3fca3b483353393a27a97b.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=https://cdn.ravenjs.com/3.26.2/vue/raven.min.js crossorigin=anonymous></script><script>Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.37afccc33960b96d43e0.js></script><script type=text/javascript src=./static/js/vendor.2a06374a31d674ca49d2.js></script><script type=text/javascript src=./static/js/app.bf341cdcae429198f9d9.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.8ad4c265a30a03e96caa801c1b21af27.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=https://cdn.ravenjs.com/3.26.2/vue/raven.min.js crossorigin=anonymous></script><script>Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.ee520523f0729cab033f.js></script><script type=text/javascript src=./static/js/vendor.2a06374a31d674ca49d2.js></script><script type=text/javascript src=./static/js/app.e3b5071a24d295ae34ab.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([24],{"6XGN":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w={name:"page403",data:function(){return{img_403:u.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("GVON")},"data-v-34b4b20b",null);L.default=C.exports},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzd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jIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},GVON:function(M,L){}}); webpackJsonp([23],{"6XGN":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w={name:"page403",data:function(){return{img_403:u.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("GVON")},"data-v-34b4b20b",null);L.default=C.exports},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyB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GVON:function(M,L){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([23],{Ay2d:function(t,e){},fLUB:function(t,e){},yuVF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),o=a("gBtx"),i=a.n(o),l=a("mvHQ"),r=a.n(l),n=a("c4uw"),p=a("Ie7z"),c=a("P9l9"),d=a("3E4D"),u=a("Ch4/"),m={name:"visiable-dialog",props:{showDialog:{type:Boolean,default:!1},appId:{type:String,default:""},appName:{type:String,default:""}},components:{vueSelectEmployee:n.a,vueSelectStore:p.a},data:function(){return{repProjectName:"haoban-manage-web",customDialog:!1,formData:{appId:this.appId,displayType:"0",data:[],departList:[],storeList:[]},appScene:2,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0},treeData:{},defaultSelection:[],changed:"",onlyPerson:!1,selectType:"",defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0}}},beforeMount:function(){},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideDialog")},showDialogLayer:function(t,e){if(this.selectType=t,this.changed=t,"store"===t)return this.defaultStoreList=e,void(this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0});this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0},"people"===t&&(this.onlyPerson=!1,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}),this.defaultSelection=e,this.treeData.hasOwnProperty("treeData")},handleSelectedList:function(t){console.log(t),"store"===this.selectType?this.formData.storeList=t:this.formData.departList=t},delDepart:function(t,e){e.splice(t,1)},customConfirm:function(){if(0!=this.formData.displayType)if(this.formData.departList.length||this.formData.storeList.length){var t=[];this.formData.departList.length&&this.formData.departList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.formData.storeList.length&&this.formData.storeList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.setData(t)}else this.$message.error({duration:1e3,message:"请选择可见人员"});else this.setData([])},setData:function(t){var e=this,a={appId:this.appId,displayType:parseInt(e.formData.displayType),data:r()(t)};Object(c.c)("/haoban-manage-web/application-right-save",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("设置成功","success"),void e.hideDialog();u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getSetData:function(){var t=this,e={appId:t.formData.appId};Object(c.c)("/haoban-manage-web/application-right-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.formData.displayType=String(a.result.displayType),t.formData.departList=[],t.formData.storeList=[],a.result.displayRelation&&a.result.displayRelation.length&&a.result.displayRelation.forEach(function(e){2===i()(e.type)&&(e.groupId=e.id),e.label=e.name,e.isStore?t.formData.storeList.push(e):t.formData.departList.push(e)}),t.defaultSelection=t.formData.departList,void(t.defaultStoreList=t.formData.storeList);u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{showDialog:function(t,e){this.customDialog=t},appId:function(t,e){this.formData.appId=t,t&&this.getSetData()}},mounted:function(){this.customDialog=this.showDialog,this.appId&&this.getSetData()}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"app-dialog",attrs:{title:t.appName+"可见范围设置",visible:t.customDialog,width:"476px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"app-dialog-body"},[a("el-form",{ref:"form",attrs:{model:t.formData,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"可见范围"}},[a("div",[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("全部员工")])],1),t._v(" "),a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("部分员工")])],1)]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.formData.displayType,expression:"formData.displayType == 1"}]},[a("el-form-item",{staticClass:"m-b-0 m-t-10",attrs:{label:"行政架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(e){t.showDialogLayer("depart",t.formData.departList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.departList,function(e,s){return[a("span",{key:s,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(s,t.formData.departList)}}})])]})],2)])])])])]),t._v(" "),a("el-form-item",{staticClass:"m-t-22",attrs:{label:"门店架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.formData.storeList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.storeList,function(e,s){return[a("span",{key:s,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(s,t.formData.storeList)}}})])]})],2)])])])])])],1)],1)],1),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)]),t._v(" "),a("vue-select-employee",{attrs:{appScene:t.appScene,defaultSelection:t.defaultSelection,onlyPerson:t.onlyPerson,treeSet:t.treeSet,changed:t.changed},on:{handleSelectedList:t.handleSelectedList}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"all",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var h=a("VU/8")(m,f,!1,function(t){a("Ay2d")},"data-v-a2bec1ae",null).exports,g={name:"apps",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"企业应用",path:""}],appList:[],roleCode:"",appName:"",appId:"",showDialog:!1}},computed:{},methods:{showPeople:function(t){if("master_admin"!=this.roleCode&&"admin"!=this.roleCode)return this.$message.error({duration:1e3,message:"暂无操作权限"}),!1;this.appName=t.appName,this.appId=t.appId,this.showDialog=!0},hideDialog:function(){this.appName="",this.showDialog=!1},changeSwitch:function(t){var e=this;if("master_admin"!=e.roleCode)return e.$message.error({duration:1e3,message:"暂无操作权限"}),!1;var a=1==t.status?"关闭":"开启";e.$confirm("确认"+a+"【"+t.appName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){})},postSwitch:function(t){var e=this,a={appId:t.appId,status:2==t.status?1:2};Object(c.a)("/haoban-manage-web/application-on-off",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("操作成功","success"),void(t.status=2==t.status?1:2);u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toAppDetail:function(t){0==t.appType?this.$router.push(t.appUrl+"?appId="+t.appId+"&appIcon="+t.appIcon):window.open(t.appUrl)},getAppList:function(t){var e=this;Object(c.a)("/haoban-manage-web/application-rigth-list",{}).then(function(t){var a=t.data;1!=a.errorCode?u.a.errorMsg(a):a.result&&a.result.appList&&(e.appList=a.result.appList,e.roleCode=a.result.roleCode)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getAppList()},components:{navCrumb:s.a,visiableDialog:h}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"apps-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.$store.state.bgHeight}},[a("div",{staticClass:"apps-content"},[a("div",{staticClass:"apps-content-title"},[t._v("基础应用")]),t._v(" "),a("div",{staticClass:"apps-content-body m-t-24"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.appList,function(e,s){return a("li",{key:e.appId+s,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){if(a.target!==a.currentTarget)return null;t.toAppDetail(e)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.appBackgroudColor},on:{click:function(a){a.stopPropagation(),t.toAppDetail(e)}}},[a("img",{attrs:{src:e.appIcon,alt:""}})]),t._v(" "),a("span",{staticClass:"color-303133 font-16 p-l-8",on:{click:function(a){if(a.target!==a.currentTarget)return null;t.toAppDetail(e)}}},[t._v(t._s(e.appName))]),t._v(" "),a("div",{staticClass:"cell-arrow-down"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right color-909399"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.showPeople(e)}}},[t._v("可见人群")])]),t._v(" "),a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.status?"停用":"启用"))])])],1)],1)],1)])}))])])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("visiableDialog",{attrs:{appId:t.appId,appName:t.appName,showDialog:t.showDialog},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var D=a("VU/8")(g,v,!1,function(t){a("fLUB")},"data-v-7b763ebe",null);e.default=D.exports}});
\ No newline at end of file
webpackJsonp([24],{Ay2d:function(t,e){},"f0/D":function(t,e){},yuVF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),o=a("gBtx"),i=a.n(o),l=a("mvHQ"),r=a.n(l),n=a("c4uw"),p=a("Ie7z"),c=a("P9l9"),d=a("3E4D"),u=a("Ch4/"),f={name:"visiable-dialog",props:{showDialog:{type:Boolean,default:!1},appId:{type:String,default:""},appName:{type:String,default:""}},components:{vueSelectEmployee:n.a,vueSelectStore:p.a},data:function(){return{repProjectName:"haoban-manage-web",customDialog:!1,formData:{appId:this.appId,displayType:"0",data:[],departList:[],storeList:[]},appScene:2,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0},treeData:{},defaultSelection:[],changed:"",onlyPerson:!1,selectType:"",defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0}}},beforeMount:function(){},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideDialog")},showDialogLayer:function(t,e){if(this.selectType=t,this.changed=t,"store"===t)return this.defaultStoreList=e,void(this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0});this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0},"people"===t&&(this.onlyPerson=!1,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}),this.defaultSelection=e,this.treeData.hasOwnProperty("treeData")},handleSelectedList:function(t){console.log(t),"store"===this.selectType?this.formData.storeList=t:this.formData.departList=t},delDepart:function(t,e){e.splice(t,1)},customConfirm:function(){if(0!=this.formData.displayType)if(this.formData.departList.length||this.formData.storeList.length){var t=[];this.formData.departList.length&&this.formData.departList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.formData.storeList.length&&this.formData.storeList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.setData(t)}else this.$message.error({duration:1e3,message:"请选择可见人员"});else this.setData([])},setData:function(t){var e=this,a={appId:this.appId,displayType:parseInt(e.formData.displayType),data:r()(t)};Object(c.c)("/haoban-manage-web/application-right-save",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("设置成功","success"),void e.hideDialog();u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getSetData:function(){var t=this,e={appId:t.formData.appId};Object(c.c)("/haoban-manage-web/application-right-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.formData.displayType=String(a.result.displayType),t.formData.departList=[],t.formData.storeList=[],a.result.displayRelation&&a.result.displayRelation.length&&a.result.displayRelation.forEach(function(e){2===i()(e.type)&&(e.groupId=e.id),e.label=e.name,e.isStore?t.formData.storeList.push(e):t.formData.departList.push(e)}),t.defaultSelection=t.formData.departList,void(t.defaultStoreList=t.formData.storeList);u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{showDialog:function(t,e){this.customDialog=t},appId:function(t,e){this.formData.appId=t,t&&this.getSetData()}},mounted:function(){this.customDialog=this.showDialog,this.appId&&this.getSetData()}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"app-dialog",attrs:{title:t.appName+"可见范围设置",visible:t.customDialog,width:"476px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"app-dialog-body"},[a("el-form",{ref:"form",attrs:{model:t.formData,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"可见范围"}},[a("div",[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("全部员工")])],1),t._v(" "),a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("部分员工")])],1)]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.formData.displayType,expression:"formData.displayType == 1"}]},[a("el-form-item",{staticClass:"m-b-0 m-t-10",attrs:{label:"行政架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(e){t.showDialogLayer("depart",t.formData.departList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.departList,function(e,s){return[a("span",{key:s,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(s,t.formData.departList)}}})])]})],2)])])])])]),t._v(" "),a("el-form-item",{staticClass:"m-t-22",attrs:{label:"门店架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.formData.storeList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.storeList,function(e,s){return[a("span",{key:s,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(s,t.formData.storeList)}}})])]})],2)])])])])])],1)],1)],1),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)]),t._v(" "),a("vue-select-employee",{attrs:{appScene:t.appScene,defaultSelection:t.defaultSelection,onlyPerson:t.onlyPerson,treeSet:t.treeSet,changed:t.changed},on:{handleSelectedList:t.handleSelectedList}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"all",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var h=a("VU/8")(f,m,!1,function(t){a("Ay2d")},"data-v-a2bec1ae",null).exports,g={name:"apps",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"企业应用",path:""}],appList:[],roleCode:"",appName:"",appId:"",showDialog:!1}},computed:{},methods:{showPeople:function(t){if("master_admin"!=this.roleCode&&"admin"!=this.roleCode)return this.$message.error({duration:1e3,message:"暂无操作权限"}),!1;this.appName=t.appName,this.appId=t.appId,this.showDialog=!0},hideDialog:function(){this.appName="",this.showDialog=!1},changeSwitch:function(t){var e=this;if("master_admin"!=e.roleCode)return e.$message.error({duration:1e3,message:"暂无操作权限"}),!1;var a=1==t.status?"关闭":"开启";e.$confirm("确认"+a+"【"+t.appName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){})},postSwitch:function(t){var e=this,a={appId:t.appId,status:2==t.status?1:2};Object(c.a)("/haoban-manage-web/application-on-off",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("操作成功","success"),void(t.status=2==t.status?1:2);u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toAppDetail:function(t){0==t.appType?this.$router.push(t.appUrl+"?appId="+t.appId+"&appIcon="+t.appIcon):window.open(t.appUrl)},getAppList:function(t){var e=this;Object(c.a)("/haoban-manage-web/application-rigth-list",{}).then(function(t){var a=t.data;1!=a.errorCode?u.a.errorMsg(a):a.result&&a.result.appList&&(e.appList=a.result.appList,e.roleCode=a.result.roleCode)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getAppList()},components:{navCrumb:s.a,visiableDialog:h}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"apps-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"apps-content"},[a("div",{staticClass:"apps-content-title"},[t._v("基础应用")]),t._v(" "),a("div",{staticClass:"apps-content-body m-t-24"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.appList,function(e,s){return a("li",{key:e.appId+s,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){if(a.target!==a.currentTarget)return null;t.toAppDetail(e)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.appBackgroudColor},on:{click:function(a){a.stopPropagation(),t.toAppDetail(e)}}},[a("img",{attrs:{src:e.appIcon,alt:""}})]),t._v(" "),a("span",{staticClass:"color-303133 font-16 p-l-8",on:{click:function(a){if(a.target!==a.currentTarget)return null;t.toAppDetail(e)}}},[t._v(t._s(e.appName))]),t._v(" "),a("div",{staticClass:"cell-arrow-down"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right color-909399"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.showPeople(e)}}},[t._v("可见人群")])]),t._v(" "),a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.status?"停用":"启用"))])])],1)],1)],1)])}))])])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("visiableDialog",{attrs:{appId:t.appId,appName:t.appName,showDialog:t.showDialog},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var D=a("VU/8")(g,v,!1,function(t){a("f0/D")},"data-v-2c912846",null);e.default=D.exports}});
\ No newline at end of file
webpackJsonp([28],{HkK0:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("P9l9"),r={name:"clerkTbale",components:{vueSelectStore:s("Ie7z").a},props:{store:{type:Object,required:!0}},data:function(){return{treeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!0,openNextBool:!0},selectType:"store",transArr:[],selectedList:[]}},methods:{goBack:function(){window.location.reload()},transClerk:function(e,t){this.transArr="single"==e?[t]:"all"==e?this.store.clerks:this.selectedList,this.treeSet.dialogVisible=!0},delClerk:function(e){this.$emit("delClerk",e)},selectMember:function(e){this.selectedList=e},handleSelectedList:function(e){var t=this,s=[];t.transArr.forEach(function(e){s.push(e.employeeClerkId)});var r={ids:s.join(","),storeId:e[0].id};Object(a.a)("/haoban-manage-web/emp/batchTransfer",r).then(function(e){if(1==e.data.errorCode){t.$message.success({message:"操作成功"});for(var a=0;a<t.store.clerks.length;a++)s.includes(t.store.clerks[a].employeeClerkId)&&t.store.clerks.splice(a,1),--a}else t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}}},n={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"recycle-bin"},[s("p",{staticClass:"r-b-top-header"},[s("a",{staticClass:"a-href title",on:{click:e.goBack}},[e._v("返回")]),e._v(" "),s("el-button",{attrs:{disabled:0==e.selectedList.length},on:{click:function(t){e.transClerk("group")}}},[e._v("批量转移")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.transClerk("all")}}},[e._v("全部转移")])],1),e._v(" "),s("el-table",{ref:"clerkTable",staticStyle:{width:"100%"},attrs:{data:e.store.clerks},on:{"selection-change":e.selectMember}},[s("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),s("el-table-column",{attrs:{label:"姓名",prop:"name"}}),e._v(" "),s("el-table-column",{attrs:{label:"手机号码",prop:"phoneNumber"}}),e._v(" "),s("el-table-column",{attrs:{label:"操作",width:"80",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href",on:{click:function(s){e.transClerk("single",t.row)}}},[s("i",{staticClass:"el-icon-sort"})]),e._v(" "),s("a",{staticClass:"a-href",on:{click:function(s){e.delClerk(t.row)}}},[s("i",{staticClass:"el-icon-delete"})])]}}])})],1),e._v(" "),s("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:e.selectType},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var l=s("VU/8")(r,n,!1,function(e){s("rXs4")},null,null).exports,o={name:"recycle-bin",components:{navCrumb:s("3Xzz").a,clerkTable:l},data:function(){return{searchKey:"",typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],pageSize:20,pageNumber:1,recycleList:[],total:0,navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame?showRecycle=0"},{name:"门店回收站",path:""}],clerks:[],showClerks:!1,currentStore:{}}},methods:{getRecycleList:function(){var e=this,t=e.$route.query,s={storeGroupId:t.dept,showChild:1*t.showChild,showType:2,pageSize:e.pageSize,pageNumber:e.pageNumber,status:4,storeType:t.type};Object(a.a)("/haoban-manage-web/store/findSimplePage",s).then(function(t){1==t.data.errorCode?(e.total=t.data.result.total,e.recycleList=t.data.result.list||[]):(e.recycleList=[],e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},restore:function(e){var t=this;t.$confirm("确定要恢复到门店列表吗?","提示",{type:"warning"}).then(function(){var s={status:1,storeId:e.storeId};Object(a.a)("/haoban-manage-web/store/changeStatus",s).then(function(e){1==e.data.errorCode?(t.searchKey="",t.getRecycleList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch(function(e){})},handleSizeChange:function(e){this.pageSize=e,this.getRecycleList()},handleCurrentChange:function(e){this.pageNumber=e,this.getRecycleList()},showClerksFn:function(e){this.currentStore=e,this.clerks=null==e.clerks?[]:e.clerks,this.showClerks=!0},delClerk:function(e){var t=this.currentStore,s=this;s.$confirm("是否要删除该员工?","提示",{type:"warning"}).then(function(){var r={ids:e.employeeClerkId};Object(a.a)("/haoban-manage-web/emp/del",r).then(function(a){1==a.data.errorCode?t.clerks.forEach(function(s){s.employeeClerkId==e.employeeClerkId&&t.clerks.splice(t.clerks.indexOf(s),1)}):s.$message.error({duration:1e3,message:a.data.message})}).catch(function(e){s.$message.error({duration:1e3,message:e.message})})})}},beforeMount:function(){this.getRecycleList()}},c={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"common-set-wrap recycle-wrap"},[s("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),s("div",{staticClass:"right-content"},[s("div",{staticClass:"right-box"},[e.showClerks?s("clerk-table",{attrs:{store:e.currentStore},on:{delClerk:e.delClerk}}):s("div",{staticClass:"recycle-bin"},[s("div",{staticClass:"r-b-top-header"},[s("div",{staticClass:"title"},[e._v(e._s(e.recycleList.length)+" 家门店")]),e._v(" "),s("el-input",{attrs:{placeholder:"请输入门店名","prefix-icon":"el-icon-search"},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}})],1),e._v(" "),s("el-table",{staticStyle:{width:"100%"},attrs:{data:e.recycleList.filter(function(t){return!e.searchKey||t.storeName.toLowerCase().includes(e.searchKey.toLowerCase())})}},[s("el-table-column",{attrs:{label:"门店名称",prop:"storeName"}}),e._v(" "),s("el-table-column",{attrs:{label:"代码",prop:"storeCode"}}),e._v(" "),s("el-table-column",{attrs:{label:"类型",prop:"storeType"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.typeArr[1*t.row.storeType+1])+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"地址",prop:"postAddress"}}),e._v(" "),s("el-table-column",{attrs:{label:"待处理店员",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href",on:{click:function(s){e.showClerksFn(t.row)}}},[e._v("\n "+e._s(t.row.clerks.length)+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"操作",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href",on:{click:function(s){e.restore(t.row)}}},[e._v("恢复到门店列表")])]}}])})],1),e._v(" "),e.total?s("div",{staticClass:"pagination"},[s("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNumber,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)]),e._v(" "),s("vue-gic-footer")],1)},staticRenderFns:[]};var i=s("VU/8")(o,c,!1,function(e){s("UELT")},null,null);t.default=i.exports},UELT:function(e,t){},rXs4:function(e,t){}});
\ No newline at end of file
webpackJsonp([28],{HkK0:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("P9l9"),r={name:"clerkTbale",components:{vueSelectStore:s("Ie7z").a},props:{store:{type:Object,required:!0}},data:function(){return{treeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!0,openNextBool:!0},selectType:"store",transArr:[],selectedList:[]}},methods:{goBack:function(){window.location.reload()},transClerk:function(e,t){this.transArr="single"==e?[t]:"all"==e?this.store.clerks:this.selectedList,this.treeSet.dialogVisible=!0},delClerk:function(e){this.$emit("delClerk",e)},selectMember:function(e){this.selectedList=e},handleSelectedList:function(e){var t=this,s=[];t.transArr.forEach(function(e){s.push(e.employeeClerkId)});var r={ids:s.join(","),storeId:e[0].id};Object(a.a)("/haoban-manage-web/emp/batchTransfer",r).then(function(e){if(1==e.data.errorCode){t.$message.success({message:"操作成功"});for(var a=0;a<t.store.clerks.length;a++)s.includes(t.store.clerks[a].employeeClerkId)&&t.store.clerks.splice(a,1),--a}else t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}}},n={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"recycle-bin"},[s("p",{staticClass:"r-b-top-header"},[s("a",{staticClass:"a-href title",on:{click:e.goBack}},[e._v("返回")]),e._v(" "),s("el-button",{attrs:{disabled:0==e.selectedList.length},on:{click:function(t){e.transClerk("group")}}},[e._v("批量转移")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.transClerk("all")}}},[e._v("全部转移")])],1),e._v(" "),s("el-table",{ref:"clerkTable",staticStyle:{width:"100%"},attrs:{data:e.store.clerks},on:{"selection-change":e.selectMember}},[s("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),s("el-table-column",{attrs:{label:"姓名",prop:"name"}}),e._v(" "),s("el-table-column",{attrs:{label:"手机号码",prop:"phoneNumber"}}),e._v(" "),s("el-table-column",{attrs:{label:"操作",width:"80",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href",on:{click:function(s){e.transClerk("single",t.row)}}},[s("i",{staticClass:"el-icon-sort"})]),e._v(" "),s("a",{staticClass:"a-href",on:{click:function(s){e.delClerk(t.row)}}},[s("i",{staticClass:"el-icon-delete"})])]}}])})],1),e._v(" "),s("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:e.selectType},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var l=s("VU/8")(r,n,!1,function(e){s("rXs4")},null,null).exports,o={name:"recycle-bin",components:{navCrumb:s("3Xzz").a,clerkTable:l},data:function(){return{tableH:window.screen.availHeight-440-180,searchKey:"",typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],pageSize:20,pageNumber:1,recycleList:[],total:0,navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame?showRecycle=0"},{name:"门店回收站",path:""}],clerks:[],showClerks:!1,currentStore:{}}},methods:{getRecycleList:function(){var e=this,t=e.$route.query,s={storeGroupId:t.dept,showChild:1*t.showChild,showType:2,pageSize:e.pageSize,pageNumber:e.pageNumber,status:4,storeType:t.type};Object(a.a)("/haoban-manage-web/store/findSimplePage",s).then(function(t){1==t.data.errorCode?(e.total=t.data.result.total,e.recycleList=t.data.result.list||[]):(e.recycleList=[],e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},restore:function(e){var t=this;t.$confirm("确定要恢复到门店列表吗?","提示",{type:"warning"}).then(function(){var s={status:1,storeId:e.storeId};Object(a.a)("/haoban-manage-web/store/changeStatus",s).then(function(e){1==e.data.errorCode?(t.searchKey="",t.getRecycleList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch(function(e){})},handleSizeChange:function(e){this.pageSize=e,this.getRecycleList()},handleCurrentChange:function(e){this.pageNumber=e,this.getRecycleList()},showClerksFn:function(e){this.currentStore=e,this.clerks=null==e.clerks?[]:e.clerks,this.showClerks=!0},delClerk:function(e){var t=this.currentStore,s=this;s.$confirm("是否要删除该员工?","提示",{type:"warning"}).then(function(){var r={ids:e.employeeClerkId};Object(a.a)("/haoban-manage-web/emp/del",r).then(function(a){1==a.data.errorCode?t.clerks.forEach(function(s){s.employeeClerkId==e.employeeClerkId&&t.clerks.splice(t.clerks.indexOf(s),1)}):s.$message.error({duration:1e3,message:a.data.message})}).catch(function(e){s.$message.error({duration:1e3,message:e.message})})})}},beforeMount:function(){this.getRecycleList()}},c={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"common-set-wrap recycle-wrap"},[s("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),s("div",{staticClass:"right-content"},[s("div",{staticClass:"right-box",style:{height:e.$store.state.bgHeight}},[e.showClerks?s("clerk-table",{attrs:{store:e.currentStore},on:{delClerk:e.delClerk}}):s("div",{staticClass:"recycle-bin"},[s("div",{staticClass:"r-b-top-header"},[s("div",{staticClass:"title"},[e._v(e._s(e.recycleList.length)+" 家门店")]),e._v(" "),s("el-input",{attrs:{placeholder:"请输入门店名","prefix-icon":"el-icon-search"},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}})],1),e._v(" "),s("el-table",{staticStyle:{width:"100%"},attrs:{height:e.recycleList.length?e.tableH:"auto",data:e.recycleList.filter(function(t){return!e.searchKey||t.storeName.toLowerCase().includes(e.searchKey.toLowerCase())})}},[s("el-table-column",{attrs:{label:"门店名称",prop:"storeName"}}),e._v(" "),s("el-table-column",{attrs:{label:"代码",prop:"storeCode"}}),e._v(" "),s("el-table-column",{attrs:{label:"类型",prop:"storeType"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.typeArr[1*t.row.storeType+1])+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"地址",prop:"postAddress"}}),e._v(" "),s("el-table-column",{attrs:{label:"待处理店员",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href",on:{click:function(s){e.showClerksFn(t.row)}}},[e._v("\n "+e._s(t.row.clerks.length)+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"操作",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href",on:{click:function(s){e.restore(t.row)}}},[e._v("恢复到门店列表")])]}}])})],1),e._v(" "),e.total?s("div",{staticClass:"pagination"},[s("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNumber,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)]),e._v(" "),s("vue-gic-footer")],1)},staticRenderFns:[]};var i=s("VU/8")(o,c,!1,function(e){s("c3Wn")},null,null);t.default=i.exports},c3Wn:function(e,t){},rXs4:function(e,t){}});
\ No newline at end of file
webpackJsonp([3],{"4WTo":function(e,t,n){var a=n("NWt+");e.exports=function(e,t){var n=[];return a(e,!1,n.push,n,t),n}},"7Doy":function(e,t,n){var a=n("EqjI"),s=n("7UMu"),o=n("dSzd")("species");e.exports=function(e){var t;return s(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!s(t.prototype)||(t=void 0),a(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},"9Bbf":function(e,t,n){"use strict";var a=n("kM2E");e.exports=function(e){a(a.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},"9C8M":function(e,t,n){"use strict";var a=n("evD5").f,s=n("Yobk"),o=n("xH/j"),i=n("+ZMJ"),r=n("2KxR"),l=n("NWt+"),c=n("vIB/"),u=n("EGZi"),d=n("bRrM"),h=n("+E39"),p=n("06OY").fastKey,f=n("LIJb"),m=h?"_s":"size",v=function(e,t){var n,a=p(t);if("F"!==a)return e._i[a];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,a){r(e,u,t,"_i"),e._t=t,e._i=s(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=a&&l(a,n,e[c],e)});return o(u.prototype,{clear:function(){for(var e=f(this,t),n=e._i,a=e._f;a;a=a.n)a.r=!0,a.p&&(a.p=a.p.n=void 0),delete n[a.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=f(this,t),a=v(n,e);if(a){var s=a.n,o=a.p;delete n._i[a.i],a.r=!0,o&&(o.n=s),s&&(s.p=o),n._f==a&&(n._f=s),n._l==a&&(n._l=o),n[m]--}return!!a},forEach:function(e){f(this,t);for(var n,a=i(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(a(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!v(f(this,t),e)}}),h&&a(u.prototype,"size",{get:function(){return f(this,t)[m]}}),u},def:function(e,t,n){var a,s,o=v(e,t);return o?o.v=n:(e._l=o={i:s=p(t,!0),k:t,v:n,p:a=e._l,n:void 0,r:!1},e._f||(e._f=o),a&&(a.n=o),e[m]++,"F"!==s&&(e._i[s]=o)),e},getEntry:v,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=f(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),d(t)}}},ALrJ:function(e,t,n){var a=n("+ZMJ"),s=n("MU5D"),o=n("sB3e"),i=n("QRG4"),r=n("oeOm");e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,p=t||r;return function(t,r,f){for(var m,v,g=o(t),_=s(g),y=a(r,f,3),b=i(_.length),C=0,k=n?p(t,b):l?p(t,0):void 0;b>C;C++)if((h||C in _)&&(v=y(m=_[C],C,g),e))if(n)k[C]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return C;case 2:k.push(m)}else if(u)return!1;return d?-1:c||u?u:k}}},ATfr:function(e,t,n){"use strict";var a=n("0xDb"),s={name:"searchMenu",components:{},props:{treeData:{type:Array,required:!0},searchResult:{type:Object,required:!0},storeFrame:{type:Boolean,default:!1}},data:function(){return{searchKey:"",searchResultShow:!1,myProps:{children:"childrens",label:"label",disabled:"disabled"},menuData:[],defaultOpen:[],defaultId:""}},methods:{clearFn:function(){this.searchResultShow=!1,this.$nextTick(function(){document.querySelector(".el-tree-node").classList.add("is-current")})},searchFn:function(){if(""==this.searchKey)return this.searchResultShow=!1,!1;this.searchResultShow=!0,this.$emit("handleSearchKey",this.searchKey)},handleNodeClick:function(e,t){e.id!=this.defaultId&&document.querySelector(".el-tree-node")&&document.querySelector(".el-tree-node").classList.remove("is-current"),this.defaultId=e.groupId,this.$emit("handleTreeSelection",e,t,"node")},selectEmployee:function(e){this.defaultId=e.employeeClerkId,this.$emit("handleEmployeeSelection",e,"employee")},handleStoreClick:function(e){this.$emit("handleStoreSelection",e,"store")}},filter:{},computed:{employeeList:function(){return this.searchResult.searchList?this.searchResult.searchList:[]},departmentList:function(){return this.searchResult.departmentList?this.searchResult.departmentList:[]},brandList:function(){return this.searchResult.brandList?this.searchResult.brandList:[]}},watch:{treeData:function(e,t){var n=this,s=Object(a.c)(e);n.defaultOpen=s.defaultOpen,n.menuData=s.menuArr,n.menuData.length&&n.$nextTick(function(){n.defaultId=n.menuData.length?n.menuData[0].id:"",document.querySelector(".el-tree-node").classList.add("is-current")})}}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searh-menu-container"},[n("div",{staticClass:"p-0-15"},[n("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"姓名/手机号/部门名称",clearable:""},on:{clear:e.clearFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}}),e._v(" "),e._t("buttonBox"),e._v(" "),e.searchResultShow?e._e():n("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:e.menuData,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node;return t.data,n("span",{staticClass:"custom-tree-node"},[n("i",{staticClass:"iconfont",class:1==a.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),n("span",[e._v(e._s(a.label))])])}}])})],2),e._v(" "),e.searchResultShow?n("div",{staticClass:"search-result-container m-t-15"},[e.storeFrame?[e._l(e.brandList,function(t,a){return[t.departmentList.length>0||t.storeList.length>0||t.searchList.length>0?n("div",{key:t.topDepartment.brandId+"_"+a},[n("div",[n("p",{staticClass:"brand-title"},[e._v(e._s(t.topDepartment.name))]),e._v(" "),t.departmentList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title store-frame-title"},[e._v("分组列表")]),e._v(" "),e._l(t.departmentList,function(t,a){return n("li",{key:a+"_"+t.groupId,staticClass:"group-item items",on:{click:function(n){e.handleNodeClick(t)}}},[n("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),t.storeList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title store-frame-title"},[e._v("门店列表")]),e._v(" "),e._l(t.storeList,function(t,a){return n("li",{key:a+"_"+t.storeGroupId,staticClass:"group-item items",on:{click:function(n){e.handleStoreClick(t)}}},[n("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.storeName)+"\n ")])})],2):e._e(),e._v(" "),t.searchList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title store-frame-title"},[e._v("人员列表")]),e._v(" "),e._l(t.searchList,function(t,a){return n("li",{key:a+"_"+t.employeeClerkId,staticClass:"person-item items",on:{click:function(n){e.selectEmployee(t)}}},[n("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),n("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e()])]):e._e()]}),e._v(" "),e.brandList.length<1?n("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]:[e.departmentList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title"},[e._v("部门列表")]),e._v(" "),e._l(e.departmentList,function(t,a){return n("li",{key:a+"_"+t.groupId,class:["group-item items",e.defaultId==t.groupId?"active-item":""],on:{click:function(n){e.handleNodeClick(t)}}},[n("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.employeeList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title"},[e._v("人员列表")]),e._v(" "),e._l(e.employeeList,function(t,a){return n("li",{key:a+"_"+t.employeeClerkId,class:["person-item items",e.defaultId==t.employeeClerkId?"active-item":""],on:{click:function(n){e.selectEmployee(t)}}},[n("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),n("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e(),e._v(" "),e.departmentList.length<1&&e.employeeList.length<1?n("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]],2):e._e()])},staticRenderFns:[]};var i=n("VU/8")(s,o,!1,function(e){n("BkoW")},null,null);t.a=i.exports},BDhv:function(e,t,n){var a=n("kM2E");a(a.P+a.R,"Set",{toJSON:n("m9gC")("Set")})},BkoW:function(e,t){},HpRW:function(e,t,n){"use strict";var a=n("kM2E"),s=n("lOnJ"),o=n("+ZMJ"),i=n("NWt+");e.exports=function(e){a(a.S,e,{from:function(e){var t,n,a,r,l=arguments[1];return s(this),(t=void 0!==l)&&s(l),void 0==e?new this:(n=[],t?(a=0,r=o(l,arguments[2],2),i(e,!1,function(e){n.push(r(e,a++))})):i(e,!1,n.push,n),new this(n))}})}},LIJb:function(e,t,n){var a=n("EqjI");e.exports=function(e,t){if(!a(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},TDHu:function(e,t){},ioQ5:function(e,t,n){n("HpRW")("Set")},kLcy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("lHA8"),s=n.n(a),o=n("3Xzz"),i=n("ATfr"),r=n("WSbm"),l={name:"employee-table",props:{employeeList:{type:Array,default:function(){return[]}},headList:{type:Array,default:function(){return["selection","name","phoneNumber","positionName","activationStatus"]}}},data:function(){return{tableH:window.screen.availHeight-180}},methods:{selectMember:function(e){this.$emit("selectMember",e)},linkToDetail:function(e){window.location.href="#/employee?employeeClerkId="+e.employeeClerkId}}},c={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"employee-table"},[n("el-table",{attrs:{data:e.employeeList},on:{"selection-change":e.selectMember,"row-click":e.linkToDetail}},[e._l(e.headList,function(t){return["selection"==t?n("el-table-column",{key:t,attrs:{type:"selection",width:"42"}}):e._e(),e._v(" "),"name"==t?n("el-table-column",{key:t,attrs:{label:"姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.name))]),e._v(" "),1==t.row.isManager?n("span",{staticClass:"is-manager"},[e._v("部门负责人")]):e._e()]}}])}):e._e(),e._v(" "),"phoneNumber"==t?n("el-table-column",{key:t,attrs:{label:"手机号",prop:"phoneNumber"}}):e._e(),e._v(" "),"positionName"==t?n("el-table-column",{key:t,attrs:{label:"职位",prop:"positionName"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.positionName?t.row.positionName:"--")+"\n ")]}}])}):e._e(),e._v(" "),"activationStatus"==t?n("el-table-column",{key:t,attrs:{label:"状态"},scopedSlots:e._u([{key:"default",fn:function(e){return[n("div",{staticClass:"status-icon",class:1==e.row.activationStatus?"is-active":""},[n("i",{staticClass:"iconfont icon-shouji"})])]}}])}):e._e()]})],2)],1)},staticRenderFns:[]};var u=n("VU/8")(l,c,!1,function(e){n("TDHu")},null,null).exports,d=n("P9l9"),h={name:"administrativeEstrutura",components:{navCrumb:o.a,searchMenu:i.a,employeeInfo:r.a,employeeList:u},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:""}],showChildMember:!1,setDisabledDel:!1,menuData:[],pageSize:20,currentPage:1,selectedList:[],total:0,loading:!0,groupInfo:{groupName:"",departmentId:"",hasPression:""},employeeList:[],searchResult:{},showEmployee:!1,selectedEmployee:{}}},created:function(){},beforeMount:function(){this.getGroupData(),this.getEmployee()},methods:{handleSizeChange:function(e){this.pageSize=e,this.getEmployee()},handleCurrentChange:function(e){this.currentPage=e,this.getEmployee()},addSon:function(){location.href="#/addDepartment?type=group&addnew=1&departmentId="+this.groupInfo.departmentId},goToEdit:function(e){var t=0==e?"company":"group";location.href="#/addDepartment?departmentId="+this.groupInfo.departmentId+"&type="+t},handleSearchKey:function(e){var t=this,n={keyWord:e};Object(d.a)("/haoban-manage-web/emp/searchpage",n).then(function(e){t.searchResult=e.data.result}).catch(function(e){})},handleTreeSelection:function(e,t,n){this.groupInfo.departmentId=e.groupId,this.groupInfo.groupName=e.name,this.showEmployee=n,this.groupInfo.hasPression=e.hasPression,this.groupInfo.level=e.level,this.loading=!0,this.getEmployee()},handleEmployeeSelection:function(e,t){this.selectedEmployee=e,this.showEmployee=t},selectMember:function(e){this.selectedList=e},delMembers:function(){var e=this;e.$confirm("是否要删除选中的员工?","提示",{type:"warning"}).then(function(){e.loading=!0;var t=[];if(e.selectedList.forEach(function(e){t.push(e.employeeClerkId)}),!t.length)return e.$message({message:"请选择员工",type:"warning"}),e.loading=!1,!1;var n={ids:t.join(",")};Object(d.a)("/haoban-manage-web/emp/del",n).then(function(t){if(1==t.data.errorCode){var n=e.selectedList,a=e.employeeList,o=new s.a(n),i=new s.a(a);e.employeeList=n.concat(a).filter(function(e){return!o.has(e)||!i.has(e)}),e.$message.success({message:t.data.message})}else e.$message.error({message:t.data.message});e.loading=!1}).catch(function(t){e.loading=!1,e.$message.error({message:t.message})})})},setChildMemberShow:function(){this.getEmployee()},getGroupData:function(e){var t=this;Object(d.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(e){t.menuData=e.data.result.departmentList||[],t.menuData.some(function(e){return 0==e.level&&(t.groupInfo.departmentId=e.groupId,t.groupInfo.groupName=e.name,t.groupInfo.hasPression=e.hasPression,t.groupInfo.level=0),0==e.level}),t.getEmployee()}).catch(function(e){console.log(e,"error")})},getEmployee:function(){var e=this,t={departmentId:e.groupInfo.departmentId,showChild:1*e.showChildMember,pageSize:e.pageSize,pageNum:e.currentPage,status:1};Object(d.a)("/haoban-manage-web/emp/findsimplepage",t).then(function(t){var n=[],a=0;1==t.data.errorCode&&(n=t.data.result&&t.data.result.list?t.data.result.list:[],a=t.data.result&&t.data.result.total?t.data.result.total:0),e.employeeList=n,e.total=a,e.loading=!1}).catch(function(t){console.log(t,"error"),e.loading=!1})}},computed:{disabledDel:function(){return!this.selectedList.length&&!this.setDisabledDel&&1!=this.groupInfo.hasPression}}},p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"common-set-wrap"},[n("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box"},[n("div",{staticClass:"administrative-estrutura-container common-frame-container",style:{minHeight:e.$store.state.bgHeight}},[n("search-menu",{attrs:{treeData:e.menuData,searchResult:e.searchResult},on:{handleSearchKey:e.handleSearchKey,handleTreeSelection:e.handleTreeSelection,handleEmployeeSelection:e.handleEmployeeSelection}}),e._v(" "),"employee"==e.showEmployee?n("employee-info",{attrs:{perId:e.selectedEmployee.employeeClerkId}}):n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"af-right-container common-right-container"},[n("div",{staticClass:"af-right-header common-right-header"},[n("span",{staticClass:"title-span"},[e._v(e._s(e.groupInfo.groupName)+"("+e._s(e.total)+"人)")]),e._v(" "),n("span",{staticClass:"id-span"},[e._v("部门ID: "+e._s(e.groupInfo.departmentId))]),e._v(" "),n("span",{staticClass:"handle-area"},[n("el-button",{staticClass:"no-bdr-btn",attrs:{disabled:1!=e.groupInfo.hasPression},on:{click:e.addSon}},[e._v("\n 添加子分组 ")]),n("span",{staticClass:"hurdle"}),n("el-button",{staticClass:"no-bdr-btn",attrs:{href:"#/addGroup?groupId="+e.groupInfo.departmentId,disabled:1!=e.groupInfo.hasPression},on:{click:function(t){e.goToEdit(e.groupInfo.level)}}},[e._v("编辑")])],1)]),e._v(" "),n("div",{staticClass:"af-right-button-box common-right-button-box"},[n("a",{attrs:{href:"#/employee?addnew=1&departmentId="+e.groupInfo.departmentId}},[n("el-button",{attrs:{type:"primary"}},[e._v("添加成员")])],1),e._v(" "),n("a",{attrs:{href:"#/employeeIo?importCode=employee&departmentId="+e.groupInfo.departmentId+"&showChildMember="+1*e.showChildMember}},[n("el-button",[e._v("批量导入/导出")])],1),e._v(" "),n("el-button",{attrs:{type:"danger",disabled:e.disabledDel},on:{click:e.delMembers}},[e._v("批量删除")]),e._v(" "),n("span",{staticClass:"J_show-children inline-block el-button"},[n("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}},[e._v("显示子成员")])],1)],1),e._v(" "),n("employee-list",{attrs:{employeeList:e.employeeList},on:{selectMember:e.selectMember}}),e._v(" "),e.employeeList.length?n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.currentPage,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)])]),e._v(" "),n("vue-gic-footer")],1)},staticRenderFns:[]};var f=n("VU/8")(h,p,!1,function(e){n("r7AF")},null,null);t.default=f.exports},lHA8:function(e,t,n){e.exports={default:n("pPW7"),__esModule:!0}},m9gC:function(e,t,n){var a=n("RY/4"),s=n("4WTo");e.exports=function(e){return function(){if(a(this)!=e)throw TypeError(e+"#toJSON isn't generic");return s(this)}}},oNmr:function(e,t,n){n("9Bbf")("Set")},oeOm:function(e,t,n){var a=n("7Doy");e.exports=function(e,t){return new(a(e))(t)}},pPW7:function(e,t,n){n("M6a0"),n("zQR9"),n("+tPU"),n("ttyz"),n("BDhv"),n("oNmr"),n("ioQ5"),e.exports=n("FeBl").Set},qo66:function(e,t,n){"use strict";var a=n("7KvD"),s=n("kM2E"),o=n("06OY"),i=n("S82l"),r=n("hJx8"),l=n("xH/j"),c=n("NWt+"),u=n("2KxR"),d=n("EqjI"),h=n("e6n0"),p=n("evD5").f,f=n("ALrJ")(0),m=n("+E39");e.exports=function(e,t,n,v,g,_){var y=a[e],b=y,C=g?"set":"add",k=b&&b.prototype,I={};return m&&"function"==typeof b&&(_||k.forEach&&!i(function(){(new b).entries().next()}))?(b=t(function(t,n){u(t,b,e,"_c"),t._c=new y,void 0!=n&&c(n,g,t[C],t)}),f("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in k&&(!_||"clear"!=e)&&r(b.prototype,e,function(n,a){if(u(this,b,e),!t&&_&&!d(n))return"get"==e&&void 0;var s=this._c[e](0===n?0:n,a);return t?this:s})}),_||p(b.prototype,"size",{get:function(){return this._c.size}})):(b=v.getConstructor(t,e,g,C),l(b.prototype,n),o.NEED=!0),h(b,e),I[e]=b,s(s.G+s.W+s.F,I),_||v.setStrong(b,e,g),b}},r7AF:function(e,t){},ttyz:function(e,t,n){"use strict";var a=n("9C8M"),s=n("LIJb");e.exports=n("qo66")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return a.def(s(this,"Set"),e=0===e?0:e,e)}},a)}}); webpackJsonp([3],{"4WTo":function(e,t,n){var a=n("NWt+");e.exports=function(e,t){var n=[];return a(e,!1,n.push,n,t),n}},"7Doy":function(e,t,n){var a=n("EqjI"),s=n("7UMu"),o=n("dSzd")("species");e.exports=function(e){var t;return s(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!s(t.prototype)||(t=void 0),a(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},"9Bbf":function(e,t,n){"use strict";var a=n("kM2E");e.exports=function(e){a(a.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},"9C8M":function(e,t,n){"use strict";var a=n("evD5").f,s=n("Yobk"),o=n("xH/j"),i=n("+ZMJ"),r=n("2KxR"),l=n("NWt+"),c=n("vIB/"),u=n("EGZi"),d=n("bRrM"),h=n("+E39"),p=n("06OY").fastKey,f=n("LIJb"),m=h?"_s":"size",v=function(e,t){var n,a=p(t);if("F"!==a)return e._i[a];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,a){r(e,u,t,"_i"),e._t=t,e._i=s(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=a&&l(a,n,e[c],e)});return o(u.prototype,{clear:function(){for(var e=f(this,t),n=e._i,a=e._f;a;a=a.n)a.r=!0,a.p&&(a.p=a.p.n=void 0),delete n[a.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=f(this,t),a=v(n,e);if(a){var s=a.n,o=a.p;delete n._i[a.i],a.r=!0,o&&(o.n=s),s&&(s.p=o),n._f==a&&(n._f=s),n._l==a&&(n._l=o),n[m]--}return!!a},forEach:function(e){f(this,t);for(var n,a=i(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(a(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!v(f(this,t),e)}}),h&&a(u.prototype,"size",{get:function(){return f(this,t)[m]}}),u},def:function(e,t,n){var a,s,o=v(e,t);return o?o.v=n:(e._l=o={i:s=p(t,!0),k:t,v:n,p:a=e._l,n:void 0,r:!1},e._f||(e._f=o),a&&(a.n=o),e[m]++,"F"!==s&&(e._i[s]=o)),e},getEntry:v,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=f(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),d(t)}}},ALrJ:function(e,t,n){var a=n("+ZMJ"),s=n("MU5D"),o=n("sB3e"),i=n("QRG4"),r=n("oeOm");e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,p=t||r;return function(t,r,f){for(var m,v,g=o(t),_=s(g),y=a(r,f,3),b=i(_.length),C=0,k=n?p(t,b):l?p(t,0):void 0;b>C;C++)if((h||C in _)&&(v=y(m=_[C],C,g),e))if(n)k[C]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return C;case 2:k.push(m)}else if(u)return!1;return d?-1:c||u?u:k}}},ATfr:function(e,t,n){"use strict";var a=n("0xDb"),s={name:"searchMenu",components:{},props:{treeData:{type:Array,required:!0},searchResult:{type:Object,required:!0},storeFrame:{type:Boolean,default:!1}},data:function(){return{searchKey:"",searchResultShow:!1,myProps:{children:"childrens",label:"label",disabled:"disabled"},menuData:[],defaultOpen:[],defaultId:""}},methods:{clearFn:function(){this.searchResultShow=!1,this.$nextTick(function(){document.querySelector(".el-tree-node").classList.add("is-current")})},searchFn:function(){if(""==this.searchKey)return this.searchResultShow=!1,!1;this.searchResultShow=!0,this.$emit("handleSearchKey",this.searchKey)},handleNodeClick:function(e,t){e.id!=this.defaultId&&document.querySelector(".el-tree-node")&&document.querySelector(".el-tree-node").classList.remove("is-current"),this.defaultId=e.groupId,this.$emit("handleTreeSelection",e,t,"node")},selectEmployee:function(e){this.defaultId=e.employeeClerkId,this.$emit("handleEmployeeSelection",e,"employee")},handleStoreClick:function(e){this.$emit("handleStoreSelection",e,"store")}},filter:{},computed:{employeeList:function(){return this.searchResult.searchList?this.searchResult.searchList:[]},departmentList:function(){return this.searchResult.departmentList?this.searchResult.departmentList:[]},brandList:function(){return this.searchResult.brandList?this.searchResult.brandList:[]}},watch:{treeData:function(e,t){var n=this,s=Object(a.c)(e);n.defaultOpen=s.defaultOpen,n.menuData=s.menuArr,n.menuData.length&&n.$nextTick(function(){n.defaultId=n.menuData.length?n.menuData[0].id:"",document.querySelector(".el-tree-node").classList.add("is-current")})}}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searh-menu-container"},[n("div",{staticClass:"p-0-15"},[n("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"姓名/手机号/部门名称",clearable:""},on:{clear:e.clearFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}}),e._v(" "),e._t("buttonBox"),e._v(" "),e.searchResultShow?e._e():n("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:e.menuData,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node;return t.data,n("span",{staticClass:"custom-tree-node"},[n("i",{staticClass:"iconfont",class:1==a.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),n("span",[e._v(e._s(a.label))])])}}])})],2),e._v(" "),e.searchResultShow?n("div",{staticClass:"search-result-container m-t-15"},[e.storeFrame?[e._l(e.brandList,function(t,a){return[t.departmentList.length>0||t.storeList.length>0||t.searchList.length>0?n("div",{key:t.topDepartment.brandId+"_"+a},[n("div",[n("p",{staticClass:"brand-title"},[e._v(e._s(t.topDepartment.name))]),e._v(" "),t.departmentList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title store-frame-title"},[e._v("分组列表")]),e._v(" "),e._l(t.departmentList,function(t,a){return n("li",{key:a+"_"+t.groupId,staticClass:"group-item items",on:{click:function(n){e.handleNodeClick(t)}}},[n("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),t.storeList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title store-frame-title"},[e._v("门店列表")]),e._v(" "),e._l(t.storeList,function(t,a){return n("li",{key:a+"_"+t.storeGroupId,staticClass:"group-item items",on:{click:function(n){e.handleStoreClick(t)}}},[n("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.storeName)+"\n ")])})],2):e._e(),e._v(" "),t.searchList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title store-frame-title"},[e._v("人员列表")]),e._v(" "),e._l(t.searchList,function(t,a){return n("li",{key:a+"_"+t.employeeClerkId,staticClass:"person-item items",on:{click:function(n){e.selectEmployee(t)}}},[n("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),n("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e()])]):e._e()]}),e._v(" "),e.brandList.length<1?n("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]:[e.departmentList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title"},[e._v("部门列表")]),e._v(" "),e._l(e.departmentList,function(t,a){return n("li",{key:a+"_"+t.groupId,class:["group-item items",e.defaultId==t.groupId?"active-item":""],on:{click:function(n){e.handleNodeClick(t)}}},[n("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.employeeList.length>0?n("ul",{staticClass:"search-result-ul"},[n("p",{staticClass:"title"},[e._v("人员列表")]),e._v(" "),e._l(e.employeeList,function(t,a){return n("li",{key:a+"_"+t.employeeClerkId,class:["person-item items",e.defaultId==t.employeeClerkId?"active-item":""],on:{click:function(n){e.selectEmployee(t)}}},[n("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),n("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e(),e._v(" "),e.departmentList.length<1&&e.employeeList.length<1?n("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]],2):e._e()])},staticRenderFns:[]};var i=n("VU/8")(s,o,!1,function(e){n("BkoW")},null,null);t.a=i.exports},BDhv:function(e,t,n){var a=n("kM2E");a(a.P+a.R,"Set",{toJSON:n("m9gC")("Set")})},BkoW:function(e,t){},HpRW:function(e,t,n){"use strict";var a=n("kM2E"),s=n("lOnJ"),o=n("+ZMJ"),i=n("NWt+");e.exports=function(e){a(a.S,e,{from:function(e){var t,n,a,r,l=arguments[1];return s(this),(t=void 0!==l)&&s(l),void 0==e?new this:(n=[],t?(a=0,r=o(l,arguments[2],2),i(e,!1,function(e){n.push(r(e,a++))})):i(e,!1,n.push,n),new this(n))}})}},LIJb:function(e,t,n){var a=n("EqjI");e.exports=function(e,t){if(!a(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},TDHu:function(e,t){},dSzo:function(e,t){},ioQ5:function(e,t,n){n("HpRW")("Set")},kLcy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("lHA8"),s=n.n(a),o=n("3Xzz"),i=n("ATfr"),r=n("WSbm"),l={name:"employee-table",props:{employeeList:{type:Array,default:function(){return[]}},headList:{type:Array,default:function(){return["selection","name","phoneNumber","positionName","activationStatus"]}}},data:function(){return{tableH:window.screen.availHeight-180}},methods:{selectMember:function(e){this.$emit("selectMember",e)},linkToDetail:function(e){window.location.href="#/employee?employeeClerkId="+e.employeeClerkId}}},c={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"employee-table"},[n("el-table",{attrs:{data:e.employeeList},on:{"selection-change":e.selectMember,"row-click":e.linkToDetail}},[e._l(e.headList,function(t){return["selection"==t?n("el-table-column",{key:t,attrs:{type:"selection",width:"42"}}):e._e(),e._v(" "),"name"==t?n("el-table-column",{key:t,attrs:{label:"姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.name))]),e._v(" "),1==t.row.isManager?n("span",{staticClass:"is-manager"},[e._v("部门负责人")]):e._e()]}}])}):e._e(),e._v(" "),"phoneNumber"==t?n("el-table-column",{key:t,attrs:{label:"手机号",prop:"phoneNumber"}}):e._e(),e._v(" "),"positionName"==t?n("el-table-column",{key:t,attrs:{label:"职位",prop:"positionName"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.positionName?t.row.positionName:"--")+"\n ")]}}])}):e._e(),e._v(" "),"activationStatus"==t?n("el-table-column",{key:t,attrs:{label:"状态"},scopedSlots:e._u([{key:"default",fn:function(e){return[n("div",{staticClass:"status-icon",class:1==e.row.activationStatus?"is-active":""},[n("i",{staticClass:"iconfont icon-shouji"})])]}}])}):e._e()]})],2)],1)},staticRenderFns:[]};var u=n("VU/8")(l,c,!1,function(e){n("TDHu")},null,null).exports,d=n("P9l9"),h={name:"administrativeEstrutura",components:{navCrumb:o.a,searchMenu:i.a,employeeInfo:r.a,employeeList:u},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:""}],showChildMember:!1,setDisabledDel:!1,menuData:[],pageSize:20,currentPage:1,selectedList:[],total:0,loading:!0,groupInfo:{groupName:"",departmentId:"",hasPression:""},employeeList:[],searchResult:{},showEmployee:!1,selectedEmployee:{}}},created:function(){},beforeMount:function(){this.getGroupData(),this.getEmployee()},methods:{handleSizeChange:function(e){this.pageSize=e,this.getEmployee()},handleCurrentChange:function(e){this.currentPage=e,this.getEmployee()},addSon:function(){location.href="#/addDepartment?type=group&addnew=1&departmentId="+this.groupInfo.departmentId},goToEdit:function(e){var t=0==e?"company":"group";location.href="#/addDepartment?departmentId="+this.groupInfo.departmentId+"&type="+t},handleSearchKey:function(e){var t=this,n={keyWord:e};Object(d.a)("/haoban-manage-web/emp/searchpage",n).then(function(e){t.searchResult=e.data.result}).catch(function(e){})},handleTreeSelection:function(e,t,n){this.groupInfo.departmentId=e.groupId,this.groupInfo.groupName=e.name,this.showEmployee=n,this.groupInfo.hasPression=e.hasPression,this.groupInfo.level=e.level,this.loading=!0,this.getEmployee()},handleEmployeeSelection:function(e,t){this.selectedEmployee=e,this.showEmployee=t},selectMember:function(e){this.selectedList=e},delMembers:function(){var e=this;e.$confirm("是否要删除选中的员工?","提示",{type:"warning"}).then(function(){e.loading=!0;var t=[];if(e.selectedList.forEach(function(e){t.push(e.employeeClerkId)}),!t.length)return e.$message({message:"请选择员工",type:"warning"}),e.loading=!1,!1;var n={ids:t.join(",")};Object(d.a)("/haoban-manage-web/emp/del",n).then(function(t){if(1==t.data.errorCode){var n=e.selectedList,a=e.employeeList,o=new s.a(n),i=new s.a(a);e.employeeList=n.concat(a).filter(function(e){return!o.has(e)||!i.has(e)}),e.$message.success({message:t.data.message})}else e.$message.error({message:t.data.message});e.loading=!1}).catch(function(t){e.loading=!1,e.$message.error({message:t.message})})})},setChildMemberShow:function(){this.getEmployee()},getGroupData:function(e){var t=this;Object(d.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(e){t.menuData=e.data.result.departmentList||[],t.menuData.some(function(e){return 0==e.level&&(t.groupInfo.departmentId=e.groupId,t.groupInfo.groupName=e.name,t.groupInfo.hasPression=e.hasPression,t.groupInfo.level=0),0==e.level}),t.getEmployee()}).catch(function(e){console.log(e,"error")})},getEmployee:function(){var e=this,t={departmentId:e.groupInfo.departmentId,showChild:1*e.showChildMember,pageSize:e.pageSize,pageNum:e.currentPage,status:1};Object(d.a)("/haoban-manage-web/emp/findsimplepage",t).then(function(t){var n=[],a=0;1==t.data.errorCode&&(n=t.data.result&&t.data.result.list?t.data.result.list:[],a=t.data.result&&t.data.result.total?t.data.result.total:0),e.employeeList=n,e.total=a,e.loading=!1}).catch(function(t){console.log(t,"error"),e.loading=!1})}},computed:{disabledDel:function(){return!this.selectedList.length&&!this.setDisabledDel&&1!=this.groupInfo.hasPression}}},p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"common-set-wrap admin-frame"},[n("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box"},[n("div",{staticClass:"administrative-estrutura-container common-frame-container",style:{minHeight:e.$store.state.bgHeight}},[n("search-menu",{attrs:{treeData:e.menuData,searchResult:e.searchResult},on:{handleSearchKey:e.handleSearchKey,handleTreeSelection:e.handleTreeSelection,handleEmployeeSelection:e.handleEmployeeSelection}}),e._v(" "),"employee"==e.showEmployee?n("employee-info",{attrs:{perId:e.selectedEmployee.employeeClerkId}}):n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"af-right-container common-right-container"},[n("div",{staticClass:"af-right-header common-right-header"},[n("span",{staticClass:"title-span"},[e._v(e._s(e.groupInfo.groupName)+"("+e._s(e.total)+"人)")]),e._v(" "),n("span",{staticClass:"id-span"},[e._v("部门ID: "+e._s(e.groupInfo.departmentId))]),e._v(" "),n("span",{staticClass:"handle-area"},[n("el-button",{staticClass:"no-bdr-btn",attrs:{disabled:1!=e.groupInfo.hasPression},on:{click:e.addSon}},[e._v("\n 添加子分组 ")]),n("span",{staticClass:"hurdle"}),n("el-button",{staticClass:"no-bdr-btn",attrs:{href:"#/addGroup?groupId="+e.groupInfo.departmentId,disabled:1!=e.groupInfo.hasPression},on:{click:function(t){e.goToEdit(e.groupInfo.level)}}},[e._v("编辑")])],1)]),e._v(" "),n("div",{staticClass:"af-right-button-box common-right-button-box"},[n("a",{attrs:{href:"#/employee?addnew=1&departmentId="+e.groupInfo.departmentId}},[n("el-button",{attrs:{type:"primary"}},[e._v("添加成员")])],1),e._v(" "),n("a",{attrs:{href:"#/employeeIo?importCode=employee&departmentId="+e.groupInfo.departmentId+"&showChildMember="+1*e.showChildMember}},[n("el-button",[e._v("批量导入/导出")])],1),e._v(" "),n("el-button",{attrs:{type:"danger",disabled:e.disabledDel},on:{click:e.delMembers}},[e._v("批量删除")]),e._v(" "),n("span",{staticClass:"J_show-children inline-block el-button"},[n("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}},[e._v("显示子成员")])],1)],1),e._v(" "),n("employee-list",{attrs:{employeeList:e.employeeList},on:{selectMember:e.selectMember}}),e._v(" "),e.employeeList.length?n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.currentPage,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)])]),e._v(" "),n("vue-gic-footer")],1)},staticRenderFns:[]};var f=n("VU/8")(h,p,!1,function(e){n("dSzo")},null,null);t.default=f.exports},lHA8:function(e,t,n){e.exports={default:n("pPW7"),__esModule:!0}},m9gC:function(e,t,n){var a=n("RY/4"),s=n("4WTo");e.exports=function(e){return function(){if(a(this)!=e)throw TypeError(e+"#toJSON isn't generic");return s(this)}}},oNmr:function(e,t,n){n("9Bbf")("Set")},oeOm:function(e,t,n){var a=n("7Doy");e.exports=function(e,t){return new(a(e))(t)}},pPW7:function(e,t,n){n("M6a0"),n("zQR9"),n("+tPU"),n("ttyz"),n("BDhv"),n("oNmr"),n("ioQ5"),e.exports=n("FeBl").Set},qo66:function(e,t,n){"use strict";var a=n("7KvD"),s=n("kM2E"),o=n("06OY"),i=n("S82l"),r=n("hJx8"),l=n("xH/j"),c=n("NWt+"),u=n("2KxR"),d=n("EqjI"),h=n("e6n0"),p=n("evD5").f,f=n("ALrJ")(0),m=n("+E39");e.exports=function(e,t,n,v,g,_){var y=a[e],b=y,C=g?"set":"add",k=b&&b.prototype,I={};return m&&"function"==typeof b&&(_||k.forEach&&!i(function(){(new b).entries().next()}))?(b=t(function(t,n){u(t,b,e,"_c"),t._c=new y,void 0!=n&&c(n,g,t[C],t)}),f("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in k&&(!_||"clear"!=e)&&r(b.prototype,e,function(n,a){if(u(this,b,e),!t&&_&&!d(n))return"get"==e&&void 0;var s=this._c[e](0===n?0:n,a);return t?this:s})}),_||p(b.prototype,"size",{get:function(){return this._c.size}})):(b=v.getConstructor(t,e,g,C),l(b.prototype,n),o.NEED=!0),h(b,e),I[e]=b,s(s.G+s.W+s.F,I),_||v.setStrong(b,e,g),b}},ttyz:function(e,t,n){"use strict";var a=n("9C8M"),s=n("LIJb");e.exports=n("qo66")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return a.def(s(this,"Set"),e=0===e?0:e,e)}},a)}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([36],{"3sUs":function(t,a){},cuIN:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),c=e("fvdr"),o=e("Qie6"),s={name:"reviewed",data:function(){return{appName:"我的顾客",appIcon:"",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员搜索设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"}],activeBrand:"1"}},computed:{},methods:{selectBrandId:function(t){this.activeBrand=t},setSelectTab:function(t){this.activeTab=t.tabId}},watch:{activeBrand:function(t,a){this.activeBrand=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:c.a,commonDetailLeft:o.a}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box"},[e("div",{staticClass:"apps-content flex"},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("app-detail",{attrs:{brandId:t.activeBrand,tabType:t.activeTab}})],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var d=e("VU/8")(s,i,!1,function(t){e("3sUs")},"data-v-84a5f074",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([36],{XzAK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),n=a("Ke24"),i=a("PI0u"),o=a("Ch4/"),c=a("3E4D"),r=a("P9l9"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访设置"}],activeId:"1",setObj:{taskType:0,overDayJudge:"",distributeTypeJudge:"",giveUpJudge:""}}},computed:{},methods:{saveSet:Object(i.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={brandId:t.activeBrand,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge};Object(r.c)("/haoban-app-tel-task-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={brandId:t.activeBrand,taskType:0};Object(r.c)("/haoban-app-tel-task-web/setting/find-task-setting",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.setObj=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"task-set-content boder-box"},[a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-20 font-w-500"},[t._v("不良评价回访任务逾期时间设置")]),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("不良评价回访下发后")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),a("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("话务任务放弃前提")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),a("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应")])],1)]),t._v(" "),a("div",{staticClass:"task-set-save m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(d,l,!1,function(t){a("dRQc")},"data-v-829c0a0c",null);e.default=u.exports},dRQc:function(t,e){}}); webpackJsonp([37],{XzAK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),n=a("Ke24"),i=a("PI0u"),o=a("Ch4/"),c=a("3E4D"),r=a("P9l9"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访设置"}],activeId:"1",setObj:{taskType:0,overDayJudge:"",distributeTypeJudge:"",giveUpJudge:""}}},computed:{},methods:{saveSet:Object(i.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={brandId:t.activeBrand,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge};Object(r.c)("/haoban-app-tel-task-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={brandId:t.activeBrand,taskType:0};Object(r.c)("/haoban-app-tel-task-web/setting/find-task-setting",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.setObj=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"task-set-content boder-box"},[a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-20 font-w-500"},[t._v("不良评价回访任务逾期时间设置")]),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("不良评价回访下发后")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),a("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("话务任务放弃前提")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),a("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应")])],1)]),t._v(" "),a("div",{staticClass:"task-set-save m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(d,l,!1,function(t){a("dRQc")},"data-v-829c0a0c",null);e.default=u.exports},dRQc:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([37],{"5x7s":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),n=a("Ke24"),i=a("PI0u"),o=a("Ch4/"),c=a("3E4D"),r=a("P9l9"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"任务下发设置"}],activeId:"1",setData:{status:!1,time:"12:00"}}},computed:{},methods:{saveSet:Object(i.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={brandId:t.activeBrand,status:t.setData.status?"1":"0",time:t.setData.time};Object(r.c)("/haoban-app-daily-web/daily/create-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={brandId:t.activeBrand};Object(r.c)("/haoban-app-daily-web/daily/get-setting",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.setData.status=1==a.result.status,void(t.setData.time=a.result.time);o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"task-set-content boder-box"},[a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-10 font-w-500"},[t._v("日报开关设置")]),t._v(" "),a("div",{staticClass:"font-14 color-606266 m-b-16"},[t._v("开启后,日报将定时发送")]),t._v(" "),a("div",{},[a("el-switch",{attrs:{"active-text":" ","inactive-text":" "},model:{value:t.setData.status,callback:function(e){t.$set(t.setData,"status",e)},expression:"setData.status"}})],1)]),t._v(" "),a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-10 font-w-500"},[t._v("日报每日下发时间设置")]),t._v(" "),a("div",{staticClass:"font-14 color-606266 m-b-16"},[t._v("该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置")]),t._v(" "),a("div",[a("el-time-select",{staticClass:"w-118",attrs:{editable:!1,clearable:!1,"picker-options":{start:"00:00",step:"00:15",end:"23:45"},placeholder:"选择时间"},model:{value:t.setData.time,callback:function(e){t.$set(t.setData,"time",e)},expression:"setData.time"}})],1)]),t._v(" "),a("div",{staticClass:"task-set-save m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(d,l,!1,function(t){a("W7qN")},"data-v-7f9ef9d2",null);e.default=u.exports},W7qN:function(t,e){}}); webpackJsonp([38],{"5x7s":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),n=a("Ke24"),i=a("PI0u"),o=a("Ch4/"),c=a("3E4D"),r=a("P9l9"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"任务下发设置"}],activeId:"1",setData:{status:!1,time:"12:00"}}},computed:{},methods:{saveSet:Object(i.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={brandId:t.activeBrand,status:t.setData.status?"1":"0",time:t.setData.time};Object(r.c)("/haoban-app-daily-web/daily/create-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={brandId:t.activeBrand};Object(r.c)("/haoban-app-daily-web/daily/get-setting",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.setData.status=1==a.result.status,void(t.setData.time=a.result.time);o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"task-set-content boder-box"},[a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-10 font-w-500"},[t._v("日报开关设置")]),t._v(" "),a("div",{staticClass:"font-14 color-606266 m-b-16"},[t._v("开启后,日报将定时发送")]),t._v(" "),a("div",{},[a("el-switch",{attrs:{"active-text":" ","inactive-text":" "},model:{value:t.setData.status,callback:function(e){t.$set(t.setData,"status",e)},expression:"setData.status"}})],1)]),t._v(" "),a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-10 font-w-500"},[t._v("日报每日下发时间设置")]),t._v(" "),a("div",{staticClass:"font-14 color-606266 m-b-16"},[t._v("该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置")]),t._v(" "),a("div",[a("el-time-select",{staticClass:"w-118",attrs:{editable:!1,clearable:!1,"picker-options":{start:"00:00",step:"00:15",end:"23:45"},placeholder:"选择时间"},model:{value:t.setData.time,callback:function(e){t.$set(t.setData,"time",e)},expression:"setData.time"}})],1)]),t._v(" "),a("div",{staticClass:"task-set-save m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(d,l,!1,function(t){a("W7qN")},"data-v-7f9ef9d2",null);e.default=u.exports},W7qN:function(t,e){}});
\ No newline at end of file \ 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("yw/n")},null,null);n.default=u.exports},"yw/n":function(e,n){}}); 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("yw/n")},null,null);n.default=u.exports},"yw/n":function(e,n){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([4,33,51,52,54,62],{"5zde":function(t,e,i){i("zQR9"),i("qyJz"),t.exports=i("FeBl").Array.from},"79Bk":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),i("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),i("div",{staticClass:"b-t-1"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("uaqi")},"data-v-35e4159a",null);e.default=l.exports},Gu7T:function(t,e,i){"use strict";e.__esModule=!0;var a,s=i("c/Tr"),l=(a=s)&&a.__esModule?a:{default:a};e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return(0,l.default)(t)}},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var l=i("VU/8")(a,s,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=l.exports},IA9l:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("//Fk"),s=i.n(a),l=i("Gu7T"),n=i.n(l),c=i("gBtx"),r=i.n(c),o=i("mvHQ"),d=i.n(o),m=i("DAYN"),u=i.n(m),p=i("Isrn"),h=i("l46T"),v=i("H8Kg"),f=i("t0b0"),_=i("79Bk"),g=i("s4D+"),y=i("PAYw"),C=i("fPyK"),b=i("3E4D"),I=i("Ch4/"),x=i("PI0u"),k=i("P9l9"),w={name:"customSetTemplate",data:function(){return{activeName:"first",rightName:"second",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},templateId:"",oparateType:"",counter:1,selectKey:"",tradeInfo:[],personInfo:[],goodsInfo:[],competeInfo:[],defineInfo:[],currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[],setList:[],templateObj:{title:"",description:"",storeType:"",momory:[]},storeList:[{id:"0",name:"直营门店",disabled:!1},{id:"1",name:"联营门店",disabled:!1},{id:"2",name:"代理门店",disabled:!1},{id:"3",name:"代销门店",disabled:!1},{id:"4",name:"托管门店",disabled:!1}]}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)},returnBack:function(){this.changeRoute("/customReport?brandId="+this.brandId)},cloneItem:function(t){var e=JSON.parse(d()(t));return e.cid="c"+this.counter,e.systemFlag||(e.name.includes("textc")&&(e.name="textc"+this.counter),e.name.includes("paragraphc")&&(e.name="paragraphc"+this.counter),e.name.includes("numberc")&&(e.name="numberc"+this.counter),e.name.includes("checkboxesOrRadioc")&&(e.name="checkboxesOrRadioc"+this.counter),e.name.includes("datec")&&(e.name="datec"+this.counter),e.name.includes("dateareac")&&(e.name="dateareac"+this.counter),e.name.includes("picc")&&(e.name="picc"+this.counter),e.name.includes("introductionc")&&(e.name="introductionc"+this.counter),e.name.includes("pricec")&&(e.name="pricec"+this.counter),e.name.includes("groupc")&&(e.name="groupc"+this.counter,e.title=""+e.title+this.counter)),e},onMove:function(t){var e=t.draggedContext.element;return!this.tempaletDataList.map(function(t){return t.name}).includes(e.name)&&!e.fixed},onChildMove:function(t){var e=!0;return-1!=t.dragged.className.indexOf("block-class")&&-1!=t.to.className.indexOf("block-wrap")&&(e=!1),e},itemMoveEnd:function(t){var e=this;function i(t){e[t].forEach(function(t,i){t.name==e.selectKey&&(t.fixed=!0)})}e.isDragging=!1,e.selectKey="",e.selectKey=t.clone.dataset.name,e.tempaletDataList.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode),t.children&&t.children.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode)})}),e.selectKey="",e.tempaletDataList=JSON.parse(d()(e.tempaletDataList)),e.$forceUpdate(),e.counter=e.counter+1},selectItem:function(t,e){this.currentIndex=e,this.currentChildIndex=null},deleteItem:function(t,e,i,a){var s=this;if(s.tempaletDataList.splice(i,1),s.currentIndex--,s.currentIndex<=0&&(s.currentIndex=0),!a.systemFlag)return a.name.includes("groupc")&&a.children.length&&a.children.forEach(function(t){t.systemFlag&&s[t.parentCode].forEach(function(e){e.name==t.name&&(e.fixed=!1)})}),!1;s[e].forEach(function(e,i){e.name==t&&(e.fixed=!1)})},addDragItem:function(t){return!1},selectChildItem:function(t,e,i,a){this.currentIndex=null,this.currentChildKey=t,this.childIndex=e,this.currentChildIndex=i},deleteChildItem:function(t,e,i,a,s){if(this.childIndex=e,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[e].children[i].name,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(d()(this.tempaletDataList)),this.tempaletDataList[e].children.splice(i,1),!s.systemFlag)return!1;this[s.parentCode].forEach(function(e,i){e.name===t&&(e.fixed=!1)})},delChildItem:function(t,e,i){i.list.splice(e,1)},addChildItem:function(t,e,i){if(19!=e){i.list.push({value:"选项"+(e+2),key:e+2});var a=i.list.map(function(t){return t.value});this.isRepeat(a)&&(i.list.splice(i.list.length-1,1),a.splice(i.list.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeMust:function(t,e,i){e&&i.list.forEach(function(e){e.isMust=!!t})},isRepeat:function(t){var e={};for(var i in t){if(e[t[i]])return!0;e[t[i]]=!0}return!1},changeRoute:function(t){this.$router.push(t)},checkTag:function(t){var e={filedFlag:!0,filedRepeat:!1},i=[];return t.forEach(function(t){if(""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title),t.hasOwnProperty("children")&&t.children.length&&t.children.forEach(function(t){if(t.systemFlag&&""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title)})}),this.isRepeat(i)&&(e.filedRepeat=!0),e},checkTemplateObj:function(){var t=!0;return this.templateObj.title&&this.templateObj.description&&this.templateObj.storeType||(t=!1),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},saveAndBack:Object(x.a)(function(t){if(!this.checkTemplateObj())return this.$message.error({duration:1e3,message:"请完善模板设置内容"}),!1;var e=JSON.parse(d()(this.tempaletDataList)),i=this.checkTag(e);if(!i.filedFlag)return this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"}),!1;if(i.filedRepeat)this.$message.error({duration:1e3,message:"字段标题不能重复"});else{if(e.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0),t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("children")&&(t.children.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0)}),t.list=t.children)}),!e.length)return this.$message.error({duration:1e3,message:"请先配置字段"}),!1;"save"===t?this.saveAllData(e):this.postPreview(e)}},500),saveAllData:function(t){var e=this,i={status:1,brandId:e.brandId,templateContent:d()(t),title:e.templateObj.title,description:e.templateObj.description,storeType:e.templateObj.storeType,memory:[]};Object(k.c)("/haoban-app-daily-web/daily/save-define-template",i).then(function(t){var i=t.data;if(1==i.errorCode)return b.a.showmsg("保存成功","success"),void e.changeRoute("/customReport?brandId="+e.brandId);I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},postPreview:function(t){var e=this,i={templateType:2,brandId:e.brandId,templateContent:d()(t)};Object(k.c)("/haoban-app-daily-web/daily/preview-template",i).then(function(t){var i=t.data;if(1==i.errorCode){var a=JSON.parse(localStorage.getItem("userInfo")).enterpriseId,s=window.location.origin+"/office-mobile/#/defineTemplate?enterpriseId="+a+"&templateId="+i.result+"&brandId="+e.brandId;return e.$refs.qrcodePreview.qrcode(s,"daily-preview"),void(e.dialogVisible=!0)}I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},closeDialog:function(){this.dialogVisible=!1},getHasStores:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/has-defined-template-store-type",{brandId:t.brandId}).then(function(e){var i=e.data;1!=i.errorCode?I.a.errorMsg(i):t.storeList.forEach(function(e){i.result&&i.result.length&&i.result.includes(r()(e.id))&&(e.disabled=!0),"edit"==t.oparateType&&t.storeType==e.id&&(e.disabled=!1)})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAllFields:function(t){var e=this;Object(k.c)("/haoban-app-daily-web/daily/get-template-items",{brandId:e.brandId,type:t}).then(function(i){var a=i.data;if(1==a.errorCode)return a.result.forEach(function(e){e.isMust=!!e.isMust,e.memory=!!e.memory,e.title=e.title.trim(),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=!!e.openCapitalize),e.hasOwnProperty("list")&&e.list&&e.list.length&&e.list.forEach(function(t){t.isMust=!!t.isMust}),e.systemFlag=3!=t,e.name.includes("groupc")&&(e.children=[])}),void(3==t?e.defineInfo=a.result:e.handleAllFields(a.result));I.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(t){var e=this;t.forEach(function(t){t.fixed=!1,1==t.classify&&(t.parentCode="tradeInfo",e.tradeInfo.push(t)),2==t.classify&&(t.parentCode="personInfo",e.personInfo.push(t)),3==t.classify&&(t.parentCode="goodsInfo",e.goodsInfo.push(t)),4==t.classify&&(t.parentCode="competeInfo",e.competeInfo.push(t))})},getInfo:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/get-define-template",{templateId:t.templateId}).then(function(e){var i=e.data;if(1==i.errorCode)return t.setList=[],i.result&&(t.templateObj.title=i.result.title,t.templateObj.description=i.result.description,t.storeType="edit"==t.oparateType?String(i.result.storeType):"",t.templateObj.storeType="edit"==t.oparateType?String(i.result.storeType):"",i.result.templateContent&&i.result.templateContent.length&&t.handleGetInfo(i.result.templateContent)),void t.getHasStores();I.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},treeData:function(t){var e=t.filter(function(e){var i=t.filter(function(t){return e.fieldCode==t.parentCode});return i.length>0&&(e.children=i),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},handleGetInfo:function(t){var e=this,i=JSON.parse(d()(t));e.cids=[],e.setParent=[],i.forEach(function(t,i){t.title=t.title.trim(),t.isMust=!!t.isMust,t.memory=!!t.memory,t.name.includes("textc")||t.name.includes("paragraphc")||t.name.includes("numberc")||t.name.includes("checkboxesOrRadioc")||t.name.includes("datec")||t.name.includes("dateareac")||t.name.includes("picc")||t.name.includes("introductionc")||t.name.includes("pricec")||t.name.includes("groupc")?(t.systemFlag=!1,t.parentCode="defineInfo"):(e.setParent.push(t.name),t.systemFlag=!0,1==t.classify&&(t.parentCode="tradeInfo"),2==t.classify&&(t.parentCode="personInfo"),3==t.classify&&(t.parentCode="goodsInfo"),4==t.classify&&(t.parentCode="competeInfo")),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=!!t.openCapitalize),t.hasOwnProperty("list")&&t.list&&t.list.length&&(t.list.forEach(function(i){(i.isMust=!!i.isMust,t.name.includes("groupc"))&&(i.isMust=!!i.isMust,i.memory=!!i.memory,i.name.includes("textc")||i.name.includes("paragraphc")||i.name.includes("numberc")||i.name.includes("checkboxesOrRadioc")||i.name.includes("datec")||i.name.includes("dateareac")||i.name.includes("picc")||i.name.includes("introductionc")||i.name.includes("pricec")||i.name.includes("groupc")?i.systemFlag=!1:(e.setParent.push(i.name),i.systemFlag=!0,1==i.classify&&(i.parentCode="tradeInfo"),2==i.classify&&(i.parentCode="personInfo"),3==i.classify&&(i.parentCode="goodsInfo"),4==i.classify&&(i.parentCode="competeInfo")))}),t.name.includes("groupc")&&(t.children=t.list)),e.cids.push(r()(t.cid.match(/\d+/g))),t.hasOwnProperty("children")&&t.children.forEach(function(t){t.isMust=!!t.isMust,t.memory=!!t.memory,e.cids.push(r()(t.cid.match(/\d+/g)))})}),e.counter=Math.max.apply(Math,n()(e.cids)),e.tempaletDataList=i,setTimeout(function(){e.setFixed()},500)},setFixed:function(){var t=this;["tradeInfo","personInfo","goodsInfo","competeInfo"].forEach(function(e){t[e].forEach(function(e){t.setParent.includes(e.name)&&(e.fixed=!0)})})}},watch:{isDragging:function(t){var e=this;t?e.delayedDragging=!0:e.$nextTick(function(){e.delayedDragging=!1})}},components:{draggable:u.a,AddInput:p.a,limitInput:h.a,imageCom:v.default,selectCom:f.default,dateRangeCom:_.default,inputCom:g.default,blockCom:y.default,qrcodeDialog:C.a},mounted:function(){var t=this,e=t.$route.query;t.brandId=t.$route.query.brandId,s.a.all([t.getAllFields(2)]).then(function(i){t.getAllFields(3),e.hasOwnProperty("templateId")?(t.templateId=e.templateId,t.oparateType=e.type,t.getInfo()):t.getHasStores()}).catch(function(t){console.log(t)}),document.body.ondrop=function(t){t.preventDefault(),t.stopPropagation()}}},T={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"template-wrap",style:{height:t.bodyHeight}},[a("div",{staticClass:"template-contain"},[a("div",{staticClass:"template-head"},[t._m(0),t._v(" "),a("div",{staticClass:"template-btns flex-1 flex-r"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.saveAndBack("preview")}}},[t._v("预 览")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.returnBack}},[t._v("返 回")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.saveAndBack("save")}}},[t._v("保存并启用")])],1)]),t._v(" "),a("div",{staticClass:"template-body"},[a("div",{staticClass:"template-cell template-cell-l"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[a("div",{staticClass:"filed-item-title"},[t._v("交易")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list1",list:t.tradeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.tradeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name,"aria-hidden":"true"}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("人员")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list2",list:t.personInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.personInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("商品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list3",list:t.goodsInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.goodsInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("竞品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list4",list:t.competeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.competeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),a("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[a("div",{staticClass:"filed-item-title"}),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list5",list:t.defineInfo,options:t.leftDefineOption,clone:t.cloneItem,move:t.onChildMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.defineInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":"",11==e.type?"block-class":""],attrs:{"data-type":e.fieldCode}},[0==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),1==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),2==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),3==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),4==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),5==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),6==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),7==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),9==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),10==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),11==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),0==e.type?a("i",{staticClass:"bg-icon bg-icon-one"}):t._e(),t._v(" "),1==e.type?a("i",{staticClass:"bg-icon bg-icon-two"}):t._e(),t._v(" "),2==e.type?a("i",{staticClass:"bg-icon bg-icon-three"}):t._e(),t._v(" "),3==e.type?a("i",{staticClass:"bg-icon bg-icon-four"}):t._e(),t._v(" "),4==e.type?a("i",{staticClass:"bg-icon bg-icon-five"}):t._e(),t._v(" "),5==e.type?a("i",{staticClass:"bg-icon bg-icon-six"}):t._e(),t._v(" "),6==e.type?a("i",{staticClass:"bg-icon bg-icon-seven"}):t._e(),t._v(" "),7==e.type?a("i",{staticClass:"bg-icon bg-icon-eight"}):t._e(),t._v(" "),9==e.type?a("i",{staticClass:"bg-icon bg-icon-ten"}):t._e(),t._v(" "),10==e.type?a("i",{staticClass:"bg-icon bg-icon-eleven"}):t._e(),t._v(" "),11==e.type?a("i",{staticClass:"bg-icon bg-icon-twelve"}):t._e()])}))],1)])],1)],1),t._v(" "),a("div",{staticClass:"template-cell template-cell-m"},[a("div",{staticClass:"phone-view"},[a("div",{staticClass:"phone-show-content"},[a("div",{staticClass:"drag-show-content"},[a("div",{staticClass:"view-container"},[a("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==t.tempaletDataList.length?[a("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:t._e(),t._v(" "),a("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:t.tempaletDataList,callback:function(e){t.tempaletDataList=e},expression:"tempaletDataList"}},t._l(t.tempaletDataList,function(e,i){return a("li",{key:"li1"+i,class:["filed-item",t.currentIndex==i?"active-item":"","li-block"],on:{click:function(a){t.selectItem(e.fieldCode,i)}}},["baseInfo"!=e.fieldCode?a("span",{staticClass:"item-close p-item-close",on:{click:function(a){a.stopPropagation(),t.deleteItem(e.name,e.parentCode,i,e)}}},[a("i",{staticClass:"el-icon-close"})]):t._e(),t._v(" "),e.systemFlag||!e.name.includes("groupc")?a("div",[1==e.type||2==e.type||3==e.type||10==e.type||9==e.type?a("input-com",{attrs:{childItem:e}}):t._e(),t._v(" "),4==e.type||5==e.type?a("select-com",{attrs:{childItem:e}}):t._e(),t._v(" "),6==e.type?a("date-range-com",{attrs:{childItem:e}}):t._e(),t._v(" "),7==e.type?a("image-com",{attrs:{childItem:e}}):t._e(),t._v(" "),"11"==e.type?a("block-com",{attrs:{childItem:e}}):t._e()],1):t._e(),t._v(" "),[e.name.includes("groupc")?a("div",{staticClass:"block"},[a("div",{staticClass:"block-head"},[a("div",{class:["opencard-item-title",t.getZhLen(e.title)>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))])]),t._v(" "),a("ul",{staticClass:"view-content"},[a("draggable",{class:["drag-wrap","block-wrap",e.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:t.addDragItem},model:{value:e.children,callback:function(i){t.$set(e,"children",i)},expression:"item.children"}},t._l(e.children,function(s,l){return a("li",{key:"li"+l,class:["filed-item","child-filed-item",t.currentChildKey==s.name&&t.currentChildIndex==l?"active-item":""],on:{click:function(a){a.stopPropagation(),t.selectChildItem(s.name,i,l,e.children)}}},[a("span",{staticClass:"item-close child-item-close",on:{click:function(a){a.stopPropagation(),t.deleteChildItem(s.name,i,l,e.children,s)}}},[a("i",{staticClass:"el-icon-close"})]),t._v(" "),4==s.type||5==s.type?a("select-com",{attrs:{childItem:s}}):t._e(),t._v(" "),6==s.type?a("date-range-com",{attrs:{childItem:s}}):t._e(),t._v(" "),7==s.type?a("image-com",{attrs:{childItem:s}}):t._e(),t._v(" "),1==s.type||2==s.type||3==s.type||10==s.type||9==s.type?a("input-com",{attrs:{childItem:s}}):t._e(),t._v(" "),"11"==s.type&&s.systemFlag?a("block-com",{attrs:{childItem:s}}):t._e()],1)}))],1)]):t._e()]],2)}))],2)])])])])]),t._v(" "),a("div",{staticClass:"template-cell template-cell-r"},[a("el-tabs",{model:{value:t.rightName,callback:function(e){t.rightName=e},expression:"rightName"}},[a("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[a("div",{attrs:{id:"edit-box"}},[a("div",{staticClass:"edit-view baby-info-flag baby-info"},[t._l(t.tempaletDataList,function(e,i){return[t.currentIndex!=i||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child62"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child64"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||11==e.type||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child11"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child111"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"parent22"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentIndex!=i||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child117"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||10!=e.type?t._e():[a("div",{key:"parent210"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"item.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent2"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"item.isMust"}},[t._v("必填")])],1)],t._v(" "),t.currentIndex!=i||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"parent21"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent3"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"item.memory"}},[t._v("是否记忆")])],1)],t._v(" "),t.childIndex==i&&e.children&&e.children.length?[t._l(e.children,function(e,s){return[t.currentChildIndex!=s||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child2"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child4"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child6"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"unit",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child7"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child9"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"child922"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentChildIndex!=s||e.systemFlag||10!=e.type?t._e():[a("div",{key:"child910"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"childItem.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child11"+s,staticClass:"edit-item"},[a("div",{staticClass:"edit-item-title"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"childItem.isMust"}},[t._v("必填")])],1)]:t._e(),t._v(" "),t.currentChildIndex!=s||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"child111"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list111"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child12"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"childItem.memory"}},[t._v("是否记忆")])],1)]:t._e()]})]:t._e()]})],2)])]),t._v(" "),a("el-tab-pane",{attrs:{label:"模板设置",name:"second"}},[a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板名称 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.title,holder:"",disflag:!1,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(t.templateObj,"title",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板描述 最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.description,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.templateObj,"description",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("门店类型")]),t._v(" "),a("div",{staticClass:"store-type-list"},t._l(t.storeList,function(e,i){return a("div",{key:e.name+i,staticClass:"store-type-cell m-b-20"},[a("el-radio",{attrs:{label:e.id,disabled:e.disabled},model:{value:t.templateObj.storeType,callback:function(e){t.$set(t.templateObj,"storeType",e)},expression:"templateObj.storeType"}},[t._v(t._s(e.name))])],1)}))])])],1)],1)])]),t._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"template-title flex-1"},[e("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"template-title-span"},[this._v("日报设置")])])}]};var M=i("VU/8")(w,T,!1,function(t){i("hcQq")},"data-v-835f89da",null);e.default=M.exports},PAYw:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,a){return i("li",{key:"performance"+a,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("hh6r")},"data-v-1dcd7b4c",null);e.default=l.exports},"SvI+":function(t,e){},Thti:function(t,e){},"c/Tr":function(t,e,i){t.exports={default:i("5zde"),__esModule:!0}},fBQ2:function(t,e,i){"use strict";var a=i("evD5"),s=i("X8DO");t.exports=function(t,e,i){e in t?a.f(t,e,s(0,i)):t[e]=i}},hcQq:function(t,e){},hh6r:function(t,e){},j20f:function(t,e){},qyJz:function(t,e,i){"use strict";var a=i("+ZMJ"),s=i("kM2E"),l=i("sB3e"),n=i("msXi"),c=i("Mhyx"),r=i("QRG4"),o=i("fBQ2"),d=i("3fs2");s(s.S+s.F*!i("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,s,m,u=l(t),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,f=void 0!==v,_=0,g=d(u);if(f&&(v=a(v,h>2?arguments[2]:void 0,2)),void 0==g||p==Array&&c(g))for(i=new p(e=r(u.length));e>_;_++)o(i,_,f?v(u[_],_):u[_]);else for(m=g.call(u),i=new p;!(s=m.next()).done;_++)o(i,_,f?n(m,v,[s.value,_],!0):s.value);return i.length=_,i}})},"s4D+":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("j20f")},"data-v-37f2cf5d",null);e.default=l.exports},t0b0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("Thti")},"data-v-bb9f953c",null);e.default=l.exports},uaqi:function(t,e){}}); webpackJsonp([4,33,52,53,54,62],{"5zde":function(t,e,i){i("zQR9"),i("qyJz"),t.exports=i("FeBl").Array.from},"79Bk":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),i("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),i("div",{staticClass:"b-t-1"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("uaqi")},"data-v-35e4159a",null);e.default=l.exports},Gu7T:function(t,e,i){"use strict";e.__esModule=!0;var a,s=i("c/Tr"),l=(a=s)&&a.__esModule?a:{default:a};e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return(0,l.default)(t)}},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var l=i("VU/8")(a,s,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=l.exports},IA9l:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("//Fk"),s=i.n(a),l=i("Gu7T"),n=i.n(l),c=i("gBtx"),r=i.n(c),o=i("mvHQ"),d=i.n(o),m=i("DAYN"),u=i.n(m),p=i("Isrn"),h=i("l46T"),v=i("H8Kg"),f=i("t0b0"),_=i("79Bk"),g=i("s4D+"),y=i("PAYw"),C=i("fPyK"),b=i("3E4D"),I=i("Ch4/"),x=i("PI0u"),k=i("P9l9"),w={name:"customSetTemplate",data:function(){return{activeName:"first",rightName:"second",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},templateId:"",oparateType:"",counter:1,selectKey:"",tradeInfo:[],personInfo:[],goodsInfo:[],competeInfo:[],defineInfo:[],currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[],setList:[],templateObj:{title:"",description:"",storeType:"",momory:[]},storeList:[{id:"0",name:"直营门店",disabled:!1},{id:"1",name:"联营门店",disabled:!1},{id:"2",name:"代理门店",disabled:!1},{id:"3",name:"代销门店",disabled:!1},{id:"4",name:"托管门店",disabled:!1}]}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)},returnBack:function(){this.changeRoute("/customReport?brandId="+this.brandId)},cloneItem:function(t){var e=JSON.parse(d()(t));return e.cid="c"+this.counter,e.systemFlag||(e.name.includes("textc")&&(e.name="textc"+this.counter),e.name.includes("paragraphc")&&(e.name="paragraphc"+this.counter),e.name.includes("numberc")&&(e.name="numberc"+this.counter),e.name.includes("checkboxesOrRadioc")&&(e.name="checkboxesOrRadioc"+this.counter),e.name.includes("datec")&&(e.name="datec"+this.counter),e.name.includes("dateareac")&&(e.name="dateareac"+this.counter),e.name.includes("picc")&&(e.name="picc"+this.counter),e.name.includes("introductionc")&&(e.name="introductionc"+this.counter),e.name.includes("pricec")&&(e.name="pricec"+this.counter),e.name.includes("groupc")&&(e.name="groupc"+this.counter,e.title=""+e.title+this.counter)),e},onMove:function(t){var e=t.draggedContext.element;return!this.tempaletDataList.map(function(t){return t.name}).includes(e.name)&&!e.fixed},onChildMove:function(t){var e=!0;return-1!=t.dragged.className.indexOf("block-class")&&-1!=t.to.className.indexOf("block-wrap")&&(e=!1),e},itemMoveEnd:function(t){var e=this;function i(t){e[t].forEach(function(t,i){t.name==e.selectKey&&(t.fixed=!0)})}e.isDragging=!1,e.selectKey="",e.selectKey=t.clone.dataset.name,e.tempaletDataList.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode),t.children&&t.children.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode)})}),e.selectKey="",e.tempaletDataList=JSON.parse(d()(e.tempaletDataList)),e.$forceUpdate(),e.counter=e.counter+1},selectItem:function(t,e){this.currentIndex=e,this.currentChildIndex=null},deleteItem:function(t,e,i,a){var s=this;if(s.tempaletDataList.splice(i,1),s.currentIndex--,s.currentIndex<=0&&(s.currentIndex=0),!a.systemFlag)return a.name.includes("groupc")&&a.children.length&&a.children.forEach(function(t){t.systemFlag&&s[t.parentCode].forEach(function(e){e.name==t.name&&(e.fixed=!1)})}),!1;s[e].forEach(function(e,i){e.name==t&&(e.fixed=!1)})},addDragItem:function(t){return!1},selectChildItem:function(t,e,i,a){this.currentIndex=null,this.currentChildKey=t,this.childIndex=e,this.currentChildIndex=i},deleteChildItem:function(t,e,i,a,s){if(this.childIndex=e,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[e].children[i].name,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(d()(this.tempaletDataList)),this.tempaletDataList[e].children.splice(i,1),!s.systemFlag)return!1;this[s.parentCode].forEach(function(e,i){e.name===t&&(e.fixed=!1)})},delChildItem:function(t,e,i){i.list.splice(e,1)},addChildItem:function(t,e,i){if(19!=e){i.list.push({value:"选项"+(e+2),key:e+2});var a=i.list.map(function(t){return t.value});this.isRepeat(a)&&(i.list.splice(i.list.length-1,1),a.splice(i.list.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeMust:function(t,e,i){e&&i.list.forEach(function(e){e.isMust=!!t})},isRepeat:function(t){var e={};for(var i in t){if(e[t[i]])return!0;e[t[i]]=!0}return!1},changeRoute:function(t){this.$router.push(t)},checkTag:function(t){var e={filedFlag:!0,filedRepeat:!1},i=[];return t.forEach(function(t){if(""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title),t.hasOwnProperty("children")&&t.children.length&&t.children.forEach(function(t){if(t.systemFlag&&""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title)})}),this.isRepeat(i)&&(e.filedRepeat=!0),e},checkTemplateObj:function(){var t=!0;return this.templateObj.title&&this.templateObj.description&&this.templateObj.storeType||(t=!1),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},saveAndBack:Object(x.a)(function(t){if(!this.checkTemplateObj())return this.$message.error({duration:1e3,message:"请完善模板设置内容"}),!1;var e=JSON.parse(d()(this.tempaletDataList)),i=this.checkTag(e);if(!i.filedFlag)return this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"}),!1;if(i.filedRepeat)this.$message.error({duration:1e3,message:"字段标题不能重复"});else{if(e.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0),t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("children")&&(t.children.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0)}),t.list=t.children)}),!e.length)return this.$message.error({duration:1e3,message:"请先配置字段"}),!1;"save"===t?this.saveAllData(e):this.postPreview(e)}},500),saveAllData:function(t){var e=this,i={status:1,brandId:e.brandId,templateContent:d()(t),title:e.templateObj.title,description:e.templateObj.description,storeType:e.templateObj.storeType,memory:[]};Object(k.c)("/haoban-app-daily-web/daily/save-define-template",i).then(function(t){var i=t.data;if(1==i.errorCode)return b.a.showmsg("保存成功","success"),void e.changeRoute("/customReport?brandId="+e.brandId);I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},postPreview:function(t){var e=this,i={templateType:2,brandId:e.brandId,templateContent:d()(t)};Object(k.c)("/haoban-app-daily-web/daily/preview-template",i).then(function(t){var i=t.data;if(1==i.errorCode){var a=JSON.parse(localStorage.getItem("userInfo")).enterpriseId,s=window.location.origin+"/office-mobile/#/defineTemplate?enterpriseId="+a+"&templateId="+i.result+"&brandId="+e.brandId;return e.$refs.qrcodePreview.qrcode(s,"daily-preview"),void(e.dialogVisible=!0)}I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},closeDialog:function(){this.dialogVisible=!1},getHasStores:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/has-defined-template-store-type",{brandId:t.brandId}).then(function(e){var i=e.data;1!=i.errorCode?I.a.errorMsg(i):t.storeList.forEach(function(e){i.result&&i.result.length&&i.result.includes(r()(e.id))&&(e.disabled=!0),"edit"==t.oparateType&&t.storeType==e.id&&(e.disabled=!1)})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAllFields:function(t){var e=this;Object(k.c)("/haoban-app-daily-web/daily/get-template-items",{brandId:e.brandId,type:t}).then(function(i){var a=i.data;if(1==a.errorCode)return a.result.forEach(function(e){e.isMust=!!e.isMust,e.memory=!!e.memory,e.title=e.title.trim(),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=!!e.openCapitalize),e.hasOwnProperty("list")&&e.list&&e.list.length&&e.list.forEach(function(t){t.isMust=!!t.isMust}),e.systemFlag=3!=t,e.name.includes("groupc")&&(e.children=[])}),void(3==t?e.defineInfo=a.result:e.handleAllFields(a.result));I.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(t){var e=this;t.forEach(function(t){t.fixed=!1,1==t.classify&&(t.parentCode="tradeInfo",e.tradeInfo.push(t)),2==t.classify&&(t.parentCode="personInfo",e.personInfo.push(t)),3==t.classify&&(t.parentCode="goodsInfo",e.goodsInfo.push(t)),4==t.classify&&(t.parentCode="competeInfo",e.competeInfo.push(t))})},getInfo:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/get-define-template",{templateId:t.templateId}).then(function(e){var i=e.data;if(1==i.errorCode)return t.setList=[],i.result&&(t.templateObj.title=i.result.title,t.templateObj.description=i.result.description,t.storeType="edit"==t.oparateType?String(i.result.storeType):"",t.templateObj.storeType="edit"==t.oparateType?String(i.result.storeType):"",i.result.templateContent&&i.result.templateContent.length&&t.handleGetInfo(i.result.templateContent)),void t.getHasStores();I.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},treeData:function(t){var e=t.filter(function(e){var i=t.filter(function(t){return e.fieldCode==t.parentCode});return i.length>0&&(e.children=i),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},handleGetInfo:function(t){var e=this,i=JSON.parse(d()(t));e.cids=[],e.setParent=[],i.forEach(function(t,i){t.title=t.title.trim(),t.isMust=!!t.isMust,t.memory=!!t.memory,t.name.includes("textc")||t.name.includes("paragraphc")||t.name.includes("numberc")||t.name.includes("checkboxesOrRadioc")||t.name.includes("datec")||t.name.includes("dateareac")||t.name.includes("picc")||t.name.includes("introductionc")||t.name.includes("pricec")||t.name.includes("groupc")?(t.systemFlag=!1,t.parentCode="defineInfo"):(e.setParent.push(t.name),t.systemFlag=!0,1==t.classify&&(t.parentCode="tradeInfo"),2==t.classify&&(t.parentCode="personInfo"),3==t.classify&&(t.parentCode="goodsInfo"),4==t.classify&&(t.parentCode="competeInfo")),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=!!t.openCapitalize),t.hasOwnProperty("list")&&t.list&&t.list.length&&(t.list.forEach(function(i){(i.isMust=!!i.isMust,t.name.includes("groupc"))&&(i.isMust=!!i.isMust,i.memory=!!i.memory,i.name.includes("textc")||i.name.includes("paragraphc")||i.name.includes("numberc")||i.name.includes("checkboxesOrRadioc")||i.name.includes("datec")||i.name.includes("dateareac")||i.name.includes("picc")||i.name.includes("introductionc")||i.name.includes("pricec")||i.name.includes("groupc")?i.systemFlag=!1:(e.setParent.push(i.name),i.systemFlag=!0,1==i.classify&&(i.parentCode="tradeInfo"),2==i.classify&&(i.parentCode="personInfo"),3==i.classify&&(i.parentCode="goodsInfo"),4==i.classify&&(i.parentCode="competeInfo")))}),t.name.includes("groupc")&&(t.children=t.list)),e.cids.push(r()(t.cid.match(/\d+/g))),t.hasOwnProperty("children")&&t.children.forEach(function(t){t.isMust=!!t.isMust,t.memory=!!t.memory,e.cids.push(r()(t.cid.match(/\d+/g)))})}),e.counter=Math.max.apply(Math,n()(e.cids)),e.tempaletDataList=i,setTimeout(function(){e.setFixed()},500)},setFixed:function(){var t=this;["tradeInfo","personInfo","goodsInfo","competeInfo"].forEach(function(e){t[e].forEach(function(e){t.setParent.includes(e.name)&&(e.fixed=!0)})})}},watch:{isDragging:function(t){var e=this;t?e.delayedDragging=!0:e.$nextTick(function(){e.delayedDragging=!1})}},components:{draggable:u.a,AddInput:p.a,limitInput:h.a,imageCom:v.default,selectCom:f.default,dateRangeCom:_.default,inputCom:g.default,blockCom:y.default,qrcodeDialog:C.a},mounted:function(){var t=this,e=t.$route.query;t.brandId=t.$route.query.brandId,s.a.all([t.getAllFields(2)]).then(function(i){t.getAllFields(3),e.hasOwnProperty("templateId")?(t.templateId=e.templateId,t.oparateType=e.type,t.getInfo()):t.getHasStores()}).catch(function(t){console.log(t)}),document.body.ondrop=function(t){t.preventDefault(),t.stopPropagation()}}},T={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"template-wrap",style:{height:t.bodyHeight}},[a("div",{staticClass:"template-contain"},[a("div",{staticClass:"template-head"},[t._m(0),t._v(" "),a("div",{staticClass:"template-btns flex-1 flex-r"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.saveAndBack("preview")}}},[t._v("预 览")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.returnBack}},[t._v("返 回")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.saveAndBack("save")}}},[t._v("保存并启用")])],1)]),t._v(" "),a("div",{staticClass:"template-body"},[a("div",{staticClass:"template-cell template-cell-l"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[a("div",{staticClass:"filed-item-title"},[t._v("交易")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list1",list:t.tradeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.tradeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name,"aria-hidden":"true"}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("人员")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list2",list:t.personInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.personInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("商品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list3",list:t.goodsInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.goodsInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("竞品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list4",list:t.competeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.competeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),a("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[a("div",{staticClass:"filed-item-title"}),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list5",list:t.defineInfo,options:t.leftDefineOption,clone:t.cloneItem,move:t.onChildMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.defineInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":"",11==e.type?"block-class":""],attrs:{"data-type":e.fieldCode}},[0==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),1==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),2==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),3==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),4==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),5==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),6==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),7==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),9==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),10==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),11==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),0==e.type?a("i",{staticClass:"bg-icon bg-icon-one"}):t._e(),t._v(" "),1==e.type?a("i",{staticClass:"bg-icon bg-icon-two"}):t._e(),t._v(" "),2==e.type?a("i",{staticClass:"bg-icon bg-icon-three"}):t._e(),t._v(" "),3==e.type?a("i",{staticClass:"bg-icon bg-icon-four"}):t._e(),t._v(" "),4==e.type?a("i",{staticClass:"bg-icon bg-icon-five"}):t._e(),t._v(" "),5==e.type?a("i",{staticClass:"bg-icon bg-icon-six"}):t._e(),t._v(" "),6==e.type?a("i",{staticClass:"bg-icon bg-icon-seven"}):t._e(),t._v(" "),7==e.type?a("i",{staticClass:"bg-icon bg-icon-eight"}):t._e(),t._v(" "),9==e.type?a("i",{staticClass:"bg-icon bg-icon-ten"}):t._e(),t._v(" "),10==e.type?a("i",{staticClass:"bg-icon bg-icon-eleven"}):t._e(),t._v(" "),11==e.type?a("i",{staticClass:"bg-icon bg-icon-twelve"}):t._e()])}))],1)])],1)],1),t._v(" "),a("div",{staticClass:"template-cell template-cell-m"},[a("div",{staticClass:"phone-view"},[a("div",{staticClass:"phone-show-content"},[a("div",{staticClass:"drag-show-content"},[a("div",{staticClass:"view-container"},[a("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==t.tempaletDataList.length?[a("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:t._e(),t._v(" "),a("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:t.tempaletDataList,callback:function(e){t.tempaletDataList=e},expression:"tempaletDataList"}},t._l(t.tempaletDataList,function(e,i){return a("li",{key:"li1"+i,class:["filed-item",t.currentIndex==i?"active-item":"","li-block"],on:{click:function(a){t.selectItem(e.fieldCode,i)}}},["baseInfo"!=e.fieldCode?a("span",{staticClass:"item-close p-item-close",on:{click:function(a){a.stopPropagation(),t.deleteItem(e.name,e.parentCode,i,e)}}},[a("i",{staticClass:"el-icon-close"})]):t._e(),t._v(" "),e.systemFlag||!e.name.includes("groupc")?a("div",[1==e.type||2==e.type||3==e.type||10==e.type||9==e.type?a("input-com",{attrs:{childItem:e}}):t._e(),t._v(" "),4==e.type||5==e.type?a("select-com",{attrs:{childItem:e}}):t._e(),t._v(" "),6==e.type?a("date-range-com",{attrs:{childItem:e}}):t._e(),t._v(" "),7==e.type?a("image-com",{attrs:{childItem:e}}):t._e(),t._v(" "),"11"==e.type?a("block-com",{attrs:{childItem:e}}):t._e()],1):t._e(),t._v(" "),[e.name.includes("groupc")?a("div",{staticClass:"block"},[a("div",{staticClass:"block-head"},[a("div",{class:["opencard-item-title",t.getZhLen(e.title)>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))])]),t._v(" "),a("ul",{staticClass:"view-content"},[a("draggable",{class:["drag-wrap","block-wrap",e.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:t.addDragItem},model:{value:e.children,callback:function(i){t.$set(e,"children",i)},expression:"item.children"}},t._l(e.children,function(s,l){return a("li",{key:"li"+l,class:["filed-item","child-filed-item",t.currentChildKey==s.name&&t.currentChildIndex==l?"active-item":""],on:{click:function(a){a.stopPropagation(),t.selectChildItem(s.name,i,l,e.children)}}},[a("span",{staticClass:"item-close child-item-close",on:{click:function(a){a.stopPropagation(),t.deleteChildItem(s.name,i,l,e.children,s)}}},[a("i",{staticClass:"el-icon-close"})]),t._v(" "),4==s.type||5==s.type?a("select-com",{attrs:{childItem:s}}):t._e(),t._v(" "),6==s.type?a("date-range-com",{attrs:{childItem:s}}):t._e(),t._v(" "),7==s.type?a("image-com",{attrs:{childItem:s}}):t._e(),t._v(" "),1==s.type||2==s.type||3==s.type||10==s.type||9==s.type?a("input-com",{attrs:{childItem:s}}):t._e(),t._v(" "),"11"==s.type&&s.systemFlag?a("block-com",{attrs:{childItem:s}}):t._e()],1)}))],1)]):t._e()]],2)}))],2)])])])])]),t._v(" "),a("div",{staticClass:"template-cell template-cell-r"},[a("el-tabs",{model:{value:t.rightName,callback:function(e){t.rightName=e},expression:"rightName"}},[a("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[a("div",{attrs:{id:"edit-box"}},[a("div",{staticClass:"edit-view baby-info-flag baby-info"},[t._l(t.tempaletDataList,function(e,i){return[t.currentIndex!=i||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child62"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child64"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||11==e.type||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child11"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child111"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"parent22"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentIndex!=i||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child117"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||10!=e.type?t._e():[a("div",{key:"parent210"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"item.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent2"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"item.isMust"}},[t._v("必填")])],1)],t._v(" "),t.currentIndex!=i||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"parent21"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent3"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"item.memory"}},[t._v("是否记忆")])],1)],t._v(" "),t.childIndex==i&&e.children&&e.children.length?[t._l(e.children,function(e,s){return[t.currentChildIndex!=s||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child2"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child4"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child6"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"unit",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child7"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child9"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"child922"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentChildIndex!=s||e.systemFlag||10!=e.type?t._e():[a("div",{key:"child910"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"childItem.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child11"+s,staticClass:"edit-item"},[a("div",{staticClass:"edit-item-title"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"childItem.isMust"}},[t._v("必填")])],1)]:t._e(),t._v(" "),t.currentChildIndex!=s||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"child111"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list111"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child12"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"childItem.memory"}},[t._v("是否记忆")])],1)]:t._e()]})]:t._e()]})],2)])]),t._v(" "),a("el-tab-pane",{attrs:{label:"模板设置",name:"second"}},[a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板名称 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.title,holder:"",disflag:!1,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(t.templateObj,"title",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板描述 最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.description,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.templateObj,"description",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("门店类型")]),t._v(" "),a("div",{staticClass:"store-type-list"},t._l(t.storeList,function(e,i){return a("div",{key:e.name+i,staticClass:"store-type-cell m-b-20"},[a("el-radio",{attrs:{label:e.id,disabled:e.disabled},model:{value:t.templateObj.storeType,callback:function(e){t.$set(t.templateObj,"storeType",e)},expression:"templateObj.storeType"}},[t._v(t._s(e.name))])],1)}))])])],1)],1)])]),t._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"template-title flex-1"},[e("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"template-title-span"},[this._v("日报设置")])])}]};var M=i("VU/8")(w,T,!1,function(t){i("hcQq")},"data-v-835f89da",null);e.default=M.exports},PAYw:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,a){return i("li",{key:"performance"+a,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("hh6r")},"data-v-1dcd7b4c",null);e.default=l.exports},"SvI+":function(t,e){},Thti:function(t,e){},"c/Tr":function(t,e,i){t.exports={default:i("5zde"),__esModule:!0}},fBQ2:function(t,e,i){"use strict";var a=i("evD5"),s=i("X8DO");t.exports=function(t,e,i){e in t?a.f(t,e,s(0,i)):t[e]=i}},hcQq:function(t,e){},hh6r:function(t,e){},j20f:function(t,e){},qyJz:function(t,e,i){"use strict";var a=i("+ZMJ"),s=i("kM2E"),l=i("sB3e"),n=i("msXi"),c=i("Mhyx"),r=i("QRG4"),o=i("fBQ2"),d=i("3fs2");s(s.S+s.F*!i("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,s,m,u=l(t),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,f=void 0!==v,_=0,g=d(u);if(f&&(v=a(v,h>2?arguments[2]:void 0,2)),void 0==g||p==Array&&c(g))for(i=new p(e=r(u.length));e>_;_++)o(i,_,f?v(u[_],_):u[_]);else for(m=g.call(u),i=new p;!(s=m.next()).done;_++)o(i,_,f?n(m,v,[s.value,_],!0):s.value);return i.length=_,i}})},"s4D+":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("j20f")},"data-v-37f2cf5d",null);e.default=l.exports},t0b0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("Thti")},"data-v-bb9f953c",null);e.default=l.exports},uaqi:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([39],{Y8F9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("2eFk"),s=n("Ke24"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeBrandId:this.brandId,topMenuData:[{id:"1",name:"系统报表"}],activeId:"1"}},computed:{},methods:{toEdit:function(){this.$router.push("/systemReportSet?brandId="+this.activeBrandId)}},watch:{brandId:function(t,e){this.activeBrandId=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","211"),this.activeBrandId=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:a.a,commonDetailTop:s.a}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"system-set-wrap"},[e("common-detail-top",{attrs:{topMenuData:this.topMenuData,activeId:this.activeId}}),this._v(" "),e("div",{staticClass:"system-set-content boder-box"},[e("div",{staticClass:"system-set-cell"},[e("div",{staticClass:"font-14 color-606266"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中")]),this._v(" "),e("div",{staticClass:"m-t-30"},[e("el-button",{attrs:{type:"primary"},on:{click:this.toEdit}},[this._v("编辑模板")])],1)])])],1)},staticRenderFns:[]};var d=n("VU/8")(i,o,!1,function(t){n("zmYQ")},"data-v-6f8e979d",null);e.default=d.exports},zmYQ:function(t,e){}}); webpackJsonp([40],{Y8F9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("2eFk"),s=n("Ke24"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeBrandId:this.brandId,topMenuData:[{id:"1",name:"系统报表"}],activeId:"1"}},computed:{},methods:{toEdit:function(){this.$router.push("/systemReportSet?brandId="+this.activeBrandId)}},watch:{brandId:function(t,e){this.activeBrandId=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","211"),this.activeBrandId=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:a.a,commonDetailTop:s.a}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"system-set-wrap"},[e("common-detail-top",{attrs:{topMenuData:this.topMenuData,activeId:this.activeId}}),this._v(" "),e("div",{staticClass:"system-set-content boder-box"},[e("div",{staticClass:"system-set-cell"},[e("div",{staticClass:"font-14 color-606266"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中")]),this._v(" "),e("div",{staticClass:"m-t-30"},[e("el-button",{attrs:{type:"primary"},on:{click:this.toEdit}},[this._v("编辑模板")])],1)])])],1)},staticRenderFns:[]};var d=n("VU/8")(i,o,!1,function(t){n("zmYQ")},"data-v-6f8e979d",null);e.default=d.exports},zmYQ:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([40],{dGOi:function(e,r){},fZsz:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t("//Fk"),o=t.n(a),i=t("mvHQ"),n=t.n(i),l=t("3Xzz"),s=t("l46T"),u=t("Kkt8"),c=t("3E4D"),h=t("Ch4/"),d=t("PI0u"),m=t("P9l9"),p={name:"addAdminRole",data:function(){return{menuH:window.screen.availHeight-695+"px",navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"新增管理员角色",path:""}],showFlag:!1,ruleForm:{roleId:"",roleName:"",remark:"角色说明",leftChecked:[],menuTree:[],left:[],rightChecked:[],right:[],leftCheckedApp:[],leftApp:[],rightCheckedApp:[],rightApp:[],appRightList:[]},rules:{roleName:[{required:!0,message:"请填写角色名称",trigger:"blur"}],remark:[{required:!0,message:"请填写角色说明",trigger:"blur"}]},defaultProps:{children:"children",label:"rightName"},appDataList:[{appId:"1",appName:"签到",appDesc:"签到",appBackgroudColor:"#1890ff",appIcon:"icon-hangzhengjiagou",appType:0,status:3,remark:"",check:!1}]}},computed:{},methods:{selectApp:function(e){if(this.showFlag)return!1;e.check=!e.check},submitForm:Object(d.a)(function(e){var r=this,t=this;t.$refs[e].validate(function(e){if(!e)return!1;var a=[];if(r.$refs.tree.getCheckedKeys().concat(r.$refs.tree.getHalfCheckedKeys()).forEach(function(e,r){a.push({rightId:e})}),t.ruleForm.appRightList=[],t.appDataList.forEach(function(e){1==e.check&&t.ruleForm.appRightList.push(e.appId)}),!t.ruleForm.appRightList.length)return t.$message.error({duration:1e3,message:" 请选择应用权限"}),!1;t.postSave(a)})},500),postSave:function(e){var r=this,t={data:n()(e),roleId:r.ruleForm.roleId,roleName:r.ruleForm.roleName,remark:r.ruleForm.remark,brandId:r.ruleForm.brandId,appRightList:r.ruleForm.appRightList.join(",")};Object(m.c)("/haoban-manage-web/save-role",t).then(function(e){var t=e.data;if(1==t.errorCode)return c.a.showmsg("操作成功","success"),void r.$router.push("/setChildAdmin");h.a.errorMsg(t)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})},getMenuList:function(){var e=this;Object(m.c)("/haoban-manage-web/menu-list",{}).then(function(r){var t=r.data;if(1!=t.errorCode)h.a.errorMsg(t);else{if(t.result&&t.result.length){var a=[];t.result.forEach(function(r,t){e.ruleForm.roleId&&e.showFlag&&(r.disabled=!0),r.display&&a.push(r)}),e.ruleForm.menuTree=e.treeData(a)}e.ruleForm.roleId&&e.getRoleDetail(e.ruleForm.roleId)}}).catch(function(r){e.$message.error({duration:1e3,message:r.message})})},treeData:function(e){return e.filter(function(r){var t=e.filter(function(e){return r.haobanMenuRightId==e.parentRightId});return t.length>0&&(r.children=t),-1==r.parentRightId})},getRoleDetail:function(e){var r=this,t={roleId:e};Object(m.c)("/haoban-manage-web/role-detail",t).then(function(e){var t=e.data;if(1==t.errorCode){if(r.ruleForm.roleId=t.result.role.roleId,r.ruleForm.roleName=t.result.role.roleName,r.ruleForm.roleCode=t.result.role.roleCode,r.ruleForm.remark=t.result.role.remark,r.ruleForm.appRightList=t.result.appRightList||[],r.ruleForm.right.length){var a=r.ruleForm.right.map(function(e){return e.rightId}),o=[];t.result.menuRightList.forEach(function(e,r){a.includes(e.rightId)&&o.push(e.rightId)}),r.ruleForm.rightChecked=o}var i=[];return t.result.menuRightList.forEach(function(e,t){r.$refs.tree.getNode(e.rightId).isLeaf&&i.push(e.rightId)}),r.$refs.tree.setCheckedKeys(i),void r.appDataList.forEach(function(e){r.ruleForm.appRightList.includes(e.appId)&&(e.check=!0)})}h.a.errorMsg(t)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})},leftChange:function(e,r){var t=this;t.ruleForm.leftChecked=e;var a=e.includes(r[0]);function o(){t.ruleForm.right=[],t.ruleForm.left.forEach(function(e,o){e.rightId.includes(r[0])&&(e.check=!!a,e.children&&e.children.length&&e.children.forEach(function(e,r){t.ruleForm.right.push(e)}))})}e.includes(r[0]),o(),t.ruleForm.rightChecked=t.ruleForm.right.map(function(e){if(!0===e.check)return e.rightId})},rightChange:function(e,r){var t=e.includes(r[0]);this.ruleForm.rightChecked=e,this.ruleForm.left.forEach(function(e,a){e.children&&e.children.length&&e.children.forEach(function(e,a){e.rightId.includes(r[0])&&(e.check=!!t)})})},getAppList:function(){var e=this;Object(m.c)("/haoban-manage-web/application-list",{}).then(function(r){var t=r.data;if(1==t.errorCode)return t.result&&t.result.length&&t.result.forEach(function(e){e.check=!1}),void(e.appDataList=t.result||[]);h.a.errorMsg(t)}).catch(function(r){e.$message.error({duration:1e3,message:r.message})})}},mounted:function(){var e=this;e.$route.query.hasOwnProperty("roleId")&&(e.ruleForm.roleId=e.$route.query.roleId,e.navpath[3].name="管理员角色","show"===e.$route.query.type&&(e.showFlag=!0)),e.$route.query.hasOwnProperty("brandId")&&(e.ruleForm.brandId=e.$route.query.brandId),o.a.all([e.getAppList()]).then(function(r){e.getMenuList()}).catch(function(e){})},components:{navCrumb:l.a,limitInput:s.a,limitTextarea:u.a}},f={render:function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"companyAddress-wrap common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box",style:{"min-height":e.$store.state.bgHeight}},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[t("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.roleName,disflag:!!e.showFlag,holder:"请输入角色名称",maxLength:20},on:{"update:inputValue":function(r){e.$set(e.ruleForm,"roleName",r)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"角色说明",prop:"remark"}},[t("limitTextarea",{attrs:{inputWidth:500,inputValue:e.ruleForm.remark,holder:"请输入角色说明",disInput:!!e.showFlag,maxLength:50},on:{"update:inputValue":function(r){e.$set(e.ruleForm,"remark",r)}}})],1),e._v(" "),t("el-form-item",{staticClass:"m-t-44",attrs:{label:"菜单权限",prop:"leftChecked"}},[t("div",{staticClass:"w-500 border-1 p-10 border-box el-form-item_menu",style:{"max-height":e.menuH}},[t("el-tree",{ref:"tree",attrs:{data:e.ruleForm.menuTree,"show-checkbox":"","default-expand-all":"","node-key":"rightId","highlight-current":"",props:e.defaultProps}})],1)]),e._v(" "),t("el-form-item",{attrs:{label:"应用权限",prop:""}},[t("div",{staticClass:"apps-content"},[t("ul",{staticClass:"flex flex-row flex-wrap"},e._l(e.appDataList,function(r,a){return t("li",{key:a,class:["flex flex-align-center border-box flex",r.check?"border-active":""],on:{click:function(t){e.selectApp(r)}}},[t("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:r.appBackgroudColor}},[t("img",{attrs:{src:r.appIcon,alt:""}})]),e._v(" "),t("span",{staticClass:"color-303133 font-14 p-l-8"},[e._v(e._s(r.appName))]),e._v(" "),r.check?t("div",{staticClass:"common-cell_radio"},[t("div",{staticClass:"box-triangle"},[t("div",{staticClass:"wrap__box__outer"},[t("i",{staticClass:"el-icon-upload-success el-icon-check"})])])]):e._e()])}))])]),e._v(" "),t("el-form-item",[t("el-button",{attrs:{disabled:!!e.showFlag,type:"primary"},on:{click:function(r){e.submitForm("ruleForm")}}},[e._v("保 存")])],1)],1)],1)]),e._v(" "),t("vue-gic-footer")],1)},staticRenderFns:[]};var g=t("VU/8")(p,f,!1,function(e){t("dGOi")},"data-v-68edcc68",null);r.default=g.exports}}); webpackJsonp([41],{dGOi:function(e,r){},fZsz:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t("//Fk"),o=t.n(a),i=t("mvHQ"),n=t.n(i),l=t("3Xzz"),s=t("l46T"),u=t("Kkt8"),c=t("3E4D"),h=t("Ch4/"),d=t("PI0u"),m=t("P9l9"),p={name:"addAdminRole",data:function(){return{menuH:window.screen.availHeight-695+"px",navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"新增管理员角色",path:""}],showFlag:!1,ruleForm:{roleId:"",roleName:"",remark:"角色说明",leftChecked:[],menuTree:[],left:[],rightChecked:[],right:[],leftCheckedApp:[],leftApp:[],rightCheckedApp:[],rightApp:[],appRightList:[]},rules:{roleName:[{required:!0,message:"请填写角色名称",trigger:"blur"}],remark:[{required:!0,message:"请填写角色说明",trigger:"blur"}]},defaultProps:{children:"children",label:"rightName"},appDataList:[{appId:"1",appName:"签到",appDesc:"签到",appBackgroudColor:"#1890ff",appIcon:"icon-hangzhengjiagou",appType:0,status:3,remark:"",check:!1}]}},computed:{},methods:{selectApp:function(e){if(this.showFlag)return!1;e.check=!e.check},submitForm:Object(d.a)(function(e){var r=this,t=this;t.$refs[e].validate(function(e){if(!e)return!1;var a=[];if(r.$refs.tree.getCheckedKeys().concat(r.$refs.tree.getHalfCheckedKeys()).forEach(function(e,r){a.push({rightId:e})}),t.ruleForm.appRightList=[],t.appDataList.forEach(function(e){1==e.check&&t.ruleForm.appRightList.push(e.appId)}),!t.ruleForm.appRightList.length)return t.$message.error({duration:1e3,message:" 请选择应用权限"}),!1;t.postSave(a)})},500),postSave:function(e){var r=this,t={data:n()(e),roleId:r.ruleForm.roleId,roleName:r.ruleForm.roleName,remark:r.ruleForm.remark,brandId:r.ruleForm.brandId,appRightList:r.ruleForm.appRightList.join(",")};Object(m.c)("/haoban-manage-web/save-role",t).then(function(e){var t=e.data;if(1==t.errorCode)return c.a.showmsg("操作成功","success"),void r.$router.push("/setChildAdmin");h.a.errorMsg(t)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})},getMenuList:function(){var e=this;Object(m.c)("/haoban-manage-web/menu-list",{}).then(function(r){var t=r.data;if(1!=t.errorCode)h.a.errorMsg(t);else{if(t.result&&t.result.length){var a=[];t.result.forEach(function(r,t){e.ruleForm.roleId&&e.showFlag&&(r.disabled=!0),r.display&&a.push(r)}),e.ruleForm.menuTree=e.treeData(a)}e.ruleForm.roleId&&e.getRoleDetail(e.ruleForm.roleId)}}).catch(function(r){e.$message.error({duration:1e3,message:r.message})})},treeData:function(e){return e.filter(function(r){var t=e.filter(function(e){return r.haobanMenuRightId==e.parentRightId});return t.length>0&&(r.children=t),-1==r.parentRightId})},getRoleDetail:function(e){var r=this,t={roleId:e};Object(m.c)("/haoban-manage-web/role-detail",t).then(function(e){var t=e.data;if(1==t.errorCode){if(r.ruleForm.roleId=t.result.role.roleId,r.ruleForm.roleName=t.result.role.roleName,r.ruleForm.roleCode=t.result.role.roleCode,r.ruleForm.remark=t.result.role.remark,r.ruleForm.appRightList=t.result.appRightList||[],r.ruleForm.right.length){var a=r.ruleForm.right.map(function(e){return e.rightId}),o=[];t.result.menuRightList.forEach(function(e,r){a.includes(e.rightId)&&o.push(e.rightId)}),r.ruleForm.rightChecked=o}var i=[];return t.result.menuRightList.forEach(function(e,t){r.$refs.tree.getNode(e.rightId).isLeaf&&i.push(e.rightId)}),r.$refs.tree.setCheckedKeys(i),void r.appDataList.forEach(function(e){r.ruleForm.appRightList.includes(e.appId)&&(e.check=!0)})}h.a.errorMsg(t)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})},leftChange:function(e,r){var t=this;t.ruleForm.leftChecked=e;var a=e.includes(r[0]);function o(){t.ruleForm.right=[],t.ruleForm.left.forEach(function(e,o){e.rightId.includes(r[0])&&(e.check=!!a,e.children&&e.children.length&&e.children.forEach(function(e,r){t.ruleForm.right.push(e)}))})}e.includes(r[0]),o(),t.ruleForm.rightChecked=t.ruleForm.right.map(function(e){if(!0===e.check)return e.rightId})},rightChange:function(e,r){var t=e.includes(r[0]);this.ruleForm.rightChecked=e,this.ruleForm.left.forEach(function(e,a){e.children&&e.children.length&&e.children.forEach(function(e,a){e.rightId.includes(r[0])&&(e.check=!!t)})})},getAppList:function(){var e=this;Object(m.c)("/haoban-manage-web/application-list",{}).then(function(r){var t=r.data;if(1==t.errorCode)return t.result&&t.result.length&&t.result.forEach(function(e){e.check=!1}),void(e.appDataList=t.result||[]);h.a.errorMsg(t)}).catch(function(r){e.$message.error({duration:1e3,message:r.message})})}},mounted:function(){var e=this;e.$route.query.hasOwnProperty("roleId")&&(e.ruleForm.roleId=e.$route.query.roleId,e.navpath[3].name="管理员角色","show"===e.$route.query.type&&(e.showFlag=!0)),e.$route.query.hasOwnProperty("brandId")&&(e.ruleForm.brandId=e.$route.query.brandId),o.a.all([e.getAppList()]).then(function(r){e.getMenuList()}).catch(function(e){})},components:{navCrumb:l.a,limitInput:s.a,limitTextarea:u.a}},f={render:function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"companyAddress-wrap common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box",style:{"min-height":e.$store.state.bgHeight}},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[t("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.roleName,disflag:!!e.showFlag,holder:"请输入角色名称",maxLength:20},on:{"update:inputValue":function(r){e.$set(e.ruleForm,"roleName",r)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"角色说明",prop:"remark"}},[t("limitTextarea",{attrs:{inputWidth:500,inputValue:e.ruleForm.remark,holder:"请输入角色说明",disInput:!!e.showFlag,maxLength:50},on:{"update:inputValue":function(r){e.$set(e.ruleForm,"remark",r)}}})],1),e._v(" "),t("el-form-item",{staticClass:"m-t-44",attrs:{label:"菜单权限",prop:"leftChecked"}},[t("div",{staticClass:"w-500 border-1 p-10 border-box el-form-item_menu",style:{"max-height":e.menuH}},[t("el-tree",{ref:"tree",attrs:{data:e.ruleForm.menuTree,"show-checkbox":"","default-expand-all":"","node-key":"rightId","highlight-current":"",props:e.defaultProps}})],1)]),e._v(" "),t("el-form-item",{attrs:{label:"应用权限",prop:""}},[t("div",{staticClass:"apps-content"},[t("ul",{staticClass:"flex flex-row flex-wrap"},e._l(e.appDataList,function(r,a){return t("li",{key:a,class:["flex flex-align-center border-box flex",r.check?"border-active":""],on:{click:function(t){e.selectApp(r)}}},[t("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:r.appBackgroudColor}},[t("img",{attrs:{src:r.appIcon,alt:""}})]),e._v(" "),t("span",{staticClass:"color-303133 font-14 p-l-8"},[e._v(e._s(r.appName))]),e._v(" "),r.check?t("div",{staticClass:"common-cell_radio"},[t("div",{staticClass:"box-triangle"},[t("div",{staticClass:"wrap__box__outer"},[t("i",{staticClass:"el-icon-upload-success el-icon-check"})])])]):e._e()])}))])]),e._v(" "),t("el-form-item",[t("el-button",{attrs:{disabled:!!e.showFlag,type:"primary"},on:{click:function(r){e.submitForm("ruleForm")}}},[e._v("保 存")])],1)],1)],1)]),e._v(" "),t("vue-gic-footer")],1)},staticRenderFns:[]};var g=t("VU/8")(p,f,!1,function(e){t("dGOi")},"data-v-68edcc68",null);r.default=g.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([41],{VS9i:function(e,t){},VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=a("3E4D"),n=a("Ch4/"),r=a("P9l9"),l={name:"setChildAdmin",data:function(){return{windowH:window.screen.availHeight-180-15+"px",tableH:window.screen.availHeight-440-180,navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight-20+"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)},toDelRole:function(){var e=this;e.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postToDelRole()}).catch(function(){})},postToDelRole:function(){var e=this,t={roleId:e.activeId,brandId:e.activeBrandId};Object(r.c)("/haoban-manage-web/del-role",t).then(function(t){var a=t.data;if(1==a.errorCode)return o.a.showmsg("删除成功","success"),void e.getRoles();n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},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",style:{height:e.windowH}},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[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(" "+e._s(e.roleRightObj.roleName)+" ")]),"child_admin"!=e.roleRightObj.roleCode?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v(" 查看权限 ")]):e._e(),"child_admin"==e.roleRightObj.roleCode?a("span",[e.tableData.length?e._e():a("span",{staticClass:"font-14 color-1890ff pinter p-r-6",on:{click:e.toDelRole}},[e._v(" 删除角色 ")]),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}},[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("VS9i")},"data-v-5fd01b31",null);t.default=d.exports}}); webpackJsonp([42],{VS9i:function(e,t){},VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=a("3E4D"),n=a("Ch4/"),r=a("P9l9"),l={name:"setChildAdmin",data:function(){return{windowH:window.screen.availHeight-180-15+"px",tableH:window.screen.availHeight-440-180,navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight-20+"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)},toDelRole:function(){var e=this;e.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postToDelRole()}).catch(function(){})},postToDelRole:function(){var e=this,t={roleId:e.activeId,brandId:e.activeBrandId};Object(r.c)("/haoban-manage-web/del-role",t).then(function(t){var a=t.data;if(1==a.errorCode)return o.a.showmsg("删除成功","success"),void e.getRoles();n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},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",style:{height:e.windowH}},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[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(" "+e._s(e.roleRightObj.roleName)+" ")]),"child_admin"!=e.roleRightObj.roleCode?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v(" 查看权限 ")]):e._e(),"child_admin"==e.roleRightObj.roleCode?a("span",[e.tableData.length?e._e():a("span",{staticClass:"font-14 color-1890ff pinter p-r-6",on:{click:e.toDelRole}},[e._v(" 删除角色 ")]),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}},[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("VS9i")},"data-v-5fd01b31",null);t.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([42],{da9f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("lxEU")},"data-v-5a283aba",null);e.default=o.exports},lxEU:function(t,e){}}); webpackJsonp([43],{da9f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("lxEU")},"data-v-5a283aba",null);e.default=o.exports},lxEU:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([43],{Rwbg:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),i=a("elmV"),o=a("P9l9"),r={name:"employee-io",components:{navCrumb:s.a,uploadExcelComponent:i.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"administrativeFrame"},{name:"批量导入导出",path:""}],host:window.location.origin,windowH:window.screen.availHeight-180+"px",type:"import",fileList:[],url:t+"/haoban-manage-web/emp/upload",uploadSuccessMsg:"",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,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(o.a)("/haoban-manage-web/error-log-page",e).then(function(e){1==e.data.errorCode?(t.total=e.data.result.totalCount,t.logList=e.data.result.result,t.loading=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},uploadSuccess:function(t){1==t.errorCode?this.uploadSuccessMsg=t.message.split(","):this.$message.error(t.message),this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,e){var a=e.length-1<0?0:e.length-1,s=t.type?t.type:t.raw.type;if(!("application/vnd.ms-excel"===s||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"===s))return this.$message.error("文件格式必须为 xls 或 xlsx 格式!"),this.fileList.splice(a,1),!1;this.fileList=[e[a]]}},beforeMount:function(){"note"==this.type&&this.getErrorNote(),this.$nextTick(function(){document.querySelector(".contact-wrap__body").style.overflow="hidden"})},beforeDestroy:function(){document.querySelector(".contact-wrap__body").style.overflow="auto"}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-set-wrap",style:{height:t.windowH}},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"io-container border-box "},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio-button",{attrs:{label:"import"}},[t._v("导入通讯录")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载员工通讯录模板,统一收集员工信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx"}},[a("el-button",{attrs:{type:"primary"}},[t._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传收集完毕的员工信息表\n "),a("div",{staticClass:"d-u-btn"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("上传")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出所有员工信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/emp/export?departmentId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改员工信息\n ")]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("uploadEdit")}}},[t._v("上传")])],1)]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"},[t._v(t._s(t.uploadSuccessMsg))]),t._v(" "),a("a",{attrs:{href:t.host+"/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),a("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),a("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),a("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),a("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),t.logList.length?a("div",{staticClass:"pagination"},[a("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):t._e()],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area border-box "},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"),a("a",{staticClass:"a-href",attrs:{href:"#/companyCertify"}},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("不能在本excel表中对员工信息类别进行增加、删除、修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证")])])}]};var n=a("VU/8")(r,l,!1,function(t){a("mvBO")},null,null);e.default=n.exports},mvBO:function(t,e){}}); webpackJsonp([44],{Rwbg:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),i=a("elmV"),o=a("P9l9"),r={name:"employee-io",components:{navCrumb:s.a,uploadExcelComponent:i.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"administrativeFrame"},{name:"批量导入导出",path:""}],host:window.location.origin,windowH:window.screen.availHeight-180+"px",type:"import",fileList:[],url:t+"/haoban-manage-web/emp/upload",uploadSuccessMsg:"",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,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(o.a)("/haoban-manage-web/error-log-page",e).then(function(e){1==e.data.errorCode?(t.total=e.data.result.totalCount,t.logList=e.data.result.result,t.loading=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},uploadSuccess:function(t){1==t.errorCode?this.uploadSuccessMsg=t.message.split(","):this.$message.error(t.message),this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,e){var a=e.length-1<0?0:e.length-1,s=t.type?t.type:t.raw.type;if(!("application/vnd.ms-excel"===s||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"===s))return this.$message.error("文件格式必须为 xls 或 xlsx 格式!"),this.fileList.splice(a,1),!1;this.fileList=[e[a]]}},beforeMount:function(){"note"==this.type&&this.getErrorNote(),this.$nextTick(function(){document.querySelector(".contact-wrap__body").style.overflow="hidden"})},beforeDestroy:function(){document.querySelector(".contact-wrap__body").style.overflow="auto"}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-set-wrap",style:{height:t.windowH}},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"io-container border-box "},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio-button",{attrs:{label:"import"}},[t._v("导入通讯录")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载员工通讯录模板,统一收集员工信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx"}},[a("el-button",{attrs:{type:"primary"}},[t._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传收集完毕的员工信息表\n "),a("div",{staticClass:"d-u-btn"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("上传")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出所有员工信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/emp/export?departmentId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改员工信息\n ")]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("uploadEdit")}}},[t._v("上传")])],1)]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"},[t._v(t._s(t.uploadSuccessMsg))]),t._v(" "),a("a",{attrs:{href:t.host+"/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),a("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),a("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),a("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),a("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),t.logList.length?a("div",{staticClass:"pagination"},[a("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):t._e()],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area border-box "},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"),a("a",{staticClass:"a-href",attrs:{href:"#/companyCertify"}},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("不能在本excel表中对员工信息类别进行增加、删除、修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证")])])}]};var n=a("VU/8")(r,l,!1,function(t){a("mvBO")},null,null);e.default=n.exports},mvBO:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([44],{S2JJ:function(t,e){},"r//C":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),s=a("2eFk"),i=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"直营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:10,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("badEvaluateDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:l.a,vueSelectStore:i.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,b,!1,function(t){a("S2JJ")},"data-v-50495ad4",null);e.default=f.exports}}); webpackJsonp([45],{S2JJ:function(t,e){},"r//C":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),s=a("2eFk"),i=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"直营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:10,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("badEvaluateDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:l.a,vueSelectStore:i.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,b,!1,function(t){a("S2JJ")},"data-v-50495ad4",null);e.default=f.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([45],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("wrIu")},null,null);t.default=i.exports},wrIu:function(e,t){}}); webpackJsonp([46],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("wrIu")},null,null);t.default=i.exports},wrIu:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([46],{"140L":function(e,t){},"5nNU":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"云日报记录",path:"/dailyRecord"},{id:"2",name:"日报详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,chooseAll:t.selectRadio};Object(c.c)("/haoban-app-daily-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId};Object(c.a)("/haoban-app-daily-web/daily/delete-task-items",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-daily-web/daily/page-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",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:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(f,m,!1,function(e){a("140L")},"data-v-5001dc08",null);t.default=p.exports}}); webpackJsonp([47],{"140L":function(e,t){},"5nNU":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"云日报记录",path:"/dailyRecord"},{id:"2",name:"日报详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,chooseAll:t.selectRadio};Object(c.c)("/haoban-app-daily-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId};Object(c.a)("/haoban-app-daily-web/daily/delete-task-items",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-daily-web/daily/page-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",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:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(f,m,!1,function(e){a("140L")},"data-v-5001dc08",null);t.default=p.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([47],{Ujni:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"云日报记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"直营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:10,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.defaultStoreList=this.conditionObj.storeGroup,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delOptFlag:t.delOptFlag,reason:t.reason,chooseAllFlag:e.selectRadio};Object(c.c)("/haoban-app-daily-web/daily/batch-delete-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a=this.conditionObj.searchInput||"",o=e.join(",")||"",n=t.join(",")||"",i=this.conditionObj.storeType||"",s=this.conditionObj.dateRange[0]||"",l=this.conditionObj.dateRange[1]||"",r=this.currentPage,c=this.pageSize,d="search="+a+"&filterStoreIds="+o+"&storeGroupIds="+n+"&storeType="+i+"&startDate="+s+"&endDate="+l+"&brandId="+this.activeBrand+"&currentPage="+r+"&pageSize="+c;window.open(window.location.origin+"/haoban-app-daily-web/daily/batch-export-brand-task?"+d)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("dailyDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",currentPage:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand};Object(c.a)("/haoban-app-daily-web/daily/page-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),t.conditionObj.storeGroup.length?a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)]):t._e()])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("zl9/")},"data-v-4e2f22e6",null);e.default=g.exports},"zl9/":function(t,e){}}); webpackJsonp([48],{Ujni:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"云日报记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"直营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:10,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.defaultStoreList=this.conditionObj.storeGroup,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delOptFlag:t.delOptFlag,reason:t.reason,chooseAllFlag:e.selectRadio};Object(c.c)("/haoban-app-daily-web/daily/batch-delete-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a=this.conditionObj.searchInput||"",o=e.join(",")||"",n=t.join(",")||"",i=this.conditionObj.storeType||"",s=this.conditionObj.dateRange[0]||"",l=this.conditionObj.dateRange[1]||"",r=this.currentPage,c=this.pageSize,d="search="+a+"&filterStoreIds="+o+"&storeGroupIds="+n+"&storeType="+i+"&startDate="+s+"&endDate="+l+"&brandId="+this.activeBrand+"&currentPage="+r+"&pageSize="+c;window.open(window.location.origin+"/haoban-app-daily-web/daily/batch-export-brand-task?"+d)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("dailyDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",currentPage:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand};Object(c.a)("/haoban-app-daily-web/daily/page-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),t.conditionObj.storeGroup.length?a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)]):t._e()])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("zl9/")},"data-v-4e2f22e6",null);e.default=g.exports},"zl9/":function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([48],{RHxA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),i=a("elmV"),o=a("P9l9"),r={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:""}],host:window.location.origin,windowH:window.screen.availHeight-180+"px",type:"import",fileList:[],url:t+"/haoban-manage-web/store/upload",uploadSuccessMsg:"",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,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(o.a)("/haoban-manage-web/error-log-page",e).then(function(e){1==e.data.errorCode?(t.total=e.data.result.totalCount,t.logList=e.data.result,t.loading=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},handleRemove:function(t,e){},handlePreview:function(t){},uploadSuccess:function(){1==res.errorCode?this.uploadSuccessMsg=res.message.split(","):this.$message.error(res.message),this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,e){this.fileList=e}},beforeMount:function(){"note"==this.type&&this.getErrorNote(),this.$nextTick(function(){document.querySelector(".contact-wrap__body").style.overflow="hidden"})},beforeDestroy:function(){document.querySelector(".contact-wrap__body").style.overflow="auto"}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-set-wrap",style:{height:t.windowH}},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"io-container border-box "},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio-button",{attrs:{label:"import"}},[t._v("导入门店")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载门店导入模板,批量填写门店信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx"}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传填写好的门店信息\n "),a("div",{staticClass:"d-u-btn"},[a("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}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("\n 上传\n ")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出门店\n "),a("a",{staticClass:"d-u-btn",attrs:{href:"/haoban-manage-web/store/export?storeGroupId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改门店信息\n ")]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("uploadEdit")}}},[t._v("\n 上传\n ")])],1)]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"},[t._v(t._s(t.uploadSuccessMsg))]),t._v(" "),a("a",{attrs:{href:"/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),a("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),a("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),a("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),a("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),t.logList.length?a("div",{staticClass:"pagination"},[a("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):t._e()],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area border-box "},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"),a("a",{staticClass:"a-href",attrs:{href:"#/companyCertify"}},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("不能在本excel表中对门店信息类别进行增加、删除、修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入")])])}]};var l=a("VU/8")(r,n,!1,function(t){a("ou+k")},null,null);e.default=l.exports},"ou+k":function(t,e){}}); webpackJsonp([49],{RHxA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),i=a("elmV"),o=a("P9l9"),r={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:""}],host:window.location.origin,windowH:window.screen.availHeight-180+"px",type:"import",fileList:[],url:t+"/haoban-manage-web/store/upload",uploadSuccessMsg:"",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,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(o.a)("/haoban-manage-web/error-log-page",e).then(function(e){1==e.data.errorCode?(t.total=e.data.result.totalCount,t.logList=e.data.result,t.loading=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},handleRemove:function(t,e){},handlePreview:function(t){},uploadSuccess:function(){1==res.errorCode?this.uploadSuccessMsg=res.message.split(","):this.$message.error(res.message),this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,e){this.fileList=e}},beforeMount:function(){"note"==this.type&&this.getErrorNote(),this.$nextTick(function(){document.querySelector(".contact-wrap__body").style.overflow="hidden"})},beforeDestroy:function(){document.querySelector(".contact-wrap__body").style.overflow="auto"}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-set-wrap",style:{height:t.windowH}},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"io-container border-box "},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio-button",{attrs:{label:"import"}},[t._v("导入门店")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载门店导入模板,批量填写门店信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx"}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传填写好的门店信息\n "),a("div",{staticClass:"d-u-btn"},[a("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}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("\n 上传\n ")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出门店\n "),a("a",{staticClass:"d-u-btn",attrs:{href:"/haoban-manage-web/store/export?storeGroupId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改门店信息\n ")]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("uploadEdit")}}},[t._v("\n 上传\n ")])],1)]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"},[t._v(t._s(t.uploadSuccessMsg))]),t._v(" "),a("a",{attrs:{href:"/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),a("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),a("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),a("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),a("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),t.logList.length?a("div",{staticClass:"pagination"},[a("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):t._e()],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area border-box "},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"),a("a",{staticClass:"a-href",attrs:{href:"#/companyCertify"}},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("不能在本excel表中对门店信息类别进行增加、删除、修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入")])])}]};var l=a("VU/8")(r,n,!1,function(t){a("ou+k")},null,null);e.default=l.exports},"ou+k":function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([5],{"/1A4":function(e,t){},"77K1":function(e,t){},"7SJI":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("3Xzz"),o=s("ATfr"),r=s("P9l9"),n={name:"storeView",props:{tableData:{type:Array,default:function(){return[]}},departmentId:{type:[String,Number],default:""},brandId:{type:[String,Number],default:""},firstLevelId:{type:[String,Number],default:""}},data:function(){return{tableH:window.screen.availHeight-440-180-70,selectedList:[],showChildMember:!1,typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],statusArr:["待审核","正常","审核失败","停业整顿","回收站","删除"]}},methods:{delStores:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this;s.$confirm("是否删除所选店铺","提示",{type:"warning"}).then(function(){var a="";if(t)a=e.storeId;else{var o=[];s.selectedList.forEach(function(e){o.push(e.storeId)}),a=o.join(",")}var r={ids:a};s.postDel(r)})},postDel:function(e,t){var s=this;Object(r.a)("/haoban-manage-web/store/delByIds",e).then(function(e){1==e.data.errorCode?(s.$message.success({duration:1e3,message:"操作成功"}),t&&(t.popVisible=!1),s.$emit("getStoreList")):s.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){s.$message.error({duration:1e3,message:e.message})})},selectMember:function(e){this.selectedList=e},setChildMemberShow:function(){this.$emit("setChildMemberShow",this.showChildMember)},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var s={ids:t.storeId};this.postDel(s,t)}},computed:{disabledDel:function(){return this.selectedList.length<1}}},i={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"common-right-button-box"},[s("a",{attrs:{href:"#/storeInfo?firstLevelId="+e.firstLevelId}},[s("el-button",{attrs:{type:"primary"}},[e._v("添加门店")])],1),e._v(" "),s("a",{attrs:{href:"#/storeIo?importCode=store&departmentId="+e.departmentId+"&showChildMember="+1*e.showChildMember+"&brandId="+e.brandId}},[s("el-button",[e._v("批量导入/导出")])],1),e._v(" "),s("el-button",{attrs:{type:"danger",disabled:e.disabledDel},on:{click:e.delStores}},[e._v("批量删除")]),e._v(" "),s("span",{staticClass:"J_show-children el-button",attrs:{size:"small"}},[s("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}},[e._v("显示子成员")]),s("a",{staticClass:"a-href"})],1)],1),e._v(" "),s("el-table",{ref:"table1",attrs:{data:e.tableData},on:{"selection-change":e.selectMember}},[s("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),s("el-table-column",{attrs:{label:"门店",prop:"storeName",width:"140"}}),e._v(" "),s("el-table-column",{attrs:{label:"代码",prop:"storeCode",width:"140"}}),e._v(" "),s("el-table-column",{attrs:{label:"类型",prop:"storeType",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.typeArr[1*t.row.storeType+1])+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"地区",prop:"areaChainName","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.areaChainName||"--")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"所属分组",prop:"departmentName","show-overflow-tooltip":!0}}),e._v(" "),s("el-table-column",{attrs:{label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href m-r-20",attrs:{href:"#/storeInfo?storeId="+t.row.storeId+"&firstLevelId="+e.firstLevelId}},[e._v("编辑")]),e._v(" "),s("el-popover",{attrs:{placement:"top",width:"160"},model:{value:t.row.popVisible,callback:function(s){e.$set(t.row,"popVisible",s)},expression:"scope.row.popVisible"}},[s("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[e._v("确认删除吗?")]),e._v(" "),s("div",{staticStyle:{"text-align":"right",margin:"0"}},[s("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(s){e.cancelDelTag(t.$index,t.row)}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(s){e.toDelTag(t.$index,t.row)}}},[e._v("确定")])],1),e._v(" "),s("el-button",{staticClass:"p-l-10",attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("\n 删除\n ")])],1)]}}])})],1)],1)},staticRenderFns:[]};var l=s("VU/8")(n,i,!1,function(e){s("Xjrh")},null,null).exports,c={name:"clerkView",props:{tableData:{type:Array,default:function(){return[]}},firstLevelId:{type:[String,Number],default:""}},data:function(){return{tableH:window.screen.availHeight-440-180-70,storeType:0,typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],storeStatus:"",showChildMember:!1}},methods:{setChildMemberShow:function(){this.$emit("setChildMemberShow",this.showChildMember)},changeManager:function(e,t){var s=this,a={};e.clerks.some(function(e){return 1==e.isManager&&(a=e),1==e.isManager});var o={employeeClerkId:t.employeeClerkId,managerId:a.employeeClerkId};Object(r.a)("/haoban-manage-web/emp/setManager",o).then(function(e){1==e.data.errorCode?(a.isManager=0,t.isManager=1,s.$message.success({message:"操作成功"})):s.$message.error({message:e.data.message})}).catch(function(e){s.$message.error({message:e.message})})},selectByStatus:function(e){this.$emit("selectByStatus",e)},selectByType:function(e){var t="";0!=e&&(t=1*e-1),this.$emit("selectByType",t)},delClerk:function(e,t){var s=this;s.$confirm("是否要删除该员工?","提示",{type:"warning"}).then(function(){var a={ids:e.employeeClerkId};s.postDel(a,t,e)})},postDel:function(e,t,s){var a=this;Object(r.a)("/haoban-manage-web/emp/del",e).then(function(e){1==e.data.errorCode?(t.clerks.forEach(function(e){e.employeeClerkId==s.employeeClerkId&&t.clerks.splice(t.clerks.indexOf(e),1)}),a.$message.success({duration:1e3,message:"操作成功"})):a.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},cancelDelTag:function(e,t,s){t.popVisible=!1},toDelTag:function(e,t,s){var a={ids:t.employeeClerkId};this.postDel(a,s,t)},addClerkBtn:function(e,t){this.$router.push({path:"/addClerk",query:{storeId:t.storeId,firstLevelId:this.firstLevelId,type:e}})}}},d={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"sf-right-button-box common-right-button-box"},[s("el-select",{attrs:{size:"small"},on:{change:e.selectByType},model:{value:e.storeType,callback:function(t){e.storeType=t},expression:"storeType"}},e._l(e.typeArr,function(e,t){return s("el-option",{key:e,attrs:{label:e,value:t}})})),e._v(" "),s("el-select",{attrs:{size:"small"},on:{change:e.selectByStatus},model:{value:e.storeStatus,callback:function(t){e.storeStatus=t},expression:"storeStatus"}},[s("el-option",{attrs:{label:"全部状态",value:""}}),e._v(" "),s("el-option",{attrs:{label:"正常",value:1}}),e._v(" "),s("el-option",{attrs:{label:"停业整顿",value:3}})],1),e._v(" "),s("span",{staticClass:"J_show-children el-button",staticStyle:{"vertical-align":"middle"},attrs:{size:"small"}},[s("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}},[e._v("显示子成员")]),s("a",{staticClass:"a-href"})],1)],1),e._v(" "),s("el-table",{ref:"clerkViewTable",staticClass:"diy-table",attrs:{data:e.tableData}},[s("el-table-column",{attrs:{label:"门店",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[s("p",{staticClass:"m-b-10"},[e._v(e._s(t.row.storeName))]),e._v(" "),s("p",[s("a",{staticClass:"a-href",attrs:{href:"#/addClerk?storeId="+t.row.storeId+"&firstLevelId="+e.firstLevelId+"&type=addClerk"}},[e._v("新增店员")])])])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"门店code",prop:"storeCode",width:"300"}}),e._v(" "),s("el-table-column",{attrs:{"min-width":"675"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("ul",e._l(t.row.clerks,function(a,o){return s("li",{key:a.employeeClerkId,staticClass:"clerk-obj-li"},[s("div",{staticClass:"clerk-name clerk-cell"},[s("el-radio",{attrs:{value:1,label:a.isManager},on:{change:function(s){e.changeManager(t.row,a)}}},[e._v(e._s(a.name))]),e._v(" "),1==a.isManager?s("span",{staticClass:"manager"},[e._v("店长")]):e._e()],1),e._v(" "),s("div",{staticClass:"clerk-cell clerk-phone"},[e._v(e._s(a.phoneNumber))]),e._v(" "),s("div",{staticClass:"clerk-cell clerk-position"},[e._v(e._s(a.positionName||"--"))]),e._v(" "),s("div",{staticClass:"clerk-cell clerk-status"},[s("div",{staticClass:"status-icon",class:1==a.status?"is-active":""},[s("i",{staticClass:"iconfont icon-shouji"})])]),e._v(" "),s("div",{staticClass:"clerk-cell clerk-handle"},[s("a",{staticClass:"a-href m-r-20",attrs:{href:"#/addClerk?storeId="+t.row.storeId+"&clerkId="+a.employeeClerkId+"&firstLevelId="+e.firstLevelId+"&type=addClerk"}},[e._v("编辑")]),e._v(" "),s("el-popover",{attrs:{placement:"top",width:"160"},model:{value:a.popVisible,callback:function(t){e.$set(a,"popVisible",t)},expression:"clerk.popVisible"}},[s("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[e._v("确认删除吗?")]),e._v(" "),s("div",{staticStyle:{"text-align":"right",margin:"0"}},[s("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(s){e.cancelDelTag(o,a,t.row)}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(s){e.toDelTag(o,a,t.row)}}},[e._v("确定")])],1),e._v(" "),s("el-button",{staticClass:"p-l-10",attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("\n 删除\n ")])],1)],1)])}))]}}])},[s("template",{slot:"header"},[s("ul",{staticClass:"diy-header"},[s("li",{staticClass:"name"},[e._v("姓名")]),e._v(" "),s("li",{staticClass:"phone"},[e._v("手机号")]),e._v(" "),s("li",{staticClass:"position"},[e._v("职位")]),e._v(" "),s("li",{staticClass:"status"},[e._v("状态")]),e._v(" "),s("li",{staticStyle:{width:"200px"}},[e._v("操作")])])])],2)],1)],1)},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(e){s("/1A4")},"data-v-27ff0d20",null).exports,m=s("qsKc"),p={name:"add-brand-dialog",data:function(){return{dialogVisible:!1,brandName:"",brand:""}},methods:{saveFn:function(){if(this.brandName){var e=this,t={brandName:e.brandName};Object(r.a)("/haoban-manage-web/brand/insert",t).then(function(t){1==t.data.errorCode?e.$emit("addSuccess"):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}else this.$message.error({message:"请输入品牌名称"})}}},f={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-dialog",{attrs:{title:"新建品牌",width:"422px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[s("p",[e._v("请输入品牌名称")]),e._v(" "),s("el-input",{staticClass:"m-t-20",model:{value:e.brandName,callback:function(t){e.brandName=t},expression:"brandName"}}),e._v(" "),s("div",{staticClass:"btn-box t-rt m-t-20 m-b-10"},[s("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.saveFn}},[e._v("确定")])],1)],1)],1)},staticRenderFns:[]};var h=s("VU/8")(p,f,!1,function(e){s("fAiH")},null,null).exports,v=s("WSbm"),g=s("oncj"),b={name:"storeEstruturaContainer",components:{navCrumb:a.a,searchMenu:o.a,storeView:l,clerkView:u,employeeInfo:v.a,storeInfo:m.a,addBrand:h,clerkInfo:g.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:""}],minH:window.screen.availHeight-300-140+"px",windowH:window.screen.availHeight-440+"px",tableH:window.screen.availHeight-440-180+"px",boxHeight:window.screen.availHeight+"px",menuData:[],searchResult:{},loading:!0,groupInfo:{groupName:"",departmentId:""},total:0,showChildMember:!1,pageSize:20,pageNumber:1,storeList:[],tableView:1,showEmployee:"node",perId:"",storeInfo:{},disableBtn:!0,storeStatus:"",storeType:"",recycleCount:0,firstLevelId:""}},beforeRouteUpdate:function(e,t,s){s()},methods:{handleSearchKey:function(e){var t=this,s={keyWord:e};Object(r.a)("/haoban-manage-web/store/searchpage",s).then(function(e){t.searchResult=e.data.result||{}}).catch(function(e){t.$message.error({message:e.message})})},handleEmployeeSelection:function(e,t){this.perId=e.employeeClerkId,this.showEmployee=t},addBrand:function(){this.$refs.add_brand.dialogVisible=!0},addSon:function(){location.href="#/addGroup?addnew=1&groupId="+this.groupInfo.departmentId+"&firstLevelId="+this.firstLevelId},goToEdit:function(e){var t=0==e?"brand":"group";location.href="#/addGroup?groupId="+this.groupInfo.departmentId+"&type="+t+"&firstLevelId="+this.firstLevelId},addSuccess:function(){this.getGroupData(),this.$refs.add_brand.dialogVisible=!1},handleStoreSelection:function(e){var t=this,s={storeId:e.storeId};Object(r.a)("/haoban-manage-web/store/findStoreById",s).then(function(e){1==e.data.errorCode?(t.storeInfo=e.data.result,t.showEmployee="store"):t.$message.error({message:e.data.message})})},handleSizeChange:function(e){this.pageSize=e,this.getStoreList()},handleCurrentChange:function(e){this.pageNumber=e,this.getStoreList()},switchView:function(e){this.pageSize=20,this.pageNumber=1,this.storeList=[],this.showChildMember=!1,this.storeStatus="",this.getStoreList()},setChildMemberShow:function(e){this.showChildMember=e,this.getStoreList()},getGroupData:function(){var e=this;Object(r.a)("/haoban-manage-web/dept/deptList",{isStoreGroup:1}).then(function(t){1==t.data.errorCode?(e.menuData=t.data.result||[],t.data.result.some(function(t){return 0==t.level&&(e.groupInfo.departmentId=t.groupId,e.groupInfo.groupName=t.name,e.groupInfo.hasPression=t.hasPression,e.firstLevelId=t.chainId.split("-")[1],e.groupInfo.level=0),0==t.level}),e.getStoreList(),e.getRecycle()):(e.menuData=[],e.loading=!1,e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getStoreList:function(){var e=this;e.loading=!0;var t={storeGroupId:e.groupInfo.departmentId,showChild:1*e.showChildMember,showType:e.tableView,pageSize:e.pageSize,pageNum:e.pageNumber,status:e.storeStatus,storeType:e.storeType};Object(r.a)("/haoban-manage-web/store/findSimplePage",t).then(function(t){1==t.data.errorCode?(e.loading=!1,e.total=t.data.result.total,t.data.result.list&&t.data.result.list.length&&t.data.result.list.forEach(function(e,t){e.popVisible=!1,e.clerks&&e.clerks.length&&e.clerks.forEach(function(e,t){e.popVisible=!1})}),e.storeList=t.data.result.list||[]):(e.loading=!1,e.storeList=[],e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},handleTreeSelection:function(e,t,s){this.groupInfo.departmentId=e.groupId,this.firstLevelId=e.chainId.split("-")[1],this.groupInfo.groupName=e.name,this.groupInfo.brandId=e.brandId,this.showEmployee=s,this.groupInfo.hasPression=e.hasPression,this.groupInfo.level=e.level,this.storeStatus="",this.getStoreList(),this.getRecycle()},selectByStatus:function(e){this.storeStatus=e,this.getStoreList()},selectByType:function(e){this.storeType=e,this.getStoreList()},cancelClerkInfo:function(e){e&&(this.showEmployee="")},getRecycle:function(){var e=this,t={storeGroupId:e.groupInfo.departmentId};Object(r.a)("/haoban-manage-web/store/get-recycle-count",t).then(function(t){var s=t.data;1==s.errorCode?e.recycleCount=s.result:e.$message.error({duration:1e3,message:s.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},beforeMount:function(){this.getGroupData()},mounted:function(){this.disableBtn=!1}},_={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"common-set-wrap store-frame-wrap"},[s("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),s("div",{staticClass:"right-content",style:{minHeight:e.minH}},[s("div",{staticClass:"right-box"},[s("div",{staticClass:"store-estrutura-container common-frame-container"},[s("search-menu",{ref:"searchMenu",attrs:{storeFrame:!0,treeData:e.menuData,searchResult:e.searchResult},on:{handleSearchKey:e.handleSearchKey,handleTreeSelection:e.handleTreeSelection,handleStoreSelection:e.handleStoreSelection,handleEmployeeSelection:e.handleEmployeeSelection}},[s("template",{slot:"buttonBox"},[s("div",{staticClass:"slot-button"},[s("el-button",{attrs:{disabled:e.disableBtn},on:{click:e.addBrand}},[e._v("新建品牌")]),e._v(" "),s("el-popover",{attrs:{placement:"right",width:"200",content:"若您的企业为集团企业,可通过新建品牌,不同品牌的门店可以创建在不同的品牌下面",trigger:"hover"}},[s("i",{staticClass:"el-icon-info",attrs:{slot:"reference"},slot:"reference"})])],1)])],2),e._v(" "),"employee"==e.showEmployee?s("clerk-info",{attrs:{perId:e.perId},on:{cancelClerkInfo:e.cancelClerkInfo}}):"store"==e.showEmployee?s("store-info",{ref:"store_info",attrs:{storeInfo:e.storeInfo}}):s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"sf-right-container common-right-container"},[s("div",{staticClass:"sf-right-header common-right-header"},[s("span",{staticClass:"title-span"},[e._v(e._s(e.groupInfo.groupName)+"("+e._s(e.total)+"家)")]),e._v(" "),s("span",{staticClass:"id-span"},[e._v("部门ID: "+e._s(e.groupInfo.departmentId))]),e._v(" "),s("span",{staticClass:"handle-area"},[s("el-button",{staticClass:"no-bdr-btn",attrs:{disabled:1!=e.groupInfo.hasPression},on:{click:e.addSon}},[e._v(" 添加子分组 ")]),s("span",{staticClass:"hurdle"}),s("el-button",{staticClass:"no-bdr-btn",attrs:{disabled:1!=e.groupInfo.hasPression},on:{click:function(t){e.goToEdit(e.groupInfo.level)}}},[e._v("\n 编辑\n ")])],1)]),e._v(" "),s("div",{staticClass:"tab-div"},[s("el-radio-group",{on:{change:e.switchView},model:{value:e.tableView,callback:function(t){e.tableView=t},expression:"tableView"}},[s("el-radio-button",{attrs:{label:1}},[e._v("门店视图")]),e._v(" "),s("el-radio-button",{attrs:{label:2}},[e._v("店员视图")])],1),e._v(" "),s("a",{staticClass:"a-href fr",attrs:{href:"#/recycle?dept="+e.groupInfo.departmentId+"&showChild=1&type="+e.storeType}},[s("el-button",{attrs:{type:"primary",icon:"el-icon-delete"}},[e._v("回收站("+e._s(e.recycleCount)+")")])],1)],1),e._v(" "),s("div",[1==e.tableView?[s("store-view",{attrs:{tableData:e.storeList,departmentId:e.groupInfo.departmentId,brandId:e.groupInfo.brandId,firstLevelId:e.firstLevelId},on:{setChildMemberShow:e.setChildMemberShow,getStoreList:e.getStoreList}})]:[s("clerk-view",{attrs:{tableData:e.storeList,firstLevelId:e.firstLevelId},on:{setChildMemberShow:e.setChildMemberShow,selectByStatus:e.selectByStatus,selectByType:e.selectByType}})]],2),e._v(" "),e.storeList.length?s("div",{staticClass:"pagination"},[s("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNumber,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()]),e._v(" "),s("add-brand",{ref:"add_brand",on:{addSuccess:e.addSuccess}})],1)])]),e._v(" "),s("vue-gic-footer")],1)},staticRenderFns:[]};var I=s("VU/8")(b,_,!1,function(e){s("Y/6g")},null,null);t.default=I.exports},ATfr:function(e,t,s){"use strict";var a=s("0xDb"),o={name:"searchMenu",components:{},props:{treeData:{type:Array,required:!0},searchResult:{type:Object,required:!0},storeFrame:{type:Boolean,default:!1}},data:function(){return{searchKey:"",searchResultShow:!1,myProps:{children:"childrens",label:"label",disabled:"disabled"},menuData:[],defaultOpen:[],defaultId:""}},methods:{clearFn:function(){this.searchResultShow=!1,this.$nextTick(function(){document.querySelector(".el-tree-node").classList.add("is-current")})},searchFn:function(){if(""==this.searchKey)return this.searchResultShow=!1,!1;this.searchResultShow=!0,this.$emit("handleSearchKey",this.searchKey)},handleNodeClick:function(e,t){e.id!=this.defaultId&&document.querySelector(".el-tree-node")&&document.querySelector(".el-tree-node").classList.remove("is-current"),this.defaultId=e.groupId,this.$emit("handleTreeSelection",e,t,"node")},selectEmployee:function(e){this.defaultId=e.employeeClerkId,this.$emit("handleEmployeeSelection",e,"employee")},handleStoreClick:function(e){this.$emit("handleStoreSelection",e,"store")}},filter:{},computed:{employeeList:function(){return this.searchResult.searchList?this.searchResult.searchList:[]},departmentList:function(){return this.searchResult.departmentList?this.searchResult.departmentList:[]},brandList:function(){return this.searchResult.brandList?this.searchResult.brandList:[]}},watch:{treeData:function(e,t){var s=this,o=Object(a.c)(e);s.defaultOpen=o.defaultOpen,s.menuData=o.menuArr,s.menuData.length&&s.$nextTick(function(){s.defaultId=s.menuData.length?s.menuData[0].id:"",document.querySelector(".el-tree-node").classList.add("is-current")})}}},r={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"searh-menu-container"},[s("div",{staticClass:"p-0-15"},[s("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"姓名/手机号/部门名称",clearable:""},on:{clear:e.clearFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}}),e._v(" "),e._t("buttonBox"),e._v(" "),e.searchResultShow?e._e():s("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:e.menuData,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node;return t.data,s("span",{staticClass:"custom-tree-node"},[s("i",{staticClass:"iconfont",class:1==a.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),s("span",[e._v(e._s(a.label))])])}}])})],2),e._v(" "),e.searchResultShow?s("div",{staticClass:"search-result-container m-t-15"},[e.storeFrame?[e._l(e.brandList,function(t,a){return[t.departmentList.length>0||t.storeList.length>0||t.searchList.length>0?s("div",{key:t.topDepartment.brandId+"_"+a},[s("div",[s("p",{staticClass:"brand-title"},[e._v(e._s(t.topDepartment.name))]),e._v(" "),t.departmentList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title store-frame-title"},[e._v("分组列表")]),e._v(" "),e._l(t.departmentList,function(t,a){return s("li",{key:a+"_"+t.groupId,staticClass:"group-item items",on:{click:function(s){e.handleNodeClick(t)}}},[s("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),t.storeList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title store-frame-title"},[e._v("门店列表")]),e._v(" "),e._l(t.storeList,function(t,a){return s("li",{key:a+"_"+t.storeGroupId,staticClass:"group-item items",on:{click:function(s){e.handleStoreClick(t)}}},[s("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.storeName)+"\n ")])})],2):e._e(),e._v(" "),t.searchList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title store-frame-title"},[e._v("人员列表")]),e._v(" "),e._l(t.searchList,function(t,a){return s("li",{key:a+"_"+t.employeeClerkId,staticClass:"person-item items",on:{click:function(s){e.selectEmployee(t)}}},[s("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),s("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e()])]):e._e()]}),e._v(" "),e.brandList.length<1?s("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]:[e.departmentList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title"},[e._v("部门列表")]),e._v(" "),e._l(e.departmentList,function(t,a){return s("li",{key:a+"_"+t.groupId,class:["group-item items",e.defaultId==t.groupId?"active-item":""],on:{click:function(s){e.handleNodeClick(t)}}},[s("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.employeeList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title"},[e._v("人员列表")]),e._v(" "),e._l(e.employeeList,function(t,a){return s("li",{key:a+"_"+t.employeeClerkId,class:["person-item items",e.defaultId==t.employeeClerkId?"active-item":""],on:{click:function(s){e.selectEmployee(t)}}},[s("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),s("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e(),e._v(" "),e.departmentList.length<1&&e.employeeList.length<1?s("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]],2):e._e()])},staticRenderFns:[]};var n=s("VU/8")(o,r,!1,function(e){s("BkoW")},null,null);t.a=n.exports},BkoW:function(e,t){},F4GR:function(e,t){},Xjrh:function(e,t){},"Y/6g":function(e,t){},fAiH:function(e,t){},oncj:function(e,t,s){"use strict";var a=s("Ie7z"),o=s("P9l9"),r=s("PI0u"),n={name:"clerk-info-form",props:{isAddnew:{type:Boolean,default:!1},perId:{type:[String,Number],default:""},firstLevelId:{type:[String,Number],default:""},storeType:{type:[String,Number],default:""}},components:{vueSelectStore:a.a},data:function(){return{rules:{name:[{required:!0,message:"请输入店员姓名",trigger:"blur"},{min:2,max:10,message:"长度在 2 到 10 个字符",trigger:"blur"}],phoneNumber:[{required:!0,validator:function(e,t,s){if(t)return/^1[34578]\d{9}$/.test(t)?s():s(new Error("手机号格式不正确"));return s(new Error("请输入手机号"))},trigger:"blur"}],storeName:[{required:!0,message:"请选择门店",trigger:"change"}],code:[{required:!0,message:"请输入code",trigger:"blur"},{min:2,max:20,message:"长度在 2 到 20 个字符",trigger:"blur"}],positionName:[{required:!0,message:"请输入店员职位",trigger:"blur"}]},clerkInfo:{storeName:"",storeId:"",managerMode:!1},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0,groupId:"",storeType:"",openNextBool:!0}}},methods:{toInput:Object(r.a)(function(e){var t=e.target.value.match(/[A-Za-z0-9]/g);t?(t=t.join(""),this.clerkInfo.code=t):this.clerkInfo.code=""},500),saveFn:function(e){var t=!0;this.$refs.clerk_info.validate(function(e){e||(t=!1)}),t&&this.addEmployee(this.clerkInfo,e)},callSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.clerkInfo.storeName=e&&e.length?e[0].label:"",this.clerkInfo.storeId=e&&e.length?e[0].id:""},addEmployee:function(e,t){var s=this,a={name:e.name,isClerk:1,phoneNumber:e.phoneNumber,positionName:e.positionName,storeId:e.storeId,managerMode:1*e.managerMode,code:e.code,employeeClerkId:e.employeeClerkId||""},r=s.isAddnew?"/haoban-manage-web/emp/add":"/haoban-manage-web/emp/update";Object(o.a)(r,a).then(function(e){1==e.data.errorCode?(s.$message.success({message:"操作成功"}),1==t?s.clerkInfo={name:"",isClerk:1,phoneNumber:"",positionName:"",storeId:"",managerMode:!1,code:""}:s.$router.push("/storeFrame")):s.$message.error({message:e.data.message})}).catch(function(e){s.$message.error({message:e.message})})},cancel:function(){var e=this;this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(e){})},getClerkInfo:function(){var e=this,t={id:e.$route.query.clerkId?e.$route.query.clerkId:e.perId};Object(o.a)("/haoban-manage-web/emp/findOne",t).then(function(t){1==t.data.errorCode?e.clerkInfo=t.data.result:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t})})}},beforeMount:function(){this.treeSet.storeType=this.storeType,this.treeSet.groupId=this.firstLevelId,this.isAddnew||this.getClerkInfo()},watch:{perId:function(e,t){this.getClerkInfo(e)}}},i={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"form-container bdr-box"},[s("el-form",{ref:"clerk_info",staticClass:"add-clerk-form",attrs:{model:e.clerkInfo,rules:e.rules,"label-width":"80px"}},[s("el-form-item",{attrs:{label:"姓名",prop:"name"}},[s("el-input",{model:{value:e.clerkInfo.name,callback:function(t){e.$set(e.clerkInfo,"name",t)},expression:"clerkInfo.name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"手机号",prop:"phoneNumber"}},[s("el-input",{attrs:{disabled:!e.isAddnew},model:{value:e.clerkInfo.phoneNumber,callback:function(t){e.$set(e.clerkInfo,"phoneNumber",t)},expression:"clerkInfo.phoneNumber"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"门店",prop:"storeName"}},[s("el-input",{on:{focus:e.callSelector},model:{value:e.clerkInfo.storeName,callback:function(t){e.$set(e.clerkInfo,"storeName",t)},expression:"clerkInfo.storeName"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"code",prop:"code"}},[s("el-input",{nativeOn:{keyup:function(t){return s=t,e.toInput(s);var s}},model:{value:e.clerkInfo.code,callback:function(t){e.$set(e.clerkInfo,"code",t)},expression:"clerkInfo.code"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"职位",prop:"positionName"}},[s("el-input",{model:{value:e.clerkInfo.positionName,callback:function(t){e.$set(e.clerkInfo,"positionName",t)},expression:"clerkInfo.positionName"}})],1)],1),e._v(" "),s("div",{staticClass:"btn-box"},[s("el-button",{attrs:{type:"primary"},on:{click:e.saveFn}},[e._v("保 存")]),e._v(" "),e.isAddnew?s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveFn(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),s("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1),e._v(" "),s("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:"store"},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var l=s("VU/8")(n,i,!1,function(e){s("F4GR")},null,null);t.a=l.exports},qsKc:function(e,t,s){"use strict";var a=s("P9l9"),o={name:"store-detail",components:{vueSelectStore:s("Ie7z").a},props:{storeInfo:{type:Object,default:function(){return{}}}},data:function(){return{areaChainName:"",location:"",areaOptions:{},imgs:[],uploadUrl:"/haoban-manage-web/upload-img",treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},selectType:"group"}},methods:{callSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.storeInfo.departmentName=e[0].label,this.storeInfo.storeGroupId=e[0].id},selected:function(e){this.areaChainName=e.provinceName+"/"+e.cityName+"/"+e.countryName},uploadOnSuccess:function(e,t){e.file.url=e.res.result[0].qcloudImageUrl,t.push(e.file)},sortImg:function(){},deleteImage:function(){},save:function(){var e=this,t=e.location.split(",");e.storeInfo.longitude=t[0],e.storeInfo.latitude=2!==t.length?"":t[1],e.storeInfo.managerPhone=e.storeInfo.managerPhoneNumber,e.storeInfo.areaChainName=e.areaOptions.provinceName+"/"+e.areaOptions.cityName+"/"+e.areaOptions.countryName;var s=e.storeInfo,o=[];e.imgs.forEach(function(e){o.push(e.url)}),s.imageUrls=o.join(","),Object(a.a)("/haoban-manage-web/store/update",s).then(function(t){console.log(t,"eidt result"),1==t.data.errorCode?e.$message.success({message:"操作成功!"}):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatStoreInfo:function(e){var t=(e.areaChainName||"").split("/");this.areaOptions={provinceName:t[0],provinceId:e.provinceId,cityName:t[1],cityId:e.cityId,countryName:t[2],countyId:e.countyId},this.imgs=e.imageUrl?e.imageUrl.split(","):[];var s=[];this.imgs.forEach(function(e){s.push({url:e})}),this.imgs=s,this.location=e.longitude+","+e.latitude}},mounted:function(){this.formatStoreInfo(this.storeInfo)},watch:{$route:function(e){console.log(e,"to")}}},r={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"store-info"},[s("div",{staticClass:"info-cell"},[s("p",{staticClass:"title"},[e._v("门店信息")]),e._v(" "),s("el-form",{staticClass:"store-info-form info-form",attrs:{"label-width":"90px"}},[s("el-form-item",{attrs:{label:"门店名称",prop:"name"}},[s("el-input",{model:{value:e.storeInfo.storeName,callback:function(t){e.$set(e.storeInfo,"storeName",t)},expression:"storeInfo.storeName"}},[s("template",{slot:"suffix"},[e._v(e._s(e.storeInfo.storeName?e.storeInfo.storeName.length:0)+"/20")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"所属分组",prop:"departmentName"}},[s("el-input",{on:{focus:e.callSelector},model:{value:e.storeInfo.departmentName,callback:function(t){e.$set(e.storeInfo,"departmentName",t)},expression:"storeInfo.departmentName"}},[s("i",{staticClass:"el-input__icon el-icon-arrow-down",attrs:{slot:"suffix"},slot:"suffix"})])],1),e._v(" "),s("el-form-item",{attrs:{label:"门店图片(640*340)",prop:"imageUrls"}},[s("div",{staticClass:"member-upload-image"},[s("vue-office-upload-image",{attrs:{projectName:"haoban-manage-web",wxFlag:"0",actionUrl:e.uploadUrl,imageList:e.imgs,limitW:640,limitH:340,maxImageLength:5},on:{uploadOnSuccess:e.uploadOnSuccess,sortImg:e.sortImg,deleteImage:e.deleteImage}})],1)]),e._v(" "),s("el-form-item",{attrs:{label:"联系电话",prop:"phoneNumber"}},[s("el-input",{model:{value:e.storeInfo.phoneNumber,callback:function(t){e.$set(e.storeInfo,"phoneNumber",t)},expression:"storeInfo.phoneNumber"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"营业时间",prop:"phoneNumber"}},[s("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",step:"00:05",end:"24:00"}},model:{value:e.storeInfo.openTime,callback:function(t){e.$set(e.storeInfo,"openTime",t)},expression:"storeInfo.openTime"}}),e._v("\n ~\n "),s("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",step:"00:05",end:"24:00",minTime:e.storeInfo.openTime}},model:{value:e.storeInfo.closeTime,callback:function(t){e.$set(e.storeInfo,"closeTime",t)},expression:"storeInfo.closeTime"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"门店类型"}},[s("el-radio-group",{model:{value:e.storeInfo.storeType,callback:function(t){e.$set(e.storeInfo,"storeType",t)},expression:"storeInfo.storeType"}},[s("el-radio",{attrs:{label:0}},[e._v("自营")]),e._v(" "),s("el-radio",{attrs:{label:1}},[e._v("联营")]),e._v(" "),s("el-radio",{attrs:{label:2}},[e._v("代理")]),e._v(" "),s("el-radio",{attrs:{label:3}},[e._v("代销")]),e._v(" "),s("el-radio",{attrs:{label:4}},[e._v("托管")])],1)],1),e._v(" "),s("el-form-item",{attrs:{label:"门店地址"}},[s("vue-office-area",{attrs:{areaOptions:e.areaOptions,projectName:"haoban-web",postUrl:"/api-admin/dict-district-list"},on:{selected:e.selected}}),e._v(" "),s("el-input",{model:{value:e.storeInfo.postAddress,callback:function(t){e.$set(e.storeInfo,"postAddress",t)},expression:"storeInfo.postAddress"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.postAddress||"").length)+"/50")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"GPS坐标"}},[s("el-input",{staticClass:"m-r-10",model:{value:e.location,callback:function(t){e.location=t},expression:"location"}}),e._v(" "),s("a",{staticClass:"a-href",attrs:{href:"http://m.gpsspg.com/maps.htm",target:"_blank"}},[e._v("经纬度测试工具")])],1),e._v(" "),s("el-form-item",[s("template",{slot:"label"},[e._v("\n 门店代码\n "),s("i",{staticClass:"el-icon-question",staticStyle:{color:"#C0C4CC"}})]),e._v(" "),s("el-input",{model:{value:e.storeInfo.storeCode,callback:function(t){e.$set(e.storeInfo,"storeCode",t)},expression:"storeInfo.storeCode"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.storeCode||"").length)+"/20")])],2)],2)],1)],1),e._v(" "),s("div",{staticClass:"info-cell"},[s("p",{staticClass:"title"},[e._v("店长信息")]),e._v(" "),s("el-form",{staticClass:"store-manager-info-form info-form",attrs:{"label-width":"90px"}},[s("el-form-item",{attrs:{label:"店长姓名",prop:"name"}},[s("el-input",{model:{value:e.storeInfo.managerName,callback:function(t){e.$set(e.storeInfo,"managerName",t)},expression:"storeInfo.managerName"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerName||"").length)+"/10")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[s("el-input",{attrs:{disabled:""},model:{value:e.storeInfo.managerPhoneNumber,callback:function(t){e.$set(e.storeInfo,"managerPhoneNumber",t)},expression:"storeInfo.managerPhoneNumber"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"店长性别"}},[s("el-radio-group",{model:{value:e.storeInfo.managerSex,callback:function(t){e.$set(e.storeInfo,"managerSex",t)},expression:"storeInfo.managerSex"}},[s("el-radio",{attrs:{label:1}},[e._v("男")]),e._v(" "),s("el-radio",{attrs:{label:2}},[e._v("女")])],1)],1),e._v(" "),s("el-form-item",{attrs:{label:"店长代码"}},[s("el-input",{model:{value:e.storeInfo.managerCode,callback:function(t){e.$set(e.storeInfo,"managerCode",t)},expression:"storeInfo.managerCode"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerCode||"").length)+"/20")])],2)],1)],1)],1),e._v(" "),s("div",{staticClass:"info-cell"},[s("p",{staticClass:"title"},[e._v("经营信息")]),e._v(" "),s("el-form",{staticClass:"operate-info-form info-form",attrs:{"label-width":"90px"}},[s("el-form-item",{attrs:{label:"特色服务"}},[s("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.specialService,callback:function(t){e.$set(e.storeInfo,"specialService",t)},expression:"storeInfo.specialService"}}),e._v(" "),s("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.specialService||"").length)+"/20")])],1),e._v(" "),s("el-form-item",{attrs:{label:"人均消费"}},[s("el-input",{model:{value:e.storeInfo.personCost,callback:function(t){e.$set(e.storeInfo,"personCost",t)},expression:"storeInfo.personCost"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.personCost+"").length)+"/10")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"推荐商品"}},[s("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.recommendGoods,callback:function(t){e.$set(e.storeInfo,"recommendGoods",t)},expression:"storeInfo.recommendGoods"}}),e._v(" "),s("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/100")])],1),e._v(" "),s("el-form-item",{attrs:{label:"品牌介绍"}},[s("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.brandDes,callback:function(t){e.$set(e.storeInfo,"brandDes",t)},expression:"storeInfo.brandDes"}}),e._v(" "),s("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/200")])],1)],1)],1),e._v(" "),s("div",{staticClass:"handle-area"},[s("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1),e._v(" "),s("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:e.selectType,forbidenList:[e.storeInfo.storeGroupId]},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var n=s("VU/8")(o,r,!1,function(e){s("77K1")},null,null);t.a=n.exports}});
\ No newline at end of file
webpackJsonp([5],{"/1A4":function(e,t){},"77K1":function(e,t){},"7SJI":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("3Xzz"),o=s("ATfr"),r=s("P9l9"),n={name:"storeView",props:{tableData:{type:Array,default:function(){return[]}},departmentId:{type:[String,Number],default:""},brandId:{type:[String,Number],default:""},firstLevelId:{type:[String,Number],default:""}},data:function(){return{tableH:window.screen.availHeight-440-180-70,selectedList:[],showChildMember:!1,typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],statusArr:["待审核","正常","审核失败","停业整顿","回收站","删除"]}},methods:{delStores:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this;s.$confirm("是否删除所选店铺","提示",{type:"warning"}).then(function(){var a="";if(t)a=e.storeId;else{var o=[];s.selectedList.forEach(function(e){o.push(e.storeId)}),a=o.join(",")}var r={ids:a};s.postDel(r)})},postDel:function(e,t){var s=this;Object(r.a)("/haoban-manage-web/store/delByIds",e).then(function(e){1==e.data.errorCode?(s.$message.success({duration:1e3,message:"操作成功"}),t&&(t.popVisible=!1),s.$emit("getStoreList")):s.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){s.$message.error({duration:1e3,message:e.message})})},selectMember:function(e){this.selectedList=e},setChildMemberShow:function(){this.$emit("setChildMemberShow",this.showChildMember)},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var s={ids:t.storeId};this.postDel(s,t)}},computed:{disabledDel:function(){return this.selectedList.length<1}}},l={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"common-right-button-box"},[s("a",{attrs:{href:"#/storeInfo?firstLevelId="+e.firstLevelId}},[s("el-button",{attrs:{type:"primary"}},[e._v("添加门店")])],1),e._v(" "),s("a",{attrs:{href:"#/storeIo?importCode=store&departmentId="+e.departmentId+"&showChildMember="+1*e.showChildMember+"&brandId="+e.brandId}},[s("el-button",[e._v("批量导入/导出")])],1),e._v(" "),s("el-button",{attrs:{type:"danger",disabled:e.disabledDel},on:{click:e.delStores}},[e._v("批量删除")]),e._v(" "),s("span",{staticClass:"J_show-children el-button",attrs:{size:"small"}},[s("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}},[e._v("显示子成员")]),s("a",{staticClass:"a-href"})],1)],1),e._v(" "),s("el-table",{ref:"table1",attrs:{data:e.tableData},on:{"selection-change":e.selectMember}},[s("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),s("el-table-column",{attrs:{label:"门店",prop:"storeName",width:"140"}}),e._v(" "),s("el-table-column",{attrs:{label:"代码",prop:"storeCode",width:"140"}}),e._v(" "),s("el-table-column",{attrs:{label:"类型",prop:"storeType",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.typeArr[1*t.row.storeType+1])+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"地区",prop:"areaChainName","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.areaChainName||"--")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"所属分组",prop:"departmentName","show-overflow-tooltip":!0}}),e._v(" "),s("el-table-column",{attrs:{label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("a",{staticClass:"a-href m-r-20",attrs:{href:"#/storeInfo?storeId="+t.row.storeId+"&firstLevelId="+e.firstLevelId}},[e._v("编辑")]),e._v(" "),s("el-popover",{attrs:{placement:"top",width:"160"},model:{value:t.row.popVisible,callback:function(s){e.$set(t.row,"popVisible",s)},expression:"scope.row.popVisible"}},[s("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[e._v("确认删除吗?")]),e._v(" "),s("div",{staticStyle:{"text-align":"right",margin:"0"}},[s("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(s){e.cancelDelTag(t.$index,t.row)}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(s){e.toDelTag(t.$index,t.row)}}},[e._v("确定")])],1),e._v(" "),s("el-button",{staticClass:"p-l-10",attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("\n 删除\n ")])],1)]}}])})],1)],1)},staticRenderFns:[]};var i=s("VU/8")(n,l,!1,function(e){s("Xjrh")},null,null).exports,c={name:"clerkView",props:{tableData:{type:Array,default:function(){return[]}},firstLevelId:{type:[String,Number],default:""}},data:function(){return{tableH:window.screen.availHeight-440-180-70,storeType:0,typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],storeStatus:"",showChildMember:!1}},methods:{setChildMemberShow:function(){this.$emit("setChildMemberShow",this.showChildMember)},changeManager:function(e,t){var s=this,a={};e.clerks.some(function(e){return 1==e.isManager&&(a=e),1==e.isManager});var o={employeeClerkId:t.employeeClerkId,managerId:a.employeeClerkId};Object(r.a)("/haoban-manage-web/emp/setManager",o).then(function(e){1==e.data.errorCode?(a.isManager=0,t.isManager=1,s.$message.success({message:"操作成功"})):s.$message.error({message:e.data.message})}).catch(function(e){s.$message.error({message:e.message})})},selectByStatus:function(e){this.$emit("selectByStatus",e)},selectByType:function(e){var t="";0!=e&&(t=1*e-1),this.$emit("selectByType",t)},delClerk:function(e,t){var s=this;s.$confirm("是否要删除该员工?","提示",{type:"warning"}).then(function(){var a={ids:e.employeeClerkId};s.postDel(a,t,e)})},postDel:function(e,t,s){var a=this;Object(r.a)("/haoban-manage-web/emp/del",e).then(function(e){1==e.data.errorCode?(t.clerks.forEach(function(e){e.employeeClerkId==s.employeeClerkId&&t.clerks.splice(t.clerks.indexOf(e),1)}),a.$message.success({duration:1e3,message:"操作成功"})):a.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},cancelDelTag:function(e,t,s){t.popVisible=!1},toDelTag:function(e,t,s){var a={ids:t.employeeClerkId};this.postDel(a,s,t)},addClerkBtn:function(e,t){this.$router.push({path:"/addClerk",query:{storeId:t.storeId,firstLevelId:this.firstLevelId,type:e}})}}},d={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"sf-right-button-box common-right-button-box"},[s("el-select",{attrs:{size:"small"},on:{change:e.selectByType},model:{value:e.storeType,callback:function(t){e.storeType=t},expression:"storeType"}},e._l(e.typeArr,function(e,t){return s("el-option",{key:e,attrs:{label:e,value:t}})})),e._v(" "),s("el-select",{attrs:{size:"small"},on:{change:e.selectByStatus},model:{value:e.storeStatus,callback:function(t){e.storeStatus=t},expression:"storeStatus"}},[s("el-option",{attrs:{label:"全部状态",value:""}}),e._v(" "),s("el-option",{attrs:{label:"正常",value:1}}),e._v(" "),s("el-option",{attrs:{label:"停业整顿",value:3}})],1),e._v(" "),s("span",{staticClass:"J_show-children el-button",staticStyle:{"vertical-align":"middle"},attrs:{size:"small"}},[s("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}},[e._v("显示子成员")]),s("a",{staticClass:"a-href"})],1)],1),e._v(" "),s("el-table",{ref:"clerkViewTable",staticClass:"diy-table",attrs:{data:e.tableData}},[s("el-table-column",{attrs:{label:"门店",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[s("p",{staticClass:"m-b-10"},[e._v(e._s(t.row.storeName))]),e._v(" "),s("p",[s("a",{staticClass:"a-href",attrs:{href:"#/addClerk?storeId="+t.row.storeId+"&firstLevelId="+e.firstLevelId+"&type=addClerk"}},[e._v("新增店员")])])])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"门店code",prop:"storeCode",width:"300"}}),e._v(" "),s("el-table-column",{attrs:{"min-width":"675"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("ul",e._l(t.row.clerks,function(a,o){return s("li",{key:a.employeeClerkId,staticClass:"clerk-obj-li"},[s("div",{staticClass:"clerk-name clerk-cell"},[s("el-radio",{attrs:{value:1,label:a.isManager},on:{change:function(s){e.changeManager(t.row,a)}}},[e._v(e._s(a.name))]),e._v(" "),1==a.isManager?s("span",{staticClass:"manager"},[e._v("店长")]):e._e()],1),e._v(" "),s("div",{staticClass:"clerk-cell clerk-phone"},[e._v(e._s(a.phoneNumber))]),e._v(" "),s("div",{staticClass:"clerk-cell clerk-position"},[e._v(e._s(a.positionName||"--"))]),e._v(" "),s("div",{staticClass:"clerk-cell clerk-status"},[s("div",{staticClass:"status-icon",class:1==a.status?"is-active":""},[s("i",{staticClass:"iconfont icon-shouji"})])]),e._v(" "),s("div",{staticClass:"clerk-cell clerk-handle"},[s("a",{staticClass:"a-href m-r-20",attrs:{href:"#/addClerk?storeId="+t.row.storeId+"&clerkId="+a.employeeClerkId+"&firstLevelId="+e.firstLevelId+"&type=addClerk"}},[e._v("编辑")]),e._v(" "),s("el-popover",{attrs:{placement:"top",width:"160"},model:{value:a.popVisible,callback:function(t){e.$set(a,"popVisible",t)},expression:"clerk.popVisible"}},[s("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[e._v("确认删除吗?")]),e._v(" "),s("div",{staticStyle:{"text-align":"right",margin:"0"}},[s("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(s){e.cancelDelTag(o,a,t.row)}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(s){e.toDelTag(o,a,t.row)}}},[e._v("确定")])],1),e._v(" "),s("el-button",{staticClass:"p-l-10",attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("\n 删除\n ")])],1)],1)])}))]}}])},[s("template",{slot:"header"},[s("ul",{staticClass:"diy-header"},[s("li",{staticClass:"name"},[e._v("姓名")]),e._v(" "),s("li",{staticClass:"phone"},[e._v("手机号")]),e._v(" "),s("li",{staticClass:"position"},[e._v("职位")]),e._v(" "),s("li",{staticClass:"status"},[e._v("状态")]),e._v(" "),s("li",{staticStyle:{width:"200px"}},[e._v("操作")])])])],2)],1)],1)},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(e){s("/1A4")},"data-v-27ff0d20",null).exports,m=s("qsKc"),p={name:"add-brand-dialog",data:function(){return{dialogVisible:!1,brandName:"",brand:""}},methods:{saveFn:function(){if(this.brandName){var e=this,t={brandName:e.brandName};Object(r.a)("/haoban-manage-web/brand/insert",t).then(function(t){1==t.data.errorCode?e.$emit("addSuccess"):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}else this.$message.error({message:"请输入品牌名称"})}}},f={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-dialog",{attrs:{title:"新建品牌",width:"422px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[s("p",[e._v("请输入品牌名称")]),e._v(" "),s("el-input",{staticClass:"m-t-20",model:{value:e.brandName,callback:function(t){e.brandName=t},expression:"brandName"}}),e._v(" "),s("div",{staticClass:"btn-box t-rt m-t-20 m-b-10"},[s("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.saveFn}},[e._v("确定")])],1)],1)],1)},staticRenderFns:[]};var h=s("VU/8")(p,f,!1,function(e){s("fAiH")},null,null).exports,v=s("WSbm"),g=s("oncj"),b={name:"storeEstruturaContainer",components:{navCrumb:a.a,searchMenu:o.a,storeView:i,clerkView:u,employeeInfo:v.a,storeInfo:m.a,addBrand:h,clerkInfo:g.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:""}],menuData:[],searchResult:{},loading:!0,groupInfo:{groupName:"",departmentId:""},total:0,showChildMember:!1,pageSize:20,pageNumber:1,storeList:[],tableView:1,showEmployee:"node",perId:"",storeInfo:{},disableBtn:!0,storeStatus:"",storeType:"",recycleCount:0,firstLevelId:""}},beforeRouteUpdate:function(e,t,s){s()},methods:{handleSearchKey:function(e){var t=this,s={keyWord:e};Object(r.a)("/haoban-manage-web/store/searchpage",s).then(function(e){t.searchResult=e.data.result||{}}).catch(function(e){t.$message.error({message:e.message})})},handleEmployeeSelection:function(e,t){this.perId=e.employeeClerkId,this.showEmployee=t},addBrand:function(){this.$refs.add_brand.dialogVisible=!0},addSon:function(){location.href="#/addGroup?addnew=1&groupId="+this.groupInfo.departmentId+"&firstLevelId="+this.firstLevelId},goToEdit:function(e){var t=0==e?"brand":"group";location.href="#/addGroup?groupId="+this.groupInfo.departmentId+"&type="+t+"&firstLevelId="+this.firstLevelId},addSuccess:function(){this.getGroupData(),this.$refs.add_brand.dialogVisible=!1},handleStoreSelection:function(e){var t=this,s={storeId:e.storeId};Object(r.a)("/haoban-manage-web/store/findStoreById",s).then(function(e){1==e.data.errorCode?(t.storeInfo=e.data.result,t.showEmployee="store"):t.$message.error({message:e.data.message})})},handleSizeChange:function(e){this.pageSize=e,this.getStoreList()},handleCurrentChange:function(e){this.pageNumber=e,this.getStoreList()},switchView:function(e){this.pageSize=20,this.pageNumber=1,this.storeList=[],this.showChildMember=!1,this.storeStatus="",this.getStoreList()},setChildMemberShow:function(e){this.showChildMember=e,this.getStoreList()},getGroupData:function(){var e=this;Object(r.a)("/haoban-manage-web/dept/deptList",{isStoreGroup:1}).then(function(t){1==t.data.errorCode?(e.menuData=t.data.result||[],t.data.result.some(function(t){return 0==t.level&&(e.groupInfo.departmentId=t.groupId,e.groupInfo.groupName=t.name,e.groupInfo.hasPression=t.hasPression,e.firstLevelId=t.chainId.split("-")[1],e.groupInfo.level=0),0==t.level}),e.getStoreList(),e.getRecycle()):(e.menuData=[],e.loading=!1,e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getStoreList:function(){var e=this;e.loading=!0;var t={storeGroupId:e.groupInfo.departmentId,showChild:1*e.showChildMember,showType:e.tableView,pageSize:e.pageSize,pageNum:e.pageNumber,status:e.storeStatus,storeType:e.storeType};Object(r.a)("/haoban-manage-web/store/findSimplePage",t).then(function(t){1==t.data.errorCode?(e.loading=!1,e.total=t.data.result.total,t.data.result.list&&t.data.result.list.length&&t.data.result.list.forEach(function(e,t){e.popVisible=!1,e.clerks&&e.clerks.length&&e.clerks.forEach(function(e,t){e.popVisible=!1})}),e.storeList=t.data.result.list||[]):(e.loading=!1,e.storeList=[],e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},handleTreeSelection:function(e,t,s){this.groupInfo.departmentId=e.groupId,this.firstLevelId=e.chainId.split("-")[1],this.groupInfo.groupName=e.name,this.groupInfo.brandId=e.brandId,this.showEmployee=s,this.groupInfo.hasPression=e.hasPression,this.groupInfo.level=e.level,this.storeStatus="",this.getStoreList(),this.getRecycle()},selectByStatus:function(e){this.storeStatus=e,this.getStoreList()},selectByType:function(e){this.storeType=e,this.getStoreList()},cancelClerkInfo:function(e){e&&(this.showEmployee="")},getRecycle:function(){var e=this,t={storeGroupId:e.groupInfo.departmentId};Object(r.a)("/haoban-manage-web/store/get-recycle-count",t).then(function(t){var s=t.data;1==s.errorCode?e.recycleCount=s.result:e.$message.error({duration:1e3,message:s.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},beforeMount:function(){this.getGroupData()},mounted:function(){this.disableBtn=!1}},_={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"common-set-wrap store-frame-wrap"},[s("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),s("div",{staticClass:"right-content"},[s("div",{staticClass:"right-box"},[s("div",{staticClass:"store-estrutura-container common-frame-container"},[s("search-menu",{ref:"searchMenu",attrs:{storeFrame:!0,treeData:e.menuData,searchResult:e.searchResult},on:{handleSearchKey:e.handleSearchKey,handleTreeSelection:e.handleTreeSelection,handleStoreSelection:e.handleStoreSelection,handleEmployeeSelection:e.handleEmployeeSelection}},[s("template",{slot:"buttonBox"},[s("div",{staticClass:"slot-button"},[s("el-button",{attrs:{disabled:e.disableBtn},on:{click:e.addBrand}},[e._v("新建品牌")]),e._v(" "),s("el-popover",{attrs:{placement:"right",width:"200",content:"若您的企业为集团企业,可通过新建品牌,不同品牌的门店可以创建在不同的品牌下面",trigger:"hover"}},[s("i",{staticClass:"el-icon-info",attrs:{slot:"reference"},slot:"reference"})])],1)])],2),e._v(" "),"employee"==e.showEmployee?s("clerk-info",{attrs:{perId:e.perId},on:{cancelClerkInfo:e.cancelClerkInfo}}):"store"==e.showEmployee?s("store-info",{ref:"store_info",attrs:{storeInfo:e.storeInfo}}):s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"sf-right-container common-right-container"},[s("div",{staticClass:"sf-right-header common-right-header"},[s("span",{staticClass:"title-span"},[e._v(e._s(e.groupInfo.groupName)+"("+e._s(e.total)+"家)")]),e._v(" "),s("span",{staticClass:"id-span"},[e._v("部门ID: "+e._s(e.groupInfo.departmentId))]),e._v(" "),s("span",{staticClass:"handle-area"},[s("el-button",{staticClass:"no-bdr-btn",attrs:{disabled:1!=e.groupInfo.hasPression},on:{click:e.addSon}},[e._v(" 添加子分组 ")]),s("span",{staticClass:"hurdle"}),s("el-button",{staticClass:"no-bdr-btn",attrs:{disabled:1!=e.groupInfo.hasPression},on:{click:function(t){e.goToEdit(e.groupInfo.level)}}},[e._v("\n 编辑\n ")])],1)]),e._v(" "),s("div",{staticClass:"tab-div"},[s("el-radio-group",{on:{change:e.switchView},model:{value:e.tableView,callback:function(t){e.tableView=t},expression:"tableView"}},[s("el-radio-button",{attrs:{label:1}},[e._v("门店视图")]),e._v(" "),s("el-radio-button",{attrs:{label:2}},[e._v("店员视图")])],1),e._v(" "),s("a",{staticClass:"a-href fr",attrs:{href:"#/recycle?dept="+e.groupInfo.departmentId+"&showChild=1&type="+e.storeType}},[s("el-button",{attrs:{type:"primary",icon:"el-icon-delete"}},[e._v("回收站("+e._s(e.recycleCount)+")")])],1)],1),e._v(" "),s("div",[1==e.tableView?[s("store-view",{attrs:{tableData:e.storeList,departmentId:e.groupInfo.departmentId,brandId:e.groupInfo.brandId,firstLevelId:e.firstLevelId},on:{setChildMemberShow:e.setChildMemberShow,getStoreList:e.getStoreList}})]:[s("clerk-view",{attrs:{tableData:e.storeList,firstLevelId:e.firstLevelId},on:{setChildMemberShow:e.setChildMemberShow,selectByStatus:e.selectByStatus,selectByType:e.selectByType}})]],2),e._v(" "),e.storeList.length?s("div",{staticClass:"pagination"},[s("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNumber,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()]),e._v(" "),s("add-brand",{ref:"add_brand",on:{addSuccess:e.addSuccess}})],1)])]),e._v(" "),s("vue-gic-footer")],1)},staticRenderFns:[]};var I=s("VU/8")(b,_,!1,function(e){s("SQDJ")},null,null);t.default=I.exports},ATfr:function(e,t,s){"use strict";var a=s("0xDb"),o={name:"searchMenu",components:{},props:{treeData:{type:Array,required:!0},searchResult:{type:Object,required:!0},storeFrame:{type:Boolean,default:!1}},data:function(){return{searchKey:"",searchResultShow:!1,myProps:{children:"childrens",label:"label",disabled:"disabled"},menuData:[],defaultOpen:[],defaultId:""}},methods:{clearFn:function(){this.searchResultShow=!1,this.$nextTick(function(){document.querySelector(".el-tree-node").classList.add("is-current")})},searchFn:function(){if(""==this.searchKey)return this.searchResultShow=!1,!1;this.searchResultShow=!0,this.$emit("handleSearchKey",this.searchKey)},handleNodeClick:function(e,t){e.id!=this.defaultId&&document.querySelector(".el-tree-node")&&document.querySelector(".el-tree-node").classList.remove("is-current"),this.defaultId=e.groupId,this.$emit("handleTreeSelection",e,t,"node")},selectEmployee:function(e){this.defaultId=e.employeeClerkId,this.$emit("handleEmployeeSelection",e,"employee")},handleStoreClick:function(e){this.$emit("handleStoreSelection",e,"store")}},filter:{},computed:{employeeList:function(){return this.searchResult.searchList?this.searchResult.searchList:[]},departmentList:function(){return this.searchResult.departmentList?this.searchResult.departmentList:[]},brandList:function(){return this.searchResult.brandList?this.searchResult.brandList:[]}},watch:{treeData:function(e,t){var s=this,o=Object(a.c)(e);s.defaultOpen=o.defaultOpen,s.menuData=o.menuArr,s.menuData.length&&s.$nextTick(function(){s.defaultId=s.menuData.length?s.menuData[0].id:"",document.querySelector(".el-tree-node").classList.add("is-current")})}}},r={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"searh-menu-container"},[s("div",{staticClass:"p-0-15"},[s("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"姓名/手机号/部门名称",clearable:""},on:{clear:e.clearFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}}),e._v(" "),e._t("buttonBox"),e._v(" "),e.searchResultShow?e._e():s("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:e.menuData,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node;return t.data,s("span",{staticClass:"custom-tree-node"},[s("i",{staticClass:"iconfont",class:1==a.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),s("span",[e._v(e._s(a.label))])])}}])})],2),e._v(" "),e.searchResultShow?s("div",{staticClass:"search-result-container m-t-15"},[e.storeFrame?[e._l(e.brandList,function(t,a){return[t.departmentList.length>0||t.storeList.length>0||t.searchList.length>0?s("div",{key:t.topDepartment.brandId+"_"+a},[s("div",[s("p",{staticClass:"brand-title"},[e._v(e._s(t.topDepartment.name))]),e._v(" "),t.departmentList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title store-frame-title"},[e._v("分组列表")]),e._v(" "),e._l(t.departmentList,function(t,a){return s("li",{key:a+"_"+t.groupId,staticClass:"group-item items",on:{click:function(s){e.handleNodeClick(t)}}},[s("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),t.storeList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title store-frame-title"},[e._v("门店列表")]),e._v(" "),e._l(t.storeList,function(t,a){return s("li",{key:a+"_"+t.storeGroupId,staticClass:"group-item items",on:{click:function(s){e.handleStoreClick(t)}}},[s("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.storeName)+"\n ")])})],2):e._e(),e._v(" "),t.searchList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title store-frame-title"},[e._v("人员列表")]),e._v(" "),e._l(t.searchList,function(t,a){return s("li",{key:a+"_"+t.employeeClerkId,staticClass:"person-item items",on:{click:function(s){e.selectEmployee(t)}}},[s("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),s("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e()])]):e._e()]}),e._v(" "),e.brandList.length<1?s("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]:[e.departmentList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title"},[e._v("部门列表")]),e._v(" "),e._l(e.departmentList,function(t,a){return s("li",{key:a+"_"+t.groupId,class:["group-item items",e.defaultId==t.groupId?"active-item":""],on:{click:function(s){e.handleNodeClick(t)}}},[s("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.employeeList.length>0?s("ul",{staticClass:"search-result-ul"},[s("p",{staticClass:"title"},[e._v("人员列表")]),e._v(" "),e._l(e.employeeList,function(t,a){return s("li",{key:a+"_"+t.employeeClerkId,class:["person-item items",e.defaultId==t.employeeClerkId?"active-item":""],on:{click:function(s){e.selectEmployee(t)}}},[s("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n "),s("span",{staticClass:"from-group"},[e._v(e._s(t.departmentName))])])})],2):e._e(),e._v(" "),e.departmentList.length<1&&e.employeeList.length<1?s("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]],2):e._e()])},staticRenderFns:[]};var n=s("VU/8")(o,r,!1,function(e){s("BkoW")},null,null);t.a=n.exports},BkoW:function(e,t){},F4GR:function(e,t){},SQDJ:function(e,t){},Xjrh:function(e,t){},fAiH:function(e,t){},oncj:function(e,t,s){"use strict";var a=s("Ie7z"),o=s("P9l9"),r=s("PI0u"),n={name:"clerk-info-form",props:{isAddnew:{type:Boolean,default:!1},perId:{type:[String,Number],default:""},firstLevelId:{type:[String,Number],default:""},storeType:{type:[String,Number],default:""}},components:{vueSelectStore:a.a},data:function(){return{rules:{name:[{required:!0,message:"请输入店员姓名",trigger:"blur"},{min:2,max:10,message:"长度在 2 到 10 个字符",trigger:"blur"}],phoneNumber:[{required:!0,validator:function(e,t,s){if(t)return/^1[34578]\d{9}$/.test(t)?s():s(new Error("手机号格式不正确"));return s(new Error("请输入手机号"))},trigger:"blur"}],storeName:[{required:!0,message:"请选择门店",trigger:"change"}],code:[{required:!0,message:"请输入code",trigger:"blur"},{min:2,max:20,message:"长度在 2 到 20 个字符",trigger:"blur"}],positionName:[{required:!0,message:"请输入店员职位",trigger:"blur"}]},clerkInfo:{storeName:"",storeId:"",managerMode:!1},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0,groupId:"",storeType:"",openNextBool:!0}}},methods:{toInput:Object(r.a)(function(e){var t=e.target.value.match(/[A-Za-z0-9]/g);t?(t=t.join(""),this.clerkInfo.code=t):this.clerkInfo.code=""},500),saveFn:function(e){var t=!0;this.$refs.clerk_info.validate(function(e){e||(t=!1)}),t&&this.addEmployee(this.clerkInfo,e)},callSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.clerkInfo.storeName=e&&e.length?e[0].label:"",this.clerkInfo.storeId=e&&e.length?e[0].id:""},addEmployee:function(e,t){var s=this,a={name:e.name,isClerk:1,phoneNumber:e.phoneNumber,positionName:e.positionName,storeId:e.storeId,managerMode:1*e.managerMode,code:e.code,employeeClerkId:e.employeeClerkId||""},r=s.isAddnew?"/haoban-manage-web/emp/add":"/haoban-manage-web/emp/update";Object(o.a)(r,a).then(function(e){1==e.data.errorCode?(s.$message.success({message:"操作成功"}),1==t?s.clerkInfo={name:"",isClerk:1,phoneNumber:"",positionName:"",storeId:"",managerMode:!1,code:""}:s.$router.push("/storeFrame")):s.$message.error({message:e.data.message})}).catch(function(e){s.$message.error({message:e.message})})},cancel:function(){var e=this;this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(e){})},getClerkInfo:function(){var e=this,t={id:e.$route.query.clerkId?e.$route.query.clerkId:e.perId};Object(o.a)("/haoban-manage-web/emp/findOne",t).then(function(t){1==t.data.errorCode?e.clerkInfo=t.data.result:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t})})}},beforeMount:function(){this.treeSet.storeType=this.storeType,this.treeSet.groupId=this.firstLevelId,this.isAddnew||this.getClerkInfo()},watch:{perId:function(e,t){this.getClerkInfo(e)}}},l={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"form-container bdr-box"},[s("el-form",{ref:"clerk_info",staticClass:"add-clerk-form",attrs:{model:e.clerkInfo,rules:e.rules,"label-width":"80px"}},[s("el-form-item",{attrs:{label:"姓名",prop:"name"}},[s("el-input",{model:{value:e.clerkInfo.name,callback:function(t){e.$set(e.clerkInfo,"name",t)},expression:"clerkInfo.name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"手机号",prop:"phoneNumber"}},[s("el-input",{attrs:{disabled:!e.isAddnew},model:{value:e.clerkInfo.phoneNumber,callback:function(t){e.$set(e.clerkInfo,"phoneNumber",t)},expression:"clerkInfo.phoneNumber"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"门店",prop:"storeName"}},[s("el-input",{on:{focus:e.callSelector},model:{value:e.clerkInfo.storeName,callback:function(t){e.$set(e.clerkInfo,"storeName",t)},expression:"clerkInfo.storeName"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"code",prop:"code"}},[s("el-input",{nativeOn:{keyup:function(t){return s=t,e.toInput(s);var s}},model:{value:e.clerkInfo.code,callback:function(t){e.$set(e.clerkInfo,"code",t)},expression:"clerkInfo.code"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"职位",prop:"positionName"}},[s("el-input",{model:{value:e.clerkInfo.positionName,callback:function(t){e.$set(e.clerkInfo,"positionName",t)},expression:"clerkInfo.positionName"}})],1)],1),e._v(" "),s("div",{staticClass:"btn-box"},[s("el-button",{attrs:{type:"primary"},on:{click:e.saveFn}},[e._v("保 存")]),e._v(" "),e.isAddnew?s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveFn(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),s("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1),e._v(" "),s("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:"store"},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var i=s("VU/8")(n,l,!1,function(e){s("F4GR")},null,null);t.a=i.exports},qsKc:function(e,t,s){"use strict";var a=s("P9l9"),o={name:"store-detail",components:{vueSelectStore:s("Ie7z").a},props:{storeInfo:{type:Object,default:function(){return{}}}},data:function(){return{areaChainName:"",location:"",areaOptions:{},imgs:[],uploadUrl:"/haoban-manage-web/upload-img",treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},selectType:"group"}},methods:{callSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.storeInfo.departmentName=e[0].label,this.storeInfo.storeGroupId=e[0].id},selected:function(e){this.areaChainName=e.provinceName+"/"+e.cityName+"/"+e.countryName},uploadOnSuccess:function(e,t){e.file.url=e.res.result[0].qcloudImageUrl,t.push(e.file)},sortImg:function(){},deleteImage:function(){},save:function(){var e=this,t=e.location.split(",");e.storeInfo.longitude=t[0],e.storeInfo.latitude=2!==t.length?"":t[1],e.storeInfo.managerPhone=e.storeInfo.managerPhoneNumber,e.storeInfo.areaChainName=e.areaOptions.provinceName+"/"+e.areaOptions.cityName+"/"+e.areaOptions.countryName;var s=e.storeInfo,o=[];e.imgs.forEach(function(e){o.push(e.url)}),s.imageUrls=o.join(","),Object(a.a)("/haoban-manage-web/store/update",s).then(function(t){console.log(t,"eidt result"),1==t.data.errorCode?e.$message.success({message:"操作成功!"}):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatStoreInfo:function(e){var t=(e.areaChainName||"").split("/");this.areaOptions={provinceName:t[0],provinceId:e.provinceId,cityName:t[1],cityId:e.cityId,countryName:t[2],countyId:e.countyId},this.imgs=e.imageUrl?e.imageUrl.split(","):[];var s=[];this.imgs.forEach(function(e){s.push({url:e})}),this.imgs=s,this.location=e.longitude+","+e.latitude}},mounted:function(){this.formatStoreInfo(this.storeInfo)},watch:{$route:function(e){console.log(e,"to")}}},r={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"store-info"},[s("div",{staticClass:"info-cell"},[s("p",{staticClass:"title"},[e._v("门店信息")]),e._v(" "),s("el-form",{staticClass:"store-info-form info-form",attrs:{"label-width":"90px"}},[s("el-form-item",{attrs:{label:"门店名称",prop:"name"}},[s("el-input",{model:{value:e.storeInfo.storeName,callback:function(t){e.$set(e.storeInfo,"storeName",t)},expression:"storeInfo.storeName"}},[s("template",{slot:"suffix"},[e._v(e._s(e.storeInfo.storeName?e.storeInfo.storeName.length:0)+"/20")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"所属分组",prop:"departmentName"}},[s("el-input",{on:{focus:e.callSelector},model:{value:e.storeInfo.departmentName,callback:function(t){e.$set(e.storeInfo,"departmentName",t)},expression:"storeInfo.departmentName"}},[s("i",{staticClass:"el-input__icon el-icon-arrow-down",attrs:{slot:"suffix"},slot:"suffix"})])],1),e._v(" "),s("el-form-item",{attrs:{label:"门店图片(640*340)",prop:"imageUrls"}},[s("div",{staticClass:"member-upload-image"},[s("vue-office-upload-image",{attrs:{projectName:"haoban-manage-web",wxFlag:"0",actionUrl:e.uploadUrl,imageList:e.imgs,limitW:640,limitH:340,maxImageLength:5},on:{uploadOnSuccess:e.uploadOnSuccess,sortImg:e.sortImg,deleteImage:e.deleteImage}})],1)]),e._v(" "),s("el-form-item",{attrs:{label:"联系电话",prop:"phoneNumber"}},[s("el-input",{model:{value:e.storeInfo.phoneNumber,callback:function(t){e.$set(e.storeInfo,"phoneNumber",t)},expression:"storeInfo.phoneNumber"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"营业时间",prop:"phoneNumber"}},[s("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",step:"00:05",end:"24:00"}},model:{value:e.storeInfo.openTime,callback:function(t){e.$set(e.storeInfo,"openTime",t)},expression:"storeInfo.openTime"}}),e._v("\n ~\n "),s("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",step:"00:05",end:"24:00",minTime:e.storeInfo.openTime}},model:{value:e.storeInfo.closeTime,callback:function(t){e.$set(e.storeInfo,"closeTime",t)},expression:"storeInfo.closeTime"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"门店类型"}},[s("el-radio-group",{model:{value:e.storeInfo.storeType,callback:function(t){e.$set(e.storeInfo,"storeType",t)},expression:"storeInfo.storeType"}},[s("el-radio",{attrs:{label:0}},[e._v("自营")]),e._v(" "),s("el-radio",{attrs:{label:1}},[e._v("联营")]),e._v(" "),s("el-radio",{attrs:{label:2}},[e._v("代理")]),e._v(" "),s("el-radio",{attrs:{label:3}},[e._v("代销")]),e._v(" "),s("el-radio",{attrs:{label:4}},[e._v("托管")])],1)],1),e._v(" "),s("el-form-item",{attrs:{label:"门店地址"}},[s("vue-office-area",{attrs:{areaOptions:e.areaOptions,projectName:"haoban-web",postUrl:"/api-admin/dict-district-list"},on:{selected:e.selected}}),e._v(" "),s("el-input",{model:{value:e.storeInfo.postAddress,callback:function(t){e.$set(e.storeInfo,"postAddress",t)},expression:"storeInfo.postAddress"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.postAddress||"").length)+"/50")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"GPS坐标"}},[s("el-input",{staticClass:"m-r-10",model:{value:e.location,callback:function(t){e.location=t},expression:"location"}}),e._v(" "),s("a",{staticClass:"a-href",attrs:{href:"http://m.gpsspg.com/maps.htm",target:"_blank"}},[e._v("经纬度测试工具")])],1),e._v(" "),s("el-form-item",[s("template",{slot:"label"},[e._v("\n 门店代码\n "),s("i",{staticClass:"el-icon-question",staticStyle:{color:"#C0C4CC"}})]),e._v(" "),s("el-input",{model:{value:e.storeInfo.storeCode,callback:function(t){e.$set(e.storeInfo,"storeCode",t)},expression:"storeInfo.storeCode"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.storeCode||"").length)+"/20")])],2)],2)],1)],1),e._v(" "),s("div",{staticClass:"info-cell"},[s("p",{staticClass:"title"},[e._v("店长信息")]),e._v(" "),s("el-form",{staticClass:"store-manager-info-form info-form",attrs:{"label-width":"90px"}},[s("el-form-item",{attrs:{label:"店长姓名",prop:"name"}},[s("el-input",{model:{value:e.storeInfo.managerName,callback:function(t){e.$set(e.storeInfo,"managerName",t)},expression:"storeInfo.managerName"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerName||"").length)+"/10")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[s("el-input",{attrs:{disabled:""},model:{value:e.storeInfo.managerPhoneNumber,callback:function(t){e.$set(e.storeInfo,"managerPhoneNumber",t)},expression:"storeInfo.managerPhoneNumber"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"店长性别"}},[s("el-radio-group",{model:{value:e.storeInfo.managerSex,callback:function(t){e.$set(e.storeInfo,"managerSex",t)},expression:"storeInfo.managerSex"}},[s("el-radio",{attrs:{label:1}},[e._v("男")]),e._v(" "),s("el-radio",{attrs:{label:2}},[e._v("女")])],1)],1),e._v(" "),s("el-form-item",{attrs:{label:"店长代码"}},[s("el-input",{model:{value:e.storeInfo.managerCode,callback:function(t){e.$set(e.storeInfo,"managerCode",t)},expression:"storeInfo.managerCode"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerCode||"").length)+"/20")])],2)],1)],1)],1),e._v(" "),s("div",{staticClass:"info-cell"},[s("p",{staticClass:"title"},[e._v("经营信息")]),e._v(" "),s("el-form",{staticClass:"operate-info-form info-form",attrs:{"label-width":"90px"}},[s("el-form-item",{attrs:{label:"特色服务"}},[s("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.specialService,callback:function(t){e.$set(e.storeInfo,"specialService",t)},expression:"storeInfo.specialService"}}),e._v(" "),s("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.specialService||"").length)+"/20")])],1),e._v(" "),s("el-form-item",{attrs:{label:"人均消费"}},[s("el-input",{model:{value:e.storeInfo.personCost,callback:function(t){e.$set(e.storeInfo,"personCost",t)},expression:"storeInfo.personCost"}},[s("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.personCost+"").length)+"/10")])],2)],1),e._v(" "),s("el-form-item",{attrs:{label:"推荐商品"}},[s("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.recommendGoods,callback:function(t){e.$set(e.storeInfo,"recommendGoods",t)},expression:"storeInfo.recommendGoods"}}),e._v(" "),s("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/100")])],1),e._v(" "),s("el-form-item",{attrs:{label:"品牌介绍"}},[s("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.brandDes,callback:function(t){e.$set(e.storeInfo,"brandDes",t)},expression:"storeInfo.brandDes"}}),e._v(" "),s("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/200")])],1)],1)],1),e._v(" "),s("div",{staticClass:"handle-area"},[s("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1),e._v(" "),s("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:e.selectType,forbidenList:[e.storeInfo.storeGroupId]},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var n=s("VU/8")(o,r,!1,function(e){s("77K1")},null,null);t.a=n.exports}});
\ No newline at end of file
webpackJsonp([49],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),n=a("P9l9"),r=a("MJLE"),i=a.n(r),o={name:"shareCode",components:{navCrumb:s.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"共享通讯录",path:""}],regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},methods:{getCode:function(){var e=this,t={regenerate:arguments.length>0&&void 0!==arguments[0]&&arguments[0]};Object(n.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",t).then(function(t){1==t.data.errorCode?e.qrcode(t.data.result.qrCodeContent):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new i.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},getShareRelation:function(){var e=this;Object(n.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){1==t.data.errorCode?(e.shares=t.data.result||[],e.shares.length>0&&(e.myEnterprise=t.data.result[0].exportEnterpriseName)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(n.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.downloadCode}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),e.shares.length>0?a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(o,c,!1,function(e){a("X8hA")},null,null);t.default=d.exports},X8hA:function(e,t){}}); webpackJsonp([50],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),n=a("P9l9"),r=a("MJLE"),i=a.n(r),o={name:"shareCode",components:{navCrumb:s.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"共享通讯录",path:""}],regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},methods:{getCode:function(){var e=this,t={regenerate:arguments.length>0&&void 0!==arguments[0]&&arguments[0]};Object(n.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",t).then(function(t){1==t.data.errorCode?e.qrcode(t.data.result.qrCodeContent):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new i.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},getShareRelation:function(){var e=this;Object(n.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){1==t.data.errorCode?(e.shares=t.data.result||[],e.shares.length>0&&(e.myEnterprise=t.data.result[0].exportEnterpriseName)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(n.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.downloadCode}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),e.shares.length>0?a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(o,c,!1,function(e){a("X8hA")},null,null);t.default=d.exports},X8hA:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([50],{"4m/B":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访记录",path:"/badEvaluateRecord"},{id:"2",name:"记录详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={taskType:0,storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,isAll:t.selectRadio};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId,brandId:a.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/del-one",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",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:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v(e._s(t.row?"完成备注":"放弃备注"))])]}},{key:"default",fn:function(e){return[a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:e.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu"})])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["已完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?t.row.reason:""}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"放弃备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["未完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?"":t.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var m=a("VU/8")(f,p,!1,function(e){a("jSPD")},"data-v-452c9d9c",null);t.default=m.exports},jSPD:function(e,t){}}); webpackJsonp([51],{"4m/B":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访记录",path:"/badEvaluateRecord"},{id:"2",name:"记录详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={taskType:0,storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,isAll:t.selectRadio};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId,brandId:a.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/del-one",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",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:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v(e._s(t.row?"完成备注":"放弃备注"))])]}},{key:"default",fn:function(e){return[a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:e.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu"})])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["已完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?t.row.reason:""}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"放弃备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["未完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?"":t.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[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("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var m=a("VU/8")(f,p,!1,function(e){a("jSPD")},"data-v-452c9d9c",null);t.default=m.exports},jSPD:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([51],{H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var n=i("VU/8")(s,a,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=n.exports},"SvI+":function(t,e){}}); webpackJsonp([52],{H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var n=i("VU/8")(s,a,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=n.exports},"SvI+":function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([52],{j20f:function(t,e){},"s4D+":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("j20f")},"data-v-37f2cf5d",null);e.default=c.exports}}); webpackJsonp([53],{j20f:function(t,e){},"s4D+":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("j20f")},"data-v-37f2cf5d",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([53],{cuIN:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),c=a("Qie6"),i={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",appName:"我的顾客",appIcon:"",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员搜索设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"}],activeBrand:"1"}},computed:{},methods:{selectBrandId:function(t){this.activeBrand=t},setSelectTab:function(t){this.activeTab=t.tabId}},watch:{activeBrand:function(t,e){this.activeBrand=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.$store.state.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{height:t.$store.state.bgHeight}},[a("div",{staticClass:"apps-content-left w-157"},[a("common-detail-left",{attrs:{tabListData:t.tabListData},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("app-detail",{attrs:{brandId:t.activeBrand,tabType:t.activeTab}})],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(i,s,!1,function(t){a("o758")},"data-v-3739bb16",null);e.default=r.exports},o758:function(t,e){}});
\ No newline at end of file
webpackJsonp([8],{Bpxv:function(a,t){a.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAACuCAMAAACoXtf9AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcVSn/nW6/8nk/63T/2Gt/5PH/8nj/8rk/8rk/2y0/5/N/4XB/0Kf/X+9/V2o+Mrk/4K58SiU/ovD/srl/8nj/0mf+crl/1Gm/yiU/ieS+srl/y+U+CaS+hOI+cHg/8nj/73Z/yCO+SiT/ieU/Vqs/jGX/CWQ+SSN9MXi/7/d/yeQ+iqU/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Q1bOgA7auWoKjM84dW9K9bIW2IZVM0krYAHyImQhL0NB4RZE7WtMEk8mZweudUr9PGD3UfWYX90F/z9qeFl0KWPRKxWmKUKF50VJbIJvXG7XgH5lhkbyXkjtCLdqlujxJkJ/N3dMZvimUs7L2bwC0dRCVwW92+rQXhNz8KIqLA27J1q790Ry+yBPnuCupLJMmWvmQQ3AeqQN/Q5B/9KpaxdaYg4b17zAqBpuYntNjHR0y92cJHI0Ag9vtVZ5KvSnk9DeC6/1MzY6MxnVNwop6nAN5o5NO7ubsUymkWkU04mfkX675OqEDl5K8a0Rj+qWGM17vyaZ/ye82cjpCQmACi196IS+vApWftdj50or3k+/hk3DoNFuyhS+9NHlvdmW91LLQA35tf3kqJYPGHoEhIZVas1JaP+l12XDfL+p7pQxfB+AeswSev0ndG8UpsTcD6dx3TMmiOhRcytmgv647vLpyL7eqSMXGJ2YjOpuYIja/iefqnSB9vdWyb7A+O9Ty8YsT+yvsfHdY9Drqzp0D1ZHVN1Awy8hqMM9aDyigRa0rzcLUQ6NeQy/RFvF1grFyl/xAwJff+HyuXuU2fBLHt9eMaYd6r9/vz4J4QjaPRzA+npZw76JacMOJCj1oBJ89YW7r/eF6XZgyzZevTPWdyUUGJ2ZMlZV+OqDK1LqWOeeRNGOvvkz0HeVNOaZxp0eW/rgD6bHtoPPQz3TAAAAAElFTkSuQmCC"},CSjr:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("3Xzz"),i={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"staff-info-panel"},[e("div",{staticClass:"info-title m-b-50 font-16 color-303133"},[a._v("员工档案信息将应用在以下两个地方")]),a._v(" "),a._m(0),a._v(" "),e("div",{staticClass:"info-btn m-t-60 font-14"},[e("el-button",{attrs:{type:"primary"},on:{click:function(t){a.$router.push("/staffRecordsTemplate")}}},[a._v("进入档案设置")])],1)])},staticRenderFns:[function(){var a=this.$createElement,t=this._self._c||a;return t("div",{staticClass:"flex flex-align-center"},[t("div",{staticClass:"flex-1"},[t("img",{attrs:{src:e("aNcm"),alt:""}}),this._v(" "),t("p",{staticClass:"m-t-20 font-14 color-606266"},[this._v("个人信息页展示")])]),this._v(" "),t("div",{staticClass:"flex-1"},[t("img",{attrs:{src:e("Bpxv"),alt:""}}),this._v(" "),t("p",{staticClass:"m-t-20 font-14 color-606266"},[this._v("员工档案")])])])}]};var s=e("VU/8")({name:"staff-info-set",data:function(){return{}},methods:{},components:{}},i,!1,function(a){e("lHV3")},"data-v-6bb7dfa2",null).exports,r=e("3E4D"),o=e("Ch4/"),c=e("PI0u"),m=e("P9l9"),l={name:"staff-info-set",data:function(){return{activeName:"",brandList:[],probObj:{probationDay:"",probationMonth:""}}},methods:{handleChange:function(a){},saveSet:Object(c.a)(function(){var a=this;if(""!=a.probObj.probationDay&&""!=a.probObj.probationMonth){var t={day:a.probObj.probationDay,month:a.probObj.probationMonth};Object(m.c)("/haoban-manage-web/enterprise-probation-period-setting.json",t).then(function(a){var t=a.data;1!=t.errorCode?o.a.errorMsg(t):r.a.showmsg("保存成功","success")}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}else a.$message.error({duration:1e3,message:"请设置时间"})},500),getBrandData:function(){var a=this;Object(m.c)("/haoban-manage-web/brand/list",{}).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&e.result.length&&(a.brandList=e.result,a.activeName=e.result[0].groupId,a.getStoreAuth(e.result[0].groupId,0))}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getProbData:function(){var a=this;Object(m.c)("/haoban-manage-web/find-enterprise-probation-period",{}).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&e.result.length&&(a.probObj=e.result)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getProbData()},components:{}},u={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"staff-prob-panel"},[e("div",{staticClass:"depart-cell"},[e("div",{staticClass:"m-t-24"},[e("span",{staticClass:"font-14 color-606266 p-r-12"},[a._v("设置企业试用期时间")]),e("el-input-number",{attrs:{"controls-position":"right",min:0,max:31},on:{change:a.handleChange},model:{value:a.probObj.probationDay,callback:function(t){a.$set(a.probObj,"probationDay",t)},expression:"probObj.probationDay"}}),e("span",{staticClass:"font-14 color-606266 p-l-12"},[a._v(" 天 ")]),e("span",{staticClass:"font-14 color-606266 p-l-12 p-r-12"},[a._v(" + ")]),e("el-input-number",{attrs:{"controls-position":"right",min:0,max:6},on:{change:a.handleChange},model:{value:a.probObj.probationMonth,callback:function(t){a.$set(a.probObj,"probationMonth",t)},expression:"probObj.probationMonth"}}),e("span",{staticClass:"font-14 color-606266 p-l-12"},[a._v("月")])],1),a._v(" "),e("div",{staticClass:"p-l-138 m-t-24"},[e("el-button",{attrs:{type:"primary"},on:{click:a.saveSet}},[a._v("保 存")])],1)])])},staticRenderFns:[]};var b=e("VU/8")(l,u,!1,function(a){e("LZ3/")},"data-v-04c319b7",null).exports,p={name:"fileSet",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"档案设置",path:""}],activeName:"first"}},computed:{},methods:{},mounted:function(){},components:{navCrumb:n.a,staffInfoSet:s,staffProbSet:b}},A={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"fileSet-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath}}),a._v(" "),e("div",{staticClass:"staff-contain-set"},[e("el-tabs",{model:{value:a.activeName,callback:function(t){a.activeName=t},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"档案字段设置",name:"first"}},[e("staffInfoSet")],1),a._v(" "),e("el-tab-pane",{attrs:{label:"试用期时间设置",name:"second"}},[e("staffProbSet")],1)],1)],1),a._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var f=e("VU/8")(p,A,!1,function(a){e("qTci")},"data-v-1774d4f7",null);t.default=f.exports},"LZ3/":function(a,t){},aNcm:function(a,t){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PrSNFEZ1RBRpSYvAx4PkEqiJ70SR9ebIDxBHsi89hsigmzuKDEz0fprFkpaMnx2T2Dcj4hfHx0TEwh8f253oVJ147iialQkWMjIGb4CQsa/ZeUUb564VBGJ5O0tJxPoBBKEowubmtpp1CebhP4TJ0n9nMZGL/dCPigwZ4rlYiALRyDSr/QQCDaw2S+a7hTDIhwCyDkCW++tlzGqjwtfEolmXSYGszDRbPlwg99crbUVy1Mz6ArI60zL8ewSSACAasV7pJxJo743CvUWjyVmdUJ2wOkejWZk2jDQjlqX673WpKm2qQhBL0ubNuZu3bPlTWO7m3NyPGv6YhP4ZppD78ZXDIm0KBPQsLJrc+Vg2JlGfG5LotiXFr++QjQYWsfcwStpIgWg+5oIgpSgJv4oIbOTdd3M3btgwfyN8fgyfLAh4itzfg7dKa8yQeVaMRpMEgj4l+JOtzP4nARa1AYzkY96VyJREIESkNOiRxwiHEWcE7J330VqjXgHds0AaiZYIoIBmshQ6cZgAO4XJiQCLSq01ZilgsvCKI9ZFE29AQlVquTElQ4cndYmbsVA7qyXenKhEaq0hNStDoZNwnvpAAVdkyUXEmxf0KE4pN6SmpmTps1JSDVo1S/F/Yg/RynYfc/EAAAAASUVORK5CYII="},lHV3:function(a,t){},qTci:function(a,t){}});
\ No newline at end of file
webpackJsonp([8],{"1UQ6":function(a,t){},Bpxv:function(a,t){a.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAACuCAMAAACoXtf9AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcVSn/nW6/8nk/63T/2Gt/5PH/8nj/8rk/8rk/2y0/5/N/4XB/0Kf/X+9/V2o+Mrk/4K58SiU/ovD/srl/8nj/0mf+crl/1Gm/yiU/ieS+srl/y+U+CaS+hOI+cHg/8nj/73Z/yCO+SiT/ieU/Vqs/jGX/CWQ+SSN9MXi/7/d/yeQ+iqU/mCv/1+v/7jb/6nR/srl/wKI/8nk/2Cu/9nq/8nk/xiQ/ymV/ym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8mZweudUr9PGD3UfWYX90F/z9qeFl0KWPRKxWmKUKF50VJbIJvXG7XgH5lhkbyXkjtCLdqlujxJkJ/N3dMZvimUs7L2bwC0dRCVwW92+rQXhNz8KIqLA27J1q790Ry+yBPnuCupLJMmWvmQQ3AeqQN/Q5B/9KpaxdaYg4b17zAqBpuYntNjHR0y92cJHI0Ag9vtVZ5KvSnk9DeC6/1MzY6MxnVNwop6nAN5o5NO7ubsUymkWkU04mfkX675OqEDl5K8a0Rj+qWGM17vyaZ/ye82cjpCQmACi196IS+vApWftdj50or3k+/hk3DoNFuyhS+9NHlvdmW91LLQA35tf3kqJYPGHoEhIZVas1JaP+l12XDfL+p7pQxfB+AeswSev0ndG8UpsTcD6dx3TMmiOhRcytmgv647vLpyL7eqSMXGJ2YjOpuYIja/iefqnSB9vdWyb7A+O9Ty8YsT+yvsfHdY9Drqzp0D1ZHVN1Awy8hqMM9aDyigRa0rzcLUQ6NeQy/RFvF1grFyl/xAwJff+HyuXuU2fBLHt9eMaYd6r9/vz4J4QjaPRzA+npZw76JacMOJCj1oBJ89YW7r/eF6XZgyzZevTPWdyUUGJ2ZMlZV+OqDK1LqWOeeRNGOvvkz0HeVNOaZxp0eW/rgD6bHtoPPQz3TAAAAAElFTkSuQmCC"},CSjr:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("3Xzz"),i={name:"staff-info-set",data:function(){return{windowH:window.screen.availHeight-500+"px"}},methods:{},components:{}},s={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"staff-info-panel",style:{height:a.windowH}},[e("div",{staticClass:"info-title m-b-50 font-16 color-303133"},[a._v("员工档案信息将应用在以下两个地方")]),a._v(" "),a._m(0),a._v(" "),e("div",{staticClass:"info-btn m-t-60 font-14"},[e("el-button",{attrs:{type:"primary"},on:{click:function(t){a.$router.push("/staffRecordsTemplate")}}},[a._v("进入档案设置")])],1)])},staticRenderFns:[function(){var a=this.$createElement,t=this._self._c||a;return t("div",{staticClass:"flex flex-align-center"},[t("div",{staticClass:"flex-1"},[t("img",{attrs:{src:e("aNcm"),alt:""}}),this._v(" "),t("p",{staticClass:"m-t-20 font-14 color-606266"},[this._v("个人信息页展示")])]),this._v(" "),t("div",{staticClass:"flex-1"},[t("img",{attrs:{src:e("Bpxv"),alt:""}}),this._v(" "),t("p",{staticClass:"m-t-20 font-14 color-606266"},[this._v("员工档案")])])])}]};var r=e("VU/8")(i,s,!1,function(a){e("v1/W")},"data-v-3f2a8238",null).exports,o=e("3E4D"),c=e("Ch4/"),m=e("PI0u"),l=e("P9l9"),u={name:"staff-info-set",data:function(){return{windowH:window.screen.availHeight-500-48+"px",activeName:"",brandList:[],probObj:{probationDay:"",probationMonth:""}}},methods:{handleChange:function(a){},saveSet:Object(m.a)(function(){var a=this;if(""!=a.probObj.probationDay&&""!=a.probObj.probationMonth){var t={day:a.probObj.probationDay,month:a.probObj.probationMonth};Object(l.c)("/haoban-manage-web/enterprise-probation-period-setting.json",t).then(function(a){var t=a.data;1!=t.errorCode?c.a.errorMsg(t):o.a.showmsg("保存成功","success")}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}else a.$message.error({duration:1e3,message:"请设置时间"})},500),getBrandData:function(){var a=this;Object(l.c)("/haoban-manage-web/brand/list",{}).then(function(t){var e=t.data;1!=e.errorCode?c.a.errorMsg(e):e.result&&e.result.length&&(a.brandList=e.result,a.activeName=e.result[0].groupId,a.getStoreAuth(e.result[0].groupId,0))}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getProbData:function(){var a=this;Object(l.c)("/haoban-manage-web/find-enterprise-probation-period",{}).then(function(t){var e=t.data;1!=e.errorCode?c.a.errorMsg(e):e.result&&e.result.length&&(a.probObj=e.result)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getProbData()},components:{}},b={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"staff-prob-panel",style:{height:a.windowH}},[e("div",{staticClass:"depart-cell"},[e("div",{staticClass:"m-t-24"},[e("span",{staticClass:"font-14 color-606266 p-r-12"},[a._v("设置企业试用期时间")]),e("el-input-number",{attrs:{"controls-position":"right",min:0,max:31},on:{change:a.handleChange},model:{value:a.probObj.probationDay,callback:function(t){a.$set(a.probObj,"probationDay",t)},expression:"probObj.probationDay"}}),e("span",{staticClass:"font-14 color-606266 p-l-12"},[a._v(" 天 ")]),e("span",{staticClass:"font-14 color-606266 p-l-12 p-r-12"},[a._v(" + ")]),e("el-input-number",{attrs:{"controls-position":"right",min:0,max:6},on:{change:a.handleChange},model:{value:a.probObj.probationMonth,callback:function(t){a.$set(a.probObj,"probationMonth",t)},expression:"probObj.probationMonth"}}),e("span",{staticClass:"font-14 color-606266 p-l-12"},[a._v("月")])],1),a._v(" "),e("div",{staticClass:"p-l-138 m-t-24"},[e("el-button",{attrs:{type:"primary"},on:{click:a.saveSet}},[a._v("保 存")])],1)])])},staticRenderFns:[]};var p=e("VU/8")(u,b,!1,function(a){e("x2eH")},"data-v-6020a494",null).exports,A={name:"fileSet",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"档案设置",path:""}],activeName:"first"}},computed:{},methods:{},mounted:function(){},components:{navCrumb:n.a,staffInfoSet:r,staffProbSet:p}},d={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"fileSet-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath}}),a._v(" "),e("div",{staticClass:"staff-contain-set"},[e("el-tabs",{model:{value:a.activeName,callback:function(t){a.activeName=t},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"档案字段设置",name:"first"}},[e("staffInfoSet")],1),a._v(" "),e("el-tab-pane",{attrs:{label:"试用期时间设置",name:"second"}},[e("staffProbSet")],1)],1)],1),a._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var f=e("VU/8")(A,d,!1,function(a){e("1UQ6")},"data-v-db2a479a",null);t.default=f.exports},aNcm:function(a,t){a.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SNFEZ1RBRpSYvAx4PkEqiJ70SR9ebIDxBHsi89hsigmzuKDEz0fprFkpaMnx2T2Dcj4hfHx0TEwh8f253oVJ147iialQkWMjIGb4CQsa/ZeUUb564VBGJ5O0tJxPoBBKEowubmtpp1CebhP4TJ0n9nMZGL/dCPigwZ4rlYiALRyDSr/QQCDaw2S+a7hTDIhwCyDkCW++tlzGqjwtfEolmXSYGszDRbPlwg99crbUVy1Mz6ArI60zL8ewSSACAasV7pJxJo743CvUWjyVmdUJ2wOkejWZk2jDQjlqX673WpKm2qQhBL0ubNuZu3bPlTWO7m3NyPGv6YhP4ZppD78ZXDIm0KBPQsLJrc+Vg2JlGfG5LotiXFr++QjQYWsfcwStpIgWg+5oIgpSgJv4oIbOTdd3M3btgwfyN8fgyfLAh4itzfg7dKa8yQeVaMRpMEgj4l+JOtzP4nARa1AYzkY96VyJREIESkNOiRxwiHEWcE7J330VqjXgHds0AaiZYIoIBmshQ6cZgAO4XJiQCLSq01ZilgsvCKI9ZFE29AQlVquTElQ4cndYmbsVA7qyXenKhEaq0hNStDoZNwnvpAAVdkyUXEmxf0KE4pN6SmpmTps1JSDVo1S/F/Yg/RynYfc/EAAAAASUVORK5CYII="},"v1/W":function(a,t){},x2eH:function(a,t){}});
\ No newline at end of file
webpackJsonp([71],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),r=(n("j1ja"),n("hKoQ")),p=n.n(r),i=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("/NA0")},null,null).exports,d=n("/ocq"),m=n("5tgt"),u=n.n(m);i.default.use(d.a);var l=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 v,h=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:u()("login","index")},{path:"/index",name:"index",component:u()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:u()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:u()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:u()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:u()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:u()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:u()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:u()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:u()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:u()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:u()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:u()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:u()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:u()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:u()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:u()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:u()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:u()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:u()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:u()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:u()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客",component:u()("enterpriseApp","mycustomer")},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:u()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:u()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:u()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:u()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:u()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:u()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:u()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:u()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:u()("enterpriseApp/trafficTask","taskDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:u()("enterpriseApp/trafficTask","trafficTaskSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:u()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:u()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:u()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:u()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:u()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:u()("enterpriseApp/badEvaluate","badEvaluateDetail")},{path:"/badEvaluateSet",name:"不良评价设置",component:u()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/quota",name:"指标管理",component:u()("enterpriseApp/quota","index"),redirect:"/quota/monthList",children:[{path:"monthList",name:"月指标列表",component:u()("enterpriseApp/quota","monthList")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:u()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:u()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:u()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:u()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:u()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:u()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:u()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:u()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:u()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:u()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:u()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:u()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:u()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:u()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:u()("enterpriseApp/cloudDaily","template")},{path:"/403",name:"无权访问",component:l},{path:"/404",name:"error404",component:l},{path:"/500",name:"error500",component:l},{path:"*",redirect:"/404",hidden:!0}],f=new d.a({routes:h,scrollBehavior:function(){return{y:0}}}),A=n("zL8q"),y=n.n(A),g=n("Rf8U"),D=n.n(g),k=n("mtWM"),w=n.n(k),x=n("bOdI"),R=n.n(x),C=n("NYxO");i.default.use(C.a);var b=new C.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(v={},R()(v,"login",function(e,t){sessionStorage.token=t,e.token=t}),R()(v,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),R()(v,"title",function(e,t){e.title=t}),R()(v,"show",function(e,t){e.show=t}),v)}),E=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),I=n.n(E),S=n("tyqE"),T=n.n(S),P=n("pRVe"),q=n.n(P),L=n("SE7k"),j=n.n(L),F=n("XsK6"),O=n.n(F),N=n("QRL9"),z=n.n(N),G=n("2Pnh"),H=n.n(G),K=n("l9mu"),U=n.n(K),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;H()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,a=t.height,o=n/592.28*841.89,r=a,p=0,i=592.28/n*a,c=t.toDataURL("image/jpeg",1),s=new U.a("","pt","a4");if(r<o)s.addImage(c,"JPEG",0,0,595.28,i);else for(;r>0;)s.addImage(c,"JPEG",0,p,595.28,i),p-=841.89,(r-=o)>0&&s.addPage();s.save(e+".pdf")})}}};p.a.polyfill(),i.default.use(X),i.default.use(O.a),i.default.use(z.a),i.default.use(j.a),i.default.use(q.a),i.default.use(T.a),i.default.use(I.a),i.default.config.productionTip=!1,i.default.use(y.a,{size:"large"}),i.default.use(D.a,w.a),i.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var a=void 0,r=window.location.origin;a="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||w.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",o()(t.result))}).catch(function(e){A.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new i.default({el:"#app",router:f,store:b,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,19],"./contacts/addDepartment.vue":["HHRu",0,16],"./contacts/addEmployee.vue":["00Sv",38],"./contacts/addGroup.vue":["mPjx",0,56],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,31],"./contacts/employeeIo.vue":["Rwbg",0,43],"./contacts/employeeRecord.vue":["zGJY",0,7],"./contacts/fileSet.vue":["CSjr",0,8],"./contacts/index.vue":["41Rh",0,68],"./contacts/recordInfo.vue":["67iC",0,12],"./contacts/recordIo.vue":["738z",0,20],"./contacts/recycle.vue":["HkK0",0,28],"./contacts/shareAddDepartment.vue":["q5Ri",0,17],"./contacts/shareCode.vue":["JsWW",0,49],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,30],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/storeInfo.vue":["h/6A",0,10],"./contacts/storeIo.vue":["RHxA",0,48],"./contacts/unemployee.vue":["TGrv",0,13],"./enterpriseApp/appcenter.vue":["yuVF",0,23],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,50],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,44],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,36],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,60],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,34],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,46],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,47],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,66],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,39],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,6],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,37],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,4],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",62],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",54],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",51],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",52],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",33],"./enterpriseApp/index.vue":["da9f",42],"./enterpriseApp/mycustomer.vue":["cuIN",0,53],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,63],"./enterpriseApp/notice/index.vue":["av/3",0,58],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,25],"./enterpriseApp/quota/index.vue":["FB5x",0,64],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,18],"./enterpriseApp/quota/quotaDay.vue":["vzD2",0,69],"./enterpriseApp/trafficTask/index.vue":["e88N",0,67],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,65],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,61],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,57],"./errorPage/403.vue":["6XGN",24],"./errorPage/404.vue":["AejC",27],"./errorPage/500.vue":["FskK",22],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,29],"./login/index.vue":["T+/8",0,9],"./reviewCenter/index.vue":["+lem",45],"./reviewCenter/reviewed.vue":["CLYF",0,15],"./reviewCenter/unreview.vue":["xCEU",0,14],"./setting/addAdmin.vue":["rs/A",0,35],"./setting/addAdminRole.vue":["fZsz",0,40],"./setting/companyAddress.vue":["SKyE",0,59],"./setting/companyCertify.vue":["3zYh",0,11],"./setting/index.vue":["VlR1",32],"./setting/replaceAdmin.vue":["ys9I",0,55],"./setting/setChildAdmin.vue":["VqB7",0,41],"./setting/staffDetails.vue":["Zyzf",0,26],"./setting/storePermission.vue":["Xwfy",0,21]};function o(e){var t=a[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+"'."))}o.keys=function(){return Object.keys(a)},o.id="Opzk",e.exports=o},Xcu2:function(e,t){},uKUT:function(e,t){}},[0]); webpackJsonp([71],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),r=(n("j1ja"),n("hKoQ")),p=n.n(r),i=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("/NA0")},null,null).exports,d=n("/ocq"),m=n("5tgt"),u=n.n(m);i.default.use(d.a);var l=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 v,h=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:u()("login","index")},{path:"/index",name:"index",component:u()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:u()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:u()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:u()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:u()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:u()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:u()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:u()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:u()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:u()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:u()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:u()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:u()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:u()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:u()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:u()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:u()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:u()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:u()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:u()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:u()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客",component:u()("enterpriseApp","mycustomer")},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:u()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:u()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:u()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:u()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:u()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:u()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:u()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:u()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:u()("enterpriseApp/trafficTask","taskDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:u()("enterpriseApp/trafficTask","trafficTaskSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:u()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:u()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:u()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:u()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:u()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:u()("enterpriseApp/badEvaluate","badEvaluateDetail")},{path:"/badEvaluateSet",name:"不良评价设置",component:u()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/quota",name:"指标管理",component:u()("enterpriseApp/quota","index"),redirect:"/quota/monthList",children:[{path:"monthList",name:"月指标列表",component:u()("enterpriseApp/quota","monthList")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:u()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:u()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:u()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:u()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:u()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:u()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:u()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:u()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:u()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:u()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:u()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:u()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:u()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:u()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:u()("enterpriseApp/cloudDaily","template")},{path:"/403",name:"无权访问",component:l},{path:"/404",name:"error404",component:l},{path:"/500",name:"error500",component:l},{path:"*",redirect:"/404",hidden:!0}],f=new d.a({routes:h,scrollBehavior:function(){return{y:0}}}),A=n("zL8q"),y=n.n(A),g=n("Rf8U"),D=n.n(g),k=n("mtWM"),w=n.n(k),x=n("bOdI"),R=n.n(x),C=n("NYxO");i.default.use(C.a);var b=new C.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(v={},R()(v,"login",function(e,t){sessionStorage.token=t,e.token=t}),R()(v,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),R()(v,"title",function(e,t){e.title=t}),R()(v,"show",function(e,t){e.show=t}),v)}),E=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),I=n.n(E),S=n("tyqE"),T=n.n(S),P=n("pRVe"),q=n.n(P),L=n("SE7k"),j=n.n(L),F=n("XsK6"),O=n.n(F),N=n("QRL9"),z=n.n(N),G=n("2Pnh"),H=n.n(G),K=n("l9mu"),U=n.n(K),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;H()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,a=t.height,o=n/592.28*841.89,r=a,p=0,i=592.28/n*a,c=t.toDataURL("image/jpeg",1),s=new U.a("","pt","a4");if(r<o)s.addImage(c,"JPEG",0,0,595.28,i);else for(;r>0;)s.addImage(c,"JPEG",0,p,595.28,i),p-=841.89,(r-=o)>0&&s.addPage();s.save(e+".pdf")})}}};p.a.polyfill(),i.default.use(X),i.default.use(O.a),i.default.use(z.a),i.default.use(j.a),i.default.use(q.a),i.default.use(T.a),i.default.use(I.a),i.default.config.productionTip=!1,i.default.use(y.a,{size:"large"}),i.default.use(D.a,w.a),i.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var a=void 0,r=window.location.origin;a="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||w.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",o()(t.result))}).catch(function(e){A.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new i.default({el:"#app",router:f,store:b,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,19],"./contacts/addDepartment.vue":["HHRu",0,16],"./contacts/addEmployee.vue":["00Sv",39],"./contacts/addGroup.vue":["mPjx",0,56],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,31],"./contacts/employeeIo.vue":["Rwbg",0,44],"./contacts/employeeRecord.vue":["zGJY",0,7],"./contacts/fileSet.vue":["CSjr",0,8],"./contacts/index.vue":["41Rh",0,68],"./contacts/recordInfo.vue":["67iC",0,12],"./contacts/recordIo.vue":["738z",0,20],"./contacts/recycle.vue":["HkK0",0,28],"./contacts/shareAddDepartment.vue":["q5Ri",0,17],"./contacts/shareCode.vue":["JsWW",0,50],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,30],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/storeInfo.vue":["h/6A",0,10],"./contacts/storeIo.vue":["RHxA",0,49],"./contacts/unemployee.vue":["TGrv",0,13],"./enterpriseApp/appcenter.vue":["yuVF",0,24],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,51],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,45],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,37],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,60],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,34],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,47],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,48],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,66],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,40],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,6],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,38],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,4],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",62],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",54],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",52],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",53],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",33],"./enterpriseApp/index.vue":["da9f",43],"./enterpriseApp/mycustomer.vue":["cuIN",0,36],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,63],"./enterpriseApp/notice/index.vue":["av/3",0,58],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,25],"./enterpriseApp/quota/index.vue":["FB5x",0,64],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,18],"./enterpriseApp/quota/quotaDay.vue":["vzD2",0,69],"./enterpriseApp/trafficTask/index.vue":["e88N",0,67],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,65],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,61],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,57],"./errorPage/403.vue":["6XGN",23],"./errorPage/404.vue":["AejC",27],"./errorPage/500.vue":["FskK",22],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,29],"./login/index.vue":["T+/8",0,9],"./reviewCenter/index.vue":["+lem",46],"./reviewCenter/reviewed.vue":["CLYF",0,15],"./reviewCenter/unreview.vue":["xCEU",0,14],"./setting/addAdmin.vue":["rs/A",0,35],"./setting/addAdminRole.vue":["fZsz",0,41],"./setting/companyAddress.vue":["SKyE",0,59],"./setting/companyCertify.vue":["3zYh",0,11],"./setting/index.vue":["VlR1",32],"./setting/replaceAdmin.vue":["ys9I",0,55],"./setting/setChildAdmin.vue":["VqB7",0,42],"./setting/staffDetails.vue":["Zyzf",0,26],"./setting/storePermission.vue":["Xwfy",0,21]};function o(e){var t=a[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+"'."))}o.keys=function(){return Object.keys(a)},o.id="Opzk",e.exports=o},Xcu2:function(e,t){},uKUT:function(e,t){}},[0]);
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={73:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"90034737756480166014",1:"0ebe3ead93207dc78a78",2:"945116ac180aacb1530c",3:"c3b5d44657dc5ac68265",4:"3bccc6cfe233b399d0ba",5:"0493d15080cdd1e7e0ef",6:"00b931389a74250125a3",7:"7e0164566e8e00575481",8:"ccfd1bb81626da46f432",9:"b916c8d12141617e4db2",10:"5aa39cededdd868bd5b7",11:"48cce40bd1119cfef79d",12:"8a1633b353b37d5bfcd2",13:"930d8663a504fe42b1a7",14:"94920536d81601122060",15:"35d29be8ae21328d7a1a",16:"7016f834cadae9b57028",17:"2c76434ec01b2b5ee02f",18:"d07d6af2aa0d5ee86261",19:"1eedffe1165c41206ce7",20:"8f48037229efe39f46f1",21:"2103d8428d4f707fa369",22:"dec9447a8c45f2a2c7bb",23:"6ed0b893f06f04aac628",24:"3ae82214b65939d3d2e0",25:"a69c30ee0ae0e4e18cd1",26:"19434855915319d647f1",27:"acda88d3c2aa77c9f51c",28:"f19e53da1093e3019cb0",29:"30037b5674e7675b1da7",30:"fa0e0e20a9883b94be73",31:"124823d3d84edf6fede8",32:"1698f86a851d84bc6e8e",33:"0368ebad7ed25e0a6647",34:"4977e6b9167f796404b9",35:"718d90637b7e54754f31",36:"6b7ba3c82f569f7a47e0",37:"f8bf84592943c5dfbf8a",38:"5abf0f84a99244933424",39:"a868f8ddccc8fd00875c",40:"2d953d8ef752acc98ec5",41:"10ffee6488cdbb7ef2cc",42:"292131fe0085fb87c425",43:"b2169a400a33c9af5d94",44:"38e5017095e8697a43c8",45:"e1f29ac7f7c5fb9cfd9a",46:"a0c46a93880cf5a4403d",47:"99f7f6232bf04994221c",48:"f4f8a400be3a355e39cd",49:"24024fe9f3d31740ae81",50:"2f75d6f7f3e1bbf5c7a3",51:"e4211544a22f54113d5a",52:"1b06e4bc526773c54a30",53:"5232792298264e487629",54:"04c2343a65b8ac46cf65",55:"31ec2c93f276ff83fa80",56:"5ee2a7ac362bc2ac26c2",57:"e265d12ce5a0a24c2064",58:"78da3efa372379321cfe",59:"be8f5205cfd8e904c6f2",60:"b6a35d8ea1b736261422",61:"ccd9812bb3bb7bdf57e7",62:"6b6bfcaa666e2c35399e",63:"bb3d88082cd7d3f435b3",64:"9d5cd160a1e496f57c16",65:"da744ecbde810ecd11c7",66:"3a80a07fbbd0aa9e8f2d",67:"d674abd10a01e3c004c8",68:"2189902bf2848c91608c",69:"4087b90ee08d0100519f",72:"e19aae5a21dcfad3391e"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},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}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(d,b,n){for(var r,t,o,i=0,u=[];i<d.length;i++)t=d[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(d,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var d={},c={73:0};function f(a){if(d[a])return d[a].exports;var c=d[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,f),c.l=!0,c.exports}f.e=function(e){var a=c[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var d=new Promise(function(d,f){a=c[e]=[d,f]});a[2]=d;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"90034737756480166014",1:"0ebe3ead93207dc78a78",2:"58edd50ac6edf9ffe74d",3:"516fd1892569e7db9611",4:"045f078fbfa8e5883ab1",5:"dc1d78307e7c6b6d8dd7",6:"00b931389a74250125a3",7:"7e0164566e8e00575481",8:"a98d485a2a65238dc24d",9:"b916c8d12141617e4db2",10:"5aa39cededdd868bd5b7",11:"48cce40bd1119cfef79d",12:"8a1633b353b37d5bfcd2",13:"930d8663a504fe42b1a7",14:"94920536d81601122060",15:"35d29be8ae21328d7a1a",16:"7016f834cadae9b57028",17:"2c76434ec01b2b5ee02f",18:"d07d6af2aa0d5ee86261",19:"1eedffe1165c41206ce7",20:"8f48037229efe39f46f1",21:"2103d8428d4f707fa369",22:"dec9447a8c45f2a2c7bb",23:"5ed1b5fd3abff19ce342",24:"7c4e57e8af8a1cd8404f",25:"a69c30ee0ae0e4e18cd1",26:"19434855915319d647f1",27:"acda88d3c2aa77c9f51c",28:"e1137d5789f00a5df069",29:"30037b5674e7675b1da7",30:"fa0e0e20a9883b94be73",31:"124823d3d84edf6fede8",32:"1698f86a851d84bc6e8e",33:"0368ebad7ed25e0a6647",34:"4977e6b9167f796404b9",35:"718d90637b7e54754f31",36:"3061caf943e06b707e7d",37:"888b85a3993974fb43af",38:"906dd52db56ce245bd63",39:"8861e4489f26fe322990",40:"4d091f8b6280eb7074f0",41:"aa2e9e084af07294fbc9",42:"248b13c4ae5e4981f586",43:"e63f09b7a3b93d7b8aaf",44:"e23e65056dc46513a55b",45:"43f798be1461778f9cf4",46:"31d46e2653e81d5473f4",47:"2f4418d920afc64d1822",48:"ea68e0e915bbd1e1e7b9",49:"ee708baebbd64fe94ede",50:"4289d8f282974207066c",51:"98c3602fc3a9ab54693a",52:"11c71c5597ce25e52ff1",53:"04037c47b99e1e722838",54:"04c2343a65b8ac46cf65",55:"31ec2c93f276ff83fa80",56:"5ee2a7ac362bc2ac26c2",57:"e265d12ce5a0a24c2064",58:"78da3efa372379321cfe",59:"be8f5205cfd8e904c6f2",60:"b6a35d8ea1b736261422",61:"ccd9812bb3bb7bdf57e7",62:"6b6bfcaa666e2c35399e",63:"bb3d88082cd7d3f435b3",64:"9d5cd160a1e496f57c16",65:"da744ecbde810ecd11c7",66:"3a80a07fbbd0aa9e8f2d",67:"d674abd10a01e3c004c8",68:"2189902bf2848c91608c",69:"4087b90ee08d0100519f",72:"e19aae5a21dcfad3391e"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=c[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),d},f.m=e,f.c=d,f.d=function(e,a,d){f.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:d})},f.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(a,"a",a),a},f.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
.tip-area { .tip-area {
width: 100%; width: 100%;
text-align: center; text-align: center;
padding-top: 150px; padding: 150px 0 50px 0;
p { p {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
......
<template> <template>
<div class="staff-info-panel" :style="{ height: windowH }"> <div class="staff-info-panel">
<div class="info-title m-b-50 font-16 color-303133">员工档案信息将应用在以下两个地方</div> <div class="info-title m-b-50 font-16 color-303133">员工档案信息将应用在以下两个地方</div>
<div class="flex flex-align-center"> <div class="flex flex-align-center">
<div class="flex-1"> <div class="flex-1">
...@@ -25,9 +25,7 @@ ...@@ -25,9 +25,7 @@
export default { export default {
name: 'staff-info-set', name: 'staff-info-set',
data() { data() {
return { return {};
windowH: window.screen.availHeight - 500 + 'px'
};
}, },
methods: { methods: {
......
<template> <template>
<div class="staff-prob-panel" :style="{ height: windowH }"> <div class="staff-prob-panel">
<div class="depart-cell"> <div class="depart-cell">
<!-- <div class="info-title font-16 color-303133">行政架构设置</div> --> <!-- <div class="info-title font-16 color-303133">行政架构设置</div> -->
<div class="m-t-24"><span class="font-14 color-606266 p-r-12">设置企业试用期时间</span><el-input-number v-model="probObj.probationDay" controls-position="right" @change="handleChange" :min="0" :max="31"> </el-input-number><span class="font-14 color-606266 p-l-12"></span><span class="font-14 color-606266 p-l-12 p-r-12"> + </span><el-input-number v-model="probObj.probationMonth" controls-position="right" @change="handleChange" :min="0" :max="6"> </el-input-number><span class="font-14 color-606266 p-l-12"></span></div> <div class="m-t-24"><span class="font-14 color-606266 p-r-12">设置企业试用期时间</span><el-input-number v-model="probObj.probationDay" controls-position="right" @change="handleChange" :min="0" :max="31"> </el-input-number><span class="font-14 color-606266 p-l-12"></span><span class="font-14 color-606266 p-l-12 p-r-12"> + </span><el-input-number v-model="probObj.probationMonth" controls-position="right" @change="handleChange" :min="0" :max="6"> </el-input-number><span class="font-14 color-606266 p-l-12"></span></div>
...@@ -27,7 +27,6 @@ export default { ...@@ -27,7 +27,6 @@ export default {
name: 'staff-info-set', name: 'staff-info-set',
data() { data() {
return { return {
windowH: window.screen.availHeight - 500 - 48 + 'px',
activeName: '', activeName: '',
brandList: [], brandList: [],
probObj: { probObj: {
......
<template> <template>
<div class="common-set-wrap"> <div class="common-set-wrap admin-frame">
<nav-crumb :navpath="navpath"></nav-crumb> <nav-crumb :navpath="navpath"></nav-crumb>
<div class="right-content"> <div class="right-content">
<div class="right-box"> <div class="right-box">
...@@ -313,6 +313,12 @@ export default { ...@@ -313,6 +313,12 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.admin-frame {
height: 100%;
.right-content {
min-height: calc(100% - 240px);
}
}
.administrative-estrutura-container { .administrative-estrutura-container {
display: flex; display: flex;
......
...@@ -61,7 +61,8 @@ export default { ...@@ -61,7 +61,8 @@ export default {
height: 100%; height: 100%;
.staff-contain-set { .staff-contain-set {
min-height: calc(100% - 240px); min-height: calc(100% - 190px);
height: calc(100% - 190px);
} }
} }
.navwrap.boxbttom { .navwrap.boxbttom {
...@@ -69,6 +70,7 @@ export default { ...@@ -69,6 +70,7 @@ export default {
} }
.el-tabs { .el-tabs {
/*background: #fff;*/ /*background: #fff;*/
height: 100%;
/deep/ .el-tabs__header { /deep/ .el-tabs__header {
margin: 0; margin: 0;
background: #fff; background: #fff;
...@@ -77,7 +79,8 @@ export default { ...@@ -77,7 +79,8 @@ export default {
/deep/ .el-tabs__content { /deep/ .el-tabs__content {
/*background: #fff;*/ /*background: #fff;*/
padding: 24px; padding: 24px;
min-height: calc(100% - 240px); min-height: calc(100% - 90px);
height: calc(100% - 90px);
} }
/deep/ .el-tabs__nav-wrap { /deep/ .el-tabs__nav-wrap {
...@@ -88,6 +91,7 @@ export default { ...@@ -88,6 +91,7 @@ export default {
} }
.el-tab-pane { .el-tab-pane {
height: 100%;
padding: 24px; padding: 24px;
background: #fff; background: #fff;
} }
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<div class="common-set-wrap recycle-wrap"> <div class="common-set-wrap recycle-wrap">
<nav-crumb :navpath="navpath"></nav-crumb> <nav-crumb :navpath="navpath"></nav-crumb>
<div class="right-content"> <div class="right-content">
<div class="right-box" :style="{ height: $store.state.bgHeight }"> <div class="right-box">
<clerk-table v-if="showClerks" :store="currentStore" @delClerk="delClerk"></clerk-table> <clerk-table v-if="showClerks" :store="currentStore" @delClerk="delClerk"></clerk-table>
<div class="recycle-bin" v-else> <div class="recycle-bin" v-else>
<div class="r-b-top-header"> <div class="r-b-top-header">
<div class="title">{{ recycleList.length }} 家门店</div> <div class="title">{{ recycleList.length }} 家门店</div>
<el-input placeholder="请输入门店名" prefix-icon="el-icon-search" v-model="searchKey"></el-input> <el-input placeholder="请输入门店名" prefix-icon="el-icon-search" v-model="searchKey"></el-input>
</div> </div>
<el-table :height="recycleList.length ? tableH : 'auto'" :data="recycleList.filter(data => !searchKey || data.storeName.toLowerCase().includes(searchKey.toLowerCase()))" style="width: 100%"> <el-table :data="recycleList.filter(data => !searchKey || data.storeName.toLowerCase().includes(searchKey.toLowerCase()))" style="width: 100%">
<el-table-column label="门店名称" prop="storeName"> </el-table-column> <el-table-column label="门店名称" prop="storeName"> </el-table-column>
<el-table-column label="代码" prop="storeCode"> </el-table-column> <el-table-column label="代码" prop="storeCode"> </el-table-column>
<el-table-column label="类型" prop="storeType"> <el-table-column label="类型" prop="storeType">
...@@ -52,7 +52,6 @@ export default { ...@@ -52,7 +52,6 @@ export default {
}, },
data() { data() {
return { return {
tableH: window.screen.availHeight - 440 - 180,
searchKey: '', searchKey: '',
typeArr: ['全部类型', '自营', '联营', '代理(加盟)', '代销', '托管'], typeArr: ['全部类型', '自营', '联营', '代理(加盟)', '代销', '托管'],
pageSize: 20, pageSize: 20,
...@@ -210,6 +209,7 @@ export default { ...@@ -210,6 +209,7 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.recycle-wrap { .recycle-wrap {
height: 100%;
.right-content { .right-content {
min-height: calc(100% - 240px); min-height: calc(100% - 240px);
} }
......
<template> <template>
<div class="common-set-wrap store-frame-wrap"> <div class="common-set-wrap store-frame-wrap">
<nav-crumb :navpath="navpath"></nav-crumb> <nav-crumb :navpath="navpath"></nav-crumb>
<div class="right-content" :style="{ minHeight: minH }"> <div class="right-content">
<div class="right-box"> <div class="right-box">
<div class="store-estrutura-container common-frame-container"> <div class="store-estrutura-container common-frame-container">
<search-menu ref="searchMenu" :storeFrame="true" :treeData="menuData" :searchResult="searchResult" @handleSearchKey="handleSearchKey" @handleTreeSelection="handleTreeSelection" @handleStoreSelection="handleStoreSelection" @handleEmployeeSelection="handleEmployeeSelection"> <search-menu ref="searchMenu" :storeFrame="true" :treeData="menuData" :searchResult="searchResult" @handleSearchKey="handleSearchKey" @handleTreeSelection="handleTreeSelection" @handleStoreSelection="handleStoreSelection" @handleEmployeeSelection="handleEmployeeSelection">
...@@ -92,10 +92,6 @@ export default { ...@@ -92,10 +92,6 @@ export default {
path: '' path: ''
} }
], ],
minH: window.screen.availHeight - 300 - 140 + 'px',
windowH: window.screen.availHeight - 440 + 'px',
tableH: window.screen.availHeight - 440 - 180 + 'px',
boxHeight: window.screen.availHeight + 'px',
menuData: [], menuData: [],
searchResult: {}, searchResult: {},
loading: true, loading: true,
...@@ -373,6 +369,10 @@ export default { ...@@ -373,6 +369,10 @@ export default {
<style lang="scss"> <style lang="scss">
.store-frame-wrap { .store-frame-wrap {
height: 100%;
.right-content {
min-height: calc(100% - 240px);
}
.store-info { .store-info {
height: auto; height: auto;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="apps-wrap common-set-wrap"> <div class="apps-wrap common-set-wrap">
<nav-crumb :navpath="navpath"> </nav-crumb> <nav-crumb :navpath="navpath"> </nav-crumb>
<div class="right-content"> <div class="right-content">
<div class="right-box" :style="{ 'min-height': $store.state.bgHeight }"> <div class="right-box">
<div class="apps-content"> <div class="apps-content">
<div class="apps-content-title">基础应用</div> <div class="apps-content-title">基础应用</div>
<div class="apps-content-body m-t-24"> <div class="apps-content-body m-t-24">
...@@ -222,6 +222,9 @@ export default { ...@@ -222,6 +222,9 @@ export default {
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-all; word-break: break-all;
} }
.apps-wrap {
height: 100%;
}
.right-content { .right-content {
/*width: 100%;*/ /*width: 100%;*/
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
<!-- <nav-crumb :navpath="navpath"> </nav-crumb> --> <!-- <nav-crumb :navpath="navpath"> </nav-crumb> -->
<div class="right-content"> <div class="right-content">
<common-app-top :appName="appName" :appIcon="appIcon" @selectBrandId="selectBrandId"> </common-app-top> <common-app-top :appName="appName" :appIcon="appIcon" @selectBrandId="selectBrandId"> </common-app-top>
<div class="right-box" :style="{ 'min-height': $store.state.bgHeight }"> <div class="right-box">
<div class="apps-content flex" :style="{ height: $store.state.bgHeight }"> <div class="apps-content flex">
<div class="apps-content-left w-157"> <div class="apps-content-left w-157">
<common-detail-left :tabListData="tabListData" @setSelectTab="setSelectTab"></common-detail-left> <common-detail-left :tabListData="tabListData" @setSelectTab="setSelectTab"></common-detail-left>
</div> </div>
...@@ -27,7 +27,6 @@ export default { ...@@ -27,7 +27,6 @@ export default {
name: 'reviewed', name: 'reviewed',
data() { data() {
return { return {
tableH: window.screen.availHeight - 464 - 126 + 'px',
appName: '我的顾客', appName: '我的顾客',
appIcon: '', appIcon: '',
activeTab: '1', activeTab: '1',
...@@ -108,11 +107,14 @@ export default { ...@@ -108,11 +107,14 @@ export default {
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-all; word-break: break-all;
} }
.my-customer-wrap {
height: 100%;
.right-content { .right-content {
/*width: 100%;*/ /*width: 100%;*/
padding: 24px; padding: 24px;
min-height: calc(100% - 240px); min-height: calc(100% - 156px);
height: calc(100% - 156px);
.my-customer-top { .my-customer-top {
position: relative; position: relative;
...@@ -163,10 +165,12 @@ export default { ...@@ -163,10 +165,12 @@ export default {
} }
.right-box { .right-box {
// background: #fff; // background: #fff;
min-height: 500px; min-height: calc(100% - 67px);
padding: 0px; padding: 0px;
height: calc(100% - 67px);
.apps-content { .apps-content {
height: 100%;
.apps-content-left { .apps-content-left {
height: 100%; height: 100%;
background: #fff; background: #fff;
...@@ -255,5 +259,6 @@ export default { ...@@ -255,5 +259,6 @@ export default {
} }
} }
} }
}
} }
</style> </style>
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