Commit 6b80b248 by caoyanzhi

Merge branch 'feature/任务视图日期控件bug' into dev

# Conflicts:
#	dist/index.html
#	dist/static/css/app.002edddf6bc8813d780d424c809051b9.css
#	dist/static/css/public.css
#	dist/static/js/11.c8269a6ce3166c2baddb.js
#	dist/static/js/127.981bf46a839013bddfcd.js
#	dist/static/js/19.ddbf9d8719920145627b.js
#	dist/static/js/25.99543d3ea3d0a6d0ba82.js
#	dist/static/js/27.49a63cd5713087b37324.js
#	dist/static/js/27.aeef277e50f51aee1062.js
#	dist/static/js/28.97cc4ec34acceea6b0fc.js
#	dist/static/js/36.ed589290b06b4e2d2cfa.js
#	dist/static/js/40.cfed961aa84d46763ae9.js
#	dist/static/js/46.bfde174f90954e309783.js
#	dist/static/js/49.c98db431ff3a93d1b99c.js
#	dist/static/js/55.841ae24e6ad711dd0724.js
#	dist/static/js/56.f441733d75c7ab766298.js
#	dist/static/js/60.7a3845ea8a229191a208.js
#	dist/static/js/60.e6b9c65ce37c1929ba43.js
#	dist/static/js/61.e4069c16ebc689b0dc37.js
#	dist/static/js/61.ee83351e47e4638289a3.js
#	dist/static/js/62.08c93fc8b5cec569384e.js
#	dist/static/js/62.53aa226e93976be5d4ef.js
#	dist/static/js/63.0cc4b18a26aae449bca8.js
#	dist/static/js/64.8d2437cad744ac931b05.js
#	dist/static/js/64.f45138a59a2a0dfa781f.js
#	dist/static/js/66.ef9b45f25efacaeb2a6e.js
#	dist/static/js/67.2ad7878ba5300bbb2075.js
#	dist/static/js/67.881ede8d681913f3e3aa.js
#	dist/static/js/68.75ce985994b52d0989ac.js
#	dist/static/js/69.f312b8be1f58d823d157.js
#	dist/static/js/70.4f90c0e655cfb7093805.js
#	dist/static/js/70.6788326f4b9204fc6c39.js
#	dist/static/js/72.78bc9a90e43c0f4689d8.js
#	dist/static/js/73.40d5effce4dd1d610bae.js
#	dist/static/js/73.7039961251ed7d629bb7.js
#	dist/static/js/74.c08af2069b1140954569.js
#	dist/static/js/74.d2df8a125f082781388a.js
#	dist/static/js/75.2c7a9137991f6fac666f.js
#	dist/static/js/76.1898057c255763776a04.js
#	dist/static/js/76.6fa5a4895a9b645af850.js
#	dist/static/js/77.3755e506e2e6ccb2f4e0.js
#	dist/static/js/78.e4261d251a8566c89c9e.js
#	dist/static/js/78.f9f633b0110073618c51.js
#	dist/static/js/79.c367f2170b933640c5fb.js
#	dist/static/js/8.1774efeb7b5537a21afa.js
#	dist/static/js/80.2ba1c014b2f05b03d2f4.js
#	dist/static/js/80.b4da3a16a49aa7dec44c.js
#	dist/static/js/81.45b9294a9c41214d9a2d.js
#	dist/static/js/81.ed9f776c33449e4502f5.js
#	dist/static/js/82.f1f0b8be9fe8c0a48f49.js
#	dist/static/js/83.c298352267668f8595b9.js
#	dist/static/js/84.3a3d94cb0710361148ba.js
#	dist/static/js/85.0d7ce1d2a38c10ad5a2e.js
#	dist/static/js/86.20cd7c44d2dce9b99ead.js
#	dist/static/js/86.6e7b650213cd52f6879f.js
#	dist/static/js/86.c0ad564fc61aa87cc435.js
#	dist/static/js/87.02ebe7870a657d76305a.js
#	dist/static/js/87.a39c162a5f1066e1f2f6.js
#	dist/static/js/88.b535eaf6d4dcf1bee6c5.js
#	dist/static/js/89.640cf72f57490ec7bf53.js
#	dist/static/js/89.f57a97e9db4579af197d.js
#	dist/static/js/90.ae2a8e165d9d9a31e58e.js
#	dist/static/js/91.4e3182a759a0deb7737b.js
#	dist/static/js/92.0e522fc1ebf4f123fbbc.js
#	dist/static/js/92.7cf39af9d8e7cfb3cc12.js
#	dist/static/js/93.527fae0b341867534fcb.js
#	dist/static/js/94.b17e42293b65c7831e31.js
#	dist/static/js/95.1cd2779682b88f36cc44.js
#	dist/static/js/95.2e1f80e6d9472d0152e9.js
#	dist/static/js/96.2608b94dc3560dd462cc.js
#	dist/static/js/97.286de4a55de4f21aefa4.js
#	dist/static/js/97.56e642d412b2fc947deb.js
#	dist/static/js/98.bab0433c94b94bd50d57.js
#	dist/static/js/98.f395537903ef38a74302.js
#	dist/static/js/99.56bd214ee9e9f47d1319.js
#	dist/static/js/app.211d255af788bf9d9296.js
#	dist/static/js/manifest.73f3b9dcd0cd62c3e0ba.js
#	dist/static/js/vendor.96dfd34847898b688720.js
#	src/components/common/selectShop.vue
#	src/views/salesleads/actCodeManage/attractFlowLink/detail.vue
#	src/views/salesleads/actCodeManage/staffActCode/actCodeDetail.vue
#	src/views/salesleads/actCodeManage/staffActCode/actCodeDetailStatistics.vue
#	src/views/salesleads/actCodeManage/staffActCode/newAddChart.vue
#	static/css/public.css
parents 77865f63 4dae94a1
<<<<<<< HEAD
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.76.css><script src=//at.alicdn.com/t/font_1628375_vcg1gtmx7lb.js></script><link rel=stylesheet href=//at.alicdn.com/t/font_2859043_udehp133w1.css><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.93f37cf6cf5180d3a82714601b2639c0.css rel=stylesheet></head><body class=damolish><div id=app></div><script>(function() {
=======
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.76.css><script src=//at.alicdn.com/t/font_1628375_vcg1gtmx7lb.js></script><link rel=stylesheet href=//at.alicdn.com/t/font_2859043_udehp133w1.css><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.002edddf6bc8813d780d424c809051b9.css rel=stylesheet></head><body class=damolish><div id=app></div><script>(function() {
>>>>>>> feature/任务视图日期控件bug
var src = '/component/static/import-component.js?timestrap='+ new Date().getTime();
var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'www.gicdev.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.632ed70ad25c7f6c0a34.js></script><script type=text/javascript src=./static/js/vendor.442b687cd6f29c2b9bd7.js></script><script type=text/javascript src=./static/js/app.48b95d989b98fd953856.js></script></body></html>
\ No newline at end of file
<<<<<<< HEAD
})()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.632ed70ad25c7f6c0a34.js></script><script type=text/javascript src=./static/js/vendor.442b687cd6f29c2b9bd7.js></script><script type=text/javascript src=./static/js/app.48b95d989b98fd953856.js></script></body></html>
=======
})()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.73f3b9dcd0cd62c3e0ba.js></script><script type=text/javascript src=./static/js/vendor.96dfd34847898b688720.js></script><script type=text/javascript src=./static/js/app.211d255af788bf9d9296.js></script></body></html>
>>>>>>> feature/任务视图日期控件bug
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1341,7 +1341,10 @@ button.el-button--primary.is-plain:focus {
.material-body .el-textarea .el-textarea__inner {
height: 273px;
}
<<<<<<< HEAD
=======
>>>>>>> feature/任务视图日期控件bug
.el-input .el-input__suffix i:nth-child(2) {
display: none;
}
......
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([19],{"/AWl":function(e,t,i){e.exports=i.p+"static/img/iphone2.9c01f03.png"},Gk8g:function(e,t){},NuXF:function(e,t,i){"use strict";var a=i("Ch4/"),c=i("P9l9"),o={name:"mult-upload",props:{imgList:{type:Array,default:function(){return[]}},limit:{type:Number,default:30}},data:function(){return{imgShowFlag:!1}},computed:{disabled:function(){return this.imgList.length>=this.limit}},methods:{handleRequest:function(e){var t=this,i=e.file,o=new FormData;o.append("file",i),Object(c.d)("/haoban-manage3-web/upload-file?fileType=jpg",o).then(function(e){var i=e.data;1==i.errorCode?(t.imgList.length<t.limit?t.imgList.push({uid:i.result.key,url:i.result.url,mediaName:i.result.mediaName}):t.$message.error("一次性上传仅支持"+t.limit+"张图片"),t.$emit("update:imgList",t.imgList)):a.a.errorMsg(i)})},beforeUpload:function(e){var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type,i=e.size/1024/1024<2;return t||this.$message.error("上传图片支持png、jpg、jpeg格式!"),i||this.$message.error("上传图片大小不能超过2MB!"),t&&i},handlePreview:function(e){this.imgShowFlag=!0,this.imgUrl=e},handleRemove:function(e){var t=this.imgList.filter(function(t){return t.url!=e});this.$emit("update:imgList",t)},hideImage:function(e){this.imgShowFlag=e,this.imgUrl=""}}},l={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("p",{staticClass:"upload-tip color-909399 font-12"},[e._v("\n "+e._s(e.limit>1?"图片支持png、jpg、jpeg格式,大小不超过2M,一次性最多上传"+e.limit+"张":"")+"\n ")]),e._v(" "),i("div",{staticClass:"single-upload-wrap"},[i("div",{staticClass:"imageList"},[i("el-upload",{directives:[{name:"show",rawName:"v-show",value:!e.disabled,expression:"!disabled"}],staticClass:"avatar-uploader",attrs:{multiple:e.limit>1,"file-list":e.imgList,"show-file-list":!1,"http-request":e.handleRequest,"before-upload":e.beforeUpload}},[e.videoSrc?e._e():i("div",{staticClass:"flex-column"},[i("i",{staticClass:"iconfont-hb3 iconPlusOutlined avatar-uploader-icon"})])]),e._v(" "),i("p",{staticClass:"upload-tip color-909399 font-12 pos-bottom"},[e._v("\n "+e._s(e.limit>1?"":"图片为jpg、png格式,且不超过2M,最多上传1张图片")+"\n ")]),e._v(" "),e._l(e.imgList,function(t){return i("div",{key:t,staticClass:"imageBox"},[i("img",{staticClass:"image",attrs:{src:t.url}}),e._v(" "),i("div",{staticClass:"imageMask"},[i("span",{staticClass:"el-upload-list__item-delete",on:{click:function(i){return e.handleRemove(t.url)}}},[i("i",{staticClass:"el-icon-error"})])])])})],2),e._v(" "),i("vue-gic-img-preview",{attrs:{imgUrl:e.imgUrl,imgShowFlag:e.imgShowFlag},on:{hideImage:e.hideImage}})],1)])},staticRenderFns:[]};var d=i("VU/8")(o,l,!1,function(e){i("tz+o")},"data-v-5e6068f6",null);t.a=d.exports},ZEMu:function(e,t,i){"use strict";i.d(t,"a",function(){return a});var a=[{imgUrl:"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce",gifUrl:"https://pic01-10001430.image.myqcloud.com/204994d9-48d8-4bfe-bfbd-e8168d444965",key:"[微笑]",keyCode:"/::)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a5f7c1eb-358e-47fe-a43c-7ae1ba5e95fd",gifUrl:"https://pic01-10001430.image.myqcloud.com/87bbdce9-82e4-4fb0-8d6c-b867ccf7e058",key:"[撇嘴]",keyCode:"/::~"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/32201a50-e937-4594-bfb2-68dc674d29a1",gifUrl:"https://pic01-10001430.image.myqcloud.com/df55c677-7adb-48f2-bf65-6cf592eccf80",key:"[色]",keyCode:"/::B"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/674f2eea-85fd-4735-9ae5-416aef938857",gifUrl:"https://pic01-10001430.image.myqcloud.com/c44c6034-c191-4526-ac80-c5f7f0fbcf5f",key:"[发呆]",keyCode:"/::|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a52e4031-51e6-47c4-9a7d-4aa36902e868",gifUrl:"https://pic01-10001430.image.myqcloud.com/684dcfac-a95f-49fc-8d9d-8d3627f4a26e",key:"[得意]",keyCode:"/:8-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d5d3c311-30a7-46d4-bd6b-e09e9e270eb8",gifUrl:"https://pic01-10001430.image.myqcloud.com/3f17d82f-beb6-4e0f-be8b-72c571558438",key:"[流泪]",keyCode:"/::<"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/014fb90d-db81-4a6d-b89d-6edc21825c57",gifUrl:"https://pic01-10001430.image.myqcloud.com/6ce13f11-6c26-4e5a-b3b1-f47151b61e30",key:"[害羞]",keyCode:"/::$"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fecaa108-f9ee-4871-88f8-04fe9dd006c4",gifUrl:"https://pic01-10001430.image.myqcloud.com/0fe29af4-bddc-46c2-a063-f8d8e4414d13",key:"[闭嘴]",keyCode:"/::X"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/61373735-d6a4-42ec-beb8-f2ad3a4204ae",gifUrl:"https://pic01-10001430.image.myqcloud.com/9fa3a5f6-3814-46df-a85c-e27711b41c45",key:"[睡]",keyCode:"/::Z"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/5e18d40c-00fe-4fa8-94bb-fc5879b601db",gifUrl:"https://pic01-10001430.image.myqcloud.com/87d28ce0-72d2-44ab-a5b9-899ca92737c3",key:"[大哭]",keyCode:"/::'("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/9956bdde-87e2-4377-a77d-2d7a6510dcca",gifUrl:"https://pic01-10001430.image.myqcloud.com/28d4443a-ae59-459b-8fa0-c5d236a84208",key:"[尴尬]",keyCode:"/::-|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a36b8868-369d-4022-be38-e71970b4b0ed",gifUrl:"https://pic01-10001430.image.myqcloud.com/a3db89ce-6b1a-44e9-a276-8284dfba6fec",key:"[发怒]",keyCode:"/::@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2b46750b-e399-41fa-88da-cef0705adb68",gifUrl:"https://pic01-10001430.image.myqcloud.com/a340191e-00f0-4aed-9c4b-5084c9d48a3f",key:"[调皮]",keyCode:"/::P"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f3d140d2-3490-4d12-a16f-5786c50e92e6",gifUrl:"https://pic01-10001430.image.myqcloud.com/3741398d-ac5e-4ca4-aff2-7072d4f3e809",key:"[呲牙]",keyCode:"/::D"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d54d58f6-a89a-4a70-9e7a-834ba728e5cb",gifUrl:"https://pic01-10001430.image.myqcloud.com/62bb88d4-a38b-4d0a-943b-854e35f4216d",key:"[惊讶]",keyCode:"/::O"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ceb0633a-3610-48dc-a4da-79b74d91c5a3",gifUrl:"https://pic01-10001430.image.myqcloud.com/a9f355d2-89d5-41c3-96c9-53e6c1893ce8",key:"[难过]",keyCode:"/::("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7ae8e3ea-864f-4864-ba73-fbc731fe5e43",gifUrl:"https://pic01-10001430.image.myqcloud.com/75533bd8-4d96-4d14-a28e-18f01141fd53",key:"[酷]",keyCode:"/::+"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/1ad076a0-a052-4cc5-bd1b-d46bdaf25928",gifUrl:"https://pic01-10001430.image.myqcloud.com/b551bd90-8f9c-49d4-a73f-05852da72e4e",key:"[冷汗]",keyCode:"/:--b"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/756eb481-d965-4b09-abe6-5ea2f7d460db",gifUrl:"https://pic01-10001430.image.myqcloud.com/9a9f6be6-6c9f-496e-8f40-cdd56670b1cb",key:"[抓狂]",keyCode:"/::Q"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/56107e91-303c-4d4c-bbc2-6a6ace586777",gifUrl:"https://pic01-10001430.image.myqcloud.com/70b702b8-b1f2-4071-8fa1-01b4bac8c8cb",key:"[吐]",keyCode:"/::T"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/363eb785-69a9-4f18-8e45-cb069bb12c4c",gifUrl:"https://pic01-10001430.image.myqcloud.com/fc61ddbf-a962-4043-a5cc-cb7a8a4edbcc",key:"[偷笑]",keyCode:"/:,@P"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/888ee4dc-0274-4c3d-bb84-e3ba943ff86f",gifUrl:"https://pic01-10001430.image.myqcloud.com/223e7c88-5ffa-4392-a4b1-e5785bf59e19",key:"[愉快]",keyCode:"/:,@-D"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a5a391da-659b-48ab-8007-a8888f98ec66",gifUrl:"https://pic01-10001430.image.myqcloud.com/8fb34158-562b-4710-ae93-47b64174bdbf",key:"[白眼]",keyCode:"/::d"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f3c70943-f4a2-4e15-a9fb-f8f840878a6a",gifUrl:"https://pic01-10001430.image.myqcloud.com/8a0a3dcb-ea02-4c9d-9fb8-3cd72378da19",key:"[傲慢]",keyCode:"/:,@o"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c7b25d7c-abc6-4547-803b-19dc45fd5be2",gifUrl:"https://pic01-10001430.image.myqcloud.com/2428fcba-8a72-40d6-b847-6f7034f7e9d5",key:"[饥饿]",keyCode:"/::g"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c6e9be34-b576-477d-a757-7d5593019552",gifUrl:"https://pic01-10001430.image.myqcloud.com/45cddb56-4a94-4cfb-aea3-02ea14fd5093",key:"[困]",keyCode:"/:|-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/015bfb53-443a-4b5c-82f6-960b9d0acedd",gifUrl:"https://pic01-10001430.image.myqcloud.com/1455635c-6cb0-470c-ae27-6602f76af048",key:"[惊恐]",keyCode:"/::!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d2569652-651e-4f8a-8052-d8f471af1a4d",gifUrl:"https://pic01-10001430.image.myqcloud.com/c90c340f-39ab-4d34-a301-8aed680e79dd",key:"[流汗]",keyCode:"/::L"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/27f447a5-555d-49c0-b04d-7da098e372f6",gifUrl:"https://pic01-10001430.image.myqcloud.com/e2bf7e8a-3218-44e7-a42e-b18c4fd32411",key:"[憨笑]",keyCode:"/::>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8f139cf5-49f7-4bfa-9ab9-d6f23782684e",gifUrl:"https://pic01-10001430.image.myqcloud.com/ee4249c0-d355-40d0-9c68-1187e88e68d8",key:"[悠闲]",keyCode:"/::,@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/688b20ba-ce01-4369-934f-2062a5b57643",gifUrl:"https://pic01-10001430.image.myqcloud.com/386a5629-aec9-4840-a2cb-dfb8bdbf237d",key:"[奋斗]",keyCode:"/:,@f"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/e05cd4b5-e5cb-4374-80d9-8c09702ce7f5",gifUrl:"https://pic01-10001430.image.myqcloud.com/95d3c7be-356b-4573-8aa8-45724618a527",key:"[咒骂]",keyCode:"/::-S"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8f11e215-9e39-476b-a77b-e994cc703edc",gifUrl:"https://pic01-10001430.image.myqcloud.com/fa622e45-63eb-4fe3-aa27-cca7dc7db07b",key:"[疑问]",keyCode:"/:?"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/de50c8c0-a797-4bb7-b2ef-ddb4a6b48085",gifUrl:"https://pic01-10001430.image.myqcloud.com/067378c9-04d4-470c-a125-1c3fcfa298e3",key:"[嘘]",keyCode:"/:,@x"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2e55af63-2591-49b9-9565-85269a308a97",gifUrl:"https://pic01-10001430.image.myqcloud.com/484cc9ea-89b4-4af1-8134-8ba9fdcabeb3",key:"[晕]",keyCode:"/:,@@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/057a6ff4-2403-424a-aaa4-5ece64336a37",gifUrl:"https://pic01-10001430.image.myqcloud.com/6d21c607-d709-45a5-a8d6-dd74bcdf587f",key:"[疯了]",keyCode:"/::8"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7d5e19d4-334b-441a-a964-285d8826c6d8",gifUrl:"https://pic01-10001430.image.myqcloud.com/204c089c-d737-447e-a912-a3da4f92c8fe",key:"[哀]",keyCode:"/:,@!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/9b14cbe9-749a-4081-b697-8a456db53cd3",gifUrl:"https://pic01-10001430.image.myqcloud.com/94019082-ea4b-4ada-a7a3-0e1d02143c62",key:"[骷髅]",keyCode:"/:!!!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3518ddf0-8cc3-4b4f-9391-7aa67a95f6b6",gifUrl:"https://pic01-10001430.image.myqcloud.com/7eeb8cc7-6e6b-4e02-b289-4f462677831d",key:"[敲打]",keyCode:"/:xx"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/b3086372-dd16-45d1-a51e-343befece0f7",gifUrl:"https://pic01-10001430.image.myqcloud.com/3e1c155c-3517-4c5f-9831-98a564d94bd2",key:"[再见]",keyCode:"/:bye"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/31350af3-00e6-40c1-91fd-c36660614f7a",gifUrl:"https://pic01-10001430.image.myqcloud.com/39804b4f-e56d-475d-b398-121d65e96d01",key:"[擦汗]",keyCode:"/:wipe"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fc09bdc6-8467-40c3-b20d-822980f14824",gifUrl:"https://pic01-10001430.image.myqcloud.com/89a3283e-fef9-4ccd-a238-400139a786a9",key:"[抠鼻]",keyCode:"/:dig"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7a1d3d7f-ae4e-495d-8c4d-75378069a52c",gifUrl:"https://pic01-10001430.image.myqcloud.com/8cd3aee8-56aa-4862-b253-701212e838f6",key:"[鼓掌]",keyCode:"/:handclap"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/434911d7-c142-4115-8ca2-0765f78e41d1",gifUrl:"https://pic01-10001430.image.myqcloud.com/2ead6c2f-23c7-4e5f-b8e3-161153989ede",key:"[糗大了]",keyCode:"/:&-("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/aa3532b6-99df-4984-9e76-013b4e106501",gifUrl:"https://pic01-10001430.image.myqcloud.com/9c3ec470-8055-413c-8839-465f75dd9f71",key:"[坏笑]",keyCode:"/:B-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/887fbd28-9f81-42ce-addf-639a94a8edb2",gifUrl:"https://pic01-10001430.image.myqcloud.com/897a5d5b-7c89-40bf-94ed-dc1c91c317ee",key:"[左哼哼]",keyCode:"/:<@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2267b046-ac56-4fc2-b592-351a1e6ffa28",gifUrl:"https://pic01-10001430.image.myqcloud.com/da25a587-d314-4b44-98eb-2f9220b6a093",key:"[右哼哼]",keyCode:"/:@>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3d1a9b50-3262-4d3e-a554-33871189023d",gifUrl:"https://pic01-10001430.image.myqcloud.com/f5323432-50d2-4393-853c-f8998a956da6",key:"[哈欠]",keyCode:"/::-O"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/edd78bd3-ffbb-4268-8af8-85377535cc0a",gifUrl:"https://pic01-10001430.image.myqcloud.com/ca62a0b0-2d01-4ca4-b958-8417f0906a89",key:"[鄙视]",keyCode:"/:>-|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d1f49343-0f9b-485a-b6b7-4d9b43020fab",gifUrl:"https://pic01-10001430.image.myqcloud.com/e43b2e20-8802-44d4-afa0-7eb6b7126c38",key:"[委屈]",keyCode:"/:P-("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/e6532dd2-5734-41fc-862c-3fec91ecb7b7",gifUrl:"https://pic01-10001430.image.myqcloud.com/d3120d89-2df8-47ba-b894-84658dd3e617",key:"[快哭了]",keyCode:"/::'|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3799a3bb-94a4-4614-917c-07629f1a63ac",gifUrl:"https://pic01-10001430.image.myqcloud.com/17853d32-28fc-4565-8dab-44d7c95d4819",key:"[阴险]",keyCode:"/:X-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4f84b1d5-235a-41a6-9927-96e29232ab61",gifUrl:"https://pic01-10001430.image.myqcloud.com/a034d0c1-eafd-434c-a3e9-6042081536f9",key:"[亲亲]",keyCode:"/::*"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fb45c4ad-2813-4ec1-afb7-873ef95ea975",gifUrl:"https://pic01-10001430.image.myqcloud.com/660a65ee-66ff-4fa3-85fc-72149b938739",key:"[吓]",keyCode:"/:@x"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/abdb4f9e-8fec-4fab-98c4-a89711da5f6a",gifUrl:"https://pic01-10001430.image.myqcloud.com/c8ef0424-21c9-4a25-a6be-c2233a6a85ba",key:"[可怜]",keyCode:"/:8*"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/6a0d843a-6870-409a-9bf2-40114628076e",gifUrl:"https://pic01-10001430.image.myqcloud.com/f80d75c4-8f07-459c-9c83-0cf016ddfcef",key:"[菜刀]",keyCode:"/:pd"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/140d13e9-1587-491c-afdc-2599a5ba72de",gifUrl:"https://pic01-10001430.image.myqcloud.com/08ec4424-86b8-4e46-bdce-3c93180a9cf9",key:"[西瓜]",keyCode:"/:<W>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d9974e8a-820e-4571-8fde-0fe21b725b7a",gifUrl:"https://pic01-10001430.image.myqcloud.com/8426b197-1a1b-4f5f-a446-e47b2a2bff09",key:"[啤酒]",keyCode:"/:beer"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4ff9ae58-e8df-4c9e-91ac-b91a6dc9096d",gifUrl:"https://pic01-10001430.image.myqcloud.com/2578648c-f29b-46d3-91de-b636c6014dcc",key:"[篮球]",keyCode:"/:basketb"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/aa136900-c1f5-40f4-9130-1ddae518cb22",gifUrl:"https://pic01-10001430.image.myqcloud.com/3b7a5bec-a119-4a7f-ae8f-e962cfb658b5",key:"[乒乓]",keyCode:"/:oo"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4de4896d-a8b0-4cc6-921a-bb7a81788e68",gifUrl:"https://pic01-10001430.image.myqcloud.com/5f1af094-059d-48a3-b374-381818827596",key:"[咖啡]",keyCode:"/:coffee"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c61865c0-2fcf-44e9-bf62-3a5a606ca459",gifUrl:"https://pic01-10001430.image.myqcloud.com/71a2ebba-3160-4a96-9370-2294e325c3d6",key:"[饭]",keyCode:"/:eat"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2ffebcf6-48a8-4c26-8e67-dd6ea345407f",gifUrl:"https://pic01-10001430.image.myqcloud.com/7309bbc1-3f2e-4df1-b523-b95ad9e18e0f",key:"[猪头]",keyCode:"/:pig"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/66dfc7b5-bebe-45d9-98f6-96d3a28214e8",gifUrl:"https://pic01-10001430.image.myqcloud.com/06673bd8-c7ca-4672-b7a3-569bb5768efc",key:"[玫瑰]",keyCode:"/:rose"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/86a99146-e83b-4132-b3fb-2864aaf8cfa4",gifUrl:"https://pic01-10001430.image.myqcloud.com/6b6b8364-d6eb-4c27-99d8-4bd0930b3cda",key:"[凋谢]",keyCode:"/:fade"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/090ae661-b401-496c-bd1f-d475e20e1c36",gifUrl:"https://pic01-10001430.image.myqcloud.com/d42b19ce-943c-40df-8886-f1cc70281f5d",key:"[嘴唇]",keyCode:"/:showlove"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a8295101-ac8c-4b8b-b1b0-97c548ec7c8d",gifUrl:"https://pic01-10001430.image.myqcloud.com/579e7c8b-d538-4ac0-8b9b-5e0691c33c74",key:"[爱心]",keyCode:"/:heart"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4b42af75-7434-4e1b-a727-def403b3c018",gifUrl:"https://pic01-10001430.image.myqcloud.com/d8b6265f-2ca2-4227-8aa3-26cfee1e1d8f",key:"[心碎]",keyCode:"/:break"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2eaf27d5-0f8e-4716-9f0c-7af7fce62980",gifUrl:"https://pic01-10001430.image.myqcloud.com/f96201f2-32b8-462b-847a-22c49c3cf6df",key:"[蛋糕]",keyCode:"/:cake"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ef55a1bb-6177-4075-b8ae-326b967cd612",gifUrl:"https://pic01-10001430.image.myqcloud.com/f3e8ef24-0efa-4823-af8f-34604e832b94",key:"[闪电]",keyCode:"/:li"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8672c806-0ecd-45ec-a9cd-2af63c806344",gifUrl:"https://pic01-10001430.image.myqcloud.com/758a6b09-71e7-429b-9c2e-c744b8305610",key:"[炸弹]",keyCode:"/:bome"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/0dfd4afd-f954-4de3-93da-ac6104a007a9",gifUrl:"https://pic01-10001430.image.myqcloud.com/d82af5eb-6fd5-48c8-9ba9-bf8b6ef7fe54",key:"[刀]",keyCode:"/:kn"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/12524677-2787-4a7b-9e8a-2874c44864f6",gifUrl:"https://pic01-10001430.image.myqcloud.com/dbb1e536-27bb-47ea-a57e-25c89ecb4c81",key:"[足球]",keyCode:"/:footb"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d65a0c9d-d50f-4986-86f4-de5babceeb4f",gifUrl:"https://pic01-10001430.image.myqcloud.com/62a24697-7529-4dce-93ef-8d78ee2ef3d9",key:"[瓢虫]",keyCode:"/:ladybug"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/0c30bcc5-1ad8-4b33-8040-cf11b4c8cdb4",gifUrl:"https://pic01-10001430.image.myqcloud.com/4beffad5-d07f-465b-987e-62687178a609",key:"[便便]",keyCode:"/:shit"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/adb7224b-ddd7-4e51-9cc0-c9642c3ca827",gifUrl:"https://pic01-10001430.image.myqcloud.com/3e124ec4-68d2-4129-ace6-b02b5a0a47dd",key:"[月亮]",keyCode:"/:moon"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/55a303ca-bcbf-42fb-99c5-d2a2aaa2c254",gifUrl:"https://pic01-10001430.image.myqcloud.com/191faab4-2c7d-4b6a-95e0-0cec831bdba8",key:"[太阳]",keyCode:"/:sun"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a84809d8-4553-4380-966b-17484ce317b8",gifUrl:"https://pic01-10001430.image.myqcloud.com/ffbc4ada-d572-4f80-821a-ee1d232c0da4",key:"[礼物]",keyCode:"/:gift"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/70f21a3f-165e-46dd-bbd3-9523e72761ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/1344a463-f19a-4a5a-9e99-450bf32c2c6b",key:"[拥抱]",keyCode:"/:hug"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a008b2e1-6d02-47f0-b477-c2b0e9f585f2",gifUrl:"https://pic01-10001430.image.myqcloud.com/b4cf425d-08fb-48a3-8383-e705d4ed990e",key:"[强]",keyCode:"/:strong"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/dd610773-3bc5-4bce-90a3-d5c7b7af1bd4",gifUrl:"https://pic01-10001430.image.myqcloud.com/bab6f0b3-94e1-4e94-b144-5161c5ee0799",key:"[弱]",keyCode:"/:weak"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4c027076-e5bb-492c-9cc7-39b58b50f720",gifUrl:"https://pic01-10001430.image.myqcloud.com/72076aef-4091-4b6a-a727-b3b433c64e7e",key:"[握手]",keyCode:"/:share"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef",key:"[胜利]",keyCode:"/:v"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/27f6adac-c525-4b8e-817d-f79e8b595ad8",gifUrl:"https://pic01-10001430.image.myqcloud.com/ab16d400-9bb0-493d-9973-5cf97f6f8ab2",key:"[抱拳]",keyCode:"/:@)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ef165f66-cf6b-4588-81a6-e01a31679670",gifUrl:"https://pic01-10001430.image.myqcloud.com/1e701efe-b602-4570-a957-5ba12486a853",key:"[勾引]",keyCode:"/:jj"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c230a194-9f2f-4690-84ce-194aed18143b",gifUrl:"https://pic01-10001430.image.myqcloud.com/fb9d43d1-506d-4684-8fc2-62a9cd528feb",key:"[拳头]",keyCode:"/:@@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4d963fc7-20c0-4942-b6f6-eb9282c509a6",gifUrl:"https://pic01-10001430.image.myqcloud.com/443b1f18-c10d-4803-9a1d-698075874fcf",key:"[差劲]",keyCode:"/:bad"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ac3fe192-103c-48f1-bd30-293d5f7551d0",gifUrl:"https://pic01-10001430.image.myqcloud.com/8f0ce5ac-c0b6-4936-8091-953b13d1d091",key:"[爱你]",keyCode:"/:lvu"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/68d642b4-0573-4821-8c42-ecfdaf8ceeb9",gifUrl:"https://pic01-10001430.image.myqcloud.com/633fc189-ab89-4ee5-9325-01f7b6c2a3fe",key:"[NO]",keyCode:"/:no"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ceb1580b-e0b1-4fcf-a3d9-66b83346cc43",gifUrl:"https://pic01-10001430.image.myqcloud.com/a80685a2-4e41-461c-b67d-e2092c2ba068",key:"[OK]",keyCode:"/:ok"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/1732e5d1-ab4b-4c63-9571-171feac408ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/a83394ea-9191-4eff-a3ca-84646ee748e4",key:"[爱情]",keyCode:"/:love"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f15cf2a7-89d8-48c5-bd63-0e550a240813",gifUrl:"https://pic01-10001430.image.myqcloud.com/b23f441c-2329-468b-a09a-e6a1d2cc38cf",key:"[飞吻]",keyCode:"/:<L>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7be4b8d5-6b2c-4c8c-9444-3e82057e6aca",gifUrl:"https://pic01-10001430.image.myqcloud.com/db11cfab-1be4-4279-b11a-18787247513d",key:"[跳跳]",keyCode:"/:jump"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a1147a2d-8fe4-4dac-b14b-4d144ce5e2f7",gifUrl:"https://pic01-10001430.image.myqcloud.com/9e243eca-c1e3-4afa-a068-8260af2eb62b",key:"[发抖]",keyCode:"/:shake"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/845e5982-a104-4ca7-be4c-ef176a360c25",gifUrl:"https://pic01-10001430.image.myqcloud.com/1695538d-744f-418b-9362-6eb052642163",key:"[怄火]",keyCode:"/:<O>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fd84d952-e6d0-498b-865c-4f9aaf570d81",gifUrl:"https://pic01-10001430.image.myqcloud.com/4ae21d0e-b019-4ab8-a607-8e43b8f24bf1",key:"[转圈]",keyCode:"/:circle"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/976e7ef5-4381-4f98-8a94-b1647c501357",gifUrl:"https://pic01-10001430.image.myqcloud.com/e63c5775-da40-480a-bf57-2fac6b88c372",key:"[磕头]",keyCode:"/:kotow"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/705e70c6-5524-4dc8-840b-ddf0a5558024",gifUrl:"https://pic01-10001430.image.myqcloud.com/fa8c6f1d-3fe6-4ffe-b62b-bc6f6024a681",key:"[回头]",keyCode:"/:turn"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/069837fd-9b7c-4dfe-9203-2cc747c083d0",gifUrl:"https://pic01-10001430.image.myqcloud.com/64a70d02-8888-4c23-93fc-a94c63589ea8",key:"[跳绳]",keyCode:"/:skip"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ebeb6e1d-a159-4d11-9a41-e639c1b82203",gifUrl:"https://pic01-10001430.image.myqcloud.com/6b12c653-0027-4c44-a9f2-d0bac2d405bf",key:"[投降]",keyCode:"/:oY"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2da0f4d4-37ed-43bd-ba44-0f3a65c2f46c",gifUrl:"https://pic01-10001430.image.myqcloud.com/21d5b626-e190-4a65-9c88-c4bfcb4261d7",key:"[激动]",keyCode:"/:#-0"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/6d34badb-1972-4b3f-9d42-f054f365ed5a",gifUrl:"https://pic01-10001430.image.myqcloud.com/bc51d1d4-42de-442a-8e94-74ae0dd5abd0",key:"[乱舞]",keyCode:"/:hiphot"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4e35c97d-f497-4fa8-8cf4-bd6fd8d7f9ad",gifUrl:"https://pic01-10001430.image.myqcloud.com/6856fc16-279a-45cd-9ab3-9396d382f502",key:"[献吻]",keyCode:"/:kiss"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/209d7202-5972-445e-a0f6-336cbe8b0b9d",gifUrl:"https://pic01-10001430.image.myqcloud.com/fadeb841-e07c-47f7-b948-081eabb556b9",key:"[左太极]",keyCode:"/:<&"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f566cd87-b948-4929-bfcc-955385937095",gifUrl:"https://pic01-10001430.image.myqcloud.com/4b08fdfe-9ea8-420a-9eda-998b6ad2045f",key:"[右太极]",keyCode:"/:&>"}]},"tz+o":function(e,t){},vqCN:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("mvHQ"),c=i.n(a),o=i("woOf"),l=i.n(o),d=i("P9l9"),m=i("PI0u"),s=i("Kkt8"),r=i("ZEMu"),p=i("NuXF"),n=i("feRM"),f=i("/AWl"),g=i.n(f),u=i("VbTH"),b={props:{},data:function(){return{filterText:"",defaultProps:{label:"departmentName"},appletForm:{appletPath:"",selectedApple:""},form:{title:"",type:1,welcomeContent:"你好,<微信昵称>",welcomeMediaList:[],suitDepartmentAddList:[],suitDepartmentList:[],defaultWelcomeFlag:0},uploadList:[{title:"图片",icon:"icontupian",fileType:"*"},{title:"视频",icon:"iconshipin",fileType:".mp4"},{title:"文件",icon:"iconwenjian",fileType:"*"},{title:"链接",icon:"iconlianjie"},{title:"小程序",icon:"iconxiaochengxu"},{title:"带参公众号二维码",icon:"icongongzhonghao"}],iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},accountName:"",rules:{title:[{required:!0,message:"请输入欢迎语标题"}],welcomeContent:[{required:!0,message:"请输入欢迎语内容",trigger:"blur"}]},wxEnterpriseId:"",enterpriseId:"",emojiList:r.a,addReplayDialog:!1,url:"",urlDialogVisible:!1,scopeVisible:!1,treeData:[],treeDataCopy:[],loading:!1,dialogLoading:!1,btnLoading:!1,submitbtnLoading:!1,selectedTreeData:[],showTree:!0,appTableData:[],appletDialogVisible:!1,defaultWelcomeFlag:!1,isNew:!0,echoDefaultWelcomeFlag:0,iphone2:g.a}},watch:{selectedTreeData:function(e){!e.length&&this.btnLoading&&(this.btnLoading=!1)}},computed:{publicAccountDisabled:function(){return!!this.form.welcomeMediaList.filter(function(e){return 7==e.mediaType}).length}},mounted:function(){var e=JSON.parse(sessionStorage.getItem("userInfos"));this.wxEnterpriseId=e.wxEnterpriseId,this.enterpriseId=e.enterpriseId;var t=this.$route.query,i=t.id,a=t.type;i&&(this.getData(),this.isNew=!1),this.form.type=a,sessionStorage.setItem("activeName",a),this.getExistDefaultWelcome(),this.getAppleList()},components:{limitTextarea:s.a,singleUpload:n.a,multUpload:p.a,preview:u.a},methods:{getExistDefaultWelcome:function(e){var t=this;Object(d.b)("/haoban-manage3-web/welcome/exist-default-welcome",{wxEnterpriseId:this.wxEnterpriseId}).then(function(e){0==e.data.code&&(t.defaultWelcomeFlag=e.data.result,t.isNew&&(t.form.defaultWelcomeFlag=e.data.result?0:1))})},handleDiabled:function(e){return!!this.form.welcomeMediaList.filter(function(t){return t.miniprogramSettingId&&t.miniprogramSettingId==e.miniprogramSettingId}).length},addApplet:function(e){var t=this;if(this.appletForm.selectedApple)if(-1==this.appletForm.selectedApple||this.appletForm.appletPath){var i=this.appTableData.filter(function(e){return e.miniprogramSettingId==t.appletForm.selectedApple})[0];this.form.welcomeMediaList.filter(function(e){return e.miniprogramSettingId&&e.miniprogramSettingId==i.miniprogramSettingId}).length||this.form.welcomeMediaList.push({miniProgramName:i.miniprogramName,mediaType:-1==i.miniprogramSettingId?6:5,mediaUrl:i.imageUrl,miniProgramPage:-1!=i.miniprogramSettingId?this.appletForm.appletPath:"",mediaTitle:i.title,miniprogramSettingId:i.miniprogramSettingId}),this.closeAppletDialog()}else this.$message.error("请输入小程序跳转路径");else this.$message.error("请选择小程序")},closeAppletDialog:function(){this.appletForm.selectedApple="",this.appletForm.appletPath="",this.appletDialogVisible=!1},getAppleList:function(){var e=this;Object(d.b)("/haoban-manage3-web/list-miniprogram-setting",{}).then(function(t){var i=t.data;1==i.errorCode&&i.result&&(e.appTableData=i.result,e.appTableData.push({miniprogramName:"带参会员小程序",miniprogramSettingId:"-1",imageUrl:"https://other-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20220316151939/1b31e9f76ff1ac4340e5e66497df7cea.png",title:"带参会员小程序"}))}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},treeDialogCancel:function(){this.scopeVisible=!1,this.filterText=""},addSuitDepartment:function(){this.form.suitDepartmentAddList=l()([],this.selectedTreeData),this.scopeVisible=!1},clearAllSelectedData:function(){var e=this;this.btnLoading=!0,setTimeout(function(){e.showTree=!e.showTree,e.treeData=e.handleTreeData(JSON.parse(c()(e.treeDataCopy))),e.$nextTick(function(){e.$refs.tree.store._getAllNodes()[0].expanded=!0}),e.selectedTreeData=[]},500)},handleSelectedDataCancel:function(e,t){this.$refs.tree.setChecked(e.departmentId,!1,!0),this.selectedTreeData=this.$refs.tree.getCheckedNodes()},handlefilterTextClear:function(){var e=this;this.treeData=this.handleTreeData(JSON.parse(c()(this.treeDataCopy))),this.$nextTick(function(){e.$refs.tree.store._getAllNodes()[0].expanded=!0,e.selectedTreeData.length?e.$refs.tree.setCheckedKeys(e.selectedTreeData.map(function(e){return e.departmentId})):e.$refs.tree.setCheckedKeys([])})},toInput:Object(m.a)(function(e,t){this.filterText?this.getSearchData():this.handlefilterTextClear()},500),getSearchData:function(){var e=this;if(this.treeData=this.treeDataCopy.filter(function(t){return-1!=t.departmentName.indexOf(e.filterText)}),this.selectedTreeData.length){var t=this.selectedTreeData.map(function(e){return e.departmentId});this.$refs.tree.setCheckedKeys(t)}else this.$refs.tree.setCheckedKeys([])},handleCheck:function(e,t){var i=this,a=t.checkedNodes;if(this.filterText){var o=this.selectedTreeData.map(function(e){return e.departmentId});a.forEach(function(e){o.includes(e.departmentId)||i.selectedTreeData.push(e)})}else this.selectedTreeData=JSON.parse(c()(a))},handleCheckChange:function(e,t){var i=this,a=JSON.parse(c()(e));t||this.$nextTick(function(){i.selectedTreeData=i.selectedTreeData.filter(function(e){return e.departmentId!==a.departmentId})})},getTableList:function(e){var t=this;this.loading=!0,Object(d.b)("/haoban-manage3-web/department-list-cache",{isStore:0,parentId:""}).then(function(e){var i=e.data;1==i.errorCode&&i.result&&i.result.length&&(t.treeData=t.handleTreeData(JSON.parse(c()(i.result))),t.$nextTick(function(){t.$refs.tree.store._getAllNodes()[0].expanded=!0}),t.treeDataCopy=i.result)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleTreeData:function(e){return e.filter(function(t){var i=e.filter(function(e){return t.departmentId==e.parentDepartmentId});return i.length>0?(t.hasSonNode=!0,t.children=i):t.hasSonNode=!1,0==t.parentDepartmentId})},openScopeDialog:function(){var e=this;this.getTableList(),this.scopeVisible=!0,this.$nextTick(function(){e.selectedTreeData=e.form.suitDepartmentAddList,e.$refs.tree.setCheckedKeys(e.form.suitDepartmentAddList.map(function(e){return e.departmentId}))})},handleUploadList:function(e,t){["图片","视频","文件"].includes(e.title)?document.getElementsByClassName("upload-input")[t].click():"链接"==e.title?this.urlDialogVisible=!0:"小程序"==e.title?this.appletDialogVisible=!0:"带参公众号二维码"==e.title&&this.form.welcomeMediaList.push({mediaTitle:"带参公众号",mediaType:7,mediaUrl:"https://other-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20220310143912/abdf84f1112815e936f3ed4f09dba525.png"})},handleDelMedia:function(e,t){this.form.welcomeMediaList.splice(t,1)},handkeFileChange:function(e,t){var i=e.target.files[0],a="";if(i.size>2e6)return this.$message.error("单个大小不超过2M"),!1;if("图片"==t.title){if(!("image/jpeg"===i.type||"image/jpg"===i.type||"image/png"===i.type))return this.$message.error("请上传图片"),!1;a="jpg"}else if("视频"==t.title){if(!("video/mp4"==i.type))return this.$message.error("请上传mp4类型的视频文件"),!1;a="mp4"}else"文件"==t.title&&(a=".doc");this.handleRequest(i,a)},handleRequest:function(e,t){var i=this,a=new FormData;a.append("file",e),Object(d.d)("/haoban-manage3-web/upload-file?fileType="+t,a).then(function(a){var c=a.data,o=1;if("jpg"==t?o=1:"mp4"==t?o=2:".doc"==t&&(o=3),1==c.errorCode&&c.result){var l={mediaTitle:e.name,mediaType:o,mediaUrl:c.result.url};3==o&&(l.mediaSize=(c.result.size/1024).toFixed(2)),i.form.welcomeMediaList.push(l)}})},onClosed:function(){this.accountName="",this.url=""},addAcountName:function(){""!=this.accountName?(-1!=this.accountName.indexOf("#公众号:")?console.log(""):this.accountName="#公众号:"+this.accountName,this.addReplayDialog=!1,this.form.welcomeContent=this.form.welcomeContent+this.accountName):this.$message({message:"请输入公众号名称",type:"error"})},addUrl:function(){this.form.welcomeMediaList.push({mediaTitle:this.url,mediaType:4,mediaUrl:this.url,mediaSize:""}),this.urlDialogVisible=!1},addLinkDialogShow:function(){this.addReplayDialog=!0},changeRoute:function(){this.$router.push("/contactsList")},selectEmoji:function(e){var t=this.form.welcomeContent+e.key;t.length>1e3?this.$message("添加该表情后文本内容将超过字数限制,无法添加!"):this.form.welcomeContent=t},putName:function(){this.form.welcomeContent=this.form.welcomeContent+"<微信昵称>"},getData:function(){var e=this,t={welcomeId:this.$route.query.id,enterpriseId:this.enterpriseId||""};Object(d.b)("/haoban-manage3-web/welcome/get",t).then(function(t){var i=t.data;if(0==i.code&&i.result){var a=i.result,o=a.suitDepartmentList,d=a.title,m=a.welcomeId,s=a.welcomeContent,r=a.welcomeMediaList,p=a.wxEnterpriseId,n=a.defaultWelcomeFlag,f=a.type;e.form={type:f,suitDepartmentList:o||[],suitDepartmentAddList:JSON.parse(c()(o))||[],title:d,welcomeId:m,welcomeContent:s,welcomeMediaList:r,wxEnterpriseId:p,defaultWelcomeFlag:n},e.form=l()({},e.form),e.echoDefaultWelcomeFlag=n}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},submit:function(){var e=this;1!=this.form.type||this.form.defaultWelcomeFlag||this.form.suitDepartmentAddList.length?this.$refs.form.validate(function(t){if(t){var i=e.form,a=i.suitDepartmentAddList,c=i.suitDepartmentList,o=i.title,l=i.welcomeId,m=i.welcomeContent,s=i.welcomeMediaList,r=i.wxEnterpriseId,p=i.defaultWelcomeFlag,n=i.type,f={title:o,welcomeId:l,welcomeContent:m,welcomeMediaList:s,wxEnterpriseId:r||e.wxEnterpriseId,defaultWelcomeFlag:p,type:n},g=[],u=[];a.forEach(function(e){c.filter(function(t){return t.departmentId==e.departmentId}).length||g.push(e)}),c.forEach(function(e){a.filter(function(t){return t.departmentId==e.departmentId}).length||u.push(e)}),f.suitDepartmentAddList=g,f.suitDepartmentDeleteList=u,f.suitDepartmentAddList.forEach(function(e){e.selectType=1}),f.suitDepartmentDeleteList.forEach(function(e){e.selectType=1}),e.submitbtnLoading=!0,Object(d.f)("/haoban-manage3-web/welcome/save",f).then(function(t){0==t.data.code?(e.$message({type:"success",message:"保存成功!"}),sessionStorage.setItem("activeName",f.type),e.$router.push("salutatory")):e.$message.error({message:""+t.data.message})}).catch(function(e){this.$message.error({duration:1e3,message:e.message})}).finally(function(){e.submitbtnLoading=!1})}}):this.$message.error("请选择使用范围")}}},h={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"daily-set-wrap"},[i("div",{staticClass:"daily-set-content border-box"},[i("div",{staticClass:"salutatory-set-wrap m-t-20"},[i("el-form",{ref:"form",staticClass:"form",attrs:{"label-width":"117px",model:e.form,rules:e.rules}},[i("el-form-item",{attrs:{label:"欢迎语标题",prop:"title"}},[i("el-input",{staticClass:"w-384",attrs:{"show-word-limit":"",placeholder:"请输入欢迎语标题",type:"text",maxlength:"20"},model:{value:e.form.title,callback:function(t){e.$set(e.form,"title",t)},expression:"form.title"}})],1),e._v(" "),i("el-form-item",{staticClass:"welcomeContentItem",attrs:{label:"欢迎语内容",prop:"welcomeContent"}},[i("el-input",{staticClass:"w-384 welcomeContent",attrs:{placeholder:"请输入文本内容",type:"textarea"},model:{value:e.form.welcomeContent,callback:function(t){e.$set(e.form,"welcomeContent",t)},expression:"form.welcomeContent"}}),e._v(" "),i("div",{staticClass:"text-bottom flex w-384"},[i("div",{staticClass:"flex flex-wrap flex-align-center"},[i("div",{staticClass:"put",on:{click:e.putName}},[e._v("插入< 微信昵称 >")]),e._v(" "),i("div",{staticClass:"line"}),e._v(" "),i("div",{staticClass:"put",on:{click:e.addLinkDialogShow}},[e._v("插入#公众号")])]),e._v(" "),i("el-popover",{attrs:{placement:"top",width:"388",trigger:"click"}},[i("ul",{staticClass:"flex flex-wrap"},e._l(e.emojiList,function(t,a){return i("li",{key:a+"emoji"},[i("img",{attrs:{src:t.gifUrl,alt:""},on:{click:function(i){return e.selectEmoji(t)}}})])}),0),e._v(" "),i("p",{staticStyle:{cursor:"pointer",height:"24px"},attrs:{slot:"reference"},slot:"reference"},[i("svg-icon",{attrs:{iconname:"iconbiaoqing",size:"20"}})],1)])],1),e._v(" "),i("div",{staticClass:"mediaEcho"},e._l(e.form.welcomeMediaList,function(t,a){return i("div",{key:a,staticClass:"flexBoxContainer"},[i("div",{staticClass:"flexBox"},[i("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:e.iconType[t.mediaType],size:"16"}}),e._v(" "),i("span",{staticClass:"popverText"},[e._v("\n "+e._s(t.mediaTitle)+"\n "),5==t.mediaType?i("span",[e._v("("+e._s(t.miniProgramPage)+")")]):e._e()]),e._v(" "),i("i",{staticClass:"el-icon-close",staticStyle:{"margin-left":"20px",cursor:"pointer"},on:{click:function(i){return e.handleDelMedia(t,a)}}})],1)])}),0),e._v(" "),i("div",{staticClass:"addInfo",style:e.form.welcomeMediaList.length>0?"border-top: 1px dashed #dcdfe6;":""},[i("el-popover",{attrs:{placement:"top",trigger:"click"}},[i("ul",{staticClass:"flex flex-wrap"},e._l(e.uploadList,function(t,a){return i("li",{key:a,class:["uploadListBox",e.form.welcomeMediaList.length>=9||5==a&&e.publicAccountDisabled?"disabled":""],style:5==a?"width: 118px;":"",on:{click:function(i){return e.handleUploadList(t,a)}}},[i("i",{class:["iconfont-hb3",t.icon],staticStyle:{"font-size":"20px"}}),e._v(" "),i("p",[e._v(e._s(t.title))]),e._v(" "),i("input",{staticClass:"upload-input",attrs:{type:"file",accept:t.fileType},on:{change:function(i){return e.handkeFileChange(i,t)}}})])}),0),e._v(" "),i("div",{staticStyle:{cursor:"pointer",display:"inline-block"},attrs:{slot:"reference"},slot:"reference"},[i("i",{staticClass:"iconfont-hb3 icontianjiajiahaowubiankuang"}),e._v(" "),i("p",[e._v("添加图片/视频/文件/链接/小程序/带参公众号二维码")])])]),e._v(" "),i("p",{staticStyle:{"font-size":"12px",color:"#909399"}},[e._v("(附件不超过9个,单个大小不超过2M)")])],1)],1),e._v(" "),1==e.form.type?i("el-form-item",{attrs:{label:"使用范围",required:""}},[i("el-radio",{attrs:{disabled:e.defaultWelcomeFlag&&0==e.echoDefaultWelcomeFlag,label:1},model:{value:e.form.defaultWelcomeFlag,callback:function(t){e.$set(e.form,"defaultWelcomeFlag",t)},expression:"form.defaultWelcomeFlag"}},[e._v("全体成员")]),e._v(" "),i("el-radio",{attrs:{label:0},model:{value:e.form.defaultWelcomeFlag,callback:function(t){e.$set(e.form,"defaultWelcomeFlag",t)},expression:"form.defaultWelcomeFlag"}},[e._v("部分成员")]),e._v(" "),0==e.form.defaultWelcomeFlag?i("span",{staticClass:"color-2f54eb cursor-pointer",staticStyle:{"margin-left":"8px"},on:{click:e.openScopeDialog}},[e._v(" "+e._s(e.form.suitDepartmentAddList.length?"修改使用范围":"请选择使用范围"))]):e._e(),e._v(" "),1==e.form.defaultWelcomeFlag?i("div",{staticClass:"scopeContainer"},[i("div",{staticClass:"wwTag"},[i("span",{staticClass:"font-14 color-2f54eb opacity80 iconfont-hb3 iconqiye-tianchong"}),e._v("\n 全体成员\n ")])]):i("div",[i("div",{directives:[{name:"show",rawName:"v-show",value:e.form.suitDepartmentAddList.length,expression:"form.suitDepartmentAddList.length"}],staticClass:"scopeContainer"},e._l(e.form.suitDepartmentAddList,function(t){return i("div",{key:t.departmentId,staticClass:"wwTag"},[i("span",{staticClass:"font-14 color-2f54eb opacity80 iconfont-hb3 iconqiye-tianchong"}),e._v("\n "+e._s(t.departmentName)+"\n ")])}),0)])],1):e._e(),e._v(" "),i("el-button",{staticStyle:{"margin-left":"117px","margin-bottom":"20px"},attrs:{type:"primary",loading:e.submitbtnLoading},on:{click:e.submit}},[e._v("保存")]),e._v(" "),i("el-button",{staticStyle:{"margin-bottom":"20px"},on:{click:function(t){return e.$router.push("salutatory")}}},[e._v("返回")])],1),e._v(" "),i("preview",{attrs:{welcomeContent:e.form.welcomeContent,mediaList:e.form.welcomeMediaList}})],1),e._v(" "),i("el-dialog",{staticClass:"replay-link-dialog",attrs:{title:"添加公众号",width:"585px",visible:e.addReplayDialog},on:{"update:visible":function(t){e.addReplayDialog=t},closed:e.onClosed}},[i("el-form",{attrs:{"label-position":"right","label-width":"100px"},nativeOn:{submit:function(e){e.preventDefault()}}},[i("el-form-item",{attrs:{label:"公众号名称"}},[i("el-input",{nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.addAcountName(t)}},model:{value:e.accountName,callback:function(t){e.accountName=t},expression:"accountName"}})],1)],1),e._v(" "),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.addReplayDialog=!1}}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addAcountName}},[e._v("确定")])],1)],1),e._v(" "),i("el-dialog",{staticClass:"replay-link-dialog",attrs:{title:"添加链接",width:"585px",visible:e.urlDialogVisible},on:{"update:visible":function(t){e.urlDialogVisible=t},closed:e.onClosed}},[i("el-form",{attrs:{"label-position":"right","label-width":"100px"},nativeOn:{submit:function(e){e.preventDefault()}}},[i("el-form-item",{attrs:{label:"链接地址"}},[i("el-input",{nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.addUrl(t)}},model:{value:e.url,callback:function(t){e.url=t},expression:"url"}}),e._v(" "),i("span",{staticStyle:{"font-size":"12px",color:"#909399"}},[e._v("以http或https开头")])],1)],1),e._v(" "),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.urlDialogVisible=!1}}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addUrl}},[e._v("确认添加")])],1)],1),e._v(" "),i("el-dialog",{staticClass:"replay-link-dialog",attrs:{title:"请选择使用范围",width:"886px",visible:e.scopeVisible},on:{"update:visible":function(t){e.scopeVisible=t}}},[i("div",{staticClass:"scopeBox"},[i("div",{staticClass:"left"},[i("el-input",{staticStyle:{width:"398px"},attrs:{placeholder:"请输入部门名称",maxlength:"50",clearable:""},on:{clear:e.handlefilterTextClear},nativeOn:{keyup:function(t){return i=t,e.toInput(i,e.searchInput);var i}},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),i("el-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.showTree,ref:"tree",staticClass:"tree",attrs:{data:e.treeData,"check-on-click-node":!0,"show-checkbox":"","node-key":"departmentId",props:e.defaultProps,"expand-on-click-node":!1,"render-after-expand":!0},on:{"check-change":e.handleCheckChange,check:e.handleCheck},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node;return i("span",{staticClass:"custom-tree-node"},[i("span",{staticClass:"font-14 color-2f54eb opacity80 iconfont-hb3 iconqiye-tianchong"}),e._v(" "),i("span",[e._v(e._s(a.label))])])}}])})],1),e._v(" "),i("div",{staticClass:"right"},[i("div",{staticClass:"right-top"},[i("span",[e._v("已选:"+e._s(e.selectedTreeData.length)+"个部门")]),i("el-button",{directives:[{name:"show",rawName:"v-show",value:e.selectedTreeData.length,expression:"selectedTreeData.length"}],attrs:{type:"text",loading:e.btnLoading},on:{click:e.clearAllSelectedData}},[e._v("清空")])],1),e._v(" "),e.selectedTreeData.length?i("ul",{staticClass:"right-content"},e._l(e.selectedTreeData,function(t,a){return i("li",{key:a+"gic",staticClass:"contact-li"},[i("div",{staticClass:"li-cell cursor-pointer"},[i("div",[i("span",{staticClass:"font-14 color-2f54eb opacity80 iconfont-hb3 iconqiye-tianchong"}),e._v(" "),i("span",{staticClass:"font-14 color-303133 span-departName"},[e._v(" "+e._s(t.departmentName))])]),e._v(" "),i("i",{staticClass:"iconfont-hb3 iconclose",on:{click:function(i){return e.handleSelectedDataCancel(t,a)}}})])])}),0):e._e()])]),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.treeDialogCancel}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addSuitDepartment}},[e._v("确认")])],1)]),e._v(" "),i("el-dialog",{attrs:{title:"添加小程序",width:"640px",visible:e.appletDialogVisible},on:{"update:visible":function(t){e.appletDialogVisible=t},closed:e.closeAppletDialog}},[i("div",{staticClass:"admin-tip-body"},[i("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"550px"},attrs:{role:"alert"}},[i("i",{staticClass:"el-alert__icon el-icon-info"}),e._v(" "),i("div",{staticClass:"el-alert__content"},[i("p",{staticClass:"el-alert__title"},[e._v("\n 1、要在欢迎语中发送小程序,需先在【好办后台-设置-应用接入-小程序接入-小程序添加】中添加此小程序;"),i("br"),e._v("\n 2、请确保此处欢迎语中所添加的小程序在企业微信后台也已经创建,否则欢迎语在发送的时候会被企微拦截,导致发送失败; "),i("br"),e._v("\n 3、在不同开平的情况下,可选择“带参会员小程序”,以便于“客户”身份与“好友”身份的对应;"),i("br")])])])]),e._v(" "),i("el-form",{ref:"appletForm",staticStyle:{"margin-top":"20px"},attrs:{"label-position":"right",model:e.appletForm,"label-width":"120px"},nativeOn:{submit:function(e){e.preventDefault()}}},[i("el-form-item",{attrs:{label:"小程序配置",required:""}},[i("el-select",{staticStyle:{width:"458px"},model:{value:e.appletForm.selectedApple,callback:function(t){e.$set(e.appletForm,"selectedApple",t)},expression:"appletForm.selectedApple"}},e._l(e.appTableData,function(t){return i("el-option",{key:t.miniprogramSettingId,attrs:{label:t.miniprogramName,value:t.miniprogramSettingId,disabled:e.handleDiabled(t)}})}),1)],1),e._v(" "),i("el-form-item",{directives:[{name:"show",rawName:"v-show",value:-1!=e.appletForm.selectedApple,expression:"appletForm.selectedApple != -1"}],attrs:{label:"小程序路径",required:""}},[i("el-input",{staticStyle:{width:"458px"},attrs:{placeholder:"请输入小程序跳转路径,例如:/page "},model:{value:e.appletForm.appletPath,callback:function(t){e.$set(e.appletForm,"appletPath",t)},expression:"appletForm.appletPath"}})],1)],1),e._v(" "),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.closeAppletDialog}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addApplet}},[e._v("确定")])],1)],1)],1)])},staticRenderFns:[]};var y=i("VU/8")(b,h,!1,function(e){i("Gk8g")},"data-v-77877488",null);t.default=y.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([25,62],{Jupt:function(t,e){},Nezr:function(t,e){},nExe:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"salutatoryIndex",components:{salutatory:a("xWf4").default},data:function(){return{activeName:1}},mounted:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},activated:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},destroyed:function(){sessionStorage.setItem("activeName",1)},watch:{activeName:function(t){sessionStorage.setItem("activeName",t)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"salutatory"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"普通欢迎语",name:1}},[1==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"特殊欢迎语",name:2}},[2==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(i,n,!1,function(t){a("Nezr")},"data-v-71e32d54",null);e.default=o.exports},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("Jupt")},"data-v-87ebdafc",null);e.default=u.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/25.99543d3ea3d0a6d0ba82.js
webpackJsonp([25,62],{Jupt:function(t,e){},Nezr:function(t,e){},nExe:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"salutatoryIndex",components:{salutatory:a("xWf4").default},data:function(){return{activeName:1}},mounted:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},activated:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},destroyed:function(){sessionStorage.setItem("activeName",1)},watch:{activeName:function(t){sessionStorage.setItem("activeName",t)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"salutatory"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"普通欢迎语",name:1}},[1==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"特殊欢迎语",name:2}},[2==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(i,n,!1,function(t){a("Nezr")},"data-v-71e32d54",null);e.default=o.exports},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("Jupt")},"data-v-87ebdafc",null);e.default=u.exports}});
=======
webpackJsonp([27,74],{IfXV:function(t,e){},nExe:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"salutatoryIndex",components:{salutatory:a("xWf4").default},data:function(){return{activeName:1}},mounted:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},activated:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},destroyed:function(){sessionStorage.setItem("activeName",1)},watch:{activeName:function(t){sessionStorage.setItem("activeName",t)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"salutatory"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"普通欢迎语",name:1}},[1==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"特殊欢迎语",name:2}},[2==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(i,n,!1,function(t){a("t7eF")},"data-v-d39aab2a",null);e.default=o.exports},t7eF:function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("IfXV")},"data-v-78356120",null);e.default=u.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/27.aeef277e50f51aee1062.js
<<<<<<< HEAD:dist/static/js/25.99543d3ea3d0a6d0ba82.js
webpackJsonp([25,62],{Jupt:function(t,e){},Nezr:function(t,e){},nExe:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"salutatoryIndex",components:{salutatory:a("xWf4").default},data:function(){return{activeName:1}},mounted:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},activated:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},destroyed:function(){sessionStorage.setItem("activeName",1)},watch:{activeName:function(t){sessionStorage.setItem("activeName",t)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"salutatory"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"普通欢迎语",name:1}},[1==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"特殊欢迎语",name:2}},[2==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(i,n,!1,function(t){a("Nezr")},"data-v-71e32d54",null);e.default=o.exports},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("Jupt")},"data-v-87ebdafc",null);e.default=u.exports}});
=======
webpackJsonp([27,74],{IfXV:function(t,e){},nExe:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"salutatoryIndex",components:{salutatory:a("xWf4").default},data:function(){return{activeName:1}},mounted:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},activated:function(){sessionStorage.getItem("activeName")&&(this.activeName=Number(sessionStorage.getItem("activeName")))},destroyed:function(){sessionStorage.setItem("activeName",1)},watch:{activeName:function(t){sessionStorage.setItem("activeName",t)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"salutatory"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"普通欢迎语",name:1}},[1==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1),t._v(" "),a("el-tab-pane",{attrs:{label:"特殊欢迎语",name:2}},[2==t.activeName?a("salutatory",{attrs:{type:t.activeName}}):t._e()],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(i,n,!1,function(t){a("t7eF")},"data-v-d39aab2a",null);e.default=o.exports},t7eF:function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("IfXV")},"data-v-78356120",null);e.default=u.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/27.aeef277e50f51aee1062.js
webpackJsonp([28,85],{DM2u:function(t,e){},DWsn:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Xxa5"),i=a.n(s),n=a("exGp"),o=a.n(n),l=a("DvcT"),d=a("YQXN"),c=a("PI0u"),r=a("P9l9"),u=a("Ch4/"),f={name:"actCodeDetail",components:{actCodeDetailInfo:l.default,actCodeDetailStatistics:d.default},props:{hmId:{type:String,default:""}},data:function(){return{chartWidth:0,fixedHeight:217,codeInfo:{},loading:!1,activeName:"first",codeStatusLis:[{value:"",style:""},{value:"正常",style:"success"},{value:"已作废",style:"danger"},{value:"待生效",style:"info"},{value:"正常-今日已达上限",style:"warning"}],statusIndex:1,scrollTop:0,useMemberList:[]}},methods:{downloadQR:function(){var t,e,a,s;t=this.codeInfo.hmCode+"_"+this.codeInfo.name,e=this.codeInfo.wxQrcode,a=e,(s=new XMLHttpRequest).open("GET",a,!0),s.responseType="blob",s.onload=function(e){var a=new Blob([s.response]),i=window.URL.createObjectURL(a),n=document.createElement("a");n.href=i,n.download=t+".png",n.click()},s.send()},modifyCode:function(){this.$router.push("/actCodeEdit?hmId="+this.$route.query.hmId)},discardCode:function(){var t=this,e=this;this.$confirm("此操作将永久废弃该活码,请确保不影响其他投放使用!","确认要作废该活码?",{confirmButtonText:"作废",cancelButtonText:"取消",type:"warning"}).then(function(){e.loading=!0,Object(r.a)("/haoban-manage3-web/hm/qrcode/del",{hmId:e.$route.query.hmId}).then(function(a){e.loading=!1,0!=a.data.code?u.a.errorMsg(a.data):t.getActCodeInfo()})})},getActCodeInfo:function(){var t=this;return o()(i.a.mark(function e(){var a;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((a=t).$route.query.hmId.length<=0)){e.next=3;break}return e.abrupt("return");case 3:a.loading=!0,Object(r.b)("/haoban-manage3-web/hm/qrcode/detail",{hmId:a.$route.query.hmId}).then(function(t){var e=t.data;if(a.loading=!1,0==e.code)return a.statusIndex=1==e.result.statusFlag&&1==e.result.overFlag?4:e.result.statusFlag,a.codeInfo=e.result,void(a.fixedHeight=2!=a.codeInfo.statusFlag?260:217);u.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})});case 5:case"end":return e.stop()}},e,t)}))()},scrollMethod:Object(c.b)(function(){this.scrollTop=document.getElementById("hb-layout-pager-one").scrollTop},100),useMemberData:function(t){this.useMemberList=t}},mounted:function(){this.activeName=this.$route.query.activeName||"first",this.chartWidth=this.$refs.page.$el.clientWidth,this.getActCodeInfo(),document.getElementById("hb-layout-pager-one").addEventListener("scroll",this.scrollMethod)},destroyed:function(){document.getElementById("hb-layout-pager-one").removeEventListener("scroll",this.scrollMethod)}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"app-detail-wrap p-20"},[a("div",{staticClass:"flex p-b-40"},[2==t.codeInfo.hmType?a("el-image",{staticClass:"img-200",attrs:{src:t.codeInfo.wxQrcode}}):t._e(),t._v(" "),a("div",{staticClass:"text-ellipsis-white color-303133",style:1==t.codeInfo.hmType?"width:100%;":"width: calc(100% - 230px);"},[a("div",{staticClass:"p-t-12 flex height-22"},[a("div",{staticClass:"font-16 line-22 text-ellipsis-white font-w-500"},[t._v(t._s(t.codeInfo.name))]),t._v(" "),a("el-tag",{staticStyle:{"margin-left":"8px"},attrs:{size:"small",effect:"dark",type:t.codeStatusLis[t.statusIndex].style}},[t._v(t._s(t.codeStatusLis[t.statusIndex].value))])],1),t._v(" "),a("p",{staticClass:"font-14 m-t-10 "},[t._v("ID:"+t._s(t.codeInfo.hmCode))]),t._v(" "),a("div",{staticClass:"flex font-14",staticStyle:{"padding-top":"20px"}},[a("div",{staticClass:"flex flex-1"},[a("div",{staticClass:"font-14 line-22"},[t._v("\n 类       型:\n ")]),t._v(" "),a("el-tag",{attrs:{size:"small"}},[t._v(t._s(1==t.codeInfo.hmType?"单人活码":"多人活码"))])],1),t._v(" "),a("div",{staticClass:"font-14 line-22 flex-1"},[t._v("创建人:"+t._s(t.codeInfo.creatorName||"--"))]),t._v(" "),a("div",{staticClass:"font-14 line-22 flex-1"},[t._v("创建时间:"+t._s(t._f("formatTimeStamp")(t.codeInfo.createTime)))])]),t._v(" "),a("div",{staticClass:"flex font-14",staticStyle:{"padding-top":"15px"}},[a("div",{staticClass:"font-14 line-22 flex-1"},[t._v("所属分组:"+t._s(t.codeInfo.hmGroupName||"--"))]),t._v(" "),a("div",{staticClass:"flex flex-1"},[a("div",{staticClass:"font-14 line-22"},[t._v("自动通过好友:")]),t._v(" "),a("el-tag",{attrs:{size:"small",type:1==t.codeInfo.passFlag?"":"danger"}},[t._v(t._s(1==t.codeInfo.passFlag?"已开启":"已关闭"))])],1),t._v(" "),a("div",{staticClass:"flex flex-1"},[a("div",{staticClass:"font-14 line-22"},[t._v("活码标签:")]),t._v(" "),a("el-tooltip",{attrs:{disabled:0!=t.codeInfo.memberLabelStatus,content:"已删除",placement:"top"}},[a("el-tag",{attrs:{size:"small",type:0==t.codeInfo.memberLabelStatus?"warning":"info"}},[t._v(t._s(t.codeInfo.memberLabelName||"--"))])],1)],1)]),t._v(" "),2!=t.codeInfo.statusFlag&&t.codeInfo.statusFlag?a("div",{staticClass:"flex",staticStyle:{"padding-top":"20px"}},[2==t.codeInfo.hmType&&1==t.codeInfo.statusFlag?a("el-button",{staticStyle:{width:"120px","margin-right":"12px"},attrs:{type:"primary"},on:{click:t.downloadQR}},[a("i",{staticClass:"iconfont-hb3 iconxiazai m-r-6"}),t._v("下载二维码")]):t._e(),t._v(" "),a("el-button",{staticStyle:{width:"98px"},attrs:{type:"primary",plain:""},on:{click:t.modifyCode}},[t._v("编辑")]),t._v(" "),a("el-button",{staticClass:"button-discard specter",style:2==t.codeInfo.hmType&&t.useMemberList.length>0?"":"border-color: #F5222D;",attrs:{type:"danger",plain:""},on:{click:t.discardCode}},[t._v("作废")])],1):t._e()])],1),t._v(" "),t.scrollTop>=t.fixedHeight?a("div",{staticClass:"fixed-tab"},[a("el-tabs",{attrs:{type:"card"},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"详情信息",name:"first"}},[a("div")]),t._v(" "),a("el-tab-pane",{attrs:{label:"数据统计",name:"second"}},[a("div")])],1)],1):t._e(),t._v(" "),a("el-tabs",{ref:"page",attrs:{type:"card"},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t.$getButtonLimit(t.$buttonCode.infoActCode)?a("el-tab-pane",{attrs:{label:"详情信息",name:"first","limit-code":t.$buttonCode.infoActCode}},[a("act-code-detail-info",{attrs:{"enterprise-id":t.codeInfo.enterpriseId,"welcome-id":t.codeInfo.welcomeId,"hm-id":t.$route.query.hmId},on:{useMemberList:t.useMemberData}})],1):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.dataActCode)?a("el-tab-pane",{attrs:{label:"数据统计",name:"second","limit-code":t.$buttonCode.dataActCode}},[a("act-code-detail-statistics",{attrs:{"chart-width":t.chartWidth,"hm-id":t.$route.query.hmId}})],1):t._e()],1)],1)},staticRenderFns:[]};var m=a("VU/8")(f,v,!1,function(t){a("DM2u")},"data-v-434096c4",null);e.default=m.exports},YQXN:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("/p6h"),i=a("eaYI"),n=a("P9l9"),o=a("ckKa"),l=a("Ch4/"),d={name:"act-code-detail-statistics",components:{dataDetail:s.default,newAddChart:i.default},props:{hmId:{type:String,default:function(){return""}},chartWidth:Number},mixins:[o.a],data:function(){return{loading:!1,dateList:[],overViewData:{addNumT:0,addNum:0,dateList:[]}}},methods:{explain:function(t){window.open(t)},getChartList:function(){var t=this,e={inFields:{hmId:t.hmId,startTime:t.dateDefault[0]+" 00:00:00",endTime:t.dateDefault[1]+" 23:59:59",type:t.dateKey>=2?2:1}};t.loading=!0,Object(n.f)("/haoban-manage3-web/hm/qrcode/detail-data-statistics",e).then(function(e){var a=e.data;if(t.loading=!1,0==a.code){var s=a.result||{addNumT:0,addNum:0,dateList:[]};return s.dateList.map(function(t,e){t["新增人数"]=t.addNum}),void(t.overViewData=s)}l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},onDateChange:function(){this.dateKey=-1,this.getChartList()}},mounted:function(){this.btnChange(0)}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",[a("div",{staticClass:"flex justify-between title"},[t._m(0),t._v(" "),a("div",{staticClass:"flex"},[a("el-button",{directives:[{name:"jumpLink",rawName:"v-jumpLink:codeGl",arg:"codeGl"}],attrs:{type:"text"}},[a("i",{staticClass:"iconfont-hb3 iconzhibiaoshuoming m-r-6"}),t._v("指标说明")])],1)]),t._v(" "),a("ul",{staticClass:"flex"},[a("li",{staticClass:"data-total-cell m-r-22"},[a("div",{staticClass:"flex p-20"},[t._m(1),t._v(" "),a("div",{staticClass:"m-l-16"},[a("div",{staticClass:"font-14 color-606266 line-20"},[t._v("添加好友人数")]),t._v(" "),a("span",{staticClass:"font-30 font-din",staticStyle:{"margin-top":"1"}},[t._v(t._s(t.overViewData.addNumT||0))])])])]),t._v(" "),a("li",{staticClass:"data-total-cell"},[a("div",{staticClass:"flex p-20"},[t._m(2),t._v(" "),a("div",{staticClass:"m-l-16"},[a("div",{staticClass:"font-14 color-606266 line-20"},[t._v("今日新增人数")]),t._v(" "),a("span",{staticClass:"font-30 font-din",staticStyle:{"margin-top":"1"}},[t._v(t._s(t.overViewData.addNum||0))])])])])]),t._v(" "),a("div",{staticClass:"flex justify-end"},[a("div",{staticClass:"rightBox"},[t._l(t.dateLis,function(e,s){return a("ul",{key:e.key,staticClass:"datebox"},[a("li",{staticClass:"dateLisBox",class:t.dateKey==s?"activeClass":"noActive",on:{click:function(e){return t.btnChange(s)}}},[t._v(t._s(e.value))])])}),t._v(" "),a("el-date-picker",{staticClass:"w256",attrs:{type:"daterange","range-separator":"~","start-placeholder":"创建开始日期","end-placeholder":"创建结束日期","default-time":["00:00:00","23:59:59"],"picker-options":t.pickerOptions(),"value-format":"yyyy-MM-dd",format:[2,3,4].includes(t.dateKey)?"yyyy-MM":"yyyy-MM-dd",clearable:!1},on:{change:t.onDateChange},model:{value:t.dateDefault,callback:function(e){t.dateDefault=e},expression:"dateDefault"}})],2)]),t._v(" "),a("new-add-chart",{attrs:{"chart-width":t.chartWidth,charData:t.overViewData.dateList,id:"new-add-chart"}})],1),t._v(" "),a("div",[a("div",{staticClass:"flex justify-between title"},[t._m(3),t._v(" "),a("div",{staticClass:"flex"},[a("el-button",{directives:[{name:"jumpLink",rawName:"v-jumpLink:codeCkmx",arg:"codeCkmx"}],attrs:{type:"text"}},[a("i",{staticClass:"iconfont-hb3 iconzhibiaoshuoming m-r-6"}),t._v("指标说明")])],1)]),t._v(" "),a("data-detail",{attrs:{id:t.hmId}})],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"flex"},[e("div",{staticClass:"blue-block"}),this._v(" "),e("span",{staticClass:"font-w-500 color-303133"},[this._v("概览")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon-background"},[e("i",{staticClass:"iconfont-hb3 iconxinzengyonghu color-1890ff font-28"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon-background",staticStyle:{background:"#d9f3fd"}},[e("i",{staticClass:"iconfont-hb3 iconxinzengyonghu color-35C4FC font-28"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"flex"},[e("div",{staticClass:"blue-block"}),this._v(" "),e("span",{staticClass:"font-w-500 color-303133"},[this._v("查看明细")])])}]};var r=a("VU/8")(d,c,!1,function(t){a("rfDw")},"data-v-67b1e6aa",null);e.default=r.exports},rfDw:function(t,e){}});
\ No newline at end of file
webpackJsonp([6],{"491z":function(e,t){},"4HzD":function(e,t){},"73p6":function(e,t){},G7CC:function(e,t){},GiPh:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAUJ0lEQVR4Xu1dS4ykVRU+1V1VXVVdj37OgDgMwYAsNILIaCQjK+IoJgaCicGQGAhqjAsTXWpCYnShCzRqBFF3KnGhTkaSMWwUGVAX6EITyCiPGRjoZ3W931Xm+8saerp6uv97/tf97z0nqVRn5j6/c7+6r3PPSVTqnRGJCAKCwDQCCTqTEILIyBAEroKAEESGhiBwAAJCEBkegoAQRMaAIMBDQGYQHm6SyxIEhCCWKFq6yUNACMLDTXJZgoAQxBJFSzd5CAhBeLhJLksQEIJYomjpJg8BIQgPN8llCQJCEEsULd3kISAE4eEmuSxBQAhiiaKlmzwEhCA83CSXJQgIQSxRtHSTh4AQhIeb5LIEASGIJYqWbvIQEILwcJNcliAgBLFE0dJNHgJCEB5ukssSBIQglihauslDQAjCw01yWYKAEMQSRUs3eQgIQXi4SS5LEBCCWKJo6SYPASEIDzfJZQkCQhBLFC3d5CEgBOHhJrksQUAIYomipZs8BIQgPNwklyUICEEsUbR0k4eAEISHm+SyBAEhiCWKlm7yEBCC8HCTXJYgIASxRNHSTR4CQhAebpLLEgSEIJYoWrrJQ0AIwsNNclmCgBDEEkVLN3kICEF4uEkuSxAQgliiaOkmDwEhCA83yWUJAkIQSxQt3eQhIATh4Sa5LEFACGKJoqWbPASEIDzcJJclCAhBwlP0aDSiwWBI/cHw8vdwOKTRiAj/d/kTXpMCqenIcjGQciMpVAgSLOy93oC6/T51u33q9QfBVqZJ6UIQTRShYzOGo5FDhm5v/BkORzo2M9A2CUEChTeehbc7vTEpun0CSWwWIYjN2t/Vd+wZWp0etdtdZ18hMkZACGL5SAAxmu0uYdbAplvkSgSEIBaPiE63T41Wh/qWbLg5qhaCcFCLeR7MGo1mx5k5RA5GQAhi2QjB5rvelFnDrdqFIG6RMiBds9VxyCHiHgEhiHusYpsSm28Qo9PtxbYPUTVcCBIV8iHVi7uMWrMtJ1RMvIUgTODikA33GrV6Kw5N1baNQhBtVeOtYc1Wl+rNtrdCmLlnZhI0OzNDszMJp4TBcESD4TCWpipCEOYg0DkbLv2qIcwciUSC0qlZ55NKjj/4+yDp9gaOoSM++BsfHDvrKkIQXTXDbBeOcXeqTWbuw7OlU0nKzCUpk07SXDp5eAYXKXBh2canMzaK1EmEIDppw2Nb8KtcrjQ8ljKdHUumwvwc5TJpSs7O+F7+7gJhB9Zs96jWaGuxJBOCBKru8ArHUW6l1vTd0BDEKOWzlBhvJ0ITrLqq9TZVG9HsoyYdFYKEpvJgK6rUWr7ec2TnUlQqZJx9RZSCWbFSb1OrHc0djhAkSu37VLefN+QziQQtFLM0n0371Dp/imm0urRTa4W+7BKC+KO/yErxc1OOWQPkCHqfwQULy8hyteW8WwlLhCBhIR1APTgeLVebvpirl/IZKuYzAbTS/yKxN8GyKwwRgoSBckB11BttzybruMtYLuUom0kF1MpgisWeZKvSDPwORQgSjP4CLxV3Bzi18iLJ5AytLMxHvhHn9qHbH9DWToP6/eBeQgpBuNqJMJ8fSyvMHEeW85SO+JTKK4w45Vrbqgc2kwhBvGoogvx4JosXgV4EM0fcllVX6y+WW5s7/l+Qoj4hiJdRFkFezB7blYYn8/U4bcjdQhzUxl0I4lYDmqTDO3JszrmCo9yVxXludq3zbZYbvh8BC0G0Vvl047Z36mxzEthUXbNcoNmA7amighR2XGubNV+d3QlBotImo16vZuxLpZx2N+QMGA7Mghv37Yq3073dFQhB/NZQgOXhjQdIwhFsyLExt0H8XGoJQWIyYuAjd7tcZy8frlkpKN13PHfueTp9+g8OOjfccJzu/OhH6NZbPxAKWr8/fYbOnXvhct2nTt1N77nxRtd14+j37c2a6/QHJRSC+AJj8IV4WV4V5zOOZa5bOX/+P/TTJ38xlfz++++lD5+4w20xrHR/+vOz9PTTZ6fyfv1rX6WjR4+4LhOGjbWGt6NwVCYEcQ15tAm5yytszN+1WlJ6z/Hrp35DL774z6kOY4BioAYpj33/h3Tp0ltTVZw48SH6zP33ua4a70kubVQ8W/8KQVxDHm3CzXKNpexSIUvF+Tmlxn/jm49SpzPtljQ9l6Zvf+tRpbJUE1+t7ltuuZkefujzSsXhsVWlxj8SlxlECe7oEnsxab92tahsvv7jnzxBr736+lSHj99wPX3ly18KFIir1X3XXSfpU/d8QqluHPu+tVFVyrM3scwgnuALJzO8IuJRlKrAwcLR5bxqNsIe5Je/eooajXeOS+fnc/Tggw8obZaVKyai/77yCj3++M+msn7vu9/hFOfYaXlxBCEEYcEebiaYlnBCFOB9B8xKOLKxsUF//dvf6c03L9GxY8foxB230+rqKqeoqTzNZpNyudxVy1pbW6dzz79A6+vrTt33fPIUu168G4EZCleEIFzkQsoH26uNbd6R5ZGlvG+uedx097e/O0333fvpy0lfv3CBzv7xGfriIw9f/jeQ49m/nKNTH7/bTZGe0+BZwPp2nV2OEIQNXTgZMXNgBlEVmLO/+2hJNZun9E88+XNKUII+dvJO2tjcpLNnn6Hbb7+NLly4SCdP3umUDRJ94ZGH6Pj113uqSyXzG2sVtjm8EEQF6QjScu8/4NQNM0iYgtnhsR/8iF566WXKZrPOzAGCgDjPPfe805TPPfDZ0GaPSd8xg2Am4YgQhINaiHnw7gPvP1QF/qwWClnVbEam93JpKATRfEhw/V3ZYJjoVnVeDBiFIG5RjigdXInCtkhVji4XDnUkrVpmXNPDQfbaFvOgY7kY125PtztBZxKVekdfV+EMqLfhlGCgTpBj1yyo11beJuq4WM6l54iWltTLPyjH1iZRz4WlcjZLVFLv28W3d1jtlRmEBVt4mbbKdSe2horA/uq6IwonWMMBJc6fJ2qqvaMY3fZBlWZdNW3iHy+qlZPL0eimm4lm3DvSfnOdZ5clBFFTTeipN7fVX8jBny7M211LvTYmiKKMjh8nWlpWzLUneblMiddeVS5jdNNNRHn3fYT5O2epKgRRVk24GTa2qqS6ZkTsjlWVI14uQa67jujIUW+AbG5Q4uJF5TJUCbKxXXdikKiKEEQVsZDTh0KQbpcS//6Xcs9G772F6ACTEVcFNpuUePklV0l3Jxq97/1EKffeIDkEQcSHVdmkK+sm1AyhLLHQo0qFEutrrvs2KpW8zx6T2jCLlMvu615eVl7acZZY8HS/suR+Gee6A1ElNPEUK5RNelQKC7FeziYdgUiXF8O1RggUEhMJEuoxb6DaibZwzjFvcnaWlkxydGEiQeSi0DuxuBeFOA1cLBnkCcZEgoipiXeCcE1N5tIIQ2eQPZuJBBFjRe8E4RorzmfnaD6n9p7fe2sDLMFEgsTJ3D1A1XoqmnPEiwqL+Sxl5twfJXtqZBiZTSRInB5MhaFjTh3cB1NLpXlKxjx+yhV4mUiQOD255QzeoPN0en1a3+I9uV1dKhBeZhojJhIEyuGeZHlx2mDKoODGDTHuBAsKNZUg3IhSXLc/ppAD/eA+t8XmHJt0o8RUgvR6AypX1R03QLkcx3GmDArEVb/EdBy3WJynVGrWFCjG/TCVIOgb3/VohuC82kaB82oc8aoK3tOsLBpkgzUBwGSChOm8WnVA6Zr+0nqFBkPVxwLkHO3iiNc4MZkg3PsQKNlGDydePCoad/9hwwwSdgCdOP96Ys54g/kGHSbuS4t5wrdxYvIMAmVxl1nIa3J0270DeWunQc22CwcQ+zDA2OWV6Zt09M/LMgv5bfCV1Wx1actDEE9jl1c2EAR99BQGOpGgoysF5XghcVlqYEO+tlllbczRx+TsDC0tGPRAaq/iTF9iob/NdpfqDb47f5OXWl6WVsA2P5+hXCYdl98D9XbaQBDYZsHbOy7BuIKYITBDMUm4dx4TDGYxe5TmzbK9snEGQZ+5pie78ULMdMRON0FanR4hNroXMdK0xFaCYBYpV5usqFMTzGClivBsMMqLs8AZHOythowLwUm/YdK+WMyZPXvYskmfKBXxLio1NVehe4mQTM7Q8sI8pWNKEpBja6fJ8pi4G4tSIRdqJK7IfpBs2IPsBhebdWzavQhmkuVSLnbLLSyrtitNTzMHcMOmHJtzK8Q2gvix1JoMjDht3L1uyK1bWl1eVxsY/uCwXzYvMdT3lo0j4MVilnCio6PgnmOn2mTfku/t00IxR3gzY43YNoNMFIsY6oil7ofA1Buh2+azet0HwHUPTNe9bMZ345PPzVHOtAdRhw0AWwkCXLj+s66GKY6AseyK+pQLhofwLsm1rdqvf8b5uzqMGDYvsSZ9x8XhTq3p6QJxP5zx2AqXilEYt3oxWb/amMHycaGQ03YZ6Xass9LZPIMAsG6375DEb8Gyq+CYYaQCt+MC0TFb1Bpttk3VQf0HOdJpi/Ydu8GwnSDAAseftbr6M1O3pMKmNjOXJATpQSx2PwSueTqdvhPghhvP3E07CvmsY/ZvrQhBxqqHyXe9yTdodDuAcIeSTs06H+xV8MHfBwkcSeOCDx/8jQ+Oq4OWfC5DOc0OHoLu81T5QpB3IPH6dsSL8rAkQ2yN2ZnxqzwczyIQqV8nUKptM/qNhwoYQpAr0fLzjkRFDzqlte6u4yDwhSDT6GApgz1J34N5vE4D3m1b8PgJe46oj6ndtjeUdEKQ/WHGyRAuEjtd3jvtUJTnYyW458BFoK4WAT52Va0oIcjBePl5466mmfBSW3lD7hZeIcjhSGFfgtkEYRVMErzpADmssq1SVaAQxB1iOFZF5CqvpvLuags+FUzW8SLQqFAFQcAmBFFDFZdyeL4b19kEswY8sPt1YamGXgxTC0HUlYbZBDMJ7k28OIJQr5mfA5tvOHjDzCGzhgKOQhAFsHYlxUyytllxCAI7JV2PRie377iAhP8q7DlEFBAQgiiABePGXp8Qe6Tb71O3i/fddce96cQsA7/QuBWPUnD7jhluP/MZzCSlfJZwGYh45roSO0r8rqhbCHK4KpxfYccosLfv5SHCvcFjCgTkyGXwsCjtGPmFda+AmQxGlyBFs91xbaKCjTqsdY9du3Q4EDamEILsr3XYQWEZBWJg1jhMENcPAXv2SjaTdpw7ZOfSvm+M0b5Wp0utdo9aTEcU8NCCmQQXhdi4y5HvHg0KQa4EBLMFNt/4qFrMIg9mE/yS7ycTS96xBe9434IZBrMOQgcknO/x2/bhaEij4YgQwgFLJswQ4/1E/7JVr2r79rZpZTE/FfQG7QKhQRgRw0OwqSjYIUW358wYXgXLLRBFV5k4nD5ow45Yg5j1cPJltdg+g4AYWJ7g19lPQbnwB4xvnQR3IPCn6zbYJu5NcPBgLVFsJQiWKjjp8WPGOIgAOOHC/sTNPiZoIoEYOL3iCJZeIIp1T29tIwhuwCeXfJyBwsmDvULl/0SJ4gYeb+PxAMqP23PMJDh4sOZ42CaCgBiwp/K6ueWQBHlwMlattRyCBvmOfNI+LKdAjCA80ltjAWwDQfCrDfupMAalW/Jgb4I7i0a741w8+iXOUiibDmXfYMUbEtMJEvWs4Wbg45Bg7J2k55BYxb4Lx8TO/UVyfDyL5U+Ygnf0uGw0dhNvMkH88OQe5mCb1OV4MOkNqD+AJ5MhDQYDx4kDjmedT3LW+U6lkoH73HLbf7gkNdLOy0SCwCNOtd7UaknldqDFOZ2R7klNI8hwOCQEpoxqIx7nAe5H2zG74TjZGDGJIHCotlPV9wbbmEFzSEdgUrO6VDCju6YQRMih13iE4+6VxUL8H2eZQBAhh17kmLQGRphLpXzk72M8oRN3guCOA97Zo3LR6Ql8CzLjtK1UzDluVWMpcSYITMErVe8RW2OpuBg1Ojk7S6WCvmHqDoQyzgSBIaBu1rIxGrehNhWXmQgdHTuJK0FgUwXzEZH4IADbMNy6x0riSJCgA97ESoExa2zswirEjSDwuL5TaThPUUXih4ATEbiYI+xLYiFxI4jsO2IxrA5sZCadomIhG4+OxIkgsHZF6GaR+CMQm6VWXAiCFVW52oitT9z4D2l/e4D7Ebgb0t4NalwIIqdW/g5QHUqLhYl8HAiCW/LtSl1uy3UY1T63AZa/sADWVuJAEJk9tB0+nhuGF5BwKqGt6E4QmT20HTq+NAx7EMwiYfkwVm607gTBbTlmEBFzEdB6L6I7QRBeQMWJgbnDyNyeaW0WrzNB4OGjUhuHFRAxGwHsQ8L2yOIKUZ0JUqu3Hff+IuYjoK21r64EgdMFLK/kIZT55EAPx090i863VqIrQfDOA3ZXIvYggPcifvgP9hUxXQlSa7TZUZN8BUgKCw0BhKwr5DUzYtSVIDvVphYhA0IbHVKRcxeyvJDXCwldCbKxXRPnb3oNlVBas7qk2T5ER4LgUdT2Tj0UhUgleiGgXWhqHQkiG3S9Bm2YrdHuPkRHgohxYphDUq+6tNuo60gQeVar16ANszUI7YZlljaiI0HkBEub4RF6Q7TzDq8jQRA+OYpgl6GPBqlwCgHtjnp1JMhmuSYmJpaSZ2ZmhlYWNboL0ZEg61tVS4eHdFu72CJCEBmUuiFwZLmoT5OEIProQloyRkCr23QhiAxL3RBAZCq8MtRChCBaqEEasQuBpYW8NuGtSQgiY1M3BLSyx9KRIFvlOg2GQ930Ju0JCQGYvGvjBkhHgshNekgjUcNq8OQWm3RtREeC1BttarbFWYM2gyTEhoipiQuwxd2PC5AMTYIQbQjVpo3oOIMAHPjDAlFE7EFASwdyuhJEZhF7iDHpqZZBPnUlCECTiFL2kES7l4QT6HUmCNrY7fWdpRa+xUevWYRBlKm5dIpSqVlKp5J6di5BZ/4HkqhethYH9ecAAAAASUVORK5CYII="},"TX/N":function(e,t){},WYfi:function(e,t){},eWTs:function(e,t){},mCdY:function(e,t){},"n/2r":function(e,t){},obyr:function(e,t){},slUX:function(e,t){},xW93:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Gu7T"),o=n.n(i),a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{title:"查看服务到期时间",visible:e.visible,width:"600px"},on:{"update:visible":function(t){e.visible=t},close:e.onClose}},[n("el-table",{attrs:{data:e.list,"max-height":"700"}},[n("el-table-column",{attrs:{label:"服务",prop:"serviceName"}}),e._v(" "),n("el-table-column",{attrs:{label:"到期时间",prop:"expireDayStr"}})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"ExpireDialog",data:function(){return{}},props:{visible:!1,list:[]},methods:{onClose:function(){this.$emit("update:visible",!1)}}},a,!1,function(e){n("mCdY")},"data-v-4a925116",null).exports,r=n("Dd8w"),c=n.n(r),u=n("OMN4"),l=n.n(u);function d(e,t){return l()({method:"get",url:""+window.origin+e,data:{},params:t,headers:{"content-type":"application/x-www-form-urlencoded"}})}var h={name:"Notice",inject:["projectName"],components:{ExpireDialog:s},data:function(){return{showNotice:!1,expireTip:{show:!1,content:""},rechargeTip:{show:!1},showDialog:!1,otherExpireServices:[]}},created:function(){0!=sessionStorage.getItem("dmShowNotice")&&this.getAccountState()},methods:{getAccountState:function(){this.loadExpireData()},loadAccountStateInfo:function(){var e=this;d("api-marketing/account-state-info",{requestProject:"haoban-manage-web"}).then(function(t){var n=t.data||{},i=n.errorCode,o=n.result;0==i&&(e.rechargeTip.show=o.accountBlance<=0,e.rechargeTip.show&&e.updateNoticeShow())})},loadExpireData:function(){var e=this,t=JSON.parse(sessionStorage.getItem("userInfos")),n="好办",i=1;(function(e){e=e||{};var t=JSON.parse(sessionStorage.getItem("userInfos"));return d("/api-admin/enterprise_expirebar",c()({requestProject:"haoban-manage-web",serviceType:1,isSuperAdmin:t.superAdmin,enterpriseId:t.enterpriseId},e))})({serviceType:i}).then(function(o){var a=o.data||{},s=a.errorCode,r=a.result;if(0==s){var c=r.otherExpireServices,u=r.expireStatus,l=r.expireDayStr;c=c||[],1==u&&(e.expireTip.content=n+"将于 "+l+" 到期,到期后功能无法使用,请及时联系运营人员续费。",e.expireTip.show=!0),e.expireTip.showButton=c.length&&11==i,e.otherExpireServices=c||[],11!=i||t.superAdmin||(e.expireTip.show=!1),e.expireTip.show&&e.updateNoticeShow()}})},updateNoticeShow:function(){this.showNotice||(this.showNotice=!0,this.$emit("show"))},onClose:function(){sessionStorage.setItem("dmShowNotice",0),this.showNotice=!1,this.$emit("close")},toRecharge:function(){window.open(location.origin+"/marketing/#/recharge/do")}},watch:{showNotice:function(e){this.$emit("showNotice",e)}}},g={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.showNotice?n("el-alert",{staticClass:"notice-box",attrs:{type:"warning","show-icon":""},on:{close:e.onClose}},[n("div",{staticClass:"notice-content",attrs:{slot:"title"},slot:"title"},[e.expireTip.show?n("div",{staticClass:"expire-tip",style:{"max-width":e.rechargeTip.show?"calc(100% - 500px)":"100%"}},[e._v("\n "+e._s(e.expireTip.content)+"\n "),e.expireTip.showButton?n("el-button",{staticClass:"more-btn",attrs:{type:"text"},on:{click:function(t){e.showDialog=!0}}},[e._v("更多到期时间"),n("i",{staticClass:"iconfont-components3 icon-cp-right"})]):e._e()],1):e._e(),e._v(" "),e.expireTip.show&&e.rechargeTip.show?n("div",{staticClass:"separator"}):e._e(),e._v(" "),e.rechargeTip.show?n("div",{staticClass:"recharge-tip"},[e._v("\n 当前账户已欠费,为不影响正常的通讯业务,请及时充值。\n "),n("el-button",{staticClass:"rechange-btn",attrs:{type:"text"},on:{click:e.toRecharge}},[e._v("前往充值中心"),n("i",{staticClass:"iconfont-components3 icon-cp-right"})])],1):e._e()])]):e._e(),e._v(" "),n("expire-dialog",{attrs:{visible:e.showDialog,list:e.otherExpireServices},on:{"update:visible":function(t){e.showDialog=t}}})],1)},staticRenderFns:[]};var p=n("VU/8")(h,g,!1,function(e){n("4HzD")},"data-v-c5f737ce",null).exports,m=n("P9l9"),A=n("Ch4/"),f={name:"ChangeStore",components:{expiredDialog:n("Z8ln").a},data:function(){return{changeStore:{show:!1,loading:!1,storeId:""},storeList:[],activedStoreId:"",isExpired:!1}},computed:{getActiveStoreName:function(){var e=this,t=this.storeList.find(function(t){return t.enterpriseId==e.activedStoreId})||{};return t.brandName?t.brandName:""}},created:function(){this.getStoreList(),this.activedStoreId=JSON.parse(sessionStorage.getItem("userInfos")||"{}").enterpriseId},methods:{getStoreList:function(){var e=this;Object(m.b)("/haoban-manage3-web/wx-enterprise-list",{filteRight:1}).then(function(t){var n=t.data||{},i=n.errorCode,o=n.result;1==i?e.storeList=Array.isArray(o)?o:[]:A.a.errorMsg(t.data)})},onChangeStore:function(e){var t=this;"changeDefaultStore"!=e?e!=this.activedStoreId&&(this.$emit("changeStore",!0),Object(m.b)("/haoban-manage3-web/enterprise-is-over",{enterpriseId:e}).then(function(e){var n=e.data||{},i=n.errorCode,o=n.result;1==i?(t.isExpired=o,o||(sessionStorage.setItem("hbReloadPath",t.$route.path),setTimeout(function(){location.reload()},100))):A.a.errorMsg(e.data)}).finally(function(){return t.$emit("changeStore",!1)})):this.changeStore.show=!0},onSave:function(){var e=this;this.changeStore.loading=!0,Object(m.b)("/haoban-manage3-web/set-default-gicenterprise",{enterpriseId:this.changeStore.storeId}).then(function(t){1==(t.data||{}).errorCode?(e.getStoreList(),e.changeStore.show=!1,e.$message.succes("设置成功")):A.a.errorMsg(t.data)}).finally(function(){setTimeout(function(){e.changeStore.loading=!1},100)})}}},v={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.storeList.length>1?n("div",[n("el-dropdown",{on:{command:e.onChangeStore}},[n("span",{staticClass:"change-store-btn"},[e._v("\n "+e._s(e.getActiveStoreName)+"\n "),n("i",{staticClass:"iconfont-hb3 iconxiajiantou change-store-icon"})]),e._v(" "),n("el-dropdown-menu",{staticClass:"change-store-popper",attrs:{slot:"dropdown"},slot:"dropdown"},[n("div",{staticClass:"store-list"},e._l(e.storeList,function(t){return n("el-dropdown-item",{key:t.enterpriseId,class:["store-item",{actived:t.enterpriseId==e.activedStoreId}],attrs:{command:t.enterpriseId}},[n("div",[n("div",{staticClass:"store-name"},[e._v(e._s(t.brandName))]),e._v(" "),1==t.defaultFlag?n("div",{staticClass:"default-store-tag"},[e._v("默认商户")]):e._e()]),e._v(" "),t.enterpriseId==e.activedStoreId?n("i",{staticClass:"el-icon-check checked"}):e._e()])}),1),e._v(" "),n("el-dropdown-item",{staticClass:"change-default-store",attrs:{command:"changeDefaultStore"}},[n("div",{staticClass:"change-default-store-btn"},[e._v("更改默认商户")])])],1)],1),e._v(" "),n("el-dialog",{attrs:{visible:e.changeStore.show,"append-to-body":"",title:"更改默认商户",width:"600px"},on:{"update:visible":function(t){return e.$set(e.changeStore,"show",t)},closed:e.onClosed}},[n("div",{staticClass:"change-store-title"},[e._v("选择商户")]),e._v(" "),n("el-select",{staticClass:"change-store-selector",model:{value:e.changeStore.storeId,callback:function(t){e.$set(e.changeStore,"storeId",t)},expression:"changeStore.storeId"}},e._l(e.storeList,function(e){return n("el-option",{key:e.enterpriseId,attrs:{label:e.brandName,value:e.enterpriseId}})}),1),e._v(" "),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.changeStore.show=!1}}},[e._v("取消")]),e._v(" "),n("el-button",{attrs:{type:"primary",loading:e.changeStore.loading},on:{click:e.onSave}},[e._v("确定")])],1)],1),e._v(" "),n("expired-dialog",{attrs:{visible:e.isExpired},on:{"update:visible":function(t){e.isExpired=t}}})],1):e._e()},staticRenderFns:[]};var C={name:"UserInfo",data:function(){return{userInfo:{headImg:"",clerkName:""}}},created:function(){var e=JSON.parse(sessionStorage.getItem("userInfos")||"{}");this.userInfo.headImg=e.headImg,this.userInfo.clerkName=e.clerkName},methods:{handleCommand:function(e){switch(e){case"info":case"modify-password":break;case"logout":this.$confirm("确认退出吗?","提示",{type:"warning"}).then(this.logout)}},logout:function(){var e=this;this.$emit("showLoading",!0),Object(m.g)("/haoban-manage3-web/login-out",{}).then(function(t){if(1==(t.data||{}).errorCode){e.$message.success("退出成功");var n=JSON.parse(sessionStorage.getItem("userInfos")||"{}"),i="string"==typeof n.gicHost?n.gicHost.replace(/\/$/,""):"";window.location.href=i+"/gic-web/#/login?ishb=1"}else A.a.errorMsg(t.data)}).finally(function(){return e.$emit("showLoading",!1)})}}},I={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dropdown",{on:{command:e.handleCommand}},[i("span",{staticClass:"user-info"},[e.userInfo.headImg?i("img",{staticClass:"logo-img",attrs:{src:e.userInfo.headImg,alt:""}}):i("img",{staticClass:"logo-img",attrs:{src:n("GiPh"),alt:""}}),e._v(" "),i("span",{staticClass:"realname-box"},[i("span",{staticClass:"realname"},[e._v(e._s(e.userInfo.clerkName))]),e._v(" "),i("i",{staticClass:"el-icon-arrow-down user-info-arrow"})])]),e._v(" "),i("el-dropdown-menu",{staticClass:"user-info-menu",attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{attrs:{command:"logout"}},[e._v("退出登录")])],1)],1)},staticRenderFns:[]};var w={name:"main-menu",components:{ChangeStore:n("VU/8")(f,v,!1,function(e){n("73p6"),n("n/2r")},"data-v-3975d610",null).exports,UserInfo:n("VU/8")(C,I,!1,function(e){n("WYfi"),n("obyr")},"data-v-36b7416a",null).exports},provide:{projectName:"haoban-manage-web"},props:{menuList:{type:Array,default:function(){return[]}},activedCode:String},computed:{getMenuList:function(){return this.menuList.filter(function(e){return e.hasRight&&e.isShow})}},data:function(){return{applyCount:0}},created:function(){this.updateAplyCount()},methods:{toIndex:function(){this.$router.push("/index")},toPage:function(e){var t="";e.childList.some(function(e){return e.hasRight&&Array.isArray(e.childList)&&e.childList.some(function(e){return e.hasRight&&(t=e.menuUrl),e.hasRight}),t}),t&&this.$router.push("/"+t)},updateAplyCount:function(){var e=this;Object(m.b)("/haoban-manage3-web/audit/get-audit-count",{}).then(function(t){var n=t.data||{},i=n.errorCode,o=n.result;1==i?e.applyCount=o||0:A.a.errorMsg(t.data)})}}},b={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"main-menu-box"},[i("div",{staticClass:"main-menu"},[i("img",{staticClass:"main-menu-logo",attrs:{src:n("yoNH"),alt:""},on:{click:e.toIndex}}),e._v(" "),e._l(e.getMenuList,function(t){return i("div",{key:t.menuCode,class:["main-menu-item",{actived:e.activedCode==t.menuCode}],on:{click:function(n){return e.toPage(t)}}},[e._v("\n "+e._s(t.menuName)+"\n ")])})],2),e._v(" "),i("div",{staticClass:"main-info"},[i("change-store",{on:{showLoading:function(t){return e.$emit("showLoading",t)}}}),e._v(" "),i("div",{staticClass:"apply-info",on:{click:function(t){return e.$router.push("/unreview")}}},[e._v("\n 待审核 "),e.applyCount>0?i("span",[e._v("("+e._s(e.applyCount>99?"99+":e.applyCount)+")")]):e._e()]),e._v(" "),i("user-info",{on:{showLoading:function(t){return e.$emit("showLoading",t)}}})],1)])},staticRenderFns:[]};var S=n("VU/8")(w,b,!1,function(e){n("TX/N")},"data-v-072724c0",null).exports,B={name:"AsideMenu",props:{menuList:{type:Array,default:function(){return[]}},activedCode:String},computed:{getMenuList:function(){return this.menuList.filter(function(e){return e.hasRight&&e.isShow&&Array.isArray(e.childList)&&(e.childList=e.childList.filter(function(e){return e.hasRight&&e.isShow})),e.hasRight&&e.isShow}).filter(function(e){return Array.isArray(e.childList)&&e.childList.length>0})}},methods:{toPage:function(e){this.$router.push("/"+e.menuUrl)}}},E={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{staticClass:"aside-menu-box",attrs:{"default-openeds":e.menuList.map(function(e){return e.menuCode})}},e._l(e.getMenuList,function(t){return n("el-submenu",{key:t.menuCode,staticClass:"aside-menu-list",attrs:{index:t.menuCode}},[n("div",{staticClass:"aside-menu-list-title",attrs:{slot:"title"},slot:"title"},[n("i",{class:["menu-icon iconfont-hb3",t.iconUrl]}),e._v(" "),n("span",[e._v(e._s(t.menuName))])]),e._v(" "),e._l(t.childList,function(t){return n("el-menu-item",{key:t.menuCode,class:["aside-menu-title",{actived:e.activedCode==t.menuCode}],attrs:{index:t.menuCode},on:{click:function(n){return e.toPage(t)}}},[e._v("\n "+e._s(t.menuName)+"\n ")])})],2)}),1)},staticRenderFns:[]};var Q=n("VU/8")(B,E,!1,function(e){n("slUX"),n("eWTs")},"data-v-d2585094",null).exports,L={name:"BreadMenu",props:{menuList:{type:Array,default:function(){return[]}}},methods:{toPage:function(e){e!=this.menuList.length-1&&this.$router.go(-1)}}},x={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bread-menu"},e._l(e.menuList,function(t,i){return n("span",{key:t.menuCode,staticClass:"bread-menu-item"},[i>0?n("i",{staticClass:"bread-menu-icon iconfont-hb3 iconnavigate_next"}):e._e(),e._v(" "),n("span",{class:["bread-menu-text",i==e.menuList.length-1?"bread-menu-actived":"is-link"],on:{click:function(t){return e.toPage(i)}}},[e._v(e._s(t.menuName))])])}),0)},staticRenderFns:[]};var y={layoutVm:{}},D={name:"DmHbLayout",components:{Notice:p,MainMenu:S,AsideMenu:Q,BreadMenu:n("VU/8")(L,x,!1,function(e){n("491z")},"data-v-95a80ec8",null).exports},provide:function(){return y},props:{menuList:{type:Array,default:function(){return[]}},pageRight:{type:Array,default:function(){return[]}}},data:function(){return{keepAlive:[],isShowNotice:!1,showAside:!0,pagePaddingBottom:null,enterpriseId:"",flatMenuList:[],asideMenu:[],activedMenu:[],fullLoading:{visible:!1,timer:null}}},watch:{menuList:{immediate:!0,handler:function(e){this.flatMenuList=this.getFlatMenuList(e),this.activedMenu=this.getActivedMenu(this.getMenuByPath(this.$route.path.slice(1)))}}},created:function(){var e=this;this.setKeepAlive(this.$route,{}),this.$router.beforeEach(function(t,n,i){e.activedMenu=e.getActivedMenu(e.getMenuByPath(t.path.slice(1))),e.setKeepAlive(t,n),i()}),y.layoutVm=this,this.enterpriseId=JSON.parse(sessionStorage.getItem("userInfos")||"{}").enterpriseId,this.$on("command",this.onCommand),this.getEnterpriseSecret()},methods:{getEnterpriseSecret:function(){var e=this;"/enterpriseSet"!=this.$route.path&&Object(m.b)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(t){var n=t.data||{},i=n.errorCode,o=n.result;1==i?o||e.$confirm("提示","请先完成商户初始化设置后,再进行其他操作",{type:"warning",cancelButtonText:"忽略",confirmButtonText:"去完成"}).then(function(){e.$router.push("/enterpriseSet")}):A.a.errorMsg(t.data)})},getFlatMenuList:function(e){var t=this;return e.reduce(function(e,n){return Array.isArray(n.childList)&&(e=e.concat(t.getFlatMenuList(n.childList))),e.push(n),e},[])},getActivedMenu:function(e){if(!e.menuCode)return[];var t=[e],n=this.flatMenuList.find(function(t){return t.menuCode==e.parentCode})||{};return n.menuCode&&(t=[].concat(o()(this.getActivedMenu(n)),o()(t))),t},getMenuByPath:function(e){return this.pageRight.find(function(t){return t.regexp.test("/"+e)})||{}},setKeepAlive:function(e,t){var n=this;Array.isArray(e.meta.fromPath)&&(e.meta.fromPath.some(function(e){for(var n=e,i=/(:.*)(\/?)/;i.test(n);)n=n.replace(i,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");for(i=/(\/\*)(\/?)/;i.test(n);)n=n.replace(i,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");return new RegExp("^"+n+"$").test(t.path)})||(this.keepAlive=this.keepAlive.filter(function(t){return t!=e.meta.componentName})),setTimeout(function(){n.keepAlive.every(function(t){return t!=e.meta.componentName})&&n.keepAlive.push(e.meta.componentName)},100))},onShowLoading:function(e){var t=this;e?(this.fullLoading.visible=!0,this.timer&&(clearTimeout(this.fullLoading.timer),this.fullLoading.timer=null)):this.fullLoading.timer=setTimeout(function(){t.fullLoading.visible=!1},500)},onCommand:function(e){var t=this,n={updateApplyCount:function(){return t.$refs.mainMenu.updateAplyCount()},showAside:function(){return t.showAside=!0},hideAside:function(){return t.showAside=!1}};"function"==typeof n[e]&&n[e]()}}},N={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("notice",{on:{showNotice:function(t){return e.isShowNotice=t}}}),e._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.fullLoading.visible,expression:"fullLoading.visible"}],staticClass:"hb-layout",style:{height:e.isShowNotice?"calc(100vh - 42px)":"100vh"}},[n("main-menu",{ref:"mainMenu",attrs:{"menu-list":e.menuList,"actived-code":e.activedMenu.length>0?e.activedMenu[0].menuCode:""},on:{showLoading:e.onShowLoading}}),e._v(" "),n("aside-menu",{directives:[{name:"show",rawName:"v-show",value:e.showAside,expression:"showAside"}],attrs:{"menu-list":e.activedMenu.length>0?e.activedMenu[0].childList:[],"actived-code":e.activedMenu.length>2?e.activedMenu[2].menuCode:""}}),e._v(" "),n("div",{staticClass:"hb-layout-content",style:{width:e.showAside?"calc(100% - 206px)":"100%"}},[e.activedMenu.length>3?n("bread-menu",{attrs:{"menu-list":e.activedMenu.slice(2)}}):e._e(),e._v(" "),n("div",{staticClass:"hb-layout-pager",style:{height:e.activedMenu.length>3?"calc(100% - 30px)":"100%","padding-bottom":e.pagePaddingBottom},attrs:{id:"hb-layout-pager-one"}},[n("keep-alive",{attrs:{include:e.keepAlive}},[n("router-view",{key:e.$route.path,attrs:{"brand-id":e.enterpriseId}})],1)],1)],1)],1)],1)},staticRenderFns:[]};var T=n("VU/8")(D,N,!1,function(e){n("G7CC")},"data-v-04dd1880",null);t.default=T.exports},yoNH:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAA4CAYAAAAxUiDuAAAbJklEQVR4Xu1dC5QcVZn+7qOq393zyIRkIJAXRAiQhAAighsIgUUWlocDIVFEVNBVURB3dVlxsqAbISEQZQVRwSgsmlVWUXn4ICsqq4JAIKKLCEJC3pnJPLq7qu5jz1/dPamp9Mx0MqN4zs5/zgBdde+t+/jqv9//uAXDGMiZq23eN5jKfH0opD7UajEbzBwAMAXoV7lIrIfRLyklXpzg4JW1V7PSGDx2vIkxnAG2f21ZdvYKtPYLfxFj7lth9JvB0M6ESDAGWA1YawFmwcDBOGCNhbVB0TL2vAH7kTby28UMnnryChbsXx/Ga43lDOwbEKxlZyz3ZgQp8R5wvhiMH0KLbDT9+bBKgRkLAgPnAlwSDAgIDIxV/iA4LKPyplcx+6hv1J1bTOKHf7iSeWM5sPG29m0GGgbCacttwSbVh43gHzAOn2gVvfU6XHzj+5CWQUgHQsoQBNQwrXv4gPDHnv/mdI3+IQFt0BcY+4hietW6K5yf7Vv3x0uP1QyMDIROy8/IB8eWXL6KOeJErW2oAkjV61IZQlm4yRSEcMItALQjVBd9RCAQHqisAJQ1W33w2/pYz22Pv6ewa6wGON5OYzMwLBDmX/6EUzh87tsCl99qHdZmAhWusg4C2N4yUjIBmUiFCx+++JF/RzUCbQU1xUCaIVz8UC1UlQVdE6GGKPrKPuJxdu2PL2O/bWwI46XGYgaGBMIRndadVAiu8JNihRbcpS2AVlB5HvhuD+lkDsKRewFgYHVtpXtCAAkJSAcQDCCFogxAzRlLXKIKDNIOHGAOlNb2SR/smofezca3irFY5QbaGBIIC1f5H/AT4lZfMmGJDTIG5XsQuzxk0gVwUXmlQ/Vfa8UiJILpJNCWAyakgQwMnMCHDXQFAaQOkg6UK9ELga4S0NUP+EHlFmkGzmE0xzNegKsfei9b18A4xouMcgbqAuGMm9RZXop9qz/JEiEIQG+yBtvah3yyCUyIvbYBAkA+DbTnLPKlMoJXu9Hzcg+KO8oI+g20Im5BKgAQLoebk0i3p5Gb0QRnSg67mYttPYBPiofKcBjF8Os+iyU/voz9cZTjHK8+wgzsBYSFK8uHgcuf9uXFAYpMAwCGVPqOXjTpNEQiMWg7oD3fEUB7waKppw+9T29Bz0u90GVAhhYEkUgOVjMbSGvAkPkIoxUMU5DNDpqPbEby8DZ0OQl091Y4BOPwlcCNuwRu/tlS1jW+mn++GRgEBOIFB2aCB8sF59Q+qcgfBEtbQrmM9HaFdLaA0E9U3Q6IBiQc4KBEADy3GT3rd4IbCSeRAefEHxgsNKw14eIPSJU/0G9qz5oAKvAgWh0UjpsIM70VO0s8VCCQeLGkcf1DWXwdF7KKehqXMZ+BQUA4fYX/D9Z1btuVUdBEAcjxQxphay9abR5MErWvcgLSBBKYzDyYn7+CYHMAmXSNtWa7AV62CLqstcYa28xhD4EV7UK4ISB4zWYkFFQbJLCYIIDiAdKHN0HOb0cPc8LnK2YfKDPW+fA72G/GeAY2ApgYafOTAD47zDOOBZAfRR+2A3h2FPWp6r0A3hZrYzWAa0bT7gAQTr/JTrRQT3lp0d6d1aE2ICT4JkB6o4dcqlD1CFWAQKSuxXhI/GIT/K2920Uy+R3O9LeLGfXk/fffvwPorKqATn7e6edNEFodD8OXcLBzORMpCLIkXHAmKm8+/TELowyM8SAOTsM5cQr6HReBRZeCWd5n+ep172Ll0Qw4UjcJIB7zWALgP4Zp/1cAjhvF898P4PZR1KeqDwD4u1gbywF8YjTtDgDhtJXBtVLKG3alFEopNrAt+MUiWrdxuKn0nucIIGcNsk9sVPrVnf/FEs513/jRUc+P1JH5859wZrS6Z0GzTzCL42EVnCT5IlxYw6GNCbmE1RpK++BT0sCbD0YgBTTDD/pNsOzhd7q0GGMhswE8F2vojQCGa380QNgN4EAA/aPs/H8DeEusjesAXD+adkMgvPmzNpcSwdOQcvqOJgNNO4AFtGDQO3sxsS8N4TgDrmLJLJpe2O7JZzcu3yJ7bli37pQKq2xILDvnnPWHpcpyGbS+CFpBJiVSuRSMkfB9E2ocqw2U8SHeOAl6RjN8zbb6wPWpNG5fOzZc4TwA3451uQXAcKR0NEC4FcBHhpiiCQBOa2j6gH8DMDVW9usAvj9M/SKA7w7XfgiEhSu8c6Vw7veYxo7WWlAAUIKBb+nFhHIOXBKNr8QIcj2Bl/nF88vve2ROZ4Od36vY+QvXT3ek+AxT9iKtAyRSEvkJaXgeh+dT1BIwSkM3cbB5E6EmZqGAuzyOZT9Yyv60n89dCGBZte5kANMj7dDm9Ith2j0DwN0Ajmrg2YcAoK2nJtT2LAAvDFH3RAA/b6Dd/S2yCcBBIwJh0Qr/LuE4l/YKhV0t9DpW1twXgLupD21BHozcgpxIvFXZ51+73/nSLy5eiwtHw+JZx6INc4Q2d4Cx441RSOccNE/KYne3QRBU+qCCMvT0AtjcNqiEfLxs0fm9t7NH9nNGFo/AAYZqlkLlboPPJBD8b6z8QwDOHKb+6w+EN91sUxkTPM2ZPKw3rdFdqPADWgRPEhD60ebnqkCwcPuCjRN+/dtT7/3evLroPn2NzXgZHL/d6mklB75JiN/+6X+wHp2UpDJYzp7/RDrblDjfwt4BbdNkcbZMSsPNp7B9m6pohUBBJxnMvFbogwqbA41l37kEd4KxiD3a4BIB+wuE16r7eyMPIjW9NFZwEYAf/VUD4bTPeodDsKc5mLs7B/TkKkAgCRwGubkfE0tZMElhZus724urH/p09mPxQc1c/ULigMzMUws5u8x37HHbBEefBErclgOJHyrLPtW9iD0Vr9dxyjOzhJArGfhZ2vjI5AQmzyhg506gWCTyCCjfh56Wg549wfcdcUsxjc/86EJG5GtfZX+B8DSAeQ087BQAP4mVuw/AxSPUff01wqKV6hwmxHdsEKAnzwYBgTgCuoqY1J0Gd8IYc3fCKy18+NrMIHt+5mqbmCz1mUiwu2e280KvNng5sOhmDP0JBi/NTMDxgnawtHgCezI6KecueKrJSSTeyZVZZWAYcdL2aTmIVAKvbQrAGQv9C0FOQh/VCjM581VfYdkDl7CXGliYeJEcgHYAxA8ejd18B4BfV68dESOStBURRxhOyKx6BsDMSCEinocD2NpAXytOmuFlPoBf1ilCJLener21zvNG5giLVgQf5a5cYbwgBEFvfo9GMJzBL3lo3yIhkw65B58us40nPX71lEH298JVdrongweQcY44rE0jlwWe6QO2WoYe0goOg59hvjL2J+WAnYdT9vgCOjqswK6nT+Vc3gPL2hizaJ2UwKTpebz4YhDmPZD7UVkNNasJ+tDm7/oCnd+9eG/tMtIsRu4TQ/9hrHwbgB3Va+RPuCdyn9Q9AWU4+TyAD8QKvAfAl/ehXyMVrWfpkDmajVQkINTGUbtcA8IXAZwUKUtOqB/Qb7ZohX83k847SSP0Zxh2VzlCWJgBJabR9qpByk0qa/DAuo+y86O9XdBppcjrpUFC3O1LhUIOOGEqx/P9Fi8GDNsZUJQMZRdQKbZNc5wTHMsGobpj0Ya5ArhbMDZHG41cs4tpR+bxykaNUqmS+qZ9BTUlh/Ksll+Vc6zzwcXswZFmbZj7HwZwS+Q+vbGTIr8/E3PQ3ACAvI5DyQUA/jN2k6Kmp1ZdZfvSVbI2Ik4bECGvbYNXAiAzNCrE1Q5rEAh3AiBw1uSfUTFHwRau8B/hwlkEFcBLMnQ3V6yGSo4ZUHYsMpt9NNt0YCzWrLuaRRvCmattwjfqepOQH+tnCsoFprUxTGkBnisy/EkDuyVDyQH8POu2Hj7kn8DoDRuQi8/YMNsCtwuIk5QOkMlJTJ9TwM5uhl07dZjBZHwN1ZJEaVZhc6kt0fnQYkbo3l/5EoB3RyoTkSNCVxOyuc+O/L4QwNphHkZbZZRDUP7l0VXrYV/7uCrmb4j2bQWAj8YaJAfTggaBQAv/6UhZmof3DgKC1QG0BLpbKv4CijiSkFPJlDxM7EoFjGHNo3WA4JlguU04HykyBd8FPJdhUhOQzzBs1MBWzrBbAF6OdRsPVwVvYmSPD8gFZ2yY7YB9QUCerLSHVEZi+tF59PsSW7aoSha0MtAZif7D8rvK7WnSCJ/b1xmOlCeNdHzkN03+1ZHfFPaeFvlNPgAyCYcSIpNzYvVn7Gf/flzVJLXqUUfUNwAQKKMSJ6PDbQ3xLW8AZOy0lf5XuXAuMSoIk0p6WjhUJXAYKga6FgiDwhZHpRS++5NrGKnBAZl/h3Xy/cEHbcq5uVQFgu9UtgKRZOBJoOgw7JaAl2E7VICl6oTBfoCLznhuDmPiK8KKY7SpAGHq7Bw87mLTxiDMT6CAhEo66J2Wfbl4SLrzkYvYV/dzoomUEbGKqt9LAdTao/2W7tfc7+SVI5JJjqQpQzyTgj5R4GypvWl1ypP2IHN0KKHAFHkaa3IFgJr2I4fXm2IVb45pieGAELdOfg/gDdQeO21lcI1w5E2aUoTIEV5g4RZBQiAgMBgJ8CIzhR32ie1Txcm/vZD5ezpj2amrgnnKFQ/7Dp9QlgqBZFCORSnB4SWAwGXwk8wEAuu9AhZiNoskp1q+5K3Pn2QMv1dYHEgcIZXhmHpkAR6X2LRJVYBgLUwygb4DM4/1zkh2PnIhi5tpjeKCLIINscKkxmtRwbfG3LVkSZD2+AqAdzX6kGHKkSlJb3E9IYuGiF1UiNzVvI6v1vEQEuFbGakwHBAIyK9EyhLIMyEQFq5Q5wop7jc6CBfdTzKU8pRHUJEQDETWBJDeZrY1wznxwSvZi9GeLrjNZjVTVwYJ+eky1wiEhRIWvstQSnP4CY4gjZ2B0R8unySjbBwdHRuyKLoXSa1uh4WkgzHprMC0OXn0KYEtW3Qll5FyHdMuSgekvrV7VqrzkfNZPGDU6Bq9HcDXIoWJdRdoF6xei/OHf69aA38JIFBUkaKLNaFlaK6SRSKR1Ndq2u9AmYsAfLNBIJCup+ht1FQl7bOTLbzJO5ox/qTlkJayBQRQLHBY2perIAg5A1U1vJzdaq9+7Crxhfisz7/DFjhXncqVHwmgEJC5l2DoLzjwU6zbAp/sOoWRiTVIOs5+eRrnwQ2Oz5fQtkAjz+Ulps3NY0evQFe3rqTFWSDISNPf6tyxfVb++scuYJsbXflYuXqEi3wE5CugUZJaj6rmv68GbP4SQKA4CEUSa/IHAIdWfxAHIS4Sl2MARB11w2kEqks5GBQFrclc8n8wijwmHP85COdgU01NC1KMTL2QMNa2BwKDdrkRfcGzue7ignVXNXfHezR3VVeTac5+yjL+EUVOoCTQPzHRray5bvsZYi9yd0THBvcNIrPI7fPXCGVbKllMDIUJDg6em8crm2wYgCJhjMNLi+7+VvmZZ4/Krf7DW/f7ZBTlEzweeytIXR4JgBw2UUcT7Zc0sb0AbgLQMQT4SKU7kXvkTo+r+NrtD8Xe+miTZNNHYxJEDskbShInerV6lChD/avJSECgsZ8QKU9a6PshGThllfct7rrnK1XhCUYwqCwLtUCNMA4AIsV9VtS3PPF255/qTcrUVV1N2XxmGRSu9NK8u9QiPrXxLEZkai+54IIXD5UaN7oBO1drP+QBFOVsOziB5ml5vPzqnmORXDgoZeWz3a2y8/tXpePh4yHWZ8jLRLCuit0lbUXDpYWqSdw0G6rBsbIatgEgx1ZNaI5vrP4gs4/Mv6iQ9iIvaVRGAgKZwdEMpzBZpgoE/zKWcL6sQ8uBVdLTkoBJVLhCdIuwnME66DO+vfSpJfJb9WbmqH/rbjau+rjOutt+d0U+SmQGip999u8nZKVzBQ/sMqtVCDniBxSObj88iyDhYscuHaa4k1gp0Z+Ra1+bnOh87H2J0R5+IYJEHCMa16dhk7XQFBkTZf1Q9s9IMhZAoL7E3ebkASVzkuS/ANA2FZXH6iSpjAQEMkfJMVWT0FkWTvPJq+xkLtSzlvNWA/IkVxc/xWBl5TWp+RbCU0sOp3TU13igz39i6b5nDC0984W8lWwxM+xGWFOgfMXwEQzItSUwYVYO27oMdJW+0UFaJdnuYgLLf3lq8y0vR1zUI63QMPdPB/DwMPdp2BQ3aCSVfiyAECexNHoiijW1Tx7EaByDuk68JeoYo2sjAeHjNW9idex3AbhsIFXtLZ/z72AJ53LlqwENQIQxTK8gLVBNa69oBwu4koIAz1sdvO03ixMjpqnVJvycc36Xa9JOhwW7yQIt1lbVvwVkkmPCzAxsNondvZXIIwmlxGvJHytLb9k9/zqh9oaMAgMDVSk/sbYHx9trdFugemMBhDsAXB7pBBFAIoIkQ1kM9TTWSEC4JOIzobbDgNoAEN78eW82uPiVZSwdpp/XLAYCg8v2WBGRrYIlhIGx62HY255cPNikrLdKHR0bXIHcEunrFVC21VLOUVXoyHxmoovC9By6eivbREURhRZMyeO4pZzHZ9d+vGV/ws9DgYbiC7+rmo/xMuQzGOQBHQZ5YwEEeplC505ViLPU+AqROyJ5calZNNHrIwGBXOnRxB7aIo8alM5+4m3BrSwpr6QAT2g+RhbdEieuprgTj6h5HhGCQf/KN+Z9Gxa7FIatK2QhHOWmFogi/7rQto0ykqLiZiQKM7OhEykI9uSccOFCc/ZoEaVl/3F9G72lYy1ElshXEBWytcmEbDTRdLRAIIJIRDEqpKnIaiAh93c9rkUOIjIH9wUIZB1FU+p30lgHAeHk1bYtcPXjkGIGnUIKP2hR9SfQkyxROvrgBX0cg2qS1iBnT0p02bK5dv3ivf0LVI9OVc/om3SSU9JrhDYHRUFAL75MCGSmpiAKSZS8Sr4iCZmMlvFtvgmWb5vU8u8P/nk+pnEygJ/WQVfNt9AI8EirUDyiJgOu20YqV83SqFOIqpFJWvOVUGRzkGu/CpwD6rQ/kkaIg47e96ovOdLaG28vL2LSeUADifDQSdWPFfoUqlwh5A7VrYMlhW8Ds+Jwwa+rl128YIGVLRNfOjEV8DVS80MoC6kmpP6F5EgelIZ7QBIe0YWBU1DhcSqrmf1K0bc33Le8+eUGJ3VfitFInhgi+4gsE3LiNJKhTT4DWriarI8FoUbqExE2incMVZ9iE3EzkYju39ZpmDQZxSuiEk1MoTHTTEc9lAfXPQQ7/4v+h7jjrDb0RRTy8UdBUHMy0TqlRGA9fZ91xHsGxx8qfViw4FHZNvnQ4xIl8zVh2QytKTpbjWPQeVgJJChH8cAUFH13KdJ1zkkbyD/2B+VL7rm+5c+V4UvkjEjaUEJ5C3V9ILEKZHZSYKomtfjESACg+zQh9OZH327yHdT8NPXMSqpHeQRxvwJdj6t+ukYhgajFEfdXHF8XCFTzmK8ENzApr9WaiCM5n/f4E0gzsCRXxtff84145x/ezmppUgMDD0HQNvOYZGDWcCtmkft4QCg51mFwD0jBaU9XTkXWjr+FW4IA484mT5VuvOtTTZ8jzdDIjO5jGTLNKLQcdSfHm6BUM3Lx0j46lFA78S+8xPMbhusaeTNJK0WFElpqHs6hPIrkFKrnxyECST6HqMSBSUE3Cr7V5OwhgUDJqOns9Ku5yzqtZG74pTQqLenLOdaHsV/2LP94PRBQ+hnnf5rj+vxr3IgjjI2BQDA4k5OQB6aj6x92itFHuJjzWjkorrjLNt2Kzv3KVm4EE+Ty/mCsIAEjmu1Dt2+rUy5aLc7C6R5ZG41GKkkTRPkF1ScLoeZWjW8btWdTvKBeOJs8puQ5jUp8G6Gkm+iZz3VDAiFs5ZtWHF1WfwPOL7HAkYb2Cc6eATP3blji1A0Dd3R8U3B+4pFuYNcII47Whgj4nsfQF9bEpARcOs7GWOV0dZUa0DlIcLlZBd7K3etzt6xd+2c7/UxEkFLdouOnAA/FIcgCoLMJNaEFobeH7teTf62TxkbBo/0+/BN5CO3jlEYX11qhyTdEf+L+CCo2Ys7l8ECIPslahmVgw72hBALXfcsRvKS+KiyfN2g7qJxxhZiUhDs1E/nMSuUhVU2wJfBKt3TPyq0Yo2Nt9eaKSBctdvSNoK2H1DHlGdKZhEGpdFUzrp7jiYxqOnUVJ3Jn1ZJCG1FNw5ShXARyI8clnoxSu0/ZzESqo3yF7r1vBC406I0YVZ9pOwgKr8zN9Lh3OQGOGgyCShKkaHaRmJUDZPW8ffWJZCYK6W4tF0ufn6KyyzvrHIYZVef2VKY3jPZvOn8QFToKT65XEipDdnZ0D6UBkLYYlIpfzS2kNLeokAokR9VYOL4o4lnvuDtFKOn0VFzqBaaoDB3tGzb9v3GNMOxKdPLz3vuBmZle/z4nEPM0fS6lJrUPaxRcJN+QozjFYGLIOThPbPf84u0HlbI3dHZGs5/GaPn3NEMZ2PHDOZT1Q4QsaibSHhpn5ETeotdobyeHT+UTMnuEXOD/MkY9XxPJR6g1SdyaglHxI/10JO97dbQBbS3njtSfMQFCR8erLY7gK5PKvVQpyn6qSggCC5ZzkTwiByQpHXmPAUCagEt3py57d5aLqWV3d47Ztw9GGvf4/dgMjB4InZZf/OLWBbKkvs+1TVYMzT0fvuBZB8nZOSBF5kYEBJzTRzp3+WXvrgxPfXLV+Ie6X1dwjhoIZ575QqK5OXNdMnD/WUe0QWj5ZwSSRxbAcqQJ9oyTPq7FudMVBP6aXV09/7K2c2Lf6zoL4w8fPVns6Hg15brOlxO+uDjKDegYvXtELjQVB9JCQaeWOJhwduvAv8ex/Z/43JWtezmjxtflLz8Do9YICy59Kdlu0jcny/L9FY0QfkgPvM1FYk7su1Pht5ecXqP0N3bvLv7jvZ9oGv9k3l9+zes+cfRAWPConDhtTkeq6N8bBgzorecM7uFZyCmpyjd3qyJd1w/84L6y711z15W5eGDkr2RK/n92Y9RAoGlbvPiVdsmdNUmdWKhUCczlSBxTAG92KgSR/jcNUgZa6Z/68JZ+6b3ZRo6J//9ckddp1GMCBHImpZ3Nc7kS93CIWcYNkDyuuUISKd9AyEAp9bjS6h1fvCIVPWnzOg17/LHxGRgTIFCjFG2ceuDRxyLQX5dJZ4ZzbAo8LyGFUErpXxqrLvnCZclGEkHHV+l1mIExA0IFDFYe0r75RM7dr6XmNR0s24Uygf2NV/bfceflyeFOE78OQx9/ZHQGxhQI1PDl861TnLdtQXZK7m4+M7kjCIIld16aiB86HV+Fv7IZGHMghJqh86XkVDHpBNMuvTXvdupl3/6VTcN4d/4Pgv3uh0Sgx/8AAAAASUVORK5CYII="}});
\ No newline at end of file
webpackJsonp([60],{Wj0m:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("Ggl+"),s=a("LRn8"),l=a("P9l9"),r=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"TaskRecord",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,showDialog:!1,activeId:"1",conditionObj:{tableType:"1",storeGroup:[],storeType:"",dateRange:this.$store.state.salesDate},selectRadio:2,loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1,tableRefresh:!1,pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()-864e5}}}},computed:{},methods:{checkGroupIds:function(e){this.conditionObj.storeGroup=e,this.currentPage=1,this.getTableList()},handleCommand:function(e){var t=this;this.selectRadio=e,console.log(this.selectRadio),this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},toInput:Object(r.a)(function(e,t){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e?this.$store.dispatch("changeSales",e):this.$store.dispatch("changeSales",[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},delDepart:function(e,t){t.splice(e,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a=[];t.conditionObj.storeGroup.forEach(function(e){a.push(e.storeGroupId)});var o={search:t.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.storeId}).join(","),storeType:t.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,delTaskStatus:e.delOptFlag,reason:e.reason,isAll:t.selectRadio};Object(l.g)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",o).then(function(e){var a=e.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},exportExcel:function(){var e=this;e.loadingBtn=!0;var t=[];e.conditionObj.storeGroup.forEach(function(e){t.push(e.storeGroupId)});var a={search:e.conditionObj.searchInput||"",storeGroupIds:t.join(",")||"",storeIds:1==e.selectRadio?"":e.multipleSelection.map(function(e){return e.storeId}).join(","),storeType:e.conditionObj.storeType||"",startDate:this.conditionObj.dateRange?this.conditionObj.dateRange[0]:"",endDate:this.conditionObj.dateRange?this.conditionObj.dateRange[1]:"",enterpriseId:e.activeBrand,selectType:2==e.selectRadio&&e.multipleSelection.length?0:this.selectRadio};Object(l.c)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(t){if(e.loadingBtn=!1,!t.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([t.data],{type:"application/vnd.ms-excel"}),o=(e.tableData[0]?e.tableData[0].storeName:"")+"门店任务报表.xls",n=document.createElement("a");n.download=o,n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList(this.selectRadio)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.selectRadio)},showDialogLayer:function(e,t){this.selectType=e,this.changed=e,this.defaultStoreList=t,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(e,t){this.$router.push("taskDetail?storeId="+t.storeId)},getTableList:function(e){var t=this;console.log(this.selectRadio);var a=this;a.loading=!0;var o=[];a.conditionObj.storeGroup.forEach(function(e){o.push(e.storeGroupId)});var n={search:a.conditionObj.searchInput||"",storeGroupIds:o.join(",")||"",storeType:a.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",pageNum:a.currentPage,pageSize:a.pageSize,enterpriseId:a.activeBrand};Object(l.b)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(o){var n=o.data;a.loading=!1,1==n.errorCode&&(a.tableData=n.result.list||[],a.total=n.result.pageInfo?n.result.pageInfo.total:0,1==e?t.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):t.selectRadio=2),d.a.errorMsg(n)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},activated:function(){var e=this;e.activeBrand=e.brandId,this.brandId&&e.$nextTick(function(){e.getTableList()})},mounted:function(){var e=this;e.activeBrand=e.brandId,this.brandId&&e.$nextTick(function(){e.getTableList()})},components:{gicSelectGroup:i.a,multipleDel:s.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[e._m(0),e._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left flex flex-align-center"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),a("gic-select-group",{staticClass:"m-l-10",staticStyle:{"min-width":"213px !important"},attrs:{brandId:e.brandId,width:213,selectData:e.conditionObj.storeGroup},on:{checkGroupIds:e.checkGroupIds}}),e._v(" "),a("span",{staticClass:"m-l-10",staticStyle:{"font-size":"14px"}},[e._v("任务创建时间:")]),e._v(" "),a("el-date-picker",{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.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.multipleDelTaskRecord)?a("el-button",{attrs:{"limit-code":e.$buttonCode.multipleDelTaskRecord,type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]):e._e(),e._v(" "),e.$getButtonLimit(e.$buttonCode.exportTaskRecord)?a("el-button",{attrs:{"limit-code":e.$buttonCode.exportTaskRecord,type:"primary",loading:e.loadingBtn},on:{click:e.exportExcel}},[e._v("导出")]):e._e()],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(t){return[e._v(e._s(" "))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.storeName))]),e._v(" "),a("p",{staticStyle:{color:"#909399"}},[e._v(e._s(t.row.storeCode))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"storeGroupName",label:"门店分组"}}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.completedCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.completedRate))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.noCompletedCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中/逾期失效","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.overdueCount+" / "+t.row.invalidCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"删除状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return["-"!=t.row.delStatusDesc?a("span",{staticClass:"state-point state-point-error"},[e._v(e._s(t.row.delStatusDesc))]):a("span",[e._v(e._s(t.row.delStatusDesc))])]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.checkTaskRecord)?a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.checkTaskRecord)?a("el-button",{attrs:{"limit-code":e.$buttonCode.checkTaskRecord,type:"text"},on:{click:function(a){return e.toDetail(t.$index,t.row)}}},[e._v("查看详情")]):e._e()]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1,showTip:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"m-b-20"},[t("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[t("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),t("div",{staticClass:"el-alert__content"},[t("span",{staticClass:"el-alert__title"},[this._v("\n 1.此处仅统计近一年内的数据"),t("br"),this._v("\n 2.门店下具体某条话务任务的完成状态每天更新一次;下方列表中任务完成数据统计也为每天统计更新一次,非实时刷新。\n ")])])])])}]};var h=a("VU/8")(u,p,!1,function(e){a("mwxF")},"data-v-d990e3fe",null);t.default=h.exports},mwxF:function(e,t){}});
\ No newline at end of file
webpackJsonp([61],{"Jhz/":function(t,a){},NUSj:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),s=e("Qie6"),o=e("Z8ln"),r=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"订单评价",path:"/evaluate-set"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"订单评价",path:"/evaluate-set"}],tabListData:[{tabId:"1",tabName:"订单评价设置",icon:"iconshangpinshezhi"},{tabId:"2",tabName:"不良评价回访设置",icon:"icondingdan_pingjia"}],navName:{1:"订单评价设置",2:"不良评价回访设置"},activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?r.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("evaluate-set");break;case"2":this.changeRoute("bad-evaluate")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath.push({name:a.navName[t],path:""})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:s.a,expiredDialog:o.a}},v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var l=e("VU/8")(h,v,!1,function(t){e("Jhz/")},"data-v-d3ab38e0",null);a.default=l.exports}});
\ No newline at end of file
webpackJsonp([61],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.g)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.b)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo?a.result.pageInfo.total:0,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){return t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont-hb3 icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("nrKD")},"data-v-88dcea24",null);e.default=g.exports},nrKD:function(t,e){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/61.ee83351e47e4638289a3.js
webpackJsonp([61],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.g)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.b)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo?a.result.pageInfo.total:0,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){return t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont-hb3 icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("nrKD")},"data-v-88dcea24",null);e.default=g.exports},nrKD:function(t,e){}});
=======
webpackJsonp([98],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.g)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.b)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo?a.result.pageInfo.total:0,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){return t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont-hb3 icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("XGRz")},"data-v-4918241e",null);e.default=g.exports},XGRz:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/98.f395537903ef38a74302.js
webpackJsonp([62],{QHTa:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Gu7T"),i=a.n(n),c=a("bzW+"),o=a("Qie6"),r=a("Z8ln"),s=a("Ch4/"),h=a("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"我的客户",path:"/memberShowSet"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"我的客户",path:"/memberShowSet"}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"客户展示设置",icon:""},{tabId:"12",tabName:"客户分组设置",icon:""},{tabId:"13",tabName:"客户搜索设置",icon:""},{tabId:"14",tabName:"客户详情设置",icon:""}]},{tabId:"2",tabName:"我的客户列表",icon:"icongukeguanliicon"}],navName:{1:"会员基础设置",11:"客户展示设置",12:"客户分组设置",13:"客户搜索设置",14:"客户详情设置",15:"客户标签设置",151:"同步记录",2:"我的客户列表"},navFrontPath:{11:"/memberShowSet",12:"/memberShowSet",13:"/memberShowSet",14:"/memberShowSet",15:"/memberShowSet",151:"/memberTagSet",2:"/memberShowSet",21:"/myCustomerList"},activeBrand:"",activeGroup:"",expiredFlag:!1,loading:!0}},computed:{},methods:{checkTagTab:function(){var e=this;this.loading=!0;var t={enterpriseId:this.activeBrand},a=[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"客户展示设置",icon:""},{tabId:"12",tabName:"客户分组设置",icon:""},{tabId:"13",tabName:"客户搜索设置",icon:""},{tabId:"14",tabName:"客户详情设置",icon:""}]},{tabId:"2",tabName:"我的客户列表",icon:"icongukeguanliicon"}];Object(h.b)("/haoban-app-customer-web/tag/open-tag",t).then(function(t){t.data.result?a[0].children[4]={tabId:"15",tabName:"客户标签设置",icon:""}:"/memberTagSet"===e.$route.path&&e.$router.replace("memberShowSet"),e.$nextTick(function(){e.tabListData=[].concat(a)})}).finally(function(t){return e.loading=!1})},getExpired:function(){var e=this,t={enterpriseId:e.activeBrand};Object(h.b)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.expiredFlag=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeRoute:function(e){this.$router.push(e)},selectBrandId:function(e,t){this.activeBrand=e,this.activeGroup=t,this.getExpired(),this.checkTagTab()},setSelectTab:function(e){switch(this.activeTab=e.tabId,e.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet");break;case"14":this.changeRoute("memberDetailSet");break;case"15":this.changeRoute("memberTagSet");break;case"2":this.changeRoute("myCustomerList")}},showTab:function(e){var t=this,a=[].concat(Array.prototype.slice.call(arguments));this.activeTab=e,this.activeSelTab=e,this.navpath=[].concat(i()(this.defaultNavpath)),a.length&&a.map(function(e){t.navpath[t.navpath.length-1].path=t.navFrontPath[e],t.navpath.push({name:t.navName[e],path:""})})}},watch:{activeBrand:function(e,t){this.activeBrand=e},activeGroup:function(e,t){this.activeGroup=e}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath},on:{selectBrandId:e.selectBrandId}}),e._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e.loading?e._e():a("common-detail-left",{attrs:{tabListData:e.tabListData,activeSelTab:e.activeSelTab},on:{setSelectTab:e.setSelectTab}})],1),e._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[e.activeBrand?a("router-view",{attrs:{brandId:e.activeBrand,activeGroupId:e.activeGroup,tabType:e.activeTab},on:{showTab:e.showTab}}):e._e()],1)],1)])])]),e._v(" "),e.expiredFlag?a("expired-dialog"):e._e()],1)},staticRenderFns:[]};var b=a("VU/8")(d,m,!1,function(e){a("S/p6")},"data-v-d377b818",null);t.default=b.exports},"S/p6":function(e,t){}});
\ No newline at end of file
webpackJsonp([62],{Jupt:function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("Jupt")},"data-v-87ebdafc",null);e.default=u.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/62.53aa226e93976be5d4ef.js
webpackJsonp([62],{Jupt:function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("Jupt")},"data-v-87ebdafc",null);e.default=u.exports}});
=======
webpackJsonp([74],{IfXV:function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("IfXV")},"data-v-78356120",null);e.default=u.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/74.d2df8a125f082781388a.js
webpackJsonp([63],{L1Lf:function(e,t){},f1qT:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("CMYX"),l=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),c=a("PI0u"),d=a("3E4D"),u=a("Ch4/"),p={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{enableDownloadCompleteData:0,tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()-864e5}},showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:this.$store.state.salesDate},loading:!1,selectRadio:2,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1,tableRefresh:!1,exportDialog:!1}},computed:{},methods:{getInfo:function(){var e=this,t=JSON.parse(sessionStorage.getItem("userInfos")).enterpriseId;Object(r.b)("/haoban-app-tel-task-three-web/setting/find-enterprise-desensitization-setting",{gicEnterpriseId:t}).then(function(t){var a=t.data;1!=a.errorCode?u.a.errorMsg(a):e.enableDownloadCompleteData=a.result.enableDownloadCompleteData})},beforeExportExcel:function(){if(!this.multipleSelection.length)return d.a.showmsg("请选择门店","warning"),!1;1==this.enableDownloadCompleteData?this.exportDialog=!0:this.exportExcel(0)},changeExportDialog:function(){this.exportDialog=!1,this.multipleSelection=[],this.$refs.multipleTable.clearSelection()},exportExcel:function(e){var t=this;if(!t.multipleSelection.length)return d.a.showmsg("请选择门店","warning"),!1;var a=[];t.conditionObj.storeGroup.forEach(function(e){a.push(e.storeGroupId)}),t.loadingBtn=!0;var o={search:t.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",ecmId:t.$route.query.ecmId,ecmPlanName:this.$route.query.ecmName,storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.storeId}).join(","),gicEnterpriseId:t.activeBrand,selectType:2==t.selectRadio&&t.multipleSelection.length?0:this.selectRadio,dataType:e};Object(r.c)("/haoban-app-tel-task-three-web/task/export-task-view-store-list",o).then(function(e){if(t.loadingBtn=!1,!e.data)return u.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),o=document.createElement("a");o.download="话务任务视图详情门店报表.xls",o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},checkGroupIds:function(e){this.conditionObj.storeGroup=e,this.currentPage=1,this.getTableList()},changeTable:function(e){this.currentPage=1,this.getTableList()},handleCommand:function(e){var t=this;this.selectRadio=e,this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},toInput:Object(c.a)(function(e,t){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e?this.$store.dispatch("changeSales",e):this.$store.dispatch("changeSales",[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},delDepart:function(e,t){t.splice(e,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a=[];t.conditionObj.storeGroup.forEach(function(e){a.push(e.storeGroupId)});var o={search:t.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.storeId}).join(","),storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,delTaskStatus:e.delOptFlag,reason:e.reason,isAll:t.selectRadio,ecmId:t.$route.query.ecmId};Object(r.g)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",o).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList(this.selectRadio)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.selectRadio)},showDialogLayer:function(e,t){this.selectType=e,this.changed=e,this.defaultStoreList=t,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(e){this.conditionObj.storeGroup=e,this.getTableList()},toDetail:function(e,t){this.$router.push("taskDetail?storeId="+t.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(e){var t=this,a=this;a.loading=!0;var o=[];a.conditionObj.storeGroup.forEach(function(e){o.push(e.storeGroupId)});var n={ecmId:a.$route.query.ecmId,search:a.conditionObj.searchInput||"",storeGroupIds:o.join(",")||"",storeType:a.conditionObj.storeType||"",startDate:a.conditionObj.dateRange[0]||"",endDate:a.conditionObj.dateRange[1]||"",pageNum:a.currentPage,pageSize:a.pageSize,enterpriseId:a.activeBrand};Object(r.b)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(o){var n=o.data;a.loading=!1,1==n.errorCode&&(a.tableData=n.result.list||[],a.total=n.result.pageInfo?n.result.pageInfo.total:0,1==e?t.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):t.selectRadio=2),u.a.errorMsg(n)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList()),this.multipleSelection=[]}},mounted:function(){var e=this;e.activeBrand=e.brandId,e.brandId&&e.$nextTick(function(){e.getTableList()}),this.getInfo()},components:{gicSelectGroup:l.a,multipleDel:s.a,exportDialog:i.a}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap task-view-detail"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.conditionObj.storeGroup},on:{checkGroupIds:e.checkGroupIds}}),e._v(" "),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.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.multipleDelTaskViewDetail)?a("el-button",{attrs:{"limit-code":e.$buttonCode.multipleDelTaskViewDetail,type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]):e._e(),e._v(" "),e.$getButtonLimit(e.$buttonCode.exportTaskViewDetail)?a("el-button",{attrs:{"limit-code":e.$buttonCode.exportTaskViewDetail,loading:e.loadingBtn,type:"primary"},on:{click:e.beforeExportExcel}},[e._v("导出")]):e._e(),e._v(" "),a("el-tooltip",{attrs:{content:"导出结果中会员姓名、手机号等敏感信息将进行加密,实现隐私保护",placement:"top"}},[a("i",{directives:[{name:"show",rawName:"v-show",value:0==e.enableDownloadCompleteData,expression:"enableDownloadCompleteData == 0"}],staticClass:"el-icon-warning-outline font-14 p-l-6"})])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(e){var t=e.$index;return[a("p",{key:t})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店分组",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeGroupName))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.storeName))]),e._v(" "),a("p",{staticStyle:{color:"#909399"}},[e._v(e._s(t.row.storeCode))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.completedCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.completedRate))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.noCompletedCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中/逾期失效","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.overdueCount||"--")+"/"+e._s(t.row.invalidCount||"--"))]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.checkTaskDetail)?a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.checkTaskDetail)?a("el-button",{attrs:{"limit-code":e.$buttonCode.checkTaskDetail,type:"text"},on:{click:function(a){return e.toDetail(t.$index,t.row)}}},[e._v("查看详情")]):e._e()]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("export-dialog",{attrs:{dialogVisible:e.exportDialog},on:{export:e.exportExcel,"update:dialogVisible":e.changeExportDialog}}),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1,showTip:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var g=a("VU/8")(p,h,!1,function(e){a("L1Lf")},"data-v-d1d01a54",null);t.default=g.exports}});
\ No newline at end of file
webpackJsonp([64],{"29DL":function(t,e){},ak3k:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("2eFk"),n=o("Ke24"),i=o("fPyK"),r=o("P9l9"),l=o("Ch4/"),s=o("3E4D"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!1,tableH:window.screen.availHeight-464-126+"px",topMenuData:[{id:"1",name:"自定义报表"}],activeId:"1",activeTab:"1",activeBrand:"1",tableData:[],multipleSelection:[]}},computed:{},methods:{changeRouter:function(t){this.$router.push(t)},setSelectTab:function(t){this.activeTab=t.tabId},handlePreview:function(t,e){var o=window.location.origin+"/office-mobile/#/defineTemplate?templateId="+e.dailyReportTemplateId;this.$refs.qrcodePreview.qrcode(o,"daily-preview"),this.dialogVisible=!0},toCustomSet:function(){this.changeRouter("/customReportSet")},handleCopy:function(t,e){this.changeRouter("/customReportCopy?templateId="+e.dailyReportTemplateId+"&type=copy")},handleEdit:function(t,e){this.changeRouter("/customReportEdit?&templateId="+e.dailyReportTemplateId+"&type=edit")},handleDelete:function(t,e){var o=this;o.$confirm("一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){o.deleteTemplate(t,e)}).catch(function(){})},deleteTemplate:function(t,e){var o=this;Object(r.g)("/haoban-app-daily-three-web/daily/del-define-template",{templateId:e.dailyReportTemplateId}).then(function(e){var a=e.data;if(1==a.errorCode)return s.a.showmsg("删除成功","success"),void o.tableData.splice(t,1);l.a.errorMsg(a)}).catch(function(t){o.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this;Object(r.g)("/haoban-app-daily-three-web/daily/list-define-template",{enterpriseId:t.brandId}).then(function(e){var o=e.data;if(1==o.errorCode)return t.tableData=[],void(o.result&&o.result.length&&(t.tableData=o.result));l.a.errorMsg(o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.brandId&&this.getData()},components:{appDetail:a.a,commonDetailTop:n.a,qrcodeDialog:i.a}},c={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"custom-set-wrap"},[o("div",{staticClass:"custom-set-content border-box"},[o("div",{staticClass:"flex flex-space-between flex-pack-center m-b-23"},[t._m(0),t._v(" "),o("div",[t.$getButtonLimit(t.$buttonCode.addCustomReport)?o("el-button",{attrs:{"limit-code":t.$buttonCode.addCustomReport,type:"primary"},on:{click:function(e){return t.toCustomSet("")}}},[t._v("新建模板")]):t._e()],1)]),t._v(" "),o("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[o("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.title))]}}])}),t._v(" "),o("el-table-column",{attrs:{prop:"name",label:"模板描述","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.description))]}}])}),t._v(" "),o("el-table-column",{attrs:{prop:"address",label:"门店类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.storeType?o("span",[t._v("自营门店")]):t._e(),t._v(" "),1==e.row.storeType?o("span",[t._v("联营门店")]):t._e(),t._v(" "),2==e.row.storeType?o("span",[t._v("代理门店")]):t._e(),t._v(" "),3==e.row.storeType?o("span",[t._v("代销门店")]):t._e(),t._v(" "),4==e.row.storeType?o("span",[t._v("托管门店")]):t._e()]}}])}),t._v(" "),t.$getButtonLimit(t.$buttonCode.copyCustomReport)||t.$getButtonLimit(t.$buttonCode.editCustomReport)||t.$getButtonLimit(t.$buttonCode.delCustomReport)?o("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$getButtonLimit(t.$buttonCode.copyCustomReport)?o("el-button",{attrs:{"limit-code":t.$buttonCode.copyCustomReport,type:"text"},on:{click:function(o){return t.handleCopy(e.$index,e.row)}}},[t._v("复制")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editCustomReport)?o("el-button",{attrs:{"limit-code":t.$buttonCode.editCustomReport,type:"text"},on:{click:function(o){return t.handleEdit(e.$index,e.row)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delCustomReport)?o("el-button",{attrs:{"limit-code":t.$buttonCode.delCustomReport,type:"text"},on:{click:function(o){return t.handleDelete(e.$index,e.row)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1)],1),t._v(" "),o("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"custom-set-title flex flex-pack-center"},[e("span",{staticClass:"font-14 color-909399"},[this._v("注:创建自定义日报后才能触发并下发日报")])])}]};var u=o("VU/8")(d,c,!1,function(t){o("29DL")},"data-v-aa3f75f2",null);e.default=u.exports}});
\ No newline at end of file
webpackJsonp([64],{KNi5:function(t,e){},z2RJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),o=s.n(a),i=s("PI0u"),l=s("Ch4/"),r=s("3E4D"),n=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],activeId:"1",setObj:{taskCallTypes:[],taskType:0,overDayJudge:"3",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(i.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallTypes:t.setObj.taskCallTypes.join(","),taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?l.a.errorMsg(s):r.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)l.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=o()({},s.result,{taskCallTypes: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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item flex"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"代理商户默认关闭双向呼叫功能,如需开通请联系达摩运营或实施进行开通",placement:"top-start","open-delay":200}},[s("span",{staticClass:"set-line-item_title text-right m-r-4"},[s("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px","border-bottom":"1px dashed rgb(47, 84, 235)"}},[t._v("不良评价拨打")]),t._v(":")])]),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{class:["tooltips",t.setObj.taskCallTypes.includes(e.value)?"color-303133":"color-606266"]},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(t){s("KNi5")},"data-v-803bf094",null);e.default=u.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/64.f45138a59a2a0dfa781f.js
webpackJsonp([64],{KNi5:function(t,e){},z2RJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),o=s.n(a),i=s("PI0u"),l=s("Ch4/"),r=s("3E4D"),n=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],activeId:"1",setObj:{taskCallTypes:[],taskType:0,overDayJudge:"3",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(i.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallTypes:t.setObj.taskCallTypes.join(","),taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?l.a.errorMsg(s):r.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)l.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=o()({},s.result,{taskCallTypes: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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item flex"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"代理商户默认关闭双向呼叫功能,如需开通请联系达摩运营或实施进行开通",placement:"top-start","open-delay":200}},[s("span",{staticClass:"set-line-item_title text-right m-r-4"},[s("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px","border-bottom":"1px dashed rgb(47, 84, 235)"}},[t._v("不良评价拨打")]),t._v(":")])]),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{class:["tooltips",t.setObj.taskCallTypes.includes(e.value)?"color-303133":"color-606266"]},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(t){s("KNi5")},"data-v-803bf094",null);e.default=u.exports}});
=======
webpackJsonp([77],{g9l9:function(t,e){},z2RJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),o=s.n(a),i=s("PI0u"),l=s("Ch4/"),r=s("3E4D"),n=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],activeId:"1",setObj:{taskCallTypes:[],taskType:0,overDayJudge:"3",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(i.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallTypes:t.setObj.taskCallTypes.join(","),taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?l.a.errorMsg(s):r.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)l.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=o()({},s.result,{taskCallTypes: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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item flex"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"代理商户默认关闭双向呼叫功能,如需开通请联系达摩运营或实施进行开通",placement:"top-start","open-delay":200}},[s("span",{staticClass:"set-line-item_title text-right m-r-4"},[s("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px","border-bottom":"1px dashed rgb(47, 84, 235)"}},[t._v("不良评价拨打")]),t._v(":")])]),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{class:["tooltips",t.setObj.taskCallTypes.includes(e.value)?"color-303133":"color-606266"]},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(t){s("g9l9")},"data-v-74784215",null);e.default=u.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/77.3755e506e2e6ccb2f4e0.js
webpackJsonp([67],{"FG/P":function(t,a){},nV1L:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),r=e("Qie6"),o=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),v={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"卡券赠送",activeSelTab:"1",activeTab:"1",defaultNavpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:"/cardList"}],navpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:"/cardList"}],navName:{1:"卡券列表",11:"编辑卡券",12:"新增卡券",2:"卡券记录"},navFrontPath:{1:"/cardList",11:"/cardList",12:"/cardList",2:"/cardList"},tabListData:[{tabId:"1",tabName:"卡券列表",icon:"iconqiaquan"},{tabId:"2",tabName:"卡券记录",icon:"iconwodeqiaquan-"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?s.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("cardList");break;case"2":this.changeRoute("cardRecord")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath[a.navpath.length-1].path=a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{$route:{handler:function(t,a){},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:r.a,expiredDialog:o.a}},h={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var u=e("VU/8")(v,h,!1,function(t){e("FG/P")},"data-v-9bc8e98c",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([67],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("rU5F")},"data-v-785aa3f6",null);e.default=o.exports},rU5F:function(t,e){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/67.881ede8d681913f3e3aa.js
webpackJsonp([67],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("rU5F")},"data-v-785aa3f6",null);e.default=o.exports},rU5F:function(t,e){}});
=======
webpackJsonp([91],{CTf4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(t){n("Ql4E")},"data-v-61d0b205",null);e.default=i.exports},Ql4E:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/91.4e3182a759a0deb7737b.js
webpackJsonp([69],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/69.f312b8be1f58d823d157.js
webpackJsonp([69],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
=======
webpackJsonp([81],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/81.ed9f776c33449e4502f5.js
webpackJsonp([7,9,64],{"29DL":function(t,e){},AIQa:function(t,e){},"J/6z":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("//Fk"),i=a.n(s),n=a("mvHQ"),r=a.n(n),o=a("w/TU"),l=a.n(o),c=a("Isrn"),d=a("l46T"),p={name:"time-progress",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},v={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"time-progress-contain"},[e("div",[e("p",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"time-progress-item"},[e("div",{staticClass:"time-progress-title"},[e("p",{staticClass:"gic-pull-left"},[this._v("50.00%")]),this._v(" "),e("p",{staticClass:"gic-pull-right"},[e("span",[this._v("15")]),this._v("/"),e("span",[this._v("30")])])]),this._v(" "),e("div",{staticClass:"time-progress-bottom"},[e("div",{staticClass:"time-progress-top"})])])}]};var u=a("VU/8")(p,v,!1,function(t){a("aqQ7")},"data-v-94775b56",null).exports,m={name:"store-performance",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},f={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"data-number-table"},[a("thead",[a("tr",[a("th",{staticClass:"w_22"}),t._v(" "),a("th",{staticClass:"w_26"},[t._v("日")]),t._v(" "),a("th",{staticClass:"w_26"},[t._v("月")])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("指标")]),t._v(" "),a("td",[t._v("473,960")]),t._v(" "),a("td",[t._v("473,960")])]),t._v(" "),a("tr",[a("td",[t._v("累计销售额")]),t._v(" "),a("td",[t._v("473,960")]),t._v(" "),a("td",[t._v("999,476,960")])]),t._v(" "),a("tr",[a("td",[t._v("达成率")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])]),t._v(" "),a("tr",[a("td",[t._v("同比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])]),t._v(" "),a("tr",[a("td",[t._v("环比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])])])])}]};var _=a("VU/8")(m,f,!1,function(t){a("h7wL")},"data-v-66c2fe71",null).exports,h={name:"membership-data",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"data-number-table"},[a("thead",[a("tr",[a("th",{staticClass:"w_22"}),t._v(" "),a("th",{staticClass:"w_26"},[t._v("日")]),t._v(" "),a("th",{staticClass:"w_26"},[t._v("月")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{attrs:{colspan:"1"}},[t._v("会员总数")]),t._v(" "),a("td",{attrs:{colspan:"2"}},[t._v("9,000,000")])]),t._v(" "),a("tr",[a("td",[t._v("新增会员")]),t._v(" "),a("td",[t._v("473,960")]),t._v(" "),a("td",[t._v("473,960")])]),t._v(" "),a("tr",[a("td",[t._v("同比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])]),t._v(" "),a("tr",[a("td",[t._v("环比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])])])])}]};var b=a("VU/8")(h,g,!1,function(t){a("zGvM")},"data-v-6f4f982c",null).exports,C={name:"error-mointor",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},y={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"anomal-monitor-contain"},[a("h3",{staticClass:"build-title title-flag"},[a("span",[t._v(t._s(t.fieldName))])]),t._v(" "),a("div",{staticClass:"progress-contain"},[a("div",{staticClass:"progress-center"},[a("div",{staticClass:"container-progress",staticStyle:{position:"relative"},attrs:{id:"container_progress1"}},[a("svg",{staticStyle:{display:"block",width:"100%"},attrs:{viewBox:"0 0 100 100"}},[a("path",{attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#eee","stroke-width":"8","fill-opacity":"0"}}),t._v(" "),a("path",{staticStyle:{"stroke-dasharray":"289.067, 289.067","stroke-dashoffset":"72.2668",transition:"stroke-dashoffset 1.5s ease-in"},attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#2f54eb","stroke-width":"8","fill-opacity":"0"}})]),t._v(" "),a("div",{staticClass:"progressbar-text progressbar-text-left",staticStyle:{position:"absolute",left:"50%",top:"50%",padding:"0px",margin:"0px",transform:"translate(-50%, -50%)",color:"#2f54eb","font-size":"14px","font-weight":"600"}},[t._v("75.00%")])]),t._v(" "),a("p",{staticClass:"progress-text"},[t._v("无导购率")])]),t._v(" "),a("div",{staticClass:"progress-center"},[a("div",{staticClass:"container-progress",staticStyle:{position:"relative"},attrs:{id:"container_progress2"}},[a("svg",{staticStyle:{display:"block",width:"100%"},attrs:{viewBox:"0 0 100 100"}},[a("path",{attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#eee","stroke-width":"8","fill-opacity":"0"}}),t._v(" "),a("path",{staticStyle:{"stroke-dasharray":"289.067, 289.067","stroke-dashoffset":"216.8",transition:"stroke-dashoffset 1.5s ease-in"},attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#2f54eb","stroke-width":"8","fill-opacity":"0"}})]),t._v(" "),a("div",{staticClass:"progressbar-text progressbar-text-mid",staticStyle:{position:"absolute",left:"50%",top:"50%",padding:"0px",margin:"0px",transform:"translate(-50%, -50%)",color:"#2f54eb","font-size":"14px","font-weight":"600"}},[t._v("25.00%")])]),t._v(" "),a("p",{staticClass:"progress-text"},[t._v("退单率")])]),t._v(" "),a("div",{staticClass:"progress-center"},[a("div",{staticClass:"container-progress",staticStyle:{position:"relative"},attrs:{id:"container_progress3"}},[a("svg",{staticStyle:{display:"block",width:"100%"},attrs:{viewBox:"0 0 100 100"}},[a("path",{attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#eee","stroke-width":"8","fill-opacity":"0"}}),t._v(" "),a("path",{staticStyle:{"stroke-dasharray":"289.067, 289.067","stroke-dashoffset":"14.4534",transition:"stroke-dashoffset 1.5s ease-in"},attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#2f54eb","stroke-width":"8","fill-opacity":"0"}})]),t._v(" "),a("div",{staticClass:"progressbar-text progressbar-text-right",staticStyle:{position:"absolute",left:"50%",top:"50%",padding:"0px",margin:"0px",transform:"translate(-50%, -50%)",color:"#2f54eb","font-size":"14px","font-weight":"600"}},[t._v("95.00%")])]),t._v(" "),a("p",{staticClass:"progress-text"},[t._v("凭空退单率")])])])])},staticRenderFns:[]};var x=a("VU/8")(C,y,!1,function(t){a("cfOg")},"data-v-64e9da9d",null).exports,w={name:"old-customer-data",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},I={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"birth-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-list"},[a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("订单数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费人数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费金额占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])])])}]};var k=a("VU/8")(w,I,!1,function(t){a("pJmJ")},"data-v-b7ca6e44",null).exports,$={name:"birthday-membership-data",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},S={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"birth-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-list"},[a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("订单数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费人数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费金额占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])])])}]};var D=a("VU/8")($,S,!1,function(t){a("AIQa")},"data-v-b252e530",null).exports,R=a("fPyK"),M={props:{setting:{type:[Number,String],default:function(){return"0"}}},data:function(){return{setVisible:!0,selectId:"0"}},computed:{},watch:{setting:function(t){this.selectId=t}},methods:{handleClose:function(t){t(),this.$emit("closeSet","close"),this.selectId=""},cancel:function(){this.$emit("closeSet","close"),this.selectId=""},submitForm:function(){this.$emit("closeSet",this.selectId)}},components:{},mounted:function(){this.selectId=this.setting}},E={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"600px",title:"模板设置",visible:t.setVisible,"append-to-body":"","before-close":t.handleClose},on:{"update:visible":function(e){t.setVisible=e}}},[a("div",{staticClass:"m-t-20"},[a("el-radio",{attrs:{label:"0"},model:{value:t.selectId,callback:function(e){t.selectId=e},expression:"selectId"}},[t._v("定义在日报自定义上报模板上面")]),t._v(" "),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},model:{value:t.selectId,callback:function(e){t.selectId=e},expression:"selectId"}},[t._v("定义在日报自定义上报模板下面")])],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.cancel}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确定")])],1)])},staticRenderFns:[]};var N=a("VU/8")(M,E,!1,function(t){a("eUKg")},"data-v-ef3b9696",null).exports,T=a("3E4D"),L=a("Ch4/"),V=a("PI0u"),P=a("P9l9"),B={name:"staffRecordsTemplate",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},enterpriseId:this.brandId,setting:"0",selectKey:"",cardInfo:[],tradeInfo:[],birthdayMemberInfo:[],memberInfo:[],powerInfo:[],currentIndex:0,tempaletDataList:[],setParent:[],setVisible:!1,loadingBtn:!1}},created:function(){},methods:{templateSet:function(){this.setVisible=!0},closeSet:function(t){if(this.setVisible=!1,"close"==t)return!1;this.setting=t},clickItem:function(t){},onMove:function(t){var e=t.draggedContext.element;return!this.tempaletDataList.map(function(t){return t.name}).includes(e.name)&&!e.fixed},itemMoveEnd:function(t){var e=this;e.isDragging=!1,e.selectKey="",e.selectKey=t.clone.dataset.name,e.tempaletDataList.forEach(function(t,a){var s;t.name==e.selectKey&&(s=t.parentCode,e[s].forEach(function(t,a){t.name==e.selectKey&&(t.fixed=!0)}))}),e.selectKey="",e.tempaletDataList=JSON.parse(r()(e.tempaletDataList)),e.$forceUpdate()},selectItem:function(t,e){this.currentIndex=e},deleteItem:function(t,e,a){this.tempaletDataList.splice(a,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,a){e.name==t&&(e.fixed=!1)})},changeRoute:function(t){this.$router.push(t)},isRepeat:function(t){var e={};for(var a in t){if(e[t[a]])return!0;e[t[a]]=!0}return!1},checkTag:function(t){var e={filedFlag:!0,filedRepeat:!1},a=[];return t.forEach(function(t,e){a.push(t.title)}),this.isRepeat(a)&&(e.filedRepeat=!0),e},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},saveAndBack:Object(V.a)(function(t){var e=JSON.parse(r()(this.tempaletDataList));return this.checkTag(e).filedRepeat?(this.$message.error({duration:1e3,message:"字段标题不能重复"}),!1):(e.forEach(function(t,e){t.sort=e}),e.length?(this.loadingBtn=!0,void("save"===t?this.saveAllData(e):this.postPreview(e))):(this.$message.error({duration:1e3,message:"请先配置字段"}),!1))},500),saveAllData:function(t){var e=this,a={enterpriseId:e.enterpriseId,templateContent:r()({setting:e.setting,data:t})};Object(P.g)("/haoban-app-daily-three-web/daily/save-system-template",a).then(function(t){var a=t.data;e.loadingBtn=!1,1!=a.errorCode?L.a.errorMsg(a):T.a.showmsg("保存成功","success")}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},postPreview:function(t){var e=this,a={templateType:0,enterpriseId:e.enterpriseId,templateContent:r()(t)};Object(P.g)("/haoban-app-daily-three-web/daily/preview-template",a).then(function(t){var a=t.data;if(e.loadingBtn=!1,1==a.errorCode){var s=window.location.origin+"/office-mobile/#/systemTemplate?enterpriseId="+e.enterpriseId+"&templateId="+a.result;return e.$refs.qrcodePreview.qrcode(s,"daily-preview"),void(e.dialogVisible=!0)}L.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var t=this;Object(P.b)("/haoban-app-daily-three-web/daily/get-template-items",{enterpriseId:t.enterpriseId,type:1}).then(function(e){var a=e.data;if(1==a.errorCode){var s=setTimeout(function(){t.handleAllFields(a.result),clearTimeout(s)},200);return!1}L.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this;t.forEach(function(t,a){e.setParent.includes(t.name)?t.fixed=!0:t.fixed=!1,1==t.classify&&(t.parentCode="cardInfo",e.cardInfo.push(t)),2==t.classify&&(t.parentCode="tradeInfo",e.tradeInfo.push(t)),3==t.classify&&(t.parentCode="birthdayMemberInfo",e.birthdayMemberInfo.push(t)),4==t.classify&&(t.parentCode="memberInfo",e.memberInfo.push(t)),5==t.classify&&(t.parentCode="powerInfo",e.powerInfo.push(t))})},getInfo:function(){var t=this;Object(P.b)("/haoban-app-daily-three-web/daily/get-system-template-data",{enterpriseId:t.enterpriseId}).then(function(e){var a=e.data;1!=a.errorCode?L.a.errorMsg(a):a.result&&(t.setting=String(a.result.setting),a.result.data&&a.result.data.length&&t.handleGetInfo(a.result.data))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleGetInfo:function(t){var e=this,a=JSON.parse(r()(t));e.setParent=[],a.forEach(function(t,a){t.fixed=!0,e.setParent.push(t.name)}),e.tempaletDataList=a}},watch:{isDragging:function(t){var e=this;t?e.delayedDragging=!0:e.$nextTick(function(){e.delayedDragging=!1})},brandId:function(t,e){var a=this;t&&(a.enterpriseId=t,a.cardInfo=[],a.tradeInfo=[],a.birthdayMemberInfo=[],a.memberInfo=[],a.powerInfo=[],a.currentIndex=0,a.tempaletDataList=[],a.setParent=[],i.a.all([a.getInfo()]).then(function(t){console.log(),a.getAllFields()}).catch(function(t){console.log(t)}))}},components:{draggable:l.a,AddInput:c.a,limitInput:d.a,timeProgress:u,storePerformance:_,errorMointor:x,membershipData:b,oldCustomerData:k,birthdayMembershipData:D,qrcodeDialog:R.a,systemSet:N},mounted:function(){var t=this;t.$emit("showTab","31"),document.documentElement.style.backgroundColor="#f0f2f5",t.enterpriseId=t.brandId,i.a.all([t.getInfo()]).then(function(e){t.getAllFields()}).catch(function(t){console.log(t)}),document.body.ondrop=function(t){t.preventDefault(),t.stopPropagation()}},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},F={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"template-wrap"},[s("div",{staticClass:"template-contain"},[s("div",{staticClass:"template-cell-title font-14 color-303133"},[t._v("系统字段")]),t._v(" "),s("div",{staticClass:"template-head"},[t._m(0),t._v(" "),s("div",{staticClass:"template-btns flex-1 flex-r"},[t.$getButtonLimit(t.$buttonCode.settingSystemReport)?s("el-button",{attrs:{type:"primary",plain:"","limit-code":t.$buttonCode.settingSystemReport},on:{click:t.templateSet}},[t._v("模板设置")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.saveSystemReport)?s("el-button",{attrs:{type:"primary","limit-code":t.$buttonCode.saveSystemReport,loading:t.loadingBtn},on:{click:function(e){return t.saveAndBack("save")}}},[t._v("保存并启用")]):t._e()],1)]),t._v(" "),s("div",{staticClass:"template-body"},[s("div",{staticClass:"template-cell template-cell-l system-template-tab"},[s("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[s("el-tab-pane",{attrs:{label:"卡片",name:"first"}},[s("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[s("draggable",{staticClass:"compenent",attrs:{id:"list1",list:t.cardInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.cardInfo,function(e,a){return s("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name,"aria-hidden":"true"},on:{mousedown:function(a){return t.clickItem(e)}}},[s("span",[t._v(t._s(e.title))])])}),0)],1)]),t._v(" "),s("el-tab-pane",{attrs:{label:"交易",name:"second"}},[s("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[s("draggable",{staticClass:"compenent",attrs:{id:"list2",list:t.tradeInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.tradeInfo,function(e,a){return s("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){return t.clickItem(e)}}},[s("span",[t._v(t._s(e.title))])])}),0)],1)]),t._v(" "),s("el-tab-pane",{attrs:{label:"生日会员",name:"third"}},[s("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[s("draggable",{staticClass:"compenent",attrs:{id:"list3",list:t.birthdayMemberInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.birthdayMemberInfo,function(e,a){return s("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){return t.clickItem(e)}}},[s("span",[t._v(t._s(e.title))])])}),0)],1)]),t._v(" "),s("el-tab-pane",{attrs:{label:"会员",name:"four"}},[s("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[s("draggable",{staticClass:"compenent",attrs:{id:"list4",list:t.memberInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.memberInfo,function(e,a){return s("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){return t.clickItem(e)}}},[s("span",[t._v(t._s(e.title))])])}),0)],1)]),t._v(" "),s("el-tab-pane",{attrs:{label:"执行力",name:"five"}},[s("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[s("draggable",{staticClass:"compenent",attrs:{id:"list5",list:t.powerInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.powerInfo,function(e,a){return s("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){return t.clickItem(e)}}},[s("span",[t._v(t._s(e.title))])])}),0)],1)])],1)],1),t._v(" "),s("div",{staticClass:"template-cell template-cell-m"},[s("div",{staticClass:"phone-view"},[s("div",{staticClass:"phone-show-content"},[s("div",{staticClass:"drag-show-content"},[s("div",{staticClass:"view-container"},[s("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==t.tempaletDataList.length?[s("img",{staticClass:"templet-null-img",attrs:{src:a("Y7wY")}})]:t._e(),t._v(" "),s("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:t.tempaletDataList,callback:function(e){t.tempaletDataList=e},expression:"tempaletDataList"}},t._l(t.tempaletDataList,function(e,a){return s("li",{key:"li1"+a,class:["filed-item",t.currentIndex==a?"active-item":"","li-block"],on:{click:function(s){return s.stopPropagation(),t.selectItem(e.fieldCode,a)}}},[s("span",{staticClass:"item-close p-item-close",on:{click:function(s){return s.stopPropagation(),t.deleteItem(e.name,e.parentCode,a)}}},[s("i",{staticClass:"el-icon-close"})]),t._v(" "),"1"!=e.classify?s("div",{staticClass:"filed-item-name"},[s("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))])]):t._e(),t._v(" "),"timeProgress"==e.name?s("time-progress",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"dataShop"==e.name?s("store-performance",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"dataNumber"==e.name?s("membership-data",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"anomalMonitor"==e.name?s("error-mointor",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"oldNumber"==e.name?s("old-customer-data",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"birthNumber"==e.name?s("birthday-membership-data",{attrs:{fieldName:e.title}}):t._e()],1)}),0)],2)])])])])])])]),t._v(" "),s("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}}),t._v(" "),t.setVisible?s("system-set",{attrs:{setting:t.setting},on:{closeSet:t.closeSet}}):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"template-title flex-1"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中。")])])])])}]};var O=a("VU/8")(B,F,!1,function(t){a("LTXF")},"data-v-65d8e9fa",null);e.default=O.exports},LTXF:function(t,e){},RnLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("J/6z"),i=a("ak3k"),n={name:"DailySetting",props:{brandId:{type:String,default:""}},components:{SystemReport:s.default,CustomReport:i.default},data:function(){return{activeName:"first"}}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-tabs",{staticClass:"daily-setting",model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"系统报表",name:"first"}},[a("system-report",{attrs:{"brand-id":t.brandId}})],1),t._v(" "),a("el-tab-pane",{attrs:{label:"自定义报表",name:"second"}},[a("custom-report",{attrs:{"brand-id":t.brandId}})],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(n,r,!1,function(t){a("fn+l")},"data-v-c7453d62",null);e.default=o.exports},ak3k:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),i=a("Ke24"),n=a("fPyK"),r=a("P9l9"),o=a("Ch4/"),l=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!1,tableH:window.screen.availHeight-464-126+"px",topMenuData:[{id:"1",name:"自定义报表"}],activeId:"1",activeTab:"1",activeBrand:"1",tableData:[],multipleSelection:[]}},computed:{},methods:{changeRouter:function(t){this.$router.push(t)},setSelectTab:function(t){this.activeTab=t.tabId},handlePreview:function(t,e){var a=window.location.origin+"/office-mobile/#/defineTemplate?templateId="+e.dailyReportTemplateId;this.$refs.qrcodePreview.qrcode(a,"daily-preview"),this.dialogVisible=!0},toCustomSet:function(){this.changeRouter("/customReportSet")},handleCopy:function(t,e){this.changeRouter("/customReportCopy?templateId="+e.dailyReportTemplateId+"&type=copy")},handleEdit:function(t,e){this.changeRouter("/customReportEdit?&templateId="+e.dailyReportTemplateId+"&type=edit")},handleDelete:function(t,e){var a=this;a.$confirm("一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.deleteTemplate(t,e)}).catch(function(){})},deleteTemplate:function(t,e){var a=this;Object(r.g)("/haoban-app-daily-three-web/daily/del-define-template",{templateId:e.dailyReportTemplateId}).then(function(e){var s=e.data;if(1==s.errorCode)return l.a.showmsg("删除成功","success"),void a.tableData.splice(t,1);o.a.errorMsg(s)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this;Object(r.g)("/haoban-app-daily-three-web/daily/list-define-template",{enterpriseId:t.brandId}).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=[],void(a.result&&a.result.length&&(t.tableData=a.result));o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.brandId&&this.getData()},components:{appDetail:s.a,commonDetailTop:i.a,qrcodeDialog:n.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-set-wrap"},[a("div",{staticClass:"custom-set-content border-box"},[a("div",{staticClass:"flex flex-space-between flex-pack-center m-b-23"},[t._m(0),t._v(" "),a("div",[t.$getButtonLimit(t.$buttonCode.addCustomReport)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addCustomReport,type:"primary"},on:{click:function(e){return t.toCustomSet("")}}},[t._v("新建模板")]):t._e()],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.title))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"模板描述","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.description))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"address",label:"门店类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.storeType?a("span",[t._v("自营门店")]):t._e(),t._v(" "),1==e.row.storeType?a("span",[t._v("联营门店")]):t._e(),t._v(" "),2==e.row.storeType?a("span",[t._v("代理门店")]):t._e(),t._v(" "),3==e.row.storeType?a("span",[t._v("代销门店")]):t._e(),t._v(" "),4==e.row.storeType?a("span",[t._v("托管门店")]):t._e()]}}])}),t._v(" "),t.$getButtonLimit(t.$buttonCode.copyCustomReport)||t.$getButtonLimit(t.$buttonCode.editCustomReport)||t.$getButtonLimit(t.$buttonCode.delCustomReport)?a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$getButtonLimit(t.$buttonCode.copyCustomReport)?a("el-button",{attrs:{"limit-code":t.$buttonCode.copyCustomReport,type:"text"},on:{click:function(a){return t.handleCopy(e.$index,e.row)}}},[t._v("复制")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editCustomReport)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editCustomReport,type:"text"},on:{click:function(a){return t.handleEdit(e.$index,e.row)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delCustomReport)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delCustomReport,type:"text"},on:{click:function(a){return t.handleDelete(e.$index,e.row)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1)],1),t._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"custom-set-title flex flex-pack-center"},[e("span",{staticClass:"font-14 color-909399"},[this._v("注:创建自定义日报后才能触发并下发日报")])])}]};var p=a("VU/8")(c,d,!1,function(t){a("29DL")},"data-v-aa3f75f2",null);e.default=p.exports},aqQ7:function(t,e){},cfOg:function(t,e){},eUKg:function(t,e){},"fn+l":function(t,e){},h7wL:function(t,e){},pJmJ:function(t,e){},zGvM:function(t,e){}});
\ No newline at end of file
webpackJsonp([70],{Tvq6:function(t,e){},rYZf: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)}}},c={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 i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/70.6788326f4b9204fc6c39.js
webpackJsonp([70],{Tvq6:function(t,e){},rYZf: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)}}},c={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 i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
=======
webpackJsonp([84],{Tvq6:function(t,e){},rYZf: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)}}},c={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 i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/84.3a3d94cb0710361148ba.js
webpackJsonp([72],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),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("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/72.78bc9a90e43c0f4689d8.js
webpackJsonp([72],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),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("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
=======
webpackJsonp([88],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),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("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/88.b535eaf6d4dcf1bee6c5.js
webpackJsonp([73],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("rU5F")},"data-v-785aa3f6",null);e.default=o.exports},rU5F:function(t,e){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/62.53aa226e93976be5d4ef.js
webpackJsonp([62],{Jupt:function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("Jupt")},"data-v-87ebdafc",null);e.default=u.exports}});
=======
webpackJsonp([74],{IfXV:function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("Dd8w"),n=a.n(i),o=a("P9l9"),l=a("PI0u"),s=a("+hGG"),r={data:function(){return{form:{title:"",pageSize:20,pageNum:1},dialogVisible:!1,welcomeId:"",total:0,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie",5:"iconwenjianleixing-xiaochengxu",6:"iconwenjianleixing-xiaochengxu",7:"icongongzhonghao1"},tableData:[],loading:!1}},mounted:function(){this.getData()},activated:function(){this.getData()},props:{type:{type:[Number,String],default:1}},components:{relationDialog:s.default},watch:{type:function(t){this.form={title:"",pageSize:20,pageNum:1},this.getData()}},methods:{toInput:Object(l.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},changeRoute:function(t){this.$router.push({path:"/editSalutatorySet",query:{id:t.welcomeId,isDefalut:t.defaultWelcomeFlag,type:t.type}})},addSalutatory:function(){this.$router.push({path:"/salutatorySet",query:{type:this.type}})},remove:function(t){2==t.type?this.delType2(t):this.delType1(t)},delType1:function(t){var e=this,a="模板删除后将无法恢复";1==t.defaultWelcomeFlag&&(a="此条欢迎语为全员欢迎语,删除后可能影响欢迎语发送"),this.$confirm(a,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})})},delType2:function(t){var e=this;Object(o.b)("/haoban-manage3-web/welcome/statistics",{welcomeId:t.welcomeId}).then(function(a){var i=a.data.result,n="";i?(i.qrCodeReferNum&&i.linkReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+")、链接("+i.linkReferNum+"),请确认相关活码是否不再使用该欢迎语以及链接已投放结束,解除关联后才可删除该模板":i.qrCodeReferNum?n="当前欢迎语已关联状态为正常的活码("+i.qrCodeReferNum+"),请确认相关活码是否不再使用该欢迎语,解除关联后才可删除该模板":i.linkReferNum&&(n="当前欢迎语已关联链接("+i.linkReferNum+"),请确认相关链接已投放结束,解除关联后才可删除该模板"),e.$confirm(n,"无法删除该欢迎语",{confirmButtonText:"关联详情",cancelButtonText:"取消",type:"warning"}).then(function(){e.showRelateDetail(t)})):(n="欢迎语删除后将无法恢复",e.$confirm(n,"确认要删除该欢迎语吗?",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o.b)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){console.log(t),0==t.data.code&&(e.$message.success("删除成功"),e.getData())})}))})},showRelateDetail:function(t){this.dialogVisible=!0,this.welcomeId=t.welcomeId},goLinkDetail:function(t){2==t.type?window.open("/haoban-3/#/actCodeDetail?hmId="+t.referId):window.open("/haoban-3/#/attractFlowLinkInfo/"+t.referId)},getData:function(){var t=this;this.loading=!0,Object(o.f)("/haoban-manage3-web/welcome/list",n()({},this.form,{wxEnterpriseId:this.wxEnterpriseId,type:this.type})).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.result.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}),t.total=a.result.totalCount,t.$nextTick(function(){var e=document.createElement("span");e.style.position="fixed",e.style.opacity=0,e.style.visibility="hidden";var a=t.$refs.title&&t.$refs.title.offsetWidth-85;t.tableData.map(function(t){return e.innerHTML=t.title,document.body.appendChild(e),t.isOverflow=e.offsetWidth>a,t}),document.body.removeChild(e)}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loading=!1})},handleSizeChange:function(t){this.form.pageNum=1,this.form.pageSize=t,this.getData()},handleCurrentChange:function(t){this.form.pageNum=t,this.getData()}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"admin-tip-body"},[1==t.type?a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(0)]):a("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),t._m(1)])]),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addSalutatory,type:"primary"},on:{click:t.addSalutatory}},[t._v("新建欢迎语")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return a("div",{ref:"title"},[i.isOverflow?a("el-tooltip",{attrs:{placement:"top",content:i.title}},[a("span",{staticClass:"title-text"},[t._v(t._s(i.title))])]):a("span",[t._v(t._s(i.title))]),t._v(" "),1==i.defaultWelcomeFlag?a("el-tag",{attrs:{size:"mini"}},[t._v("默认欢迎语")]):t._e()],1)}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.welcomeMediaList&&i.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(i.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),i.welcomeMediaList&&i.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[i.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(i.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"creatorName",label:"创建人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"modifierName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),1==t.type?a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[i.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(i.suitDepartmentName.join(","))+"\n ")])])]}}])}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)||t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-table-column",{attrs:{label:"操作",width:2==t.type?220:180,fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==i.type,expression:"row.type == 2"}],attrs:{type:"text"},on:{click:function(e){return t.showRelateDetail(i)}}},[t._v("关联详情")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.editSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editSalutatory,type:"text"},on:{click:function(e){return t.changeRoute(i)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delSalutatory)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delSalutatory,type:"text"},on:{click:function(e){return t.remove(i)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),a("relation-dialog",{attrs:{dialogVisible:t.dialogVisible,id:t.welcomeId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e},goLinkDetail:t.goLinkDetail}}),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1、若使用此处的好办欢迎语,请关闭企微欢迎语或其他自建应用/第三方应用的欢迎语配置,否则会产生冲突,好办欢迎语不生效。"),e("br"),this._v("\n 2、在使用此处好办欢迎语的情况下,只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语。 "),e("br"),this._v("\n 3、可按照企微不同的组织架构来分别配置不同的欢迎语。(若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语) "),e("br"),this._v("\n 4、创建欢迎语时,可在欢迎语内容中配置“带参会员小程序/带参公众号二维码”,以便于在“不同开平”的情况下,保证“客户”身份与“好友”身份的对应,"),e("a",{staticStyle:{color:"#2f54eb"},attrs:{href:"https://www.yuque.com/exnmlu/oo64hg/bsabp2",target:"_blank"}},[this._v("详见>>>")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 作为一个“欢迎语库”,下方所创建的欢迎语将可被不同模块进行引用,如【活码管理】中的活码欢迎语、链接欢迎语。\n ")])])}]};var u=a("VU/8")(r,c,!1,function(t){a("IfXV")},"data-v-78356120",null);e.default=u.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/74.d2df8a125f082781388a.js
webpackJsonp([75],{FLMi:function(t,e){},K8Yn:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Qs+A"),l=a("P9l9"),r=a("Ch4/"),i=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"组织架构管理",path:"/orgStructSet"},{name:"回收站",path:""}],options:[{label:"所有部门类型",value:""},{label:"分组",value:"0"},{label:"门店",value:"1"}],searchInput:"",storeFlag:"",currentPage:1,pageSize:20,total:0,tableData:[],setVisible:!1,recoverItem:{}}},computed:{},methods:{toRecover:function(t,e){this.recoverItem=e,this.setVisible=!0},closeSet:function(){this.setVisible=!1,this.currentPage=1,this.getTableList()},changeRoute:function(t){this.$router.push(t)},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeType:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",storeFlag:e.storeFlag,pageNum:e.currentPage,pageSize:e.pageSize};Object(l.b)("/haoban-manage3-web/department-recycle-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.total,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入部门名称/CODE/ID",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}}),a("el-select",{staticClass:"w-191 m-l-10",attrs:{placeholder:"所有部门类型"},on:{change:t.changeType},model:{value:t.storeFlag,callback:function(e){t.storeFlag=e},expression:"storeFlag"}},t._l(t.options,function(t){return a("el-option",{key:t.value+"type",attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"部门名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["iconfont-hb3 color-2f54eb",1==e.row.isStore?"icondianpu-kuai":"iconqiye-tianchong"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.departmentName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toRecover(e.$index,e.row)}}},[t._v("恢复")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])]),t._v(" "),t.setVisible?a("set-department",{attrs:{recoverItem:t.recoverItem},on:{closeSet:t.closeSet}}):t._e()],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是回收站?"),e("br"),this._v("GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。")])])])])}]};var u=a("VU/8")(o,c,!1,function(t){a("FLMi")},"data-v-76ee3008",null);e.default=u.exports}});
\ No newline at end of file
webpackJsonp([76],{Vdwv:function(t,e){},cD4x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),i=a("exGp"),s=a.n(i),o=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的补发卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.repairId)}).catch(function(){})},delCardList:function(t){var e=this,a={repairId:t};Object(u.g)("/haoban-app-customer-web/inner/delete-repair",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardPut?repairId="+e.repairId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardPut")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return s()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!1,n={wxEnterpriseId:a.wxEnterpriseId,pageNum:a.currentPage,pageSize:a.pageSize},Object(u.g)("/haoban-app-customer-web/inner/page-repair",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.result||[],void(a.total=e.result.totalCount);o.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","3"),this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[t._m(0),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增补发")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券组合名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardCombineName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券模板","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardTemplates)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("查看")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[this._v("内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发")])])}]};var g=a("VU/8")(d,p,!1,function(t){a("Vdwv")},"data-v-751436f6",null);e.default=g.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/64.f45138a59a2a0dfa781f.js
webpackJsonp([64],{KNi5:function(t,e){},z2RJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),o=s.n(a),i=s("PI0u"),l=s("Ch4/"),r=s("3E4D"),n=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],activeId:"1",setObj:{taskCallTypes:[],taskType:0,overDayJudge:"3",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(i.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallTypes:t.setObj.taskCallTypes.join(","),taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?l.a.errorMsg(s):r.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)l.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=o()({},s.result,{taskCallTypes: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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item flex"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"代理商户默认关闭双向呼叫功能,如需开通请联系达摩运营或实施进行开通",placement:"top-start","open-delay":200}},[s("span",{staticClass:"set-line-item_title text-right m-r-4"},[s("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px","border-bottom":"1px dashed rgb(47, 84, 235)"}},[t._v("不良评价拨打")]),t._v(":")])]),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{class:["tooltips",t.setObj.taskCallTypes.includes(e.value)?"color-303133":"color-606266"]},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(t){s("KNi5")},"data-v-803bf094",null);e.default=u.exports}});
=======
webpackJsonp([77],{g9l9:function(t,e){},z2RJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),o=s.n(a),i=s("PI0u"),l=s("Ch4/"),r=s("3E4D"),n=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],activeId:"1",setObj:{taskCallTypes:[],taskType:0,overDayJudge:"3",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(i.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallTypes:t.setObj.taskCallTypes.join(","),taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?l.a.errorMsg(s):r.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(n.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)l.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=o()({},s.result,{taskCallTypes: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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item flex"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"代理商户默认关闭双向呼叫功能,如需开通请联系达摩运营或实施进行开通",placement:"top-start","open-delay":200}},[s("span",{staticClass:"set-line-item_title text-right m-r-4"},[s("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px","border-bottom":"1px dashed rgb(47, 84, 235)"}},[t._v("不良评价拨打")]),t._v(":")])]),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{class:["tooltips",t.setObj.taskCallTypes.includes(e.value)?"color-303133":"color-606266"]},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(t){s("g9l9")},"data-v-74784215",null);e.default=u.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/77.3755e506e2e6ccb2f4e0.js
webpackJsonp([78],{"6ynr":function(e,t){},Yz8m:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访记录",path:"/badEvaluateRecord"},{id:"2",name:"记录详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={taskType:0,storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,isAll:t.selectRadio};Object(c.g)("/haoban-app-tel-task-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId,brandId:a.activeBrand};Object(c.b)("/haoban-app-tel-task-web/task/del-one",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand,taskType:0};Object(c.b)("/haoban-app-tel-task-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo?a.result.pageInfo.total:0);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark",height:e.tableH},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v(e._s(t.row?"完成备注":"放弃备注"))])]}},{key:"default",fn:function(e){return[a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:e.row.reason}},[a("i",{staticClass:"iconfont-hb3 icon-beizhu"})])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["已完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?t.row.reason:""}},[a("i",{staticClass:"iconfont-hb3 icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"放弃备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["未完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?"":t.row.reason}},[a("i",{staticClass:"iconfont-hb3 icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var m=a("VU/8")(f,p,!1,function(e){a("6ynr")},"data-v-74413d71",null);t.default=m.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/81.45b9294a9c41214d9a2d.js
webpackJsonp([81],{YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("fZjL"),n=a.n(i),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.g)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.g)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示").then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",i).then(function(t){var i=t.data;if(1==i.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(i)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo?a.result.pageInfo.total:0);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.init()},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.multipleDelTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.multipleDelTask,type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]):e._e()],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){return e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"first-item font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.delTask)?a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble&&e.$getButtonLimit(e.$buttonCode.delTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.delTask,type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("aKZF")},"data-v-5a03e016",null);t.default=u.exports},aKZF:function(e,t){}});
=======
webpackJsonp([79],{YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("fZjL"),n=a.n(i),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.g)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.g)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示").then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",i).then(function(t){var i=t.data;if(1==i.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(i)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo?a.result.pageInfo.total:0);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.init()},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.multipleDelTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.multipleDelTask,type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]):e._e()],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){return e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"first-item font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.delTask)?a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble&&e.$getButtonLimit(e.$buttonCode.delTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.delTask,type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("g7mR")},"data-v-73231a2d",null);t.default=u.exports},g7mR:function(e,t){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/79.c367f2170b933640c5fb.js
webpackJsonp([8,55,81,84,88,96],{"2WGr":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},n={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.startTitle)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.startTitle))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":"")),i("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),i("div",{staticClass:"b-t-1 flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.endTitle)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.endTitle))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var s=i("VU/8")(a,n,!1,function(e){i("csI9")},"data-v-7040e068",null);t.default=s.exports},"8dpP":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},n={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.title)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))]),e._v(" "),i("div",{staticClass:"must"},[e._v(e._s(e.childItem.isMust?"(必填)":""))]),e._v(" "),e._m(0)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"draged-item-show"},[t("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t("i",{staticClass:"iconfont-hb3 icon-icon"})])])}]};var s=i("VU/8")(a,n,!1,function(e){i("ut2q")},"data-v-e9ece5a0",null);t.default=s.exports},FQZX:function(e,t){},LTPC:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("//Fk"),n=i.n(a),s=i("Gu7T"),l=i.n(s),r=i("gBtx"),c=i.n(r),o=i("mvHQ"),d=i.n(o),u=i("w/TU"),p=i.n(u),m=i("Isrn"),h=i("l46T"),f=i("8dpP"),v=i("rYZf"),g=i("2WGr"),_=i("zHtI"),y=i("O3gZ"),b=i("fPyK"),C=i("fZjL"),I=i.n(C),x={props:{templateObj:{type:[Array,Object],default:function(){return{}}},storeList:{type:[Array,Object],default:function(){return[]}}},data:function(){return{setVisible:!0,rules:{title:[{required:!0,message:"请输入模板名称",trigger:"blur"}],description:[{required:!0,message:"请输入模板描述",trigger:"blur"}],storeType:[{required:!0,message:"请选择门店类型",trigger:"change"}]},ruleForm:{title:"",description:"",storeType:""}}},computed:{},watch:{templateObj:function(e){I()("val").length&&(this.ruleForm=JSON.parse(d()(e)))}},methods:{handleClose:function(e){e(),this.$emit("closeSet","close"),this.selectId=""},cancel:function(){this.$emit("closeSet","close"),this.selectId=""},submitForm:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return console.log("error submit!!"),!1;t.$emit("closeSet",t.ruleForm)})}},components:{limitInput:h.a},mounted:function(){this.ruleForm=JSON.parse(d()(this.templateObj))}},w={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{width:"600px",title:"模板设置",visible:e.setVisible,"append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.setVisible=t}}},[i("div",{staticClass:"m-t-20"},[i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[i("el-form-item",{attrs:{label:"模板名称",prop:"title"}},[i("limitInput",{attrs:{inputWidth:340,inputValue:e.ruleForm.title,holder:"",disflag:!1,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){return e.$set(e.ruleForm,"title",t)},"update:input-value":function(t){return e.$set(e.ruleForm,"title",t)}}})],1),e._v(" "),i("el-form-item",{attrs:{label:"模板描述",prop:"description"}},[i("limitInput",{attrs:{inputWidth:340,inputValue:e.ruleForm.description,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){return e.$set(e.ruleForm,"description",t)},"update:input-value":function(t){return e.$set(e.ruleForm,"description",t)}}})],1),e._v(" "),i("el-form-item",{attrs:{label:"门店类型",prop:"storeType"}},e._l(e.storeList,function(t,a){return i("div",{key:t.name+a,staticClass:"store-type-cell m-b-20"},[i("el-radio",{attrs:{label:t.id,disabled:t.disabled},model:{value:e.ruleForm.storeType,callback:function(t){e.$set(e.ruleForm,"storeType",t)},expression:"ruleForm.storeType"}},[e._v(e._s(t.name))])],1)}),0)],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var k=i("VU/8")(x,w,!1,function(e){i("dy5a")},"data-v-6c2a73fe",null).exports,T=i("3E4D"),F=i("Ch4/"),$=i("PI0u"),M=i("P9l9"),O={name:"customSetTemplate",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:1,activeName:"first",enterpriseId:this.brandId,rightWidth:"-350px",rightName:"second",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)-277+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},templateId:"",oparateType:"",counter:1,selectKey:"",tradeInfo:[],personInfo:[],goodsInfo:[],competeInfo:[],defineInfo:[],currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[],setList:[],templateObj:{title:"",description:"",storeType:"",momory:[]},storeList:[{id:"0",name:"自营门店",disabled:!1},{id:"1",name:"联营门店",disabled:!1},{id:"2",name:"代理门店",disabled:!1},{id:"3",name:"代销门店",disabled:!1},{id:"4",name:"托管门店",disabled:!1}],setVisible:!1,loadingBtn:!1}},methods:{templateSet:function(){this.setVisible=!0},closeSet:function(e){if(this.setVisible=!1,"close"==e)return!1;this.templateObj=e},changeTab:function(e){this.activeTab=e,this.activeName=2==e?"five":"first"},getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)},cloneItem:function(e){var t=JSON.parse(d()(e));return t.cid="c"+this.counter,t.systemFlag||(t.name.includes("textc")&&(t.name="textc"+this.counter),t.name.includes("paragraphc")&&(t.name="paragraphc"+this.counter),t.name.includes("numberc")&&(t.name="numberc"+this.counter),t.name.includes("checkboxesOrRadioc")&&(t.name="checkboxesOrRadioc"+this.counter),t.name.includes("datec")&&(t.name="datec"+this.counter),t.name.includes("dateareac")&&(t.name="dateareac"+this.counter),t.name.includes("picc")&&(t.name="picc"+this.counter),t.name.includes("introductionc")&&(t.name="introductionc"+this.counter),t.name.includes("pricec")&&(t.name="pricec"+this.counter),t.name.includes("groupc")&&(t.name="groupc"+this.counter,t.title=""+t.title+this.counter)),t},onMove:function(e){var t=e.draggedContext.element;return!this.tempaletDataList.map(function(e){return e.name}).includes(t.name)&&!t.fixed},onChildMove:function(e){var t=!0;return-1!=e.dragged.className.indexOf("block-class")&&-1!=e.to.className.indexOf("block-wrap")&&(t=!1),t},itemMoveEnd:function(e){var t=this;function i(e){t[e].forEach(function(e,i){e.name==t.selectKey&&(e.fixed=!0)})}t.isDragging=!1,t.selectKey="",t.selectKey=e.clone.dataset.name,t.tempaletDataList.forEach(function(e,a){e.name==t.selectKey&&i(e.parentCode),e.children&&e.children.forEach(function(e,a){e.name==t.selectKey&&i(e.parentCode)})}),t.selectKey="",t.tempaletDataList=JSON.parse(d()(t.tempaletDataList)),t.$forceUpdate(),t.counter=t.counter+1},selectItem:function(e,t){this.rightWidth="0",this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t,i,a){var n=this;if(n.tempaletDataList.splice(i,1),n.currentIndex--,n.currentIndex<=0&&(n.currentIndex=0),!a.systemFlag)return a.name.includes("groupc")&&a.children.length&&a.children.forEach(function(e){e.systemFlag&&n[e.parentCode].forEach(function(t){t.name==e.name&&(t.fixed=!1)})}),!1;n[t].forEach(function(t,i){t.name==e&&(t.fixed=!1)})},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,a){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,a,n){if(this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].name,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(d()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),!n.systemFlag)return!1;this[n.parentCode].forEach(function(t,i){t.name===e&&(t.fixed=!1)})},delChildItem:function(e,t,i){i.list.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){i.list.push({value:"选项"+(t+2),key:t+2});var a=i.list.map(function(e){return e.value});this.isRepeat(a)&&(i.list.splice(i.list.length-1,1),a.splice(i.list.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeMust:function(e,t,i){t&&i.list.forEach(function(t){t.isMust=!!e})},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e){if(""==e.title)return t.filedFlag=!1,t.name=e.title||"",!1;i.push(e.title),e.hasOwnProperty("children")&&e.children.length&&e.children.forEach(function(e){if(e.systemFlag&&""==e.title)return t.filedFlag=!1,t.name=e.title||"",!1;i.push(e.title)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},checkTemplateObj:function(){var e=!0;return this.templateObj.title&&this.templateObj.description&&this.templateObj.storeType||(e=!1),e},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:Object($.a)(function(e){if(!this.checkTemplateObj())return this.$message.error({duration:1e3,message:"请完善模板设置内容"}),!1;var t=JSON.parse(d()(this.tempaletDataList)),i=this.checkTag(t);if(!i.filedFlag)return this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"}),!1;if(i.filedRepeat)this.$message.error({duration:1e3,message:"字段标题不能重复"});else{if(t.forEach(function(e,t){e.sort=t,e.isMust=e.isMust?1:0,e.memory=e.memory?1:0,e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=e.openCapitalize?1:0),e.hasOwnProperty("list")&&e.list.forEach(function(e){e.isMust=e.isMust?1:0}),e.hasOwnProperty("children")&&(e.children.forEach(function(e,t){e.sort=t,e.isMust=e.isMust?1:0,e.memory=e.memory?1:0,e.hasOwnProperty("list")&&e.list.forEach(function(e){e.isMust=e.isMust?1:0}),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=e.openCapitalize?1:0)}),e.list=e.children)}),!t.length)return this.$message.error({duration:1e3,message:"请先配置字段"}),!1;this.loadingBtn=!0,"save"===e?this.saveAllData(t):this.postPreview(t)}},500),saveAllData:function(e){var t=this,i=this,a={status:1,enterpriseId:i.enterpriseId,templateContent:d()(e),title:i.templateObj.title,description:i.templateObj.description,storeType:i.templateObj.storeType,memory:[]};Object(M.g)("/haoban-app-daily-three-web/daily/save-define-template",a).then(function(e){var a=e.data;if(i.loadingBtn=!1,1==a.errorCode)return T.a.showmsg("保存成功","success"),void t.$router.go(-1);F.a.errorMsg(a)}).catch(function(e){i.loadingBtn=!1,i.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateType:1,enterpriseId:t.enterpriseId,templateContent:d()(e)};Object(M.g)("/haoban-app-daily-three-web/daily/preview-template",i).then(function(e){var i=e.data;if(t.loadingBtn=!1,1==i.errorCode){var a=window.location.origin+"/office-mobile/#/defineTemplate?enterpriseId="+t.enterpriseId+"&templateId="+i.result;return t.$refs.qrcodePreview.qrcode(a,"daily-preview"),void(t.dialogVisible=!0)}F.a.errorMsg(i)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},closeDialog:function(){this.dialogVisible=!1},getHasStores:function(){var e=this;Object(M.g)("/haoban-app-daily-three-web/daily/has-defined-template-store-type",{enterpriseId:e.enterpriseId}).then(function(t){var i=t.data;1!=i.errorCode?F.a.errorMsg(i):e.storeList.forEach(function(t){i.result&&i.result.length&&i.result.includes(c()(t.id))&&(t.disabled=!0),"edit"==e.oparateType&&e.storeType==t.id&&(t.disabled=!1)})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getAllFields:function(e){var t=this;Object(M.g)("/haoban-app-daily-three-web/daily/get-template-items",{enterpriseId:t.enterpriseId,type:e}).then(function(i){var a=i.data;if(1==a.errorCode)return a.result.forEach(function(t){t.isMust=!!t.isMust,t.memory=!!t.memory,t.title=t.title.trim(),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=!!t.openCapitalize),t.hasOwnProperty("list")&&t.list&&t.list.length&&t.list.forEach(function(e){e.isMust=!!e.isMust}),t.systemFlag=3!=e,t.name.includes("groupc")&&(t.children=[])}),void(3==e?t.defineInfo=a.result:t.handleAllFields(a.result));F.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e){e.fixed=!1,1==e.classify&&(e.parentCode="tradeInfo",t.tradeInfo.push(e)),2==e.classify&&(e.parentCode="personInfo",t.personInfo.push(e)),3==e.classify&&(e.parentCode="goodsInfo",t.goodsInfo.push(e)),4==e.classify&&(e.parentCode="competeInfo",t.competeInfo.push(e))})},getInfo:function(){var e=this;Object(M.g)("/haoban-app-daily-three-web/daily/get-define-template",{templateId:e.templateId}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],i.result&&(e.templateObj.title=i.result.title,e.templateObj.description=i.result.description,e.storeType="edit"==e.oparateType?String(i.result.storeType):"",e.templateObj.storeType="edit"==e.oparateType?String(i.result.storeType):"",i.result.templateContent&&i.result.templateContent.length&&e.handleGetInfo(i.result.templateContent)),void e.getHasStores();F.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(d()(e));t.cids=[],t.setParent=[],i.forEach(function(e,i){e.title=e.title.trim(),e.isMust=!!e.isMust,e.memory=!!e.memory,e.name.includes("textc")||e.name.includes("paragraphc")||e.name.includes("numberc")||e.name.includes("checkboxesOrRadioc")||e.name.includes("datec")||e.name.includes("dateareac")||e.name.includes("picc")||e.name.includes("introductionc")||e.name.includes("pricec")||e.name.includes("groupc")?(e.systemFlag=!1,e.parentCode="defineInfo"):(t.setParent.push(e.name),e.systemFlag=!0,1==e.classify&&(e.parentCode="tradeInfo"),2==e.classify&&(e.parentCode="personInfo"),3==e.classify&&(e.parentCode="goodsInfo"),4==e.classify&&(e.parentCode="competeInfo")),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=!!e.openCapitalize),e.hasOwnProperty("list")&&e.list&&e.list.length&&(e.list.forEach(function(i){(i.isMust=!!i.isMust,e.name.includes("groupc"))&&(i.isMust=!!i.isMust,i.memory=!!i.memory,i.name.includes("textc")||i.name.includes("paragraphc")||i.name.includes("numberc")||i.name.includes("checkboxesOrRadioc")||i.name.includes("datec")||i.name.includes("dateareac")||i.name.includes("picc")||i.name.includes("introductionc")||i.name.includes("pricec")||i.name.includes("groupc")?i.systemFlag=!1:(t.setParent.push(i.name),i.systemFlag=!0,1==i.classify&&(i.parentCode="tradeInfo"),2==i.classify&&(i.parentCode="personInfo"),3==i.classify&&(i.parentCode="goodsInfo"),4==i.classify&&(i.parentCode="competeInfo")))}),e.name.includes("groupc")&&(e.children=e.list)),t.cids.push(c()(e.cid.match(/\d+/g))),e.hasOwnProperty("children")&&e.children.forEach(function(e){e.isMust=!!e.isMust,e.memory=!!e.memory,t.cids.push(c()(e.cid.match(/\d+/g)))})}),t.counter=Math.max.apply(Math,l()(t.cids)),t.tempaletDataList=i,setTimeout(function(){t.setFixed()},500)},setFixed:function(){var e=this;["tradeInfo","personInfo","goodsInfo","competeInfo"].forEach(function(t){e[t].forEach(function(t){e.setParent.includes(t.name)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})},brandId:function(e,t){var i=this;if(e){i.enterpriseId=e,i.counter=1,i.tradeInfo=[],i.personInfo=[],i.goodsInfo=[],i.competeInfo=[],i.defineInfo=[],i.currentChildKey=null,i.currentChildIndex=null,i.childIndex=0,i.currentIndex=0,i.tempaletDataList=[],i.setList=[],i.templateObj={title:"",description:"",storeType:"",momory:[]};var a=i.$route.query;n.a.all([i.getAllFields(2)]).then(function(e){i.getAllFields(3),a.hasOwnProperty("type")&&"copy"==a.type?(i.templateId=a.templateId,i.oparateType=a.type,i.getInfo()):i.getHasStores()}).catch(function(e){console.log(e)})}}},components:{draggable:p.a,AddInput:m.a,limitInput:h.a,imageCom:f.default,selectCom:v.default,dateRangeCom:g.default,inputCom:_.default,blockCom:y.default,qrcodeDialog:b.a,customSet:k},mounted:function(){var e=this;document.documentElement.style.backgroundColor="#f0f2f5";var t=e.$route.query;e.$emit("showTab","32","copy"===t.type?"322":t.templateId?"321":"322"),n.a.all([e.getAllFields(2)]).then(function(i){e.getAllFields(3),t.hasOwnProperty("templateId")?(e.templateId=t.templateId,e.oparateType=t.type,e.getInfo()):e.getHasStores()}).catch(function(e){console.log(e)}),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},L={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"template-wrap",staticStyle:{"min-height":"calc(100vh - 114px)"}},[a("div",{staticClass:"template-contain"},[a("div",{staticClass:"template-head"},[a("div",{staticClass:"template-title flex-1"}),e._v(" "),a("div",{staticClass:"template-btns flex-1 flex-r"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:e.templateSet}},[e._v("模板设置")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){return e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),a("div",{staticClass:"template-body"},[a("div",{staticClass:"template-cell template-cell-l"},[a("div",{staticClass:"flex"},[a("div",{class:["template-cell-title font-14 ",1==e.activeTab?"color-3033133":"color-606266"],on:{click:function(t){return e.changeTab("1")}}},[e._v("系统字段")]),e._v(" "),a("span",{staticClass:"p-l-15 color-dedfe6"},[e._v("|")]),e._v(" "),a("div",{class:["template-cell-title font-14 ",2==e.activeTab?"color-3033133":"color-606266"],on:{click:function(t){return e.changeTab("2")}}},[e._v("自定义字段")])]),e._v(" "),a("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[1==e.activeTab?a("el-tab-pane",{attrs:{label:"交易",name:"first"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.tradeInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.tradeInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name,"aria-hidden":"true"}},[a("span",[e._v(e._s(t.title))])])}),0)],1)]):e._e(),e._v(" "),1==e.activeTab?a("el-tab-pane",{attrs:{label:"人员",name:"second"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.personInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name}},[a("span",[e._v(e._s(t.title))])])}),0)],1)]):e._e(),e._v(" "),1==e.activeTab?a("el-tab-pane",{attrs:{label:"商品",name:"third"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.goodsInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.goodsInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name}},[a("span",[e._v(e._s(t.title))])])}),0)],1)]):e._e(),e._v(" "),1==e.activeTab?a("el-tab-pane",{attrs:{label:"竞品",name:"four"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.competeInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.competeInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name}},[a("span",[e._v(e._s(t.title))])])}),0)],1)]):e._e(),e._v(" "),2==e.activeTab?a("el-tab-pane",{attrs:{label:"自定义字段",name:"five"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,clone:e.cloneItem,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.defineInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":"",11==t.type?"block-class":""],attrs:{"data-type":t.fieldCode}},[0==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),1==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),2==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),3==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),4==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),5==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),6==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),7==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),9==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),10==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),11==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),0==t.type?a("i",{staticClass:"bg-icon bg-icon-one"}):e._e(),e._v(" "),1==t.type?a("i",{staticClass:"bg-icon bg-icon-two"}):e._e(),e._v(" "),2==t.type?a("i",{staticClass:"bg-icon bg-icon-three"}):e._e(),e._v(" "),3==t.type?a("i",{staticClass:"bg-icon bg-icon-four"}):e._e(),e._v(" "),4==t.type?a("i",{staticClass:"bg-icon bg-icon-five"}):e._e(),e._v(" "),5==t.type?a("i",{staticClass:"bg-icon bg-icon-six"}):e._e(),e._v(" "),6==t.type?a("i",{staticClass:"bg-icon bg-icon-seven"}):e._e(),e._v(" "),7==t.type?a("i",{staticClass:"bg-icon bg-icon-eight"}):e._e(),e._v(" "),9==t.type?a("i",{staticClass:"bg-icon bg-icon-ten"}):e._e(),e._v(" "),10==t.type?a("i",{staticClass:"bg-icon bg-icon-eleven"}):e._e(),e._v(" "),11==t.type?a("i",{staticClass:"bg-icon bg-icon-twelve"}):e._e()])}),0)],1)]):e._e()],1)],1),e._v(" "),a("div",{staticClass:"template-cell template-cell-m"},[a("div",{staticClass:"phone-view"},[a("div",{staticClass:"phone-show-content"},[a("div",{staticClass:"drag-show-content"},[a("div",{staticClass:"view-container"},[a("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[a("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),a("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return a("li",{key:"li1"+i,class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(a){return e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?a("span",{staticClass:"item-close p-item-close",on:{click:function(a){return a.stopPropagation(),e.deleteItem(t.name,t.parentCode,i,t)}}},[a("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),t.systemFlag||!t.name.includes("groupc")?a("div",[1==t.type||2==t.type||3==t.type||10==t.type||9==t.type?a("input-com",{attrs:{childItem:t}}):e._e(),e._v(" "),4==t.type||5==t.type?a("select-com",{attrs:{childItem:t}}):e._e(),e._v(" "),6==t.type?a("date-range-com",{attrs:{childItem:t}}):e._e(),e._v(" "),7==t.type?a("image-com",{attrs:{childItem:t}}):e._e(),e._v(" "),"11"==t.type?a("block-com",{attrs:{childItem:t}}):e._e()],1):e._e(),e._v(" "),[t.name.includes("groupc")?a("div",{staticClass:"block"},[a("div",{staticClass:"block-head"},[a("div",{class:["opencard-item-title",e.getZhLen(t.title)>=6?"title-pre-wrap":""]},[e._v(e._s(t.title))])]),e._v(" "),a("ul",{staticClass:"view-content"},[a("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(n,s){return a("li",{key:"li"+s,class:["filed-item","child-filed-item",e.currentChildKey==n.name&&e.currentChildIndex==s?"active-item":""],on:{click:function(a){return a.stopPropagation(),e.selectChildItem(n.name,i,s,t.children)}}},[a("span",{staticClass:"item-close child-item-close",on:{click:function(a){return a.stopPropagation(),e.deleteChildItem(n.name,i,s,t.children,n)}}},[a("i",{staticClass:"el-icon-close"})]),e._v(" "),4==n.type||5==n.type?a("select-com",{attrs:{childItem:n}}):e._e(),e._v(" "),6==n.type?a("date-range-com",{attrs:{childItem:n}}):e._e(),e._v(" "),7==n.type?a("image-com",{attrs:{childItem:n}}):e._e(),e._v(" "),1==n.type||2==n.type||3==n.type||10==n.type||9==n.type?a("input-com",{attrs:{childItem:n}}):e._e(),e._v(" "),"11"==n.type&&n.systemFlag?a("block-com",{attrs:{childItem:n}}):e._e()],1)}),0)],1)]):e._e()]],2)}),0)],2)])])])])]),e._v(" "),a("div",{staticClass:"template-cell template-cell-r define-template-tab",style:{right:e.rightWidth}},[a("div",{staticClass:"template-cell-title font-14 color-303133"},[e._v("控件设置")]),e._v(" "),a("div",{attrs:{label:"",name:"first"}},[a("div",{attrs:{id:"edit-box"}},[a("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex!=i||t.systemFlag||6==t.type?e._e():[a("div",{key:"child"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.title,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){return e.$set(t,"title",i)},"update:input-value":function(i){return e.$set(t,"title",i)}}}),e._v(" "),7==t.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v("\n 图片最多可添加9张\n ")]):e._e()],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||6!=t.type?e._e():[a("div",{key:"child62"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.startTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){return e.$set(t,"startTitle",i)},"update:input-value":function(i){return e.$set(t,"startTitle",i)}}})],1),e._v(" "),a("div",{key:"child64"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题2 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.endTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){return e.$set(t,"endTitle",i)},"update:input-value":function(i){return e.$set(t,"endTitle",i)}}})],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||11==t.type||5==t.type||7==t.type?e._e():[a("div",{key:"child1"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("提示文字最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){return e.$set(t,"placeholder",i)},"update:input-value":function(i){return e.$set(t,"placeholder",i)}}}),e._v(" "),2==t.type||9==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入500个字,可显示多行内容")]):e._e(),e._v(" "),1==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入100个字,仅可显示一行内容")]):e._e()],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||3!=t.type?e._e():[a("div",{key:"child11"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("单位最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){return e.$set(t,"placeholder",i)},"update:input-value":function(i){return e.$set(t,"placeholder",i)}}}),e._v(" "),a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最大限制为12位数")])],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||"4"!=t.type?e._e():[a("div",{key:"child111"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():a("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.list,function(n,s){return[a("div",{key:"child10"+s,staticClass:"margin-t-15 limit-w-340",style:0==s?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:300,inputValue:n.value,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){return e.$set(n,"value",t)},"update:input-value":function(t){return e.$set(n,"value",t)}}}),e._v(" "),!t.systemFlag&&t.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){return e.delChildItem(i,s,t)}}}):e._e(),e._v(" "),!t.systemFlag&&s<19?[s==t.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){return e.addChildItem(i,s,t)}}}):e._e()]:e._e()],2)]})],2),e._v(" "),a("div",{key:"parent22"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("选择框类型")]),e._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"item.chooseType"}},[e._v("单选")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"item.chooseType"}},[e._v("多选")])],1)])],e._v(" "),e.currentIndex!=i||t.systemFlag||5!=t.type&&6!=t.type?e._e():[a("div",{key:"child117"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"item.dateType"}},[e._v("\n 年-月-日 时 分\n ")]),e._v(" "),a("el-radio",{attrs:{label:0},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"item.dateType"}},[e._v("\n 年-月-日\n ")])],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||10!=t.type?e._e():[a("div",{key:"parent210"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("大写")]),e._v(" "),a("el-checkbox",{model:{value:t.openCapitalize,callback:function(i){e.$set(t,"openCapitalize",i)},expression:"item.openCapitalize"}},[e._v("显示大写")])],1)],e._v(" "),e.currentIndex!=i||t.name.includes("groupc")?e._e():[a("div",{key:"parent2"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("验证")]),e._v(" "),a("el-checkbox",{on:{change:function(i){return e.changeMust(i,!!t.list,t)}},model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"item.isMust"}},[e._v("必填")])],1)],e._v(" "),e.currentIndex!=i||"performanceKing"!=t.name&&"competitorInfo"!=t.name?e._e():[a("div",{key:"parent21"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("验证 是否必填")]),e._v(" "),a("div",{staticClass:"must-list"},e._l(t.list,function(t,i){return a("div",{key:"list"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"listItem.isMust"}},[e._v(e._s(t.title))])],1)}),0)])],e._v(" "),e.currentIndex!=i||t.name.includes("groupc")?e._e():[a("div",{key:"parent3"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("记忆")]),e._v(" "),a("el-checkbox",{model:{value:t.memory,callback:function(i){e.$set(t,"memory",i)},expression:"item.memory"}},[e._v("是否记忆")])],1)],e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(t,n){return[e.currentChildIndex!=n||t.systemFlag||6==t.type?e._e():[a("div",{key:"child"+n,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.title,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){return e.$set(t,"title",i)},"update:input-value":function(i){return e.$set(t,"title",i)}}}),e._v(" "),7==t.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v("\n 图片最多可添加9张\n ")]):e._e()],1)],e._v(" "),e.currentChildIndex!=n||t.systemFlag||6!=t.type?e._e():[a("div",{key:"child2"+n,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.startTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){return e.$set(t,"startTitle",i)},"update:input-value":function(i){return e.$set(t,"startTitle",i)}}})],1),e._v(" "),a("div",{key:"child4"+n,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题2 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.endTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){return e.$set(t,"endTitle",i)},"update:input-value":function(i){return e.$set(t,"endTitle",i)}}})],1)],e._v(" "),e.currentChildIndex!=n||t.systemFlag||5==t.type||7==t.type?e._e():[a("div",{key:"child1"+n,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("提示文字最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){return e.$set(t,"placeholder",i)},"update:input-value":function(i){return e.$set(t,"placeholder",i)}}}),e._v(" "),2==t.type||9==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入500个字,可显示多行内容")]):e._e(),e._v(" "),1==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入100个字,仅可显示一行内容")]):e._e()],1)],e._v(" "),e.currentChildIndex!=n||t.systemFlag||3!=t.type?e._e():[a("div",{key:"child6"+n,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("单位最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){return e.$set(t,"unit",i)},"update:input-value":function(i){return e.$set(t,"unit",i)}}}),e._v(" "),a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最大限制为12位数")])],1)],e._v(" "),e.currentChildIndex!=n||t.systemFlag||5!=t.type&&6!=t.type?e._e():[a("div",{key:"child7"+n,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"childItem.dateType"}},[e._v("\n 年-月-日 时 分\n ")]),e._v(" "),a("el-radio",{attrs:{label:0},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"childItem.dateType"}},[e._v("\n 年-月-日\n ")])],1)],e._v(" "),e.currentChildIndex!=n||t.systemFlag||"4"!=t.type?e._e():[a("div",{key:"child9"+n,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():a("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.list,function(n,s){return[a("div",{key:"child10"+s,staticClass:"margin-t-15 limit-w-340",style:0==s?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:300,inputValue:n.value,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){return e.$set(n,"value",t)},"update:input-value":function(t){return e.$set(n,"value",t)}}}),e._v(" "),!t.systemFlag&&t.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){return e.delChildItem(i,s,t)}}}):e._e(),e._v(" "),!t.systemFlag&&s<19?[s==t.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){return e.addChildItem(i,s,t)}}}):e._e()]:e._e()],2)]})],2),e._v(" "),a("div",{key:"child922"+n,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("选择框类型")]),e._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"childItem.chooseType"}},[e._v("单选")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"childItem.chooseType"}},[e._v("多选")])],1)])],e._v(" "),e.currentChildIndex!=n||t.systemFlag||10!=t.type?e._e():[a("div",{key:"child910"+n,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("大写")]),e._v(" "),a("el-checkbox",{model:{value:t.openCapitalize,callback:function(i){e.$set(t,"openCapitalize",i)},expression:"childItem.openCapitalize"}},[e._v("显示大写")])],1)],e._v(" "),e.currentChildIndex==n?[a("div",{key:"child11"+n,staticClass:"edit-item"},[a("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),a("el-checkbox",{on:{change:function(i){return e.changeMust(i,!!t.list,t)}},model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex!=n||"performanceKing"!=t.name&&"competitorInfo"!=t.name?e._e():[a("div",{key:"child111"+n,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("验证 是否必填")]),e._v(" "),a("div",{staticClass:"must-list"},e._l(t.list,function(t,i){return a("div",{key:"list111"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"listItem.isMust"}},[e._v(e._s(t.title))])],1)}),0)])],e._v(" "),e.currentChildIndex==n?[a("div",{key:"child12"+n,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("记忆")]),e._v(" "),a("el-checkbox",{model:{value:t.memory,callback:function(i){e.$set(t,"memory",i)},expression:"childItem.memory"}},[e._v("是否记忆")])],1)]:e._e()]})]:e._e()]})],2)])])])])]),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),e.setVisible?a("custom-set",{attrs:{templateObj:e.templateObj,storeList:e.storeList},on:{closeSet:e.closeSet}}):e._e()],1)},staticRenderFns:[]};var V=i("VU/8")(O,L,!1,function(e){i("zy2t")},"data-v-14decdbc",null);t.default=V.exports},O3gZ:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},n={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",e.childItem.title.length>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))])]),e._v(" "),i("ul",{staticClass:"view-content"},e._l(e.childItem.list,function(t,a){return i("li",{key:"performance"+a,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",t.title.length>=6?"title-pre-wrap":""]},[e._v(e._s(t.title))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[e._v(e._s(t.placeholder)+" "+e._s(t.isMust?"(必填)":""))])])])}),0),e._v(" "),"competitorInfo"==e.childItem.name?i("div",{staticClass:"compete-add"},[e._v("\n +竞品信息\n ")]):e._e()])},staticRenderFns:[]};var s=i("VU/8")(a,n,!1,function(e){i("Q9Uw")},"data-v-67147ae0",null);t.default=s.exports},Q9Uw:function(e,t){},Tvq6:function(e,t){},csI9:function(e,t){},dy5a:function(e,t){},rYZf:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},n={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.title)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var s=i("VU/8")(a,n,!1,function(e){i("Tvq6")},"data-v-67cc7786",null);t.default=s.exports},ut2q:function(e,t){},zHtI:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},n={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:[2==e.childItem.type?"h-66":""]},[9!=e.childItem.type?i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.title)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))]):e._e(),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==e.childItem.type?"15px":"0"}},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":""))])]),e._v(" "),10==e.childItem.type&&e.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[e._v("大写:壹万元整(示例)")]):e._e()])},staticRenderFns:[]};var s=i("VU/8")(a,n,!1,function(e){i("FQZX")},"data-v-4cfabcb1",null);t.default=s.exports},zy2t:function(e,t){}});
\ No newline at end of file
webpackJsonp([80],{M8Mj:function(e,a){},tF0P:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=t("mvHQ"),r=t.n(o),i=t("l46T"),n=t("Kkt8"),s=t("P9l9"),l=t("3E4D"),m=t("Ch4/"),p=t("PI0u"),c={name:"chat-log",props:{brandId:{type:String,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:n.a},data:function(){return{activeBrand:this.brandId,activeId:"3",commitName:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).staffName:"",wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",formData:{templateId:"",templateName:"",cardType:"0",cardApplicationChannel:["offlineStore"],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:""},rules:{templateName:[{required:!0,message:"请输入模板名称",trigger:"blur"}],cardApplicationChannel:[{type:"array",required:!0,message:"请至少选择一个卡券适用渠道",trigger:"change"}],cardDenomination:[{required:!0,message:"请输入减免金额",trigger:"blur"}],costValue:[{required:!0,message:"请输入成本费用",trigger:"blur"}],cardExplain:[{required:!0,message:"请输入适用门店说明",trigger:"blur"}],applicationStoreType:[{required:!0,message:"请选择适用门店",trigger:"change"}],useDescript:[{required:!0,message:"请输入使用说明",trigger:"blur"}],gicEnterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},cardSelectShow:!1,brandListData:[],chanelList:[],loadingBtn:!1}},methods:{changeEnterprise:function(){this.formData.cardApplicationChannel=[],this.getChanel()},getChanel:function(){var e=this,a={gicEnterpriseId:e.formData.gicEnterpriseId};Object(s.b)("/haoban-app-customer-web/inner/get-channel-type",a).then(function(a){var t=a.data;return 1==t.errorCode&&(e.chanelList=t.result||[],t.result.length&&!e.$route.query.templateId&&(e.formData.cardApplicationChannel=[t.result[0].value])),!1}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},changeTop:function(e){0==e&&(this.formData.limitTop=0)},cancelEdit:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(){})},submitForm:Object(p.a)(function(e,a){var t=this;return t.formData.fitGoodCheck&&!t.formData.fitGoodDes&&t.formData.noFitGoodDes?(t.$message.error({duration:1e3,message:"适用商品至少填写一项"}),!1):t.formData.minCostCheck&&!t.formData.minCost?(t.$message.error({duration:1e3,message:"请输入最低消费"}),!1):1!=t.formData.limitTopType||t.formData.limitTop?1!=t.formData.minGoodsType||t.formData.minApplicableGoods?1!=t.formData.maxGoodsType||t.formData.maxApplicableGoods?2!=t.formData.cardLimitType||t.formData.cardLimit?(t.loadingBtn=!0,void t.$refs[e].validate(function(e){e?t.postSaveCard(a):t.loadingBtn=!1})):(t.$message.error({duration:1e3,message:"请输入领券限制"}),!1):(t.$message.error({duration:1e3,message:"请输入最高适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入最低适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入封顶金额"}),!1)},1e3),postSaveCard:function(e){var a=this,t={sale_limit:{fee:0},goods:{ok:a.formData.fitGoodDes,no:a.formData.noFitGoodDes},only:a.formData.shareCheck?1:0,discount_amount_upper_limit:1==a.formData.cardType&&1==a.formData.limitTopType?a.formData.limitTop:0,goods_discounts_number_lower_limit:1==a.formData.minGoodsType?a.formData.minApplicableGoods:0,goods_discounts_number_upper_limit:1==a.formData.maxGoodsType?a.formData.maxApplicableGoods:0};a.formData.minCostCheck&&(t.sale_limit={fee:a.formData.minCost});var o={templateId:a.formData.templateId,templateName:a.formData.templateName,cardType:a.formData.cardType,cardApplicationChannel:a.formData.cardApplicationChannel.join(","),erpDemoCode:a.formData.erpDemoCode,cardColor:a.formData.cardColor,cardDenomination:a.formData.cardDenomination,minGoodsType:a.formData.minGoodsType,minApplicableGoods:a.formData.minApplicableGoods,maxGoodsType:a.formData.maxGoodsType,maxApplicableGoods:a.formData.maxApplicableGoods,limitTopType:a.formData.limitTopType,limitTop:a.formData.limitTop,useCondition:r()(t),cardLimitType:a.formData.cardLimitType,cardLimit:a.formData.cardLimit,costValue:a.formData.costValue,useCustomCode:a.formData.useCustomCode,cardExplain:a.formData.cardExplain,applicationStoreType:a.formData.applicationStoreType,useDescript:a.formData.useDescript,gicEnterpriseId:a.formData.gicEnterpriseId,commitName:a.commitName,wxEnterpriseId:a.wxEnterpriseId};Object(s.g)((a.$route.query.templateId,"/haoban-app-customer-web/inner/save-template"),o).then(function(t){var o=t.data;a.loadingBtn=!1,1==o.errorCode&&(l.a.showmsg(a.$route.query.templateId?"编辑卡券模板成功":"新建卡券模板成功","success"),e?(a.formData={templateId:"",templateName:"",cardType:"0",cardApplicationChannel:[],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:a.brandListData[0].enterpriseId},a.getChanel()):a.$router.push("/cardTemplate")),m.a.errorMsg(o)}).catch(function(e){a.loadingBtn=!1,a.$message.error({duration:1e3,message:e.message})})},toReturn:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.push("/cardTemplate")}).catch(function(){})},changeRange:function(e){this.formData.selectList=[]},getCardData:function(){var e=this,a={templateId:e.$route.query.templateId};Object(s.b)("/haoban-app-customer-web/inner/find-template",a).then(function(a){var t=a.data;if(1==t.errorCode){var o=JSON.parse(t.result.useCondition);return e.formData={templateId:t.result.templateId,templateName:t.result.templateName,cardType:String(t.result.cardType),cardApplicationChannel:t.result.cardApplicationChannel.split(",")||[],erpDemoCode:t.result.erpDemoCode,cardColor:t.result.cardColor,cardDenomination:t.result.cardDenomination,limitTopType:String(t.result.limitTopType),limitTop:t.result.limitTop,minGoodsType:String(t.result.minGoodsType),minApplicableGoods:t.result.minApplicableGoods,maxGoodsType:String(t.result.maxGoodsType),maxApplicableGoods:t.result.maxApplicableGoods,minCostCheck:!!o.sale_limit.fee,minCost:o.sale_limit.fee?o.sale_limit.fee:"1",shareCheck:!!o.only,fitGoodCheck:!(!o.goods.ok&&!o.goods.no),fitGoodDes:o.goods.ok,noFitGoodDes:o.goods.no,cardLimitType:String(t.result.cardLimitType),cardLimit:t.result.cardLimit,costValue:t.result.costValue,useCustomCode:String(t.result.useCustomCode),cardExplain:t.result.cardExplain,applicationStoreType:String(t.result.applicationStoreType),useDescript:t.result.useDescript,gicEnterpriseId:t.result.gicEnterpriseId},e.getChanel(),!1}m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},getBrandData:function(){var e=this;Object(s.g)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(a){var t=a.data;if(1==t.errorCode)return e.brandListData=t.result||[],void(t.result.length&&!e.$route.query.templateId&&(e.formData.gicEnterpriseId=t.result[0].enterpriseId,e.getChanel()));m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(e,a){e&&this.$route.query.templateId&&(this.activeBrand=e)}},mounted:function(){var e=this;e.$emit("showTab","1"),e.getBrandData(),e.$route.query.templateId&&e.$nextTick(function(){e.getCardData()})}},d={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("section",{staticClass:"common-right-wrap"},[t("div",{staticClass:"new-card-body border-box"},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"142px"}},[t("el-form-item",{attrs:{label:"卡券模板名称",prop:"templateName"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.templateName,getByType:"word",holder:"请输入卡券模板名称",maxLength:6},on:{"update:inputValue":function(a){return e.$set(e.formData,"templateName",a)},"update:input-value":function(a){return e.$set(e.formData,"templateName",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券类型",prop:"cardType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("抵金券")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("折扣券")])],1),e._v(" "),t("el-form-item",{attrs:{label:"选择商户",prop:"gicEnterpriseId"}},[t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.changeEnterprise},model:{value:e.formData.gicEnterpriseId,callback:function(a){e.$set(e.formData,"gicEnterpriseId",a)},expression:"formData.gicEnterpriseId"}},e._l(e.brandListData,function(e){return t("el-option",{key:e.enterpriseId,attrs:{label:e.enterpriseName,value:e.enterpriseId}})}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券适用渠道",prop:"cardApplicationChannel"}},[t("el-checkbox-group",{model:{value:e.formData.cardApplicationChannel,callback:function(a){e.$set(e.formData,"cardApplicationChannel",a)},expression:"formData.cardApplicationChannel"}},e._l(e.chanelList,function(a,o){return t("el-checkbox",{key:o+"chanel",attrs:{label:a.value}},[e._v(e._s(a.name))])}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"demo券号",prop:"erpDemoCode"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.erpDemoCode,getByType:"word",holder:"请输入demo券号",maxLength:200},on:{"update:inputValue":function(a){return e.$set(e.formData,"erpDemoCode",a)},"update:input-value":function(a){return e.$set(e.formData,"erpDemoCode",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券颜色",prop:"cardColor"}},[t("div",{staticClass:"card-color flex flex-space-between"},[t("span",[e._v(e._s(e.formData.cardColor))]),e._v(" "),t("el-color-picker",{model:{value:e.formData.cardColor,callback:function(a){e.$set(e.formData,"cardColor",a)},expression:"formData.cardColor"}})],1)]),e._v(" "),0==e.formData.cardType?t("el-form-item",{attrs:{label:"减免金额",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("输入大于0的整数")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"折扣额度",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:1,min:1,max:9.9,step:.1},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("折")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写1-9.9之间的数字")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"优惠金额封顶",prop:""}},[t("el-radio",{attrs:{label:"0"},on:{change:e.changeTop},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("不封顶")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("限制封顶")]),1==e.formData.limitTopType?t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.limitTop,callback:function(a){e.$set(e.formData,"limitTop",a)},expression:"formData.limitTop"}}):e._e(),e._v(" "),1==e.formData.limitTopType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]):e._e()],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:"最低适用商品件数",prop:"minGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("限制")]),1==e.formData.minGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minApplicableGoods,callback:function(a){e.$set(e.formData,"minApplicableGoods",a)},expression:"formData.minApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.minGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"最高适用商品件数",prop:"maxGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("限制")]),1==e.formData.maxGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.maxApplicableGoods,callback:function(a){e.$set(e.formData,"maxApplicableGoods",a)},expression:"formData.maxApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.maxGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"适用条件",prop:"minCostCheck"}},[t("div",[t("el-checkbox",{model:{value:e.formData.minCostCheck,callback:function(a){e.$set(e.formData,"minCostCheck",a)},expression:"formData.minCostCheck"}},[e._v("最低消费")]),t("el-input-number",{staticClass:"m-l-10",attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minCost,callback:function(a){e.$set(e.formData,"minCost",a)},expression:"formData.minCost"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元可用")])],1),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.fitGoodCheck,callback:function(a){e.$set(e.formData,"fitGoodCheck",a)},expression:"formData.fitGoodCheck"}},[e._v("适用商品")]),t("span",{staticClass:"font-14 color-909399"},[e._v("(至少填写一项)")])],1),e._v(" "),e.formData.fitGoodCheck?t("div",{staticClass:"fit-good border-box m-b-20"},[t("div",[t("div",{staticClass:"m-b-20 flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.fitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){return e.$set(e.formData,"fitGoodDes",a)},"update:input-value":function(a){return e.$set(e.formData,"fitGoodDes",a)}}})],1),e._v(" "),t("div",{staticClass:"flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("不适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.noFitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){return e.$set(e.formData,"noFitGoodDes",a)},"update:input-value":function(a){return e.$set(e.formData,"noFitGoodDes",a)}}})],1)])]):e._e(),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.shareCheck,callback:function(a){e.$set(e.formData,"shareCheck",a)},expression:"formData.shareCheck"}},[e._v("不与其他优惠共享")])],1)]),e._v(" "),t("el-form-item",{attrs:{label:"领券限制",prop:"cardLimitType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("1张/人")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("100张/人")]),e._v(" "),t("el-radio",{attrs:{label:"2"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("自定义")]),2==e.formData.cardLimitType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardLimit,callback:function(a){e.$set(e.formData,"cardLimit",a)},expression:"formData.cardLimit"}}):e._e(),e._v(" "),2==e.formData.cardLimitType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("张/人")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"成本费用",prop:"costValue"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.costValue,callback:function(a){e.$set(e.formData,"costValue",a)},expression:"formData.costValue"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写大于0的数字(限制两位小数)")])],1),e._v(" "),t("el-form-item",{attrs:{label:"code类型",prop:"useCustomCode"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.useCustomCode,callback:function(a){e.$set(e.formData,"useCustomCode",a)},expression:"formData.useCustomCode"}},[e._v("随机生成")])],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店说明",prop:"cardExplain"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.cardExplain,holder:"请输入适用门店说明",getByType:"word",maxLength:50},on:{"update:inputValue":function(a){return e.$set(e.formData,"cardExplain",a)},"update:input-value":function(a){return e.$set(e.formData,"cardExplain",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店",prop:"applicationStoreType"}},[t("el-radio",{attrs:{label:"1"},model:{value:e.formData.applicationStoreType,callback:function(a){e.$set(e.formData,"applicationStoreType",a)},expression:"formData.applicationStoreType"}},[e._v("所有门店")])],1),e._v(" "),t("el-form-item",{attrs:{label:"使用说明",prop:"useDescript"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.useDescript,holder:"请输入使用说明",getByType:"word",maxLength:500},on:{"update:inputValue":function(a){return e.$set(e.formData,"useDescript",a)},"update:input-value":function(a){return e.$set(e.formData,"useDescript",a)}}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.cancelEdit}},[e._v("取消")]),e._v(" "),t("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(a){return e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.templateId?"编辑":"新建"))]),e._v(" "),e.$route.query.templateId?e._e():t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1)])},staticRenderFns:[]};var u=t("VU/8")(c,d,!1,function(e){t("M8Mj")},"data-v-727bbf32",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([81],{YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("fZjL"),n=a.n(i),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.g)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.g)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示").then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",i).then(function(t){var i=t.data;if(1==i.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(i)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo?a.result.pageInfo.total:0);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.init()},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.multipleDelTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.multipleDelTask,type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]):e._e()],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){return e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"first-item font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.delTask)?a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble&&e.$getButtonLimit(e.$buttonCode.delTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.delTask,type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("aKZF")},"data-v-5a03e016",null);t.default=u.exports},aKZF:function(e,t){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/81.45b9294a9c41214d9a2d.js
webpackJsonp([81],{YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("fZjL"),n=a.n(i),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.g)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.g)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示").then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",i).then(function(t){var i=t.data;if(1==i.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(i)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo?a.result.pageInfo.total:0);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.init()},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.multipleDelTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.multipleDelTask,type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]):e._e()],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){return e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"first-item font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.delTask)?a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble&&e.$getButtonLimit(e.$buttonCode.delTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.delTask,type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("aKZF")},"data-v-5a03e016",null);t.default=u.exports},aKZF:function(e,t){}});
=======
webpackJsonp([79],{YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("fZjL"),n=a.n(i),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.g)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.g)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示").then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",i).then(function(t){var i=t.data;if(1==i.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(i)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo?a.result.pageInfo.total:0);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.init()},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.multipleDelTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.multipleDelTask,type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]):e._e()],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){return e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"first-item font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.delTask)?a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble&&e.$getButtonLimit(e.$buttonCode.delTask)?a("el-button",{attrs:{"limit-code":e.$buttonCode.delTask,type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("g7mR")},"data-v-73231a2d",null);t.default=u.exports},g7mR:function(e,t){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/79.c367f2170b933640c5fb.js
<<<<<<< HEAD:dist/static/js/69.f312b8be1f58d823d157.js
webpackJsonp([69],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
=======
webpackJsonp([81],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/81.ed9f776c33449e4502f5.js
webpackJsonp([82],{"+eVq":function(e,t){},VlR1:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("P9l9"),n=s("3E4D"),r=s("Ch4/"),o={name:"setting",data:function(){return{wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",clerkPhoneFlag:0,storeEditFlag:0}},methods:{submit:function(){var e=this,t={wxEnterpriseId:this.wxEnterpriseId,clerkPhoneFlag:this.clerkPhoneFlag,storeEditFlag:this.storeEditFlag};Object(a.g)("/haoban-manage3-web/setting/operation-setting/save-or-update",t).then(function(e){1==e.data.errorCode&&n.a.showmsg("保存成功","success"),r.a.errorMsg(e.data)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var e=this;Object(a.b)("/haoban-manage3-web/setting/get-operation-setting",{wxEnterpriseId:this.wxEnterpriseId}).then(function(t){var s=t.data.result||{},a=s.clerkPhoneFlag,n=s.storeEditFlag;e.clerkPhoneFlag=a||0,e.storeEditFlag=n||0}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",6),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},i={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"unreview-wrap common-set-wrap"},[s("div",{staticClass:"app-detail-pane border-box p-20"},[s("div",{staticClass:"m-b-20"},[s("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:e.clerkPhoneFlag,callback:function(t){e.clerkPhoneFlag=t},expression:"clerkPhoneFlag"}},[e._v("添加导购时,手机号必填")]),e._v(" "),s("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:勾选此项后,门店店长在好办移动端添加导购时,导购的手机号必填")])],1),e._v(" "),s("div",{staticClass:"m-t-46 m-l-25"},[s("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var l=s("VU/8")(o,i,!1,function(e){s("+eVq")},"data-v-6b670bb3",null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([83],{"6GLP":function(e,t){},txZy:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("Dd8w"),a=r.n(o),n=r("1fzb"),s=r("znzC"),m=r("P9l9"),i={components:{setActCode:n.default,SelectClerk:s.default},data:function(){return{loading:!1,form:{hmId:"",hmGroupId:"",passFlag:1,welcomeId:"",hmType:1,name:"",memberLabelId:"",memberLabelName:"",memberLabelStatus:-1,clerkList:[],welcomeType:1,hmUserNum:null}}},created:function(){this.$route.query.hmId&&(this.form.hmId=this.$route.query.hmId,this.getActCodeInfo())},methods:{onTypeChange:function(){this.form.name="",this.form.clerkList=[],this.form.hmUserNum=0},onChange:function(e){var t=this;this.form.hmUserNum=e.length,this.form.clerkList=e,""==this.form.name&&(this.form.name=e.map(function(e){return e.clerkName}).toString().slice(0,20)),this.$nextTick(function(){t.$refs.setActCodePage.getForm().validateField(["name","clerkList"])})},getActCodeInfo:function(){var e=this;this.loading=!0,Object(m.b)("/haoban-manage3-web/hm/qrcode/detail",{hmId:this.form.hmId}).then(function(t){e.form=t.data.result,e.form.welcomeId?e.form.welcomeType=1:e.form.welcomeType=2,e.form.hmUserNum=e.form.clerkList.length}).finally(function(){return e.loading=!1})},onSubmit:function(e){var t=this,r=a()({},e,this.form);r.clerkIdList=r.clerkList.map(function(e){return e.clerkId}),this.form.hmId?Object(m.f)("/haoban-manage3-web/hm/qrcode/update",r).then(function(e){if(0!=e.data.code)return t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1,t.$message.error(e.data.message);setTimeout(function(){t.$router.go(-1),t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1},1e3)}):Object(m.f)("/haoban-manage3-web/hm/qrcode/add",r).then(function(e){if(0!=e.data.code)return t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1,t.$message.error(e.data.message);setTimeout(function(){t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1,t.$router.go(-1)},1e3)})}}},l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("setActCode",{ref:"setActCodePage",attrs:{actCodeData:e.form},on:{sumbit:e.onSubmit},scopedSlots:e._u([{key:"typeCode",fn:function(){return[r("el-form-item",{attrs:{label:"活码类型",rules:[{required:!0,message:"请选择活码类型",trigger:"blur"}]}},[r("el-radio-group",{attrs:{disabled:!!e.form.hmId},on:{change:e.onTypeChange},model:{value:e.form.hmType,callback:function(t){e.$set(e.form,"hmType",t)},expression:"form.hmType"}},[r("el-radio",{attrs:{label:1}},[e._v("单人活码")]),e._v(" "),r("el-radio",{attrs:{label:2}},[e._v("多人活码")])],1)],1)]},proxy:!0},{key:"codeName",fn:function(){return[r("el-form-item",{attrs:{label:"活码名称",prop:"name",rules:[{required:!0,message:"请输入活码名称",trigger:"blur"}]}},[r("el-input",{staticClass:"w340",attrs:{placeholder:"请输入活码名称,默认使用成员名称",maxlength:"20","show-word-limit":""},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)]},proxy:!0},{key:"member",fn:function(){return[r("el-form-item",{attrs:{label:"关联导购",prop:"clerkList",rules:[{required:!0,message:"请选择使用成员",trigger:"blur"}]}},[1==e.form.hmType?r("p",{staticClass:"tabs"},[e._v("单人活码仅可选择一名成员")]):e._e(),e._v(" "),2==e.form.hmType?r("p",{staticClass:"tabs"},[e._v("若选择多名成员,则随机分配企微员工")]):e._e(),e._v(" "),r("select-clerk",{attrs:{"is-simple":1==e.form.hmType,multiple:2==e.form.hmType,data:e.form.clerkList,disabled:1==e.form.hmType&&!!e.form.hmId},on:{change:e.onChange}})],1)]},proxy:!0}])})],1)},staticRenderFns:[]};var c=r("VU/8")(i,l,!1,function(e){r("6GLP")},"data-v-69e10189",null);t.default=c.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/70.6788326f4b9204fc6c39.js
webpackJsonp([70],{Tvq6:function(t,e){},rYZf: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)}}},c={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 i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
=======
webpackJsonp([84],{Tvq6:function(t,e){},rYZf: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)}}},c={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 i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/84.3a3d94cb0710361148ba.js
webpackJsonp([85],{YQXN:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("/p6h"),s=e("eaYI"),n=e("P9l9"),l=e("ckKa"),c=e("Ch4/"),d={name:"act-code-detail-statistics",components:{dataDetail:i.default,newAddChart:s.default},props:{hmId:{type:String,default:function(){return""}},chartWidth:Number},mixins:[l.a],data:function(){return{loading:!1,dateList:[],overViewData:{addNumT:0,addNum:0,dateList:[]}}},methods:{explain:function(t){window.open(t)},getChartList:function(){var t=this,a={inFields:{hmId:t.hmId,startTime:t.dateDefault[0]+" 00:00:00",endTime:t.dateDefault[1]+" 23:59:59",type:t.dateKey>=2?2:1}};t.loading=!0,Object(n.f)("/haoban-manage3-web/hm/qrcode/detail-data-statistics",a).then(function(a){var e=a.data;if(t.loading=!1,0==e.code){var i=e.result||{addNumT:0,addNum:0,dateList:[]};return i.dateList.map(function(t,a){t["新增人数"]=t.addNum}),void(t.overViewData=i)}c.a.errorMsg(e)}).catch(function(a){t.loading=!1,t.$message.error({duration:1e3,message:a.message})})},onDateChange:function(){this.dateKey=-1,this.getChartList()}},mounted:function(){this.btnChange(0)}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-detail-wrap"},[e("div",[e("div",{staticClass:"flex justify-between title"},[t._m(0),t._v(" "),e("div",{staticClass:"flex"},[e("el-button",{directives:[{name:"jumpLink",rawName:"v-jumpLink:codeGl",arg:"codeGl"}],attrs:{type:"text"}},[e("i",{staticClass:"iconfont-hb3 iconzhibiaoshuoming m-r-6"}),t._v("指标说明")])],1)]),t._v(" "),e("ul",{staticClass:"flex"},[e("li",{staticClass:"data-total-cell m-r-22"},[e("div",{staticClass:"flex p-20"},[t._m(1),t._v(" "),e("div",{staticClass:"m-l-16"},[e("div",{staticClass:"font-14 color-606266 line-20"},[t._v("添加好友人数")]),t._v(" "),e("span",{staticClass:"font-30 font-din",staticStyle:{"margin-top":"1"}},[t._v(t._s(t.overViewData.addNumT||0))])])])]),t._v(" "),e("li",{staticClass:"data-total-cell"},[e("div",{staticClass:"flex p-20"},[t._m(2),t._v(" "),e("div",{staticClass:"m-l-16"},[e("div",{staticClass:"font-14 color-606266 line-20"},[t._v("今日新增人数")]),t._v(" "),e("span",{staticClass:"font-30 font-din",staticStyle:{"margin-top":"1"}},[t._v(t._s(t.overViewData.addNum||0))])])])])]),t._v(" "),e("div",{staticClass:"flex justify-end"},[e("div",{staticClass:"rightBox"},[t._l(t.dateLis,function(a,i){return e("ul",{key:a.key,staticClass:"datebox"},[e("li",{staticClass:"dateLisBox",class:t.dateKey==i?"activeClass":"noActive",on:{click:function(a){return t.btnChange(i)}}},[t._v(t._s(a.value))])])}),t._v(" "),e("el-date-picker",{staticClass:"w256",attrs:{type:"daterange","range-separator":"~","start-placeholder":"创建开始日期","end-placeholder":"创建结束日期","default-time":["00:00:00","23:59:59"],"picker-options":t.pickerOptions(),"value-format":"yyyy-MM-dd",format:[2,3,4].includes(t.dateKey)?"yyyy-MM":"yyyy-MM-dd",clearable:!1},on:{change:t.onDateChange},model:{value:t.dateDefault,callback:function(a){t.dateDefault=a},expression:"dateDefault"}})],2)]),t._v(" "),e("new-add-chart",{attrs:{"chart-width":t.chartWidth,charData:t.overViewData.dateList,id:"new-add-chart"}})],1),t._v(" "),e("div",[e("div",{staticClass:"flex justify-between title"},[t._m(3),t._v(" "),e("div",{staticClass:"flex"},[e("el-button",{directives:[{name:"jumpLink",rawName:"v-jumpLink:codeCkmx",arg:"codeCkmx"}],attrs:{type:"text"}},[e("i",{staticClass:"iconfont-hb3 iconzhibiaoshuoming m-r-6"}),t._v("指标说明")])],1)]),t._v(" "),e("data-detail",{attrs:{id:t.hmId}})],1)])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"flex"},[a("div",{staticClass:"blue-block"}),this._v(" "),a("span",{staticClass:"font-w-500 color-303133"},[this._v("概览")])])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"icon-background"},[a("i",{staticClass:"iconfont-hb3 iconxinzengyonghu color-1890ff font-28"})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"icon-background",staticStyle:{background:"#d9f3fd"}},[a("i",{staticClass:"iconfont-hb3 iconxinzengyonghu color-35C4FC font-28"})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"flex"},[a("div",{staticClass:"blue-block"}),this._v(" "),a("span",{staticClass:"font-w-500 color-303133"},[this._v("查看明细")])])}]};var r=e("VU/8")(d,o,!1,function(t){e("rfDw")},"data-v-67b1e6aa",null);a.default=r.exports},rfDw:function(t,a){}});
\ No newline at end of file
webpackJsonp([86],{"4QyY":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),o=e("Qie6"),r=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",defaultNavpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navName:{11:"云日报-云日报记录",111:"云日报-记录详情",12:"云日报导出",2:"任务下发设置",3:"云日报设置",31:"云日报设置-系统报表",32:"云日报设置-自定义报表",321:"编辑模板",322:"新建模板"},navFrontPath:{11:"/dailyRecord",111:"/dailyRecord",12:"/dailyRecord",2:"/dailyRecord",31:"/dailyRecord",32:"/dailyRecord",321:"/customReport",322:"/customReport"},tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?s.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(a){var t=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=a,this.activeSelTab=a;var n=[].concat(i()(this.defaultNavpath));e.length&&e.map(function(a){n[n.length-1].path=t.navFrontPath[a],n.push({name:t.navName[a],path:""})}),this.$nextTick(function(){return t.navpath=[].concat(n)})},changeNavShow:function(a){"/dailyDetail"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},l={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.activeBrand?e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}}):a._e()],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var p=e("VU/8")(h,l,!1,function(a){e("hy8p")},"data-v-50d9ddbf",null);t.default=p.exports},hy8p:function(a,t){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/86.6e7b650213cd52f6879f.js
webpackJsonp([86],{"4QyY":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),o=e("Qie6"),r=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",defaultNavpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navName:{11:"云日报-云日报记录",111:"云日报-记录详情",12:"云日报导出",2:"任务下发设置",3:"云日报设置",31:"云日报设置-系统报表",32:"云日报设置-自定义报表",321:"编辑模板",322:"新建模板"},navFrontPath:{11:"/dailyRecord",111:"/dailyRecord",12:"/dailyRecord",2:"/dailyRecord",31:"/dailyRecord",32:"/dailyRecord",321:"/customReport",322:"/customReport"},tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?s.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(a){var t=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=a,this.activeSelTab=a;var n=[].concat(i()(this.defaultNavpath));e.length&&e.map(function(a){n[n.length-1].path=t.navFrontPath[a],n.push({name:t.navName[a],path:""})}),this.$nextTick(function(){return t.navpath=[].concat(n)})},changeNavShow:function(a){"/dailyDetail"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},l={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.activeBrand?e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}}):a._e()],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var p=e("VU/8")(h,l,!1,function(a){e("hy8p")},"data-v-50d9ddbf",null);t.default=p.exports},hy8p:function(a,t){}});
=======
webpackJsonp([90],{"4QyY":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),o=e("Qie6"),r=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",defaultNavpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navName:{11:"云日报-云日报记录",111:"云日报-记录详情",12:"云日报导出",2:"任务下发设置",3:"云日报设置",31:"云日报设置-系统报表",32:"云日报设置-自定义报表",321:"编辑模板",322:"新建模板"},navFrontPath:{11:"/dailyRecord",111:"/dailyRecord",12:"/dailyRecord",2:"/dailyRecord",31:"/dailyRecord",32:"/dailyRecord",321:"/customReport",322:"/customReport"},tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?s.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(a){var t=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=a,this.activeSelTab=a;var n=[].concat(i()(this.defaultNavpath));e.length&&e.map(function(a){n[n.length-1].path=t.navFrontPath[a],n.push({name:t.navName[a],path:""})}),this.$nextTick(function(){return t.navpath=[].concat(n)})},changeNavShow:function(a){"/dailyDetail"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},l={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.activeBrand?e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}}):a._e()],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var p=e("VU/8")(h,l,!1,function(a){e("YXcV")},"data-v-63f80218",null);t.default=p.exports},YXcV:function(a,t){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/90.ae2a8e165d9d9a31e58e.js
webpackJsonp([86],{"+uZd":function(e,t){},z3jf:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),r=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{setRange:{show:!1,isAdd:!0,loading:!1,storeWidgetId:"",options:[0,1,2,3,4,5]},wxEnterpriseRelatedId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",tableData:[],loading:!1,multipleSelection:[],currentPage:1,pageSize:20,total:0,disableSet:!1}},methods:{onClosed:function(){this.setRange.storeWidgetId=""},toSetStore:function(){this.setRange.show=!0},submitStore:function(){var e=this,t={templateId:this.$route.query.templateId,storeWidgetId:this.setRange.storeWidgetId};this.setRange.loading=!0,Object(r.g)("/haoban-app-customer-web/save-template-store",t).then(function(t){1==(t.data||{}).errorCode?(e.$message.success("保存成功"),e.setRange.show=!1,e.currentPage=1,e.getTableList()):s.a.errorMsg(t.data)}).finally(function(){setTimeout(function(){return e.setRange.loading=!1},200)})},toInput:Object(o.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},delRow:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={storeTemplateRelatedIds:t.storeTemplateRelatedId,enterpriseId:this.brandId};Object(r.g)("/haoban-app-customer-web/del-template-store",o).then(function(e){var t=e.data;if(1==t.errorCode)return n.a.showmsg("删除成功","success"),a.currentPage=1,void a.getTableList();s.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.postMultDel()},postMultDel:function(){var e=this,t={enterpriseId:this.brandId,storeTemplateRelatedIds:e.multipleSelection.map(function(e){return e.storeTemplateRelatedId}).join(",")||""};Object(r.g)("/haoban-app-customer-web/del-template-store",t).then(function(t){var a=t.data;if(1==a.errorCode)return n.a.showmsg("删除成功","success"),e.currentPage=1,void e.getTableList();s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={search:t.searchInput,templateId:t.$route.query.templateId,enterpriseId:t.brandId,pageNum:t.currentPage,pageSize:t.pageSize};Object(r.g)("/haoban-app-customer-web/get-template-store-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,t.disableSet=!1,void(t.$route.query.brandId!=t.brandId&&(t.tableData=[],t.total=0,t.disableSet=!0));s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&this.getTableList(this.brandId)}},mounted:function(){this.$emit("showTab","12"),this.brandId&&this.getTableList(this.brandId)}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"flex flex-space-between"},[a("div",[a("el-input",{staticClass:"w-369",attrs:{placeholder:"搜索门店名称或代码",maxlength:"50","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}})],1),e._v(" "),a("div",[a("el-button",{attrs:{disabled:e.disableSet,type:"primary"},on:{click:e.toSetStore}},[e._v("新增门店")]),e._v(" "),a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量移除")])],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"no-empty-icon-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"code","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeCode||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"门店分组","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.storeGroupName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.delRow(t.$index,t.row)}}},[e._v("移除")])]}}])}),e._v(" "),a("template",{slot:"empty"},[a("div",[a("span",[e._v("暂无门店分组,")]),a("el-button",{attrs:{disabled:e.disableSet,type:"text"},on:{click:function(t){return e.toSetStore()}}},[e._v("去设置")])],1)])],2),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-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(),e._v(" "),0==e.tableData.length?a("div",{staticClass:"text-center table-set-line"},[a("span",{staticClass:"font-14 color-606266"},[e._v("暂无门店分组,")]),a("el-button",{attrs:{disabled:e.disableSet,type:"text"},on:{click:function(t){return e.toSetStore()}}},[e._v("去设置")])],1):e._e()],1)]),e._v(" "),a("el-dialog",{attrs:{visible:e.setRange.show,title:"可见范围",width:"873px"},on:{"update:visible":function(t){return e.$set(e.setRange,"show",t)},closed:e.onClosed}},[a("el-form",[a("el-form-item",{attrs:{label:"选择范围"}},[e.setRange.isAdd||!e.setRange.isAdd&&e.setRange.storeWidgetId?a("dm-store-selector",{attrs:{options:e.setRange.options,uuid:e.setRange.storeWidgetId},on:{"update:uuid":function(t){return e.$set(e.setRange,"storeWidgetId",t)}}}):e._e()],1)],1),e._v(" "),a("template",{slot:"footer"},[a("el-button",{on:{click:function(t){e.setRange.show=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{loading:e.setRange.loading,type:"primary"},on:{click:e.submitStore}},[e._v("确定")])],1)],2)],1)},staticRenderFns:[]};var u=a("VU/8")(i,l,!1,function(e){a("+uZd")},"data-v-678b859a",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([87],{EzCA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("PeHS"),s=a("Q0Ca"),n={name:"operateLog",data:function(){return{filters:s.a,requestProject:"gic-web",loading:!1,search:{businessType:"",optType:"",optUser:"",search:"",dateRange:[]},clerkListPager:{searchName:"",pageNum:1,pageSize:20,totalPage:1},moduleList:[],businessList:[],userList:[],tableData:[],pager:{currentPage:1,pageSize:20,total:0},enterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).enterpriseId,pickerOptions:{disabledDate:function(e){var t=new Date,a=new Date;return a=new Date(a.setMonth(t.getMonth()-3)),e.getTime()<a.getTime()||e.getTime()>t.getTime()}}}},mounted:function(){this.initData(),this.getTableData()},methods:{initData:function(){var e=this,t={};t.requestProject=this.requestProject,Object(r.c)(t).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.moduleList=(s||[]).filter(function(e){return 1001!=e.key}))}),Object(r.s)({params:t}).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.businessList=(s||[]).filter(function(e){return 1001!=e.key}))}),this.getClerkList()},loadMoreClerk:function(){this.clerkListPager.pageNum>=this.clerkListPager.totalPage||(this.clerkListPager.pageNum+=1,this.getClerkList())},searchClerk:function(e){this.clerkListPager.searchName=e,this.clerkListPager.pageNum=1,this.clerkListPager.totalPage=1,document.querySelector(".operate-clerk-list .el-scrollbar__wrap").scrollTop=0,this.getClerkList()},getClerkList:function(){var e=this,t=this.clerkListPager,a=t.pageNum,s=t.pageSize,n={searchName:t.searchName,pageNum:a,pageSize:s};n.requestProject=this.requestProject,Object(r.q)(n).then(function(t){var r=t.data||{},s=r.code,n=r.result;1==a&&(e.userList=[]),0==s&&(e.userList=e.userList.concat(n.result||[]),e.clerkListPager.totalPage=n.totalPage)})},getTableData:function(){var e=this;this.loading=!0;var t=this.pager,a=t.pageSize,s=t.currentPage,n=this.search,l=n.businessType,i=n.optType,o=n.optUser,c=n.search,u=n.dateRange,p={businessType:l,optType:i,optUser:o,search:c,startDate:Array.isArray(u)?u[0]:"",endDate:Array.isArray(u)?u[1]:"",pageSize:a,pageNum:s,enterpriseId:this.enterpriseId};p.requestProject=this.requestProject,Object(r.r)(p).then(function(t){var a=t.data;0==a.code&&(e.tableData=a.result.result,e.pager.total=a.result.totalCount),e.loading=!1})},onSearch:function(){this.handleCurrentChange(1)},handleCurrentChange:function(e){this.pager.currentPage=e,this.getTableData()},handleSizeChange:function(e){this.pager.pageSize=e,this.handleCurrentChange(1)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right-wrap"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"right-box"},[a("div",[a("el-select",{staticStyle:{width:"160px"},attrs:{placeholder:"选择业务模块",clearable:""},on:{change:e.onSearch},model:{value:e.search.businessType,callback:function(t){e.$set(e.search,"businessType",t)},expression:"search.businessType"}},e._l(e.moduleList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{staticStyle:{width:"160px","margin-left":"10px"},attrs:{placeholder:"选择操作事项",clearable:""},on:{change:e.onSearch},model:{value:e.search.optType,callback:function(t){e.$set(e.search,"optType",t)},expression:"search.optType"}},e._l(e.businessList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{directives:[{name:"select-loadmore",rawName:"v-select-loadmore",value:e.loadMoreClerk,expression:"loadMoreClerk"}],staticStyle:{width:"170px","margin-left":"10px"},attrs:{placeholder:"操作人姓名/手机号","popper-class":"operate-clerk-list",clearable:"",filterable:"","filter-method":e.searchClerk},on:{clear:function(t){e.userList=[]},change:e.onSearch},model:{value:e.search.optUser,callback:function(t){e.$set(e.search,"optUser",t)},expression:"search.optUser"}},e._l(e.userList,function(t){return a("el-option",{key:t.clerkId,attrs:{value:t.clerkId,label:t.clerkName}},[a("p",[e._v(e._s(t.clerkName))]),e._v(" "),a("p",[e._v(e._s(t.phoneNumber))])])}),1),e._v(" "),a("el-input",{staticStyle:{width:"260px","margin-left":"10px"},attrs:{placeholder:"操作内容",clearable:"","prefix-icon":"el-icon-search"},on:{change:e.onSearch},model:{value:e.search.search,callback:function(t){e.$set(e.search,"search",t)},expression:"search.search"}}),e._v(" "),a("el-date-picker",{staticStyle:{width:"256px","margin-left":"10px"},attrs:{"picker-options":e.pickerOptions,clearable:"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.onSearch},model:{value:e.search.dateRange,callback:function(t){e.$set(e.search,"dateRange",t)},expression:"search.dateRange"}})],1),e._v(" "),a("el-table",{staticStyle:{margin:"20px 0"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"业务模块",prop:"businessTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作事项",prop:"optTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作页面",prop:"optPage",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作账号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[r.userName||r.phoneNumber?[a("p",{staticClass:"text-overflow"},[e._v("\n "+e._s(r.userName?r.userName:"")+"\n "),r.ywName?a("span",{staticStyle:{color:"#909399"}},[e._v("("+e._s(r.ywName)+")")]):e._e()]),e._v(" "),a("p",[e._v(e._s(r.phoneNumber?r.phoneNumber:""))])]:[e._v("--")]]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作内容",prop:"content",formatter:function(e,t,a){return a||"--"},"show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作时间",prop:"createTime"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return r.createTime?[e._v("\n "+e._s(e.filters.timeStampToYmd(Number(r.createTime)))),a("br"),e._v("\n "+e._s(e.filters.timeStampToHms(Number(r.createTime)))+"\n ")]:void 0}}],!0)})],1),e._v(" "),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"",layout:"total, sizes, prev, pager, next",total:e.pager.total,"current-page":e.pager.currentPage,"page-size":e.pager.pageSize,"page-sizes":[20,40,60,80]},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)])},staticRenderFns:[]};var i=a("VU/8")(n,l,!1,function(e){a("tw8h")},"data-v-5041b7de",null);t.default=i.exports},tw8h:function(e,t){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/87.02ebe7870a657d76305a.js
webpackJsonp([87],{EzCA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("PeHS"),s=a("Q0Ca"),n={name:"operateLog",data:function(){return{filters:s.a,requestProject:"gic-web",loading:!1,search:{businessType:"",optType:"",optUser:"",search:"",dateRange:[]},clerkListPager:{searchName:"",pageNum:1,pageSize:20,totalPage:1},moduleList:[],businessList:[],userList:[],tableData:[],pager:{currentPage:1,pageSize:20,total:0},enterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).enterpriseId,pickerOptions:{disabledDate:function(e){var t=new Date,a=new Date;return a=new Date(a.setMonth(t.getMonth()-3)),e.getTime()<a.getTime()||e.getTime()>t.getTime()}}}},mounted:function(){this.initData(),this.getTableData()},methods:{initData:function(){var e=this,t={};t.requestProject=this.requestProject,Object(r.c)(t).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.moduleList=(s||[]).filter(function(e){return 1001!=e.key}))}),Object(r.s)({params:t}).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.businessList=(s||[]).filter(function(e){return 1001!=e.key}))}),this.getClerkList()},loadMoreClerk:function(){this.clerkListPager.pageNum>=this.clerkListPager.totalPage||(this.clerkListPager.pageNum+=1,this.getClerkList())},searchClerk:function(e){this.clerkListPager.searchName=e,this.clerkListPager.pageNum=1,this.clerkListPager.totalPage=1,document.querySelector(".operate-clerk-list .el-scrollbar__wrap").scrollTop=0,this.getClerkList()},getClerkList:function(){var e=this,t=this.clerkListPager,a=t.pageNum,s=t.pageSize,n={searchName:t.searchName,pageNum:a,pageSize:s};n.requestProject=this.requestProject,Object(r.q)(n).then(function(t){var r=t.data||{},s=r.code,n=r.result;1==a&&(e.userList=[]),0==s&&(e.userList=e.userList.concat(n.result||[]),e.clerkListPager.totalPage=n.totalPage)})},getTableData:function(){var e=this;this.loading=!0;var t=this.pager,a=t.pageSize,s=t.currentPage,n=this.search,l=n.businessType,i=n.optType,o=n.optUser,c=n.search,u=n.dateRange,p={businessType:l,optType:i,optUser:o,search:c,startDate:Array.isArray(u)?u[0]:"",endDate:Array.isArray(u)?u[1]:"",pageSize:a,pageNum:s,enterpriseId:this.enterpriseId};p.requestProject=this.requestProject,Object(r.r)(p).then(function(t){var a=t.data;0==a.code&&(e.tableData=a.result.result,e.pager.total=a.result.totalCount),e.loading=!1})},onSearch:function(){this.handleCurrentChange(1)},handleCurrentChange:function(e){this.pager.currentPage=e,this.getTableData()},handleSizeChange:function(e){this.pager.pageSize=e,this.handleCurrentChange(1)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right-wrap"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"right-box"},[a("div",[a("el-select",{staticStyle:{width:"160px"},attrs:{placeholder:"选择业务模块",clearable:""},on:{change:e.onSearch},model:{value:e.search.businessType,callback:function(t){e.$set(e.search,"businessType",t)},expression:"search.businessType"}},e._l(e.moduleList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{staticStyle:{width:"160px","margin-left":"10px"},attrs:{placeholder:"选择操作事项",clearable:""},on:{change:e.onSearch},model:{value:e.search.optType,callback:function(t){e.$set(e.search,"optType",t)},expression:"search.optType"}},e._l(e.businessList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{directives:[{name:"select-loadmore",rawName:"v-select-loadmore",value:e.loadMoreClerk,expression:"loadMoreClerk"}],staticStyle:{width:"170px","margin-left":"10px"},attrs:{placeholder:"操作人姓名/手机号","popper-class":"operate-clerk-list",clearable:"",filterable:"","filter-method":e.searchClerk},on:{clear:function(t){e.userList=[]},change:e.onSearch},model:{value:e.search.optUser,callback:function(t){e.$set(e.search,"optUser",t)},expression:"search.optUser"}},e._l(e.userList,function(t){return a("el-option",{key:t.clerkId,attrs:{value:t.clerkId,label:t.clerkName}},[a("p",[e._v(e._s(t.clerkName))]),e._v(" "),a("p",[e._v(e._s(t.phoneNumber))])])}),1),e._v(" "),a("el-input",{staticStyle:{width:"260px","margin-left":"10px"},attrs:{placeholder:"操作内容",clearable:"","prefix-icon":"el-icon-search"},on:{change:e.onSearch},model:{value:e.search.search,callback:function(t){e.$set(e.search,"search",t)},expression:"search.search"}}),e._v(" "),a("el-date-picker",{staticStyle:{width:"256px","margin-left":"10px"},attrs:{"picker-options":e.pickerOptions,clearable:"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.onSearch},model:{value:e.search.dateRange,callback:function(t){e.$set(e.search,"dateRange",t)},expression:"search.dateRange"}})],1),e._v(" "),a("el-table",{staticStyle:{margin:"20px 0"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"业务模块",prop:"businessTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作事项",prop:"optTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作页面",prop:"optPage",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作账号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[r.userName||r.phoneNumber?[a("p",{staticClass:"text-overflow"},[e._v("\n "+e._s(r.userName?r.userName:"")+"\n "),r.ywName?a("span",{staticStyle:{color:"#909399"}},[e._v("("+e._s(r.ywName)+")")]):e._e()]),e._v(" "),a("p",[e._v(e._s(r.phoneNumber?r.phoneNumber:""))])]:[e._v("--")]]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作内容",prop:"content",formatter:function(e,t,a){return a||"--"},"show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作时间",prop:"createTime"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return r.createTime?[e._v("\n "+e._s(e.filters.timeStampToYmd(Number(r.createTime)))),a("br"),e._v("\n "+e._s(e.filters.timeStampToHms(Number(r.createTime)))+"\n ")]:void 0}}],!0)})],1),e._v(" "),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"",layout:"total, sizes, prev, pager, next",total:e.pager.total,"current-page":e.pager.currentPage,"page-size":e.pager.pageSize,"page-sizes":[20,40,60,80]},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)])},staticRenderFns:[]};var i=a("VU/8")(n,l,!1,function(e){a("tw8h")},"data-v-5041b7de",null);t.default=i.exports},tw8h:function(e,t){}});
=======
webpackJsonp([87],{EzCA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("PeHS"),s=a("Q0Ca"),n={name:"operateLog",data:function(){return{filters:s.a,requestProject:"gic-web",loading:!1,search:{businessType:"",optType:"",optUser:"",search:"",dateRange:[]},clerkListPager:{searchName:"",pageNum:1,pageSize:20,totalPage:1},moduleList:[],businessList:[],userList:[],tableData:[],pager:{currentPage:1,pageSize:20,total:0},enterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).enterpriseId,pickerOptions:{disabledDate:function(e){var t=new Date,a=new Date;return a=new Date(a.setMonth(t.getMonth()-3)),e.getTime()<a.getTime()||e.getTime()>t.getTime()}}}},mounted:function(){this.initData(),this.getTableData()},methods:{initData:function(){var e=this,t={};t.requestProject=this.requestProject,Object(r.c)(t).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.moduleList=(s||[]).filter(function(e){return 1001!=e.key}))}),Object(r.s)({params:t}).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.businessList=(s||[]).filter(function(e){return 1001!=e.key}))}),this.getClerkList()},loadMoreClerk:function(){this.clerkListPager.pageNum>=this.clerkListPager.totalPage||(this.clerkListPager.pageNum+=1,this.getClerkList())},searchClerk:function(e){this.clerkListPager.searchName=e,this.clerkListPager.pageNum=1,this.clerkListPager.totalPage=1,document.querySelector(".operate-clerk-list .el-scrollbar__wrap").scrollTop=0,this.getClerkList()},getClerkList:function(){var e=this,t=this.clerkListPager,a=t.pageNum,s=t.pageSize,n={searchName:t.searchName,pageNum:a,pageSize:s};n.requestProject=this.requestProject,Object(r.q)(n).then(function(t){var r=t.data||{},s=r.code,n=r.result;1==a&&(e.userList=[]),0==s&&(e.userList=e.userList.concat(n.result||[]),e.clerkListPager.totalPage=n.totalPage)})},getTableData:function(){var e=this;this.loading=!0;var t=this.pager,a=t.pageSize,s=t.currentPage,n=this.search,l=n.businessType,i=n.optType,o=n.optUser,c=n.search,u=n.dateRange,p={businessType:l,optType:i,optUser:o,search:c,startDate:Array.isArray(u)?u[0]:"",endDate:Array.isArray(u)?u[1]:"",pageSize:a,pageNum:s,enterpriseId:this.enterpriseId};p.requestProject=this.requestProject,Object(r.r)(p).then(function(t){var a=t.data;0==a.code&&(e.tableData=a.result.result,e.pager.total=a.result.totalCount),e.loading=!1})},onSearch:function(){this.handleCurrentChange(1)},handleCurrentChange:function(e){this.pager.currentPage=e,this.getTableData()},handleSizeChange:function(e){this.pager.pageSize=e,this.handleCurrentChange(1)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right-wrap"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"right-box"},[a("div",[a("el-select",{staticStyle:{width:"160px"},attrs:{placeholder:"选择业务模块",clearable:""},on:{change:e.onSearch},model:{value:e.search.businessType,callback:function(t){e.$set(e.search,"businessType",t)},expression:"search.businessType"}},e._l(e.moduleList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{staticStyle:{width:"160px","margin-left":"10px"},attrs:{placeholder:"选择操作事项",clearable:""},on:{change:e.onSearch},model:{value:e.search.optType,callback:function(t){e.$set(e.search,"optType",t)},expression:"search.optType"}},e._l(e.businessList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{directives:[{name:"select-loadmore",rawName:"v-select-loadmore",value:e.loadMoreClerk,expression:"loadMoreClerk"}],staticStyle:{width:"170px","margin-left":"10px"},attrs:{placeholder:"操作人姓名/手机号","popper-class":"operate-clerk-list",clearable:"",filterable:"","filter-method":e.searchClerk},on:{clear:function(t){e.userList=[]},change:e.onSearch},model:{value:e.search.optUser,callback:function(t){e.$set(e.search,"optUser",t)},expression:"search.optUser"}},e._l(e.userList,function(t){return a("el-option",{key:t.clerkId,attrs:{value:t.clerkId,label:t.clerkName}},[a("p",[e._v(e._s(t.clerkName))]),e._v(" "),a("p",[e._v(e._s(t.phoneNumber))])])}),1),e._v(" "),a("el-input",{staticStyle:{width:"260px","margin-left":"10px"},attrs:{placeholder:"操作内容",clearable:"","prefix-icon":"el-icon-search"},on:{change:e.onSearch},model:{value:e.search.search,callback:function(t){e.$set(e.search,"search",t)},expression:"search.search"}}),e._v(" "),a("el-date-picker",{staticStyle:{width:"256px","margin-left":"10px"},attrs:{"picker-options":e.pickerOptions,clearable:"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.onSearch},model:{value:e.search.dateRange,callback:function(t){e.$set(e.search,"dateRange",t)},expression:"search.dateRange"}})],1),e._v(" "),a("el-table",{staticStyle:{margin:"20px 0"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"业务模块",prop:"businessTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作事项",prop:"optTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作页面",prop:"optPage",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作账号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[r.userName||r.phoneNumber?[a("p",{staticClass:"text-overflow"},[e._v("\n "+e._s(r.userName?r.userName:"")+"\n "),r.ywName?a("span",{staticStyle:{color:"#909399"}},[e._v("("+e._s(r.ywName)+")")]):e._e()]),e._v(" "),a("p",[e._v(e._s(r.phoneNumber?r.phoneNumber:""))])]:[e._v("--")]]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作内容",prop:"content",formatter:function(e,t,a){return a||"--"},"show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作时间",prop:"createTime"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return r.createTime?[e._v("\n "+e._s(e.filters.timeStampToYmd(Number(r.createTime)))),a("br"),e._v("\n "+e._s(e.filters.timeStampToHms(Number(r.createTime)))+"\n ")]:void 0}}],!0)})],1),e._v(" "),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"",layout:"total, sizes, prev, pager, next",total:e.pager.total,"current-page":e.pager.currentPage,"page-size":e.pager.pageSize,"page-sizes":[20,40,60,80]},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)])},staticRenderFns:[]};var i=a("VU/8")(n,l,!1,function(e){a("mrLY")},"data-v-672979cc",null);t.default=i.exports},mrLY:function(e,t){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/87.a39c162a5f1066e1f2f6.js
<<<<<<< HEAD:dist/static/js/87.02ebe7870a657d76305a.js
webpackJsonp([87],{EzCA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("PeHS"),s=a("Q0Ca"),n={name:"operateLog",data:function(){return{filters:s.a,requestProject:"gic-web",loading:!1,search:{businessType:"",optType:"",optUser:"",search:"",dateRange:[]},clerkListPager:{searchName:"",pageNum:1,pageSize:20,totalPage:1},moduleList:[],businessList:[],userList:[],tableData:[],pager:{currentPage:1,pageSize:20,total:0},enterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).enterpriseId,pickerOptions:{disabledDate:function(e){var t=new Date,a=new Date;return a=new Date(a.setMonth(t.getMonth()-3)),e.getTime()<a.getTime()||e.getTime()>t.getTime()}}}},mounted:function(){this.initData(),this.getTableData()},methods:{initData:function(){var e=this,t={};t.requestProject=this.requestProject,Object(r.c)(t).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.moduleList=(s||[]).filter(function(e){return 1001!=e.key}))}),Object(r.s)({params:t}).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.businessList=(s||[]).filter(function(e){return 1001!=e.key}))}),this.getClerkList()},loadMoreClerk:function(){this.clerkListPager.pageNum>=this.clerkListPager.totalPage||(this.clerkListPager.pageNum+=1,this.getClerkList())},searchClerk:function(e){this.clerkListPager.searchName=e,this.clerkListPager.pageNum=1,this.clerkListPager.totalPage=1,document.querySelector(".operate-clerk-list .el-scrollbar__wrap").scrollTop=0,this.getClerkList()},getClerkList:function(){var e=this,t=this.clerkListPager,a=t.pageNum,s=t.pageSize,n={searchName:t.searchName,pageNum:a,pageSize:s};n.requestProject=this.requestProject,Object(r.q)(n).then(function(t){var r=t.data||{},s=r.code,n=r.result;1==a&&(e.userList=[]),0==s&&(e.userList=e.userList.concat(n.result||[]),e.clerkListPager.totalPage=n.totalPage)})},getTableData:function(){var e=this;this.loading=!0;var t=this.pager,a=t.pageSize,s=t.currentPage,n=this.search,l=n.businessType,i=n.optType,o=n.optUser,c=n.search,u=n.dateRange,p={businessType:l,optType:i,optUser:o,search:c,startDate:Array.isArray(u)?u[0]:"",endDate:Array.isArray(u)?u[1]:"",pageSize:a,pageNum:s,enterpriseId:this.enterpriseId};p.requestProject=this.requestProject,Object(r.r)(p).then(function(t){var a=t.data;0==a.code&&(e.tableData=a.result.result,e.pager.total=a.result.totalCount),e.loading=!1})},onSearch:function(){this.handleCurrentChange(1)},handleCurrentChange:function(e){this.pager.currentPage=e,this.getTableData()},handleSizeChange:function(e){this.pager.pageSize=e,this.handleCurrentChange(1)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right-wrap"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"right-box"},[a("div",[a("el-select",{staticStyle:{width:"160px"},attrs:{placeholder:"选择业务模块",clearable:""},on:{change:e.onSearch},model:{value:e.search.businessType,callback:function(t){e.$set(e.search,"businessType",t)},expression:"search.businessType"}},e._l(e.moduleList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{staticStyle:{width:"160px","margin-left":"10px"},attrs:{placeholder:"选择操作事项",clearable:""},on:{change:e.onSearch},model:{value:e.search.optType,callback:function(t){e.$set(e.search,"optType",t)},expression:"search.optType"}},e._l(e.businessList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{directives:[{name:"select-loadmore",rawName:"v-select-loadmore",value:e.loadMoreClerk,expression:"loadMoreClerk"}],staticStyle:{width:"170px","margin-left":"10px"},attrs:{placeholder:"操作人姓名/手机号","popper-class":"operate-clerk-list",clearable:"",filterable:"","filter-method":e.searchClerk},on:{clear:function(t){e.userList=[]},change:e.onSearch},model:{value:e.search.optUser,callback:function(t){e.$set(e.search,"optUser",t)},expression:"search.optUser"}},e._l(e.userList,function(t){return a("el-option",{key:t.clerkId,attrs:{value:t.clerkId,label:t.clerkName}},[a("p",[e._v(e._s(t.clerkName))]),e._v(" "),a("p",[e._v(e._s(t.phoneNumber))])])}),1),e._v(" "),a("el-input",{staticStyle:{width:"260px","margin-left":"10px"},attrs:{placeholder:"操作内容",clearable:"","prefix-icon":"el-icon-search"},on:{change:e.onSearch},model:{value:e.search.search,callback:function(t){e.$set(e.search,"search",t)},expression:"search.search"}}),e._v(" "),a("el-date-picker",{staticStyle:{width:"256px","margin-left":"10px"},attrs:{"picker-options":e.pickerOptions,clearable:"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.onSearch},model:{value:e.search.dateRange,callback:function(t){e.$set(e.search,"dateRange",t)},expression:"search.dateRange"}})],1),e._v(" "),a("el-table",{staticStyle:{margin:"20px 0"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"业务模块",prop:"businessTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作事项",prop:"optTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作页面",prop:"optPage",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作账号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[r.userName||r.phoneNumber?[a("p",{staticClass:"text-overflow"},[e._v("\n "+e._s(r.userName?r.userName:"")+"\n "),r.ywName?a("span",{staticStyle:{color:"#909399"}},[e._v("("+e._s(r.ywName)+")")]):e._e()]),e._v(" "),a("p",[e._v(e._s(r.phoneNumber?r.phoneNumber:""))])]:[e._v("--")]]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作内容",prop:"content",formatter:function(e,t,a){return a||"--"},"show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作时间",prop:"createTime"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return r.createTime?[e._v("\n "+e._s(e.filters.timeStampToYmd(Number(r.createTime)))),a("br"),e._v("\n "+e._s(e.filters.timeStampToHms(Number(r.createTime)))+"\n ")]:void 0}}],!0)})],1),e._v(" "),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"",layout:"total, sizes, prev, pager, next",total:e.pager.total,"current-page":e.pager.currentPage,"page-size":e.pager.pageSize,"page-sizes":[20,40,60,80]},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)])},staticRenderFns:[]};var i=a("VU/8")(n,l,!1,function(e){a("tw8h")},"data-v-5041b7de",null);t.default=i.exports},tw8h:function(e,t){}});
=======
webpackJsonp([87],{EzCA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("PeHS"),s=a("Q0Ca"),n={name:"operateLog",data:function(){return{filters:s.a,requestProject:"gic-web",loading:!1,search:{businessType:"",optType:"",optUser:"",search:"",dateRange:[]},clerkListPager:{searchName:"",pageNum:1,pageSize:20,totalPage:1},moduleList:[],businessList:[],userList:[],tableData:[],pager:{currentPage:1,pageSize:20,total:0},enterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).enterpriseId,pickerOptions:{disabledDate:function(e){var t=new Date,a=new Date;return a=new Date(a.setMonth(t.getMonth()-3)),e.getTime()<a.getTime()||e.getTime()>t.getTime()}}}},mounted:function(){this.initData(),this.getTableData()},methods:{initData:function(){var e=this,t={};t.requestProject=this.requestProject,Object(r.c)(t).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.moduleList=(s||[]).filter(function(e){return 1001!=e.key}))}),Object(r.s)({params:t}).then(function(t){var a=t.data||{},r=a.code,s=a.result;0==r&&(e.businessList=(s||[]).filter(function(e){return 1001!=e.key}))}),this.getClerkList()},loadMoreClerk:function(){this.clerkListPager.pageNum>=this.clerkListPager.totalPage||(this.clerkListPager.pageNum+=1,this.getClerkList())},searchClerk:function(e){this.clerkListPager.searchName=e,this.clerkListPager.pageNum=1,this.clerkListPager.totalPage=1,document.querySelector(".operate-clerk-list .el-scrollbar__wrap").scrollTop=0,this.getClerkList()},getClerkList:function(){var e=this,t=this.clerkListPager,a=t.pageNum,s=t.pageSize,n={searchName:t.searchName,pageNum:a,pageSize:s};n.requestProject=this.requestProject,Object(r.q)(n).then(function(t){var r=t.data||{},s=r.code,n=r.result;1==a&&(e.userList=[]),0==s&&(e.userList=e.userList.concat(n.result||[]),e.clerkListPager.totalPage=n.totalPage)})},getTableData:function(){var e=this;this.loading=!0;var t=this.pager,a=t.pageSize,s=t.currentPage,n=this.search,l=n.businessType,i=n.optType,o=n.optUser,c=n.search,u=n.dateRange,p={businessType:l,optType:i,optUser:o,search:c,startDate:Array.isArray(u)?u[0]:"",endDate:Array.isArray(u)?u[1]:"",pageSize:a,pageNum:s,enterpriseId:this.enterpriseId};p.requestProject=this.requestProject,Object(r.r)(p).then(function(t){var a=t.data;0==a.code&&(e.tableData=a.result.result,e.pager.total=a.result.totalCount),e.loading=!1})},onSearch:function(){this.handleCurrentChange(1)},handleCurrentChange:function(e){this.pager.currentPage=e,this.getTableData()},handleSizeChange:function(e){this.pager.pageSize=e,this.handleCurrentChange(1)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right-wrap"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"right-box"},[a("div",[a("el-select",{staticStyle:{width:"160px"},attrs:{placeholder:"选择业务模块",clearable:""},on:{change:e.onSearch},model:{value:e.search.businessType,callback:function(t){e.$set(e.search,"businessType",t)},expression:"search.businessType"}},e._l(e.moduleList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{staticStyle:{width:"160px","margin-left":"10px"},attrs:{placeholder:"选择操作事项",clearable:""},on:{change:e.onSearch},model:{value:e.search.optType,callback:function(t){e.$set(e.search,"optType",t)},expression:"search.optType"}},e._l(e.businessList,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})}),1),e._v(" "),a("el-select",{directives:[{name:"select-loadmore",rawName:"v-select-loadmore",value:e.loadMoreClerk,expression:"loadMoreClerk"}],staticStyle:{width:"170px","margin-left":"10px"},attrs:{placeholder:"操作人姓名/手机号","popper-class":"operate-clerk-list",clearable:"",filterable:"","filter-method":e.searchClerk},on:{clear:function(t){e.userList=[]},change:e.onSearch},model:{value:e.search.optUser,callback:function(t){e.$set(e.search,"optUser",t)},expression:"search.optUser"}},e._l(e.userList,function(t){return a("el-option",{key:t.clerkId,attrs:{value:t.clerkId,label:t.clerkName}},[a("p",[e._v(e._s(t.clerkName))]),e._v(" "),a("p",[e._v(e._s(t.phoneNumber))])])}),1),e._v(" "),a("el-input",{staticStyle:{width:"260px","margin-left":"10px"},attrs:{placeholder:"操作内容",clearable:"","prefix-icon":"el-icon-search"},on:{change:e.onSearch},model:{value:e.search.search,callback:function(t){e.$set(e.search,"search",t)},expression:"search.search"}}),e._v(" "),a("el-date-picker",{staticStyle:{width:"256px","margin-left":"10px"},attrs:{"picker-options":e.pickerOptions,clearable:"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.onSearch},model:{value:e.search.dateRange,callback:function(t){e.$set(e.search,"dateRange",t)},expression:"search.dateRange"}})],1),e._v(" "),a("el-table",{staticStyle:{margin:"20px 0"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"业务模块",prop:"businessTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作事项",prop:"optTypeName",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作页面",prop:"optPage",formatter:function(e,t,a){return a||"--"}}}),e._v(" "),a("el-table-column",{attrs:{label:"操作账号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[r.userName||r.phoneNumber?[a("p",{staticClass:"text-overflow"},[e._v("\n "+e._s(r.userName?r.userName:"")+"\n "),r.ywName?a("span",{staticStyle:{color:"#909399"}},[e._v("("+e._s(r.ywName)+")")]):e._e()]),e._v(" "),a("p",[e._v(e._s(r.phoneNumber?r.phoneNumber:""))])]:[e._v("--")]]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作内容",prop:"content",formatter:function(e,t,a){return a||"--"},"show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作时间",prop:"createTime"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return r.createTime?[e._v("\n "+e._s(e.filters.timeStampToYmd(Number(r.createTime)))),a("br"),e._v("\n "+e._s(e.filters.timeStampToHms(Number(r.createTime)))+"\n ")]:void 0}}],!0)})],1),e._v(" "),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"",layout:"total, sizes, prev, pager, next",total:e.pager.total,"current-page":e.pager.currentPage,"page-size":e.pager.pageSize,"page-sizes":[20,40,60,80]},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)])},staticRenderFns:[]};var i=a("VU/8")(n,l,!1,function(e){a("mrLY")},"data-v-672979cc",null);t.default=i.exports},mrLY:function(e,t){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/87.a39c162a5f1066e1f2f6.js
<<<<<<< HEAD:dist/static/js/72.78bc9a90e43c0f4689d8.js
webpackJsonp([72],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),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("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
=======
webpackJsonp([88],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),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("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/88.b535eaf6d4dcf1bee6c5.js
webpackJsonp([89],{lNsz:function(t,e){},moBL:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),i=s("Ch4/"),o=s("3E4D"),l=s("P9l9"),n={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"私人电话",value:1},{label:"企业电话",value:2}],activeId:"1",setObj:{taskCallType:1,taskType:0,overDayJudge:"",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallType:t.setObj.taskCallType,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(l.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?i.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(l.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.relaxTaskJudge=1==s.result.relaxTaskJudge,void(t.setObj=s.result);i.a.errorMsg(s)}).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","23"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("不良评价拨打:")]),s("el-select",{staticClass:"w-240",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.setObj.taskCallType,callback:function(e){t.$set(t.setObj,"taskCallType",e)},expression:"setObj.taskCallType"}},t._l(t.options,function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10 set-long-tip"},[t._v("第三方双向呼叫及透传(透传功能暂无法使用,外呼显示号码为固定电话),可监控通话状态。呼叫结算及通话记录存储于GIC计费中心。")]):t._e(),t._v(" "),1==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费。")]):t._e()],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),2==t.setObj.taskCallType?s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("放弃任务条件:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("不良评价下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应,导购可放弃该条任务")])],1):t._e(),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(n,r,!1,function(t){s("lNsz")},"data-v-65cf4516",null);e.default=c.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/86.6e7b650213cd52f6879f.js
webpackJsonp([86],{"4QyY":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),o=e("Qie6"),r=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",defaultNavpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navName:{11:"云日报-云日报记录",111:"云日报-记录详情",12:"云日报导出",2:"任务下发设置",3:"云日报设置",31:"云日报设置-系统报表",32:"云日报设置-自定义报表",321:"编辑模板",322:"新建模板"},navFrontPath:{11:"/dailyRecord",111:"/dailyRecord",12:"/dailyRecord",2:"/dailyRecord",31:"/dailyRecord",32:"/dailyRecord",321:"/customReport",322:"/customReport"},tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?s.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(a){var t=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=a,this.activeSelTab=a;var n=[].concat(i()(this.defaultNavpath));e.length&&e.map(function(a){n[n.length-1].path=t.navFrontPath[a],n.push({name:t.navName[a],path:""})}),this.$nextTick(function(){return t.navpath=[].concat(n)})},changeNavShow:function(a){"/dailyDetail"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},l={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.activeBrand?e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}}):a._e()],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var p=e("VU/8")(h,l,!1,function(a){e("hy8p")},"data-v-50d9ddbf",null);t.default=p.exports},hy8p:function(a,t){}});
=======
webpackJsonp([90],{"4QyY":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),o=e("Qie6"),r=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",defaultNavpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navName:{11:"云日报-云日报记录",111:"云日报-记录详情",12:"云日报导出",2:"任务下发设置",3:"云日报设置",31:"云日报设置-系统报表",32:"云日报设置-自定义报表",321:"编辑模板",322:"新建模板"},navFrontPath:{11:"/dailyRecord",111:"/dailyRecord",12:"/dailyRecord",2:"/dailyRecord",31:"/dailyRecord",32:"/dailyRecord",321:"/customReport",322:"/customReport"},tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?s.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(a){var t=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=a,this.activeSelTab=a;var n=[].concat(i()(this.defaultNavpath));e.length&&e.map(function(a){n[n.length-1].path=t.navFrontPath[a],n.push({name:t.navName[a],path:""})}),this.$nextTick(function(){return t.navpath=[].concat(n)})},changeNavShow:function(a){"/dailyDetail"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},l={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.activeBrand?e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}}):a._e()],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var p=e("VU/8")(h,l,!1,function(a){e("YXcV")},"data-v-63f80218",null);t.default=p.exports},YXcV:function(a,t){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/90.ae2a8e165d9d9a31e58e.js
<<<<<<< HEAD:dist/static/js/67.881ede8d681913f3e3aa.js
webpackJsonp([67],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("rU5F")},"data-v-785aa3f6",null);e.default=o.exports},rU5F:function(t,e){}});
=======
webpackJsonp([91],{CTf4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(t){n("Ql4E")},"data-v-61d0b205",null);e.default=i.exports},Ql4E:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/91.4e3182a759a0deb7737b.js
webpackJsonp([92],{EbcF:function(t,e){},NiGE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("mvHQ"),n=a.n(r),s=a("Gu7T"),i=a.n(s),c=a("Xxa5"),o=a.n(c),u=a("exGp"),d=a.n(u),h=a("PI0u"),p=a("Ch4/"),l=a("3E4D"),y=a("P9l9"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{brandName:"",activeBrand:this.brandId,yearMonth:"",myObject:{hasEmptyGrid:!1,empytGrids:[],days:[],hasLastEmptyGrid:!1,lastEmpytGrids:[],beginDate:"",endDate:""},performanceWeightSettingList:[],settingStatus:1,settingAble:1}},computed:{},methods:{is_leap:function(t){return t%400==0||t%4==0&&t%100!=0},m_days:function(t){return[31,28+this.is_leap(t),31,30,31,30,31,31,30,31,30,31]},addZero:function(t){return t<10?"0"+parseInt(t):t},getThisMonthDays:function(t,e){return new Date(t,e,0).getDate()},getFirstDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,1)).getDay()},getLastDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,this.getThisMonthDays(t,e))).getDay()},getYearMonthDayWeek:function(t,e,a){return new Date(t,e-1,a).getDay()},isOverMonth:function(t,e){return t.split("-")[1]==e.split("-")[1]},calculateEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getFirstDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>0)for(i=0;i<n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calDayEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>0)for(c=0;c<s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateLastEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getLastDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>=0)for(i=0;i<6-n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calLastEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>=0)for(c=0;c<6-s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateDays:function(t,e,a,r){var n=this;return d()(o.a.mark(function s(){var c,u,d,h,p,l,y,f,m,v;return o.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return c=n,(u={}).beginDate=a,u.endDate=r,u.year=t,s.next=7,c.addZero(e);case 7:return u.month=s.sent,d=a.split("-"),h=r.split("-"),s.next=12,c.isOverMonth(a,r);case 12:return p=s.sent,s.next=15,c.calDayEmptyGrids(d[0],d[1],d[2]);case 15:return(l=s.sent).length>0?(u.hasEmptyGrid=!0,u.empytGrids=l):(u.hasEmptyGrid=!1,u.empytGrids=[]),s.next=19,c.calLastEmptyGrids(h[0],h[1],h[2]);case 19:if((y=s.sent).length>0?(u.hasLastEmptyGrid=!0,u.lastEmpytGrids=y):(u.hasLastEmptyGrid=!1,u.lastEmpytGrids=[]),!p){s.next=27;break}return s.next=24,c.setCurrentMonth(d[0],d[1],d[2],h[2]);case 24:u.days=s.sent,s.next=37;break;case 27:return s.next=29,c.getThisMonthDays(d[0],d[1]);case 29:return f=s.sent,s.next=32,c.setCurrentMonth(d[0],d[1],d[2],f);case 32:return m=s.sent,s.next=35,c.setCurrentMonth(h[0],h[1],1,h[2]);case 35:v=s.sent,u.days=[].concat(i()(m),i()(v));case 37:return c.myObject=u,s.abrupt("return",u);case 39:case"end":return s.stop()}},s,n)}))()},setCurrentMonth:function(t,e,a,r){for(var n=this,s=[],i=function(a){var r={};if(n.performanceWeightSettingList.length)n.performanceWeightSettingList.forEach(function(t,e){parseInt(t.date.split("-")[2])==a&&(r.weightValue=Number(t.weightValue).toFixed(2))});else{var i=n.getYearMonthDayWeek(t,e,a);r.weightValue=5==i?Number(1.8).toFixed(2):6==i||0==i?Number(2).toFixed(2):Number(1).toFixed(2)}r.performanceDay=n.addZero(a),r.date=t+"-"+n.addZero(e)+"-"+n.addZero(a),r.month=n.addZero(e),s.push(r)},c=a;c<=r;c++)i(c);return s},resetData:function(){this.performanceWeightSettingList=[];var t=this.yearMonth.split("-");this.calculateDays(t[0],t[1],this.myObject.beginDate,this.myObject.endDate)},saveSet:Object(h.a)(function(){var t=this,e=!0;if(t.myObject.days.forEach(function(t){(!t.weightValue||t.weightValue<=0||!Number(t.weightValue))&&(e=!1)}),!e)return this.$confirm("每日的权重不能为空,必须为数字,且不小于 0 ?","提示").then(function(){}),!1;t.$confirm(0==t.settingStatus?"点击即下发门店月指标任务,请确认是否提交?":"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?","提示").then(function(){t.postSave(t.myObject.days)}).catch(function(){})},500),postSave:function(t){var e=this,a={enterpriseId:e.activeBrand,yearMonth:e.yearMonth,performanceWeightSettingList:n()(t)};Object(y.g)("/haoban-app-performance-three-web/performance/save-performance-weight-setting",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("保存成功","success"),void e.getData();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,yearMonth:t.yearMonth};Object(y.g)("/haoban-app-performance-three-web/performance/query-performance-weight-setting",e).then(function(e){var a=e.data,r=t.yearMonth.split("-");if(1==a.errorCode)return t.performanceWeightSettingList=a.result.performanceWeightSettingList||[],t.settingStatus=a.result.settingStatus,t.settingAble=a.result.settingAble,t.brandName=a.result.enterpriseName,t.myObject.beginDate=a.result.beginDate,t.myObject.endDate=a.result.endDate,void t.calculateDays(r[0],r[1],a.result.beginDate,a.result.endDate);p.a.errorMsg(a),t.settingAble=0}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.yearMonth=this.$route.query.yearMonth,this.getData())}},mounted:function(){this.brandId&&(this.yearMonth=this.$route.query.yearMonth,this.getData())},components:{}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap common-right-wrap"},[a("div",{staticClass:"day-set-content border-box"},[a("div",{staticClass:"day-set-title m-b-20"},[a("span",{staticClass:"font-18 color-303133"},[t._v(t._s(t.yearMonth))]),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("首次设置提交即下发门店月指标任务;"),a("br"),t._v("门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);")]),t._v(" "),a("span",{staticClass:"font-14 color-606266 m-l-10",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v(t._s(t.brandName)+"日权重")])])],1),t._v(" "),a("section",[t._m(0),t._v(" "),a("div",{staticClass:"week week-body"},[t.myObject.hasEmptyGrid?t._l(t.myObject.empytGrids,function(t,e){return a("div",{key:e+"empytGrids",staticClass:"day grid white-color"})}):t._e(),t._v(" "),t._l(t.myObject.days,function(e,r){return a("div",{key:r,staticClass:"day w-p-14 selectable",class:0==e?"hide":""},[a("div",{staticClass:"w-120 font-14 color-909399 day-performance"},[t._v(t._s(e.month+"-"+e.performanceDay))]),t._v(" "),a("div",{staticClass:"target-value "},[a("el-input",{staticClass:"w-120",attrs:{maxlength:"50",placeholder:"请输入权重值",disabled:0==t.settingAble},model:{value:e.weightValue,callback:function(a){t.$set(e,"weightValue",a)},expression:"day.weightValue"}})],1)])}),t._v(" "),t.myObject.hasLastEmptyGrid?t._l(t.myObject.lastEmpytGrids,function(t,e){return a("div",{key:e+"lastEmpytGrids",staticClass:"day grid white-color"})}):t._e()],2)]),t._v(" "),t.$store.state.wxEnterpriseType||1!=t.settingAble?t._e():a("div",{staticClass:"day-set-btn m-t-24 text-center"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.resetData}},[t._v("重置")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("提交")])],1)])])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"week"},[a("div",{staticClass:"week-head day w-p-14"},[t._v("周日")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周一")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周二")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周三")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周四")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周五")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周六")])])}]};var v=a("VU/8")(f,m,!1,function(t){a("EbcF")},"data-v-578a0762",null);e.default=v.exports}});
\ No newline at end of file
webpackJsonp([92],{FQZX:function(t,e){},zHtI: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("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/92.7cf39af9d8e7cfb3cc12.js
webpackJsonp([92],{FQZX:function(t,e){},zHtI: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("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
=======
webpackJsonp([96],{FQZX:function(t,e){},zHtI: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("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/96.2608b94dc3560dd462cc.js
webpackJsonp([93],{"5gao":function(t,a){},XrL3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3E4D"),o=e("Ch4/"),n=e("PI0u"),r=e("P9l9"),l={name:"app-detail",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1,showPriceFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var a=this,e={enterpriseId:a.brandId,salesGoodsFlag:a.myCustomData.salesGoodsFlag?1:"0",notSalesGoodsFlag:a.myCustomData.notSalesGoodsFlag?1:"0",showPriceFlag:a.myCustomData.showPriceFlag?1:"0"};Object(r.g)("/haoban-app-aggregation-web/save-goods-setting",e).then(function(t){var e=t.data;a.loading=!1,a.getCustomerSet(),1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var a=this,e={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(r.g)("/haoban-app-aggregation-web/find-goods-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&(a.myCustomData.salesGoodsFlag=1==e.result.salesGoodsFlag,a.myCustomData.notSalesGoodsFlag=1==e.result.notSalesGoodsFlag,a.myCustomData.showPriceFlag=1==e.result.showPriceFlag)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,a){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.brandId&&this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-detail-wrap"},[e("div",{staticClass:"app-detail-pane border-box p-20"},[e("div",{staticClass:"m-b-20"},[e("span",{staticClass:"font-14 p-r-10"},[t._v("商品展示:")]),t._v(" "),e("el-checkbox",{model:{value:t.myCustomData.salesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"salesGoodsFlag",a)},expression:"myCustomData.salesGoodsFlag"}},[t._v("已上架商品")]),e("el-checkbox",{model:{value:t.myCustomData.notSalesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"notSalesGoodsFlag",a)},expression:"myCustomData.notSalesGoodsFlag"}},[t._v("未上架商品")])],1),t._v(" "),e("div",[e("el-switch",{model:{value:t.myCustomData.showPriceFlag,callback:function(a){t.$set(t.myCustomData,"showPriceFlag",a)},expression:"myCustomData.showPriceFlag"}}),e("span",{staticClass:"font-14 color-303133 p-l-10"},[t._v("商品详情屏蔽价格")]),e("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,商品列表及商品详情中会屏蔽价格字段。关闭后显示价格。")])],1),t._v(" "),e("div",{staticClass:"m-t-46"},[t.$getButtonLimit(t.$buttonCode.saveGoodsSet)?e("el-button",{attrs:{"limit-code":t.$buttonCode.saveGoodsSet,type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(a){return t.submit("searchFlag")}}},[t._v("保 存")]):t._e()],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("5gao")},"data-v-551cb015",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([94],{RvMj:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("woOf"),r=a.n(l),s=a("Ch4/"),o=a("P9l9"),i={name:"evaluate-set",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{wxEnterpriseRelatedId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",formData:{enterpriseId:"",guideReplyFlag:0,allOrderFlag:0,taskCallTypes:[],distributeCustomerJudge:"",overDayJudge:2},formRules:{distributeCustomerJudge:{required:!0,validator:function(e,t,a){if(1!=t&&2!=t)return a(new Error("请设置任务分配"));a()},trigger:"blur"},overDayJudge:{required:!0},taskCallTypes:{required:!0,message:"请选择拨打方式",trigger:"change"}},callTypes:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],loading:!1}},methods:{onSave:function(){var e=this;this.loading=!0,this.$refs.formData.validate(function(t){if(t){var a=e.formData,l=a.enterpriseId,r=a.guideReplyFlag,i=a.allOrderFlag,n=a.taskCallTypes,u=a.distributeCustomerJudge,d=a.overDayJudge;Object(o.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",{enterpriseId:l,guideReplyFlag:r,allOrderFlag:i,taskCallTypes:n.join(","),distributeCustomerJudge:u,overDayJudge:d,taskType:0}).then(function(t){if(1!=(t.data||{}).errorCode)return s.a.errorMsg(t.data);e.$message.success("保存成功")}).finally(function(){setTimeout(function(){return e.loading=!1},100)})}else e.loading=!1})},getConfig:function(){var e=this;Object(o.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",{enterpriseId:this.formData.enterpriseId,taskType:0}).then(function(t){var a=t.data||{},l=a.errorCode,o=a.result;if(1!=l)return s.a.errorMsg(t.data);r()(e.formData,{guideReplyFlag:o.guideReplyFlag,allOrderFlag:o.allOrderFlag,taskCallTypes:"string"==typeof o.taskCallTypes?o.taskCallTypes.split(","):[],distributeCustomerJudge:o.distributeCustomerJudge,overDayJudge:o.overDayJudge})})}},created:function(){this.formData.enterpriseId=this.brandId,this.getConfig()}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"evaluate-set"},[a("el-form",[a("el-form-item",[a("dm-sub-title",{attrs:{type:"fill"}},[e._v("订单评价设置")])],1),e._v(" "),a("el-form-item",[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:e.formData.guideReplyFlag,callback:function(t){e.$set(e.formData,"guideReplyFlag",t)},expression:"formData.guideReplyFlag"}}),e._v(" "),a("span",{staticClass:"switch-label"},[e._v("禁止订单关联导购回复评价")]),e._v(" "),a("p",{staticClass:"switch-tip"},[e._v(" 开启后,订单关联导购不可回复评价")])],1),e._v(" "),a("el-form-item",[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:e.formData.allOrderFlag,callback:function(t){e.$set(e.formData,"allOrderFlag",t)},expression:"formData.allOrderFlag"}}),e._v(" "),a("span",{staticClass:"switch-label"},[e._v("允许店员查看所有订单评价")])],1),e._v(" "),a("el-form-item",[a("dm-sub-title",{attrs:{type:"fill"}},[e._v("不良评价回访设置")])],1),e._v(" "),a("el-form",{ref:"formData",attrs:{model:e.formData,rules:e.formRules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"不良评价拨打",prop:"taskCallTypes"}},[a("el-checkbox-group",{model:{value:e.formData.taskCallTypes,callback:function(t){e.$set(e.formData,"taskCallTypes",t)},expression:"formData.taskCallTypes"}},e._l(e.callTypes,function(t){return a("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v("\n "+e._s(t.label)+"\n "),a("el-tooltip",{attrs:{placement:"top"}},[a("template",{slot:"content"},e._l(t.tooltips,function(t,l){return a("p",{key:l},[e._v(e._s(t))])}),0),e._v(" "),a("i",{staticClass:"call-type-icon iconfont-components3 icon-cp-QuestionCircleOutlined"})],2)],1)}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"任务分配",prop:"distributeCustomerJudge"}},[a("el-radio-group",{model:{value:e.formData.distributeCustomerJudge,callback:function(t){e.$set(e.formData,"distributeCustomerJudge",t)},expression:"formData.distributeCustomerJudge"}},[a("el-radio",{attrs:{label:1}},[e._v("\n 分配给消费门店店长\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top"}},[a("i",{staticClass:"call-type-icon iconfont-components3 icon-cp-QuestionCircleOutlined"})])],1),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("\n 分配给专属导购\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top"}},[a("i",{staticClass:"call-type-icon iconfont-components3 icon-cp-QuestionCircleOutlined"})])],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"逾期设置",prop:"overDayJudge"}},[a("div",{staticClass:"delay-config"},[e._v("\n 不良评价回访下发后"),a("el-input-number",{staticClass:"delay-count",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:e.formData.overDayJudge,callback:function(t){e.$set(e.formData,"overDayJudge",t)},expression:"formData.overDayJudge"}}),e._v("天\n "),a("p",{staticClass:"delay-tip"},[e._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1)])],1)],1),e._v(" "),e.$getButtonLimit(e.$buttonCode.saveEvaluateSet)?a("hb-form-bottom",[a("el-button",{attrs:{"limit-code":e.$buttonCode.saveEvaluateSet,type:"primary",loading:e.loading},on:{click:e.onSave}},[e._v("保存")])],1):e._e()],1)},staticRenderFns:[]};var u=a("VU/8")(i,n,!1,function(e){a("dp7r")},"data-v-53c40c97",null);t.default=u.exports},dp7r:function(e,t){}});
\ No newline at end of file
webpackJsonp([95],{"Kj+C":function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),o=e("bzW+"),c=e("Qie6"),s=e("Z8ln"),r=e("Ch4/"),h=e("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],navName:{1:"月指标",11:"门店月指标",111:"导购月指标详情",12:"商户日权重月指标",2:"月指标任务",21:"月指标任务详情"},navFrontPath:{1:"/monthList",11:"/monthList",111:"/storeMonthTask",12:"/monthList",13:"/monthList",2:"/monthList",21:"/monthTask"},activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(h.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?r.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath[a.navpath.length-1].path="111"===t?a.navFrontPath[t]+"?yearMonth="+a.$route.query.yearMonth:a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o.a,commonDetailLeft:c.a,expiredDialog:s.a}},v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var u=e("VU/8")(d,v,!1,function(t){e("Kj+C")},"data-v-4d124316",null);a.default=u.exports}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/92.7cf39af9d8e7cfb3cc12.js
webpackJsonp([92],{FQZX:function(t,e){},zHtI: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("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
=======
webpackJsonp([96],{FQZX:function(t,e){},zHtI: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("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/96.2608b94dc3560dd462cc.js
webpackJsonp([97],{fAFA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),i=a.n(o),s=a("Ch4/"),l=a("PI0u"),c=a("P9l9"),u={components:{},props:{brandId:{type:String,default:""}},data:function(){return{yearList:[],year:"",tableList:[],loading:!1,tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getYearList()}},methods:{handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.apiMonthPerformanceList()},handleCurrentChange:function(t){this.currentPage=t,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var t=this;return i()(n.a.mark(function e(){var a,r,o;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t,e.next=3,n={enterpriseId:a.brandId},Object(c.b)("/haoban-app-performance-three-web/performance/get-years",n);case 3:r=e.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(t){a.yearList.push({id:t,label:t+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):s.a.errorMsg(o);case 6:case"end":return e.stop()}var n},e,t)}))()},apiMonthPerformanceList:function(){var t=this;return i()(n.a.mark(function e(){var a,r,o;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(a=t).loading=!0,e.next=4,n={enterpriseId:t.brandId,year:t.year},Object(c.b)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 4:r=e.sent,o=r.data,a.loading=!1,1==o.errorCode&&(o.result.length&&o.result.forEach(function(t){t.totalPerformance=Object(l.c)(Number(t.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 8:case"end":return e.stop()}var n},e,t)}))()}},mounted:function(){this.brandId&&this.getYearList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:t.changeYear},model:{value:t.year,callback:function(e){t.year=e},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),t._v(" "),t._l(t.yearList,function(t,e){return a("el-option",{key:e,attrs:{value:t.id,label:t.label}})})],2),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableList}},[t._l(t.tabelHeader,function(t,e){return a("el-table-column",{key:e,attrs:{label:t.label,prop:t.prop}})}),t._v(" "),t.$getButtonLimit(t.$buttonCode.monthTarget)||t.$getButtonLimit(t.$buttonCode.dayTarget)?a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.settingStatus&&t.$getButtonLimit(t.$buttonCode.monthTarget)?a("el-button",{attrs:{"limit-code":t.$buttonCode.monthTarget,type:"text"},on:{click:function(a){return t.$router.push("/storeMonthTask?yearMonth="+e.row.yearMonth)}}},[t._v("门店月指标")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.dayTarget)?a("el-button",{attrs:{"limit-code":t.$buttonCode.dayTarget,type:"text"},on:{click:function(a){return t.$router.push("/companyDaySet?yearMonth="+e.row.yearMonth)}}},[t._v("商户日权重")]):t._e()]}}])}):t._e()],2)],1)])},staticRenderFns:[]};var d=a("VU/8")(u,p,!1,function(t){a("pQV7")},"data-v-4cf4a5fb",null);e.default=d.exports},pQV7:function(t,e){}});
\ No newline at end of file
<<<<<<< HEAD:dist/static/js/61.ee83351e47e4638289a3.js
webpackJsonp([61],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.g)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.b)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo?a.result.pageInfo.total:0,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){return t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont-hb3 icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("nrKD")},"data-v-88dcea24",null);e.default=g.exports},nrKD:function(t,e){}});
=======
webpackJsonp([98],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.g)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.b)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo?a.result.pageInfo.total:0,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){return t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont-hb3 icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("XGRz")},"data-v-4918241e",null);e.default=g.exports},XGRz:function(t,e){}});
>>>>>>> feature/任务视图日期控件bug:dist/static/js/98.f395537903ef38a74302.js
webpackJsonp([99],{"0zzn":function(t,e){},odfG:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("P9l9"),n=a("Ch4/"),l={name:"MemberShowSet",data:function(){return{tableData:[]}},created:function(){this.getTableData()},methods:{formatStoreType:function(t,e,a){var o=[];if("string"==typeof a){var n=a.split(",");o=[{label:"自营",value:"0"},{label:"联营",value:"1"},{label:"代理",value:"2"},{label:"代销",value:"3"},{label:"托管",value:"4"}].filter(function(t){return n.includes(t.value)}).map(function(t){return t.label})}return o.join("/")},formatSetting:function(t){var e=[];return 1==t.mainStoreFlag&&e.push("展示服务门店客户"),1==t.minorStoreFlag&&e.push("展示协管门店客户"),1==t.openCardStoreFlag&&e.push("展示开卡门店客户"),1==t.showFreezeFlag&&e.push("展示冻结会员"),1==t.isSeeAuthMember&&e.push("展示已开卡会员"),1==t.clerkSeeOtherFlag&&e.push("允许导购查看其他导购客户"),e.join(";")},getTableData:function(){var t=this;Object(o.b)("/haoban-app-customer-web/customer/find-member-manage-setting-list",{}).then(function(e){var a=e.data||{},o=a.code,l=a.result;0==o?(t.tableData=Array.isArray(l)?l:[],t.$nextTick(function(){t.tableData.map(function(e,a){var o=t.$refs["setContent"+a];t.$set(e,"isOverflow",o.scrollHeight>o.clientHeight)})})):n.a.errorMsg(e.data)})},onDel:function(t){var e=this;this.$set(t,"loading",!0),Object(o.b)("/haoban-app-customer-web/customer/del-member-setting",{memberManageSettingId:t.memberManageSettingId}).then(function(a){if(0!=(a.data||{}).code)return n.a.errorMsg(a.data),void e.$set(t,"loading",!1);e.$message.success("删除成功"),e.getTableData()}).catch(function(){return e.$set(t,"loading",!1)})}}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"show-set"},[a("div",{staticClass:"show-set-header"},[a("el-alert",{staticClass:"show-set-tips",attrs:{type:"info","show-icon":"",closable:!1}},[a("div",{attrs:{slot:"title"},slot:"title"},[a("div",{staticClass:"tips-text"},[t._v("1. 同一商户下,各子管理员新增的特殊策略的门店类型不能重复;")]),t._v(" "),a("div",{staticClass:"tips-text"},[t._v("2. 子管理员设置的门店类型和默认重复时,按子管理员设置的逻辑生效;")])])]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addShowRules)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addShowRules,type:"primary"},on:{click:function(e){return t.$router.push("/addMemberShowRules")}}},[t._v("新增特殊策略")]):t._e()],1),t._v(" "),a("el-table",{attrs:{data:t.tableData}},[a("el-table-column",{attrs:{label:"策略名称",prop:"strategyName","min-width":"185px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.row;return[0==e.$index?a("span",{staticClass:"default-store"},[t._v("默认")]):t._e(),t._v("\n "+t._s(o.strategyName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"策略类型",prop:"storeType",formatter:function(t,e,a){return"-999"==a?"通用策略":"特殊策略"},"min-width":"110px"}}),t._v(" "),a("el-table-column",{attrs:{label:"门店类型",prop:"storeType",formatter:t.formatStoreType,"min-width":"110px"}}),t._v(" "),a("el-table-column",{attrs:{label:"设置内容","min-width":"310px"},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.row,n=e.$index;return[o.isOverflow?a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.formatSetting(o)))]),t._v(" "),a("div",{staticClass:"text-overflow"},[t._v(t._s(t.formatSetting(o)))])]):a("div",{ref:"setContent"+n,staticClass:"text-overflow"},[t._v(t._s(t.formatSetting(o)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"创建人",prop:"creatorName","min-width":"120px","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"编辑人",prop:"modifierName","min-width":"120px","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"最近编辑时间",prop:"updateTime","min-width":"110px"},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.row;return a("div",{staticStyle:{"line-height":"normal"}},[a("p",[t._v(t._s(t._f("timeStampToYmd")(o.updateTime)))]),t._v(" "),a("p",[t._v(t._s(t._f("timeStampToHms")(o.updateTime)))])])}}])}),t._v(" "),t.$getButtonLimit(t.$buttonCode.editShowRules)||t.$getButtonLimit(t.$buttonCode.delShowRules)?a("el-table-column",{attrs:{label:"操作","min-width":"120px"},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.row,n=e.$index;return[t.$getButtonLimit(t.$buttonCode.editShowRules)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editShowRules,type:"text"},on:{click:function(e){return t.$router.push("/editMemberShowRules?id="+o.memberManageSettingId)}}},[t._v("编辑")]):t._e(),t._v(" "),n>0&&t.$getButtonLimit(t.$buttonCode.delShowRules)?a("dm-delete",{attrs:{tips:"是否删除?"},on:{confirm:function(e){return t.onDel(o)}}},[a("el-button",{attrs:{loading:o.loading,"limit-code":t.$buttonCode.delShowRules,type:"text"}},[t._v("删除")])],1):t._e()]}}])}):t._e()],1)],1)},staticRenderFns:[]};var i=a("VU/8")(l,r,!1,function(t){a("0zzn")},"data-v-46fb63d1",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([126],{"/wAz":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"0xDb":function(e,t,a){"use strict";t.a=function(){var e=new Date((new Date).getTime()-864e5),t=e.getTime()-7776e6,a=e.getFullYear(),o=e.getMonth()+1,n=e.getDate()<10?"0"+e.getDate():e.getDate(),r=o<10?"0"+o:o,s=new Date(t),i=s.getFullYear(),p=s.getMonth()+1,d=s.getDate()<10?"0"+s.getDate():s.getDate();return[i+"-"+(p<10?"0"+p:p)+"-"+d,a+"-"+r+"-"+n]};var o=a("woOf"),n=(a.n(o),a("fZjL")),r=(a.n(n),a("pFYg"));a.n(r),new Date},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(o){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"Ch4/":function(e,t,a){"use strict";var o=a("l6IN"),n=(a.n(o),JSON.parse(sessionStorage.getItem("userInfos")||"{}")),r="string"==typeof n.gicHost?n.gicHost.replace(/\/$/,""):"";location.origin.indexOf("localhost")>=0&&(r=location.origin),t.a={errorMsg:function(e){if(1!=e.errorCode){if(4==e.errorCode)return window.location.href=r+"/gic-web/#/login?ishb=1",!1;if(10==e.errorCode)return window.location.href=r+"/haoban-3/#/index",!1;o.Message.error({duration:2e3,message:e.message||"接口异常"})}}}},FHfR:function(e,t){e.exports={multipleAssign:"multipleAssign",assign:"assign",willSyncTag:"willSyncTag",breakSyncTag:"breakSyncTag",addShowRules:"addShowRules",editShowRules:"editShowRules",delShowRules:"delShowRules",groupExpire:"groupExpire",syncGroup:"syncGroup",addGroupTemp:"addGroupTemp",editGroupTemp:"editGroupTemp",setStoreArea:"setStoreArea",delGroupTemp:"delGroupTemp",searchSetSave:"searchSetSave",saveTrafficTaskSet:"saveTrafficTaskSet",addCard:"addCard",editCard:"editCard",delCard:"delCard",sendCardLog:"sendCardLog",getCardLog:"getCardLog",saveEvaluateSet:"saveEvaluateSet",addMaterialGroup:"addMaterialGroup",editMaterialGroup:"editMaterialGroup",delMaterialGroup:"delMaterialGroup",multipleDelAssets:"multipleDelAssets",multipleMoveAssets:"multipleMoveAssets",addText:"addText",editText:"editText",delText:"delText",textAssignStore:"textAssignStore",addImage:"addImage",editImage:"editImage",delImage:"delImage",imageAssignStore:"imageAssignStore",addWeb:"addWeb",editWeb:"editWeb",delWeb:"delWeb",webAssignStore:"webAssignStore",addVideo:"addVideo",editVideo:"editVideo",delVideo:"delVideo",videoAssignStore:"videoAssignStore",addFile:"addFile",editFile:"editFile",delFile:"delFile",fileAssignStore:"fileAssignStore",addApps:"addApps",editApps:"editApps",delApps:"delApps",appsAssignStore:"appsAssignStore",saveGoodsSet:"saveGoodsSet",exportActiveUser:"exportActiveUser",exportLoginUser:"exportLoginUser",exportAreaLoginUser:"exportAreaLoginUser",multipleDelReport:"multipleDelReport",exportReport:"exportReport",reportDetail:"reportDetail",multipleDelReportDetail:"multipleDelReportDetail",delReportDetail:"delReportDetail",showReportDetail:"showReportDetail",multipleExportReport:"multipleExportReport",saveTaskSet:"saveTaskSet",settingSystemReport:"settingSystemReport",saveSystemReport:"saveSystemReport",addCustomReport:"addCustomReport",copyCustomReport:"copyCustomReport",editCustomReport:"editCustomReport",delCustomReport:"delCustomReport",monthTarget:"monthTarget",dayTarget:"dayTarget",exportMonthTask:"exportMonthTask",checkMonthTask:"checkMonthTask",multipleDelTask:"multipleDelTask",delTask:"delTask",exportStoreList:"exportStoreList",checkStoreList:"checkStoreList",exportStoreDetail:"exportStoreDetail",checkStoreDetail:"checkStoreDetail",exportStoreDetailPop:"exportStoreDetailPop",previewStoreDetail:"previewStoreDetail",exportGrTaskList:"exportGrTaskList",checkGrTaskList:"checkGrTaskList",exportTaskRecord:"exportTaskRecord",multipleDelTaskRecord:"multipleDelTaskRecord",checkTaskRecord:"checkTaskRecord",exportTaskDetail:"exportTaskDetail",multipleDelTaskDetail:"multipleDelTaskDetail",delTaskDetail:"delTaskDetail",resolveTaskDetail:"resolveTaskDetail",previewTaskDetail:"previewTaskDetail",exportTaskView:"exportTaskView",multipleDelTaskView:"multipleDelTaskView",checkTaskView:"checkTaskView",exportTaskViewDetail:"exportTaskViewDetail",multipleDelTaskViewDetail:"multipleDelTaskViewDetail",checkTaskDetail:"checkTaskDetail",addSalutatory:"addSalutatory",editSalutatory:"editSalutatory",delSalutatory:"delSalutatory",multipleResolve:"multipleResolve",singleResolve:"singleResolve",singleReject:"singleReject",saveApplySetting:"saveApplySetting",refreshStoreMember:"refreshStoreMember",exportContact:"exportContact",checkContactDetail:"checkContactDetail",checkContactMemberDetail:"checkContactMemberDetail",checkLog:"checkLog",saveGuideSetting:"saveGuideSetting",saveAppsVisible:"saveAppsVisible",refreshStoreInfo:"refreshStoreInfo",saveMemberSecret:"saveMemberSecret",addMemberAppsSecret:"addMemberAppsSecret",editMemberAppsSecret:"editMemberAppsSecret",delMemberAppsSecret:"delMemberAppsSecret",addAppsSecret:"addAppsSecret",getAppsSecret:"getAppsSecret",editAppsSecret:"editAppsSecret",delAppsSecret:"delAppsSecret",checkAuth:"checkAuth",bindStoreList:"bindStoreList",refreshStore:"refreshStore",refreshAdminList:"refreshAdminList",addActCode:"addActCode",batchActCode:"batchActCode",batchGroup:"batchGroup",dataActCode:"dataActCode",infoActCode:"infoActCode",editActCode:"editActCode",downActCode:"downActCode",delActCode:"delActCode",recordCode:"recordCode",addLink:"addLink",dataLink:"dataLink",infoLink:"infoLink",editLink:"editLink",downLink:"downLink",recordLink:"recordLink"}},MtkU:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),r=(a("j1ja"),a("hKoQ")),s=a.n(r),i=a("mvHQ"),p=a.n(i),d=a("//Fk"),c=a.n(d),l=a("lRwf"),u=a.n(l),m=a("Ch4/"),g=a("P9l9"),h=a("Gu7T"),f=a.n(h),v=a("pRNm"),w=a.n(v),S=a("5tgt"),C=a.n(S),D=[{path:"/staffActCode",name:"员工活码",component:C()("salesleads/actCodeManage/staffActCode","index"),meta:{componentName:"staffActCode",fromPath:["/actCodeEdit","/actCodeBatch","/actCodeDetail","/actCodeDetails"]}},{path:"/actCodeRecord",name:"查看记录",component:C()("salesleads/actCodeManage/staffActCode","actCodeRecord")},{path:"/actCodeDetail",name:"活码详情-数据",component:C()("salesleads/actCodeManage/staffActCode","actCodeDetail")},{path:"/actCodeDetails",name:"活码详情-详情",component:C()("salesleads/actCodeManage/staffActCode","actCodeDetail"),meta:{componentName:"actCodeDetail",fromPath:["/actCodeRecord"]}},{path:"/actCodeAdd",name:"新增活码",component:C()("salesleads/actCodeManage/staffActCode/views","setActCode")},{path:"/actCodeEdit",name:"编辑活码",component:C()("salesleads/actCodeManage/staffActCode/views","setActCode")},{path:"/actCodeBatch",name:"批量创建活码",component:C()("salesleads/actCodeManage/staffActCode/views","batchAddCode")}],k=[{path:"/attractFlowLink",name:"引流链接",component:C()("salesleads/actCodeManage/attractFlowLink","index"),meta:{componentName:"attractFlowLink",fromPath:["/attractFlowLinkEdit/:id","/attractFlowLinkInfo/:id","/attractFlowLinkInfos/:id"]}},{path:"/attractFlowLinkAdd",name:"新增引流链接",meta:{type:"add"},component:C()("salesleads/actCodeManage/attractFlowLink","detail")},{path:"/attractFlowLinkEdit/:id",name:"编辑引流链接",meta:{type:"edit"},component:C()("salesleads/actCodeManage/attractFlowLink","detail")},{path:"/attractFlowLinkInfo/:id",name:"详情引流链接",meta:{type:"info"},component:C()("salesleads/actCodeManage/attractFlowLink","info")},{path:"/attractFlowLinkInfos/:id",name:"详情引流链接",meta:{type:"info"},component:C()("salesleads/actCodeManage/attractFlowLink","info")},{path:"/attLinkRecord",name:"查看记录",component:C()("salesleads/actCodeManage/staffActCode","actCodeRecord")},{path:"/ladingPageList",name:"落地页列表",component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","list"),meta:{componentName:"ladingPageList",fromPath:["/ladingPageEdit/:id"]}},{path:"/ladingPageAdd",name:"新建落地页",meta:{type:"add"},component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","detail")},{path:"/ladingPageEdit/:id",name:"编辑落地页",meta:{type:"edit"},component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","detail")},{path:"/operationLog",name:"操作日志",component:C()("salesleads/actCodeManage","operateLog")}],b=[].concat(f()(D),f()(k));u.a.use(w.a);var x=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var y=[{path:"/loginMore",name:"登录",component:C()("login","login-more")},{path:"/refresh",name:"刷新",component:C()("errorPage","refresh")},{path:"/",redirect:"/index",component:function(){return Promise.all([a.e(0),a.e(6)]).then(a.bind(null,"xW93"))},children:[{path:"/contactsList",name:"通讯录",component:C()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:C()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:C()("business","authMerchant")},{path:"/authMerchantForm",name:"新建授权商户",component:C()("business","authMerchant-form")},{path:"/merchantStoreList",name:"绑定门店列表",component:C()("business","storeList")},{path:"/enterpriseSet",name:"企业信息",component:C()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:C()("enterprise","adminList")},{path:"/material",name:"素材库",component:C()("enterprise","material")},{path:"/salutatory",name:"欢迎语",component:C()("enterprise","salutatoryIndex"),meta:{componentName:"salutatoryIndex",fromPath:["/editSalutatorySet"]}},{path:"/salutatorySet",name:"新建欢迎语",component:C()("enterprise","salutatorySet")},{path:"/editSalutatorySet",name:"编辑欢迎语",component:C()("enterprise","salutatorySet")},{path:"/guide-setting",name:"导购设置",component:C()("enterprise","guide-setting")},{path:"/setting",name:"操作设置",component:C()("setting","index")},{path:"/unreview",name:"未审核",component:C()("reviewCenter","unreview")},{path:"/reviewed",name:"已审核",component:C()("reviewCenter","reviewed")},{path:"/reviewSet",name:"审核设置",component:C()("reviewCenter","reviewSet")},{path:"/taskRecord",name:"话务任务记录",component:C()("salesleads/trafficTask","taskRecord"),meta:{componentName:"TaskRecord",fromPath:["/taskDetail"]}},{path:"/taskView",name:"话务任务记录",component:C()("salesleads/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:C()("salesleads/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:C()("salesleads/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:C()("salesleads/trafficTask","trafficTaskSet")},{path:"/grStoreList",name:"门店视图",component:C()("salesleads/groupSend","grStoreList"),meta:{componentName:"grStoreList",fromPath:["/grStoreDetail/:id"]}},{path:"/grStoreDetail/:id",name:"门店视图",component:C()("salesleads/groupSend","grStoreDetail")},{path:"/grTaskList",name:"计划视图",component:C()("salesleads/groupSend","grTaskList")},{path:"/enterpriseUseData",name:"好办使用详情",component:C()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:C()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:C()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:C()("enterpriseData","areaLoginDetail")},{path:"/overStoreList",name:"溢出门店",component:C()("overstore","overStoreList")},{path:"/memberShowSet",name:"客户展示设置",component:C()("apps/customerApp","memberShowSet")},{path:"/addMemberShowRules",name:"新增特殊策略",component:C()("apps/customerApp","add-member-show-rules")},{path:"/editMemberShowRules",name:"编辑特殊策略",component:C()("apps/customerApp","add-member-show-rules")},{path:"/memberGroupSet",name:"客户分组设置",component:C()("apps/customerApp","memberGroupSet"),meta:{componentName:"memberGroupSet",fromPath:["/addGroupTemplate","/editGroupTemplate","/storeRangeSet"]}},{path:"/memberSearchSet",name:"客户搜索设置",component:C()("apps/customerApp","memberSearchSet")},{path:"/memberTagSet",name:"客户标签设置",component:C()("apps/customerApp","memberTagSet")},{path:"/syncHistory",name:"同步历史",component:C()("apps/customerApp","syncHistory")},{path:"/myCustomerList",name:"我的客户列表",component:C()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:C()("apps/customerApp","addGroupTemplate")},{path:"/editGroupTemplate",name:"编辑模板",component:C()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:C()("apps/customerApp","storeRangeSet")},{path:"/dailyRecord",name:"云日报记录",component:C()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:C()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:C()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:C()("apps/cloudDaily","taskAssign")},{path:"/daily-setting",name:"系统报表",component:C()("apps/cloudDaily","daily-setting")},{path:"/customReportSet",name:"新增自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/customReportCopy",name:"复制自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/customReportEdit",name:"编辑自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/monthList",name:"月指标列表",component:C()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:C()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:C()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:C()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:C()("apps/quota","monthTask"),meta:{componentName:"monthTask",fromPath:["/monthTaskDetail"]}},{path:"/monthTaskDetail",name:"月指标任务详情",component:C()("apps/quota","monthTaskDetail")},{path:"/cardList",name:"卡券列表",component:C()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:C()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:C()("apps/card","newCard")},{path:"/editCard",name:"编辑卡券",component:C()("apps/card","newCard")},{path:"/cardTemplate",name:"卡券模板",component:C()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:C()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:C()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:C()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:C()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:C()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:C()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:C()("apps/protectCard","cardGetRecord")},{path:"/goodsShowSet",name:"商品展示设置",component:C()("apps/shoppingCenter","goodsShowSet")},{path:"/evaluate-set",name:"订单评价",component:C()("apps/order-evaluate","evaluate-set")}].concat(f()(b),[{path:"/403",name:"无权访问",component:x},{path:"/404",name:"error404",component:x},{path:"/500",name:"error500",component:x}])},{path:"/gic-error",name:"gic跳转失败页",component:C()("errorPage","gic-error")}],A=new w.a({routes:y,scrollBehavior:function(){return{y:0}}}),T=["/login","/loginMore"],M="",R="";A.beforeEach(function(e,t,a){M=e.path,R=t.path,sessionStorage.getItem("hbReload")?sessionStorage.removeItem("hbReload"):T.includes(R)&&(sessionStorage.setItem("hbReload",1),setTimeout(function(){location.reload()},50)),a()});var L={name:"App",data:function(){return{loading:!0,menuList:[],pageRight:[]}},beforeDestroy:function(){document.removeEventListener("visibilitychange",this.checkUser)},created:function(){var e=this;document.addEventListener("visibilitychange",this.checkUser),this.getUserInfo().then(function(){T.includes(M)||T.includes(R)?e.loading=!1:c.a.all([e.getRight(),e.getMenuList()]).finally(function(){setTimeout(function(){return e.loading=!1},200)})})},methods:{checkUser:function(){var e=this;if(!document.hidden){var t=JSON.parse(sessionStorage.getItem("userInfos"));this.getUserInfo().then(function(){JSON.parse(sessionStorage.getItem("userInfos")).clerkId!=t.clerkId&&e.$router.push("/refresh")})}},getUserInfo:function(){return Object(g.g)("/haoban-manage3-web/get-login-info",{}).then(function(e){var t=e.data||{},a=t.errorCode,o=t.result;1==a?(sessionStorage.setItem("userInfos",p()(o)),o.enterpriseId&&(u.a.axios.defaults.headers.common.enterpriseId=o.enterpriseId)):m.a.errorMsg(e.data)})},getMenuList:function(){var e=this;return Object(g.b)("/haoban-manage3-web/get-haoban-menu",{}).then(function(t){var a=t.data||[],o=a.errorCode,n=a.result;1==o?Array.isArray(n)&&(e.menuList=n,e.setIndexRoute(n)):m.a.errorMsg(t.data)})},getRight:function(){var e=this;return Object(g.b)("/haoban-manage3-web/get-haoban-right",{}).then(function(t){var a=t.data||{},o=a.errorCode,n=a.result;1==o?(e.pageRight=e.getPageRight(n.menu),e.checkButtonRight(n.button),e.checkPageRight(e.pageRight,function(e){return function(e,t){e&&e.menuCode&&console.log(t.filter(function(t){return t.parentCode==e.menuCode}))}(e,n.button)})):m.a.errorMsg(t.data)})},getPageRight:function(e){return e.filter(function(e){return"string"==typeof e.menuUrl&&e.menuUrl.length>0}).map(function(e){for(var t=e.menuUrl,a=/(:.*)(\/?)/;a.test(t);)t=t.replace(a,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");for(a=/(\/\*)(\/?)/;a.test(t);)t=t.replace(a,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");return e.regexp=new RegExp("^/"+t+"$"),e})},checkButtonRight:function(e){u.a.prototype.$getButtonLimit=function(t){return 1==(e.find(function(e){return e.menuCode==t})||{}).hasRight}},checkPageRight:function(e,t){var a=e.find(function(e){return e.regexp.test(M)});if(a&&0==a.hasRight){var o=sessionStorage.getItem("hbReloadPath")||"";a.menuUrl==o.substr(1)?(this.$router.push("/index"),sessionStorage.removeItem("hbReloadPath")):this.$router.push({path:"/403"})}t(a),A.beforeEach(function(a,o,n){var r=e.find(function(e){return e.regexp.test(a.path)});if(t(r),r&&0==r.hasRight)return n({path:"/403"});n()})},setIndexRoute:function(e){var t="",a=[{path:"*",redirect:"/404"}];e.some(function(e){return e.hasRight&&e.isShow&&Array.isArray(e.childList)&&e.childList.some(function(e){return e.hasRight&&e.isShow&&Array.isArray(e.childList)&&e.childList.some(function(e){return e.hasRight&&e.isShow&&(t=e.menuUrl),e.hasRight&&e.isShow}),t}),t}),t&&a.push({path:"/index",redirect:"/"+t}),this.$router.addRoutes(a)}}},E={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:this.loading,expression:"loading"}],staticStyle:{"min-height":"100vh"},attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[this.loading?this._e():t("router-view",{attrs:{"menu-list":this.menuList,"page-right":this.pageRight}})],1)],1)},staticRenderFns:[]};var I,P=a("VU/8")(L,E,!1,function(e){a("MtkU")},null,null).exports,F=a("bOdI"),G=a.n(F),V=a("SJI6"),j=a.n(V),q=a("0xDb");u.a.use(j.a);var N=new j.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[],wxEnterpriseType:0,salesDate:Object(q.a)()},mutations:(I={},G()(I,"login",function(e,t){sessionStorage.token=t,e.token=t}),G()(I,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),G()(I,"title",function(e,t){e.title=t}),G()(I,"show",function(e,t){e.show=t}),G()(I,"saveAdd",function(e,t){e.addDepartment.push(t)}),G()(I,"saveEdit",function(e,t){e.editDepartment.push(t)}),G()(I,"saveDel",function(e,t){e.delDepartment.push(t)}),G()(I,"clearAdd",function(e){e.addDepartment=[]}),G()(I,"clearEdit",function(e){e.editDepartment=[]}),G()(I,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),G()(I,"changeWxEntertype",function(e,t){e.wxEnterpriseType=t}),G()(I,"changeSalesDate",function(e,t){e.salesDate=t}),I),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")},changeWxEntertypeData:function(e,t){e.commit("changeWxEntertype",t)},changeSales:function(e,t){e.commit("changeSalesDate",t)}}}),U={codeList:"https://www.yuque.com/exnmlu/oo64hg/thm172#WRdju",codeGl:"https://www.yuque.com/exnmlu/oo64hg/thm172#ADEzt",codeCkmx:"https://www.yuque.com/exnmlu/oo64hg/thm172#mDlza",linkList:"https://www.yuque.com/exnmlu/oo64hg/lggf7q#WRdju",linkGl:"https://www.yuque.com/exnmlu/oo64hg/lggf7q#ADEzt",linkCkmx:"https://www.yuque.com/exnmlu/oo64hg/lggf7q#mDlza"},H={clipboard:{bind:function(e,t,a,o){e.val=t.value,e.handler=function(){var t=e.val,a=document.createElement("input");e.appendChild(a),a.value=t,a.select(),document.execCommand("Copy"),u.a.prototype.$message({type:"success",message:"复制成功"}),a.parentNode.removeChild(a)},e.addEventListener("click",e.handler)},update:function(e,t,a,o){e.val=t.value},unbind:function(e){e.removeEventListener("click",e.handler)}},jumpLink:{bind:function(e,t){var a=t.arg;e.handler=function(){window.open(U[a])},e.addEventListener("click",e.handler)},unbind:function(e){e.removeEventListener("click",e.handler)}}},O=(a("/wAz"),a("pc4g"),a("4qCZ"),a("xtVA"),a("Q0Ca")),Y={props:{size:{type:[Number,String],default:20},iconname:{type:String,default:""}},computed:{ClassStyle:function(){return"width:"+parseInt(this.size)+";height:"+parseInt(this.size)+";"},IconName:function(){return"#"+this.iconname}}},z={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon svg-icon svg-iconfont-hb3",style:this.ClassStyle,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.IconName}})])},staticRenderFns:[]};var W=a("VU/8")(Y,z,!1,function(e){a("mF/g")},"data-v-aa28dd00",null).exports,$=a("TUaa"),J=a.n($),B=a("tyqE"),X=a.n(B),Q=a("pRVe"),K=a.n(Q),Z=a("XsK6"),_=a.n(Z),ee=a("QRL9"),te=a.n(ee),ae=a("eMjc"),oe=a.n(ae),ne=a("l9mu"),re=a.n(ne),se={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;oe()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,o=t.height,n=a/592.28*841.89,r=o,s=0,i=592.28/a*o,p=t.toDataURL("image/jpeg",1),d=new re.a("","pt","a4");if(r<n)d.addImage(p,"JPEG",0,0,595.28,i);else for(;r>0;)d.addImage(p,"JPEG",0,s,595.28,i),s-=841.89,(r-=n)>0&&d.addPage();d.save(e+".pdf")})}}},ie=a("/IwO"),pe=a.n(ie),de=a("FHfR"),ce=a.n(de),le={name:"HbFormBottom",inject:["layoutVm"],props:{horizontal:{type:String,default:"center"}},data:function(){return{width:"0px"}},mounted:function(){this.width=this.$parent.$el.offsetWidth+"px",this.layoutVm.pagePaddingBottom=this.$el.offsetHeight+"px"},beforeDestroy:function(){this.layoutVm.pagePaddingBottom=null}},ue={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"hb-form-bottom",style:{width:this.width,"justify-content":"left"==this.horizontal?"flex-start":"right"==this.horizontal?"flex-end":"center"}},[this._t("default")],2)},staticRenderFns:[]};var me=a("VU/8")(le,ue,!1,function(e){a("dKGT")},"data-v-87d7ea0c",null).exports;s.a.polyfill(),u.a.component("svg-icon",W),n()(H).map(function(e){return u.a.directive(e,H[e])}),u.a.use(pe.a),pe.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,u.a.use(se),u.a.use(_.a),u.a.use(te.a),u.a.use(K.a),u.a.use(X.a),u.a.use(J.a),u.a.component("hb-form-bottom",me),u.a.config.productionTip=!1,n()(O.a).forEach(function(e){u.a.filter(e,O.a[e])}),A.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var o=window.location.origin;o.indexOf("localhost"),a()}),u.a.prototype.$buttonCode=ce.a,new u.a({el:"#app",router:A,store:N,components:{App:P},template:"<App/>"})},OMN4:function(e,t){e.exports=axios},Opzk:function(e,t,a){var o={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,78],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,98],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,89],"./apps/badEvaluate/index.vue":["AG22",0,40],"./apps/card/cardList.vue":["X5LE",0,101],"./apps/card/cardRecord.vue":["xDJN",0,29],"./apps/card/index.vue":["nV1L",0,67],"./apps/card/newCard.vue":["7/Zw",0,22],"./apps/cloudDaily/customReport.vue":["ak3k",0,64],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,8],"./apps/cloudDaily/daily-setting.vue":["RnLd",0,7],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,30],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,38],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,65],"./apps/cloudDaily/index.vue":["4QyY",0,90],"./apps/cloudDaily/systemReport.vue":["J/6z",0,9],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,53],"./apps/cloudDaily/template/block.vue":["O3gZ",88],"./apps/cloudDaily/template/date-range.vue":["2WGr",81],"./apps/cloudDaily/template/image.vue":["8dpP",55],"./apps/cloudDaily/template/input.vue":["zHtI",96],"./apps/cloudDaily/template/select.vue":["rYZf",84],"./apps/customerApp/add-member-show-rules.vue":["SUcx",58],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,41],"./apps/customerApp/index.vue":["QHTa",0,62],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,54],"./apps/customerApp/memberGroupList.vue":["scn4",0,68],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,18],"./apps/customerApp/memberGroupSetList.vue":["8fbE",0,113],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,122],"./apps/customerApp/memberShowSet.vue":["odfG",99],"./apps/customerApp/memberTagSet.vue":["HmLC",51],"./apps/customerApp/myCustomerList.vue":["9CCr",0,11],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,86],"./apps/customerApp/syncHistory.vue":["T435",52],"./apps/index.vue":["K1Vb",0,73],"./apps/order-evaluate/bad-evaluate-set.vue":["z2RJ",0,77],"./apps/order-evaluate/evaluate-set.vue":["RvMj",94],"./apps/order-evaluate/index.vue":["NUSj",0,61],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,117],"./apps/protectCard/cardPut.vue":["cD4x",0,76],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,104],"./apps/protectCard/cardStrategy.vue":["rUvh",0,45],"./apps/protectCard/cardTemplate.vue":["c7iB",0,102],"./apps/protectCard/index.vue":["aWmL",0,121],"./apps/protectCard/newCardPut.vue":["9db3",0,15],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,16],"./apps/protectCard/newCardTemp.vue":["tF0P",0,80],"./apps/quota/companyDaySet.vue":["NiGE",0,92],"./apps/quota/index.vue":["qSX4",0,95],"./apps/quota/monthList.vue":["fAFA",0,97],"./apps/quota/monthTask.vue":["NpHY",0,66],"./apps/quota/monthTaskDetail.vue":["YKf6",0,79],"./apps/quota/salerMonthDetail.vue":["+qr5",0,120],"./apps/quota/storeMonthTask.vue":["qWC+",0,69],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,93],"./apps/shoppingCenter/index.vue":["FIFf",0,109],"./business/authMerchant-dailog.vue":["/cEq",0,33],"./business/authMerchant-form.vue":["2xxS",0,10],"./business/authMerchant.vue":["mjMK",123],"./business/contacts.vue":["/W60",0,4],"./business/index.vue":["jPcV",0,100],"./business/not-manager.vue":["9F6+",0],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,75],"./business/storeList.vue":["QZxC",0,111],"./business/syncLog.vue":["20P3",0,46],"./enterprise/adminList.vue":["zYBJ",0,119],"./enterprise/app-visible-setting.vue":["w5vQ",72],"./enterprise/enterpriseSet.vue":["x5Fx",0,21],"./enterprise/guide-auth-setting.vue":["i0rV",116],"./enterprise/guide-setting.vue":["tPY2",24],"./enterprise/index.vue":["m9dW",0,107],"./enterprise/material.vue":["q+Sm",0,2],"./enterprise/relationDialog.vue":["+hGG",0],"./enterprise/salutatory.vue":["xWf4",0,74],"./enterprise/salutatoryIndex.vue":["nExe",0,27],"./enterprise/salutatorySet.vue":["vqCN",0,19],"./enterpriseData/activeDetail.vue":["h9Ca",0,32],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,26],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,5],"./enterpriseData/index.vue":["CTf4",0,91],"./enterpriseData/loginDetail.vue":["kX6v",0,12],"./errorPage/403.vue":["6XGN",43],"./errorPage/404.vue":["AejC",42],"./errorPage/500.vue":["FskK",35],"./errorPage/gic-error.vue":["Q3j/",70],"./errorPage/index.vue":["ODjX",1],"./errorPage/refresh.vue":["0/JE",124],"./index/index.vue":["JXTs",0,37],"./login/index.vue":["T+/8",0,34],"./login/login-more.vue":["AVFt",0,50],"./overstore/index.vue":["Y55K",0,118],"./overstore/overStoreList.vue":["vuAV",0,57],"./reviewCenter/index.vue":["+lem",110],"./reviewCenter/reviewSet.vue":["6j9f",0,103],"./reviewCenter/reviewed.vue":["CLYF",0,31],"./reviewCenter/unreview.vue":["xCEU",0,17],"./salesleads/actCodeManage/attractFlowLink/detail.vue":["ATNk",0,47],"./salesleads/actCodeManage/attractFlowLink/index.vue":["7m4r",0,105],"./salesleads/actCodeManage/attractFlowLink/info.vue":["phd8",0,23],"./salesleads/actCodeManage/attractFlowLink/landingPage/cardView.vue":["4KYo",48],"./salesleads/actCodeManage/attractFlowLink/landingPage/detail.vue":["t/sc",0,112],"./salesleads/actCodeManage/attractFlowLink/landingPage/list.vue":["fjEt",0,14],"./salesleads/actCodeManage/attractFlowLink/landingPage/relationDialog.vue":["GdW8",0,106],"./salesleads/actCodeManage/attractFlowLink/newAddChart.vue":["tqu3",0,114],"./salesleads/actCodeManage/components/select-clerk/index.vue":["znzC",0],"./salesleads/actCodeManage/components/select-clerk/select-clerk.vue":["1Am8",0],"./salesleads/actCodeManage/components/select-clerk/selected-clerk-item.vue":["jMsE",0],"./salesleads/actCodeManage/operateLog.vue":["EzCA",0,87],"./salesleads/actCodeManage/staffActCode/actCodeDetail.vue":["DWsn",0,28],"./salesleads/actCodeManage/staffActCode/actCodeDetailStatistics.vue":["YQXN",0,85],"./salesleads/actCodeManage/staffActCode/actCodeRecord.vue":["jx8Q",0,36],"./salesleads/actCodeManage/staffActCode/index.vue":["tVK0",0,13],"./salesleads/actCodeManage/staffActCode/newAddChart.vue":["eaYI",0],"./salesleads/actCodeManage/staffActCode/views/act-code-table.vue":["XZyq",0,39],"./salesleads/actCodeManage/staffActCode/views/batchAddCode.vue":["/pg7",0,56],"./salesleads/actCodeManage/staffActCode/views/group-list.vue":["t6Nl",0,115],"./salesleads/actCodeManage/staffActCode/views/setActCode.vue":["txZy",0,83],"./salesleads/components/act-code-set.vue":["1fzb",0],"./salesleads/components/actCodeDetailInfo.vue":["DvcT",0],"./salesleads/components/dataDetail.vue":["/p6h",0],"./salesleads/components/welcomesItem.vue":["42hH",0],"./salesleads/groupSend/grStoreDetail.vue":["XF7X",0,20],"./salesleads/groupSend/grStoreList.vue":["w4UW",0,71],"./salesleads/groupSend/grTaskList.vue":["Uvr8",0,108],"./salesleads/index.vue":["owWS",0,44],"./salesleads/trafficTask/taskDetail.vue":["wRTX",0,25],"./salesleads/trafficTask/taskRecord.vue":["Wj0m",0,60],"./salesleads/trafficTask/taskView.vue":["TsS9",0,49],"./salesleads/trafficTask/taskViewDetail.vue":["f1qT",0,63],"./salesleads/trafficTask/trafficTaskSet.vue":["3Qek",0,59],"./setting/index.vue":["VlR1",0,82]};function n(e){var t=o[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}n.keys=function(){return Object.keys(o)},n.id="Opzk",e.exports=n},P9l9:function(e,t,a){"use strict";a.d(t,"b",function(){return D}),a.d(t,"a",function(){return k}),a.d(t,"g",function(){return b}),a.d(t,"f",function(){return x}),a.d(t,"e",function(){return y}),a.d(t,"d",function(){return A}),a.d(t,"c",function(){return T});var o=a("//Fk"),n=a.n(o),r=a("lRwf"),s=a.n(r),i=a("Rf8U"),p=a.n(i),d=a("OMN4"),c=a.n(d),l=a("mw3O"),u=a.n(l),m=a("l6IN");a.n(m);s.a.use(p.a,c.a),s.a.axios.defaults.withCredentials=!0,s.a.axios.defaults.headers.common.platform="haoban",s.a.axios.defaults.timeout=5e5;var g=window.location.origin,h=JSON.parse(sessionStorage.getItem("userInfos")||"{}"),f="string"==typeof h.gicHost?h.gicHost.replace(/\/$/,""):"";console.log(f),g.indexOf("localhost")>=0&&(f=g);var v=[],w=[],S=s.a.axios.CancelToken,C=function(e){for(var t in w)w[t].u===e.url+"&"+e.method&&(w[t].f(),w.splice(t,1))};s.a.axios.interceptors.request.use(function(e){if(C(e),e.cancelToken=new S(function(t){w.push({u:e.url+"&"+e.method,f:t})}),e.cancelToken=new s.a.axios.CancelToken(function(e){v.push({cancel:e})}),sessionStorage.getItem("userInfoBrandId")){var t=sessionStorage.getItem("userInfoBrandId");t&&(e.headers.enterpriseId=t)}return e},function(e){return m.Message.error({message:"请求超时!"}),n.a.resolve(e)}),s.a.axios.interceptors.response.use(function(e){if(C(e.config),e.status&&200==e.status&&1!=e.data.errorCode&&0!=e.data.code){if(4==e.data.errorCode){if(-1!=window.location.href.indexOf("gic-error"))return!1;window.location.href=f+"/gic-web/#/login?ishb=1"}return 10!=e.data.errorCode&&7!=e.data.errorCode||(window.location.href=f+"/haoban-3/#/index"),e}return e},function(e){return 502==e.response.status&&(window.location.href=f+"/gic-web/#/login?ishb=1",m.Message.error({message:"服务异常⊙﹏⊙∥"})),403!=e.response.status&&(window.location.href=f+"/gic-web/#/login?ishb=1",m.Message.error({message:"登录失效!"})),n.a.resolve(e)});var D=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"get",url:""+g+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},k=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"delete",url:""+g+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},b=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+g+e,data:u.a.stringify(t),headers:{"Content-type":"application/x-www-form-urlencoded"}})},x=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+g+e,data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})},y=function(e,t){return s.a.axios({method:"post",url:""+g+e,data:t,params:{requestProject:"haoban-manage-web"},headers:{"Content-Type":"application/json;charset=UTF-8"}})},A=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+g+e,data:t,headers:{}})},T=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+g+e,data:u.a.stringify(t),responseType:"blob",headers:{"content-type":"application/x-www-form-urlencoded"}})}},Q0Ca:function(e,t,a){"use strict";t.a={dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),o={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var n in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[n]:("00"+o[n]).substr((""+o[n]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+n+"-"+o+" "+r+":"+s+":"+i}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=a<10?"0"+a:a;return t.getFullYear()+"-"+o}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a;return t.getFullYear()+"-"+n+"-"+o}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+n+"."+o+" "+r+":"+s+":"+i}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},timeStampToYmd2:function(e){if(e){var t=new Date(e-864e5),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a;return t.getFullYear()+"-"+n+"-"+o}},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var o=a%864e5,n=o%36e5;return Math.floor(a/864e5)+"天"+Math.floor(o/36e5)+"小时"+Math.floor(n/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)},formatInvalidStatus:function(e){var t="--";return 1==e?t="未失效":2==e&&(t="已失效"),t}}},SJI6:function(e,t){e.exports=Vuex},dKGT:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},"mF/g":function(e,t){},pRNm:function(e,t){e.exports=VueRouter},pc4g:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(f&&f(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},c={127:0};function d(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,d){f=c[e]=[a,d]});f[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"bd8122baa17a6bf40950",1:"fd15a7f381f3fc4a55fe",2:"d94a4d394c954567977d",3:"cf88d56554ebd1b98880",4:"f48e99bcbd5757fd7f21",5:"9caf2662daa480edc216",6:"55e49406303ffbbe00f6",7:"04b6a76259d8e9d97f6f",8:"1774efeb7b5537a21afa",9:"ccdd5ef4287324da425a",10:"0c309eceb04d492e8695",11:"c8269a6ce3166c2baddb",12:"62aacaf39a18c9d0c559",13:"af8dbda8aead2733f959",14:"34ac983117b5d6440647",15:"9d0d587ff1c54fd27ed2",16:"03efbc3fd86def29dffe",17:"bea90e10f3e91e59fb36",18:"edc7a426bdab510f497a",19:"5d6c250590f251df916d",20:"b2063783bda9d1a2361e",21:"11826617f80c3d124999",22:"ed2d87a3b61cb1bcd405",23:"33ace7a5fc24922ae259",24:"f4f5fbc8a0755d988763",25:"f0488296b7e86a8c6ef0",26:"9bcaea2d90c17205d28d",27:"aeef277e50f51aee1062",28:"97cc4ec34acceea6b0fc",29:"de009f2b0d63edea642f",30:"060b9cefa8769c93002d",31:"f831c34cfed019396376",32:"43cb44570ca4705a8e71",33:"7905d75f9175f609d621",34:"6bc9f5faa99efb8fd2e9",35:"46083964a212c678907a",36:"3a5599a16aac7937e555",37:"850afd86dcf45b00c297",38:"01bc0f8f23d0731dda44",39:"c77317bde6a560f384ce",40:"a21604896caab2ce2991",41:"5aaff40d52d018b1d342",42:"4c5c6fb596a3a580d5e6",43:"8fd4c4cc5cbfefdef418",44:"6b085ba5eccd8e026fb4",45:"ccba0860f1d79740cbfe",46:"8c5af0d05d98b6e7f672",47:"32bba029bd6b58bee9d3",48:"9f17d9a314a70880c83b",49:"55ed36c94931276ccedd",50:"480dab4ae9e1e775459c",51:"cb35a36da37fff01aebf",52:"d011bbf6eb68b0afe482",53:"5eb6577a05917a822fa5",54:"000e875fc44a37d1bffa",55:"b6e727b20fb3f6b2db14",56:"97ccee7ced4746e51568",57:"f65318474f9d86cf98a3",58:"7eb9b5cd2237002868a5",59:"7f512eb01d2e429c2476",60:"e6b9c65ce37c1929ba43",61:"e4069c16ebc689b0dc37",62:"08c93fc8b5cec569384e",63:"0cc4b18a26aae449bca8",64:"8d2437cad744ac931b05",65:"eba6f55d8e9a3f5f1556",66:"4ff9b01f9f65e8d72911",67:"2ad7878ba5300bbb2075",68:"6ede6fc15f1a70e4d43e",69:"d94655bd1519e3531e92",70:"808db550f342fbfe1d67",71:"766bab0863a53aeb3841",72:"44f1e5c579e6a918563f",73:"40d5effce4dd1d610bae",74:"d2df8a125f082781388a",75:"2c7a9137991f6fac666f",76:"6fa5a4895a9b645af850",77:"3755e506e2e6ccb2f4e0",78:"e4261d251a8566c89c9e",79:"c367f2170b933640c5fb",80:"b4da3a16a49aa7dec44c",81:"ed9f776c33449e4502f5",82:"f1f0b8be9fe8c0a48f49",83:"c298352267668f8595b9",84:"3a3d94cb0710361148ba",85:"0d7ce1d2a38c10ad5a2e",86:"c0ad564fc61aa87cc435",87:"a39c162a5f1066e1f2f6",88:"b535eaf6d4dcf1bee6c5",89:"640cf72f57490ec7bf53",90:"ae2a8e165d9d9a31e58e",91:"4e3182a759a0deb7737b",92:"0e522fc1ebf4f123fbbc",93:"527fae0b341867534fcb",94:"b17e42293b65c7831e31",95:"1cd2779682b88f36cc44",96:"2608b94dc3560dd462cc",97:"286de4a55de4f21aefa4",98:"f395537903ef38a74302",99:"56bd214ee9e9f47d1319",100:"8cd690fd2c3b369ca997",101:"e9b064951e0bd2ac4fc1",102:"6266585ead51278628b3",103:"f365ce110e2febef23d2",104:"7ddd6d683f54c5c651e4",105:"dd7cffff77160083ac84",106:"360b805cc2bdec5f62f8",107:"666d576bb039b61dfed5",108:"26497aa6b68d1990d2b5",109:"9d53d6f7cda3a99ed217",110:"7f2acc61341dfb31cc16",111:"f904f0da7f8b566254f2",112:"8de9fb6d574ec5e1563a",113:"327231106e788fa15be9",114:"ff12a943c23c0f590d98",115:"ce4969a4fb2eec09fb34",116:"876d6cbfd9ba3b20e6a3",117:"579a3852194611d7f74f",118:"21e29512096ca553a970",119:"b3a1ae7697da88feebe9",120:"88735ccd1c5ad39b0619",121:"e6c2472082fd34715888",122:"f198a229d799225c8247",123:"e04284f495f670fd6bd7",124:"29147952d0ffef007ae9"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,f,a){d.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,"a",f),f},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -375,10 +375,11 @@ export default {
getTableList(val) {
let that = this;
that.loading = true;
const [startDate, endDate] = that.conditionObj.dateRange || [];
let para = {
type: 999,
startDate: that.conditionObj.dateRange[0] || '',
endDate: that.conditionObj.dateRange[1] || '',
startDate,
endDate,
search: that.conditionObj.searchInput || '', // 搜索字段
pageNum: that.currentPage, // 当前页
pageSize: that.pageSize, // 一页显示个数
......
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