Commit 53e54972 by 无尘

fix: 修改日报配置和部门

parent 0b4717cc
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.24.css><link href=./static/css/app.795bb072a4734bf19e0b3231bfbab9f4.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.b962dd8b0e643dafb7e4.js></script><script type=text/javascript src=./static/js/vendor.e91073f106903eddf860.js></script><script type=text/javascript src=./static/js/app.d9e8509378655ccba143.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.24.css><link href=./static/css/app.e88842fb50416ed69587253e938247fd.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.1fa5f5e96fa9e63d0c14.js></script><script type=text/javascript src=./static/js/vendor.e91073f106903eddf860.js></script><script type=text/javascript src=./static/js/app.786f4b584eb5b0dc95f2.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([10],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("tDw4")},"data-v-5bffce3c",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},tDw4:function(t,s){}});
\ No newline at end of file
webpackJsonp([13],{K8Yn:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),r=a("mvHQ"),s=a.n(r),o=a("Xxa5"),l=a.n(o),i=a("exGp"),c=a.n(i),u=a("PI0u"),d=a("P9l9"),p=a("Ch4/"),h=a("3E4D"),f={props:{recoverItem:{type:[Object,Array],default:function(){return{}}}},data:function(){return{setVisible:!0,treeData:[],searchSelect:"",selectId:"",groupData:[],groupDataCopy:[],defaultProps:{children:"children",label:"departmentName"}}},computed:{},watch:{searchSelect:function(e){this.$refs.groupTree.filter(e)}},methods:{loadNode:function(e,t){var a=this;return c()(l.a.mark(function n(){var r;return l.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a,0!==e.level){n.next=5;break}return n.abrupt("return",t(r.getGroup()));case 5:return n.next=7,r.getGroup(e,e.data,t);case 7:case"end":return n.stop()}},n,a)}))()},handleClose:function(e){e(),this.$emit("closeSet"),this.selectId=""},cancel:function(){this.$emit("closeSet"),this.selectId=""},filterNode:function(e,t){return!e||-1!==t.label.indexOf(e)},toInput:Object(u.a)(function(e,t){if(!this.groupDataCopy.length)return!1},200),clearSearch:function(){this.groupData=JSON.parse(s()(this.groupDataCopy))},handleNodeClick:function(e){console.log(e),this.selectId=e.departmentId,this.selectData=e},getGroup:function(e,t,a){var n=this,r={parentId:t?t.departmentId:"",isStore:0};Object(d.a)("/haoban-manage3-web/department-list-level",r).then(function(r){var o=r.data;if(1==o.errorCode)return o.result&&o.result.length&&o.result.forEach(function(e){e.expand=!1,e.children=[],e.label=e.departmentName}),e?(a(o.result),t.children||n.$set(t,"children",[]),t.children=o.result||[],n.$forceUpdate(),!1):(n.groupData=o.result||[],void(n.groupDataCopy=JSON.parse(s()(n.groupData))));p.a.errorMsg(o)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},submitForm:function(){var e=this;if(!e.selectId)return h.a.showmsg("请选择部门","warning"),!1;if(1==e.selectData.isStore)return h.a.showmsg("禁止门店下面添加节点","warning"),!1;var t={departmentId:e.recoverItem.departmentId,parentId:e.selectId};Object(d.c)("/haoban-manage3-web/department-repair",t).then(function(t){var a=t.data;1==a.errorCode&&(h.a.showmsg("恢复成功","success"),e.$emit("closeSet",e.selectId)),p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},components:{},mounted:function(){this.getGroup()}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"设置成员所在部门",visible:e.setVisible,"append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.setVisible=t}}},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"296px"},attrs:{placeholder:"请输入内容",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"select-tree-wrap m-t-20"},[a("el-tree",{ref:"groupTree",attrs:{"filter-node-method":e.filterNode,data:e.groupData,load:e.loadNode,"node-key":"departmentId",lazy:"","default-expand-all":"",props:e.defaultProps,"expand-on-click-node":!1},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.node,r=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{class:["font-14 p-r-10 iconfont",1==r.isStore?"icondianpu-kuai":"iconqiye-tianchong",1==r.bindFlag?"color-2f54eb":"color-dedfe6"]}),a("span",{staticClass:"font-14 color-606266"},[e._v(e._s(n.label))])])}}])})],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确定")])],1)])},staticRenderFns:[]};var m=a("VU/8")(f,g,!1,function(e){a("knnm")},"data-v-2bacdfab",null).exports,v={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",navpath:[{name:"首页",path:"/index"},{name:"回收站",path:""}],options:[{label:"所有部门类型",value:""},{label:"分组",value:"0"},{label:"门店",value:"1"}],searchInput:"",storeFlag:"",currentPage:1,pageSize:20,total:0,tableData:[],setVisible:!1,recoverItem:{}}},computed:{},methods:{toRecover:function(e,t){this.recoverItem=t,this.setVisible=!0},closeSet:function(){this.setVisible=!1,this.currentPage=1,this.getTableList()},changeRoute:function(e){this.$router.push(e)},toInput:Object(u.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeType:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={keyWord:t.searchInput||"",storeFlag:t.storeFlag,pageNum:t.currentPage,pageSize:t.pageSize};Object(d.a)("/haoban-manage3-web/department-recycle-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.total,!1;p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{activeBrand:function(e,t){this.activeBrand=e},activeGroup:function(e,t){this.activeGroup=e}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:m}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content-right"},[e._m(0),e._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入部门名称/CODE/ID",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}}),a("el-select",{staticClass:"w-191 m-l-10",attrs:{placeholder:"所有部门类型"},on:{change:e.changeType},model:{value:e.storeFlag,callback:function(t){e.storeFlag=t},expression:"storeFlag"}},e._l(e.options,function(e){return a("el-option",{key:e.value+"type",attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"部门名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{class:["iconfont color-2f54eb",1==t.row.isStore?"icondianpu-kuai":"iconqiye-tianchong"]}),a("span",{staticClass:"p-l-10"},[e._v(e._s(t.row.departmentName||"--"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeCode||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.toRecover(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":[20,40,60,80],"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(" "),e.setVisible?a("set-department",{attrs:{recoverItem:e.recoverItem},on:{closeSet:e.closeSet}}):e._e()],1),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overstore-tip"},[t("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[t("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),t("div",{staticClass:"el-alert__content"},[t("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是回收站?"),t("br"),this._v("GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。")])])])])}]};var _=a("VU/8")(v,b,!1,function(e){a("zqbj")},"data-v-7bf09a7c",null);t.default=_.exports},knnm:function(e,t){},zqbj:function(e,t){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([24],{"4QyY":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",appIcon:window.unescape(this.$route.query.appIcon),activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"云日报",path:""}],tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,a){"/dailyDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=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:{navCrumb:n.a,commonDetailLeft:i.a}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("mat9")},"data-v-77252181",null);a.default=s.exports},mat9:function(t,a){}});
\ No newline at end of file
webpackJsonp([23],{"4QyY":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",appIcon:window.unescape(this.$route.query.appIcon),activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"云日报",path:""}],tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,a){"/dailyDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=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:{navCrumb:n.a,commonDetailLeft:i.a}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("mat9")},"data-v-77252181",null);a.default=s.exports},mat9:function(t,a){}});
\ No newline at end of file
webpackJsonp([29],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),o=a("PI0u"),n=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfo")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(o.a)(function(t){this.setData(t)},500),setData:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},o=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,o="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(o="/haoban-app-customer-web/customer/save-customer-setting")),Object(n.c)(o,a).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.c)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("pEjd")},"data-v-5c28aae6",null);e.default=c.exports},pEjd:function(t,e){}});
\ No newline at end of file
webpackJsonp([28],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),o=a("PI0u"),n=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfo")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(o.a)(function(t){this.setData(t)},500),setData:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},o=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,o="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(o="/haoban-app-customer-web/customer/save-customer-setting")),Object(n.c)(o,a).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.c)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("pEjd")},"data-v-5c28aae6",null);e.default=c.exports},pEjd:function(t,e){}});
\ 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.
webpackJsonp([31],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={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,l){return i("li",{key:"performance"+l,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 a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}});
\ No newline at end of file
webpackJsonp([30],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={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,l){return i("li",{key:"performance"+l,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 a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([8],{K8Yn:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),r=a("mvHQ"),s=a.n(r),o=a("Xxa5"),l=a.n(o),i=a("exGp"),c=a.n(i),u=a("PI0u"),d=a("P9l9"),p=a("Ch4/"),h=a("3E4D"),f={props:{recoverItem:{type:[Object,Array],default:function(){return{}}}},data:function(){return{setVisible:!0,treeData:[],searchSelect:"",selectId:"",groupData:[],groupDataCopy:[],defaultProps:{children:"children",label:"departmentName"}}},computed:{},watch:{searchSelect:function(e){this.$refs.groupTree.filter(e)}},methods:{loadNode:function(e,t){var a=this;return c()(l.a.mark(function n(){var r;return l.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a,0!==e.level){n.next=5;break}return n.abrupt("return",t(r.getGroup()));case 5:return n.next=7,r.getGroup(e,e.data,t);case 7:case"end":return n.stop()}},n,a)}))()},handleClose:function(e){e(),this.$emit("closeSet"),this.selectId=""},cancel:function(){this.$emit("closeSet"),this.selectId=""},filterNode:function(e,t){return!e||-1!==t.label.indexOf(e)},toInput:Object(u.a)(function(e,t){if(!this.groupDataCopy.length)return!1},200),clearSearch:function(){this.groupData=JSON.parse(s()(this.groupDataCopy))},handleNodeClick:function(e){console.log(e),this.selectId=e.departmentId,this.selectData=e},getGroup:function(e,t,a){var n=this,r={parentId:t?t.departmentId:"",isStore:0};if(e&&(!t.hasSonNode||1==t.isStore))return a([]),!1;Object(d.a)("/haoban-manage3-web/department-list-level",r).then(function(r){var o=r.data;if(1==o.errorCode)return o.result&&o.result.length&&o.result.forEach(function(e){e.expand=!1,e.children=[],e.label=e.departmentName}),e?(a(o.result),t.children||n.$set(t,"children",[]),t.children=o.result||[],n.$forceUpdate(),!1):(n.groupData=o.result||[],void(n.groupDataCopy=JSON.parse(s()(n.groupData))));p.a.errorMsg(o)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},submitForm:function(){var e=this;if(!e.selectId)return h.a.showmsg("请选择部门","warning"),!1;if(1==e.selectData.isStore)return h.a.showmsg("禁止门店下面添加节点","warning"),!1;var t={departmentId:e.recoverItem.departmentId,parentId:e.selectId};Object(d.c)("/haoban-manage3-web/department-repair",t).then(function(t){var a=t.data;1==a.errorCode&&(h.a.showmsg("恢复成功","success"),e.$emit("closeSet",e.selectId)),p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},components:{},mounted:function(){this.getGroup()}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"设置成员所在部门",visible:e.setVisible,"append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.setVisible=t}}},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"296px"},attrs:{placeholder:"请输入内容",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"select-tree-wrap m-t-20"},[a("el-tree",{ref:"groupTree",attrs:{"filter-node-method":e.filterNode,data:e.groupData,load:e.loadNode,"node-key":"departmentId",lazy:"","default-expand-all":"",props:e.defaultProps,"expand-on-click-node":!1},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.node,r=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{class:["font-14 p-r-10 iconfont",1==r.isStore?"icondianpu-kuai":"iconqiye-tianchong",1==r.bindFlag?"color-2f54eb":"color-dedfe6"]}),a("span",{staticClass:"font-14 color-606266"},[e._v(e._s(n.label))])])}}])})],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确定")])],1)])},staticRenderFns:[]};var v=a("VU/8")(f,g,!1,function(e){a("jMVk")},"data-v-fbbc252a",null).exports,m={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",navpath:[{name:"首页",path:"/index"},{name:"回收站",path:""}],options:[{label:"所有部门类型",value:""},{label:"分组",value:"0"},{label:"门店",value:"1"}],searchInput:"",storeFlag:"",currentPage:1,pageSize:20,total:0,tableData:[],setVisible:!1,recoverItem:{}}},computed:{},methods:{toRecover:function(e,t){this.recoverItem=t,this.setVisible=!0},closeSet:function(){this.setVisible=!1,this.currentPage=1,this.getTableList()},changeRoute:function(e){this.$router.push(e)},toInput:Object(u.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeType:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={keyWord:t.searchInput||"",storeFlag:t.storeFlag,pageNum:t.currentPage,pageSize:t.pageSize};Object(d.a)("/haoban-manage3-web/department-recycle-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.total,!1;p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{activeBrand:function(e,t){this.activeBrand=e},activeGroup:function(e,t){this.activeGroup=e}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:v}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content-right"},[e._m(0),e._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入部门名称/CODE/ID",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}}),a("el-select",{staticClass:"w-191 m-l-10",attrs:{placeholder:"所有部门类型"},on:{change:e.changeType},model:{value:e.storeFlag,callback:function(t){e.storeFlag=t},expression:"storeFlag"}},e._l(e.options,function(e){return a("el-option",{key:e.value+"type",attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"部门名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{class:["iconfont color-2f54eb",1==t.row.isStore?"icondianpu-kuai":"iconqiye-tianchong"]}),a("span",{staticClass:"p-l-10"},[e._v(e._s(t.row.departmentName||"--"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeCode||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.toRecover(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":[20,40,60,80],"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(" "),e.setVisible?a("set-department",{attrs:{recoverItem:e.recoverItem},on:{closeSet:e.closeSet}}):e._e()],1),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overstore-tip"},[t("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[t("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),t("div",{staticClass:"el-alert__content"},[t("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是回收站?"),t("br"),this._v("GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。")])])])])}]};var _=a("VU/8")(m,b,!1,function(e){a("zqbj")},"data-v-7bf09a7c",null);t.default=_.exports},jMVk:function(e,t){},zqbj:function(e,t){}});
\ No newline at end of file
webpackJsonp([9],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("tDw4")},"data-v-5bffce3c",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},tDw4:function(t,s){}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var c={},d={51:0};function f(a){if(c[a])return c[a].exports;var d=c[a]={i:a,l:!1,exports:{}};return e[a].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var a=d[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,f){a=d[e]=[c,f]});a[2]=c;var 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:"dbf05147df3025a8713a",1:"06c4e42e62c1f75191f0",2:"04bbdf2959ba14011f91",3:"bae7d0de2e12a122b1cc",4:"4d0090c25a6537e2d779",5:"a941d3d4ea09abf029d4",6:"b748d7ac73a6d6700725",7:"ee9b4ffcf8a8cc2fde16",8:"bda5789112a4386ac684",9:"f9c1d8815c8d35b14861",10:"8144b2952e608c99c868",11:"e17569badebc0d03b94f",12:"106cadf87efaf0fd28ce",13:"0f01707cee8bf5918701",14:"a034fd161b8c1b267354",15:"fe7adb86092d73ec2e30",16:"97a9b1a559ec27dad923",17:"7446f565455fbad09abd",18:"65b8c661308214b7851e",19:"74ba19395c578980c999",20:"7f3a92bcf5a66089600a",21:"0ec7408bb99f857e7132",22:"cb80178f17dc0f1c1385",23:"0bfefe1fb2943c2d9f63",24:"d38696f55116fb585eae",25:"38258b0c4882cceb6247",26:"839ceddcbb7c83ecd658",27:"d9bc2e42a9916006c06a",28:"8041015221e712dfacfb",29:"a99995fa30469c828e9b",30:"228a3b991afd830e5824",31:"25fdf8d4a8892be0c481",32:"22fcab94d4b8d6c87e72",33:"af03022c94f58809aa77",34:"dce139ae594034f17a52",35:"ed9ebdd61aa7a7301b39",36:"e86539c9400400aeca81",37:"c74e9e3d53219b3ac1ff",38:"424a8230959ada09c944",39:"7dfcaaab2bdeab04f8e8",40:"26ef55c1adb75adce860",41:"409fc320bb5afcd95dbe",42:"6323f9cc051bdb6fd81e",43:"a7cd861dacf5abddd542",44:"894c9353222f503048dd",45:"45e4397c0ca09b32eb25",46:"b8a25437acb57de97830",47:"da9b899d98080bcbc0a4",48:"750f3261e51d2d100d96"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=d[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},f.m=e,f.c=c,f.d=function(e,a,c){f.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},f.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(a,"a",a),a},f.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,r){for(var t,b,o,i=0,u=[];i<a.length;i++)b=a[i],f[b]&&u.push(f[b][0]),f[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=d(d.s=r[i]);return o};var a={},f={51: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 n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"dbf05147df3025a8713a",1:"06c4e42e62c1f75191f0",2:"0280c4334e2686dc2baf",3:"699e0c84ca2a5c74d5a3",4:"17eaaa937b6dda3c3437",5:"83bf6c323a0101543e29",6:"b748d7ac73a6d6700725",7:"ee9b4ffcf8a8cc2fde16",8:"5b211cc58fcb740976c2",9:"5e6b743726e7d8438871",10:"cdc6733af07fe3483e78",11:"529019747940d70381f8",12:"8c2e25b234e6c994122b",13:"d847d9cd9013c7382389",14:"a034fd161b8c1b267354",15:"fe7adb86092d73ec2e30",16:"97a9b1a559ec27dad923",17:"7446f565455fbad09abd",18:"65b8c661308214b7851e",19:"74ba19395c578980c999",20:"7f3a92bcf5a66089600a",21:"0ec7408bb99f857e7132",22:"cb80178f17dc0f1c1385",23:"f26a64af6d595b65a127",24:"5b59042d681e7fe67787",25:"478df3da4cb7c7af6a47",26:"861a130a705ab90f18c9",27:"c6f51c051f25fc882ef9",28:"9bedf1daead8df8f312e",29:"bc43fde10c870859a8a3",30:"210e28f6787e17efe2b5",31:"a668ab1de95280d8ea4b",32:"22fcab94d4b8d6c87e72",33:"af03022c94f58809aa77",34:"dce139ae594034f17a52",35:"ed9ebdd61aa7a7301b39",36:"e86539c9400400aeca81",37:"c74e9e3d53219b3ac1ff",38:"424a8230959ada09c944",39:"7dfcaaab2bdeab04f8e8",40:"26ef55c1adb75adce860",41:"409fc320bb5afcd95dbe",42:"6323f9cc051bdb6fd81e",43:"8010c162bbcef7c0f498",44:"c8039697bf0dcf196cca",45:"45e4397c0ca09b32eb25",46:"b8a25437acb57de97830",47:"da9b899d98080bcbc0a4",48:"750f3261e51d2d100d96"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),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
......@@ -2,8 +2,8 @@
* @Descripttion : 当前组件信息
* @Author : 无尘
* @Date : 2020-02-27 13:53:03
* @LastEditors : 无尘
* @LastEditTime : 2020-02-28 11:26:52
* @LastEditors: 无尘
* @LastEditTime: 2020-03-06 15:25:12
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\contact-tree-filter.vue
-->
......@@ -92,6 +92,10 @@ export default {
parentId: data ? data.departmentId : '',
isStore: 0
};
if (node && (!data.hasSonNode || data.isStore == 1)) {
resolve([]);
return false;
}
getRequest('/haoban-manage3-web/department-list-level', para)
.then(res => {
let resData = res.data;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-02-08 10:27:21
* @LastEditors: 无尘
* @LastEditTime: 2020-03-05 09:48:54
* @LastEditTime: 2020-03-06 15:25:03
-->
<!--
添加成员选择部门组件:
......@@ -209,6 +209,10 @@ export default {
parentId: data ? data.departmentId : '',
isStore: 0
};
if (node && (!data.hasSonNode || data.isStore == 1)) {
resolve([]);
return false;
}
getRequest('/haoban-manage3-web/department-list-level', para)
.then(res => {
let resData = res.data;
......
......@@ -3,8 +3,8 @@
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-02-05 10:50:57
* @LastEditors : 无尘
* @LastEditTime : 2020-03-02 10:55:50
* @LastEditors: 无尘
* @LastEditTime: 2020-03-06 15:24:17
-->
<!--
设置成员所在部门(回收站)
......@@ -152,6 +152,10 @@
parentId: data ? data.departmentId : '',
isStore: 0
};
if (node && (!data.hasSonNode || data.isStore == 1)) {
resolve([]);
return false;
}
getRequest('/haoban-manage3-web/department-list-level', para)
.then(res => {
let resData = res.data;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-08-14 16:51:07
* @LastEditors: 无尘
* @LastEditTime: 2020-03-06 15:03:15
* @LastEditTime: 2020-03-06 16:01:16
-->
<!--
<wx-tree v-model="itemData" ></wx-tree>
......@@ -252,15 +252,15 @@ export default {
// 企业微信跨级移动
if (objKey == 'added' && !!newEle.wxEnterpriseId) {
// 去掉重复的父级
let storeAddData = [];
that.$store.state.addDepartment.forEach(ele => {
let storeEditDataWx = [];
that.$store.state.editDepartment.forEach(ele => {
if (ele.departmentId != newEle.departmentId) {
storeAddData.push(ele);
storeEditDataWx.push(ele);
}
});
that.$store.dispatch('clearAddData');
storeAddData.forEach(ele => {
that.$store.dispatch('saveAddInfo', ele);
that.$store.dispatch('clearEditData');
storeEditDataWx.forEach(ele => {
that.$store.dispatch('saveEditInfo', ele);
});
that.$store.dispatch('saveEditInfo', newEle);
if (that.itemObj.addFlag) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-06 14:39:53
* @LastEditTime: 2020-03-06 16:17:51
-->
<template>
<div class="template-wrap" :style="{ minHeight: bodyHeight }">
......@@ -575,6 +575,7 @@ export default {
/* eslint-disable */
Promise.all([that.getInfo()])
.then(values => {
console.log()
that.getAllFields();
})
.catch(reason => {
......@@ -733,9 +734,9 @@ export default {
.compenent-item {
position: relative;
width: 180px;
height: 32px;
height: 42px;
margin: 0 10px 10px 0;
line-height: 32px;
line-height: 16px;
display: inline-block;
text-align: center;
cursor: move;
......@@ -746,6 +747,12 @@ export default {
background:rgba(250,250,250,1);
border-radius:2px;
border:1px solid rgba(220,223,230,1);
span {
display: flex;
align-items: center;
justify-content: center;
height: 42px;
}
&:nth-child(2n+1) {
margin-left: 20px;
}
......@@ -765,8 +772,8 @@ export default {
overflow: hidden;
span,
.bg-icon {
display: inline-block;
vertical-align: middle;
/* display: inline-block;
vertical-align: middle; */
}
.bg-icon {
position: absolute;
......@@ -778,8 +785,8 @@ export default {
transform: translate(0, -50%);
width: 17px;
height: 17px;
background: url('../../../assets/icon-template.png') no-repeat center center;
background-size: 35px;
/* background: url('../../../assets/icon-template.png') no-repeat center center;
background-size: 35px; */
&.bg-icon-one {
background-position: 0 -16px;
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-06 12:42:43
* @LastEditTime: 2020-03-06 16:15:27
*/
.template-wrap {
width: 100%;
......@@ -189,17 +189,19 @@
height: 32px;
margin: 0 15px 15px 0;
line-height: 32px;
padding: 0 10px;
display: inline-block;
text-align: center;
cursor: move;
color: #fff;
color: #606266;
padding: 0;
overflow: hidden;
font-size: 12px;
background:rgba(250,250,250,1);
background:rgba(250, 250, 250, 1);
border-radius:2px;
border:1px solid rgba(220,223,230,1);
border:1px solid rgba(220, 223, 230, 1);
&:nth-child(2n+1) {
margin-left: 20px;
}
&.fixed-item {
opacity: 0.5;
......@@ -208,9 +210,9 @@
}
#list5 {
.compenent-item {
.compenent-item {/*
text-align: left;
padding: 0 16px;
padding: 0 16px; */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
......@@ -232,8 +234,8 @@
transform: translate(0, -50%);
width: 17px;
height: 17px;
background: url('../../../../assets/icon-template.png') no-repeat center center;
background-size: 35px;
/* background: url('../../../../assets/icon-template.png') no-repeat center center;
background-size: 35px; */
&.bg-icon-one {
background-position: 0 -16px;
......@@ -281,8 +283,8 @@
}
&:hover {
color: #2f54eb;
border-color: #2f54eb;
/* color: #2f54eb;
border-color: #2f54eb; */
.bg-icon {
&.bg-icon-one {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-05 16:23:57
* @LastEditTime: 2020-03-06 15:31:09
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -43,7 +43,7 @@
</div>
<div class="clerk-info flex flex-column flex-space-between m-l-16">
<p class="font-14 color-303133">{{ scope.row.clerkName }}</p>
<p class="font-14 color-909399">{{ scope.row.clerkPhone }}</p>
<p class="font-14 color-909399" style="width: 100%; overflow:hidden;text-overflow: ellipsis;">{{ scope.row.clerkPhone }}</p>
</div>
</div>
</template>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-05 16:18:06
* @LastEditTime: 2020-03-06 15:29:33
-->
<template>
<div class="daily-set-wrap ">
......@@ -37,9 +37,8 @@
</el-table-column>
<el-table-column label="门店名称" width="120" show-overflow-tooltip>
<template slot-scope="scope"
><div class="td-ellipsis"></div>
{{ scope.row.storeName }}</template
>
><div style="width: 100%; overflow:hidden;text-overflow: ellipsis;">{{ scope.row.storeName }}</div>
</template>
</el-table-column>
<el-table-column prop="" label="任务总数">
<template slot-scope="scope">{{ scope.row.taskCount }}</template>
......
......@@ -3,8 +3,8 @@
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors : 无尘
* @LastEditTime : 2020-03-02 11:29:41
* @LastEditors: 无尘
* @LastEditTime: 2020-03-06 16:09:05
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -155,8 +155,8 @@ export default {
* 保存
*/
saveData: _debounce(function() {
const that = this;
if (!that.$store.state.addDepartment.length && !that.$store.state.editDepartment.length) {
const that = this; //!that.$store.state.addDepartment.length &&
if (!that.$store.state.editDepartment.length) {
showMsg.showmsg('暂无修改,无法同步', 'warning');
return false;
}
......@@ -166,7 +166,7 @@ export default {
postSaveData() {
const that = this;
let para = {
addDepartment: JSON.stringify(that.$store.state.addDepartment),
// addDepartment: JSON.stringify(that.$store.state.addDepartment),
editDepartment: JSON.stringify(that.$store.state.editDepartment)
};
postRequest('/haoban-manage3-web/department-batch-sync', para)
......
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