Commit 32383027 by member

修改会员列表字段

parent 98763c65
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/vue/2.5.5/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/lodash.min.js></script><title>memberproject</title><link href=./static/css/app.2edb9715066beb1cfb1a84a6edb415ba.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/header.2.0.16.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.10.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/store.2.0.00.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/card.2.0.01.js></script><script type=text/javascript src=./static/js/manifest.a6c6d32e69b9d3b40ead.js></script><script type=text/javascript src=./static/js/vendor.e716eaf003d24c302a8a.js></script><script type=text/javascript src=./static/js/app.ec9c97fa77b087125d03.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/vue/2.5.5/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/lodash.min.js></script><title>memberproject</title><link href=./static/css/app.2edb9715066beb1cfb1a84a6edb415ba.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/header.2.0.16.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.10.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/store.2.0.00.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/card.2.0.01.js></script><script type=text/javascript src=./static/js/manifest.7936bfd7f391a246c1b4.js></script><script type=text/javascript src=./static/js/vendor.e716eaf003d24c302a8a.js></script><script type=text/javascript src=./static/js/app.89de9b4af9d9ca168344.js></script></body></html>
\ No newline at end of file
webpackJsonp([14],{sPjv:function(e,t){},zWgH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"buyermembers",components:{Navbar:n("+vdD").a}},r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"buyer-part"},[t("Navbar"),this._v("\n 电商买家\n")],1)},staticRenderFns:[]};var s=n("VU/8")(a,r,!1,function(e){n("sPjv")},"data-v-ae6134c2",null);t.default=s.exports}});
\ No newline at end of file
webpackJsonp([16],{sPjv:function(e,t){},zWgH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"buyermembers",components:{Navbar:n("+vdD").a}},r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"buyer-part"},[t("Navbar"),this._v("\n 电商买家\n")],1)},staticRenderFns:[]};var s=n("VU/8")(a,r,!1,function(e){n("sPjv")},"data-v-ae6134c2",null);t.default=s.exports}});
\ No newline at end of file
webpackJsonp([16],{"B+Ce":function(e,t){},OQ6q:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"memberlist",data:function(){return{bodyHeight:document.body.clientHeight||document.documentElement.clientHeight,defaultActive:this.$route.path}},mounted:function(){var e=this;window.onresize=function(){e.bodyHeight=document.body.clientHeight||document.documentElement.clientHeight}},components:{Navbar:i("+vdD").a}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"achievementwrap",style:{height:this.bodyHeight-64+"px"}},[t("div",{staticClass:"achievementwrap-right"},[t("div",{style:{height:"100%"}},[t("keep-alive",[this.$route.meta.keepAlive?t("router-view"):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():t("router-view")],1)])])},staticRenderFns:[]};var a=i("VU/8")(n,o,!1,function(e){i("B+Ce")},"data-v-9b641668",null);t.default=a.exports}});
\ No newline at end of file
webpackJsonp([17],{"B+Ce":function(e,t){},OQ6q:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"memberlist",data:function(){return{bodyHeight:document.body.clientHeight||document.documentElement.clientHeight,defaultActive:this.$route.path}},mounted:function(){var e=this;window.onresize=function(){e.bodyHeight=document.body.clientHeight||document.documentElement.clientHeight}},components:{Navbar:i("+vdD").a}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"achievementwrap",style:{height:this.bodyHeight-64+"px"}},[t("div",{staticClass:"achievementwrap-right"},[t("div",{style:{height:"100%"}},[t("keep-alive",[this.$route.meta.keepAlive?t("router-view"):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():t("router-view")],1)])])},staticRenderFns:[]};var a=i("VU/8")(n,o,!1,function(e){i("B+Ce")},"data-v-9b641668",null);t.default=a.exports}});
\ No newline at end of file
webpackJsonp([19],{"34RI":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("Dd8w"),i=a.n(s),n=a("WSiR"),r=a("AKaA"),o=a("NTL1"),u=a("8V46"),c=a("lRwf"),d=a.n(c),l={name:"membertask",data:function(){return{bodyHeight:document.body.clientHeight||document.documentElement.clientHeight,navpath:[{name:"首页",path:""},{name:"会员",path:"/wechatmembers"},{name:"会员任务",path:""}],isEdit:null,missionList:[]}},methods:{changeVal:function(e){val=val.length>6?val.substr(0,6):val},getMemberMissionList:function(){var e=this;Object(r.a)(o.a.memberMissionList).then(function(t){0===t.data.errorCode?(e.isEdit=t.data.result.isEdit,e.missionList=t.data.result.missionList.map(function(e){return i()({},e,{item:e.item.map(function(e){return i()({},e,{statusEdit:1==e.status})})})})):Object(u.a)(t.data.message)}).catch(function(e){Object(u.b)(e)})},editRewardValue:function(e){e.isEdit?e.isEdit=!0:d.a.set(e,"isEdit",!0),e.isCurValue?e.isCurValue=e.rewardValue:d.a.set(e,"isCurValue",e.rewardValue)},submitRewardValue:function(e){Object(r.a)(o.a.memberMissionUpdate,{missionItemEnterpriseId:e.missionItemEnterpriseId,usedRule:e.usedRule,rewardRule:e.rewardRule,rewardValue:e.rewardValue}).then(function(t){0===t.data.errorCode?(e.isEdit=!1,Object(u.c)()):Object(u.a)(t.data.message)}).catch(function(e){Object(u.b)(e)})},cancleRewardValue:function(e){e.rewardValue=e.isCurValue,e.isEdit=!1},changeValue:function(e){var t=e.statusEdit?1:0;return 1==t&&0===e.rewardValue?(Object(u.a)("请完善积分奖励"),e.statusEdit=!1,!1):e.status===t?(e.statusEdit=!1,!1):void Object(r.a)(o.a.memberMissionOpen,{missionItemEnterpriseId:e.missionItemEnterpriseId,status:t}).then(function(a){0===a.data.errorCode?(e.status=t,Object(u.c)()):Object(u.a)(a.data.message)}).catch(function(e){Object(u.b)(e)})}},created:function(){this.getMemberMissionList(),this.$store.commit("mutations-slide",!1)},components:{"v-nav":n.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"member-task",style:{height:e.bodyHeight-64+"px"}},[a("div",{staticClass:"min100"},[a("v-nav",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"achievement"},e._l(e.missionList,function(t,s){return a("div",{key:s,staticClass:"achievement-item"},[a("div",{staticClass:"achievement-top"},[a("span",{staticClass:"achievement-title"},[e._v(e._s(t.missionName))])]),e._v(" "),a("div",{staticClass:"achievement-editwrap"},[a("el-table",{attrs:{data:t.item,"tooltip-effect":"dark","header-row-class-name":"curheader"}},[a("el-table-column",{attrs:{prop:"missionItemName",label:"字段名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"rewardValue",label:"奖励积分额"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",[e._v("奖励\n "),a("el-input-number",{directives:[{name:"show",rawName:"v-show",value:1==t.row.isEdit,expression:"scope.row.isEdit == true"}],attrs:{maxlength:"6","controls-position":"right",min:0,max:1e5},model:{value:t.row.rewardValue,callback:function(a){e.$set(t.row,"rewardValue",a)},expression:"scope.row.rewardValue"}}),e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:!0!==t.row.isEdit,expression:"scope.row.isEdit !== true"}]},[e._v(" "+e._s(t.row.rewardValue)+" ")]),e._v(" 积分\n "),a("i",{directives:[{name:"show",rawName:"v-show",value:1==e.isEdit&&!0!==t.row.isEdit,expression:"isEdit == 1 && scope.row.isEdit !== true"}],staticClass:"el-icon-edit pointer",on:{click:function(a){return e.editRewardValue(t.row)}}}),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isEdit&&1==t.row.isEdit,expression:"isEdit == 1 && scope.row.isEdit == true"}],attrs:{type:"text"},on:{click:function(a){return e.submitRewardValue(t.row)}}},[e._v("\n 保存\n ")]),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isEdit&&1==t.row.isEdit,expression:"isEdit == 1 && scope.row.isEdit == true"}],attrs:{type:"text"},on:{click:function(a){return e.cancleRewardValue(t.row)}}},[e._v("\n 取消\n ")])],1)]}}],null,!0)}),e._v(" "),1==e.isEdit?a("el-table-column",{attrs:{prop:"status",label:"开关",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"achievement-handler"},[a("el-switch",{attrs:{"active-text":"启用","inactive-text":"停用"},on:{change:function(a){return e.changeValue(t.row)}},model:{value:t.row.statusEdit,callback:function(a){e.$set(t.row,"statusEdit",a)},expression:"scope.row.statusEdit"}})],1)]}}],null,!0)}):e._e()],1)],1)])}),0)],1),e._v(" "),a("div",{staticClass:"footer-box foot-add"},[a("vue-gic-footer")],1)])},staticRenderFns:[]};var v=a("VU/8")(l,m,!1,function(e){a("EuAs")},null,null);t.default=v.exports},EuAs:function(e,t){}});
\ No newline at end of file
webpackJsonp([20],{"34RI":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("Dd8w"),i=a.n(s),n=a("WSiR"),r=a("AKaA"),o=a("NTL1"),u=a("8V46"),c=a("lRwf"),d=a.n(c),l={name:"membertask",data:function(){return{bodyHeight:document.body.clientHeight||document.documentElement.clientHeight,navpath:[{name:"首页",path:""},{name:"会员",path:"/wechatmembers"},{name:"会员任务",path:""}],isEdit:null,missionList:[]}},methods:{changeVal:function(e){val=val.length>6?val.substr(0,6):val},getMemberMissionList:function(){var e=this;Object(r.a)(o.a.memberMissionList).then(function(t){0===t.data.errorCode?(e.isEdit=t.data.result.isEdit,e.missionList=t.data.result.missionList.map(function(e){return i()({},e,{item:e.item.map(function(e){return i()({},e,{statusEdit:1==e.status})})})})):Object(u.a)(t.data.message)}).catch(function(e){Object(u.b)(e)})},editRewardValue:function(e){e.isEdit?e.isEdit=!0:d.a.set(e,"isEdit",!0),e.isCurValue?e.isCurValue=e.rewardValue:d.a.set(e,"isCurValue",e.rewardValue)},submitRewardValue:function(e){Object(r.a)(o.a.memberMissionUpdate,{missionItemEnterpriseId:e.missionItemEnterpriseId,usedRule:e.usedRule,rewardRule:e.rewardRule,rewardValue:e.rewardValue}).then(function(t){0===t.data.errorCode?(e.isEdit=!1,Object(u.c)()):Object(u.a)(t.data.message)}).catch(function(e){Object(u.b)(e)})},cancleRewardValue:function(e){e.rewardValue=e.isCurValue,e.isEdit=!1},changeValue:function(e){var t=e.statusEdit?1:0;return 1==t&&0===e.rewardValue?(Object(u.a)("请完善积分奖励"),e.statusEdit=!1,!1):e.status===t?(e.statusEdit=!1,!1):void Object(r.a)(o.a.memberMissionOpen,{missionItemEnterpriseId:e.missionItemEnterpriseId,status:t}).then(function(a){0===a.data.errorCode?(e.status=t,Object(u.c)()):Object(u.a)(a.data.message)}).catch(function(e){Object(u.b)(e)})}},created:function(){this.getMemberMissionList(),this.$store.commit("mutations-slide",!1)},components:{"v-nav":n.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"member-task",style:{height:e.bodyHeight-64+"px"}},[a("div",{staticClass:"min100"},[a("v-nav",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"achievement"},e._l(e.missionList,function(t,s){return a("div",{key:s,staticClass:"achievement-item"},[a("div",{staticClass:"achievement-top"},[a("span",{staticClass:"achievement-title"},[e._v(e._s(t.missionName))])]),e._v(" "),a("div",{staticClass:"achievement-editwrap"},[a("el-table",{attrs:{data:t.item,"tooltip-effect":"dark","header-row-class-name":"curheader"}},[a("el-table-column",{attrs:{prop:"missionItemName",label:"字段名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"rewardValue",label:"奖励积分额"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",[e._v("奖励\n "),a("el-input-number",{directives:[{name:"show",rawName:"v-show",value:1==t.row.isEdit,expression:"scope.row.isEdit == true"}],attrs:{maxlength:"6","controls-position":"right",min:0,max:1e5},model:{value:t.row.rewardValue,callback:function(a){e.$set(t.row,"rewardValue",a)},expression:"scope.row.rewardValue"}}),e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:!0!==t.row.isEdit,expression:"scope.row.isEdit !== true"}]},[e._v(" "+e._s(t.row.rewardValue)+" ")]),e._v(" 积分\n "),a("i",{directives:[{name:"show",rawName:"v-show",value:1==e.isEdit&&!0!==t.row.isEdit,expression:"isEdit == 1 && scope.row.isEdit !== true"}],staticClass:"el-icon-edit pointer",on:{click:function(a){return e.editRewardValue(t.row)}}}),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isEdit&&1==t.row.isEdit,expression:"isEdit == 1 && scope.row.isEdit == true"}],attrs:{type:"text"},on:{click:function(a){return e.submitRewardValue(t.row)}}},[e._v("\n 保存\n ")]),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isEdit&&1==t.row.isEdit,expression:"isEdit == 1 && scope.row.isEdit == true"}],attrs:{type:"text"},on:{click:function(a){return e.cancleRewardValue(t.row)}}},[e._v("\n 取消\n ")])],1)]}}],null,!0)}),e._v(" "),1==e.isEdit?a("el-table-column",{attrs:{prop:"status",label:"开关",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"achievement-handler"},[a("el-switch",{attrs:{"active-text":"启用","inactive-text":"停用"},on:{change:function(a){return e.changeValue(t.row)}},model:{value:t.row.statusEdit,callback:function(a){e.$set(t.row,"statusEdit",a)},expression:"scope.row.statusEdit"}})],1)]}}],null,!0)}):e._e()],1)],1)])}),0)],1),e._v(" "),a("div",{staticClass:"footer-box foot-add"},[a("vue-gic-footer")],1)])},staticRenderFns:[]};var v=a("VU/8")(l,m,!1,function(e){a("EuAs")},null,null);t.default=v.exports},EuAs:function(e,t){}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,f,t){for(var o,d,b,i=0,u=[];i<c.length;i++)d=c[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in f)Object.prototype.hasOwnProperty.call(f,o)&&(e[o]=f[o]);for(a&&a(c,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=r(r.s=t[i]);return b};var c={},n={36:0};function r(a){if(c[a])return c[a].exports;var n=c[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var a=n[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,r){a=n[e]=[c,r]});a[2]=c;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,r.nc&&t.setAttribute("nonce",r.nc),t.src=r.p+"static/js/"+e+"."+{0:"bb4258f8b9013814b2b0",1:"c499ca8d73e56f8c7c00",2:"0e9de0c75220d9b93d83",3:"a9f5279d0a0215bb8f13",4:"5da1601958f4eca41c01",5:"81a74adb7ffb08d48458",6:"5b9ae112837884ee6e32",7:"991e20d430b13ea0f45e",8:"920061a86c9038e93487",9:"5dd14e9efac1a3ca9cc4",10:"a36cda0ecd1ef7931925",11:"feaa29c4f842002f149b",12:"e480f74c2e5e4f543189",13:"9672a4a11c49a3d0975d",14:"03962cc4834bbd2722d7",15:"5780fb026a93c8b3fa15",16:"dca6caf90d8f1ee04f3a",17:"ee6d30e44605fdf9d574",18:"5a135c38a70033dfd380",19:"999108d02a09739ad8bc",20:"8bd332115a16a7ccc6af",21:"ef488b331a96487b39dc",22:"b6d923a1803993d7589b",23:"adc9213c5127c41ef176",24:"1ffec2fdc1e14bd33f41",25:"8c9008685ded77fbf683",26:"be92d8963554612e26a6",27:"01fd8a79ed918294a16c",28:"074f4f7b6fa5de0cf233",29:"404d582ecf449de44818",30:"dab2abccc427335e9bee",31:"f96cb08aa0c45278a1a2",32:"1277fb504a78fca3e4d1",33:"4443f2ae8fbc8148ee2a"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var a=n[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return t.onerror=t.onload=d,f.appendChild(t),c},r.m=e,r.c=c,r.d=function(e,a,c){r.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,t,f){for(var o,d,b,i=0,u=[];i<c.length;i++)d=c[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(a&&a(c,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=r(r.s=f[i]);return b};var c={},n={36:0};function r(a){if(c[a])return c[a].exports;var n=c[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var a=n[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,r){a=n[e]=[c,r]});a[2]=c;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,r.nc&&f.setAttribute("nonce",r.nc),f.src=r.p+"static/js/"+e+"."+{0:"bb4258f8b9013814b2b0",1:"c499ca8d73e56f8c7c00",2:"0e9de0c75220d9b93d83",3:"a9f5279d0a0215bb8f13",4:"5da1601958f4eca41c01",5:"81a74adb7ffb08d48458",6:"5b9ae112837884ee6e32",7:"991e20d430b13ea0f45e",8:"920061a86c9038e93487",9:"5dd14e9efac1a3ca9cc4",10:"a36cda0ecd1ef7931925",11:"feaa29c4f842002f149b",12:"e480f74c2e5e4f543189",13:"9672a4a11c49a3d0975d",14:"96d47d731b23d1644bd3",15:"17da0c72e8bb193f5884",16:"162d918a30128cc10080",17:"1a41c5914fa08aca3a69",18:"3611c8830de430de95b2",19:"674d8a15b428559dc644",20:"c6f02be27d69c1f75a50",21:"a2426ff9402d636083e4",22:"15a7b2911e352ca6321c",23:"4c4324c7d8d33e281f51",24:"d8fc4fe06a87b30f2e12",25:"81a2e36693181a232b77",26:"be92d8963554612e26a6",27:"01fd8a79ed918294a16c",28:"074f4f7b6fa5de0cf233",29:"404d582ecf449de44818",30:"dab2abccc427335e9bee",31:"f96cb08aa0c45278a1a2",32:"1277fb504a78fca3e4d1",33:"4443f2ae8fbc8148ee2a"}[e]+".js";var o=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(o);var a=n[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return f.onerror=f.onload=d,t.appendChild(f),c},r.m=e,r.c=c,r.d=function(e,a,c){r.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -168,13 +168,13 @@ export default {
returnVal = "关注时间";
}
if (tempVal == "costAll") {
returnVal = "消费总额";
returnVal = "消费总额(应收)";
}
if (tempVal == "costTimes") {
returnVal = "消费次数";
}
if (tempVal == "lastCost") {
returnVal = "最近消费";
returnVal = "最近消费(应收)";
}
if (tempVal == "avgCost") {
returnVal = "客单价";
......@@ -225,16 +225,16 @@ export default {
returnVal = "会员状态";
}
if (tempVal == "costFeeReceivable") {
returnVal = "消费总额(应收)";
returnVal = "消费总额";
}
if (tempVal == "lastCostReceivable") {
returnVal = "最近消费(应收)";
returnVal = "最近消费";
}
if (tempVal == "highCost") {
returnVal = "最高单笔";
returnVal = "最高单笔(应收)";
}
if (tempVal == "highCostReceivable") {
returnVal = "最高单笔(应收)";
returnVal = "最高单笔";
}
return returnVal;
},
......
......@@ -282,9 +282,12 @@
<div>{{ scope.row.attentionTime | formatTimeYMD }}</div>
<div>{{ scope.row.attentionTime | formatTimeHMS }}</div>
</div>
<!-- 消费总额 -->
<span v-else-if="item == 'costAll'">
{{ scope.row.costFee }}
</span>
<div v-else-if="item == 'costTimes'">
<div>{{ scope.row.costTimes | formatTimeYMD }}</div>
<div>{{ scope.row.costTimes | formatTimeHMS }}</div>
......
......@@ -168,13 +168,13 @@ export default {
returnVal = "关注时间";
}
if (tempVal == "costAll") {
returnVal = "消费总额";
returnVal = "消费总额(应收)";
}
if (tempVal == "costTimes") {
returnVal = "消费次数";
}
if (tempVal == "lastCost") {
returnVal = "最近消费";
returnVal = "最近消费(应收)";
}
if (tempVal == "avgCost") {
returnVal = "客单价";
......@@ -225,16 +225,16 @@ export default {
returnVal = "会员状态";
}
if (tempVal == "costFeeReceivable") {
returnVal = "消费总额(应收)";
returnVal = "消费总额";
}
if (tempVal == "lastCostReceivable") {
returnVal = "最近消费(应收)";
returnVal = "最近消费";
}
if (tempVal == "highCost") {
returnVal = "最高单笔";
returnVal = "最高单笔(应收)";
}
if (tempVal == "highCostReceivable") {
returnVal = "最高单笔(应收)";
returnVal = "最高单笔";
}
return returnVal;
},
......
......@@ -212,7 +212,7 @@
<p class="lheigth0"><span>{{ singleInfo.mainStoreName }}</span></p>
<div class="singelinfo-cost">
<div class="singelinfo-costitem">
<p>{{ singleInfo.costFeeReceivable }}</p>
<p>{{ singleInfo.costFee }}</p>
<p>消费总额</p>
</div>
<div class="singelinfo-costitem">
......@@ -220,7 +220,7 @@
<p>消费次数</p>
</div>
<div class="singelinfo-costitem">
<p>{{ singleInfo.lastCostReceivable }}</p>
<p>{{ singleInfo.lastCost }}</p>
<p>最近消费</p>
</div>
</div>
......@@ -283,7 +283,7 @@
</div>
<!-- 消费总额 实际是应收 -->
<span v-else-if="item == 'costAll'">
{{ scope.row.costFeeReceivable }}
{{ scope.row.costFee }}
</span>
<div v-else-if="item == 'costTimes'">
<div>{{ scope.row.costTimes | formatTimeYMD }}</div>
......@@ -293,7 +293,7 @@
{{ scope.row.lastCostTime }}
</span>
<span v-else-if="item == 'lastCost'">
{{ scope.row.lastCostReceivable }}
{{ scope.row.lastCost }}
</span>
<span v-else-if="item == 'avgCost'">
{{ scope.row.avgCost }}
......@@ -339,17 +339,17 @@
{{ scope.row.cardNo }}
</span>
<span v-else-if="item == 'costFeeReceivable'">
{{ scope.row.costFee }}
{{ scope.row.costFeeReceivable }}
</span>
<span v-else-if="item == 'lastCostReceivable'">
{{ scope.row.lastCost }}
{{ scope.row.lastCostReceivable }}
</span>
<span v-else-if="item == 'highCost'">
{{ scope.row.highCostReceivable }}
{{ scope.row.highCost }}
</span>
<span v-else-if="item == 'highCostReceivable'">
{{ scope.row.highCost }}
</span>
{{ scope.row.highCostReceivable }}
</span>
<div v-else-if="item == 'frozenStatus'">
<span
class="dm-status--success"
......@@ -408,7 +408,7 @@
<div class="singelinfo-cost">
<div class="singelinfo-costitem">
<!-- 调整 跑数据的时候取错了 这里调换一下 -->
<p>{{ singleInfo.costFeeReceivable }}</p>
<p>{{ singleInfo.costFee }}</p>
<p>消费总额</p>
</div>
<div class="singelinfo-costitem">
......@@ -416,7 +416,7 @@
<p>消费次数</p>
</div>
<div class="singelinfo-costitem">
<p>{{ singleInfo.lastCostReceivable }}</p>
<p>{{ singleInfo.lastCost }}</p>
<p>最近消费</p>
</div>
</div>
......@@ -478,7 +478,7 @@
<div>{{ scope.row.attentionTime | formatTimeHMS }}</div>
</div>
<span v-else-if="item == 'costAll'">
{{ scope.row.costFeeReceivable }}
{{ scope.row.costFee }}
</span>
<span v-else-if="item == 'costTimes'">
{{ scope.row.costTimes }}
......@@ -487,7 +487,7 @@
{{ scope.row.lastCostTime }}
</span>
<span v-else-if="item == 'lastCost'">
{{ scope.row.lastCostReceivable }}
{{ scope.row.lastCost }}
</span>
<span v-else-if="item == 'avgCost'">
{{ scope.row.avgCost }}
......@@ -533,16 +533,16 @@
{{ scope.row.cardNo }}
</span>
<span v-else-if="item == 'costFeeReceivable'">
{{ scope.row.costFee }}
{{ scope.row.costFeeReceivable }}
</span>
<span v-else-if="item == 'lastCostReceivable'">
{{ scope.row.lastCost }}
{{ scope.row.lastCostReceivable }}
</span>
<span v-else-if="item == 'highCost'">
{{ scope.row.highCostReceivable }}
{{ scope.row.highCost }}
</span>
<span v-else-if="item == 'highCostReceivable'">
{{ scope.row.highCost }}
{{ scope.row.highCostReceivable }}
</span>
<div v-else-if="item == 'frozenStatus'">
<span
......
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