Commit dbb1dd02 by member

修改选择器版本

parent d0b7d99a
<!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.f3ffec892c70c687404afa4fe664c87d.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.20.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.26.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.05.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.eee60c033836de594330.js></script><script type=text/javascript src=./static/js/vendor.e716eaf003d24c302a8a.js></script><script type=text/javascript src=./static/js/app.43f03c07402d97157044.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.b03f05e397ed17c36b23b34f679b453b.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.20.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.26.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.05.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 src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.33.js></script><script type=text/javascript src=./static/js/manifest.08b113dc05495a663500.js></script><script type=text/javascript src=./static/js/vendor.e716eaf003d24c302a8a.js></script><script type=text/javascript src=./static/js/app.4f80dc85d692125501be.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([10],{"1OM8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),i=a.n(s),r=a("WSiR"),o=a("AKaA"),n=a("NTL1"),c=a("8V46"),l=a("EOvX"),v={name:"infoMall",data:function(){return{memberId:this.$route.query.memberId||"",navpath:[{name:"首页",path:""},{name:"微信会员",path:"/wechatmembers"},{name:"会员详情",path:"/wechatmemberDetail?memberId="+this.$route.query.memberId||""},{name:"微信商城消费",path:""}],memberInfo:{costFee:0,costTimes:0,lastCostTime:"",avgCost:0,relatedPercent:0,avgGoodsCost:0,highCost:0,costCategoryCount:0,avgDiscount:0},page:{currentPage:1,pageSize:20,totalCount:0},memberData:[]}},filters:{formatColorSize:function(t){var e="";t&&(e=JSON.parse(t).map(function(t){return t.key+": "+t.value})[0]);return e},mallname:function(t){var e="";t&&JSON.parse(t).forEach(function(t){e+=t.propName+":"+t.valueName+" "});return e}},methods:{handleCurrentChange:function(t){this.page.currentPage=t,this.getMemberOrderPage()},handleSizeChange:function(t){this.page.pageSize=t,this.getMemberOrderPage()},getMemberOrderPage:function(){var t=this;Object(o.a)(n.a.ajaxWechatMembers,{memberId:this.memberId,pageSize:this.page.pageSize,currentPage:this.page.currentPage}).then(function(e){0===e.data.errorCode?(t.memberData=e.data.result.page.result.map(function(t){return i()({},t,{createTime:t.createTime?Object(l.a)(new Date(t.createTime),"yyyy-MM-dd hh:mm:ss"):"--"})}),console.log(t.memberData),t.page.currentPage=e.data.result.page.currentPage,t.page.totalCount=e.data.result.page.totalCount):Object(c.a)(e.data.message)}).catch(function(t){Object(c.b)(t)})},getAjaxMembersInfo:function(){var t=this;Object(o.a)(n.a.infoMall,{memberId:this.memberId}).then(function(e){if(0===e.data.errorCode){var a=e.data.result.memberInfo;t.memberInfo={costFee:a.costFee,costTimes:a.costTimes,lastCostTime:a.lastCostTime,avgCost:a.avgCost,relatedPercent:a.relatedPercent,avgGoodsCost:a.avgGoodsCost,highCost:a.highCost,costCategoryCount:a.costCategoryCount,avgDiscount:a.avgDiscount}}else Object(c.a)(e.data.message)}).catch(function(t){Object(c.b)(t)})},goback:function(){this.$router.push({path:"wechatmemberDetail",query:{memberId:this.memberId}})}},created:function(){this.memberId&&(this.getAjaxMembersInfo(),this.getMemberOrderPage()),this.$store.commit("mutations-slide",!1)},components:{"v-nav":r.a}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mall-container"},[a("div",{staticClass:"min100"},[a("v-nav",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"record-nav"},[a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("消费总额")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v("¥"+t._s(t._f("fomatFloat")(t.memberInfo.costFee)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("消费次数")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t.memberInfo.costTimes))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("最近消费")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("formatYMD")(t.memberInfo.lastCostTime)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("客单价")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v("¥"+t._s(t._f("fomatFloat")(t.memberInfo.avgCost)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("连带率")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("fomatFloat")(t.memberInfo.relatedPercent)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("件单价")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v("¥"+t._s(t._f("fomatFloat")(t.memberInfo.avgGoodsCost)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("最高单笔")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("fomatFloat")(t.memberInfo.highCost)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("消费品类")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t.memberInfo.costCategoryCount))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("平均折扣")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("fomatFloat")(t.memberInfo.avgDiscount)))])])]),t._v(" "),a("div",{staticClass:"record"},[a("div",{staticClass:"mTop20 pBottom100"},[a("div",{staticClass:"groupmember mBottom40"},[a("div",{},[t._m(0),t._v(" "),t._l(t.memberData,function(e,s){return t.memberData&&t.memberData.length>0?a("div",{key:s,staticClass:"mTop20 member-table-txt"},[a("div",{staticClass:"orderheader"},[a("div",{staticClass:"headerinfo"},[t._v("订单编号: "+t._s(e.orderNumber))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("下单时间:"+t._s(e.createTime))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("收件人: "+t._s(e.buyerName))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("手机号码:"+t._s(e.buyerPhone))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("收货地址:"+t._s(e.addressInfo))])]),t._v(" "),a("div",{staticClass:"record-table",style:{height:e.orderItemList?80*e.orderItemList.length+"px":""}},[a("div",{staticClass:"record-flex70"},t._l(e.orderItemList,function(e,s){return a("div",{key:s,staticClass:"record-tablecontent"},[a("div",{staticClass:"w-43"},[a("div",{staticStyle:{display:"flex","flex-wrap":"wrap","align-items":"center"}},[a("div",{staticStyle:{flex:"0 0 60px"}},[a("img",{attrs:{width:"60",height:"60",src:e.mallProImageUrl,alt:""}})]),t._v(" "),a("div",{staticStyle:{flex:"1","margin-left":"5px"}},[a("div",{staticClass:"font14 break"},[t._v(t._s(e.mallProName))]),t._v(" "),a("div",{staticClass:"mTop10 font14 member-goods-txt"},[t._v(t._s(t._f("mallname")(e.mallProSkuAttr)))])])])]),t._v(" "),a("div",{staticClass:"w-14"},[t._v(t._s(e.mallProPrice))]),t._v(" "),a("div",{staticClass:"w-21"},[t._v(t._s(e.mallProNumber))]),t._v(" "),a("div",{staticClass:"w-21"},[t._v(t._s(e.refundPrice))])])}),0),t._v(" "),a("div",{staticClass:"width15 talign font14 borderight",style:{lineHeight:e.orderItemList?80*e.orderItemList.length+"px":""}},[a("div",{staticClass:"posrelative"},[t._v(t._s(e.payAmount)+"\n "),a("div",{staticClass:"posabsolute"},[t._v("(含快递¥"+t._s(e.orderItemFreight)+")")])])]),t._v(" "),a("div",{staticClass:"width15 font14 talign",style:{lineHeight:e.orderItemList?80*e.orderItemList.length+"px":""}},[0==e.orderStep?a("div",[t._v("交易关闭")]):t._e(),t._v(" "),1==e.orderStep?a("div",[t._v("等待买家付款")]):t._e(),t._v(" "),2==e.orderStep?a("div",[t._v("买家已付款")]):t._e(),t._v(" "),3==e.orderStep?a("div",[t._v("已发货")]):t._e(),t._v(" "),4==e.orderStep?a("div",[t._v("交易完成")]):t._e()])])]):t._e()}),t._v(" "),t.memberData&&0==t.memberData.length?a("div",{staticStyle:{"text-align":"center","font-size":"14px"}},[a("span",{staticClass:"el-table__empty-text"},[t._v("暂无数据")])]):t._e(),t._v(" "),t.page.totalCount>0?a("div",{staticClass:"page mTop20"},[a("el-pagination",{attrs:{background:"","current-page":t.page.currentPage,"page-sizes":[20,40,60,80],"page-size":t.page.pageSize,layout:"total, sizes, prev, pager, next",total:t.page.totalCount},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],2)])])])],1),t._v(" "),a("div",{staticClass:"foot-add"},[a("vue-gic-footer")],1)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"record-header"},[a("div",{staticClass:"w-30"},[t._v("商品信息")]),t._v(" "),a("div",{staticClass:"w-10"},[t._v("单价")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("数量")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("退款金额")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("实付款")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("交易状态")])])}]};var d=a("VU/8")(v,m,!1,function(t){a("VWfy")},null,null);e.default=d.exports},EOvX:function(t,e,a){"use strict";e.a=function(t,e){var a={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));for(var s in a)new RegExp("("+s+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?a[s]:("00"+a[s]).substr((""+a[s]).length)));return e}},VWfy:function(t,e){}});
\ No newline at end of file
webpackJsonp([12],{KnQO:function(e,n){},"mYM/":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={name:"onlinemembers",components:{Navbar:t("+vdD").a}},r={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{staticClass:"online-part"},[n("Navbar"),this._v("\n 电商会员\n")],1)},staticRenderFns:[]};var s=t("VU/8")(a,r,!1,function(e){t("KnQO")},"data-v-f4f7baec",null);n.default=s.exports}});
\ No newline at end of file
webpackJsonp([11],{KnQO:function(e,n){},"mYM/":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={name:"onlinemembers",components:{Navbar:t("+vdD").a}},r={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{staticClass:"online-part"},[n("Navbar"),this._v("\n 电商会员\n")],1)},staticRenderFns:[]};var s=t("VU/8")(a,r,!1,function(e){t("KnQO")},"data-v-f4f7baec",null);n.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([15],{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([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([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([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([18],{"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([25],{miwu:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});o("AKaA");var s=window.location.origin,i=s.indexOf("localhost")>-1?"http://gicdev.demogic.com":s,n={name:"selector",data:function(){return{expends:!0,ret:[],total:0}},methods:{confirm:function(){var t=this;this.$refs.selector.collectConditions().then(function(e){t.expends=!e.filterAbbrInfo.length,t.getGoodsList(e.conditions)})},goback:function(){this.ret=[],this.expends=!this.expends,this.$refs.selector.removeConditions()},getGoodsList:function(t){var e=this,o={currentPage:1,pageSize:40,source:1,queryList:t};this.axios.post(i+"/api-plug/store-goods-sku-filter",o).then(function(t){if(0===t.data.errorCode){var o=t.data.result;e.ret=o.result,e.total=o.total}})}}},r={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"selector-router"},[o("vue-gic-goods-selector",{ref:"selector"}),t._v(" "),o("div",{staticClass:"gic-button"},[t.expends?o("el-button",{attrs:{type:"primary"},on:{click:t.confirm}},[t._v("确认")]):o("el-button",{on:{click:t.goback}},[t._v("返回")])],1),t._v(" "),o("h1",[t._v("一共有"+t._s(t.total)+"条数据")]),t._v(" "),o("div",t._l(t.ret,function(e,s){return o("li",{key:s,staticClass:"good-list"},[t._v(t._s(e))])}),0)],1)},staticRenderFns:[]};var c=o("VU/8")(n,r,!1,function(t){o("rHFz")},"data-v-6892081c",null);e.default=c.exports},rHFz:function(t,e){}});
\ No newline at end of file
webpackJsonp([6],{"/HCr":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("2X9c"),a=e.n(i),r={name:"page500",data:function(){return{img_500:a.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"member/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=e("VU/8")(r,n,!1,function(t){e("9eqf")},"data-v-56ad123d",null);s.default=c.exports},"2X9c":function(t,s,e){t.exports=e.p+"static/img/error_500.af3a106.svg"},"9eqf":function(t,s){}});
\ No newline at end of file
webpackJsonp([5],{"/HCr":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("2X9c"),a=e.n(i),r={name:"page500",data:function(){return{img_500:a.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"member/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=e("VU/8")(r,n,!1,function(t){e("9eqf")},"data-v-56ad123d",null);s.default=c.exports},"2X9c":function(t,s,e){t.exports=e.p+"static/img/error_500.af3a106.svg"},"9eqf":function(t,s){}});
\ No newline at end of file
webpackJsonp([9],{Minx:function(t,s,e){t.exports=e.p+"static/img/error_404.42b8c8c.svg"},PRsh:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("Minx"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){consoleconsole.log(this.$route.path)}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"member/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("mM1t")},"data-v-080144af",null);s.default=c.exports},mM1t:function(t,s){}});
\ No newline at end of file
webpackJsonp([8],{Minx:function(t,s,e){t.exports=e.p+"static/img/error_404.42b8c8c.svg"},PRsh:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("Minx"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){consoleconsole.log(this.$route.path)}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"member/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("mM1t")},"data-v-080144af",null);s.default=c.exports},mM1t:function(t,s){}});
\ No newline at end of file
webpackJsonp([9],{"1OM8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),i=a.n(s),r=a("WSiR"),o=a("AKaA"),n=a("NTL1"),c=a("8V46"),l=a("EOvX"),v={name:"infoMall",data:function(){return{memberId:this.$route.query.memberId||"",navpath:[{name:"首页",path:""},{name:"微信会员",path:"/wechatmembers"},{name:"会员详情",path:"/wechatmemberDetail?memberId="+this.$route.query.memberId||""},{name:"微信商城消费",path:""}],memberInfo:{costFee:0,costTimes:0,lastCostTime:"",avgCost:0,relatedPercent:0,avgGoodsCost:0,highCost:0,costCategoryCount:0,avgDiscount:0},page:{currentPage:1,pageSize:20,totalCount:0},memberData:[]}},filters:{formatColorSize:function(t){var e="";t&&(e=JSON.parse(t).map(function(t){return t.key+": "+t.value})[0]);return e},mallname:function(t){var e="";t&&JSON.parse(t).forEach(function(t){e+=t.propName+":"+t.valueName+" "});return e}},methods:{handleCurrentChange:function(t){this.page.currentPage=t,this.getMemberOrderPage()},handleSizeChange:function(t){this.page.pageSize=t,this.getMemberOrderPage()},getMemberOrderPage:function(){var t=this;Object(o.a)(n.a.ajaxWechatMembers,{memberId:this.memberId,pageSize:this.page.pageSize,currentPage:this.page.currentPage}).then(function(e){0===e.data.errorCode?(t.memberData=e.data.result.page.result.map(function(t){return i()({},t,{createTime:t.createTime?Object(l.a)(new Date(t.createTime),"yyyy-MM-dd hh:mm:ss"):"--"})}),console.log(t.memberData),t.page.currentPage=e.data.result.page.currentPage,t.page.totalCount=e.data.result.page.totalCount):Object(c.a)(e.data.message)}).catch(function(t){Object(c.b)(t)})},getAjaxMembersInfo:function(){var t=this;Object(o.a)(n.a.infoMall,{memberId:this.memberId}).then(function(e){if(0===e.data.errorCode){var a=e.data.result.memberInfo;t.memberInfo={costFee:a.costFee,costTimes:a.costTimes,lastCostTime:a.lastCostTime,avgCost:a.avgCost,relatedPercent:a.relatedPercent,avgGoodsCost:a.avgGoodsCost,highCost:a.highCost,costCategoryCount:a.costCategoryCount,avgDiscount:a.avgDiscount}}else Object(c.a)(e.data.message)}).catch(function(t){Object(c.b)(t)})},goback:function(){this.$router.push({path:"wechatmemberDetail",query:{memberId:this.memberId}})}},created:function(){this.memberId&&(this.getAjaxMembersInfo(),this.getMemberOrderPage()),this.$store.commit("mutations-slide",!1)},components:{"v-nav":r.a}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mall-container"},[a("div",{staticClass:"min100"},[a("v-nav",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"record-nav"},[a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("消费总额")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v("¥"+t._s(t._f("fomatFloat")(t.memberInfo.costFee)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("消费次数")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t.memberInfo.costTimes))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("最近消费")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("formatYMD")(t.memberInfo.lastCostTime)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("客单价")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v("¥"+t._s(t._f("fomatFloat")(t.memberInfo.avgCost)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("连带率")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("fomatFloat")(t.memberInfo.relatedPercent)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("件单价")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v("¥"+t._s(t._f("fomatFloat")(t.memberInfo.avgGoodsCost)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("最高单笔")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("fomatFloat")(t.memberInfo.highCost)))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("消费品类")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t.memberInfo.costCategoryCount))])]),t._v(" "),a("div",{staticClass:"record-navitem"},[a("p",{staticClass:"lheigth40"},[t._v("平均折扣")]),t._v(" "),a("p",{staticClass:"cost-txt"},[t._v(t._s(t._f("fomatFloat")(t.memberInfo.avgDiscount)))])])]),t._v(" "),a("div",{staticClass:"record"},[a("div",{staticClass:"mTop20 pBottom100"},[a("div",{staticClass:"groupmember mBottom40"},[a("div",{},[t._m(0),t._v(" "),t._l(t.memberData,function(e,s){return t.memberData&&t.memberData.length>0?a("div",{key:s,staticClass:"mTop20 member-table-txt"},[a("div",{staticClass:"orderheader"},[a("div",{staticClass:"headerinfo"},[t._v("订单编号: "+t._s(e.orderNumber))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("下单时间:"+t._s(e.createTime))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("收件人: "+t._s(e.buyerName))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("手机号码:"+t._s(e.buyerPhone))]),t._v(" "),a("div",{staticClass:"headerinfo"},[t._v("收货地址:"+t._s(e.addressInfo))])]),t._v(" "),a("div",{staticClass:"record-table",style:{height:e.orderItemList?80*e.orderItemList.length+"px":""}},[a("div",{staticClass:"record-flex70"},t._l(e.orderItemList,function(e,s){return a("div",{key:s,staticClass:"record-tablecontent"},[a("div",{staticClass:"w-43"},[a("div",{staticStyle:{display:"flex","flex-wrap":"wrap","align-items":"center"}},[a("div",{staticStyle:{flex:"0 0 60px"}},[a("img",{attrs:{width:"60",height:"60",src:e.mallProImageUrl,alt:""}})]),t._v(" "),a("div",{staticStyle:{flex:"1","margin-left":"5px"}},[a("div",{staticClass:"font14 break"},[t._v(t._s(e.mallProName))]),t._v(" "),a("div",{staticClass:"mTop10 font14 member-goods-txt"},[t._v(t._s(t._f("mallname")(e.mallProSkuAttr)))])])])]),t._v(" "),a("div",{staticClass:"w-14"},[t._v(t._s(e.mallProPrice))]),t._v(" "),a("div",{staticClass:"w-21"},[t._v(t._s(e.mallProNumber))]),t._v(" "),a("div",{staticClass:"w-21"},[t._v(t._s(e.refundPrice))])])}),0),t._v(" "),a("div",{staticClass:"width15 talign font14 borderight",style:{lineHeight:e.orderItemList?80*e.orderItemList.length+"px":""}},[a("div",{staticClass:"posrelative"},[t._v(t._s(e.payAmount)+"\n "),a("div",{staticClass:"posabsolute"},[t._v("(含快递¥"+t._s(e.orderItemFreight)+")")])])]),t._v(" "),a("div",{staticClass:"width15 font14 talign",style:{lineHeight:e.orderItemList?80*e.orderItemList.length+"px":""}},[0==e.orderStep?a("div",[t._v("交易关闭")]):t._e(),t._v(" "),1==e.orderStep?a("div",[t._v("等待买家付款")]):t._e(),t._v(" "),2==e.orderStep?a("div",[t._v("买家已付款")]):t._e(),t._v(" "),3==e.orderStep?a("div",[t._v("已发货")]):t._e(),t._v(" "),4==e.orderStep?a("div",[t._v("交易完成")]):t._e()])])]):t._e()}),t._v(" "),t.memberData&&0==t.memberData.length?a("div",{staticStyle:{"text-align":"center","font-size":"14px"}},[a("span",{staticClass:"el-table__empty-text"},[t._v("暂无数据")])]):t._e(),t._v(" "),t.page.totalCount>0?a("div",{staticClass:"page mTop20"},[a("el-pagination",{attrs:{background:"","current-page":t.page.currentPage,"page-sizes":[20,40,60,80],"page-size":t.page.pageSize,layout:"total, sizes, prev, pager, next",total:t.page.totalCount},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],2)])])])],1),t._v(" "),a("div",{staticClass:"foot-add"},[a("vue-gic-footer")],1)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"record-header"},[a("div",{staticClass:"w-30"},[t._v("商品信息")]),t._v(" "),a("div",{staticClass:"w-10"},[t._v("单价")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("数量")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("退款金额")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("实付款")]),t._v(" "),a("div",{staticClass:"w-15"},[t._v("交易状态")])])}]};var d=a("VU/8")(v,m,!1,function(t){a("VWfy")},null,null);e.default=d.exports},EOvX:function(t,e,a){"use strict";e.a=function(t,e){var a={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));for(var s in a)new RegExp("("+s+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?a[s]:("00"+a[s]).substr((""+a[s]).length)));return e}},VWfy:function(t,e){}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,f){for(var d,o,b,i=0,u=[];i<a.length;i++)o=a[i],n[o]&&u.push(n[o][0]),n[o]=0;for(d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d]);for(c&&c(a,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=r(r.s=f[i]);return b};var a={},n={36:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;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:"d102dfce326eb45c305a",2:"d8c5dcbf3e9efdb187c7",3:"322914cbb68c5b070c8b",4:"5da1601958f4eca41c01",5:"81a74adb7ffb08d48458",6:"5b9ae112837884ee6e32",7:"f650d25500ad94360609",8:"d7183a464719000779e7",9:"fe0b74d4c5f03033a09a",10:"c879e793d31284a2fd87",11:"39cd90bfb2a31a7f5983",12:"95925c1563a50e5c9e54",13:"dea5aa729cb7daf6029c",14:"1587ce543d92589a2e78",15:"48cb116b1c8ec0652350",16:"dca6caf90d8f1ee04f3a",17:"114135d12556b79404c2",18:"3e9d6d2d0c9dc1b8ed14",19:"887cd70f7f0c86e0517d",20:"5771d646783e1de7a9ed",21:"ef488b331a96487b39dc",22:"b6d923a1803993d7589b",23:"adc9213c5127c41ef176",24:"c73b992cd4bb781af414",25:"552aaadf783837ba64e3",26:"f3c5612211f9b39635a3",27:"221c523a055fa957e498",28:"a01da711cf81fcc2e263",29:"87cf94b8ed37a8d0904e",30:"1dc5b5848ad8bff185fc",31:"cdc7cb45e9d71d03b029",32:"36cb6b1cf9251c0fce97",33:"4443f2ae8fbc8148ee2a"}[e]+".js";var d=setTimeout(o,12e4);function o(){f.onerror=f.onload=null,clearTimeout(d);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return f.onerror=f.onload=o,t.appendChild(f),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},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,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:"ef8c344a7a76dc6f2953",2:"0e9de0c75220d9b93d83",3:"a9f5279d0a0215bb8f13",4:"d6dee54c6370e681ff76",5:"695a732f0975076c7793",6:"a9159d5c38776d21405e",7:"931e87fb4be0a2a86a08",8:"75f707fe5d373394dc71",9:"5dd14e9efac1a3ca9cc4",10:"a36cda0ecd1ef7931925",11:"feaa29c4f842002f149b",12:"e480f74c2e5e4f543189",13:"e39f650135fa419ea4c5",14:"f29a08c0a859a25ede57",15:"5d30362da7491eb4e1ac",16:"162d918a30128cc10080",17:"1a41c5914fa08aca3a69",18:"c81a8aefcd01b5b85b4c",19:"999108d02a09739ad8bc",20:"77623d861d0799658f36",21:"8fb369b360b8a7a80ca7",22:"15a7b2911e352ca6321c",23:"4c4324c7d8d33e281f51",24:"d8fc4fe06a87b30f2e12",25:"0a0c771dda38167a2f2b",26:"f3c5612211f9b39635a3",27:"221c523a055fa957e498",28:"a01da711cf81fcc2e263",29:"87cf94b8ed37a8d0904e",30:"1dc5b5848ad8bff185fc",31:"cdc7cb45e9d71d03b029",32:"36cb6b1cf9251c0fce97",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
......@@ -20,6 +20,6 @@
<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 src="//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.23.js"></script> -->
<script src="//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.33.js"></script>
</body>
</html>
......@@ -74,9 +74,9 @@ export default {
// 当某行点击的时候
handleCurrentChangeRow(row) {
this.$nextTick(_ => {
if (row.integralMallProId == this.radio) {
// if (row.integralMallProId == this.radio) {
this.$emit('pass-id', row);
}
// }
});
},
getCardList() {
......@@ -128,11 +128,7 @@ export default {
created() {
const host = window.location.origin;
if (host.indexOf("localhost") != "-1") {
this.baseUrl = "http:gicdev.demogic.com";
} else {
this.baseUrl = host;
}
this.baseUrl = host.indexOf("localhost") > -1 ? 'http://gicdev.demogic.com' : host;
},
mounted() {
......
......@@ -86,11 +86,7 @@ export default {
created() {
const host = window.location.origin;
if (host.indexOf("localhost") != "-1") {
this.baseUrl = "http:gicdev.demogic.com";
} else {
this.baseUrl = host;
}
this.baseUrl = host.indexOf("localhost") > -1 ? 'http://gicdev.demogic.com' : host;
},
methods: {
......
......@@ -233,85 +233,6 @@ components: {linkId
<label class="h5link-title">跳转路径(非必填)</label>
<el-input v-model="thirdObj.pagePath" placeholder="输入跳转路径"></el-input>
</div>
<!--
<div class="h5link-row">
<label class="h5link-title h5link-dynamic-title">动态参数(选填)</label>
<div class="h5-table">
<table cellspacing="0" cellpadding="0" border="0" class=" el-table el-table__header">
<colgroup>
<col name="el-table_1_column_1" width="359">
<col name="el-table_1_column_2" width="359">
<col name="el-table_1_column_3" width="359">
<col name="gutter" width="0">
</colgroup>
<thead class="has-gutter">
<tr class="">
<th colspan="1" rowspan="1" class="el-table_1_column_1 is-leaf">
<div class="cell">GIC参数</div>
</th>
<th colspan="1" rowspan="1" class="el-table_1_column_2 is-leaf">
<div class="cell">第三方H5</div>
</th>
<th colspan="1" rowspan="1" class="el-table_1_column_3 is-leaf">
<div class="cell">操作</div>
</th>
<th class="gutter" style="width: 0px; display: none;"></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<el-select size="small" class="dynamic-param-select" v-model="dynamicRow.key" clearable placeholder="请选择参数" @change="dynamicChange($event)">
<el-option
v-for="item in h5linkObj.dynamicParaOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</td>
<td>
<el-input size="small" class="h5-el-input" v-model="dynamicRow.value" clearable type="text" @keyup.native="(value) => dynamicBlur(value)" placeholder="请输入参数"></el-input>
</td>
<td><el-button type="text" @click.stop="addDynamic()">添加</el-button></td>
</tr>
<template v-for="(dynamicItem,index) in dynamicList">
<tr>
<td>
<template v-if="!dynamicItem.editAble">{{dynamicItem.key}}</template>
<template v-if="dynamicItem.editAble">
<el-select size="small" class="dynamic-param-select" v-model="dynamicItem.selectKey" placeholder="请选择参数">
<el-option
v-for="item in h5linkObj.dynamicParaOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</template>
</td>
<td>
<template v-if="!dynamicItem.editAble">{{dynamicItem.value}}</template>
<template v-if="dynamicItem.editAble">
<el-input size="small" class="h5-el-input" v-model="dynamicItem.inputValue" type="text" placeholder="请输入参数"></el-input>
</template>
</td>
<td>
<template v-if="dynamicItem.editAble">
<el-button type="text" @click.stop="confirmDynamic(index,dynamicItem)">确认</el-button>
<el-button type="text" @click.stop="cancleDynamic(index,dynamicItem)">取消</el-button>
</template>
<template v-if="!dynamicItem.editAble">
<el-button type="text" @click.stop="editDynamic(index,dynamicItem)">编辑</el-button>
<el-button type="text" @click.stop="delDynamic(index)">删除</el-button>
</template>
</td>
</tr>
</template>
</tbody>
</table>
</div>
</div> -->
</div>
<!-- 商品链接 -->
......@@ -670,7 +591,7 @@ export default {
this.giftFlag = false;
var that = this
var host = window.location.origin;
this.baseUrl = host.indexOf('localhost') != '-1' ? 'http://gicdev.demogic.com' : host;
this.baseUrl = host.indexOf('localhost') > -1 ? 'http://gicdev.demogic.com' : host;
},
methods: {
changeVisible() {
......@@ -1510,9 +1431,7 @@ export default {
// 确认操作
confirmLinkSelect() {
setTimeout(_ => {
var that = this;
// 如果选择 h5 判断选择的链接
if (that.oneLevelTypeValue == 5) {
if (!that.h5linkObj.name.trim() || !that.h5linkObj.url.trim()) {
......@@ -1611,6 +1530,7 @@ export default {
that.transData();
return;
}
// 确定是会员功能 然后看是那个类型的
if (this.linkId == 27) {
if (this.visibleType == 8) {
......
......@@ -21,16 +21,16 @@
</template>
<script>
import vueGicGoodsSelector from "./goods/index.vue";
// import vueGicGoodsSelector from "./goods/index.vue";
import { doFetchqs } from "../components/axios/api";
import { baseUrl, ERR_OK } from "@/config/index.js";
export default {
name: "selector",
components: {
vueGicGoodsSelector
},
// components: {
// vueGicGoodsSelector
// },
data() {
return {
......
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