Commit 82df1b53 by 无尘

fix: 修改编辑员工

parent 65f403f8
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.310b600e544d33e1db085def8803b1f1.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.e423f90dee3c4c4e2099.js></script><script type=text/javascript src=./static/js/vendor.28541dbeac66c2b0770e.js></script><script type=text/javascript src=./static/js/app.317d7d2afb14508c95df.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.310b600e544d33e1db085def8803b1f1.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.d9329e9bb71dc0bf93de.js></script><script type=text/javascript src=./static/js/vendor.28541dbeac66c2b0770e.js></script><script type=text/javascript src=./static/js/app.50d1eb268367fe69339f.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([4,30,60,61,62,70],{"5zde":function(t,e,i){i("zQR9"),i("qyJz"),t.exports=i("FeBl").Array.from},"79Bk":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),i("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),i("div",{staticClass:"b-t-1"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("uaqi")},"data-v-35e4159a",null);e.default=l.exports},Gu7T:function(t,e,i){"use strict";e.__esModule=!0;var a,s=i("c/Tr"),l=(a=s)&&a.__esModule?a:{default:a};e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return(0,l.default)(t)}},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var l=i("VU/8")(a,s,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=l.exports},"I9l/":function(t,e){},IA9l:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("//Fk"),s=i.n(a),l=i("Gu7T"),n=i.n(l),c=i("gBtx"),r=i.n(c),o=i("mvHQ"),d=i.n(o),m=i("DAYN"),p=i.n(m),u=i("Isrn"),h=i("l46T"),v=i("H8Kg"),f=i("t0b0"),_=i("79Bk"),g=i("s4D+"),y=i("PAYw"),C=i("fPyK"),b=i("3E4D"),I=i("Ch4/"),x=i("PI0u"),k=i("P9l9"),w={name:"customSetTemplate",data:function(){return{activeName:"first",rightName:"second",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},templateId:"",oparateType:"",counter:1,selectKey:"",tradeInfo:[],personInfo:[],goodsInfo:[],competeInfo:[],defineInfo:[],currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[],setList:[],templateObj:{title:"",description:"",storeType:"",momory:[]},storeList:[{id:"0",name:"自营门店",disabled:!1},{id:"1",name:"联营门店",disabled:!1},{id:"2",name:"代理门店",disabled:!1},{id:"3",name:"代销门店",disabled:!1},{id:"4",name:"托管门店",disabled:!1}]}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)},returnBack:function(){this.changeRoute("/customReport?brandId="+this.brandId+"&appIcon="+this.$route.query.appIcon)},cloneItem:function(t){var e=JSON.parse(d()(t));return e.cid="c"+this.counter,e.systemFlag||(e.name.includes("textc")&&(e.name="textc"+this.counter),e.name.includes("paragraphc")&&(e.name="paragraphc"+this.counter),e.name.includes("numberc")&&(e.name="numberc"+this.counter),e.name.includes("checkboxesOrRadioc")&&(e.name="checkboxesOrRadioc"+this.counter),e.name.includes("datec")&&(e.name="datec"+this.counter),e.name.includes("dateareac")&&(e.name="dateareac"+this.counter),e.name.includes("picc")&&(e.name="picc"+this.counter),e.name.includes("introductionc")&&(e.name="introductionc"+this.counter),e.name.includes("pricec")&&(e.name="pricec"+this.counter),e.name.includes("groupc")&&(e.name="groupc"+this.counter,e.title=""+e.title+this.counter)),e},onMove:function(t){var e=t.draggedContext.element;return!this.tempaletDataList.map(function(t){return t.name}).includes(e.name)&&!e.fixed},onChildMove:function(t){var e=!0;return-1!=t.dragged.className.indexOf("block-class")&&-1!=t.to.className.indexOf("block-wrap")&&(e=!1),e},itemMoveEnd:function(t){var e=this;function i(t){e[t].forEach(function(t,i){t.name==e.selectKey&&(t.fixed=!0)})}e.isDragging=!1,e.selectKey="",e.selectKey=t.clone.dataset.name,e.tempaletDataList.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode),t.children&&t.children.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode)})}),e.selectKey="",e.tempaletDataList=JSON.parse(d()(e.tempaletDataList)),e.$forceUpdate(),e.counter=e.counter+1},selectItem:function(t,e){this.currentIndex=e,this.currentChildIndex=null},deleteItem:function(t,e,i,a){var s=this;if(s.tempaletDataList.splice(i,1),s.currentIndex--,s.currentIndex<=0&&(s.currentIndex=0),!a.systemFlag)return a.name.includes("groupc")&&a.children.length&&a.children.forEach(function(t){t.systemFlag&&s[t.parentCode].forEach(function(e){e.name==t.name&&(e.fixed=!1)})}),!1;s[e].forEach(function(e,i){e.name==t&&(e.fixed=!1)})},addDragItem:function(t){return!1},selectChildItem:function(t,e,i,a){this.currentIndex=null,this.currentChildKey=t,this.childIndex=e,this.currentChildIndex=i},deleteChildItem:function(t,e,i,a,s){if(this.childIndex=e,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[e].children[i].name,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(d()(this.tempaletDataList)),this.tempaletDataList[e].children.splice(i,1),!s.systemFlag)return!1;this[s.parentCode].forEach(function(e,i){e.name===t&&(e.fixed=!1)})},delChildItem:function(t,e,i){i.list.splice(e,1)},addChildItem:function(t,e,i){if(19!=e){i.list.push({value:"选项"+(e+2),key:e+2});var a=i.list.map(function(t){return t.value});this.isRepeat(a)&&(i.list.splice(i.list.length-1,1),a.splice(i.list.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeMust:function(t,e,i){e&&i.list.forEach(function(e){e.isMust=!!t})},isRepeat:function(t){var e={};for(var i in t){if(e[t[i]])return!0;e[t[i]]=!0}return!1},changeRoute:function(t){this.$router.push(t)},checkTag:function(t){var e={filedFlag:!0,filedRepeat:!1},i=[];return t.forEach(function(t){if(""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title),t.hasOwnProperty("children")&&t.children.length&&t.children.forEach(function(t){if(t.systemFlag&&""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title)})}),this.isRepeat(i)&&(e.filedRepeat=!0),e},checkTemplateObj:function(){var t=!0;return this.templateObj.title&&this.templateObj.description&&this.templateObj.storeType||(t=!1),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},saveAndBack:Object(x.a)(function(t){if(!this.checkTemplateObj())return this.$message.error({duration:1e3,message:"请完善模板设置内容"}),!1;var e=JSON.parse(d()(this.tempaletDataList)),i=this.checkTag(e);if(!i.filedFlag)return this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"}),!1;if(i.filedRepeat)this.$message.error({duration:1e3,message:"字段标题不能重复"});else{if(e.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0),t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("children")&&(t.children.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0)}),t.list=t.children)}),!e.length)return this.$message.error({duration:1e3,message:"请先配置字段"}),!1;"save"===t?this.saveAllData(e):this.postPreview(e)}},500),saveAllData:function(t){var e=this,i={status:1,brandId:e.brandId,templateContent:d()(t),title:e.templateObj.title,description:e.templateObj.description,storeType:e.templateObj.storeType,memory:[]};Object(k.c)("/haoban-app-daily-web/daily/save-define-template",i).then(function(t){var i=t.data;if(1==i.errorCode)return b.a.showmsg("保存成功","success"),void e.changeRoute("/customReport?brandId="+e.brandId+"&appIcon="+e.$route.query.appIcon);I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},postPreview:function(t){var e=this,i={templateType:2,brandId:e.brandId,templateContent:d()(t)};Object(k.c)("/haoban-app-daily-web/daily/preview-template",i).then(function(t){var i=t.data;if(1==i.errorCode){var a=JSON.parse(localStorage.getItem("userInfo")).enterpriseId,s=window.location.origin+"/office-mobile/#/defineTemplate?enterpriseId="+a+"&templateId="+i.result+"&brandId="+e.brandId;return e.$refs.qrcodePreview.qrcode(s,"daily-preview"),void(e.dialogVisible=!0)}I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},closeDialog:function(){this.dialogVisible=!1},getHasStores:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/has-defined-template-store-type",{brandId:t.brandId}).then(function(e){var i=e.data;1!=i.errorCode?I.a.errorMsg(i):t.storeList.forEach(function(e){i.result&&i.result.length&&i.result.includes(r()(e.id))&&(e.disabled=!0),"edit"==t.oparateType&&t.storeType==e.id&&(e.disabled=!1)})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAllFields:function(t){var e=this;Object(k.c)("/haoban-app-daily-web/daily/get-template-items",{brandId:e.brandId,type:t}).then(function(i){var a=i.data;if(1==a.errorCode)return a.result.forEach(function(e){e.isMust=!!e.isMust,e.memory=!!e.memory,e.title=e.title.trim(),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=!!e.openCapitalize),e.hasOwnProperty("list")&&e.list&&e.list.length&&e.list.forEach(function(t){t.isMust=!!t.isMust}),e.systemFlag=3!=t,e.name.includes("groupc")&&(e.children=[])}),void(3==t?e.defineInfo=a.result:e.handleAllFields(a.result));I.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(t){var e=this;t.forEach(function(t){t.fixed=!1,1==t.classify&&(t.parentCode="tradeInfo",e.tradeInfo.push(t)),2==t.classify&&(t.parentCode="personInfo",e.personInfo.push(t)),3==t.classify&&(t.parentCode="goodsInfo",e.goodsInfo.push(t)),4==t.classify&&(t.parentCode="competeInfo",e.competeInfo.push(t))})},getInfo:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/get-define-template",{templateId:t.templateId}).then(function(e){var i=e.data;if(1==i.errorCode)return t.setList=[],i.result&&(t.templateObj.title=i.result.title,t.templateObj.description=i.result.description,t.storeType="edit"==t.oparateType?String(i.result.storeType):"",t.templateObj.storeType="edit"==t.oparateType?String(i.result.storeType):"",i.result.templateContent&&i.result.templateContent.length&&t.handleGetInfo(i.result.templateContent)),void t.getHasStores();I.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},treeData:function(t){var e=t.filter(function(e){var i=t.filter(function(t){return e.fieldCode==t.parentCode});return i.length>0&&(e.children=i),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},handleGetInfo:function(t){var e=this,i=JSON.parse(d()(t));e.cids=[],e.setParent=[],i.forEach(function(t,i){t.title=t.title.trim(),t.isMust=!!t.isMust,t.memory=!!t.memory,t.name.includes("textc")||t.name.includes("paragraphc")||t.name.includes("numberc")||t.name.includes("checkboxesOrRadioc")||t.name.includes("datec")||t.name.includes("dateareac")||t.name.includes("picc")||t.name.includes("introductionc")||t.name.includes("pricec")||t.name.includes("groupc")?(t.systemFlag=!1,t.parentCode="defineInfo"):(e.setParent.push(t.name),t.systemFlag=!0,1==t.classify&&(t.parentCode="tradeInfo"),2==t.classify&&(t.parentCode="personInfo"),3==t.classify&&(t.parentCode="goodsInfo"),4==t.classify&&(t.parentCode="competeInfo")),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=!!t.openCapitalize),t.hasOwnProperty("list")&&t.list&&t.list.length&&(t.list.forEach(function(i){(i.isMust=!!i.isMust,t.name.includes("groupc"))&&(i.isMust=!!i.isMust,i.memory=!!i.memory,i.name.includes("textc")||i.name.includes("paragraphc")||i.name.includes("numberc")||i.name.includes("checkboxesOrRadioc")||i.name.includes("datec")||i.name.includes("dateareac")||i.name.includes("picc")||i.name.includes("introductionc")||i.name.includes("pricec")||i.name.includes("groupc")?i.systemFlag=!1:(e.setParent.push(i.name),i.systemFlag=!0,1==i.classify&&(i.parentCode="tradeInfo"),2==i.classify&&(i.parentCode="personInfo"),3==i.classify&&(i.parentCode="goodsInfo"),4==i.classify&&(i.parentCode="competeInfo")))}),t.name.includes("groupc")&&(t.children=t.list)),e.cids.push(r()(t.cid.match(/\d+/g))),t.hasOwnProperty("children")&&t.children.forEach(function(t){t.isMust=!!t.isMust,t.memory=!!t.memory,e.cids.push(r()(t.cid.match(/\d+/g)))})}),e.counter=Math.max.apply(Math,n()(e.cids)),e.tempaletDataList=i,setTimeout(function(){e.setFixed()},500)},setFixed:function(){var t=this;["tradeInfo","personInfo","goodsInfo","competeInfo"].forEach(function(e){t[e].forEach(function(e){t.setParent.includes(e.name)&&(e.fixed=!0)})})}},watch:{isDragging:function(t){var e=this;t?e.delayedDragging=!0:e.$nextTick(function(){e.delayedDragging=!1})}},components:{draggable:p.a,AddInput:u.a,limitInput:h.a,imageCom:v.default,selectCom:f.default,dateRangeCom:_.default,inputCom:g.default,blockCom:y.default,qrcodeDialog:C.a},mounted:function(){var t=this,e=t.$route.query;t.brandId=t.$route.query.brandId,s.a.all([t.getAllFields(2)]).then(function(i){t.getAllFields(3),e.hasOwnProperty("templateId")?(t.templateId=e.templateId,t.oparateType=e.type,t.getInfo()):t.getHasStores()}).catch(function(t){console.log(t)}),document.body.ondrop=function(t){t.preventDefault(),t.stopPropagation()}}},T={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"template-wrap",style:{height:t.bodyHeight}},[a("div",{staticClass:"template-contain"},[a("div",{staticClass:"template-head"},[t._m(0),t._v(" "),a("div",{staticClass:"template-btns flex-1 flex-r"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.saveAndBack("preview")}}},[t._v("预 览")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.returnBack}},[t._v("返 回")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.saveAndBack("save")}}},[t._v("保存并启用")])],1)]),t._v(" "),a("div",{staticClass:"template-body"},[a("div",{staticClass:"template-cell template-cell-l"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[a("div",{staticClass:"filed-item-title"},[t._v("交易")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list1",list:t.tradeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.tradeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name,"aria-hidden":"true"}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("人员")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list2",list:t.personInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.personInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("商品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list3",list:t.goodsInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.goodsInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("竞品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list4",list:t.competeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.competeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),a("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[a("div",{staticClass:"filed-item-title"}),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list5",list:t.defineInfo,options:t.leftDefineOption,clone:t.cloneItem,move:t.onChildMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.defineInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":"",11==e.type?"block-class":""],attrs:{"data-type":e.fieldCode}},[0==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),1==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),2==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),3==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),4==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),5==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),6==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),7==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),9==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),10==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),11==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),0==e.type?a("i",{staticClass:"bg-icon bg-icon-one"}):t._e(),t._v(" "),1==e.type?a("i",{staticClass:"bg-icon bg-icon-two"}):t._e(),t._v(" "),2==e.type?a("i",{staticClass:"bg-icon bg-icon-three"}):t._e(),t._v(" "),3==e.type?a("i",{staticClass:"bg-icon bg-icon-four"}):t._e(),t._v(" "),4==e.type?a("i",{staticClass:"bg-icon bg-icon-five"}):t._e(),t._v(" "),5==e.type?a("i",{staticClass:"bg-icon bg-icon-six"}):t._e(),t._v(" "),6==e.type?a("i",{staticClass:"bg-icon bg-icon-seven"}):t._e(),t._v(" "),7==e.type?a("i",{staticClass:"bg-icon bg-icon-eight"}):t._e(),t._v(" "),9==e.type?a("i",{staticClass:"bg-icon bg-icon-ten"}):t._e(),t._v(" "),10==e.type?a("i",{staticClass:"bg-icon bg-icon-eleven"}):t._e(),t._v(" "),11==e.type?a("i",{staticClass:"bg-icon bg-icon-twelve"}):t._e()])}))],1)])],1)],1),t._v(" "),a("div",{staticClass:"template-cell template-cell-m"},[a("div",{staticClass:"phone-view"},[a("div",{staticClass:"phone-show-content"},[a("div",{staticClass:"drag-show-content"},[a("div",{staticClass:"view-container"},[a("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==t.tempaletDataList.length?[a("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:t._e(),t._v(" "),a("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:t.tempaletDataList,callback:function(e){t.tempaletDataList=e},expression:"tempaletDataList"}},t._l(t.tempaletDataList,function(e,i){return a("li",{key:"li1"+i,class:["filed-item",t.currentIndex==i?"active-item":"","li-block"],on:{click:function(a){t.selectItem(e.fieldCode,i)}}},["baseInfo"!=e.fieldCode?a("span",{staticClass:"item-close p-item-close",on:{click:function(a){a.stopPropagation(),t.deleteItem(e.name,e.parentCode,i,e)}}},[a("i",{staticClass:"el-icon-close"})]):t._e(),t._v(" "),e.systemFlag||!e.name.includes("groupc")?a("div",[1==e.type||2==e.type||3==e.type||10==e.type||9==e.type?a("input-com",{attrs:{childItem:e}}):t._e(),t._v(" "),4==e.type||5==e.type?a("select-com",{attrs:{childItem:e}}):t._e(),t._v(" "),6==e.type?a("date-range-com",{attrs:{childItem:e}}):t._e(),t._v(" "),7==e.type?a("image-com",{attrs:{childItem:e}}):t._e(),t._v(" "),"11"==e.type?a("block-com",{attrs:{childItem:e}}):t._e()],1):t._e(),t._v(" "),[e.name.includes("groupc")?a("div",{staticClass:"block"},[a("div",{staticClass:"block-head"},[a("div",{class:["opencard-item-title",t.getZhLen(e.title)>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))])]),t._v(" "),a("ul",{staticClass:"view-content"},[a("draggable",{class:["drag-wrap","block-wrap",e.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:t.addDragItem},model:{value:e.children,callback:function(i){t.$set(e,"children",i)},expression:"item.children"}},t._l(e.children,function(s,l){return a("li",{key:"li"+l,class:["filed-item","child-filed-item",t.currentChildKey==s.name&&t.currentChildIndex==l?"active-item":""],on:{click:function(a){a.stopPropagation(),t.selectChildItem(s.name,i,l,e.children)}}},[a("span",{staticClass:"item-close child-item-close",on:{click:function(a){a.stopPropagation(),t.deleteChildItem(s.name,i,l,e.children,s)}}},[a("i",{staticClass:"el-icon-close"})]),t._v(" "),4==s.type||5==s.type?a("select-com",{attrs:{childItem:s}}):t._e(),t._v(" "),6==s.type?a("date-range-com",{attrs:{childItem:s}}):t._e(),t._v(" "),7==s.type?a("image-com",{attrs:{childItem:s}}):t._e(),t._v(" "),1==s.type||2==s.type||3==s.type||10==s.type||9==s.type?a("input-com",{attrs:{childItem:s}}):t._e(),t._v(" "),"11"==s.type&&s.systemFlag?a("block-com",{attrs:{childItem:s}}):t._e()],1)}))],1)]):t._e()]],2)}))],2)])])])])]),t._v(" "),a("div",{staticClass:"template-cell template-cell-r"},[a("el-tabs",{model:{value:t.rightName,callback:function(e){t.rightName=e},expression:"rightName"}},[a("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[a("div",{attrs:{id:"edit-box"}},[a("div",{staticClass:"edit-view baby-info-flag baby-info"},[t._l(t.tempaletDataList,function(e,i){return[t.currentIndex!=i||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child62"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child64"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||11==e.type||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child11"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child111"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"parent22"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentIndex!=i||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child117"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||10!=e.type?t._e():[a("div",{key:"parent210"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"item.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent2"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"item.isMust"}},[t._v("必填")])],1)],t._v(" "),t.currentIndex!=i||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"parent21"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent3"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"item.memory"}},[t._v("是否记忆")])],1)],t._v(" "),t.childIndex==i&&e.children&&e.children.length?[t._l(e.children,function(e,s){return[t.currentChildIndex!=s||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child2"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child4"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child6"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"unit",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child7"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child9"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"child922"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentChildIndex!=s||e.systemFlag||10!=e.type?t._e():[a("div",{key:"child910"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"childItem.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child11"+s,staticClass:"edit-item"},[a("div",{staticClass:"edit-item-title"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"childItem.isMust"}},[t._v("必填")])],1)]:t._e(),t._v(" "),t.currentChildIndex!=s||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"child111"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list111"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child12"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"childItem.memory"}},[t._v("是否记忆")])],1)]:t._e()]})]:t._e()]})],2)])]),t._v(" "),a("el-tab-pane",{attrs:{label:"模板设置",name:"second"}},[a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板名称 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.title,holder:"",disflag:!1,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(t.templateObj,"title",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板描述 最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.description,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.templateObj,"description",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("门店类型")]),t._v(" "),a("div",{staticClass:"store-type-list"},t._l(t.storeList,function(e,i){return a("div",{key:e.name+i,staticClass:"store-type-cell m-b-20"},[a("el-radio",{attrs:{label:e.id,disabled:e.disabled},model:{value:t.templateObj.storeType,callback:function(e){t.$set(t.templateObj,"storeType",e)},expression:"templateObj.storeType"}},[t._v(t._s(e.name))])],1)}))])])],1)],1)])]),t._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"template-title flex-1"},[e("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"template-title-span"},[this._v("日报设置")])])}]};var M=i("VU/8")(w,T,!1,function(t){i("I9l/")},"data-v-6c8009e7",null);e.default=M.exports},PAYw:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,a){return i("li",{key:"performance"+a,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("hh6r")},"data-v-1dcd7b4c",null);e.default=l.exports},"SvI+":function(t,e){},Thti:function(t,e){},"c/Tr":function(t,e,i){t.exports={default:i("5zde"),__esModule:!0}},fBQ2:function(t,e,i){"use strict";var a=i("evD5"),s=i("X8DO");t.exports=function(t,e,i){e in t?a.f(t,e,s(0,i)):t[e]=i}},hh6r:function(t,e){},j20f:function(t,e){},qyJz:function(t,e,i){"use strict";var a=i("+ZMJ"),s=i("kM2E"),l=i("sB3e"),n=i("msXi"),c=i("Mhyx"),r=i("QRG4"),o=i("fBQ2"),d=i("3fs2");s(s.S+s.F*!i("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,s,m,p=l(t),u="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,f=void 0!==v,_=0,g=d(p);if(f&&(v=a(v,h>2?arguments[2]:void 0,2)),void 0==g||u==Array&&c(g))for(i=new u(e=r(p.length));e>_;_++)o(i,_,f?v(p[_],_):p[_]);else for(m=g.call(p),i=new u;!(s=m.next()).done;_++)o(i,_,f?n(m,v,[s.value,_],!0):s.value);return i.length=_,i}})},"s4D+":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("j20f")},"data-v-37f2cf5d",null);e.default=l.exports},t0b0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("Thti")},"data-v-bb9f953c",null);e.default=l.exports},uaqi:function(t,e){}}); webpackJsonp([4,30,59,61,62,70],{"5zde":function(t,e,i){i("zQR9"),i("qyJz"),t.exports=i("FeBl").Array.from},"79Bk":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),i("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),i("div",{staticClass:"b-t-1"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("uaqi")},"data-v-35e4159a",null);e.default=l.exports},Gu7T:function(t,e,i){"use strict";e.__esModule=!0;var a,s=i("c/Tr"),l=(a=s)&&a.__esModule?a:{default:a};e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return(0,l.default)(t)}},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var l=i("VU/8")(a,s,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=l.exports},"I9l/":function(t,e){},IA9l:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("//Fk"),s=i.n(a),l=i("Gu7T"),n=i.n(l),c=i("gBtx"),r=i.n(c),o=i("mvHQ"),d=i.n(o),m=i("DAYN"),p=i.n(m),u=i("Isrn"),h=i("l46T"),v=i("H8Kg"),f=i("t0b0"),_=i("79Bk"),g=i("s4D+"),y=i("PAYw"),C=i("fPyK"),b=i("3E4D"),I=i("Ch4/"),x=i("PI0u"),k=i("P9l9"),w={name:"customSetTemplate",data:function(){return{activeName:"first",rightName:"second",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},templateId:"",oparateType:"",counter:1,selectKey:"",tradeInfo:[],personInfo:[],goodsInfo:[],competeInfo:[],defineInfo:[],currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[],setList:[],templateObj:{title:"",description:"",storeType:"",momory:[]},storeList:[{id:"0",name:"自营门店",disabled:!1},{id:"1",name:"联营门店",disabled:!1},{id:"2",name:"代理门店",disabled:!1},{id:"3",name:"代销门店",disabled:!1},{id:"4",name:"托管门店",disabled:!1}]}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)},returnBack:function(){this.changeRoute("/customReport?brandId="+this.brandId+"&appIcon="+this.$route.query.appIcon)},cloneItem:function(t){var e=JSON.parse(d()(t));return e.cid="c"+this.counter,e.systemFlag||(e.name.includes("textc")&&(e.name="textc"+this.counter),e.name.includes("paragraphc")&&(e.name="paragraphc"+this.counter),e.name.includes("numberc")&&(e.name="numberc"+this.counter),e.name.includes("checkboxesOrRadioc")&&(e.name="checkboxesOrRadioc"+this.counter),e.name.includes("datec")&&(e.name="datec"+this.counter),e.name.includes("dateareac")&&(e.name="dateareac"+this.counter),e.name.includes("picc")&&(e.name="picc"+this.counter),e.name.includes("introductionc")&&(e.name="introductionc"+this.counter),e.name.includes("pricec")&&(e.name="pricec"+this.counter),e.name.includes("groupc")&&(e.name="groupc"+this.counter,e.title=""+e.title+this.counter)),e},onMove:function(t){var e=t.draggedContext.element;return!this.tempaletDataList.map(function(t){return t.name}).includes(e.name)&&!e.fixed},onChildMove:function(t){var e=!0;return-1!=t.dragged.className.indexOf("block-class")&&-1!=t.to.className.indexOf("block-wrap")&&(e=!1),e},itemMoveEnd:function(t){var e=this;function i(t){e[t].forEach(function(t,i){t.name==e.selectKey&&(t.fixed=!0)})}e.isDragging=!1,e.selectKey="",e.selectKey=t.clone.dataset.name,e.tempaletDataList.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode),t.children&&t.children.forEach(function(t,a){t.name==e.selectKey&&i(t.parentCode)})}),e.selectKey="",e.tempaletDataList=JSON.parse(d()(e.tempaletDataList)),e.$forceUpdate(),e.counter=e.counter+1},selectItem:function(t,e){this.currentIndex=e,this.currentChildIndex=null},deleteItem:function(t,e,i,a){var s=this;if(s.tempaletDataList.splice(i,1),s.currentIndex--,s.currentIndex<=0&&(s.currentIndex=0),!a.systemFlag)return a.name.includes("groupc")&&a.children.length&&a.children.forEach(function(t){t.systemFlag&&s[t.parentCode].forEach(function(e){e.name==t.name&&(e.fixed=!1)})}),!1;s[e].forEach(function(e,i){e.name==t&&(e.fixed=!1)})},addDragItem:function(t){return!1},selectChildItem:function(t,e,i,a){this.currentIndex=null,this.currentChildKey=t,this.childIndex=e,this.currentChildIndex=i},deleteChildItem:function(t,e,i,a,s){if(this.childIndex=e,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[e].children[i].name,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(d()(this.tempaletDataList)),this.tempaletDataList[e].children.splice(i,1),!s.systemFlag)return!1;this[s.parentCode].forEach(function(e,i){e.name===t&&(e.fixed=!1)})},delChildItem:function(t,e,i){i.list.splice(e,1)},addChildItem:function(t,e,i){if(19!=e){i.list.push({value:"选项"+(e+2),key:e+2});var a=i.list.map(function(t){return t.value});this.isRepeat(a)&&(i.list.splice(i.list.length-1,1),a.splice(i.list.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeMust:function(t,e,i){e&&i.list.forEach(function(e){e.isMust=!!t})},isRepeat:function(t){var e={};for(var i in t){if(e[t[i]])return!0;e[t[i]]=!0}return!1},changeRoute:function(t){this.$router.push(t)},checkTag:function(t){var e={filedFlag:!0,filedRepeat:!1},i=[];return t.forEach(function(t){if(""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title),t.hasOwnProperty("children")&&t.children.length&&t.children.forEach(function(t){if(t.systemFlag&&""==t.title)return e.filedFlag=!1,e.name=t.title||"",!1;i.push(t.title)})}),this.isRepeat(i)&&(e.filedRepeat=!0),e},checkTemplateObj:function(){var t=!0;return this.templateObj.title&&this.templateObj.description&&this.templateObj.storeType||(t=!1),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},saveAndBack:Object(x.a)(function(t){if(!this.checkTemplateObj())return this.$message.error({duration:1e3,message:"请完善模板设置内容"}),!1;var e=JSON.parse(d()(this.tempaletDataList)),i=this.checkTag(e);if(!i.filedFlag)return this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"}),!1;if(i.filedRepeat)this.$message.error({duration:1e3,message:"字段标题不能重复"});else{if(e.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0),t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("children")&&(t.children.forEach(function(t,e){t.sort=e,t.isMust=t.isMust?1:0,t.memory=t.memory?1:0,t.hasOwnProperty("list")&&t.list.forEach(function(t){t.isMust=t.isMust?1:0}),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=t.openCapitalize?1:0)}),t.list=t.children)}),!e.length)return this.$message.error({duration:1e3,message:"请先配置字段"}),!1;"save"===t?this.saveAllData(e):this.postPreview(e)}},500),saveAllData:function(t){var e=this,i={status:1,brandId:e.brandId,templateContent:d()(t),title:e.templateObj.title,description:e.templateObj.description,storeType:e.templateObj.storeType,memory:[]};Object(k.c)("/haoban-app-daily-web/daily/save-define-template",i).then(function(t){var i=t.data;if(1==i.errorCode)return b.a.showmsg("保存成功","success"),void e.changeRoute("/customReport?brandId="+e.brandId+"&appIcon="+e.$route.query.appIcon);I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},postPreview:function(t){var e=this,i={templateType:2,brandId:e.brandId,templateContent:d()(t)};Object(k.c)("/haoban-app-daily-web/daily/preview-template",i).then(function(t){var i=t.data;if(1==i.errorCode){var a=JSON.parse(localStorage.getItem("userInfo")).enterpriseId,s=window.location.origin+"/office-mobile/#/defineTemplate?enterpriseId="+a+"&templateId="+i.result+"&brandId="+e.brandId;return e.$refs.qrcodePreview.qrcode(s,"daily-preview"),void(e.dialogVisible=!0)}I.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},closeDialog:function(){this.dialogVisible=!1},getHasStores:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/has-defined-template-store-type",{brandId:t.brandId}).then(function(e){var i=e.data;1!=i.errorCode?I.a.errorMsg(i):t.storeList.forEach(function(e){i.result&&i.result.length&&i.result.includes(r()(e.id))&&(e.disabled=!0),"edit"==t.oparateType&&t.storeType==e.id&&(e.disabled=!1)})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAllFields:function(t){var e=this;Object(k.c)("/haoban-app-daily-web/daily/get-template-items",{brandId:e.brandId,type:t}).then(function(i){var a=i.data;if(1==a.errorCode)return a.result.forEach(function(e){e.isMust=!!e.isMust,e.memory=!!e.memory,e.title=e.title.trim(),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=!!e.openCapitalize),e.hasOwnProperty("list")&&e.list&&e.list.length&&e.list.forEach(function(t){t.isMust=!!t.isMust}),e.systemFlag=3!=t,e.name.includes("groupc")&&(e.children=[])}),void(3==t?e.defineInfo=a.result:e.handleAllFields(a.result));I.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(t){var e=this;t.forEach(function(t){t.fixed=!1,1==t.classify&&(t.parentCode="tradeInfo",e.tradeInfo.push(t)),2==t.classify&&(t.parentCode="personInfo",e.personInfo.push(t)),3==t.classify&&(t.parentCode="goodsInfo",e.goodsInfo.push(t)),4==t.classify&&(t.parentCode="competeInfo",e.competeInfo.push(t))})},getInfo:function(){var t=this;Object(k.c)("/haoban-app-daily-web/daily/get-define-template",{templateId:t.templateId}).then(function(e){var i=e.data;if(1==i.errorCode)return t.setList=[],i.result&&(t.templateObj.title=i.result.title,t.templateObj.description=i.result.description,t.storeType="edit"==t.oparateType?String(i.result.storeType):"",t.templateObj.storeType="edit"==t.oparateType?String(i.result.storeType):"",i.result.templateContent&&i.result.templateContent.length&&t.handleGetInfo(i.result.templateContent)),void t.getHasStores();I.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},treeData:function(t){var e=t.filter(function(e){var i=t.filter(function(t){return e.fieldCode==t.parentCode});return i.length>0&&(e.children=i),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},handleGetInfo:function(t){var e=this,i=JSON.parse(d()(t));e.cids=[],e.setParent=[],i.forEach(function(t,i){t.title=t.title.trim(),t.isMust=!!t.isMust,t.memory=!!t.memory,t.name.includes("textc")||t.name.includes("paragraphc")||t.name.includes("numberc")||t.name.includes("checkboxesOrRadioc")||t.name.includes("datec")||t.name.includes("dateareac")||t.name.includes("picc")||t.name.includes("introductionc")||t.name.includes("pricec")||t.name.includes("groupc")?(t.systemFlag=!1,t.parentCode="defineInfo"):(e.setParent.push(t.name),t.systemFlag=!0,1==t.classify&&(t.parentCode="tradeInfo"),2==t.classify&&(t.parentCode="personInfo"),3==t.classify&&(t.parentCode="goodsInfo"),4==t.classify&&(t.parentCode="competeInfo")),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=!!t.openCapitalize),t.hasOwnProperty("list")&&t.list&&t.list.length&&(t.list.forEach(function(i){(i.isMust=!!i.isMust,t.name.includes("groupc"))&&(i.isMust=!!i.isMust,i.memory=!!i.memory,i.name.includes("textc")||i.name.includes("paragraphc")||i.name.includes("numberc")||i.name.includes("checkboxesOrRadioc")||i.name.includes("datec")||i.name.includes("dateareac")||i.name.includes("picc")||i.name.includes("introductionc")||i.name.includes("pricec")||i.name.includes("groupc")?i.systemFlag=!1:(e.setParent.push(i.name),i.systemFlag=!0,1==i.classify&&(i.parentCode="tradeInfo"),2==i.classify&&(i.parentCode="personInfo"),3==i.classify&&(i.parentCode="goodsInfo"),4==i.classify&&(i.parentCode="competeInfo")))}),t.name.includes("groupc")&&(t.children=t.list)),e.cids.push(r()(t.cid.match(/\d+/g))),t.hasOwnProperty("children")&&t.children.forEach(function(t){t.isMust=!!t.isMust,t.memory=!!t.memory,e.cids.push(r()(t.cid.match(/\d+/g)))})}),e.counter=Math.max.apply(Math,n()(e.cids)),e.tempaletDataList=i,setTimeout(function(){e.setFixed()},500)},setFixed:function(){var t=this;["tradeInfo","personInfo","goodsInfo","competeInfo"].forEach(function(e){t[e].forEach(function(e){t.setParent.includes(e.name)&&(e.fixed=!0)})})}},watch:{isDragging:function(t){var e=this;t?e.delayedDragging=!0:e.$nextTick(function(){e.delayedDragging=!1})}},components:{draggable:p.a,AddInput:u.a,limitInput:h.a,imageCom:v.default,selectCom:f.default,dateRangeCom:_.default,inputCom:g.default,blockCom:y.default,qrcodeDialog:C.a},mounted:function(){var t=this,e=t.$route.query;t.brandId=t.$route.query.brandId,s.a.all([t.getAllFields(2)]).then(function(i){t.getAllFields(3),e.hasOwnProperty("templateId")?(t.templateId=e.templateId,t.oparateType=e.type,t.getInfo()):t.getHasStores()}).catch(function(t){console.log(t)}),document.body.ondrop=function(t){t.preventDefault(),t.stopPropagation()}}},T={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"template-wrap",style:{height:t.bodyHeight}},[a("div",{staticClass:"template-contain"},[a("div",{staticClass:"template-head"},[t._m(0),t._v(" "),a("div",{staticClass:"template-btns flex-1 flex-r"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.saveAndBack("preview")}}},[t._v("预 览")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.returnBack}},[t._v("返 回")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.saveAndBack("save")}}},[t._v("保存并启用")])],1)]),t._v(" "),a("div",{staticClass:"template-body"},[a("div",{staticClass:"template-cell template-cell-l"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[a("div",{staticClass:"filed-item-title"},[t._v("交易")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list1",list:t.tradeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.tradeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name,"aria-hidden":"true"}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("人员")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list2",list:t.personInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.personInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("商品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list3",list:t.goodsInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.goodsInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1),t._v(" "),a("div",{staticClass:"filed-item-title"},[t._v("竞品")]),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list4",list:t.competeInfo,options:t.leftOption,clone:t.cloneItem,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.competeInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name}},[a("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),a("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[a("div",{staticClass:"filed-item-title"}),t._v(" "),a("ul",[a("draggable",{staticClass:"compenent",attrs:{id:"list5",list:t.defineInfo,options:t.leftDefineOption,clone:t.cloneItem,move:t.onChildMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.defineInfo,function(e,i){return a("li",{key:i,class:["compenent-item",1==e.fixed?"fixed-item":"",11==e.type?"block-class":""],attrs:{"data-type":e.fieldCode}},[0==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),1==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),2==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),3==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),4==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),5==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),6==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),7==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),9==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),10==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),11==e.type?a("span",[t._v(t._s(e.title))]):t._e(),t._v(" "),0==e.type?a("i",{staticClass:"bg-icon bg-icon-one"}):t._e(),t._v(" "),1==e.type?a("i",{staticClass:"bg-icon bg-icon-two"}):t._e(),t._v(" "),2==e.type?a("i",{staticClass:"bg-icon bg-icon-three"}):t._e(),t._v(" "),3==e.type?a("i",{staticClass:"bg-icon bg-icon-four"}):t._e(),t._v(" "),4==e.type?a("i",{staticClass:"bg-icon bg-icon-five"}):t._e(),t._v(" "),5==e.type?a("i",{staticClass:"bg-icon bg-icon-six"}):t._e(),t._v(" "),6==e.type?a("i",{staticClass:"bg-icon bg-icon-seven"}):t._e(),t._v(" "),7==e.type?a("i",{staticClass:"bg-icon bg-icon-eight"}):t._e(),t._v(" "),9==e.type?a("i",{staticClass:"bg-icon bg-icon-ten"}):t._e(),t._v(" "),10==e.type?a("i",{staticClass:"bg-icon bg-icon-eleven"}):t._e(),t._v(" "),11==e.type?a("i",{staticClass:"bg-icon bg-icon-twelve"}):t._e()])}))],1)])],1)],1),t._v(" "),a("div",{staticClass:"template-cell template-cell-m"},[a("div",{staticClass:"phone-view"},[a("div",{staticClass:"phone-show-content"},[a("div",{staticClass:"drag-show-content"},[a("div",{staticClass:"view-container"},[a("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==t.tempaletDataList.length?[a("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:t._e(),t._v(" "),a("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:t.tempaletDataList,callback:function(e){t.tempaletDataList=e},expression:"tempaletDataList"}},t._l(t.tempaletDataList,function(e,i){return a("li",{key:"li1"+i,class:["filed-item",t.currentIndex==i?"active-item":"","li-block"],on:{click:function(a){t.selectItem(e.fieldCode,i)}}},["baseInfo"!=e.fieldCode?a("span",{staticClass:"item-close p-item-close",on:{click:function(a){a.stopPropagation(),t.deleteItem(e.name,e.parentCode,i,e)}}},[a("i",{staticClass:"el-icon-close"})]):t._e(),t._v(" "),e.systemFlag||!e.name.includes("groupc")?a("div",[1==e.type||2==e.type||3==e.type||10==e.type||9==e.type?a("input-com",{attrs:{childItem:e}}):t._e(),t._v(" "),4==e.type||5==e.type?a("select-com",{attrs:{childItem:e}}):t._e(),t._v(" "),6==e.type?a("date-range-com",{attrs:{childItem:e}}):t._e(),t._v(" "),7==e.type?a("image-com",{attrs:{childItem:e}}):t._e(),t._v(" "),"11"==e.type?a("block-com",{attrs:{childItem:e}}):t._e()],1):t._e(),t._v(" "),[e.name.includes("groupc")?a("div",{staticClass:"block"},[a("div",{staticClass:"block-head"},[a("div",{class:["opencard-item-title",t.getZhLen(e.title)>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))])]),t._v(" "),a("ul",{staticClass:"view-content"},[a("draggable",{class:["drag-wrap","block-wrap",e.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:t.addDragItem},model:{value:e.children,callback:function(i){t.$set(e,"children",i)},expression:"item.children"}},t._l(e.children,function(s,l){return a("li",{key:"li"+l,class:["filed-item","child-filed-item",t.currentChildKey==s.name&&t.currentChildIndex==l?"active-item":""],on:{click:function(a){a.stopPropagation(),t.selectChildItem(s.name,i,l,e.children)}}},[a("span",{staticClass:"item-close child-item-close",on:{click:function(a){a.stopPropagation(),t.deleteChildItem(s.name,i,l,e.children,s)}}},[a("i",{staticClass:"el-icon-close"})]),t._v(" "),4==s.type||5==s.type?a("select-com",{attrs:{childItem:s}}):t._e(),t._v(" "),6==s.type?a("date-range-com",{attrs:{childItem:s}}):t._e(),t._v(" "),7==s.type?a("image-com",{attrs:{childItem:s}}):t._e(),t._v(" "),1==s.type||2==s.type||3==s.type||10==s.type||9==s.type?a("input-com",{attrs:{childItem:s}}):t._e(),t._v(" "),"11"==s.type&&s.systemFlag?a("block-com",{attrs:{childItem:s}}):t._e()],1)}))],1)]):t._e()]],2)}))],2)])])])])]),t._v(" "),a("div",{staticClass:"template-cell template-cell-r"},[a("el-tabs",{model:{value:t.rightName,callback:function(e){t.rightName=e},expression:"rightName"}},[a("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[a("div",{attrs:{id:"edit-box"}},[a("div",{staticClass:"edit-view baby-info-flag baby-info"},[t._l(t.tempaletDataList,function(e,i){return[t.currentIndex!=i||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child62"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child64"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||11==e.type||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child11"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child111"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"parent22"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"item.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentIndex!=i||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child117"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"item.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentIndex!=i||e.systemFlag||10!=e.type?t._e():[a("div",{key:"parent210"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"item.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent2"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"item.isMust"}},[t._v("必填")])],1)],t._v(" "),t.currentIndex!=i||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"parent21"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentIndex!=i||e.name.includes("groupc")?t._e():[a("div",{key:"parent3"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"item.memory"}},[t._v("是否记忆")])],1)],t._v(" "),t.childIndex==i&&e.children&&e.children.length?[t._l(e.children,function(e,s){return[t.currentChildIndex!=s||e.systemFlag||6==e.type?t._e():[a("div",{key:"child"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.title,holder:"",disflag:e.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"title",i)}}}),t._v(" "),7==e.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[t._v("\n 图片最多可添加9张\n ")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||6!=e.type?t._e():[a("div",{key:"child2"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.startTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"startTitle",i)}}})],1),t._v(" "),a("div",{key:"child4"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("标题2 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.endTitle,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(i){t.$set(e,"endTitle",i)}}})],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5==e.type||7==e.type?t._e():[a("div",{key:"child1"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("提示文字最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"placeholder",i)}}}),t._v(" "),2==e.type||9==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入500个字")]):t._e(),t._v(" "),1==e.type?a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最多输入100个字")]):t._e()],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||3!=e.type?t._e():[a("div",{key:"child6"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[t._v("单位最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:e.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){t.$set(e,"unit",i)}}}),t._v(" "),a("p",{staticClass:"font-12 m-t-10"},[t._v("内容最大限制为12位数")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||5!=e.type&&6!=e.type?t._e():[a("div",{key:"child7"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("日期类型")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日 时 分\n ")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.dateType,callback:function(i){t.$set(e,"dateType",i)},expression:"childItem.dateType"}},[t._v("\n 年-月-日\n ")])],1)],t._v(" "),t.currentChildIndex!=s||e.systemFlag||"4"!=e.type?t._e():[a("div",{key:"child9"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[t._v("选项 "),e.systemFlag?t._e():a("span",[t._v("最多20项,每项最多10个字")])]),t._v(" "),t._l(e.list,function(s,l){return[a("div",{key:"child10"+l,staticClass:"margin-t-15 limit-w-340",style:0==l?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.value,holder:"",disflag:e.systemFlag,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(s,"value",e)}}}),t._v(" "),!e.systemFlag&&e.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){t.delChildItem(i,l,e)}}}):t._e(),t._v(" "),!e.systemFlag&&l<19?[l==e.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){t.addChildItem(i,l,e)}}}):t._e()]:t._e()],2)]})],2),t._v(" "),a("div",{key:"child922"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("选择框类型")]),t._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("单选")]),t._v(" "),a("el-radio",{attrs:{label:1},model:{value:e.chooseType,callback:function(i){t.$set(e,"chooseType",i)},expression:"childItem.chooseType"}},[t._v("多选")])],1)])],t._v(" "),t.currentChildIndex!=s||e.systemFlag||10!=e.type?t._e():[a("div",{key:"child910"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("大写")]),t._v(" "),a("el-checkbox",{model:{value:e.openCapitalize,callback:function(i){t.$set(e,"openCapitalize",i)},expression:"childItem.openCapitalize"}},[t._v("显示大写")])],1)],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child11"+s,staticClass:"edit-item"},[a("div",{staticClass:"edit-item-title"},[t._v("验证")]),t._v(" "),a("el-checkbox",{on:{change:function(i){t.changeMust(i,!!e.list,e)}},model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"childItem.isMust"}},[t._v("必填")])],1)]:t._e(),t._v(" "),t.currentChildIndex!=s||"performanceKing"!=e.name&&"competitorInfo"!=e.name?t._e():[a("div",{key:"child111"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("验证 是否必填")]),t._v(" "),a("div",{staticClass:"must-list"},t._l(e.list,function(e,i){return a("div",{key:"list111"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:e.isMust,callback:function(i){t.$set(e,"isMust",i)},expression:"listItem.isMust"}},[t._v(t._s(e.title))])],1)}))])],t._v(" "),t.currentChildIndex==s?[a("div",{key:"child12"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("记忆")]),t._v(" "),a("el-checkbox",{model:{value:e.memory,callback:function(i){t.$set(e,"memory",i)},expression:"childItem.memory"}},[t._v("是否记忆")])],1)]:t._e()]})]:t._e()]})],2)])]),t._v(" "),a("el-tab-pane",{attrs:{label:"模板设置",name:"second"}},[a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板名称 最多10个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.title,holder:"",disflag:!1,getByType:"char",maxLength:10},on:{"update:inputValue":function(e){t.$set(t.templateObj,"title",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item limit-w-340"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("模板描述 最多20个字")]),t._v(" "),a("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.templateObj.description,holder:"",disflag:!1,getByType:"char",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.templateObj,"description",e)}}})],1),t._v(" "),a("div",{staticClass:"template-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[t._v("门店类型")]),t._v(" "),a("div",{staticClass:"store-type-list"},t._l(t.storeList,function(e,i){return a("div",{key:e.name+i,staticClass:"store-type-cell m-b-20"},[a("el-radio",{attrs:{label:e.id,disabled:e.disabled},model:{value:t.templateObj.storeType,callback:function(e){t.$set(t.templateObj,"storeType",e)},expression:"templateObj.storeType"}},[t._v(t._s(e.name))])],1)}))])])],1)],1)])]),t._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"template-title flex-1"},[e("img",{attrs:{src:i("LbEI"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"template-title-span"},[this._v("日报设置")])])}]};var M=i("VU/8")(w,T,!1,function(t){i("I9l/")},"data-v-6c8009e7",null);e.default=M.exports},PAYw:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,a){return i("li",{key:"performance"+a,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("hh6r")},"data-v-1dcd7b4c",null);e.default=l.exports},"SvI+":function(t,e){},Thti:function(t,e){},"c/Tr":function(t,e,i){t.exports={default:i("5zde"),__esModule:!0}},fBQ2:function(t,e,i){"use strict";var a=i("evD5"),s=i("X8DO");t.exports=function(t,e,i){e in t?a.f(t,e,s(0,i)):t[e]=i}},hh6r:function(t,e){},j20f:function(t,e){},qyJz:function(t,e,i){"use strict";var a=i("+ZMJ"),s=i("kM2E"),l=i("sB3e"),n=i("msXi"),c=i("Mhyx"),r=i("QRG4"),o=i("fBQ2"),d=i("3fs2");s(s.S+s.F*!i("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,s,m,p=l(t),u="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,f=void 0!==v,_=0,g=d(p);if(f&&(v=a(v,h>2?arguments[2]:void 0,2)),void 0==g||u==Array&&c(g))for(i=new u(e=r(p.length));e>_;_++)o(i,_,f?v(p[_],_):p[_]);else for(m=g.call(p),i=new u;!(s=m.next()).done;_++)o(i,_,f?n(m,v,[s.value,_],!0):s.value);return i.length=_,i}})},"s4D+":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("j20f")},"data-v-37f2cf5d",null);e.default=l.exports},t0b0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var l=i("VU/8")(a,s,!1,function(t){i("Thti")},"data-v-bb9f953c",null);e.default=l.exports},uaqi:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([52],{XzAK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),n=a("Ke24"),o=a("PI0u"),i=a("Ch4/"),r=a("3E4D"),c=a("P9l9"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访设置"}],activeId:"1",setObj:{taskType:0,overDayJudge:"",distributeTypeJudge:"",giveUpJudge:""}}},computed:{},methods:{saveSet:Object(o.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={brandId:t.activeBrand,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge};Object(c.c)("/haoban-app-tel-task-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?i.a.errorMsg(e):r.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={brandId:t.activeBrand,taskType:0};Object(c.c)("/haoban-app-tel-task-web/setting/find-task-setting",e).then(function(e){var a=e.data;1!=a.errorCode?i.a.errorMsg(a):t.setObj=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","3"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"task-set-content boder-box"},[a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-20 font-w-500"},[t._v("不良评价回访任务逾期时间设置")]),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("不良评价回访下发后")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),a("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("话务任务放弃前提")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),a("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应")])],1)]),t._v(" "),a("div",{staticClass:"task-set-save m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(d,l,!1,function(t){a("YEoe")},"data-v-552d3f3b",null);e.default=u.exports},YEoe:function(t,e){}}); webpackJsonp([51],{XzAK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),n=a("Ke24"),o=a("PI0u"),i=a("Ch4/"),r=a("3E4D"),c=a("P9l9"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访设置"}],activeId:"1",setObj:{taskType:0,overDayJudge:"",distributeTypeJudge:"",giveUpJudge:""}}},computed:{},methods:{saveSet:Object(o.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={brandId:t.activeBrand,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge};Object(c.c)("/haoban-app-tel-task-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?i.a.errorMsg(e):r.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={brandId:t.activeBrand,taskType:0};Object(c.c)("/haoban-app-tel-task-web/setting/find-task-setting",e).then(function(e){var a=e.data;1!=a.errorCode?i.a.errorMsg(a):t.setObj=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","3"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"task-set-content boder-box"},[a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-20 font-w-500"},[t._v("不良评价回访任务逾期时间设置")]),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("不良评价回访下发后")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),a("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),a("div",{staticClass:"set-line-item"},[a("span",{staticClass:"set-line-item_title font-14 color-606266"},[t._v("话务任务放弃前提")]),t._v(" "),a("el-input",{staticClass:"w-55",attrs:{placeholder:"请输入内容"},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),a("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应")])],1)]),t._v(" "),a("div",{staticClass:"task-set-save m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(d,l,!1,function(t){a("YEoe")},"data-v-552d3f3b",null);e.default=u.exports},YEoe:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([51],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("3Xzz"),o=t("WSbm"),s=t("P9l9"),r={name:"employeeDetail",components:{navCrumb:n.a,employeeInfo:o.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this.$refs.emmployInfo.info;this.isNew?this.addEmployee(a,e):this.saveEmployeeInfo(a)},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},i={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var m=t("VU/8")(r,i,!1,function(e){t("PRwG")},null,null);a.default=m.exports},PRwG:function(e,a){}});
\ No newline at end of file
webpackJsonp([53],{"5nNU":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"云日报记录",path:"/dailyRecord?appIcon="+this.$route.query.appIcon},{id:"2",name:"日报详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,chooseAll:t.selectRadio};Object(c.c)("/haoban-app-daily-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId};Object(c.a)("/haoban-app-daily-web/daily/delete-task-items",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-daily-web/daily/page-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",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:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(f,m,!1,function(e){a("Tfsa")},"data-v-531a7be2",null);t.default=p.exports},Tfsa:function(e,t){}}); webpackJsonp([52],{"5nNU":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"云日报记录",path:"/dailyRecord?appIcon="+this.$route.query.appIcon},{id:"2",name:"日报详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,chooseAll:t.selectRadio};Object(c.c)("/haoban-app-daily-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId};Object(c.a)("/haoban-app-daily-web/daily/delete-task-items",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-daily-web/daily/page-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",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:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(f,m,!1,function(e){a("Tfsa")},"data-v-531a7be2",null);t.default=p.exports},Tfsa:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([54],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("wrIu")},null,null);t.default=i.exports},wrIu:function(e,t){}}); webpackJsonp([53],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("wrIu")},null,null);t.default=i.exports},wrIu:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([55],{IKv2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),o=r.n(a),n=r("2eFk"),s=r("Ke24"),c=r("PI0u"),l=r("Ch4/"),i=r("3E4D"),u=r("P9l9"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"指标管理",path:"/monthList?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:"/monthList?appIcon="+this.$route.query.appIcon},{id:"3",name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth+"&appIcon="+this.$route.query.appIcon},{id:"4",name:"导购月指标详情",path:""}],activeId:"4",tableData:[],performanceSum:"",clerkObj:{storeId:"",storeName:"",yearMonth:"",settingAble:1,storePerformance:""},equalFlag:!0}},computed:{},methods:{inputPerformance:Object(c.a)(function(e,t,r){r.clerkPerformance=Number(r.clerkPerformance.replace(/[^\d.]/g,""))?r.clerkPerformance.replace(/[^\d+(.\d+)]/g,""):"",r.clerkPerformance=Number(r.clerkPerformance).toFixed(2);var a=0;this.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),this.performanceSum=Number(a).toFixed(2),this.diffData()},500),inputMonthPerformance:Object(c.a)(function(e){this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance.replace(/[^\d.]/g,""))?this.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g,""):"",this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance).toFixed(2),this.diffData()},500),diffData:function(){var e=Number(this.performanceSum)==Number(this.clerkObj.storePerformance);return this.equalFlag=!!e,e},saveSet:Object(c.a)(function(){if(!this.diffData())return!1;if(""==this.clerkObj.storePerformance)return this.$message.error({duration:1e3,message:"请输入门店月指标"}),!1;var e={clerkPerformanceList:this.tableData,storePerformance:this.clerkObj.storePerformance};this.postSave(e)},500),postSave:function(e){var t=this,r={brandId:t.activeBrand,storeId:t.clerkObj.storeId,yearMonth:t.clerkObj.yearMonth,performance:o()(e)};Object(u.c)("/haoban-app-performance-web/performance/save-clerk-month-performance",r).then(function(e){var t=e.data;1!=t.errorCode?l.a.errorMsg(t):i.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this,t={brandId:e.activeBrand,storeId:e.clerkObj.storeId,yearMonth:e.clerkObj.yearMonth};Object(u.c)("/haoban-app-performance-web/performance/query-clerk-month-performance",t).then(function(t){var r=t.data;if(1==r.errorCode){r.result.clerkPerformanceList&&r.result.clerkPerformanceList.length&&(r.result.clerkPerformanceList.forEach(function(e){e.clerkPerformance=Number(e.clerkPerformance).toFixed(2)}),e.tableData=r.result.clerkPerformanceList||[]),r.result.storePerformance=Number(r.result.storePerformance).toFixed(2),e.clerkObj=r.result;var a=0;return e.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),void(e.performanceSum=Number(a).toFixed(2))}l.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","11"),this.brandId&&(this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonDetailTop:s.a}},m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap common-right-wrap"},[r("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),r("div",{staticClass:"task-set-content boder-box"},[r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"saler-set-title_left"},[r("span",[e._v(e._s(e.clerkObj.yearMonth))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName)+"门店导购月指标详情")])]),e._v(" "),r("div",{staticClass:"saler-set-title_right"},[r("span",[e._v("门店月指标:")]),r("el-input",{staticClass:"w-105 p-l-8",attrs:{placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(t){return e.inputMonthPerformance(t)}},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}})],1)]),e._v(" "),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-105 p-l-8",attrs:{placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)}},model:{value:t.row.clerkPerformance,callback:function(r){e.$set(t.row,"clerkPerformance",r)},expression:"scope.row.clerkPerformance"}})],1)]}}])})],1)],1),e._v(" "),r("div",{staticClass:"task-set-save text-center m-t-30"},[r("span",{staticClass:"saler-set-sum"},[e._v("导购总计:"),r("span",{class:["font-20",e.equalFlag?"color-1890ff":"color-f5222d"]},[e._v(e._s(e.performanceSum))])]),e._v(" "),1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确 认")]):e._e(),e._v(" "),e.equalFlag?e._e():r("span",{staticClass:"font-14 color-f5222d p-l-24"},[e._v("请确保导购月指标总计 = 门店月指标")])],1)])],1)},staticRenderFns:[]};var d=r("VU/8")(f,m,!1,function(e){r("lIyj")},"data-v-4fbf484a",null);t.default=d.exports},lIyj:function(e,t){}}); webpackJsonp([54],{IKv2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),o=r.n(a),n=r("2eFk"),s=r("Ke24"),c=r("PI0u"),l=r("Ch4/"),i=r("3E4D"),u=r("P9l9"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"指标管理",path:"/monthList?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:"/monthList?appIcon="+this.$route.query.appIcon},{id:"3",name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth+"&appIcon="+this.$route.query.appIcon},{id:"4",name:"导购月指标详情",path:""}],activeId:"4",tableData:[],performanceSum:"",clerkObj:{storeId:"",storeName:"",yearMonth:"",settingAble:1,storePerformance:""},equalFlag:!0}},computed:{},methods:{inputPerformance:Object(c.a)(function(e,t,r){r.clerkPerformance=Number(r.clerkPerformance.replace(/[^\d.]/g,""))?r.clerkPerformance.replace(/[^\d+(.\d+)]/g,""):"",r.clerkPerformance=Number(r.clerkPerformance).toFixed(2);var a=0;this.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),this.performanceSum=Number(a).toFixed(2),this.diffData()},500),inputMonthPerformance:Object(c.a)(function(e){this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance.replace(/[^\d.]/g,""))?this.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g,""):"",this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance).toFixed(2),this.diffData()},500),diffData:function(){var e=Number(this.performanceSum)==Number(this.clerkObj.storePerformance);return this.equalFlag=!!e,e},saveSet:Object(c.a)(function(){if(!this.diffData())return!1;if(""==this.clerkObj.storePerformance)return this.$message.error({duration:1e3,message:"请输入门店月指标"}),!1;var e={clerkPerformanceList:this.tableData,storePerformance:this.clerkObj.storePerformance};this.postSave(e)},500),postSave:function(e){var t=this,r={brandId:t.activeBrand,storeId:t.clerkObj.storeId,yearMonth:t.clerkObj.yearMonth,performance:o()(e)};Object(u.c)("/haoban-app-performance-web/performance/save-clerk-month-performance",r).then(function(e){var t=e.data;1!=t.errorCode?l.a.errorMsg(t):i.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this,t={brandId:e.activeBrand,storeId:e.clerkObj.storeId,yearMonth:e.clerkObj.yearMonth};Object(u.c)("/haoban-app-performance-web/performance/query-clerk-month-performance",t).then(function(t){var r=t.data;if(1==r.errorCode){r.result.clerkPerformanceList&&r.result.clerkPerformanceList.length&&(r.result.clerkPerformanceList.forEach(function(e){e.clerkPerformance=Number(e.clerkPerformance).toFixed(2)}),e.tableData=r.result.clerkPerformanceList||[]),r.result.storePerformance=Number(r.result.storePerformance).toFixed(2),e.clerkObj=r.result;var a=0;return e.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),void(e.performanceSum=Number(a).toFixed(2))}l.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","11"),this.brandId&&(this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonDetailTop:s.a}},m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap common-right-wrap"},[r("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),r("div",{staticClass:"task-set-content boder-box"},[r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"saler-set-title_left"},[r("span",[e._v(e._s(e.clerkObj.yearMonth))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName)+"门店导购月指标详情")])]),e._v(" "),r("div",{staticClass:"saler-set-title_right"},[r("span",[e._v("门店月指标:")]),r("el-input",{staticClass:"w-105 p-l-8",attrs:{placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(t){return e.inputMonthPerformance(t)}},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}})],1)]),e._v(" "),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-105 p-l-8",attrs:{placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)}},model:{value:t.row.clerkPerformance,callback:function(r){e.$set(t.row,"clerkPerformance",r)},expression:"scope.row.clerkPerformance"}})],1)]}}])})],1)],1),e._v(" "),r("div",{staticClass:"task-set-save text-center m-t-30"},[r("span",{staticClass:"saler-set-sum"},[e._v("导购总计:"),r("span",{class:["font-20",e.equalFlag?"color-1890ff":"color-f5222d"]},[e._v(e._s(e.performanceSum))])]),e._v(" "),1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确 认")]):e._e(),e._v(" "),e.equalFlag?e._e():r("span",{staticClass:"font-14 color-f5222d p-l-24"},[e._v("请确保导购月指标总计 = 门店月指标")])],1)])],1)},staticRenderFns:[]};var d=r("VU/8")(f,m,!1,function(e){r("lIyj")},"data-v-4fbf484a",null);t.default=d.exports},lIyj:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([56],{UcYd:function(t,e){},Y8F9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("2eFk"),s=n("Ke24"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeBrandId:this.brandId,topMenuData:[{id:"1",name:"系统报表"}],activeId:"1"}},computed:{},methods:{toEdit:function(){this.$router.push("/systemReportSet?brandId="+this.activeBrandId+"&appIcon="+this.$route.query.appIcon)}},watch:{brandId:function(t,e){this.activeBrandId=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","211"),this.activeBrandId=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:a.a,commonDetailTop:s.a}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"system-set-wrap"},[e("common-detail-top",{attrs:{topMenuData:this.topMenuData,activeId:this.activeId}}),this._v(" "),e("div",{staticClass:"system-set-content boder-box"},[e("div",{staticClass:"system-set-cell"},[e("div",{staticClass:"font-14 color-606266"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中")]),this._v(" "),e("div",{staticClass:"m-t-30"},[e("el-button",{attrs:{type:"primary"},on:{click:this.toEdit}},[this._v("编辑模板")])],1)])])],1)},staticRenderFns:[]};var d=n("VU/8")(i,o,!1,function(t){n("UcYd")},"data-v-47668b06",null);e.default=d.exports}}); webpackJsonp([55],{UcYd:function(t,e){},Y8F9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("2eFk"),s=n("Ke24"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeBrandId:this.brandId,topMenuData:[{id:"1",name:"系统报表"}],activeId:"1"}},computed:{},methods:{toEdit:function(){this.$router.push("/systemReportSet?brandId="+this.activeBrandId+"&appIcon="+this.$route.query.appIcon)}},watch:{brandId:function(t,e){this.activeBrandId=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","211"),this.activeBrandId=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:a.a,commonDetailTop:s.a}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"system-set-wrap"},[e("common-detail-top",{attrs:{topMenuData:this.topMenuData,activeId:this.activeId}}),this._v(" "),e("div",{staticClass:"system-set-content boder-box"},[e("div",{staticClass:"system-set-cell"},[e("div",{staticClass:"font-14 color-606266"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中")]),this._v(" "),e("div",{staticClass:"m-t-30"},[e("el-button",{attrs:{type:"primary"},on:{click:this.toEdit}},[this._v("编辑模板")])],1)])])],1)},staticRenderFns:[]};var d=n("VU/8")(i,o,!1,function(t){n("UcYd")},"data-v-47668b06",null);e.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([57],{"4m/B":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访记录",path:"/badEvaluateRecord"},{id:"2",name:"记录详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={taskType:0,storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,isAll:t.selectRadio};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId,brandId:a.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/del-one",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark",height:e.tableH},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v(e._s(t.row?"完成备注":"放弃备注"))])]}},{key:"default",fn:function(e){return[a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:e.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu"})])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["已完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?t.row.reason:""}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"放弃备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["未完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?"":t.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var m=a("VU/8")(f,p,!1,function(e){a("jSPD")},"data-v-452c9d9c",null);t.default=m.exports},jSPD:function(e,t){}}); webpackJsonp([56],{"4m/B":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访记录",path:"/badEvaluateRecord"},{id:"2",name:"记录详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:10,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={taskType:0,storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,isAll:t.selectRadio};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId,brandId:a.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/del-one",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark",height:e.tableH},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v(e._s(t.row?"完成备注":"放弃备注"))])]}},{key:"default",fn:function(e){return[a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:e.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu"})])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["已完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?t.row.reason:""}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"放弃备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["未完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?"":t.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var m=a("VU/8")(f,p,!1,function(e){a("jSPD")},"data-v-452c9d9c",null);t.default=m.exports},jSPD:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([58],{iG3v:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"话务任务记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:10,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.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(",")||"",storeGroupIds:a.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).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};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a="search="+(this.conditionObj.searchInput||"")+"&filterStoreIds="+(e.join(",")||"")+"&storeGroupIds="+(t.join(",")||"")+"&storeType="+(this.conditionObj.storeType||"")+"&startDate="+(this.conditionObj.dateRange[0]||"")+"&endDate="+(this.conditionObj.dateRange[1]||"")+"&brandId="+this.activeBrand;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+a)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&appIcon="+this.$route.query.appIcon)},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};Object(c.a)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var b=a("VU/8")(h,f,!1,function(t){a("q9da")},"data-v-44e56dd8",null);e.default=b.exports},q9da:function(t,e){}}); webpackJsonp([57],{iG3v:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"话务任务记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:10,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.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(",")||"",storeGroupIds:a.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).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};Object(c.c)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a="search="+(this.conditionObj.searchInput||"")+"&filterStoreIds="+(e.join(",")||"")+"&storeGroupIds="+(t.join(",")||"")+"&storeType="+(this.conditionObj.storeType||"")+"&startDate="+(this.conditionObj.dateRange[0]||"")+"&endDate="+(this.conditionObj.dateRange[1]||"")+"&brandId="+this.activeBrand;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+a)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&appIcon="+this.$route.query.appIcon)},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};Object(c.a)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var b=a("VU/8")(h,f,!1,function(t){a("q9da")},"data-v-44e56dd8",null);e.default=b.exports},q9da:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([59],{NdZW:function(t,e){},RHxA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Xxa5"),i=a.n(s),r=a("exGp"),o=a.n(r),n=a("3Xzz"),l=a("elmV"),c=a("P9l9"),p=a("unF8"),u=a("Ch4/"),d={name:"employee-io",components:{navCrumb:n.a,uploadExcelComponent:l.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"storeFrame"},{name:"批量导入导出",path:""}],host:window.location.origin,windowH:window.screen.availHeight-180+"px",type:"import",fileList:[],url:t+"/haoban-manage-web/store/upload",uploadSuccessMsg:"",logList:[],loading:!0,pageSize:20,currentPage:1,total:0,gicFlag:!0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getErrorNote()},handleCurrentChange:function(t){this.currentPage=t,this.getErrorNote()},resetList:function(t){this.fileList=[],"note"==t&&this.getErrorNote()},getErrorNote:function(){var t=this,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(c.a)("/haoban-manage-web/error-log-page",e).then(function(e){1==e.data.errorCode?(t.total=e.data.result.totalCount,t.logList=e.data.result,t.loading=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},handleRemove:function(t,e){},handlePreview:function(t){},uploadSuccess:function(){1==res.errorCode?this.uploadSuccessMsg=res.message.split(","):this.$message.error(res.message),this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,e){this.fileList=e},getGicData:function(t){var e=this;return o()(i.a.mark(function a(){var s,r,o,n;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return s=e,r={type:1,businessId:t},a.next=4,Object(p.a)(r);case 4:o=a.sent,1==(n=o.data).errorCode?(s.gicFlag=n.result,s.type=n.result?"export":"import"):u.a.errorMsg(n);case 7:case"end":return a.stop()}},a,e)}))()}},beforeMount:function(){var t=this.$route.query.brandId;this.getGicData(t),"note"==this.type&&this.getErrorNote(),this.$nextTick(function(){document.querySelector(".contact-wrap__body").style.overflow="hidden"})},beforeDestroy:function(){document.querySelector(".contact-wrap__body").style.overflow="auto"}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-set-wrap",style:{height:t.windowH}},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"io-container border-box "},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[t.gicFlag?t._e():a("el-radio-button",{attrs:{label:"import"}},[t._v("导入门店")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载门店导入模板,批量填写门店信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx"}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传填写好的门店信息\n "),a("div",{staticClass:"d-u-btn"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url+"?brandId="+t.$route.query.brandId,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("\n 上传\n ")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出门店\n "),a("a",{staticClass:"d-u-btn",attrs:{href:"/haoban-manage-web/store/export?storeGroupId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改门店信息\n ")])]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"},[t._v(t._s(t.uploadSuccessMsg))]),t._v(" "),a("a",{attrs:{href:"/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),a("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),a("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),a("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),a("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),t.logList.length?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":t.pageSize,"current-page":t.currentPage,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area border-box "},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"),a("a",{staticClass:"a-href",attrs:{href:"#/companyCertify"}},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("不能在本excel表中对门店信息类别进行增加、删除、修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入")])])}]};var g=a("VU/8")(d,v,!1,function(t){a("NdZW")},null,null);e.default=g.exports}}); webpackJsonp([58],{NdZW:function(t,e){},RHxA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Xxa5"),i=a.n(s),r=a("exGp"),o=a.n(r),n=a("3Xzz"),l=a("elmV"),c=a("P9l9"),p=a("unF8"),u=a("Ch4/"),d={name:"employee-io",components:{navCrumb:n.a,uploadExcelComponent:l.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"storeFrame"},{name:"批量导入导出",path:""}],host:window.location.origin,windowH:window.screen.availHeight-180+"px",type:"import",fileList:[],url:t+"/haoban-manage-web/store/upload",uploadSuccessMsg:"",logList:[],loading:!0,pageSize:20,currentPage:1,total:0,gicFlag:!0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getErrorNote()},handleCurrentChange:function(t){this.currentPage=t,this.getErrorNote()},resetList:function(t){this.fileList=[],"note"==t&&this.getErrorNote()},getErrorNote:function(){var t=this,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(c.a)("/haoban-manage-web/error-log-page",e).then(function(e){1==e.data.errorCode?(t.total=e.data.result.totalCount,t.logList=e.data.result,t.loading=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},handleRemove:function(t,e){},handlePreview:function(t){},uploadSuccess:function(){1==res.errorCode?this.uploadSuccessMsg=res.message.split(","):this.$message.error(res.message),this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,e){this.fileList=e},getGicData:function(t){var e=this;return o()(i.a.mark(function a(){var s,r,o,n;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return s=e,r={type:1,businessId:t},a.next=4,Object(p.a)(r);case 4:o=a.sent,1==(n=o.data).errorCode?(s.gicFlag=n.result,s.type=n.result?"export":"import"):u.a.errorMsg(n);case 7:case"end":return a.stop()}},a,e)}))()}},beforeMount:function(){var t=this.$route.query.brandId;this.getGicData(t),"note"==this.type&&this.getErrorNote(),this.$nextTick(function(){document.querySelector(".contact-wrap__body").style.overflow="hidden"})},beforeDestroy:function(){document.querySelector(".contact-wrap__body").style.overflow="auto"}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-set-wrap",style:{height:t.windowH}},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"io-container border-box "},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[t.gicFlag?t._e():a("el-radio-button",{attrs:{label:"import"}},[t._v("导入门店")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载门店导入模板,批量填写门店信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx"}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传填写好的门店信息\n "),a("div",{staticClass:"d-u-btn"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url+"?brandId="+t.$route.query.brandId,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("\n 上传\n ")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出门店\n "),a("a",{staticClass:"d-u-btn",attrs:{href:"/haoban-manage-web/store/export?storeGroupId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改门店信息\n ")])]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"},[t._v(t._s(t.uploadSuccessMsg))]),t._v(" "),a("a",{attrs:{href:"/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t._v(" "),a("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),t._v(" "),a("el-table-column",{attrs:{label:"部门ID",prop:"departmentId"}}),t._v(" "),a("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),t._v(" "),a("el-table-column",{attrs:{label:"是否此部门负责人(是/否)",prop:"isManager"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isManager?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"入职时间",prop:"hireDate"}})],1),t._v(" "),t.logList.length?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":t.pageSize,"current-page":t.currentPage,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area border-box "},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"),a("a",{staticClass:"a-href",attrs:{href:"#/companyCertify"}},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("不能在本excel表中对门店信息类别进行增加、删除、修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入")])])}]};var g=a("VU/8")(d,v,!1,function(t){a("NdZW")},null,null);e.default=g.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([60],{H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var n=i("VU/8")(s,a,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=n.exports},"SvI+":function(t,e){}}); webpackJsonp([59],{H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var n=i("VU/8")(s,a,!1,function(t){i("SvI+")},"data-v-3f076bb1",null);e.default=n.exports},"SvI+":function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([60],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("3Xzz"),o=t("WSbm"),s=t("P9l9"),i={name:"employeeDetail",components:{navCrumb:n.a,employeeInfo:o.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this.$refs.emmployInfo.info;this.isNew?this.addEmployee(a,e):this.saveEmployeeInfo(a)},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},r={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var m=t("VU/8")(i,r,!1,function(e){t("x3Cz")},null,null);a.default=m.exports},x3Cz:function(e,a){}});
\ No newline at end of file
webpackJsonp([78],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),p=(n("j1ja"),n("hKoQ")),r=n.n(p),i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},i,!1,function(e){n("/NA0")},null,null).exports,c=n("lRwf"),m=n.n(c),u=n("pRNm"),d=n.n(u),l=n("5tgt"),v=n.n(l);m.a.use(d.a);var h=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var A,f=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:v()("login","index")},{path:"/index",name:"index",component:v()("index","index")},{path:"/sign",name:"index",component:v()("sign","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:v()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:v()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:v()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:v()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:v()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:v()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:v()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:v()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:v()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:v()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:v()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:v()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:v()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:v()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:v()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:v()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:v()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:v()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:v()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:v()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客",component:v()("enterpriseApp","mycustomer")},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:v()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:v()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:v()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:v()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:v()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:v()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:v()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:v()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:v()("enterpriseApp/trafficTask","taskDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:v()("enterpriseApp/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:v()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:v()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:v()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:v()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:v()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:v()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:v()("enterpriseApp/badEvaluate","badEvaluateDetail")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:v()("enterpriseApp/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:v()("enterpriseApp/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:v()("enterpriseApp/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:v()("enterpriseApp/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:v()("enterpriseApp/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:v()("enterpriseApp/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:v()("enterpriseApp/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/signList",name:"企业公告",redirect:"/signList",component:v()("enterpriseApp/signApp","index"),children:[{path:"/signList",name:"企业公告列表",component:v()("enterpriseApp/signApp","signList")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:v()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:v()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:v()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:v()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:v()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:v()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:v()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:v()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:v()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:v()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:v()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:v()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:v()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:v()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:v()("enterpriseApp/cloudDaily","template")},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],y=new d.a({routes:f,scrollBehavior:function(){return{y:0}}}),g=n("zL8q"),k=n.n(g),D=n("Rf8U"),x=n.n(D),R=n("mtWM"),w=n.n(R),C=n("bOdI"),b=n.n(C),I=n("SJI6"),T=n.n(I);m.a.use(T.a);var E=new T.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(A={},b()(A,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(A,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(A,"title",function(e,t){e.title=t}),b()(A,"show",function(e,t){e.show=t}),A)}),S=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),q=n.n(S),V=n("tyqE"),L=n.n(V),P=n("pRVe"),j=n.n(P),F=n("SE7k"),N=n.n(F),G=n("XsK6"),O=n.n(G),K=n("QRL9"),z=n.n(K),H=n("2Pnh"),J=n.n(H),M=n("l9mu"),U=n.n(M),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;J()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,a=t.height,o=n/592.28*841.89,p=a,r=0,i=592.28/n*a,s=t.toDataURL("image/jpeg",1),c=new U.a("","pt","a4");if(p<o)c.addImage(s,"JPEG",0,0,595.28,i);else for(;p>0;)c.addImage(s,"JPEG",0,r,595.28,i),r-=841.89,(p-=o)>0&&c.addPage();c.save(e+".pdf")})}}};r.a.polyfill(),Vue.use(X),Vue.use(O.a),Vue.use(z.a),Vue.use(N.a),Vue.use(j.a),Vue.use(L.a),Vue.use(q.a),Vue.config.productionTip=!1,Vue.use(k.a,{size:"large"}),Vue.use(x.a,w.a),Vue.axios.defaults.withCredentials=!0,y.beforeEach(function(e,t,n){var a=void 0,p=window.location.origin;a="-1"!=p.indexOf("localhost")?"http://www.gicdev.com":p,localStorage.getItem("userInfo")||w.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",o()(t.result))}).catch(function(e){g.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new Vue({el:"#app",router:y,store:E,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,17],"./contacts/addDepartment.vue":["HHRu",0,15],"./contacts/addEmployee.vue":["00Sv",43],"./contacts/addGroup.vue":["mPjx",0,47],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,51],"./contacts/employeeIo.vue":["Rwbg",0,44],"./contacts/employeeRecord.vue":["zGJY",0,7],"./contacts/fileSet.vue":["CSjr",0,8],"./contacts/index.vue":["41Rh",0,74],"./contacts/recordInfo.vue":["67iC",0,11],"./contacts/recordIo.vue":["738z",0,18],"./contacts/recycle.vue":["HkK0",0,25],"./contacts/shareAddDepartment.vue":["q5Ri",0,16],"./contacts/shareCode.vue":["JsWW",0,65],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,75],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/storeInfo.vue":["h/6A",0,32],"./contacts/storeIo.vue":["RHxA",0,59],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/appcenter.vue":["yuVF",0,27],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,57],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,45],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,52],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,31],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,33],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,53],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,71],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,72],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,56],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,6],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,39],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,4],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",70],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",62],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",60],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",61],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",30],"./enterpriseApp/index.vue":["da9f",50],"./enterpriseApp/mycustomer.vue":["cuIN",0,37],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,76],"./enterpriseApp/notice/index.vue":["av/3",0,41],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,21],"./enterpriseApp/quota/companyDaySet.vue":["xk7v",0,69],"./enterpriseApp/quota/index.vue":["FB5x",0,68],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,49],"./enterpriseApp/quota/monthTask.vue":["cK0D",0,40],"./enterpriseApp/quota/monthTaskDetail.vue":["jMbb",0,28],"./enterpriseApp/quota/salerMonthDetail.vue":["IKv2",0,55],"./enterpriseApp/quota/storeMonthTask.vue":["kF1j",0,67],"./enterpriseApp/signApp/index.vue":["Gk4o",0,36],"./enterpriseApp/signApp/signList.vue":["kCy7",0,73],"./enterpriseApp/trafficTask/index.vue":["e88N",0,38],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,42],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,58],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,63],"./errorPage/403.vue":["6XGN",23],"./errorPage/404.vue":["AejC",24],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,26],"./login/index.vue":["T+/8",0,9],"./reviewCenter/index.vue":["+lem",54],"./reviewCenter/reviewed.vue":["CLYF",0,14],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,35],"./setting/addAdminRole.vue":["fZsz",0,46],"./setting/companyAddress.vue":["SKyE",0,64],"./setting/companyCertify.vue":["3zYh",0,10],"./setting/index.vue":["VlR1",29],"./setting/replaceAdmin.vue":["ys9I",0,34],"./setting/setChildAdmin.vue":["VqB7",0,48],"./setting/staffDetails.vue":["Zyzf",0,22],"./setting/storePermission.vue":["Xwfy",0,19],"./sign/index.vue":["RQuk",0,66]};function o(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(a)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]); webpackJsonp([78],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),p=(n("j1ja"),n("hKoQ")),r=n.n(p),i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},i,!1,function(e){n("/NA0")},null,null).exports,c=n("lRwf"),m=n.n(c),u=n("pRNm"),d=n.n(u),l=n("5tgt"),v=n.n(l);m.a.use(d.a);var h=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var A,f=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:v()("login","index")},{path:"/index",name:"index",component:v()("index","index")},{path:"/sign",name:"index",component:v()("sign","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:v()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:v()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:v()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:v()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:v()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:v()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:v()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:v()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:v()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:v()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:v()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:v()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:v()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:v()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:v()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:v()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:v()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:v()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:v()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:v()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客",component:v()("enterpriseApp","mycustomer")},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:v()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:v()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:v()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:v()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:v()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:v()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:v()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:v()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:v()("enterpriseApp/trafficTask","taskDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:v()("enterpriseApp/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:v()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:v()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:v()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:v()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:v()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:v()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:v()("enterpriseApp/badEvaluate","badEvaluateDetail")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:v()("enterpriseApp/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:v()("enterpriseApp/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:v()("enterpriseApp/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:v()("enterpriseApp/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:v()("enterpriseApp/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:v()("enterpriseApp/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:v()("enterpriseApp/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/signList",name:"企业公告",redirect:"/signList",component:v()("enterpriseApp/signApp","index"),children:[{path:"/signList",name:"企业公告列表",component:v()("enterpriseApp/signApp","signList")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:v()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:v()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:v()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:v()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:v()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:v()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:v()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:v()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:v()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:v()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:v()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:v()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:v()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:v()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:v()("enterpriseApp/cloudDaily","template")},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],y=new d.a({routes:f,scrollBehavior:function(){return{y:0}}}),g=n("zL8q"),k=n.n(g),D=n("Rf8U"),x=n.n(D),R=n("mtWM"),w=n.n(R),C=n("bOdI"),b=n.n(C),I=n("SJI6"),T=n.n(I);m.a.use(T.a);var E=new T.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(A={},b()(A,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(A,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(A,"title",function(e,t){e.title=t}),b()(A,"show",function(e,t){e.show=t}),A)}),S=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),q=n.n(S),V=n("tyqE"),L=n.n(V),P=n("pRVe"),j=n.n(P),F=n("SE7k"),N=n.n(F),G=n("XsK6"),O=n.n(G),K=n("QRL9"),z=n.n(K),H=n("2Pnh"),J=n.n(H),M=n("l9mu"),U=n.n(M),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;J()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,a=t.height,o=n/592.28*841.89,p=a,r=0,i=592.28/n*a,s=t.toDataURL("image/jpeg",1),c=new U.a("","pt","a4");if(p<o)c.addImage(s,"JPEG",0,0,595.28,i);else for(;p>0;)c.addImage(s,"JPEG",0,r,595.28,i),r-=841.89,(p-=o)>0&&c.addPage();c.save(e+".pdf")})}}};r.a.polyfill(),Vue.use(X),Vue.use(O.a),Vue.use(z.a),Vue.use(N.a),Vue.use(j.a),Vue.use(L.a),Vue.use(q.a),Vue.config.productionTip=!1,Vue.use(k.a,{size:"large"}),Vue.use(x.a,w.a),Vue.axios.defaults.withCredentials=!0,y.beforeEach(function(e,t,n){var a=void 0,p=window.location.origin;a="-1"!=p.indexOf("localhost")?"http://www.gicdev.com":p,localStorage.getItem("userInfo")||w.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",o()(t.result))}).catch(function(e){g.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new Vue({el:"#app",router:y,store:E,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,17],"./contacts/addDepartment.vue":["HHRu",0,15],"./contacts/addEmployee.vue":["00Sv",43],"./contacts/addGroup.vue":["mPjx",0,47],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,60],"./contacts/employeeIo.vue":["Rwbg",0,44],"./contacts/employeeRecord.vue":["zGJY",0,7],"./contacts/fileSet.vue":["CSjr",0,8],"./contacts/index.vue":["41Rh",0,74],"./contacts/recordInfo.vue":["67iC",0,11],"./contacts/recordIo.vue":["738z",0,18],"./contacts/recycle.vue":["HkK0",0,25],"./contacts/shareAddDepartment.vue":["q5Ri",0,16],"./contacts/shareCode.vue":["JsWW",0,65],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,75],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/storeInfo.vue":["h/6A",0,32],"./contacts/storeIo.vue":["RHxA",0,58],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/appcenter.vue":["yuVF",0,27],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,56],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,45],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,51],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,31],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,33],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,52],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,71],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,72],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,55],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,6],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,39],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,4],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",70],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",62],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",59],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",61],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",30],"./enterpriseApp/index.vue":["da9f",50],"./enterpriseApp/mycustomer.vue":["cuIN",0,37],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,76],"./enterpriseApp/notice/index.vue":["av/3",0,41],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,21],"./enterpriseApp/quota/companyDaySet.vue":["xk7v",0,69],"./enterpriseApp/quota/index.vue":["FB5x",0,68],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,49],"./enterpriseApp/quota/monthTask.vue":["cK0D",0,40],"./enterpriseApp/quota/monthTaskDetail.vue":["jMbb",0,28],"./enterpriseApp/quota/salerMonthDetail.vue":["IKv2",0,54],"./enterpriseApp/quota/storeMonthTask.vue":["kF1j",0,67],"./enterpriseApp/signApp/index.vue":["Gk4o",0,36],"./enterpriseApp/signApp/signList.vue":["kCy7",0,73],"./enterpriseApp/trafficTask/index.vue":["e88N",0,38],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,42],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,57],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,63],"./errorPage/403.vue":["6XGN",23],"./errorPage/404.vue":["AejC",24],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,26],"./login/index.vue":["T+/8",0,9],"./reviewCenter/index.vue":["+lem",53],"./reviewCenter/reviewed.vue":["CLYF",0,14],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,35],"./setting/addAdminRole.vue":["fZsz",0,46],"./setting/companyAddress.vue":["SKyE",0,64],"./setting/companyCertify.vue":["3zYh",0,10],"./setting/index.vue":["VlR1",29],"./setting/replaceAdmin.vue":["ys9I",0,34],"./setting/setChildAdmin.vue":["VqB7",0,48],"./setting/staffDetails.vue":["Zyzf",0,22],"./setting/storePermission.vue":["Xwfy",0,19],"./sign/index.vue":["RQuk",0,66]};function o(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(a)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var f={},d={80:0};function a(c){if(f[c])return f[c].exports;var d=f[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,a),d.l=!0,d.exports}a.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,a){c=d[e]=[f,a]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+e+"."+{0:"ace51f421a48f46a5277",1:"0ebe3ead93207dc78a78",2:"979deb10fce5b2fefcdb",3:"c2fd89730cdd6d5b8904",4:"f396f74b75d791b8cb38",5:"585fa5e680c961f3e6ea",6:"657b140c98f462652267",7:"425c9f33a90e59d2b270",8:"9180c86d724863021ea1",9:"7bafe59540d7210cfa70",10:"bc4f603351d381704d20",11:"2cfce44be1d5002c95f1",12:"e48ee65ef0da6c383571",13:"34bd3d823e73c2a4d360",14:"8719a4be4e72a548434c",15:"2ee668c55634c598bb49",16:"fc1264890c2669f41a52",17:"a1f8e736a1b936b682f2",18:"c930c090830262321506",19:"1b6d2763b40278908ad1",20:"81f6c674a6461ef85896",21:"08e506839eb7346cac08",22:"5a40199f94d4ea1b6837",23:"5ed1b5fd3abff19ce342",24:"9c7dd0f43ca6b011cd2f",25:"e3f3549f91880fa065bb",26:"40226508ead49adcb14f",27:"d06c17faef5f94ce3538",28:"5d40f738c37dc3ef187e",29:"ff0267ea3da22d09a51d",30:"dd4b7da78d6c78093255",31:"ab2d370388056de1d416",32:"70774db13d0413804dc5",33:"3920832eb8d2060b3283",34:"85d9b21e152ee68f753e",35:"89ba4c1dd475908bf5fc",36:"73599dd23aeb744999d1",37:"5c79b5b07eabe32865d9",38:"2abd4e6854edc4a61d25",39:"ff87a1bd8fe431022be1",40:"e9c116b3a105a1e15f53",41:"37fe8cc7206fc7a6918a",42:"1bd51133770da9de66c4",43:"6172423115106cbcf206",44:"15e4fb81db8878836164",45:"d8bd0488f225fbeac057",46:"7e45e6c43c0bab35bf80",47:"f6bccbc7dbb5d48ac435",48:"789e840b8b2f1bbeebbc",49:"bca658c86dad84d0634e",50:"331006123edd2049b7d9",51:"39c6d0fb7d792edd6cbf",52:"1877d1f717c069fa4b03",53:"dd892a649988674feca2",54:"1503b643475934e2b5e1",55:"0a28d0fa68bb623fb44b",56:"bf6ca3213cca34608387",57:"3b66a0783837139899c5",58:"d2633a0a50b9ea3eda37",59:"b0384129b6e3ccf2819d",60:"06083ce41737441c07f2",61:"2f37d96bc91f0a637cad",62:"c3caefedcb9fb6dcfb96",63:"3b57f32493eccbf39695",64:"ebc341a9017c4b2c1112",65:"790058d4bf34f37589d9",66:"ceb12b70732c3d1922a9",67:"5b477dcc7445f38c2ee9",68:"ba49712f562eff6edbc3",69:"17e063aa9f52b297f979",70:"6c2402795ed03b512775",71:"da1a44c8bf4f6316b90d",72:"6526d6cf985190f1fdbb",73:"eaf82b42a884d2f24070",74:"3a4f20982bf349c4bf08",75:"47588b504cef11d4ae3c",76:"509de08aa4c1d8be651d",79:"177f5627a2a311e067eb"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},a.m=e,a.c=f,a.d=function(e,c,f){a.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},a.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(c,"a",c),c},a.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(d,b,n){for(var r,t,o,i=0,u=[];i<d.length;i++)t=d[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(d,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var d={},f={80:0};function a(c){if(d[c])return d[c].exports;var f=d[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,a),f.l=!0,f.exports}a.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var d=new Promise(function(d,a){c=f[e]=[d,a]});c[2]=d;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+e+"."+{0:"ace51f421a48f46a5277",1:"0ebe3ead93207dc78a78",2:"979deb10fce5b2fefcdb",3:"c2fd89730cdd6d5b8904",4:"8d030ceca5cec87c35a9",5:"585fa5e680c961f3e6ea",6:"657b140c98f462652267",7:"425c9f33a90e59d2b270",8:"9180c86d724863021ea1",9:"7bafe59540d7210cfa70",10:"bc4f603351d381704d20",11:"2cfce44be1d5002c95f1",12:"e48ee65ef0da6c383571",13:"34bd3d823e73c2a4d360",14:"8719a4be4e72a548434c",15:"2ee668c55634c598bb49",16:"fc1264890c2669f41a52",17:"a1f8e736a1b936b682f2",18:"c930c090830262321506",19:"1b6d2763b40278908ad1",20:"81f6c674a6461ef85896",21:"08e506839eb7346cac08",22:"5a40199f94d4ea1b6837",23:"5ed1b5fd3abff19ce342",24:"9c7dd0f43ca6b011cd2f",25:"e3f3549f91880fa065bb",26:"40226508ead49adcb14f",27:"d06c17faef5f94ce3538",28:"5d40f738c37dc3ef187e",29:"ff0267ea3da22d09a51d",30:"dd4b7da78d6c78093255",31:"ab2d370388056de1d416",32:"70774db13d0413804dc5",33:"3920832eb8d2060b3283",34:"85d9b21e152ee68f753e",35:"89ba4c1dd475908bf5fc",36:"73599dd23aeb744999d1",37:"5c79b5b07eabe32865d9",38:"2abd4e6854edc4a61d25",39:"ff87a1bd8fe431022be1",40:"e9c116b3a105a1e15f53",41:"37fe8cc7206fc7a6918a",42:"1bd51133770da9de66c4",43:"6172423115106cbcf206",44:"15e4fb81db8878836164",45:"d8bd0488f225fbeac057",46:"7e45e6c43c0bab35bf80",47:"f6bccbc7dbb5d48ac435",48:"789e840b8b2f1bbeebbc",49:"bca658c86dad84d0634e",50:"331006123edd2049b7d9",51:"162b8ff2e1166dd2f5e6",52:"58dd6ef0bd18aab79f2a",53:"8ea56d269da04331dd65",54:"f0c7f08ea4dcf79e11d3",55:"c423570fcbf037d349d9",56:"a785196311a3bf4d85db",57:"2b9637ca7ac191a2bcf6",58:"f7e165a1f7d21d19a75d",59:"99266664dc2132a0f3bf",60:"d4e4cf8151e986ca5d63",61:"2f37d96bc91f0a637cad",62:"c3caefedcb9fb6dcfb96",63:"3b57f32493eccbf39695",64:"ebc341a9017c4b2c1112",65:"790058d4bf34f37589d9",66:"ceb12b70732c3d1922a9",67:"5b477dcc7445f38c2ee9",68:"ba49712f562eff6edbc3",69:"17e063aa9f52b297f979",70:"6c2402795ed03b512775",71:"da1a44c8bf4f6316b90d",72:"6526d6cf985190f1fdbb",73:"eaf82b42a884d2f24070",74:"3a4f20982bf349c4bf08",75:"47588b504cef11d4ae3c",76:"509de08aa4c1d8be651d",79:"177f5627a2a311e067eb"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),d},a.m=e,a.c=d,a.d=function(e,c,d){a.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:d})},a.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(c,"a",c),c},a.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -46,6 +46,24 @@ export default { ...@@ -46,6 +46,24 @@ export default {
path: '' path: ''
} }
], ],
navpathEdit: [
{
name: '首页',
path: '/index'
},
{
name: '企业通讯录',
path: '/administrativeFrame'
},
{
name: '行政架构',
path: '/administrativeFrame'
},
{
name: '编辑员工',
path: ''
}
],
managerMode: false managerMode: false
}; };
}, },
...@@ -144,6 +162,11 @@ export default { ...@@ -144,6 +162,11 @@ export default {
isNew() { isNew() {
return !!this.$route.query.addnew == 1; return !!this.$route.query.addnew == 1;
} }
},
mounted() {
if (!this.$route.query.addnew) {
this.navpath = this.navpathEdit
}
} }
}; };
</script> </script>
......
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