Commit 2a14cfd0 by 无尘

fix: 修改排序

parent 17001b8b
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.45fbfe55bda9a4b892008b9516e91967.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.bfc046784582b71a8448.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.aa25cdd952b02b839c07.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.09ce4ce9ebf5aa134e0d3e69001d945e.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.727dc8bd07ab95fa67b4.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.7855dd51b00b56f8c984.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([29],{"9EJ9":function(t,e){},hhIk:function(t,e){},w2fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),r=a("PI0u"),l=a("3E4D"),c=a("Ch4/"),d={name:"taskView",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,activeId:"1",showDialog:!1,conditionObj:{tableType:"1",searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(r.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,!i()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.ecmId}).join(","),enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return l.a.showmsg("请选择任务","warning"),!1;t.loadingBtn=!0;var e={search:t.conditionObj.searchInput||"",gicEnterpriseId:t.activeBrand,selectType:t.selectRadio,ecmIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.ecmId}).join(",")};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-task-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="话务任务门店任务报表.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/task-view-list",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,i=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n,s=new Date(e),r=s.getFullYear(),l=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[r+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+o+"-"+i]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),a("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],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:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),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.competedTaskNum))]}}])}),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.competedTaskRate))]}}])}),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.toComplete))]}}])}),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.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(t){a("hhIk")},"data-v-43dd16c3",null).exports,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,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{taskViewPage:p}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"daily-set-wrap "},[e("taskViewPage",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(t){a("9EJ9")},"data-v-cb3be208",null);e.default=f.exports}}); webpackJsonp([28],{"9EJ9":function(t,e){},hhIk:function(t,e){},w2fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),r=a("PI0u"),l=a("3E4D"),c=a("Ch4/"),d={name:"taskView",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,activeId:"1",showDialog:!1,conditionObj:{tableType:"1",searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(r.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,!i()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.ecmId}).join(","),enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return l.a.showmsg("请选择任务","warning"),!1;t.loadingBtn=!0;var e={search:t.conditionObj.searchInput||"",gicEnterpriseId:t.activeBrand,selectType:t.selectRadio,ecmIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.ecmId}).join(",")};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-task-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="话务任务门店任务报表.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/task-view-list",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,i=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n,s=new Date(e),r=s.getFullYear(),l=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[r+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+o+"-"+i]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),a("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],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:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),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.competedTaskNum))]}}])}),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.competedTaskRate))]}}])}),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.toComplete))]}}])}),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.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(t){a("hhIk")},"data-v-43dd16c3",null).exports,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,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{taskViewPage:p}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"daily-set-wrap "},[e("taskViewPage",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(t){a("9EJ9")},"data-v-cb3be208",null);e.default=f.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([28],{DhGB:function(t,e){},rUvh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),r=n("P9l9"),i=n("Ch4/"),s=n("PI0u"),l={props:{brandId:{type:String,default:function(){return""}},policyId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},currentPage:1,pageSize:20,total:0}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{handleClose:function(t){this.$emit("closeSendRecord")},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,n={policyId:e.policyId,search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(r.d)("/haoban-app-customer-web/inner/find-card-total-log-page",n).then(function(t){var n=t.data;if(1==n.errorCode)return e.tableData=n.result.result||[],e.total=n.result.totalCount,!1;i.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},policyId:function(t,e){t&&this.getTableList()}},mounted:function(){this.policyId&&this.getTableList()}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:"记录",visible:t.dialogVisible,width:"802px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[n("div",{staticClass:"table-condition-left"},[n("el-input",{staticClass:"w-369",attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return n=e,t.toInput(n,t.conditionObj.searchInput);var n}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}})],1)]),t._v(" "),n("div",[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark",height:"450"}},[n("el-table-column",{attrs:{label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"投放数量","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.issuingQuantity||"0")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.getedQuantity||"0"))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("percenteNum")(e.row.getedRate)))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(e.row.usageQuantity||"0"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(t._f("percenteNum")(e.row.verificationRate)))])]}}])})],1),t._v(" "),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var u=n("VU/8")(l,c,!1,function(t){n("DhGB")},"data-v-fef5fa24",null).exports,d=n("/dO2"),p=n("3E4D"),f={components:{recordDetail:u},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",loading:!1,tableData:[],currentPage:1,pageSize:20,total:0,recordShow:!1,coupCardId:""}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toRecord:function(t,e){this.policyId=e.policyId,this.recordShow=!0},closeSendRecord:function(){this.policyId="",this.recordShow=!1},rowDrop:function(){var t=this.$refs.multipleTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0],e=this;this.sortable=d.default.create(t,{ghostClass:"sortable-ghost",animation:150,handle:".icontuozhuaiopen",setData:function(t){t.setData("Text","")},onEnd:function(t){var n=t.newIndex,a=t.oldIndex;if(n==a)return!1;var r=JSON.parse(o()(e.tableData)),i=r.splice(a,1)[0];r.splice(n,0,i),console.log(r,n,a),e.postSort(r)}})},postSort:function(t){var e=this,n={json:o()(t)};Object(r.d)("/haoban-app-customer-web/inner/change-sort",n).then(function(n){var a=n.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),e.tableData=t,void e.getTableList();i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toDel:function(t,e){var n=this;n.$confirm("是否要删除选中的卡券策略?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.delCardList(e.policyId)}).catch(function(){})},delCardList:function(t){var e=this,n={wxEnterpriseId:e.wxEnterpriseId,policyId:t};Object(r.d)("/haoban-app-customer-web/inner/delete-policy",n).then(function(t){var n=t.data;if(1==n.errorCode)return p.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);i.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardStrategy?policyId="+e.policyId)},toSwitch:function(t,e){var n=this,a={onlineFlag:1==e.onlineFlag?0:1,policyId:e.policyId};Object(r.d)("/haoban-app-customer-web/inner/on-off-line",a).then(function(t){var e=t.data;if(1==e.errorCode)return p.a.showmsg("操作成功","success"),void n.getTableList();i.a.errorMsg(e)}).catch(function(t){n.$message.error({duration:1e3,message:t.message})})},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardStrategy")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;t.loading=!0;var e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-customer-web/inner/list-policy",e).then(function(e){var n=e.data;if(t.loading=!1,1==n.errorCode)return t.tableData=JSON.parse(o()(n.result))||[],void t.$nextTick(function(){t.rowDrop()});i.a.errorMsg(n)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab","2"),this.getTableList()}},h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"common-right-wrap"},[n("div",{staticClass:"p-20"},[n("div",{staticClass:"flex flex-space-between m-b-20"},[t._m(0),t._v(" "),n("el-button",{attrs:{disabled:t.tableData.length>=5,type:"primary"},on:{click:t.toNewCard}},[t._v("新增策略")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{prop:"",label:"",width:"100","class-name":"move-row-cell"},scopedSlots:t._u([{key:"default",fn:function(t){return[n("span",{staticClass:"font-22 iconfont icontuozhuaiopen color-c4c6cf",staticStyle:{cursor:"move"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"卡券策略名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.policyName)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"卡券模板","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardTemplates)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"上线状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(0==e.row.onlineFlag?"已下线":"已上线"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"策略状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(0==e.row.policyStatus?"无效":"有效"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"操作",width:"228"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toSwitch(e.$index,e.row)}}},[t._v(t._s(0==e.row.onlineFlag?"上线":"下线"))]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toRecord(e.$index,e.row)}}},[t._v("记录")]),t._v(" "),0==e.row.onlineFlag?n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toDel(e.$index,e.row)}}},[t._v("删除")]):t._e()]}}])})],1)],1),t._v(" "),t.recordShow?n("record-detail",{attrs:{policyId:t.policyId},on:{closeSendRecord:t.closeSendRecord}}):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{"line-height":"32px"}},[e("span",{staticClass:"font-13 color-909399 p-l-10 font-w-300"},[this._v("内购券针对企业内部员工发下的卡券,最多新建5个策略")])])}]};var g=n("VU/8")(f,h,!1,function(t){n("zpnm")},"data-v-471b7d4e",null);e.default=g.exports},zpnm:function(t,e){}});
\ No newline at end of file
webpackJsonp([29],{DhGB:function(t,e){},rUvh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),r=n("P9l9"),i=n("Ch4/"),s=n("PI0u"),l={props:{brandId:{type:String,default:function(){return""}},policyId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},currentPage:1,pageSize:20,total:0}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{handleClose:function(t){this.$emit("closeSendRecord")},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,n={policyId:e.policyId,search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(r.d)("/haoban-app-customer-web/inner/find-card-total-log-page",n).then(function(t){var n=t.data;if(1==n.errorCode)return e.tableData=n.result.result||[],e.total=n.result.totalCount,!1;i.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},policyId:function(t,e){t&&this.getTableList()}},mounted:function(){this.policyId&&this.getTableList()}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:"记录",visible:t.dialogVisible,width:"802px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[n("div",{staticClass:"table-condition-left"},[n("el-input",{staticClass:"w-369",attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return n=e,t.toInput(n,t.conditionObj.searchInput);var n}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}})],1)]),t._v(" "),n("div",[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark",height:"450"}},[n("el-table-column",{attrs:{label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"投放数量","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.issuingQuantity||"0")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.getedQuantity||"0"))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("percenteNum")(e.row.getedRate)))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(e.row.usageQuantity||"0"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(t._f("percenteNum")(e.row.verificationRate)))])]}}])})],1),t._v(" "),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var u=n("VU/8")(l,c,!1,function(t){n("DhGB")},"data-v-fef5fa24",null).exports,d=n("/dO2"),p=n("3E4D"),f={components:{recordDetail:u},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",loading:!1,tableData:[],currentPage:1,pageSize:20,total:0,recordShow:!1,coupCardId:""}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toRecord:function(t,e){this.policyId=e.policyId,this.recordShow=!0},closeSendRecord:function(){this.policyId="",this.recordShow=!1},rowDrop:function(){var t=this.$refs.multipleTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0],e=this;e.sortable=d.default.create(t,{ghostClass:"sortable-ghost",animation:150,handle:".icontuozhuaiopen",setData:function(t){t.setData("Text","")},onEnd:function(t){var n=t.newIndex,a=t.oldIndex;if(n==a)return!1;var s=JSON.parse(o()(e.tableData)),l=s.splice(a,1)[0];s.splice(n,0,l),console.log(s,n,a);var c={json:o()(s)};Object(r.d)("/haoban-app-customer-web/inner/change-sort",c).then(function(t){var n=t.data;if(1==n.errorCode)return p.a.showmsg("操作成功","success"),void(e.tableData=s);i.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}})},postSort:function(t){var e=this,n={json:o()(t)};Object(r.d)("/haoban-app-customer-web/inner/change-sort",n).then(function(n){var a=n.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),e.tableData=t,void e.getTableList();i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toDel:function(t,e){var n=this;n.$confirm("是否要删除选中的卡券策略?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.delCardList(e.policyId)}).catch(function(){})},delCardList:function(t){var e=this,n={wxEnterpriseId:e.wxEnterpriseId,policyId:t};Object(r.d)("/haoban-app-customer-web/inner/delete-policy",n).then(function(t){var n=t.data;if(1==n.errorCode)return p.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);i.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardStrategy?policyId="+e.policyId)},toSwitch:function(t,e){var n=this,a={onlineFlag:1==e.onlineFlag?0:1,policyId:e.policyId};Object(r.d)("/haoban-app-customer-web/inner/on-off-line",a).then(function(t){var e=t.data;if(1==e.errorCode)return p.a.showmsg("操作成功","success"),void n.getTableList();i.a.errorMsg(e)}).catch(function(t){n.$message.error({duration:1e3,message:t.message})})},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardStrategy")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;t.loading=!0;var e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-customer-web/inner/list-policy",e).then(function(e){var n=e.data;if(t.loading=!1,1==n.errorCode)return t.tableData=JSON.parse(o()(n.result))||[],void t.$nextTick(function(){t.rowDrop()});i.a.errorMsg(n)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab","2"),this.getTableList()}},h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"common-right-wrap"},[n("div",{staticClass:"p-20"},[n("div",{staticClass:"flex flex-space-between m-b-20"},[t._m(0),t._v(" "),n("el-button",{attrs:{disabled:t.tableData.length>=5,type:"primary"},on:{click:t.toNewCard}},[t._v("新增策略")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{prop:"",label:"",width:"100","class-name":"move-row-cell"},scopedSlots:t._u([{key:"default",fn:function(t){return[n("span",{staticClass:"font-22 iconfont icontuozhuaiopen color-c4c6cf",staticStyle:{cursor:"move"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"卡券策略名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.policyName)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"卡券模板","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardTemplates)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"上线状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(0==e.row.onlineFlag?"已下线":"已上线"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"策略状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(0==e.row.policyStatus?"无效":"有效"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"操作",width:"228"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toSwitch(e.$index,e.row)}}},[t._v(t._s(0==e.row.onlineFlag?"上线":"下线"))]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toRecord(e.$index,e.row)}}},[t._v("记录")]),t._v(" "),0==e.row.onlineFlag?n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toDel(e.$index,e.row)}}},[t._v("删除")]):t._e()]}}])})],1)],1),t._v(" "),t.recordShow?n("record-detail",{attrs:{policyId:t.policyId},on:{closeSendRecord:t.closeSendRecord}}):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{"line-height":"32px"}},[e("span",{staticClass:"font-13 color-909399 p-l-10 font-w-300"},[this._v("内购券针对企业内部员工发下的卡券,最多新建5个策略")])])}]};var g=n("VU/8")(f,h,!1,function(t){n("ygt0")},"data-v-330bc778",null);e.default=g.exports},ygt0:function(t,e){}});
\ No newline at end of file
webpackJsonp([87],{"/NA0":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),r=(a("j1ja"),a("hKoQ")),p=a.n(r),s={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 i=a("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){a("/NA0")},null,null).exports,c=a("lRwf"),u=a.n(c),m=a("pRNm"),d=a.n(m),l=a("5tgt"),h=a.n(l);u.a.use(d.a);var v=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,g=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:h()("login","index")},{path:"/index",name:"index",component:h()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:h()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:h()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:h()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:h()("business","authMerchant")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:h()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:h()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:h()("enterprise","adminList")},{path:"/material",name:"素材库",component:h()("enterprise","material")}]},{path:"/enterpriseData",name:"企业数据",redirect:"enterpriseUseData",component:h()("enterpriseData","index"),children:[{path:"/enterpriseUseData",name:"好办使用详情",component:h()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:h()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:h()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:h()("enterpriseData","areaLoginDetail")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:h()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:h()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:h()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:h()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:h()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:h()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:h()("apps/customerApp","memberSearchSet")},{path:"/memberDetailSet",name:"会员详情设置",component:h()("apps/customerApp","memberDetailSet")},{path:"/myCustomerList",name:"我的顾客列表",component:h()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:h()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:h()("apps/customerApp","storeRangeSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:h()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:h()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:h()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:h()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:h()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:h()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:h()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:h()("apps/cloudDaily","customReportSet")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:h()("apps/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:h()("apps/trafficTask","taskRecord")},{path:"/taskView",name:"话务任务记录",component:h()("apps/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:h()("apps/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:h()("apps/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:h()("apps/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:h()("apps/badEvaluate","badEvaluateSet")},{path:"/taskList",name:"会话任务列表",component:h()("apps/trafficTask","taskList")},{path:"/newSession",name:"新建会话任务",component:h()("apps/trafficTask","newSession")},{path:"/taskSessionSet",name:"会话任务设置",component:h()("apps/trafficTask","taskSessionSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:h()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:h()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:h()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:h()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:h()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:h()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:h()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:h()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:h()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:h()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:h()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:h()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:h()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:h()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:h()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:h()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:h()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:h()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:h()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:h()("apps/protectCard","cardGetRecord")}]},{path:"/shoppingCenter",name:"商品中心",redirect:"/goodsShowSet",component:h()("apps/shoppingCenter","index"),children:[{path:"/goodsShowSet",name:"商品展示设置",component:h()("apps/shoppingCenter","goodsShowSet")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:h()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:h()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:h()("reviewCenter","unreview")},{path:"/reviewSet",name:"审核设置",component:h()("reviewCenter","reviewSet")}]},{path:"/gic-error",name:"gic跳转失败页",component:h()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],D=new d.a({routes:g,scrollBehavior:function(){return{y:0}}}),S=a("zL8q"),w=a.n(S),k=a("Rf8U"),y=a.n(k),x=a("mtWM"),C=a.n(x),T=a("bOdI"),b=a.n(T),R=a("SJI6"),M=a.n(R);u.a.use(M.a);var A=new M.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(f={},b()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(f,"title",function(e,t){e.title=t}),b()(f,"show",function(e,t){e.show=t}),b()(f,"saveAdd",function(e,t){e.addDepartment.push(t)}),b()(f,"saveEdit",function(e,t){e.editDepartment.push(t)}),b()(f,"saveDel",function(e,t){e.delDepartment.push(t)}),b()(f,"clearAdd",function(e){e.addDepartment=[]}),b()(f,"clearEdit",function(e){e.editDepartment=[]}),b()(f,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),f),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),L=(a("4qCZ"),a("tvR6"),a("uKUT"),a("Xcu2"),a("xtVA"),a("Q0Ca")),E=a("TUaa"),P=a.n(E),V=a("tyqE"),q=a.n(V),I=a("pRVe"),H=a.n(I),G=a("XsK6"),j=a.n(G),Y=a("QRL9"),F=a.n(Y),N=a("2Pnh"),O=a.n(N),U=a("l9mu"),J=a.n(U),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;O()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,o=a/592.28*841.89,r=n,p=0,s=592.28/a*n,i=t.toDataURL("image/jpeg",1),c=new J.a("","pt","a4");if(r<o)c.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)c.addImage(i,"JPEG",0,p,595.28,s),p-=841.89,(r-=o)>0&&c.addPage();c.save(e+".pdf")})}}},z=a("/IwO"),K=a.n(z);p.a.polyfill(),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(X),Vue.use(j.a),Vue.use(F.a),Vue.use(H.a),Vue.use(q.a),Vue.use(P.a),Vue.config.productionTip=!1,Vue.use(w.a,{size:"large"}),Vue.use(y.a,C.a),Vue.axios.defaults.withCredentials=!0,o()(L.a).forEach(function(e){Vue.filter(e,L.a[e])}),D.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var n=window.location.origin;n.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?a({path:"/login"}):a()}),new Vue({el:"#app",router:D,store:A,components:{App:i},template:"<App/>"})},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,64],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,65],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,77],"./apps/badEvaluate/index.vue":["AG22",0,33],"./apps/card/cardList.vue":["X5LE",0,79],"./apps/card/cardRecord.vue":["xDJN",0,20],"./apps/card/index.vue":["nV1L",0,44],"./apps/card/newCard.vue":["7/Zw",0,13],"./apps/cloudDaily/customReport.vue":["ak3k",0,35],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,3],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,17],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,26],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,85],"./apps/cloudDaily/index.vue":["4QyY",0,37],"./apps/cloudDaily/systemReport.vue":["J/6z",0,7],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,43],"./apps/cloudDaily/template/block.vue":["O3gZ",54],"./apps/cloudDaily/template/date-range.vue":["2WGr",56],"./apps/cloudDaily/template/image.vue":["8dpP",73],"./apps/cloudDaily/template/input.vue":["zHtI",83],"./apps/cloudDaily/template/select.vue":["rYZf",67],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,31],"./apps/customerApp/index.vue":["QHTa",0,63],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,42],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,75],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,76],"./apps/customerApp/memberShowSet.vue":["odfG",0,71],"./apps/customerApp/myCustomerList.vue":["9CCr",0,9],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,12],"./apps/index.vue":["K1Vb",0,62],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,72],"./apps/protectCard/cardPut.vue":["cD4x",0,46],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,74],"./apps/protectCard/cardStrategy.vue":["rUvh",0,28],"./apps/protectCard/cardTemplate.vue":["c7iB",0,60],"./apps/protectCard/index.vue":["aWmL",0,80],"./apps/protectCard/newCardPut.vue":["9db3",0,11],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,10],"./apps/protectCard/newCardTemp.vue":["tF0P",0,41],"./apps/quota/companyDaySet.vue":["NiGE",0,78],"./apps/quota/index.vue":["qSX4",0,69],"./apps/quota/monthList.vue":["fAFA",0,34],"./apps/quota/monthTask.vue":["NpHY",0,84],"./apps/quota/monthTaskDetail.vue":["YKf6",0,39],"./apps/quota/salerMonthDetail.vue":["+qr5",0,61],"./apps/quota/storeMonthTask.vue":["qWC+",0,45],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,53],"./apps/shoppingCenter/index.vue":["FIFf",0,51],"./apps/trafficTask/index.vue":["FmZU",0,38],"./apps/trafficTask/newSession.vue":["upTI",0,81],"./apps/trafficTask/taskDetail.vue":["XrDD",0,16],"./apps/trafficTask/taskList.vue":["FMQe",0,57],"./apps/trafficTask/taskRecord.vue":["m+x7",0,52],"./apps/trafficTask/taskSessionSet.vue":["lPa5",0,48],"./apps/trafficTask/taskView.vue":["w2fd",0,29],"./apps/trafficTask/taskViewDetail.vue":["SBUJ",0,36],"./apps/trafficTask/trafficTaskSet.vue":["OUXi",0,49],"./business/authMerchant.vue":["mjMK",0,19],"./business/contacts.vue":["/W60",0,6],"./business/index.vue":["jPcV",0,82],"./business/orgStructSet.vue":["OI5V",0,4],"./business/recycle.vue":["K8Yn",0,55],"./business/syncLog.vue":["20P3",0,30],"./enterprise/adminList.vue":["zYBJ",0,59],"./enterprise/enterpriseSet.vue":["x5Fx",0,15],"./enterprise/index.vue":["m9dW",0,50],"./enterprise/material.vue":["q+Sm",0,2],"./enterpriseData/activeDetail.vue":["h9Ca",0,22],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,21],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,5],"./enterpriseData/index.vue":["CTf4",0,70],"./enterpriseData/loginDetail.vue":["kX6v",0,8],"./errorPage/403.vue":["6XGN",27],"./errorPage/404.vue":["AejC",32],"./errorPage/500.vue":["FskK",25],"./errorPage/gic-error.vue":["Q3j/",24],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,66],"./login/index.vue":["T+/8",0,23],"./overstore/index.vue":["Y55K",0,68],"./overstore/overStoreList.vue":["vuAV",0,58],"./reviewCenter/index.vue":["+lem",0,40],"./reviewCenter/reviewSet.vue":["6j9f",0,47],"./reviewCenter/reviewed.vue":["CLYF",0,18],"./reviewCenter/unreview.vue":["xCEU",0,14]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Opzk",e.exports=o},Q0Ca:function(e,t,a){"use strict";t.a={dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),n={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+n+" "+r+":"+p+":"+s}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=a<10?"0"+a:a;return t.getFullYear()+"-"+n}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a;return t.getFullYear()+"-"+o+"-"+n}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+n+" "+r+":"+p+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var n=a%864e5,o=n%36e5;return Math.floor(a/864e5)+"天"+Math.floor(n/36e5)+"小时"+Math.floor(o/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)}}},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},tvR6:function(e,t){},uKUT:function(e,t){},xtVA:function(e,t){}},[0]); webpackJsonp([87],{"/NA0":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),r=(a("j1ja"),a("hKoQ")),p=a.n(r),s={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 i=a("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){a("/NA0")},null,null).exports,c=a("lRwf"),u=a.n(c),m=a("pRNm"),d=a.n(m),l=a("5tgt"),h=a.n(l);u.a.use(d.a);var v=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,g=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:h()("login","index")},{path:"/index",name:"index",component:h()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:h()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:h()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:h()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:h()("business","authMerchant")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:h()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:h()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:h()("enterprise","adminList")},{path:"/material",name:"素材库",component:h()("enterprise","material")}]},{path:"/enterpriseData",name:"企业数据",redirect:"enterpriseUseData",component:h()("enterpriseData","index"),children:[{path:"/enterpriseUseData",name:"好办使用详情",component:h()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:h()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:h()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:h()("enterpriseData","areaLoginDetail")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:h()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:h()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:h()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:h()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:h()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:h()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:h()("apps/customerApp","memberSearchSet")},{path:"/memberDetailSet",name:"会员详情设置",component:h()("apps/customerApp","memberDetailSet")},{path:"/myCustomerList",name:"我的顾客列表",component:h()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:h()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:h()("apps/customerApp","storeRangeSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:h()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:h()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:h()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:h()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:h()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:h()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:h()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:h()("apps/cloudDaily","customReportSet")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:h()("apps/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:h()("apps/trafficTask","taskRecord")},{path:"/taskView",name:"话务任务记录",component:h()("apps/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:h()("apps/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:h()("apps/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:h()("apps/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:h()("apps/badEvaluate","badEvaluateSet")},{path:"/taskList",name:"会话任务列表",component:h()("apps/trafficTask","taskList")},{path:"/newSession",name:"新建会话任务",component:h()("apps/trafficTask","newSession")},{path:"/taskSessionSet",name:"会话任务设置",component:h()("apps/trafficTask","taskSessionSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:h()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:h()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:h()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:h()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:h()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:h()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:h()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:h()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:h()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:h()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:h()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:h()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:h()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:h()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:h()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:h()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:h()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:h()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:h()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:h()("apps/protectCard","cardGetRecord")}]},{path:"/shoppingCenter",name:"商品中心",redirect:"/goodsShowSet",component:h()("apps/shoppingCenter","index"),children:[{path:"/goodsShowSet",name:"商品展示设置",component:h()("apps/shoppingCenter","goodsShowSet")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:h()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:h()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:h()("reviewCenter","unreview")},{path:"/reviewSet",name:"审核设置",component:h()("reviewCenter","reviewSet")}]},{path:"/gic-error",name:"gic跳转失败页",component:h()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],D=new d.a({routes:g,scrollBehavior:function(){return{y:0}}}),S=a("zL8q"),w=a.n(S),k=a("Rf8U"),y=a.n(k),x=a("mtWM"),C=a.n(x),T=a("bOdI"),b=a.n(T),R=a("SJI6"),M=a.n(R);u.a.use(M.a);var A=new M.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(f={},b()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(f,"title",function(e,t){e.title=t}),b()(f,"show",function(e,t){e.show=t}),b()(f,"saveAdd",function(e,t){e.addDepartment.push(t)}),b()(f,"saveEdit",function(e,t){e.editDepartment.push(t)}),b()(f,"saveDel",function(e,t){e.delDepartment.push(t)}),b()(f,"clearAdd",function(e){e.addDepartment=[]}),b()(f,"clearEdit",function(e){e.editDepartment=[]}),b()(f,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),f),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),L=(a("4qCZ"),a("tvR6"),a("uKUT"),a("Xcu2"),a("xtVA"),a("Q0Ca")),E=a("TUaa"),P=a.n(E),V=a("tyqE"),q=a.n(V),I=a("pRVe"),H=a.n(I),G=a("XsK6"),j=a.n(G),Y=a("QRL9"),F=a.n(Y),N=a("2Pnh"),O=a.n(N),U=a("l9mu"),J=a.n(U),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;O()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,o=a/592.28*841.89,r=n,p=0,s=592.28/a*n,i=t.toDataURL("image/jpeg",1),c=new J.a("","pt","a4");if(r<o)c.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)c.addImage(i,"JPEG",0,p,595.28,s),p-=841.89,(r-=o)>0&&c.addPage();c.save(e+".pdf")})}}},z=a("/IwO"),K=a.n(z);p.a.polyfill(),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(X),Vue.use(j.a),Vue.use(F.a),Vue.use(H.a),Vue.use(q.a),Vue.use(P.a),Vue.config.productionTip=!1,Vue.use(w.a,{size:"large"}),Vue.use(y.a,C.a),Vue.axios.defaults.withCredentials=!0,o()(L.a).forEach(function(e){Vue.filter(e,L.a[e])}),D.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var n=window.location.origin;n.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?a({path:"/login"}):a()}),new Vue({el:"#app",router:D,store:A,components:{App:i},template:"<App/>"})},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,64],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,65],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,77],"./apps/badEvaluate/index.vue":["AG22",0,33],"./apps/card/cardList.vue":["X5LE",0,79],"./apps/card/cardRecord.vue":["xDJN",0,20],"./apps/card/index.vue":["nV1L",0,44],"./apps/card/newCard.vue":["7/Zw",0,13],"./apps/cloudDaily/customReport.vue":["ak3k",0,35],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,3],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,17],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,26],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,85],"./apps/cloudDaily/index.vue":["4QyY",0,37],"./apps/cloudDaily/systemReport.vue":["J/6z",0,7],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,43],"./apps/cloudDaily/template/block.vue":["O3gZ",54],"./apps/cloudDaily/template/date-range.vue":["2WGr",56],"./apps/cloudDaily/template/image.vue":["8dpP",73],"./apps/cloudDaily/template/input.vue":["zHtI",83],"./apps/cloudDaily/template/select.vue":["rYZf",67],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,31],"./apps/customerApp/index.vue":["QHTa",0,63],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,42],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,75],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,76],"./apps/customerApp/memberShowSet.vue":["odfG",0,71],"./apps/customerApp/myCustomerList.vue":["9CCr",0,9],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,12],"./apps/index.vue":["K1Vb",0,62],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,72],"./apps/protectCard/cardPut.vue":["cD4x",0,46],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,74],"./apps/protectCard/cardStrategy.vue":["rUvh",0,29],"./apps/protectCard/cardTemplate.vue":["c7iB",0,60],"./apps/protectCard/index.vue":["aWmL",0,80],"./apps/protectCard/newCardPut.vue":["9db3",0,11],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,10],"./apps/protectCard/newCardTemp.vue":["tF0P",0,41],"./apps/quota/companyDaySet.vue":["NiGE",0,78],"./apps/quota/index.vue":["qSX4",0,69],"./apps/quota/monthList.vue":["fAFA",0,34],"./apps/quota/monthTask.vue":["NpHY",0,84],"./apps/quota/monthTaskDetail.vue":["YKf6",0,39],"./apps/quota/salerMonthDetail.vue":["+qr5",0,61],"./apps/quota/storeMonthTask.vue":["qWC+",0,45],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,53],"./apps/shoppingCenter/index.vue":["FIFf",0,51],"./apps/trafficTask/index.vue":["FmZU",0,38],"./apps/trafficTask/newSession.vue":["upTI",0,81],"./apps/trafficTask/taskDetail.vue":["XrDD",0,16],"./apps/trafficTask/taskList.vue":["FMQe",0,57],"./apps/trafficTask/taskRecord.vue":["m+x7",0,52],"./apps/trafficTask/taskSessionSet.vue":["lPa5",0,48],"./apps/trafficTask/taskView.vue":["w2fd",0,28],"./apps/trafficTask/taskViewDetail.vue":["SBUJ",0,36],"./apps/trafficTask/trafficTaskSet.vue":["OUXi",0,49],"./business/authMerchant.vue":["mjMK",0,19],"./business/contacts.vue":["/W60",0,6],"./business/index.vue":["jPcV",0,82],"./business/orgStructSet.vue":["OI5V",0,4],"./business/recycle.vue":["K8Yn",0,55],"./business/syncLog.vue":["20P3",0,30],"./enterprise/adminList.vue":["zYBJ",0,59],"./enterprise/enterpriseSet.vue":["x5Fx",0,15],"./enterprise/index.vue":["m9dW",0,50],"./enterprise/material.vue":["q+Sm",0,2],"./enterpriseData/activeDetail.vue":["h9Ca",0,22],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,21],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,5],"./enterpriseData/index.vue":["CTf4",0,70],"./enterpriseData/loginDetail.vue":["kX6v",0,8],"./errorPage/403.vue":["6XGN",27],"./errorPage/404.vue":["AejC",32],"./errorPage/500.vue":["FskK",25],"./errorPage/gic-error.vue":["Q3j/",24],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,66],"./login/index.vue":["T+/8",0,23],"./overstore/index.vue":["Y55K",0,68],"./overstore/overStoreList.vue":["vuAV",0,58],"./reviewCenter/index.vue":["+lem",0,40],"./reviewCenter/reviewSet.vue":["6j9f",0,47],"./reviewCenter/reviewed.vue":["CLYF",0,18],"./reviewCenter/unreview.vue":["xCEU",0,14]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Opzk",e.exports=o},Q0Ca:function(e,t,a){"use strict";t.a={dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),n={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+n+" "+r+":"+p+":"+s}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=a<10?"0"+a:a;return t.getFullYear()+"-"+n}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a;return t.getFullYear()+"-"+o+"-"+n}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+n+" "+r+":"+p+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var n=a%864e5,o=n%36e5;return Math.floor(a/864e5)+"天"+Math.floor(n/36e5)+"小时"+Math.floor(o/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)}}},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},tvR6:function(e,t){},uKUT:function(e,t){},xtVA: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],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={88:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"55de31623c5dce58b5b2",1:"954a8a70c5f1171933ac",2:"77b8141cbf6a150401d4",3:"431f190c0e0d958eb479",4:"a38ae26530ef5c9625b9",5:"f7ad326b7bff884d7fb2",6:"29095ff98668571d8ca2",7:"facffc398c23923c8192",8:"a640ef0f7a8b7dbc5e2c",9:"38184463cc455254f3f7",10:"f45d69fd988a1f7ecb0a",11:"b5009f63b89b21f10257",12:"0db6b68e9db95bb15bf5",13:"44939097c6aafcce6c71",14:"3608611b598beac48585",15:"3d5964c0da535a1d38b5",16:"960985655f300f38644f",17:"27a2257041fd3fc7c995",18:"7743fb4634f7c199314c",19:"3b6616b2f132cde48118",20:"fcde1e6e2a44bfa56a69",21:"dd95373040f620ebac3e",22:"5967c8aac0d8efec27bb",23:"491faa03cecb9d035fc6",24:"8c63bc2c5c38d0efdfab",25:"7076feee8fb02a9fbd13",26:"05a59910aa4315a66c42",27:"98b07cae060277f91c6b",28:"ea3c620dbf818b8d9ccf",29:"3791d55af4a1002803d6",30:"3af504bbce79ba6a7adb",31:"604b92f94fbf4f96a069",32:"1fd5fed58bc31e91b784",33:"d60beb8286a5273c8520",34:"853c55bc3ad088112a27",35:"81b97936d77fdd203ccf",36:"53316a315ec6ecaf0a9b",37:"7c4a62ebe3aa2422c830",38:"82af7a18ce0cdc03dc93",39:"72d194121f6eeeec35ec",40:"5046b945fdb05feecd09",41:"9f0127d3704386fdce91",42:"fbe8b98174e5787f5bdd",43:"ebdfdb42d05c42d3042b",44:"1cef7966d8a4f17e69d1",45:"e2fcc640f5b18f53cd81",46:"00fead8456a25ac018c1",47:"52768d75b34a3ac8e091",48:"d063499fc53f109861e6",49:"335a1ee0f127917485a9",50:"a613c9b52259eb192c68",51:"cef48bb077d7adfd0393",52:"71c812779ff2877c8e1b",53:"8511a52e731f88850f56",54:"20d1fa1d7197fb03f561",55:"46002dc1e01cea3c9f48",56:"c5ddcc6eace690ee3eec",57:"7765fc0ee253a5aba74d",58:"57e6e0976d212fb9a035",59:"1620e8d917f055bd096c",60:"d37259c00e414504ebb1",61:"b548ee51ab52ca2ef989",62:"306973a81895e421b5f5",63:"e5d1cfb8dee067e09550",64:"4285972e7bce618c7563",65:"9f1b3d9d326610e4dfe8",66:"b5bf727065a1ed5946a8",67:"1fe24764bbf2648873df",68:"5c88c8205192e47c5440",69:"4df5e7e8568b818a23af",70:"9659ef903577b569add6",71:"7b248fa9ae5be34661ed",72:"1dd4b1447643a3433128",73:"22ffedec58d987173423",74:"0d046a48cfb0dfd6c18d",75:"d607b911312c9a505e9d",76:"f364d51949b7b1471923",77:"9568405fcd7f68bbbed2",78:"76348f14308b66ff416c",79:"54bddc96727b506c6de1",80:"189377999dd7e01b560e",81:"ba9a85726a5e4c70ee5a",82:"901721e9fa2d5e955b06",83:"1be1731cd80e60b30bfe",84:"da78f42e44edd4060633",85:"ac6eef427d7e564d19b0"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={88:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"55de31623c5dce58b5b2",1:"954a8a70c5f1171933ac",2:"77b8141cbf6a150401d4",3:"431f190c0e0d958eb479",4:"a38ae26530ef5c9625b9",5:"f7ad326b7bff884d7fb2",6:"29095ff98668571d8ca2",7:"facffc398c23923c8192",8:"a640ef0f7a8b7dbc5e2c",9:"38184463cc455254f3f7",10:"f45d69fd988a1f7ecb0a",11:"b5009f63b89b21f10257",12:"0db6b68e9db95bb15bf5",13:"44939097c6aafcce6c71",14:"3608611b598beac48585",15:"3d5964c0da535a1d38b5",16:"960985655f300f38644f",17:"27a2257041fd3fc7c995",18:"7743fb4634f7c199314c",19:"3b6616b2f132cde48118",20:"fcde1e6e2a44bfa56a69",21:"dd95373040f620ebac3e",22:"5967c8aac0d8efec27bb",23:"491faa03cecb9d035fc6",24:"8c63bc2c5c38d0efdfab",25:"7076feee8fb02a9fbd13",26:"05a59910aa4315a66c42",27:"98b07cae060277f91c6b",28:"43062befc595a064dd62",29:"1bd9857e3d2cf8ad0834",30:"3af504bbce79ba6a7adb",31:"604b92f94fbf4f96a069",32:"1fd5fed58bc31e91b784",33:"d60beb8286a5273c8520",34:"853c55bc3ad088112a27",35:"81b97936d77fdd203ccf",36:"53316a315ec6ecaf0a9b",37:"7c4a62ebe3aa2422c830",38:"82af7a18ce0cdc03dc93",39:"72d194121f6eeeec35ec",40:"5046b945fdb05feecd09",41:"9f0127d3704386fdce91",42:"fbe8b98174e5787f5bdd",43:"ebdfdb42d05c42d3042b",44:"1cef7966d8a4f17e69d1",45:"e2fcc640f5b18f53cd81",46:"00fead8456a25ac018c1",47:"52768d75b34a3ac8e091",48:"d063499fc53f109861e6",49:"335a1ee0f127917485a9",50:"a613c9b52259eb192c68",51:"cef48bb077d7adfd0393",52:"71c812779ff2877c8e1b",53:"8511a52e731f88850f56",54:"20d1fa1d7197fb03f561",55:"46002dc1e01cea3c9f48",56:"c5ddcc6eace690ee3eec",57:"7765fc0ee253a5aba74d",58:"57e6e0976d212fb9a035",59:"1620e8d917f055bd096c",60:"d37259c00e414504ebb1",61:"b548ee51ab52ca2ef989",62:"306973a81895e421b5f5",63:"e5d1cfb8dee067e09550",64:"4285972e7bce618c7563",65:"9f1b3d9d326610e4dfe8",66:"b5bf727065a1ed5946a8",67:"1fe24764bbf2648873df",68:"5c88c8205192e47c5440",69:"4df5e7e8568b818a23af",70:"9659ef903577b569add6",71:"7b248fa9ae5be34661ed",72:"1dd4b1447643a3433128",73:"22ffedec58d987173423",74:"0d046a48cfb0dfd6c18d",75:"d607b911312c9a505e9d",76:"f364d51949b7b1471923",77:"9568405fcd7f68bbbed2",78:"76348f14308b66ff416c",79:"54bddc96727b506c6de1",80:"189377999dd7e01b560e",81:"ba9a85726a5e4c70ee5a",82:"901721e9fa2d5e955b06",83:"1be1731cd80e60b30bfe",84:"da78f42e44edd4060633",85:"ac6eef427d7e564d19b0"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-04-12 17:56:45 * @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-28 13:04:28 * @LastEditTime: 2020-08-28 13:08:50
--> -->
<template> <template>
<section class="common-right-wrap"> <section class="common-right-wrap">
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
rowDrop() { rowDrop() {
const tbody = this.$refs.multipleTable.$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0]; const tbody = this.$refs.multipleTable.$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0];
const that = this; const that = this;
this.sortable = Sortable.create(tbody, { that.sortable = Sortable.create(tbody, {
ghostClass: 'sortable-ghost', ghostClass: 'sortable-ghost',
animation: 150, animation: 150,
handle: '.icontuozhuaiopen', handle: '.icontuozhuaiopen',
...@@ -127,7 +127,30 @@ export default { ...@@ -127,7 +127,30 @@ export default {
const currRow = arr.splice(oldIndex, 1)[0]; const currRow = arr.splice(oldIndex, 1)[0];
arr.splice(newIndex, 0, currRow); arr.splice(newIndex, 0, currRow);
console.log(arr, newIndex, oldIndex); console.log(arr, newIndex, oldIndex);
that.postSort(arr); let para = {
json: JSON.stringify(arr)
};
postRequest('/haoban-app-customer-web/inner/change-sort', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
showMsg.showmsg('操作成功', 'success');
that.tableData = arr;
// window.location.reload();
// that.getTableList();
// that.$nextTick(()=>{
// that.getTableList();
// })
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
} }
}); });
}, },
...@@ -295,7 +318,7 @@ export default { ...@@ -295,7 +318,7 @@ export default {
let resData = res.data; let resData = res.data;
that.loading = false; that.loading = false;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tableData =JSON.parse(JSON.stringify(resData.result)) || []; that.tableData = JSON.parse(JSON.stringify(resData.result)) || [];
that.$nextTick( () => { that.$nextTick( () => {
that.rowDrop(); that.rowDrop();
}) })
......
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