Commit 958fa2ce by 无尘

Merge branch 'dev'

# Conflicts:
#	dist/index.html
#	dist/static/css/app.72e158595fc1807bb5e19df9b73c738a.css
#	dist/static/js/0.ee42030d0d7dfd3a7415.js
#	dist/static/js/2.b8fa98f196601c9f437e.js
#	dist/static/js/23.58acacffe3992285d570.js
#	dist/static/js/29.08f743a4cbfcc2c25c59.js
#	dist/static/js/29.3cc9b791320a38363e14.js
#	dist/static/js/30.edefacaf87ff01399d2b.js
#	dist/static/js/5.81066f0a97d50034b392.js
#	dist/static/js/5.ddd8b7051bd31540c1e7.js
#	dist/static/js/5.e09a2e326af7febf25e6.js
#	dist/static/js/65.d5689cfd93ef0fdeec8f.js
#	dist/static/js/86.eed525f4271758e6d4bd.js
#	dist/static/js/app.6740e9091844769a3c23.js
#	dist/static/js/app.c4de882576d6bd95db5a.js
#	dist/static/js/app.f4c6439a69f25d66d8d4.js
#	src/views/enterpriseApp/myCustomer/onlineChatSet.vue
parents 091fa3ce e5eeba40
# [1.11.0](http://115.159.76.241/office/office-web/compare/v1.10.0...v1.11.0) (2019-11-11)
### Bug Fixes
* 修改gic跳转好办 ([addc413](http://115.159.76.241/office/office-web/commits/addc413))
* 修改任务 ([d07c6e5](http://115.159.76.241/office/office-web/commits/d07c6e5))
* 修改公告 ([85f79b1](http://115.159.76.241/office/office-web/commits/85f79b1))
* 修改公告 ([eeab2b3](http://115.159.76.241/office/office-web/commits/eeab2b3))
* 修改公告 ([3f6b92d](http://115.159.76.241/office/office-web/commits/3f6b92d))
* 修改公告 ([bf6e457](http://115.159.76.241/office/office-web/commits/bf6e457))
* 修改公告 ([62dc60c](http://115.159.76.241/office/office-web/commits/62dc60c))
* 修改公告图片 ([7c0819b](http://115.159.76.241/office/office-web/commits/7c0819b))
* 修改公告编辑 ([419ec2e](http://115.159.76.241/office/office-web/commits/419ec2e))
* 修改分页 ([7ed14bd](http://115.159.76.241/office/office-web/commits/7ed14bd))
* 修改卡券 ([b7119b9](http://115.159.76.241/office/office-web/commits/b7119b9))
* 修改卡券 ([cac05cd](http://115.159.76.241/office/office-web/commits/cac05cd))
* 修改卡券 ([cb6e647](http://115.159.76.241/office/office-web/commits/cb6e647))
* 修改卡券 ([3df3f42](http://115.159.76.241/office/office-web/commits/3df3f42))
* 修改卡券两个记录 ([fa28eb7](http://115.159.76.241/office/office-web/commits/fa28eb7))
* 修改卡券删除 ([a8e96a2](http://115.159.76.241/office/office-web/commits/a8e96a2))
* 修改卡券参数 ([72b4b92](http://115.159.76.241/office/office-web/commits/72b4b92))
* 修改卡券编辑 ([e954a69](http://115.159.76.241/office/office-web/commits/e954a69))
* 修改卡券编辑 ([2b0eb1c](http://115.159.76.241/office/office-web/commits/2b0eb1c))
* 修改卡券编辑 ([62a51c9](http://115.159.76.241/office/office-web/commits/62a51c9))
* 修改卡券编辑 ([e64d87e](http://115.159.76.241/office/office-web/commits/e64d87e))
* 修改卡券编辑 ([70fe1c0](http://115.159.76.241/office/office-web/commits/70fe1c0))
* 修改卡券编辑 ([f71f6a8](http://115.159.76.241/office/office-web/commits/f71f6a8))
* 修改卡券编辑 ([fa72c48](http://115.159.76.241/office/office-web/commits/fa72c48))
* 修改卡券编辑 ([1b9679e](http://115.159.76.241/office/office-web/commits/1b9679e))
* 修改卡券编辑 ([8bdb0b9](http://115.159.76.241/office/office-web/commits/8bdb0b9))
* 修改卡券编辑 ([75b7156](http://115.159.76.241/office/office-web/commits/75b7156))
* 修改卡券编辑 ([cd1b5ad](http://115.159.76.241/office/office-web/commits/cd1b5ad))
* 修改卡券编辑 ([9b07efd](http://115.159.76.241/office/office-web/commits/9b07efd))
* 修改卡券编辑 ([6fdf85c](http://115.159.76.241/office/office-web/commits/6fdf85c))
* 修改卡券编辑 ([37dce37](http://115.159.76.241/office/office-web/commits/37dce37))
* 修改卡券记录参数 ([5bcf43b](http://115.159.76.241/office/office-web/commits/5bcf43b))
* 修改卡券记录参数 ([2def957](http://115.159.76.241/office/office-web/commits/2def957))
* 修改发送记录 ([6e733b9](http://115.159.76.241/office/office-web/commits/6e733b9))
* 修改发送记录 ([c58520a](http://115.159.76.241/office/office-web/commits/c58520a))
* 修改审核 ([b95925b](http://115.159.76.241/office/office-web/commits/b95925b))
* 修改审核 ([65a9927](http://115.159.76.241/office/office-web/commits/65a9927))
* 修改审核 ([27c499b](http://115.159.76.241/office/office-web/commits/27c499b))
* 修改审核 ([cb4bbdd](http://115.159.76.241/office/office-web/commits/cb4bbdd))
* 修改审核 ([802420e](http://115.159.76.241/office/office-web/commits/802420e))
* 修改审核 ([ecd4e41](http://115.159.76.241/office/office-web/commits/ecd4e41))
* 修改富文本 ([6a029c8](http://115.159.76.241/office/office-web/commits/6a029c8))
* 修改富文本 ([ca75f42](http://115.159.76.241/office/office-web/commits/ca75f42))
* 修改富文本 ([1fb9ea0](http://115.159.76.241/office/office-web/commits/1fb9ea0))
* 修改富文本 ([0faccb0](http://115.159.76.241/office/office-web/commits/0faccb0))
* 修改富文本 ([a7e43fc](http://115.159.76.241/office/office-web/commits/a7e43fc))
* 修改富文本 ([5260366](http://115.159.76.241/office/office-web/commits/5260366))
* 修改富文本 ([673f1c6](http://115.159.76.241/office/office-web/commits/673f1c6))
* 修改富文本 ([0d8e208](http://115.159.76.241/office/office-web/commits/0d8e208))
* 修改富文本 ([3a709ac](http://115.159.76.241/office/office-web/commits/3a709ac))
* 修改富文本 ([71c57ee](http://115.159.76.241/office/office-web/commits/71c57ee))
* 修改我的顾客设置 ([4f6f945](http://115.159.76.241/office/office-web/commits/4f6f945))
* 修改排班 ([be561eb](http://115.159.76.241/office/office-web/commits/be561eb))
* 修改排班 ([ef157db](http://115.159.76.241/office/office-web/commits/ef157db))
* 修改提示 ([21e971b](http://115.159.76.241/office/office-web/commits/21e971b))
* 修改文案 ([234b8b8](http://115.159.76.241/office/office-web/commits/234b8b8))
* 修改文案 ([85ebbf1](http://115.159.76.241/office/office-web/commits/85ebbf1))
* 修改文案 ([814557e](http://115.159.76.241/office/office-web/commits/814557e))
* 修改新增卡券 ([c291a85](http://115.159.76.241/office/office-web/commits/c291a85))
* 修改新增卡券 ([f3910b4](http://115.159.76.241/office/office-web/commits/f3910b4))
* 修改新增卡券 ([409e8bd](http://115.159.76.241/office/office-web/commits/409e8bd))
* 修改显示 ([3ae8cbb](http://115.159.76.241/office/office-web/commits/3ae8cbb))
* 修改显示 ([f3eda7b](http://115.159.76.241/office/office-web/commits/f3eda7b))
* 修改显示 ([5f6dd94](http://115.159.76.241/office/office-web/commits/5f6dd94))
* 修改显示 ([70bc00d](http://115.159.76.241/office/office-web/commits/70bc00d))
* 修改显示 ([b345378](http://115.159.76.241/office/office-web/commits/b345378))
* 修改查看公告 ([8a4ee67](http://115.159.76.241/office/office-web/commits/8a4ee67))
* 修改查看公告 ([1f890a5](http://115.159.76.241/office/office-web/commits/1f890a5))
* 修改查看公告禁用 ([5a93f97](http://115.159.76.241/office/office-web/commits/5a93f97))
* 修改样式 ([a2fba38](http://115.159.76.241/office/office-web/commits/a2fba38))
* 修改样式 ([832400c](http://115.159.76.241/office/office-web/commits/832400c))
* 修改添加公告 ([e234ae7](http://115.159.76.241/office/office-web/commits/e234ae7))
* 修改添加公告范围选择 ([55714e1](http://115.159.76.241/office/office-web/commits/55714e1))
* 修改添加公告范围选择 ([8002bd4](http://115.159.76.241/office/office-web/commits/8002bd4))
* 修改添加公告预览样式 ([132e662](http://115.159.76.241/office/office-web/commits/132e662))
* 修改添加分组 ([63d1d32](http://115.159.76.241/office/office-web/commits/63d1d32))
* 修改行政架构添加分组 ([7bc012d](http://115.159.76.241/office/office-web/commits/7bc012d))
* 修改记录 ([f180882](http://115.159.76.241/office/office-web/commits/f180882))
* 修改记录 ([4884542](http://115.159.76.241/office/office-web/commits/4884542))
* 修改记录 ([da13162](http://115.159.76.241/office/office-web/commits/da13162))
* 修改记录 ([86f3859](http://115.159.76.241/office/office-web/commits/86f3859))
* 修改记录 ([35a6f4f](http://115.159.76.241/office/office-web/commits/35a6f4f))
* 修改记录 ([3fa85fd](http://115.159.76.241/office/office-web/commits/3fa85fd))
* 修改记录 ([7dda89b](http://115.159.76.241/office/office-web/commits/7dda89b))
* 修改记录 ([18daad9](http://115.159.76.241/office/office-web/commits/18daad9))
* 修改记录 ([5d86631](http://115.159.76.241/office/office-web/commits/5d86631))
* 修改记录 ([4e7dc70](http://115.159.76.241/office/office-web/commits/4e7dc70))
* 修改记录 ([ea5d6fe](http://115.159.76.241/office/office-web/commits/ea5d6fe))
* 修改记录 ([afd3bd0](http://115.159.76.241/office/office-web/commits/afd3bd0))
* 修改记录 ([5e9d218](http://115.159.76.241/office/office-web/commits/5e9d218))
* 修改记录 ([ffab46f](http://115.159.76.241/office/office-web/commits/ffab46f))
* 修改记录 ([b3bae4c](http://115.159.76.241/office/office-web/commits/b3bae4c))
* 修改记录 ([70be973](http://115.159.76.241/office/office-web/commits/70be973))
* 修改记录 ([d1f7ce4](http://115.159.76.241/office/office-web/commits/d1f7ce4))
* 修改话务任务 ([0c9dc59](http://115.159.76.241/office/office-web/commits/0c9dc59))
* 修改话务任务 ([7e25a07](http://115.159.76.241/office/office-web/commits/7e25a07))
* 修改运维跳转信息显示问题 ([70fecb0](http://115.159.76.241/office/office-web/commits/70fecb0))
* 打开短信提醒 ([91883fa](http://115.159.76.241/office/office-web/commits/91883fa))
### Features
* 增加公告新内容 ([432a894](http://115.159.76.241/office/office-web/commits/432a894))
* 增加卡券 ([65ee910](http://115.159.76.241/office/office-web/commits/65ee910))
* 增加发送记录页面 ([b7c0d79](http://115.159.76.241/office/office-web/commits/b7c0d79))
* 增加富文本视频添加 ([a08952e](http://115.159.76.241/office/office-web/commits/a08952e))
* 增加富文本视频添加预览 ([e44a940](http://115.159.76.241/office/office-web/commits/e44a940))
# [1.10.0](http://115.159.76.241/office/office-web/compare/v1.9.0...v1.10.0) (2019-10-17) # [1.10.0](http://115.159.76.241/office/office-web/compare/v1.9.0...v1.10.0) (2019-10-17)
......
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.72e158595fc1807bb5e19df9b73c738a.css rel=stylesheet></head><body style="min-width: 1400px;"><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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.863d5dfd97c53a3c7b22.js></script><script type=text/javascript src=./static/js/vendor.2be08ecde5c9eaaad9c2.js></script><script type=text/javascript src=./static/js/app.c4de882576d6bd95db5a.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.68f66279ea171166a5baa4b8478a4574.css rel=stylesheet></head><body style="min-width: 1400px;"><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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.018d0b4def91e4224ea9.js></script><script type=text/javascript src=./static/js/vendor.2be08ecde5c9eaaad9c2.js></script><script type=text/javascript src=./static/js/app.b2aa49204e9f7da744d1.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.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([31],{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(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_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 c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}}); webpackJsonp([32],{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(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_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 c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([45],{"1Sls":function(t,e){},SKyE:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("3Xzz"),n=s("PI0u"),r={name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(e,s,a){t.ruleForm.switch&&""==s.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){this.ruleForm=[]}},components:{navCrumb:a.a}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"companyAddress-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",style:{height:this.$store.state.bgHeight}},[e("h2",{staticClass:"font-w-500"},[this._v("企业地址设置")]),this._v(" "),e("p",{staticClass:"m-t-24"},[this._v("暂时无法设置")])])]),this._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var o=s("VU/8")(r,i,!1,function(t){s("1Sls")},"data-v-9e4f2136",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([45],{"1NWy":function(t,e){},PAYw: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("1NWy")},"data-v-97f6d394",null);e.default=a.exports}}); webpackJsonp([46],{"1NWy":function(t,e){},PAYw: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("1NWy")},"data-v-97f6d394",null);e.default=a.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([50],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("Xxa5"),o=t.n(n),r=t("exGp"),s=t.n(r),m=t("3Xzz"),i=t("WSbm"),c=t("P9l9"),d={name:"employeeDetail",components:{navCrumb:m.a,employeeInfo:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this;return s()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$refs.emmployInfo.submitForm("employeeForm");case 2:t.sent&&(n=a.$refs.emmployInfo.info,a.isNew?a.addEmployee(n,e):a.saveEmployeeInfo(n));case 4:case"end":return t.stop()}},t,a)}))()},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?(t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1,nationcode:"86"},t.$refs.emmployInfo.defaultSelection=[],t.$refs.emmployInfo.resetForm("employeeForm")):window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},p={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var u=t("VU/8")(d,p,!1,function(e){t("XqOc")},null,null);a.default=u.exports},XqOc:function(e,a){}}); webpackJsonp([51],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("Xxa5"),o=t.n(n),r=t("exGp"),s=t.n(r),m=t("3Xzz"),i=t("WSbm"),c=t("P9l9"),d={name:"employeeDetail",components:{navCrumb:m.a,employeeInfo:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this;return s()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$refs.emmployInfo.submitForm("employeeForm");case 2:t.sent&&(n=a.$refs.emmployInfo.info,a.isNew?a.addEmployee(n,e):a.saveEmployeeInfo(n));case 4:case"end":return t.stop()}},t,a)}))()},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?(t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1,nationcode:"86"},t.$refs.emmployInfo.defaultSelection=[],t.$refs.emmployInfo.resetForm("employeeForm")):window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},p={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var u=t("VU/8")(d,p,!1,function(e){t("XqOc")},null,null);a.default=u.exports},XqOc:function(e,a){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([51],{"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([52],{"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([52],{FdYP:function(t,e){},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 flex"},[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 c=i("VU/8")(s,a,!1,function(t){i("FdYP")},"data-v-6c75d59f",null);e.default=c.exports}}); webpackJsonp([53],{FdYP:function(t,e){},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 flex"},[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 c=i("VU/8")(s,a,!1,function(t){i("FdYP")},"data-v-6c75d59f",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([56],{"53ku":function(t,e){},"av/3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("53ku")},"data-v-63612582",null);e.default=s.exports}}); webpackJsonp([57],{"53ku":function(t,e){},"av/3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("53ku")},"data-v-63612582",null);e.default=s.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([57],{"41Rh":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"contact",components:{topNav:a("3Xzz").a},data:function(){return{rightH:(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){},computed:{}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"contact-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"contact-wrap__body",style:{height:t.rightH}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),a("div",{staticClass:"contact-wrap__right",style:{height:t.rightH}},[a("div",{staticClass:"contact-wrap__right__body"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])],1)],1)},staticRenderFns:[]};var c=a("VU/8")(o,n,!1,function(t){a("P4oC")},null,null);e.default=c.exports},P4oC:function(t,e){}}); webpackJsonp([58],{"41Rh":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"contact",components:{topNav:a("3Xzz").a},data:function(){return{rightH:(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){},computed:{}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"contact-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"contact-wrap__body",style:{height:t.rightH}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),a("div",{staticClass:"contact-wrap__right",style:{height:t.rightH}},[a("div",{staticClass:"contact-wrap__right__body"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])],1)],1)},staticRenderFns:[]};var c=a("VU/8")(o,n,!1,function(t){a("P4oC")},null,null);e.default=c.exports},P4oC:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([58],{"5Os6":function(t,e){},e88N:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"话务任务",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"话务任务记录",icon:"icon-tonghuahuawuliang",onlyIconActive:!1},{tabId:"2",tabName:"话务任务设置",icon:"icon-huawujinengzupeizhi",onlyIconActive:!1},{tabId:"3",tabName:"不良评价回访设置",icon:"icon-ribaoshezhi",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("taskRecord?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("trafficTaskSet?appIcon="+this.$route.query.appIcon);break;case"3":this.changeRoute("badEvaluateSet?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:i.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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("5Os6")},"data-v-5d5dbd63",null);e.default=r.exports}}); webpackJsonp([59],{"5Os6":function(t,e){},e88N:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"话务任务",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"话务任务记录",icon:"icon-tonghuahuawuliang",onlyIconActive:!1},{tabId:"2",tabName:"话务任务设置",icon:"icon-huawujinengzupeizhi",onlyIconActive:!1},{tabId:"3",tabName:"不良评价回访设置",icon:"icon-ribaoshezhi",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("taskRecord?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("trafficTaskSet?appIcon="+this.$route.query.appIcon);break;case"3":this.changeRoute("badEvaluateSet?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:i.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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("5Os6")},"data-v-5d5dbd63",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([60],{FT0U:function(t,e){},Gk4o:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"签到",appIcon:"",activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("FT0U")},"data-v-59c4a073",null);e.default=s.exports}}); webpackJsonp([61],{FT0U:function(t,e){},Gk4o:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"签到",appIcon:"",activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("FT0U")},"data-v-59c4a073",null);e.default=s.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([62],{lpYn: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("lpYn")},"data-v-51432d8f",null);e.default=c.exports}}); webpackJsonp([64],{lpYn: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("lpYn")},"data-v-51432d8f",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([63],{"6zFj":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),c=e("3E4D"),s=e("Ch4/"),o=e("PI0u"),i=e("P9l9"),r={name:"contactPermission",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"通讯录控制",path:""}],contactHideFlag:!1}},methods:{saveSet:Object(o.a)(function(){var t=this,a={contactHideFlag:t.contactHideFlag?"1":"0"};Object(i.e)("/haoban-manage-web/contact/save-contact-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):c.a.showmsg("保存成功","success")}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},300),getSetData:function(){var t=this;Object(i.e)("/haoban-manage-web/contact/find-contact-setting",{}).then(function(a){var e=a.data;1!=e.errorCode?s.a.errorMsg(e):t.contactHideFlag=1==e.result.contactHideFlag}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},mounted:function(){this.getSetData()},components:{navCrumb:n.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"storePermission-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{},[e("div",{staticClass:"check-box-wrap inline-block vertical-top"},[e("el-checkbox",{model:{value:t.contactHideFlag,callback:function(a){t.contactHideFlag=a},expression:"contactHideFlag"}},[t._v("隐藏通讯录模块")])],1),t._v(" "),e("div",{staticClass:"tip-text-wrap w-440 inline-block vertical-top"},[t._v("注:隐藏后,APP将不展示通讯录,通讯录仍可用,但无法进行通讯录及门店管理,以及添加员工操作。所有通讯录内容仅可在PC管理后台进行操作和管理。")])]),t._v(" "),e("div",[e("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var l=e("VU/8")(r,d,!1,function(t){e("R1ch")},"data-v-5090dca8",null);a.default=l.exports},R1ch:function(t,a){}}); webpackJsonp([65],{"6zFj":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),c=e("3E4D"),s=e("Ch4/"),o=e("PI0u"),i=e("P9l9"),r={name:"contactPermission",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"通讯录控制",path:""}],contactHideFlag:!1}},methods:{saveSet:Object(o.a)(function(){var t=this,a={contactHideFlag:t.contactHideFlag?"1":"0"};Object(i.e)("/haoban-manage-web/contact/save-contact-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):c.a.showmsg("保存成功","success")}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},300),getSetData:function(){var t=this;Object(i.e)("/haoban-manage-web/contact/find-contact-setting",{}).then(function(a){var e=a.data;1!=e.errorCode?s.a.errorMsg(e):t.contactHideFlag=1==e.result.contactHideFlag}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},mounted:function(){this.getSetData()},components:{navCrumb:n.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"storePermission-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{},[e("div",{staticClass:"check-box-wrap inline-block vertical-top"},[e("el-checkbox",{model:{value:t.contactHideFlag,callback:function(a){t.contactHideFlag=a},expression:"contactHideFlag"}},[t._v("隐藏通讯录模块")])],1),t._v(" "),e("div",{staticClass:"tip-text-wrap w-440 inline-block vertical-top"},[t._v("注:隐藏后,APP将不展示通讯录,通讯录仍可用,但无法进行通讯录及门店管理,以及添加员工操作。所有通讯录内容仅可在PC管理后台进行操作和管理。")])]),t._v(" "),e("div",[e("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var l=e("VU/8")(r,d,!1,function(t){e("R1ch")},"data-v-5090dca8",null);a.default=l.exports},R1ch:function(t,a){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([65],{SKyE:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r("3Xzz"),s=r("PI0u"),n={name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(e,r,a){t.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){this.ruleForm=[]}},components:{navCrumb:a.a}},o={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[r("h2",{staticClass:"font-w-500"},[t._v("企业地址设置")]),t._v(" "),r("p",{staticClass:"m-t-24"},[t._v("开启后手机端通讯录将显示,反之则不显示")]),t._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[r("el-form-item",{staticClass:"m-t-22",attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:t.ruleForm.switch,callback:function(e){t.$set(t.ruleForm,"switch",e)},expression:"ruleForm.switch"}})],1),t._v(" "),t.ruleForm.switch?r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1):t._e(),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保 存")])],1)],1)],1)]),t._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(n,o,!1,function(t){r("Sg4r")},"data-v-48c3dd53",null);e.default=l.exports},Sg4r:function(t,e){}});
\ No newline at end of file
webpackJsonp([68],{"8kVC":function(e,t){},ZxDn:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),i=a("Ke24"),c=a("Ch4/"),l=a("PI0u"),u=a("P9l9"),p={components:{commonDetailTop:i.a},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:a.brandId},Object(u.a)("/haoban-app-performance-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):c.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:e.brandId,year:e.year},Object(u.a)("/haoban-app-performance-web/performance/query-month-performance",n);case 3:r=t.sent,1==(o=r.data).errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.d)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 6:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","11"),this.brandId&&this.getYearList()}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"m-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon+" ")}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon)}}},[e._v("商户日权重")])]}}])})],2),e._v(" "),0!=e.tableList.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)],1)},staticRenderFns:[]};var d=a("VU/8")(p,h,!1,function(e){a("8kVC")},"data-v-46bca8a6",null);t.default=d.exports}}); webpackJsonp([69],{"8kVC":function(e,t){},ZxDn:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),i=a("Ke24"),c=a("Ch4/"),l=a("PI0u"),u=a("P9l9"),p={components:{commonDetailTop:i.a},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:a.brandId},Object(u.a)("/haoban-app-performance-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):c.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:e.brandId,year:e.year},Object(u.a)("/haoban-app-performance-web/performance/query-month-performance",n);case 3:r=t.sent,1==(o=r.data).errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.d)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 6:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","11"),this.brandId&&this.getYearList()}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"m-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon+" ")}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon)}}},[e._v("商户日权重")])]}}])})],2),e._v(" "),0!=e.tableList.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)],1)},staticRenderFns:[]};var d=a("VU/8")(p,h,!1,function(e){a("8kVC")},"data-v-46bca8a6",null);t.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([70],{"fIe/":function(t,e){},t0b0:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var l=a("VU/8")(s,i,!1,function(t){a("fIe/")},"data-v-3fd29910",null);e.default=l.exports}}); webpackJsonp([71],{"fIe/":function(t,e){},t0b0:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var l=a("VU/8")(s,i,!1,function(t){a("fIe/")},"data-v-3fd29910",null);e.default=l.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([71],{"Qdk+":function(t,e){},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/"),r=a("3E4D"),c=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(c.e)("/haoban-app-tel-task-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):r.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(c.e)("/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","3"),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("Qdk+")},"data-v-396d560e",null);e.default=u.exports}}); webpackJsonp([72],{"Qdk+":function(t,e){},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/"),r=a("3E4D"),c=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(c.e)("/haoban-app-tel-task-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):r.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(c.e)("/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","3"),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("Qdk+")},"data-v-396d560e",null);e.default=u.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([73],{"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.e)("/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.e)("/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("IIkM")},"data-v-35e62cb4",null);e.default=u.exports},IIkM:function(t,e){}}); webpackJsonp([74],{"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.e)("/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.e)("/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("IIkM")},"data-v-35e62cb4",null);e.default=u.exports},IIkM:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([76],{NTSj:function(t,e){},vgwM:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),o=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"我的顾客",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"},{tabId:"3",tabName:"聊天记录",icon:"icon-liaotianjilu"}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("memeberBaseSet?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("onlineChatSet?appIcon="+this.$route.query.appIcon);break;case"3":this.changeRoute("chatRecord?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:o.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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(c,s,!1,function(t){a("NTSj")},"data-v-2ffc19f0",null);e.default=r.exports}}); webpackJsonp([77],{NTSj:function(t,e){},vgwM:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),o=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"我的顾客",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"},{tabId:"3",tabName:"聊天记录",icon:"icon-liaotianjilu"}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("memeberBaseSet?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("onlineChatSet?appIcon="+this.$route.query.appIcon);break;case"3":this.changeRoute("chatRecord?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:o.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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(c,s,!1,function(t){a("NTSj")},"data-v-2ffc19f0",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([78],{"/IZy":function(t,e){},FB5x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",appIcon:"icon-ribao",activeSelTab:"11",activeTab:"11",tabListData:[{tabId:"1",tabName:"指标管理",icon:"icon-ribaoshezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"月指标",icon:""},{tabId:"13",tabName:"月指标任务",icon:""}]}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":case"11":case"12":this.changeRoute("monthList?appIcon="+this.$route.query.appIcon);break;case"13":this.changeRoute("monthTask?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:i.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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157"},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?a("keep-alive",[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("/IZy")},"data-v-2d226637",null);e.default=r.exports}}); webpackJsonp([79],{"/IZy":function(t,e){},FB5x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",appIcon:"icon-ribao",activeSelTab:"11",activeTab:"11",tabListData:[{tabId:"1",tabName:"指标管理",icon:"icon-ribaoshezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"月指标",icon:""},{tabId:"13",tabName:"月指标任务",icon:""}]}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":case"11":case"12":this.changeRoute("monthList?appIcon="+this.$route.query.appIcon);break;case"13":this.changeRoute("monthTask?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:i.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.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157"},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?a("keep-alive",[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("/IZy")},"data-v-2d226637",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([82],{"+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("Z64I")},null,null);t.default=i.exports},Z64I:function(e,t){}}); webpackJsonp([83],{"+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("Z64I")},null,null);t.default=i.exports},Z64I:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([84],{"+Qrr":function(e,t){},RQuk:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("mvHQ"),r=a.n(o),n=a("nsZK"),c=a("P9l9"),i=a("Ch4/"),s={name:"index",components:{storeTreeSelect:n.a},data:function(){var e=this;return{projectName:"haoban-manage-web",contentHeight:"0px",choiceDate:[],choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,o=t.minDate;e.choiceDateCopy=[o.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-26784e5,o=e.choiceDateCopy[0]+26784e5;return t.getTime()<a||t.getTime()>o||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},brandId:"",activeGroupId:"",storeGroupIds:[]}},methods:{exportData:function(){this.postExportData()},postExportData:function(){var e=this,t={date:e.choiceDate,storeIds:e.storeGroupIds};Object(c.a)("/haoban-manage-web/home/find-quick-entry",t).then(function(t){var a=t.data;1!=a.errorCode?i.a.errorMsg(a):e.entryData=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeDate:function(e){e?this.choiceDateCopy=JSON.parse(r()(this.choiceDate)):(this.choiceDateCopy=[],this.choiceDate=[])},checkStoreGroupIds:function(e){this.currentPage=1,this.storeGroupIds=e},getStoreData:function(){var e=this;Object(c.a)("/haoban-manage-web/home/find-quick-entry",{}).then(function(t){var a=t.data;1!=a.errorCode?i.a.errorMsg(a):e.entryData=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getStoreData()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sign-contain"},[a("div",{staticClass:"sign-content border-box"},[a("div",[a("el-date-picker",{staticClass:"m-l-10",attrs:{"picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changeDate},model:{value:e.choiceDate,callback:function(t){e.choiceDate=t},expression:"choiceDate"}})],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("store-tree-select",{attrs:{brandId:e.brandId,activeGroupId:e.activeGroupId},on:{checkStoreGroupIds:e.checkStoreGroupIds}})],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-button",{staticClass:"m-l-10",attrs:{type:"primary"},on:{click:e.exportData}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导 出")])],1)])])},staticRenderFns:[]};var u=a("VU/8")(s,d,!1,function(e){a("+Qrr")},"data-v-14d8f766",null);t.default=u.exports}}); webpackJsonp([85],{"+Qrr":function(e,t){},RQuk:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("mvHQ"),r=a.n(o),n=a("nsZK"),c=a("P9l9"),i=a("Ch4/"),s={name:"index",components:{storeTreeSelect:n.a},data:function(){var e=this;return{projectName:"haoban-manage-web",contentHeight:"0px",choiceDate:[],choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,o=t.minDate;e.choiceDateCopy=[o.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-26784e5,o=e.choiceDateCopy[0]+26784e5;return t.getTime()<a||t.getTime()>o||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},brandId:"",activeGroupId:"",storeGroupIds:[]}},methods:{exportData:function(){this.postExportData()},postExportData:function(){var e=this,t={date:e.choiceDate,storeIds:e.storeGroupIds};Object(c.a)("/haoban-manage-web/home/find-quick-entry",t).then(function(t){var a=t.data;1!=a.errorCode?i.a.errorMsg(a):e.entryData=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeDate:function(e){e?this.choiceDateCopy=JSON.parse(r()(this.choiceDate)):(this.choiceDateCopy=[],this.choiceDate=[])},checkStoreGroupIds:function(e){this.currentPage=1,this.storeGroupIds=e},getStoreData:function(){var e=this;Object(c.a)("/haoban-manage-web/home/find-quick-entry",{}).then(function(t){var a=t.data;1!=a.errorCode?i.a.errorMsg(a):e.entryData=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getStoreData()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sign-contain"},[a("div",{staticClass:"sign-content border-box"},[a("div",[a("el-date-picker",{staticClass:"m-l-10",attrs:{"picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changeDate},model:{value:e.choiceDate,callback:function(t){e.choiceDate=t},expression:"choiceDate"}})],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("store-tree-select",{attrs:{brandId:e.brandId,activeGroupId:e.activeGroupId},on:{checkStoreGroupIds:e.checkStoreGroupIds}})],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-button",{staticClass:"m-l-10",attrs:{type:"primary"},on:{click:e.exportData}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导 出")])],1)])])},staticRenderFns:[]};var u=a("VU/8")(s,d,!1,function(e){a("+Qrr")},"data-v-14d8f766",null);t.default=u.exports}});
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var a={},b={94:0};function f(c){if(a[c])return a[c].exports;var b=a[c]={i:c,l:!1,exports:{}};return e[c].call(b.exports,b,b.exports,f),b.l=!0,b.exports}f.e=function(e){var c=b[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=b[e]=[a,f]});c[2]=a;var d=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:"8955b285b26a5fd00e06",1:"fe9dec1f31b04053fd7e",2:"7c70b20d0245ddfd2517",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"671f674209839f9e3ff1",6:"124ad8222f7b043b44ae",7:"ebad93a8c5bffffd9e98",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"879536ae7ce46f0c54ec",13:"2502e450d1f12cb280d2",14:"906484db655680062129",15:"dc1ca8ebc6cc47b86e2d",16:"2ee1cd09e02cae2867cf",17:"78c6d10043e3245cbd2a",18:"4b5e4ee96f2607285a8a",19:"87254c3ea737cf4a3a52",20:"3b3584307ac3ff46beef",21:"c50987389f9771604c9c",22:"f08c872fb1b9438d09ff",23:"72253cd50bf503f110c3",24:"9d547e5255fc6330d24b",25:"eec22b32acb05418f905",26:"d898666a33f9f66c7e10",27:"afae934958ae5b71b9bf",28:"6a37c0d8bd425ec79cb7",29:"620446c0996e3be828e1",30:"8dd94e19e54f6bdeff8b",31:"f5995e97021a541fab69",32:"0a78ac901bb244b3a211",33:"be4c1b8d954b7a0dfcbd",34:"3072610dd40c9bc22a0a",35:"e9723ab5e67c6f46abe7",36:"d269a4c027b9923c8f0b",37:"032b04ab3168d233c759",38:"f269dae801787747180c",39:"f20dd6d71ebc39700f39",40:"3548050450854d3f79b7",41:"d1a01c481b63fe169fc8",42:"eec975c417c042a14578",43:"e386ed64995ca06996f1",44:"ebf089cd236f952c4ed5",45:"60f5fbc93b24a80e4d40",46:"8ec8b7ea0cd1a7836238",47:"4f0ebd1f6783f8635c5c",48:"0102036aabe6d22eeca7",49:"8d435792cb4f96b39c86",50:"97bfabc741af04439409",51:"255edf9edd96daa860bb",52:"b107eee70ea68c43c909",53:"c51a40cbf12e84ae59ad",54:"1eedcc8a2ca81c7faba7",55:"c0163e3368ab1e90e0c7",56:"d2c81446cfcbc93dd6bf",57:"2501a20b61201f56dc56",58:"1b7cb6a215c43472b34a",59:"6692b1c65ee9871115a3",60:"ebe002fa906bb34ed644",61:"ec8f2dd38d665784752e",62:"38bb5f56afa8e07c1d8d",63:"8b6ead0906194edc3c0d",64:"9e9e6c975da49f619ba8",65:"7cce1d2fb05695ee6ca3",66:"fa9cf589def0bbe61e42",67:"ec64054836d24d69d770",68:"be228ce7e1705d45d921",69:"7c0d219f199de7a5aa08",70:"40949db65dde54d20563",71:"88c61f6808601aa94619",72:"fc9124a2742130a58dd5",73:"90c8570de7549c40e059",74:"e6cb1e6e66639bb9eae0",75:"e33b8312c981514cb576",76:"55fdeb4c208665576c2e",77:"0b7caafe8eb01d917eee",78:"0ff2525f65d5301b1885",79:"a52d9e17e23daa6ca67b",80:"6c4a35948b55bb20867c",81:"1d07c71ce77a84631f29",82:"ba8c6bfcc229cd575bd1",83:"c38972b6190154b3d0d0",84:"c1450a8881d7cff8480b",85:"56e5bfa61707b0db1ef0",86:"8c8bb30a423586d7ef97",87:"9beb2ffaabf2854a2f6b",88:"abf95430e8a950680b13",89:"911695626dd8f017cc55",90:"f7b006894387acfdd5cc",93:"083cbc673f1bbd390b27"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=b[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},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(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={94:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;var 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:"ee42030d0d7dfd3a7415",1:"fe9dec1f31b04053fd7e",2:"b8fa98f196601c9f437e",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"ddd8b7051bd31540c1e7",6:"124ad8222f7b043b44ae",7:"ebad93a8c5bffffd9e98",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"879536ae7ce46f0c54ec",13:"2502e450d1f12cb280d2",14:"906484db655680062129",15:"dc1ca8ebc6cc47b86e2d",16:"2ee1cd09e02cae2867cf",17:"78c6d10043e3245cbd2a",18:"4b5e4ee96f2607285a8a",19:"87254c3ea737cf4a3a52",20:"3b3584307ac3ff46beef",21:"c50987389f9771604c9c",22:"f08c872fb1b9438d09ff",23:"58acacffe3992285d570",24:"9d547e5255fc6330d24b",25:"eec22b32acb05418f905",26:"d898666a33f9f66c7e10",27:"afae934958ae5b71b9bf",28:"6a37c0d8bd425ec79cb7",29:"3cc9b791320a38363e14",30:"e5670f38e863b827565e",31:"0152758bf0eba4ffa971",32:"641f0c04a7b39b5e8ea8",33:"d6a3c7592d0a72050419",34:"3072610dd40c9bc22a0a",35:"e9723ab5e67c6f46abe7",36:"d269a4c027b9923c8f0b",37:"032b04ab3168d233c759",38:"f269dae801787747180c",39:"f20dd6d71ebc39700f39",40:"3548050450854d3f79b7",41:"d1a01c481b63fe169fc8",42:"eec975c417c042a14578",43:"e386ed64995ca06996f1",44:"ebf089cd236f952c4ed5",45:"67c57cfc14847ad350df",46:"7fe51c0f71cfaec33913",47:"3e6826374ecefce69c18",48:"d6ccd29f5cd5515fe3c8",49:"a506c08b27c8706990e4",50:"43b4530ad8b72c54ecc4",51:"7fc0ff7b08a3b083ca59",52:"32f90b9a69e582931b38",53:"37fe749ecaf97f20d0a4",54:"51bb9c2c2f65a3ded931",55:"445f4e3bb91f16b7a95e",56:"72d8765f904b511cd6b8",57:"8537277e2d7085de6cf7",58:"4a0908d2514540724058",59:"5b909552dcda17d3db46",60:"f084d603d9237fb54da1",61:"9e02c21fe65c22d20569",62:"1a1be02dbe49eba047e8",63:"f75d89d38358625458e0",64:"de9d235e55d32415e2a7",65:"d5689cfd93ef0fdeec8f",66:"6422ce98ecc350a58087",67:"165f5e6b83725d477bf8",68:"c27352fbe93b754f3719",69:"a2a84fd3cecbcc43952d",70:"266a3f3668b9e62e4776",71:"edd82ef8fa0504c274e5",72:"e01f8e09cbe1bab126a7",73:"32d226bf075dff26dda8",74:"1bb738aed66456b26308",75:"e5d5bc4e9bc0a93824fc",76:"c10a68acea934b14bca5",77:"6d4763b8e251875a975d",78:"da51424374ee2553088b",79:"19a7b62d55e55f1c11ad",80:"c84f70f0ef43210700b9",81:"394ad3daaac030188030",82:"866ecc232429500f83a9",83:"919f4d2847ec4d92dbf0",84:"6312aa6cf40c5c8475a6",85:"e46a28c4359c015334e7",86:"eed525f4271758e6d4bd",87:"9beb2ffaabf2854a2f6b",88:"abf95430e8a950680b13",89:"911695626dd8f017cc55",90:"f7b006894387acfdd5cc",93:"083cbc673f1bbd390b27"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
{ {
"name": "haoban-web", "name": "haoban-web",
"version": "1.10.0", "version": "1.11.0",
"description": "haoban", "description": "haoban",
"author": "fairyly", "author": "fairyly",
"private": false, "private": false,
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"awesome-phonenumber": "^2.12.0", "awesome-phonenumber": "^2.12.0",
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",
"element-ui": "^2.10.1", "element-ui": "^2.10.1",
"exif-js": "^2.3.0",
"file-saver": "^1.3.8", "file-saver": "^1.3.8",
"html2canvas": "^1.0.0-alpha.12", "html2canvas": "^1.0.0-alpha.12",
"jspdf": "^1.5.3", "jspdf": "^1.5.3",
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-09-19 10:44:47 * @Date: 2019-09-19 10:44:47
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-09-26 16:23:14 * @LastEditTime: 2019-11-13 15:46:54
--> -->
<!-- <!--
<chat-log-list :brandId="brandId" :itemRow="itemRow" :showFlag='showFlag' @hideDetail="hideDetail"></chat-log-list> <chat-log-list :brandId="brandId" :itemRow="itemRow" :showFlag='showFlag' @hideDetail="hideDetail"></chat-log-list>
...@@ -55,6 +55,7 @@ components: { ...@@ -55,6 +55,7 @@ components: {
</div> </div>
</template> </template>
<script> <script>
// import EXIF from 'exif-js';
import { postRequest } from '@/api/api'; import { postRequest } from '@/api/api';
import errMsg from '@/common/js/error'; import errMsg from '@/common/js/error';
export default { export default {
...@@ -132,9 +133,31 @@ export default { ...@@ -132,9 +133,31 @@ export default {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
if (resData.result && resData.result.length) { if (resData.result && resData.result.length) {
resData.result.forEach(ele => { // resData.result.forEach(ele => {
that.chatDetailData.push(ele); for (let i = 0; i < resData.result.length; i++) {
}); /* if (resData.result[i].msgType == 'image') {
let img = new Image();
let orientation;
img.src = resData.result[i].content;
img.setAttribute('crossOrigin', 'Anonymous');
let canvas = document.createElement('canvas');
let ctx = canvas.getContext('2d');
img.onload = function() {
console.log(img, img.width);
ctx.drawImage(img, 0, 0);
let baseUrl = canvas.toDataURL('image/png');
console.log(baseUrl);
EXIF.getData(img, function() {
//获取图片原数据orientation
orientation = EXIF.getTag(img, 'Orientation');
});
console.log(orientation);
};
} */
that.chatDetailData.push(resData.result[i]);
}
// });
} }
return; return;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-11-07 17:30:04 * @Date: 2019-11-07 17:30:04
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-11-08 03:56:59 * @LastEditTime: 2019-11-12 19:50:39
--> -->
<!-- <!--
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<li> <li>
<div class="day-item-title" title="从该天开始周期排班至月底">从该天开始周期排班至月底</div> <div class="day-item-title" title="从该天开始周期排班至月底">从该天开始周期排班至月底</div>
<ul> <ul>
<li class="day-class-item p-lr-20"> <li class="day-class-item p-lr-20" @click.stop="dayWeekSet">
<p class="class-item day-tag-blue">{{ cycleData[0].cycleName }} {{ cycleData[0].itemList.map(item => item.className).join('-') }}</p> <p class="class-item day-tag-blue">{{ cycleData[0].cycleName }} {{ cycleData[0].itemList.map(item => item.className).join('-') }}</p>
</li> </li>
</ul> </ul>
...@@ -75,6 +75,12 @@ export default { ...@@ -75,6 +75,12 @@ export default {
return []; return [];
} }
}, },
dates: {
type: [Array, Object],
default() {
return [];
}
},
workDate: { workDate: {
type: Number, type: Number,
default() { default() {
...@@ -122,10 +128,8 @@ export default { ...@@ -122,10 +128,8 @@ export default {
// console.log(item); // console.log(item);
if (that.itemSchedule.schedules && that.itemSchedule.schedules.length) { if (that.itemSchedule.schedules && that.itemSchedule.schedules.length) {
let arr = that.itemSchedule.schedules.map(ele => ele.workDate); let arr = that.itemSchedule.schedules.map(ele => ele.workDate);
// console.log(arr, arr.includes(that.workDate));
if (arr.includes(that.workDate)) { if (arr.includes(that.workDate)) {
that.itemSchedule.schedules.forEach(ele => { that.itemSchedule.schedules.forEach(ele => {
// console.log('schedules.forEach', ele.workDate, that.workDate);
if (ele.workDate == that.workDate) { if (ele.workDate == that.workDate) {
ele.serial = item.serial; ele.serial = item.serial;
ele.classes = { ele.classes = {
...@@ -133,10 +137,8 @@ export default { ...@@ -133,10 +137,8 @@ export default {
serial: item.serial serial: item.serial
}; };
ele.isRest = true; ele.isRest = true;
// console.log('ele:', ele);
} }
}); });
// console.log('includes: true', that.itemSchedule);
that.$forceUpdate(); that.$forceUpdate();
} else { } else {
let newData = JSON.parse(JSON.stringify(that.itemSchedule.schedules)); let newData = JSON.parse(JSON.stringify(that.itemSchedule.schedules));
...@@ -150,7 +152,7 @@ export default { ...@@ -150,7 +152,7 @@ export default {
workDate: that.workDate workDate: that.workDate
}); });
that.itemSchedule.schedules = JSON.parse(JSON.stringify(newData)); that.itemSchedule.schedules = JSON.parse(JSON.stringify(newData));
// console.log('includes: false', that.itemSchedule); // console.log('false:', that.itemSchedule);
} }
} else { } else {
// console.log('null', that.itemSchedule); // console.log('null', that.itemSchedule);
...@@ -165,8 +167,52 @@ export default { ...@@ -165,8 +167,52 @@ export default {
workDate: that.workDate workDate: that.workDate
}); });
} }
// 根据时间戳排序
that.itemSchedule.schedules.sort(function(a, b) {
return a.workDate - b.workDate;
});
// console.log('all:[]', that.itemSchedule); // console.log('all:[]', that.itemSchedule);
that.$forceUpdate(); that.$forceUpdate();
},
/**
* 周期
*/
dayWeekSet() {
const that = this;
// 当前选择的几号,还有轮询排班周期
let today = new Date(that.workDate).getDate();
let newDates = []; // 当前成员 新的需要重新设置的日期数据
for (let index = today - 1; index < that.dates.length; index++) {
newDates.push(that.dates[index]);
}
let cycleLength = that.cycleData[0].itemList.length; // 排班有几个班次,相当于一个周期是几天
// 然后在这个日期区间内按照排班周期设置
newDates.forEach((date, index) => {
date.serial = that.cycleData[0].itemList[index % cycleLength].className;
date.classes = {
id: that.cycleData[0].itemList[index % cycleLength].classId,
serial: that.cycleData[0].itemList[index % cycleLength].className
};
date.isRest = true;
date.workDate = date.timeStamp;
});
// 把小于当前日期已经设置的排班全部添加到周期设置的数据中(newDates)
if (!that.itemSchedule.hasOwnProperty('schedules')) {
that.$set(that.itemSchedule, 'schedules', []);
}
that.itemSchedule.schedules.forEach((ele, key) => {
if (ele.workDate < that.workDate) {
newDates.push(ele);
}
});
// 重新根据时间戳排序
newDates.sort(function(a, b) {
return a.workDate - b.workDate;
});
that.itemSchedule.schedules = JSON.parse(JSON.stringify(newDates));
that.$set(that.itemSchedule, 'schedules', JSON.parse(JSON.stringify(newDates)));
// console.log(that.itemSchedule, newDates);
that.$forceUpdate();
} }
} }
}; };
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-10-22 15:12:41 * @Date: 2019-10-22 15:12:41
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-11-07 11:21:19 * @LastEditTime: 2019-11-13 11:25:39
--> -->
<!-- <!--
...@@ -182,6 +182,12 @@ export default { ...@@ -182,6 +182,12 @@ export default {
width: 100%; width: 100%;
height: auto; height: auto;
} }
/deep/ p {
iframe {
width: 100%;
height: auto;
}
}
} }
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-09-25 17:05:58 * @LastEditTime: 2019-11-18 09:44:19
--> -->
<template> <template>
<div class="template-wrap" :style="{ height: bodyHeight }"> <div class="template-wrap" :style="{ height: bodyHeight }">
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<template v-if="currentIndex == index && !item.systemFlag && item.type != 6"> <template v-if="currentIndex == index && !item.systemFlag && item.type != 6">
<div class="edit-item test-title limit-w-340" :key="'child' + index"> <div class="edit-item test-title limit-w-340" :key="'child' + index">
<div class="edit-item-title">标题</div> <div class="edit-item-title">标题</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.title" :holder="''" :disflag="item.systemFlag" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.title" :holder="''" :disflag="item.systemFlag" :getByType="'word'" :maxLength="10"> </limitInput>
<p v-if="item.type == 7" style="margin-top: 8px;font-size: 12px;color: rgba(255, 255, 255, 0.7)"> <p v-if="item.type == 7" style="margin-top: 8px;font-size: 12px;color: rgba(255, 255, 255, 0.7)">
图片最多可添加9张 图片最多可添加9张
</p> </p>
...@@ -182,18 +182,18 @@ ...@@ -182,18 +182,18 @@
<template v-if="currentIndex == index && !item.systemFlag && item.type == 6"> <template v-if="currentIndex == index && !item.systemFlag && item.type == 6">
<div class="edit-item test-title limit-w-340" :key="'child62' + index"> <div class="edit-item test-title limit-w-340" :key="'child62' + index">
<div class="edit-item-title">标题 最多10个字</div> <div class="edit-item-title">标题 最多10个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.startTitle" :holder="''" :disflag="item.systemFlag" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.startTitle" :holder="''" :disflag="item.systemFlag" :getByType="'word'" :maxLength="10"> </limitInput>
</div> </div>
<div class="edit-item test-title limit-w-340" :key="'child64' + index"> <div class="edit-item test-title limit-w-340" :key="'child64' + index">
<div class="edit-item-title">标题2 最多10个字</div> <div class="edit-item-title">标题2 最多10个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.endTitle" :holder="''" :disflag="item.systemFlag" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.endTitle" :holder="''" :disflag="item.systemFlag" :getByType="'word'" :maxLength="10"> </limitInput>
</div> </div>
</template> </template>
<!-- 提示 组块 日期,图片没有--> <!-- 提示 组块 日期,图片没有-->
<template v-if="currentIndex == index && !item.systemFlag && (item.type != 11 && item.type != 5 && item.type != 7)"> <template v-if="currentIndex == index && !item.systemFlag && (item.type != 11 && item.type != 5 && item.type != 7)">
<div class="edit-item test-title limit-w-340" :key="'child1' + index"> <div class="edit-item test-title limit-w-340" :key="'child1' + index">
<div class="edit-item-title">提示文字最多20个字</div> <div class="edit-item-title">提示文字最多20个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.placeholder" :holder="''" :disflag="false" :getByType="'char'" :maxLength="20"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.placeholder" :holder="''" :disflag="false" :getByType="'word'" :maxLength="20"> </limitInput>
<p class="font-12 m-t-10" v-if="item.type == 2 || item.type == 9">内容最多输入500个字</p> <p class="font-12 m-t-10" v-if="item.type == 2 || item.type == 9">内容最多输入500个字</p>
<p class="font-12 m-t-10" v-if="item.type == 1">内容最多输入100个字</p> <p class="font-12 m-t-10" v-if="item.type == 1">内容最多输入100个字</p>
</div> </div>
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<template v-if="currentIndex == index && !item.systemFlag && item.type == 3"> <template v-if="currentIndex == index && !item.systemFlag && item.type == 3">
<div class="edit-item test-title limit-w-340" :key="'child11' + index"> <div class="edit-item test-title limit-w-340" :key="'child11' + index">
<div class="edit-item-title">单位最多20个字</div> <div class="edit-item-title">单位最多20个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.placeholder" :holder="''" :disflag="false" :getByType="'char'" :maxLength="20"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="item.placeholder" :holder="''" :disflag="false" :getByType="'word'" :maxLength="20"> </limitInput>
<p class="font-12 m-t-10">内容最大限制为12位数</p> <p class="font-12 m-t-10">内容最大限制为12位数</p>
</div> </div>
</template> </template>
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
<div class="edit-item-title">选项 <span v-if="!item.systemFlag">最多20项,每项最多10个字</span></div> <div class="edit-item-title">选项 <span v-if="!item.systemFlag">最多20项,每项最多10个字</span></div>
<template v-for="(types, childItemInd) in item.list"> <template v-for="(types, childItemInd) in item.list">
<div class="margin-t-15 limit-w-340" :style="childItemInd == 0 ? 'margin-top: 0' : ''" :key="'child10' + childItemInd"> <div class="margin-t-15 limit-w-340" :style="childItemInd == 0 ? 'margin-top: 0' : ''" :key="'child10' + childItemInd">
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="types.value" :holder="''" :disflag="item.systemFlag" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="types.value" :holder="''" :disflag="item.systemFlag" :getByType="'word'" :maxLength="10"> </limitInput>
<i class="opt-btn el-icon-remove del-item" v-if="!item.systemFlag && item.list.length > 1" @click="delChildItem(index, childItemInd, item)"></i> <i class="opt-btn el-icon-remove del-item" v-if="!item.systemFlag && item.list.length > 1" @click="delChildItem(index, childItemInd, item)"></i>
<template v-if="!item.systemFlag && childItemInd < 19"> <template v-if="!item.systemFlag && childItemInd < 19">
<i class="opt-btn el-icon-circle-plus add-item" v-if="childItemInd == item.list.length - 1" @click="addChildItem(index, childItemInd, item)"></i> <i class="opt-btn el-icon-circle-plus add-item" v-if="childItemInd == item.list.length - 1" @click="addChildItem(index, childItemInd, item)"></i>
...@@ -289,11 +289,11 @@ ...@@ -289,11 +289,11 @@
<template v-if="currentChildIndex == ind && !childItem.systemFlag && childItem.type == 6"> <template v-if="currentChildIndex == ind && !childItem.systemFlag && childItem.type == 6">
<div class="edit-item test-title limit-w-340" :key="'child2' + ind"> <div class="edit-item test-title limit-w-340" :key="'child2' + ind">
<div class="edit-item-title">标题 最多10个字</div> <div class="edit-item-title">标题 最多10个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="childItem.startTitle" :holder="''" :disflag="childItem.systemFlag" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="childItem.startTitle" :holder="''" :disflag="childItem.systemFlag" :getByType="'word'" :maxLength="10"> </limitInput>
</div> </div>
<div class="edit-item test-title limit-w-340" :key="'child4' + ind"> <div class="edit-item test-title limit-w-340" :key="'child4' + ind">
<div class="edit-item-title">标题2 最多10个字</div> <div class="edit-item-title">标题2 最多10个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="childItem.endTitle" :holder="''" :disflag="childItem.systemFlag" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="childItem.endTitle" :holder="''" :disflag="childItem.systemFlag" :getByType="'word'" :maxLength="10"> </limitInput>
</div> </div>
</template> </template>
<!-- 提示 --> <!-- 提示 -->
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
<div class="edit-item-title">选项 <span v-if="!childItem.systemFlag">最多20项,每项最多10个字</span></div> <div class="edit-item-title">选项 <span v-if="!childItem.systemFlag">最多20项,每项最多10个字</span></div>
<template v-for="(types, childItemInd) in childItem.list"> <template v-for="(types, childItemInd) in childItem.list">
<div class="margin-t-15 limit-w-340" :style="childItemInd == 0 ? 'margin-top: 0' : ''" :key="'child10' + childItemInd"> <div class="margin-t-15 limit-w-340" :style="childItemInd == 0 ? 'margin-top: 0' : ''" :key="'child10' + childItemInd">
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="types.value" :holder="''" :disflag="childItem.systemFlag" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="types.value" :holder="''" :disflag="childItem.systemFlag" :getByType="'word'" :maxLength="10"> </limitInput>
<i class="opt-btn el-icon-remove del-item" v-if="!childItem.systemFlag && childItem.list.length > 1" @click="delChildItem(index, childItemInd, childItem)"></i> <i class="opt-btn el-icon-remove del-item" v-if="!childItem.systemFlag && childItem.list.length > 1" @click="delChildItem(index, childItemInd, childItem)"></i>
<template v-if="!childItem.systemFlag && childItemInd < 19"> <template v-if="!childItem.systemFlag && childItemInd < 19">
<i class="opt-btn el-icon-circle-plus add-item" v-if="childItemInd == childItem.list.length - 1" @click="addChildItem(index, childItemInd, childItem)"></i> <i class="opt-btn el-icon-circle-plus add-item" v-if="childItemInd == childItem.list.length - 1" @click="addChildItem(index, childItemInd, childItem)"></i>
...@@ -389,11 +389,11 @@ ...@@ -389,11 +389,11 @@
<el-tab-pane label="模板设置" name="second"> <el-tab-pane label="模板设置" name="second">
<div class="template-item limit-w-340"> <div class="template-item limit-w-340">
<div class="edit-item-title edit-title-padding">模板名称 最多10个字</div> <div class="edit-item-title edit-title-padding">模板名称 最多10个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="templateObj.title" :holder="''" :disflag="false" :getByType="'char'" :maxLength="10"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="templateObj.title" :holder="''" :disflag="false" :getByType="'word'" :maxLength="10"> </limitInput>
</div> </div>
<div class="template-item limit-w-340"> <div class="template-item limit-w-340">
<div class="edit-item-title edit-title-padding">模板描述 最多20个字</div> <div class="edit-item-title edit-title-padding">模板描述 最多20个字</div>
<limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="templateObj.description" :holder="''" :disflag="false" :getByType="'char'" :maxLength="20"> </limitInput> <limitInput :inputWidth="340" :limitClass="'limit-color'" :inputValue.sync="templateObj.description" :holder="''" :disflag="false" :getByType="'word'" :maxLength="20"> </limitInput>
</div> </div>
<div class="template-item "> <div class="template-item ">
<div class="edit-item-title edit-title-padding">门店类型</div> <div class="edit-item-title edit-title-padding">门店类型</div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-09-18 15:25:12 * @Date: 2019-09-18 15:25:12
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-11-08 01:09:07 * @LastEditTime: 2019-11-11 19:03:00
--> -->
<template> <template>
...@@ -41,18 +41,18 @@ ...@@ -41,18 +41,18 @@
<div class="day-work"> <div class="day-work">
<el-popover placement="bottom" width="231" trigger="click"> <el-popover placement="bottom" width="231" trigger="click">
<!-- 当前员工当天排版设置 --> <!-- 当前员工当天排版设置 -->
<people-day-class :itemSchedule="scope.row" :workDate="item.timeStamp" :classData="classes" :cycleData="cycleData"></people-day-class> <people-day-class :dates="dates" :itemSchedule="scope.row" :workDate="item.timeStamp" :classData="classes" :cycleData="cycleData" @refreshData="refreshData"></people-day-class>
<div class="tool-tip-body" slot="reference"> <div class="tool-tip-body" slot="reference">
<div class="day-work-cell schedule_del_class"> <div class="day-work-cell schedule_del_class">
{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial + '6' : '' }} <!-- {{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial + '6' : '' }} -->
<el-tooltip v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp" class="item" effect="dark" :content="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].classes.serial : ''" placement="top-start"> <!-- <el-tooltip v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp" class="item" effect="dark" :content="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : ''" placement="top-start">
<div class="day-work-cell_text">{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : '清空' }}</div> <div class="day-work-cell_text">{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : '清空' }}</div>
<div v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp && scope.row.schedules[index].isRest" class="day-work-cell_icon"></div> <div v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp && scope.row.schedules[index].isRest" class="day-work-cell_icon"></div>
</el-tooltip> </el-tooltip> -->
<div v-if="!scope.row.schedules || !scope.row.schedules[index]"> <!-- <div v-if="!scope.row.schedules || !scope.row.schedules[index]"> -->
<div class="day-work-cell_text">{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : '清空' }}</div> <div class="day-work-cell_text">{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : '清空' }}</div>
<div v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp && scope.row.schedules[index].isRest" class="day-work-cell_icon"></div> <div v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp && scope.row.schedules[index].isRest" class="day-work-cell_icon"></div>
</div> <!-- </div> -->
</div> </div>
</div> </div>
</el-popover> </el-popover>
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
cycleName: '555555', cycleName: '555555',
id: 287955018, id: 287955018,
isValid: true, isValid: true,
itemList: [{ classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }] itemList: [{ classId: 468090517, className: '3', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }]
} }
], ],
// 班次 // 班次
...@@ -229,6 +229,7 @@ export default { ...@@ -229,6 +229,7 @@ export default {
{ dayOfWeek: 1, timeStamp: 1577635200000 }, { dayOfWeek: 1, timeStamp: 1577635200000 },
{ dayOfWeek: 2, timeStamp: 1577721600000 } { dayOfWeek: 2, timeStamp: 1577721600000 }
], ],
// 表格数据必须要有,不能空,获取数据的时候就要处理
tableData: [ tableData: [
{ {
user: { user: {
...@@ -287,13 +288,28 @@ export default { ...@@ -287,13 +288,28 @@ export default {
name: '黄芝文', name: '黄芝文',
uid: 276048440, uid: 276048440,
userId: '113456291040121422' userId: '113456291040121422'
} },
schedules: [
{
classes: {
id: 468090517,
serial: '3'
},
serial: '3',
isRest: false,
workDate: 1575129600000
}
]
} }
] ]
}; };
}, },
methods: { methods: {
/** /**
* 刷新数据
*/
// refreshData() {},
/**
* 获取列表数据 * 获取列表数据
*/ */
getTableList(val) { getTableList(val) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-10-24 15:20:19 * @LastEditTime: 2019-11-14 16:02:29
--> -->
<!-- <!--
...@@ -77,11 +77,21 @@ ...@@ -77,11 +77,21 @@
<i class="el-alert__icon el-icon-info font-12 color-1890ff"></i> <i class="el-alert__icon el-icon-info font-12 color-1890ff"></i>
<div class="el-alert__content"><span class="el-alert__title color-606266 font-14">注:GIC设置分组后,好办会员分组列表次日刷新,每日刷新一次,仅展示GIC中开启【好办展示】的会员分组</span></div> <div class="el-alert__content"><span class="el-alert__title color-606266 font-14">注:GIC设置分组后,好办会员分组列表次日刷新,每日刷新一次,仅展示GIC中开启【好办展示】的会员分组</span></div>
</div> </div>
</div>
<div class="m-t-20 m-b-20">
<div class="switch-wrap m-t-20"> <div class="switch-wrap m-t-20">
<el-switch v-model="overTimeSeeFlag" active-text="" inactive-text="" @change="saveGroupSet"> </el-switch> <div class="flex flex-space-between">
<el-tooltip class="item" effect="dark" content="开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组" placement="top-start"> <div class="flex flex-align-center">
<span style="cursor: pointer;">会员分组到期后不展示<span class="el-icon-info font-12 color-909399"></span> </span <el-switch v-model="overTimeSeeFlag" active-text="" inactive-text="" @change="saveGroupSet"> </el-switch>
></el-tooltip> <el-tooltip class="item" effect="dark" content="开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组" placement="top-start">
<span style="cursor: pointer;" class="font-14 color-606266">会员分组到期后不展示<span class="el-icon-info font-12 color-909399"></span> </span
></el-tooltip>
</div>
<div>
<span v-if="syncDate" class="font-14 color-606266 p-r-10">最近一次同步时间:{{ syncDate | formatTimeStamp }}</span
><el-button type="primary" @click="toSync">立即同步</el-button>
</div>
</div>
</div> </div>
</div> </div>
<div> <div>
...@@ -227,7 +237,9 @@ export default { ...@@ -227,7 +237,9 @@ export default {
isSelectPerson: false, // 控制只能选部门(false) isSelectPerson: false, // 控制只能选部门(false)
dialogVisible: false, // 控制显示/隐藏 dialogVisible: false, // 控制显示/隐藏
isSingle: false // 是否单选 isSingle: false // 是否单选
} },
// 最近同步时间
syncDate: ''
}; };
}, },
beforeMount() { beforeMount() {
...@@ -240,6 +252,55 @@ export default { ...@@ -240,6 +252,55 @@ export default {
} }
}, },
methods: { methods: {
/**
* 获取同步时间
*/
getSyncDate(brandId) {
const that = this;
let para = {
brandId: that.brandId || brandId
};
postRequest('/haoban-app-member-web/memberGroup/get-group_last_syn_time', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
that.syncDate = resData.result;
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
},
/**
* 立即同步
*/
toSync: _debounce(function() {
const that = this;
let para = {
brandId: that.brandId
};
postRequest('/haoban-app-member-web/memberGroup/syn-group', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
showMsg.showmsg('同步成功', 'success');
that.getSyncDate();
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}, 500),
/* eslint-disable */ /* eslint-disable */
async handleTabClick(tab, event) { async handleTabClick(tab, event) {
const that = this; const that = this;
...@@ -450,6 +511,8 @@ export default { ...@@ -450,6 +511,8 @@ export default {
that.pageNum = 1; that.pageNum = 1;
that.getGroupList(that.brandId) that.getGroupList(that.brandId)
return; return;
}else {
row.isSendTemplate = false;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
}) })
...@@ -665,6 +728,7 @@ export default { ...@@ -665,6 +728,7 @@ export default {
that.getGroupClassify(newData); that.getGroupClassify(newData);
that.getGroupList(newData); that.getGroupList(newData);
that.getGroupClassSet(newData); that.getGroupClassSet(newData);
that.getSyncDate(newData);
}, },
activeGroupId: function(newData, oldData) { activeGroupId: function(newData, oldData) {
let that = this; let that = this;
...@@ -703,6 +767,7 @@ export default { ...@@ -703,6 +767,7 @@ export default {
that.getGroupClassify(that.brandId); that.getGroupClassify(that.brandId);
that.getGroupList(that.brandId); that.getGroupList(that.brandId);
that.getGroupClassSet(that.brandId); that.getGroupClassSet(that.brandId);
that.getSyncDate(that.brandId);
} }
}, },
components: { components: {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-04-12 17:56:45 * @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-11-05 11:45:10 * @LastEditTime: 2019-11-11 16:36:34
--> -->
<template> <template>
<div class="notice-list-wrap"> <div class="notice-list-wrap">
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<el-form-item label="附件" prop="attachment" class="w-680"> <el-form-item label="附件" prop="attachment" class="w-680">
<el-upload :disabled="$route.query.announcementId ? true : false" class="upload-demo notice-upload-file" action="/haoban-manage-web/upload-file?fileType=report" :before-upload="beforeFileUpload" :on-success="handleFileSuccess" :on-change="handleFileChange" :on-remove="handleRemove" multiple :limit="3" :on-exceed="handleExceed" :file-list="fileDatas"> <el-upload :disabled="$route.query.announcementId ? true : false" class="upload-demo notice-upload-file" action="/haoban-manage-web/upload-file?fileType=report" :before-upload="beforeFileUpload" :on-success="handleFileSuccess" :on-change="handleFileChange" :on-remove="handleRemove" multiple :limit="3" :on-exceed="handleExceed" :file-list="fileDatas">
<el-button :disabled="$route.query.announcementId ? true : false" size="small" type="primary">点击上传</el-button> <el-button :disabled="$route.query.announcementId ? true : false" size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip">支持.doc,.docx,.pdf,.xls,.xlsx,.ppt,.pptx类型文件,单个附件大小不超过5M,最多添加3个附件</div> <div slot="tip" class="el-upload__tip">支持.doc,.docx,.pdf,.xls,.xlsx,.ppt,.pptx类型文件,单个附件大小不超过20M,最多添加3个附件</div>
</el-upload> </el-upload>
<div v-if="$route.query.announcementId" class="file-list"> <div v-if="$route.query.announcementId" class="file-list">
<ul class="el-upload-list el-upload-list--text"> <ul class="el-upload-list el-upload-list--text">
...@@ -391,7 +391,7 @@ export default { ...@@ -391,7 +391,7 @@ export default {
beforeFileUpload(file) { beforeFileUpload(file) {
let that = this; let that = this;
const isFiles = file.name.includes('pdf') || file.name.includes('doc') || file.name.includes('xls') || file.name.includes('ppt'); const isFiles = file.name.includes('pdf') || file.name.includes('doc') || file.name.includes('xls') || file.name.includes('ppt');
const isLt20M = file.size / 1024 / 1024 <= 5; const isLt20M = file.size / 1024 / 1024 <= 20;
if (!isLt20M) { if (!isLt20M) {
that.$message.error('文件大小超出限制,无法上传'); that.$message.error('文件大小超出限制,无法上传');
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-10-25 16:07:57 * @LastEditTime: 2019-11-12 15:49:09
--> -->
<template> <template>
<div id="index"> <div id="index">
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</li> </li>
<li class="flex flex-between"> <li class="flex flex-between">
<span <span
>门店架构部门 >门店架构门店总
<el-tooltip class="item" effect="light" content="企业门店总数,每日刷新一次" placement="right"> <el-tooltip class="item" effect="light" content="企业门店总数,每日刷新一次" placement="right">
<i class="iconfont icon-xinxixianshi"></i> <i class="iconfont icon-xinxixianshi"></i>
</el-tooltip> </span </el-tooltip> </span
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 16:47:28 * @Date: 2018-10-10 16:47:28
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-09-25 17:02:02 * @LastEditTime: 2019-11-18 09:32:40
--> -->
<template> <template>
<div class="companyAddress-wrap common-set-wrap"> <div class="companyAddress-wrap common-set-wrap">
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
<div class="right-content"> <div class="right-content">
<div class="right-box" :style="{ height: $store.state.bgHeight }"> <div class="right-box" :style="{ height: $store.state.bgHeight }">
<h2 class="font-w-500">企业地址设置</h2> <h2 class="font-w-500">企业地址设置</h2>
<p class="m-t-24">开启后手机端通讯录将显示,反之则不显示</p> <p class="m-t-24">暂时无法设置</p>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm"> <!-- <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="企业地址" prop="switch" class="m-t-22"> <el-form-item label="企业地址" prop="switch" class="m-t-22">开启后手机端通讯录将显示,反之则不显示
<el-switch v-model="ruleForm.switch"></el-switch> <el-switch v-model="ruleForm.switch"></el-switch>
</el-form-item> </el-form-item>
<el-form-item label=" " prop="name" class="" v-if="ruleForm.switch"> <el-form-item label=" " prop="name" class="" v-if="ruleForm.switch">
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-form-item> <el-form-item>
<el-button type="primary" @click="submitForm('ruleForm')">保 存</el-button> <el-button type="primary" @click="submitForm('ruleForm')">保 存</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form> -->
</div> </div>
</div> </div>
<vue-gic-footer></vue-gic-footer> <vue-gic-footer></vue-gic-footer>
......
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