Commit 11f0d144 by 无尘

fix: 修改图表数据

parent 742f2b02
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.e1c015a227ae4214b16c62c7f306edf4.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.14.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.bb0b74e030a3ac93c00d.js></script><script type=text/javascript src=./static/js/vendor.8455def81090347f10ce.js></script><script type=text/javascript src=./static/js/app.1bf17e59b55846403e62.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.e7846f3f0ad9dec6e8005e7cd242a496.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.14.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.c2b8d81e0c8b43c9f6bd.js></script><script type=text/javascript src=./static/js/vendor.8455def81090347f10ce.js></script><script type=text/javascript src=./static/js/app.a8e800cff26016deb0e0.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([11],{Jdt2:function(t,e){},dStO:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),r=a("P9l9"),n=a("Ch4/"),o={name:"invited-log",components:{navCrumb:i.a},data:function(){return{navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"受邀人日志"}],invitedData:{headUrl:"",realName:""},tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getInvitedData:function(){var t=this,e={activityId:t.$route.query.activityId,openId:t.$route.query.invitedId};Object(r.a)("/sharing-core-web/get-activity-invited",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.invitedData=a.result||{headUrl:"",realName:""},!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(){var t=this,e={openId:t.$route.query.invitedId,activityId:t.$route.query.activityId};Object(r.a)("/sharing-core-web/list-activity-invited-trans",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result||[],!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getInvitedData(),this.getTableList()}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"invited-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"},[a("div",{staticClass:"invited-data"},[a("div",{staticClass:"invited-data-img flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.invitedData.headUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"invited-data-name text-center font-14 color-606266"},[t._v("-"+t._s(t.invitedData.nickName)+"/"+t._s(t.invitedData.realName)+"-")])]),t._v(" "),a("div",{staticClass:"invited-log-table"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},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[a("div",{staticClass:"cell"},[a("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.transTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("timeStampToHms")(e.row.transTime)))])])]}}])}),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.transName||"--"))]}}])}),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.orderNo?"订单编号:":"")+t._s(e.row.orderNo||"--"))]}}])})],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var l=a("VU/8")(o,s,!1,function(t){a("Jdt2")},"data-v-743e73bb",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([11],{YPWR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("5reh"),i={name:"App",data:function(){return{projectName:"share-config",contentHeight:"0px",collapseFlag:!1,leftModulesName:""}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{},mounted:function(){this.$store.commit(o.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{minHeight:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var a=n("VU/8")(i,s,!1,function(t){n("nVgj")},null,null);e.default=a.exports},nVgj:function(t,e){}}); webpackJsonp([12],{YPWR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("5reh"),i={name:"App",data:function(){return{projectName:"share-config",contentHeight:"0px",collapseFlag:!1,leftModulesName:""}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{},mounted:function(){this.$store.commit(o.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{minHeight:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var a=n("VU/8")(i,s,!1,function(t){n("nVgj")},null,null);e.default=a.exports},nVgj:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([12],{"5ATK":function(t,e){},dStO:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),r=a("P9l9"),n=a("Ch4/"),o={name:"invited-log",components:{navCrumb:i.a},data:function(){return{navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"受邀人日志"}],invitedData:{headUrl:"",realName:""},tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getInvitedData:function(){var t=this,e={activityId:t.$route.query.activityId,openId:t.$route.query.invitedId};Object(r.a)("/sharing-core-web/get-activity-invited",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.invitedData=a.result||{headUrl:"",realName:""},!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(){var t=this,e={openId:t.$route.query.invitedId,activityId:t.$route.query.activityId};Object(r.a)("/sharing-core-web/list-activity-invited-trans",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result||[],!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getInvitedData(),this.getTableList()}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"invited-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"},[a("div",{staticClass:"invited-data"},[a("div",{staticClass:"invited-data-img flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.invitedData.headUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"invited-data-name text-center font-14 color-606266"},[t._v("-"+t._s(t.invitedData.realName)+"-")])]),t._v(" "),a("div",{staticClass:"invited-log-table"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},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[a("div",{staticClass:"cell"},[a("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.transTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("timeStampToHms")(e.row.transTime)))])])]}}])}),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.transName||"--"))]}}])}),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.orderNo?"订单编号:":"")+t._s(e.row.orderNo||"--"))]}}])})],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var l=a("VU/8")(o,s,!1,function(t){a("5ATK")},"data-v-659bda01",null);e.default=l.exports}});
\ 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:"f0728605b4cabfe16cd5",1:"5b546fa38466a0b05e37",2:"926c4fee31478c1c7b08",3:"8add6b0bd9b416971f21",4:"514ca49e10b89d0f4177",5:"c363a570a348c211247e",6:"f11d902de0350ef6b333",7:"b0fd74564cc799593b8f",8:"fe9ec49f63ecd8e527ba",9:"522a01ff8d619d2bf030",10:"e16b73d2d4b922255e52",11:"c11d02c33702d00b2e2e",12:"cb13b689aaa548c4bc33"}[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}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,f){for(var a,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(n&&n(r,c,f);s.length;)s.shift()();if(f)for(d=0;d<f.length;d++)u=o(o.s=f[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],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,o.nc&&f.setAttribute("nonce",o.nc),f.src=o.p+"static/js/"+e+"."+{0:"f0728605b4cabfe16cd5",1:"5b546fa38466a0b05e37",2:"926c4fee31478c1c7b08",3:"3d84ff0fa66ed098569e",4:"c70d4e58d328461e2249",5:"c363a570a348c211247e",6:"f11d902de0350ef6b333",7:"b0fd74564cc799593b8f",8:"fe9ec49f63ecd8e527ba",9:"522a01ff8d619d2bf030",10:"e16b73d2d4b922255e52",11:"79c83b22c308f0e0e879",12:"3c0d12e65df907bcbcc5"}[e]+".js";var a=setTimeout(i,12e4);function i(){f.onerror=f.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=i,c.appendChild(f),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 \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-11-13 16:37:02 * @Date: 2019-11-13 16:37:02
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-12-12 10:52:56 * @LastEditTime: 2019-12-15 13:54:35
--> -->
<!-- <!--
<data-statistics-child :activeData="activeData" :barChartData="barChartData"></data-statistics-child> <data-statistics-child :activeData="activeData" :barChartData="barChartData"></data-statistics-child>
...@@ -56,11 +56,11 @@ import dataStatisticsChild from '@/components/active/data-statistics-child.vue'; ...@@ -56,11 +56,11 @@ import dataStatisticsChild from '@/components/active/data-statistics-child.vue';
<div class="data-right-top flex"> <div class="data-right-top flex">
<div class="data-statistics-middle flex-1 border-box m-l-20"> <div class="data-statistics-middle flex-1 border-box m-l-20">
<div class="font-14 color-606266">参与率</div> <div class="font-14 color-606266">参与率</div>
<div :class="['font-22 color-303133 p-t-5 ', activeData.attendRate]">{{ activeData.attendRate? Number(activeData.attendRate) * 100 : 0 }} %</div> <div :class="['font-22 color-303133 p-t-5 ', activeData.attendRate]">{{ activeData.attendRate? Number(Number(activeData.attendRate) * 100).toFixed(2) : 0 }} %</div>
<div class="data-percentage"> <div class="data-percentage">
<div <div
class="data-percentage-inner" class="data-percentage-inner"
:style="{ width: Number(activeData.attendRate)*100 + '%' }" :style="{ width: Number(Number(activeData.attendRate)*100).toFixed(2) + '%' }"
></div> ></div>
</div> </div>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-11-12 11:02:27 * @Date: 2019-11-12 11:02:27
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-11-15 13:36:56 * @LastEditTime: 2019-12-15 13:52:51
--> -->
<template> <template>
<div class="invited-log common-wrap"> <div class="invited-log common-wrap">
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
:src="invitedData.headUrl" :src="invitedData.headUrl"
alt="" alt=""
></div> ></div>
<div class="invited-data-name text-center font-14 color-606266">-{{invitedData.realName}}-</div> <div class="invited-data-name text-center font-14 color-606266">-{{invitedData.nickName}}/{{invitedData.realName}}-</div>
</div> </div>
<div class="invited-log-table"> <div class="invited-log-table">
<el-table <el-table
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-11-12 11:02:27 * @Date: 2019-11-12 11:02:27
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-12-09 10:30:55 * @LastEditTime: 2019-12-15 13:58:54
--> -->
<template> <template>
<div class="inviter-log common-wrap"> <div class="inviter-log common-wrap">
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
alt="" alt=""
/></div> /></div>
<div class="inviter-data-name text-center font-14 color-606266">-{{inviterData.realName}}-</div> <div class="inviter-data-name text-center font-14 color-606266">-{{!!invitedData.realName ? invitedData.realName:''}}-</div>
<div class="inviter-data-datas"> <div class="inviter-data-datas">
<ul class="inviter-data-wrap flex"> <ul class="inviter-data-wrap flex">
<li class="flex-1"> <li class="flex-1">
......
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