Commit 07c8c5a9 by 无尘

fix: 修改奖励配置

parent 8003e96e
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.86406410d2a3ebd7250df3f965884ae8.css rel=stylesheet></head><body style="background-color: #f0f2f5;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/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.03.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.13.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js></script><script type=text/javascript src=./static/js/manifest.28a14197511b9ab76e55.js></script><script type=text/javascript src=./static/js/vendor.6e29ed0b437a6bb669b1.js></script><script type=text/javascript src=./static/js/app.8bec0e24b642f35fd04c.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.f4501a1f124dfa5c298652b31bd52a80.css rel=stylesheet></head><body style="background-color: #f0f2f5;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/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.03.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.13.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script type=text/javascript src=./static/js/manifest.a58ac56a32a29aa2b0a5.js></script><script type=text/javascript src=./static/js/vendor.8455def81090347f10ce.js></script><script type=text/javascript src=./static/js/app.e7c85c59cd94b7abeca3.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([4],{"3R50":function(t,e){},GnRC:function(t,e){},IUUX:function(t,e){},Pzcx:function(t,e){},lQLj:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),r=a("Ch4/"),o={name:"point-log",data:function(){return{tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this,e={activityId:t.$route.query.activityId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.a)("/sharing-core-web/pag-activity-invited-log",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,!1;r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"point-log"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"奖励时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.phoneNumber||"--"))]}}])}),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.storeName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"受邀人信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("img",{attrs:{src:"",alt:""}}),t._v(">"),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(e.row.name||"--"))])])]}}])}),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.storeName||"--"))]}}])})],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":[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 i=a("VU/8")(o,l,!1,function(t){a("GnRC")},"data-v-065187d2",null).exports,s={name:"card-log",data:function(){return{tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this,e={activityId:t.$route.query.activityId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.a)("/sharing-core-web/pag-activity-invited-log",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,!1;r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card-log"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"奖励时间","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:"奖励来源","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.phoneNumber||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"受邀人信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("img",{attrs:{src:"",alt:""}}),t._v(">"),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(e.row.name||"--"))])])]}}])}),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.storeName||"--"))]}}])})],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":[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=a("VU/8")(s,c,!1,function(t){a("Pzcx")},"data-v-3ffc6e9e",null).exports,v={name:"invite-log",data:function(){return{tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this,e={activityId:t.$route.query.activityId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.a)("/sharing-core-web/pag-activity-invited-log",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,!1;r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},g={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"invite-log"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"受邀人信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("img",{attrs:{src:"",alt:""}}),t._v(">"),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(e.row.name||"--"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"受邀时间","show-overflow-tooltip":"",sortable:""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.phoneNumber||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"转化进度","show-overflow-tooltip":"",sortable:""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName||"--"))]}}])})],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":[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 d=a("VU/8")(v,g,!1,function(t){a("3R50")},"data-v-04c2ec07",null).exports,p={name:"invite-table",data:function(){return{tabName:"invite",navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"邀请人日志"}]}},components:{navCrumb:a("3Xzz").a,inviteLog:d,pointLog:i,cardLog:u},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getInviterData:function(){var t=this,e={activityId:t.$route.query.activityId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.a)("/haoban-app-member-web/customer/find_message_list",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.total,!1;r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"inviter-log common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"inviter-log-tab flex flex-space-between"},[a("div",{staticClass:"data-detail-radios"},[a("el-radio-group",{staticStyle:{"margin-bottom":"30px"},model:{value:t.tabName,callback:function(e){t.tabName=e},expression:"tabName"}},[a("el-radio-button",{attrs:{label:"invite"}},[t._v("邀请日志")]),t._v(" "),a("el-radio-button",{attrs:{label:"point"}},[t._v("积分收益明细")]),t._v(" "),a("el-radio-button",{attrs:{label:"card"}},[t._v("卡券收益明细")])],1)],1),t._v(" "),a("div",{staticClass:"data-detail-export"},[a("el-button",{attrs:{type:"primary"}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai"}),t._v(" 导出数据")])],1)]),t._v(" "),a("div",{staticClass:"inviter-log-tables m-t-20"},["invite"==t.tabName?a("invite-log"):t._e(),t._v(" "),"point"==t.tabName?a("point-log"):t._e(),t._v(" "),"card"==t.tabName?a("card-log"):t._e()],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"inviter-data"},[a("div",{staticClass:"inviter-data-img flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:"",alt:""}})]),t._v(" "),a("div",{staticClass:"inviter-data-name text-center font-14 color-606266"},[t._v("-123-")]),t._v(" "),a("div",{staticClass:"inviter-data-datas"},[a("ul",{staticClass:"inviter-data-wrap flex"},[a("li",{staticClass:"flex-1"},[a("div",{staticClass:"font-14 color-606266"},[t._v("邀请人数")]),t._v(" "),a("div",{staticClass:"font-20 color-303133 m-t-10"},[t._v("20")])]),t._v(" "),a("li",{staticClass:"flex-1"},[a("div",{staticClass:"font-14 color-606266"},[t._v("积分收益")]),t._v(" "),a("div",{staticClass:"font-20 color-303133 m-t-10"},[t._v("20")])]),t._v(" "),a("li",{staticClass:"flex-1"},[a("div",{staticClass:"font-14 color-606266"},[t._v("卡券收益")]),t._v(" "),a("div",{staticClass:"font-20 color-303133 m-t-10"},[t._v("20")])])])])])}]};var h=a("VU/8")(p,f,!1,function(t){a("IUUX")},"data-v-69a3d94a",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([5],{"5rEX":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),n=a("P9l9"),o=a("Ch4/"),r={name:"invite-table",data:function(){return{tableData:[],currentPage:1,pageSize:20,total:0}},methods:{toLog:function(t){this.$router.push("/inviterLog?activityId="+this.$route.query.activityId+"&tabName="+t)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this,e={activityId:t.$route.query.activityId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.a)("/sharing-core-web/page-activity-invite",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,!1;o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"invite-table"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"邀请人信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("img",{attrs:{src:e.row.headUrl,alt:""}}),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(e.row.nickName||"--")+"/"+t._s(e.row.realName||"--"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"参与时间","show-overflow-tooltip":"",sortable:""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"邀请人数","show-overflow-tooltip":"",sortable:""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell",on:{click:function(e){return t.toLog("invite")}}},[t._v(t._s(e.row.totalTransPersonNum||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"积分收益","show-overflow-tooltip":"",sortable:""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell",on:{click:function(e){return t.toLog("point")}}},[t._v(t._s(e.row.sumPoints||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券收益","show-overflow-tooltip":"",sortable:""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell",on:{click:function(e){return t.toLog("card")}}},[t._v(t._s(e.row.sumCardNum))])]}}])})],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":[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 s=a("VU/8")(r,l,!1,function(t){a("Lb0l")},"data-v-7cf7b06b",null).exports,c={name:"invited-table",data:function(){return{tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this,e={activityId:t.$route.query.activityId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.a)("/sharing-core-web/page-activity-invited",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,!1;o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"invited-table"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"受邀人信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("img",{attrs:{src:e.row.headUrl,alt:""}}),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(e.row.nickName||"--")+"/"+t._s(e.row.realName||"--"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"创建时间","show-overflow-tooltip":"",sortable:""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.invitedTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("timeStampToHms")(e.row.invitedTime)))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"邀请人信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("img",{attrs:{src:"",alt:""}}),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(e.row.name||"--"))])])]}}])}),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.storeName||"--"))]}}])})],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":[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 d=a("VU/8")(c,u,!1,function(t){a("nfIA")},"data-v-6c4bcd2e",null).exports,v={name:"dataDetail",components:{navCrumb:i.a,inviteTable:s,invitedTable:d},data:function(){return{tabName:"invite",navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"数据明细"}]}},methods:{exportData:function(){var t=this,e={activityId:t.$route.query.activityId};Object(n.b)("/sharing-core-web/export-activity-invite",e).then(function(t){if(!t.data)return o.a.errorMsg("暂无数据"),!1;var e=new Blob([t.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="报表.csv",a.style.display="none",a.href=URL.createObjectURL(e),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-detail common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box border-box"},[a("div",{staticClass:"data-detail-tab flex flex-space-between"},[a("div",{staticClass:"data-detail-radios"},[a("el-radio-group",{staticStyle:{"margin-bottom":"30px"},model:{value:t.tabName,callback:function(e){t.tabName=e},expression:"tabName"}},[a("el-radio-button",{attrs:{label:"invite"}},[t._v("邀请人列表")]),t._v(" "),a("el-radio-button",{attrs:{label:"invited"}},[t._v("受邀人列表")])],1)],1),t._v(" "),a("div",{staticClass:"data-detail-export"},[a("el-button",{attrs:{type:"primary"},on:{click:t.exportData}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai"}),t._v(" 导出数据")])],1)]),t._v(" "),a("div",{staticClass:"data-detail-table"},["invite"==t.tabName?a("invite-table"):t._e(),t._v(" "),"invited"==t.tabName?a("invited-table"):t._e()],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var b=a("VU/8")(v,p,!1,function(t){a("XTzg")},"data-v-4f472289",null);e.default=b.exports},Lb0l:function(t,e){},XTzg:function(t,e){},nfIA:function(t,e){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,d=0,b=[];d<r.length;d++)i=r[d],t[i]&&b.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);b.length;)b.shift()();if(a)for(d=0;d<a.length;d++)u=o(o.s=a[d]);return u};var r={},t={15:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"b1c6d8cabf2459ac5a8a",1:"5b546fa38466a0b05e37",2:"39f34d419fdbf9864368",3:"6910fc54772239762497",4:"e42560cdcc9ef2f1fe8a",5:"8ecd133bf1cda0bdffb4",6:"2342d9cea2c3b9db329d",7:"b0fd74564cc799593b8f",8:"fe9ec49f63ecd8e527ba",9:"522a01ff8d619d2bf030",10:"e16b73d2d4b922255e52",11:"c11d02c33702d00b2e2e",12:"b96af0829c134b12bfbb"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,d=0,b=[];d<r.length;d++)i=r[d],t[i]&&b.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);b.length;)b.shift()();if(a)for(d=0;d<a.length;d++)u=o(o.s=a[d]);return u};var r={},t={15:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"b1c6d8cabf2459ac5a8a",1:"5b546fa38466a0b05e37",2:"c6c7504867d5e7820e58",3:"c76f569ac3ba28cd9b18",4:"aed149db41c527449d12",5:"d03770ea38192cbe1548",6:"fda09ea240d5c03fd4f4",7:"b0fd74564cc799593b8f",8:"fe9ec49f63ecd8e527ba",9:"522a01ff8d619d2bf030",10:"e16b73d2d4b922255e52",11:"c11d02c33702d00b2e2e",12:"b96af0829c134b12bfbb"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-12 10:18:30
* @LastEditors: 无尘
* @LastEditTime: 2019-11-22 15:40:22
* @LastEditTime: 2019-12-03 19:07:08
-->
<!DOCTYPE html>
<html>
......@@ -41,7 +41,7 @@
<script src="//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/card.2.0.02.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js"></script>
<!-- <script src="//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js"></script> -->
</body>
</html>
......@@ -20,7 +20,7 @@
"tinymce": "^4.9.6",
"v-charts": "^1.19.0",
"vue": "^2.6.10",
"vue-clipboard2": "^0.2.0",
"vue-clipboard2": "^0.2.1",
"vue-loader": "^13.7.3",
"vue-qr": "^2.2.1",
"vue-router": "^3.0.1",
......
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1548399239038" class="icon" style="" viewBox="0 0 1311 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9455" xmlns:xlink="http://www.w3.org/1999/xlink" width="256.0546875" height="200"><defs><style type="text/css"></style></defs><path d="M0 919.698652c0 57.726532 293.224544 104.301348 655.327337 104.301348s655.327337-46.574816 655.327338-104.301348-293.224544-104.301348-655.327338-104.301348S0 861.97212 0 919.698652z" fill="#F3FAFF" p-id="9456"></path><path d="M152.18813 919.698652c0 28.207283 236.153995 51.166699 528.066573 51.166699s528.066573-22.959416 528.066574-51.166699-236.153995-51.166699-528.066574-51.166699-528.066573 22.959416-528.066573 51.166699z" fill="#CBE7F7" p-id="9457"></path><path d="M512.978957 123.334901H417.205392c-34.767116 0.655983-62.318415 28.863266-62.318416 62.974399V846.22852c0 34.111133 28.207283 62.318415 62.318416 62.974399h504.451173c34.111133-0.655983 62.318415-28.207283 62.318416-62.974399V186.965283c0-34.111133-28.207283-62.318415-62.318416-62.974399h-95.773564" fill="#CBE7F7" p-id="9458"></path><path d="M982.007031 613.354441c-7.215817 0-13.119666-5.247867-13.119666-12.463683V184.997333c0-27.551299-22.303433-49.854732-49.854733-49.854732h-96.429548c-7.215817-0.655983-12.463683-7.215817-11.8077-14.431633 0.655983-5.90385 5.247867-11.151716 11.8077-11.8077H918.376649c42.638916 0 78.062015 34.767116 78.062015 78.062015v414.581459c-1.311967 7.215817-7.8718 11.8077-14.431633 11.807699z m-64.942349 308.312161H411.301542c-43.294899 0-78.062015-34.767116-78.062015-78.062015V184.997333c0-43.294899 34.767116-78.062015 78.062015-78.062015h95.773565c7.215817 0.655983 12.463683 7.215817 11.8077 14.431633-0.655983 5.90385-5.247867 11.151716-11.8077 11.8077H411.301542c-27.551299 0-49.854732 22.303433-49.854732 49.854732V843.604587c0 27.551299 22.303433 49.854732 49.854732 49.854732H917.720666c27.551299 0 49.854732-22.303433 49.854732-49.854732v-116.765031c-0.655983-7.215817 4.591883-13.77565 11.8077-13.77565 7.215817-0.655983 13.77565 4.591883 13.775649 11.8077v118.076998c1.96795 41.326949-30.175233 76.750049-72.158165 78.717998h-3.9359z" fill="#1890FF" p-id="9459"></path><path d="M840.314634 164.66185h-18.367533v7.215817H508.387073v-7.215817h-18.367533c-48.542766 1.311967-87.245782 41.326949-86.589798 90.525698v535.28239c-0.655983 38.047033 28.863266 68.878249 66.910299 70.190215h388.342126c38.047033-0.655983 68.222265-32.143183 68.222265-70.190215V255.187548c0.655983-48.542766-38.047033-89.213732-86.589798-90.525698z" fill="#CBE7F7" p-id="9460"></path><path d="M507.73109 169.253733h-18.367533c-44.606866 0.655983-81.341932 36.735066-81.341932 81.341932v512.322973c0 33.455149 26.895316 61.006449 61.006449 61.662433h388.998109c33.455149 0 61.006449-27.551299 61.006449-61.006449V250.595665c-0.655983-44.606866-36.735066-81.341932-81.341932-81.341932h-18.367533" fill="#FFFFFF" p-id="9461"></path><path d="M860.650117 835.732787h-387.03016c-40.670966 0-73.470132-32.799166-74.126115-74.126115v-511.66699c0.655983-51.166699 41.982933-92.493648 93.805615-93.149632H511.66699v26.239333h-18.367533c-36.735066-0.655983-66.254315 28.863266-66.910299 65.598332v511.66699c0.655983 26.239333 21.64745 47.886782 47.886783 48.542766h388.342126c26.239333-0.655983 47.230799-22.303433 47.886782-48.542766V249.283698c0.655983-36.735066-28.863266-66.254315-65.598332-66.910298H826.538984v-25.58335h18.367533c51.822682 0 93.805615 42.638916 93.805615 94.461598v510.355024c-3.279917 40.670966-36.735066 72.814149-78.062015 74.126115z" fill="#1890FF" p-id="9462"></path><path d="M505.76314 180.40545v13.119666H833.098817v-37.391049c0.655983-29.519249-23.6154-54.446616-53.134649-54.446616H718.957719c4.591883-7.8718 6.559833-17.055566 7.215817-26.239333 1.311967-31.487199-22.959416-57.726532-54.446616-59.038498s-57.726532 22.959416-59.038499 54.446615v5.247867c-0.655983 9.183766 1.96795 18.367533 7.215817 26.239333h-61.006449c-29.519249 0-53.790632 24.927366-53.134649 54.446615v23.6154" fill="#FFFFFF" p-id="9463"></path><path d="M848.842417 203.364866H492.643474v-52.478666c0-36.735066 30.175233-66.910299 66.910298-66.910298h42.638916c0-3.9359-1.96795-9.183766-1.96795-13.119667C599.568755 32.153219 631.055954 0.66602 669.75897 0.010037c38.703016-0.655983 70.846199 30.831216 71.502182 69.534232v1.967949c0 4.591883-0.655983 8.527783-1.96795 13.119667h42.638916c36.735066 0 66.910299 30.175233 66.910299 66.910299V203.364866z m-329.95961-26.239333h302.40831v-24.271383c-0.655983-22.303433-18.367533-40.014983-40.670965-40.670966h-83.309882L708.461986 91.847701c3.279917-6.559833 5.247867-13.119666 5.247867-20.335483 0-23.6154-19.023516-42.638916-42.638916-42.638915-22.959416 0.655983-41.982933 19.6795-42.638916 42.638915 0 7.215817 1.96795 14.431633 5.247867 20.335483l11.151716 20.335483H561.521722c-22.303433 0-40.670966 18.367533-40.670965 40.670966V177.125533h-1.96795z m322.08781 194.171063H498.547324c-7.215817 0-13.119666-5.90385-13.119667-13.119666s5.90385-13.119666 13.119667-13.119667h341.111326c7.215817 0 13.119666 5.247867 13.119667 12.463683v0.655984c1.311967 5.90385-1.96795 11.151716-7.215817 12.463683-1.311967 0.655983-2.623933 0.655983-4.591883 0.655983z m-78.717998 108.237248H498.547324c-7.215817 0-13.119666-5.90385-13.119667-13.119667s5.90385-13.119666 13.119667-13.119666h261.737345c7.215817 0 13.119666 5.247867 13.119666 12.463683v0.655983c1.311967 5.90385-1.96795 11.151716-7.215817 12.463684-1.96795 0.655983-3.279917 0.655983-3.935899 0.655983z m-87.245782 106.925281H498.547324c-7.215817 0-13.119666-5.90385-13.119667-13.119666s5.90385-13.119666 13.119667-13.119667h175.80353c7.215817 0 13.119666 5.247867 13.119666 12.463683v0.655984c0 6.559833-5.247867 12.463683-11.8077 12.463683 0 0.655983-0.655983 0.655983-0.655983 0.655983z" fill="#1890FF" p-id="9464"></path><path d="M648.767504 70.856235c0 11.151716 9.183766 20.335483 20.335483 20.335483 11.151716 0 20.335483-9.183766 20.335483-20.335483 0-11.151716-9.183766-20.335483-20.335483-20.335483-3.279917 0-7.215817 0.655983-10.495733 2.623934-5.90385 3.9359-9.83975 10.495733-9.83975 17.711549z" fill="#1890FF" p-id="9465"></path><path d="M520.194773 152.85415h302.408311V177.125533H520.194773v-24.271383z" fill="#CBE7F7" p-id="9466"></path><path d="M1064.004946 807.525504c-17.71155 8.527783-37.391049 15.087616-57.070549 18.367533-96.429548 12.463683-184.331313-55.102599-196.794996-151.532147-12.463683-96.429548 55.102599-184.331313 151.532147-196.794996 96.429548-12.463683 184.331313 55.102599 196.794996 151.532147 5.247867 39.358999-3.279917 80.029965-24.271383 114.141098" fill="#FFFFFF" p-id="9467"></path><path d="M1066.628879 594.330925c0-3.279917-2.623933-5.90385-5.90385-5.90385h-7.215816c-9.83975-0.655983-19.6795-2.623933-29.51925-5.90385-8.527783-3.279917-17.71155-7.8718-25.583349-13.775649l-3.9359-3.279917c-1.96795-1.96795-5.247867-1.96795-7.215816 0l-3.9359 3.279917c-7.8718 5.247867-16.399583 9.83975-25.58335 13.775649-9.83975 3.279917-19.023516 5.90385-29.519249 5.90385h-7.215817c-3.279917 0-5.90385 2.623933-5.90385 5.90385v70.190215c0 17.71155 9.83975 37.391049 27.5513 53.790633 15.7436 15.087616 34.111133 24.271383 47.886782 24.271382s32.143183-9.83975 47.886783-24.271382c17.71155-16.399583 27.551299-36.079083 27.551299-53.790633l0.655983-70.190215z m-36.735066 42.638916l-41.326949 41.326949c-3.279917 3.279917-7.8718 3.279917-11.151716 0l-20.335483-20.335483c-3.279917-3.279917-3.279917-8.527783 0-11.151716 3.279917-3.279917 7.8718-3.279917 11.151716 0l15.087617 15.087616 36.079082-36.079083c3.279917-3.279917 7.8718-3.279917 11.151717 0 2.623933 2.623933 2.623933 7.8718-0.655984 11.151717z" fill="#1890FF" p-id="9468"></path><path d="M985.942931 844.26057c-104.957331 0-189.57918-85.277832-189.57918-190.235163s84.621848-190.235163 189.57918-190.235163c104.957331 0 189.57918 85.277832 189.57918 190.235163s-84.621848 190.235163-189.57918 190.235163z m-0.655983-350.951076c-88.557748 0-160.05993 72.158165-160.059931 160.715913s71.502182 160.715914 160.059931 160.715914c88.557748 0 160.05993-72.158165 160.05993-160.715914-0.655983-88.557748-72.158165-160.715914-160.05993-160.715913z" fill="#1890FF" p-id="9469"></path></svg>
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-18 10:37:02
* @LastEditors: 无尘
* @LastEditTime: 2019-12-03 16:55:59
* @LastEditTime: 2019-12-03 17:25:51
-->
<!--
<reward-config @submitBack="submitBack" @submitNext="submitNext"></reward-config>
......@@ -1427,7 +1427,7 @@ export default {
if (resData.errorCode == 1) {
showMsg.showmsg('活动创建成功', 'success');
that.$store.dispatch('clearActiveData');
that.$router.push('/shareIndex');
that.$router.push('/createCompletion');
return;
}
errMsg.errorMsg(resData);
......
......@@ -592,6 +592,9 @@ export default {
});
}
});
pathArr.sort(function (a, b) {
return (a.transId - b.transId)
});
// 判断会员招募
if (that.secondGoal.goalId == 5 && pathArr.length == 1) {
showMsg.showmsg('请在可选项中至少选择一项', 'warning');
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-13 16:37:02
* @LastEditors: 无尘
* @LastEditTime: 2019-11-21 10:03:23
* @LastEditTime: 2019-12-03 20:19:19
-->
<!--
<funnel-chart :funnelData="funnelData"></funnel-chart>
......@@ -16,33 +16,56 @@ import funnelChart from '@/components/active/funnel-chart.vue';
<div class="funnel-chart">
<div class="funnel-chart-body flex">
<div class="chart-left">
<div class="trapezoid-bg">
<div class="space-line h-20 r-60"></div>
<div class="inner-bg bg-f5f7fa h-16"></div>
<div class="space-line h-22 r-57"></div>
<div class="inner-bg bg-f5f7fa h-18"></div>
<div class="space-line h-26 r-52"></div>
<div class="inner-bg bg-f5f7fa h-22"></div>
<div class="space-line h-29 r-48"></div>
<div class="inner-bg bg-f5f7fa h-23"></div>
<div class="space-line h-32 r-42"></div>
<div class="inner-bg bg-f5f7fa h-25"></div>
<div class="space-line h-38"></div>
<div class="trapezoid-bg flex flex-column">
<template v-for="(item, index) in router">
<div
:key="index"
class="flex-1 flex flex-column"
>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-60"></div>
<div
v-if="index != router.length-1"
class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"
>{{item.transId}}</div>
</div>
</template>
<!-- <div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-60"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-57"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-52"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-48"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-42"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"></div>
<div class="flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line "></div> -->
</div>
</div>
<div class="chart-right">
<div class="chart-text">
<div class="space-line h-20 p-l-98 font-12 color-606066">关注服务号 {{ funnelData.openCard | formatThousand }}</div>
<div class="bg-f5f7fa h-16"></div>
<div class="space-line h-22 p-l-90 font-12 color-606066">访问活动着陆页 {{ funnelData.openCard | formatThousand }}</div>
<div class="bg-f5f7fa h-18"></div>
<div class="space-line h-26 p-l-80 font-12 color-606066">认证开卡 {{ funnelData.openCard | formatThousand }}</div>
<div class="bg-f5f7fa h-22"></div>
<div class="space-line h-29 p-l-72 font-12 color-606066">参与游戏 {{ funnelData.openCard | formatThousand }}</div>
<div class="bg-f5f7fa h-23"></div>
<div class="space-line h-32 p-l-60 font-12 color-606066">领取卡券 {{ funnelData.openCard | formatThousand }}</div>
<div class="bg-f5f7fa h-25"></div>
<div class="space-line h-38 p-l-45 font-12 color-606066">消费 {{ funnelData.orderCount | formatThousand }} 人, {{ funnelData.orderAmount | formatThousand }}</div>
<div class="chart-text flex flex-column">
<template v-for="(item, index) in router">
<div
:key="index"
class="flex-1 flex flex-column"
>
<div class="flex-1 flex flex-align-center space-line p-l-98 font-12 color-606066">{{item.transName}} {{ item.transId }}</div>
<div
v-if="index != router.length-1"
class="flex-1 flex flex-align-center bg-f5f7fa"
></div>
</div>
</template>
<!-- <div class="flex-1 flex flex-align-center space-line p-l-90 font-12 color-606066">访问活动着陆页 {{ funnelData.openCard | formatThousand }} 人</div>
<div class="flex-1 flex flex-align-center bg-f5f7fa"></div>
<div class="flex-1 flex flex-align-center space-line p-l-80 font-12 color-606066">认证开卡 {{ funnelData.openCard | formatThousand }} 人</div>
<div class="flex-1 flex flex-align-center bg-f5f7fa "></div>
<div class="flex-1 flex flex-align-center space-line p-l-72 font-12 color-606066">参与游戏 {{ funnelData.openCard | formatThousand }} 人</div>
<div class="flex-1 flex flex-align-center bg-f5f7fa"></div>
<div class="flex-1 flex flex-align-center space-line p-l-60 font-12 color-606066">领取卡券 {{ funnelData.openCard | formatThousand }} 人</div>
<div class="flex-1 flex flex-align-center bg-f5f7fa"></div>
<div class="flex-1 flex flex-align-center space-line p-l-45 font-12 color-606066">消费 {{ funnelData.orderCount | formatThousand }} 人, {{ funnelData.orderAmount | formatThousand }} 元</div> -->
</div>
</div>
</div>
......@@ -61,7 +84,9 @@ export default {
}
},
data() {
return {};
return {
router: [{"transId": 4,"transName": "会员认证"},{"transId": 2,"transName": "访问活动营销页"},{"transId": 1,"transName": "服务号关注"}]
};
}
/* methods() {
......@@ -200,7 +225,7 @@ export default {
}
.inner-bg {
position: relative;
background: #e1e9fb;
// background: #e1e9fb; //这里为内部梯形
&::before {
content: '';
position: absolute;
......@@ -336,6 +361,7 @@ export default {
.chart-text {
position: relative;
width: 327px;
height: 269px;
}
}
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-13 16:37:02
* @LastEditors: 无尘
* @LastEditTime: 2019-12-03 11:42:29
* @LastEditTime: 2019-12-03 18:19:32
-->
<!--
<in-progress-active></in-progress-active>
......@@ -22,7 +22,7 @@ import inProgressActive from '@/components/active/in-progress-active.vue';
>
<div
class="in-progress-active-title flex flex-space-between border-box"
@click.stop="selectLi(item)"
@click.stop.prevent="selectLi(item)"
>
<div class="active-title-left">
<div class="active-title-name font-18 color-303133">{{ item.activityName }}</div>
......@@ -42,6 +42,8 @@ import inProgressActive from '@/components/active/in-progress-active.vue';
plain
@click.stop="handleCopy(index, item)"
>复制路径</el-button>
<!-- -->
<el-button
type="primary"
plain
......@@ -65,7 +67,8 @@ import inProgressActive from '@/components/active/in-progress-active.vue';
</template>
<script>
import outDateActive from '@/components/active/out-date-active.vue';
// import Clipboard from 'clipboard';
import Clipboard from 'clipboard';
import { _debounce } from '@/common/js/public';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
import { getRequest } from '@/api/api';
......@@ -146,14 +149,14 @@ export default {
* 复制路径
*/
/* eslint-disable */
handleCopy(index, row) {
handleCopy: _debounce(function(index, row) {
const that = this;
let clipboard = new that.clipboard('.copy-tag', {
const fakeElement = document.createElement('button')
let clipboard = new Clipboard(fakeElement, {
text: function() {
return '123456666'+row.acitivityUrl;
return row.acitivityUrl;
}
});
console.log(clipboard)
clipboard.on('success', e => {
showMsg.showmsg('复制成功!', 'success');
// 释放内存
......@@ -165,7 +168,10 @@ export default {
// 释放内存
clipboard.destroy();
});
},
document.body.appendChild(fakeElement)
fakeElement.click();
document.body.removeChild(fakeElement)
},300),
/**
* 获取列表数据
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-15 10:10:08
* @LastEditors: 无尘
* @LastEditTime: 2019-11-20 14:55:22
* @LastEditTime: 2019-12-03 19:23:08
-->
<!--
<invite-log></invite-log>
......@@ -13,23 +13,62 @@ import inviteLog from '@/components/data-details/invite-log.vue';
-->
<template>
<div class="invite-log">
<el-table class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
<el-table-column label="受邀人信息" show-overflow-tooltip>
<el-table
class="select-table"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
:style="{ width: '100%', minHeight: tableH }"
>
<el-table-column
label="受邀人信息"
show-overflow-tooltip
>
<template slot-scope="scope">
<div class="cell">
<img src="" alt="" />><span class="font-14 color-606266">{{ scope.row.name || '--' }}</span>
<img
:src="scope.row.headUrl"
alt=""
/><span class="font-14 color-606266">{{ scope.row.nickName || '--' }}/{{scope.row.realName || '--'}}</span>
</div>
</template>
</el-table-column>
<el-table-column prop="" label="受邀时间" show-overflow-tooltip sortable>
<template slot-scope="scope">{{ scope.row.phoneNumber || '--' }}</template>
<el-table-column
prop=""
label="受邀时间"
show-overflow-tooltip
sortable
>
<template slot-scope="scope">
<div class="cell">
<div>{{ scope.row.invitedTime | timeStampToYmd }}</div>
<div>{{ scope.row.invitedTime | timeStampToHms }}</div>
</div>
</template>
</el-table-column>
<el-table-column prop="" label="转化进度" show-overflow-tooltip sortable>
<el-table-column
prop=""
label="转化进度"
show-overflow-tooltip
sortable
>
<template slot-scope="scope">{{ scope.row.storeName || '--' }}</template>
</el-table-column>
</el-table>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </el-pagination>
<div
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[20, 40, 60, 80]"
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
</div>
</div>
</template>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-15 10:10:08
* @LastEditors: 无尘
* @LastEditTime: 2019-11-15 11:46:16
* @LastEditTime: 2019-12-03 19:24:36
-->
<!--
<point-log></point-log>
......@@ -13,26 +13,67 @@ import pointLog from '@/components/data-details/point-log.vue';
-->
<template>
<div class="point-log">
<el-table class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
<el-table-column prop="" label="奖励时间" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.phoneNumber || '--' }}</template>
<el-table
class="select-table"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
:style="{ width: '100%', minHeight: tableH }"
>
<el-table-column
prop=""
label="奖励时间"
show-overflow-tooltip
>
<template slot-scope="scope">
<div class="cell">
<div>{{ scope.row.awardTime | timeStampToYmd }}</div>
<div>{{ scope.row.awardTime | timeStampToHms }}</div>
</div>
</template>
</el-table-column>
<el-table-column prop="" label="奖励来源" show-overflow-tooltip>
<el-table-column
prop=""
label="奖励来源"
show-overflow-tooltip
>
<template slot-scope="scope">{{ scope.row.storeName || '--' }}</template>
</el-table-column>
<el-table-column label="受邀人信息" show-overflow-tooltip>
<el-table-column
label="受邀人信息"
show-overflow-tooltip
>
<template slot-scope="scope">
<div class="cell">
<img src="" alt="" />><span class="font-14 color-606266">{{ scope.row.name || '--' }}</span>
<img
:src="scope.row.headUrl"
alt=""
/><span class="font-14 color-606266">{{ scope.row.nickName || '--' }}/{{scope.row.realName || '--'}}</span>
</div>
</template>
</el-table-column>
<el-table-column prop="" label="奖励额度" show-overflow-tooltip>
<el-table-column
prop=""
label="奖励额度"
show-overflow-tooltip
>
<template slot-scope="scope">{{ scope.row.storeName || '--' }}</template>
</el-table-column>
</el-table>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </el-pagination>
<div
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[20, 40, 60, 80]"
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
</div>
</div>
</template>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-12 10:18:29
* @LastEditors: 无尘
* @LastEditTime: 2019-12-03 11:32:31
* @LastEditTime: 2019-12-03 18:20:07
*/
import promise from 'es6-promise';
promise.polyfill();
......@@ -28,9 +28,6 @@ require('../static/font/iconfont.js');
import filters from './filters/index.js';
import VeLine from 'v-charts/lib/line.common';
import VeHistogram from 'v-charts/lib/histogram.common';
import clipboard from 'clipboard';
//注册到vue原型上
Vue.prototype.clipboard = clipboard;
Vue.component(VeLine.name, VeLine);
Vue.component(VeHistogram.name, VeHistogram);
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-15 10:10:08
* @LastEditors: 无尘
* @LastEditTime: 2019-11-27 20:33:15
* @LastEditTime: 2019-12-03 19:17:45
-->
<template>
......@@ -36,12 +36,22 @@
</div>
</div>
<vue-gic-footer></vue-gic-footer>
<export-excel
:dataArr="tableData"
:dialogVisible.sync="dialogVisible"
:type="2"
:excelUrl="excelUrl"
:params="params"
>
</export-excel>
</div>
</template>
<script>
import navCrumb from '@/components/nav/nav.vue';
import inviteTable from '@/components/data-details/invite-table.vue';
import invitedTable from '@/components/data-details/invited-table.vue';
import exportExcel from '@/components/export-excel'
import { postExcel } from '@/api/api';
import errMsg from '@/common/js/error';
// import showMsg from '@/common/js/showmsg';
......@@ -50,7 +60,8 @@ export default {
components: {
navCrumb,
inviteTable,
invitedTable
invitedTable,
exportExcel
},
data() {
return {
......@@ -66,7 +77,11 @@ export default {
name: '数据明细'
/*relocation: true */
}
]
],
tableData: [],
dialogVisible: false,
excelUrl: '',
params: ''
};
},
methods: {
......@@ -75,6 +90,7 @@ export default {
*/
exportData() {
const that = this;
that.dialogVisible = true;
let para = {
activityId: that.$route.query.activityId
};
......
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