Commit 5c5a4ce6 by Kyle_Li
parents 3c30b5b5 d8b580fb
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/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=./css/app.d2b6d74631e24680e4964efedc259005.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.file.myqcloud.com/components/header.2.0.30.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.37.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.12.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.02.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/space.2.0.02.js></script><script type=text/javascript src=./js/manifest.d344a897d83d276f0181.js></script><script type=text/javascript src=./js/vendor.83262e4cfa2bdc5790d4.js></script><script type=text/javascript src=./js/app.73fbe4c0b864d36d7a38.js></script></body></html>
\ No newline at end of file
<<<<<<< HEAD
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/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=./css/app.d2b6d74631e24680e4964efedc259005.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.file.myqcloud.com/components/header.2.0.30.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.37.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.12.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.02.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/space.2.0.02.js></script><script type=text/javascript src=./js/manifest.d344a897d83d276f0181.js></script><script type=text/javascript src=./js/vendor.83262e4cfa2bdc5790d4.js></script><script type=text/javascript src=./js/app.73fbe4c0b864d36d7a38.js></script></body></html>
=======
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/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=./css/app.7c7a50066cefa8c58305d6810cde72e5.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.file.myqcloud.com/components/header.2.0.30.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.42.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.11.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.02.js></script><script src=//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/space.2.0.02.js></script><script type=text/javascript src=./js/manifest.0879c49af13d18914bda.js></script><script type=text/javascript src=./js/vendor.c7b16a858aebe5d546c9.js></script><script type=text/javascript src=./js/app.68804cd4f93d24f0cd4c.js></script></body></html>
>>>>>>> d8b580fb2514c25e5b1f869226f84ccf14e710bc
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([20],{WUmb:function(e,t){},kVpV:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("AKaA"),r=a("WSiR"),o=a("NTL1"),l=a("8V46"),s={data:function(){return{navpath:[{name:"首页",path:""},{name:"微信会员",path:""},{name:"批量导入",path:""},{name:"日志详情",path:""}],tableData:[],page:{currentPage:1,pageSize:20,totalCount:0},integralType:"积分扣除",count:{all:0,success:0,error:0},batchId:"",batchType:""}},methods:{exportExcel:function(){window.location.href=o.a.downloadErrorData+"?requestProject=member&batchType="+this.batchType+"&batchId="+this.batchId},handleCurrentChange:function(e){this.page.currentPage=e,this.getLogsDetail()},handleSizeChange:function(e){this.page.pageSize=e,this.getLogsDetail()},getLogsDetail:function(){var e=this,t={batchId:this.batchId,batchType:this.batchType,currentPage:this.page.currentPage,pageSize:this.page.pageSize};Object(n.b)(o.a.queryBatchRetErrInfo,t).then(function(t){if(0==t.data.errorCode){var a=t.data.result;console.log(a),e.page.totalCount=a.totalCount,e.tableData=a.result}else Object(l.a)(t.data.message)}).catch(function(e){Object(l.b)(e)})}},created:function(){console.log(sessionStorage.getItem("bulkLogsDetail"));var e=JSON.parse(sessionStorage.getItem("bulkLogsDetail")),t=e.batchId,a=e.batchType,n=e.total,r=e.succeedNum,o=e.errorNum;this.batchId=t,this.batchType=a,console.log(this.batchType),this.count.all=n,this.count.success=r,this.count.error=o,this.getLogsDetail()},components:{NavPath:r.a}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"bulkLogsDetail"}},[a("nav-path",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"contentBulkIntegral"},[a("div",{staticClass:"contentInfo"},[a("div",{staticClass:"flex"},[a("span",{staticClass:"headerTips"},[e._v("总条数:"+e._s(e.count.all)+" 条,成功导入 "+e._s(e.count.success)+" 条,"),a("span",{staticClass:"headerTipsError"},[e._v("错误 "+e._s(e.count.error)+" 条")])]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai"}),e._v(" 导出")])],1),e._v(" "),a("el-table",{attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"sequence",label:"序号"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.sequence||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"errorCause",label:"错误提示"}}),e._v(" "),a("el-table-column",{attrs:{prop:"cardNum",label:"会员卡号"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.cardNum||"--")+"\n ")]}}])}),e._v(" "),11==e.batchType||12==e.batchType?a("el-table-column",{attrs:{prop:"opIntegral",label:"变更额度"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.opIntegral||"--")+"\n ")]}}],null,!1,761788206)}):e._e(),e._v(" "),11==e.batchType?a("el-table-column",{attrs:{label:"成本主体"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.costStoreName||"--")+"\n ")]}}],null,!1,1787028140)}):e._e(),e._v(" "),13==e.batchType?a("el-table-column",{attrs:{label:"等级编码"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.gradeCode||"--")+"\n ")]}}],null,!1,267654791)}):e._e(),e._v(" "),13==e.batchType?a("el-table-column",{attrs:{label:"等级名称"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.gradeName||"--")+"\n ")]}}],null,!1,3867179405)}):e._e(),e._v(" "),14==e.batchType?a("el-table-column",{attrs:{label:"门店代码"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.costStoreCode||"--")+"\n ")]}}],null,!1,2930117414)}):e._e(),e._v(" "),14==e.batchType?a("el-table-column",{attrs:{label:"门店名称"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.costStoreName||"--")+"\n ")]}}],null,!1,1787028140)}):e._e(),e._v(" "),a("el-table-column",{attrs:{prop:"remark",label:"原因备注"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.remark||"--")+"\n ")]}}])})],1),e._v(" "),e.tableData.length>0?a("el-pagination",{attrs:{background:"","current-page":e.page.currentPage,"page-sizes":[20,40,60,80],"page-size":e.page.pageSize,layout:"total, sizes, prev, pager, next",total:e.page.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var u=a("C7Lr")(s,c,!1,function(e){a("WUmb")},"data-v-7a090013",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([20],{K0PR:function(e,t){},kVpV:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("AKaA"),r=a("WSiR"),o=a("NTL1"),l=a("8V46"),s={data:function(){return{navpath:[{name:"首页",path:""},{name:"微信会员",path:""},{name:"批量导入",path:""},{name:"日志详情",path:""}],tableData:[],page:{currentPage:1,pageSize:20,totalCount:0},integralType:"积分扣除",count:{all:0,success:0,error:0},batchId:"",batchType:""}},methods:{exportExcel:function(){window.location.href=o.a.downloadErrorData+"?requestProject=member&batchType="+this.batchType+"&batchId="+this.batchId},handleCurrentChange:function(e){this.page.currentPage=e,this.getLogsDetail()},handleSizeChange:function(e){this.page.pageSize=e,this.getLogsDetail()},getLogsDetail:function(){var e=this,t={batchId:this.batchId,batchType:this.batchType,currentPage:this.page.currentPage,pageSize:this.page.pageSize};Object(n.b)(o.a.queryBatchRetErrInfo,t).then(function(t){if(0==t.data.errorCode){var a=t.data.result;console.log(a),e.page.totalCount=a.totalCount,e.tableData=a.result}else Object(l.a)(t.data.message)}).catch(function(e){Object(l.b)(e)})}},created:function(){console.log(sessionStorage.getItem("bulkLogsDetail"));var e=JSON.parse(sessionStorage.getItem("bulkLogsDetail")),t=e.batchId,a=e.batchType,n=e.total,r=e.succeedNum,o=e.errorNum;this.batchId=t,this.batchType=a,console.log(this.batchType),this.count.all=n,this.count.success=r,this.count.error=o,this.getLogsDetail()},components:{NavPath:r.a}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"bulkLogsDetail"}},[a("nav-path",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"contentBulkIntegral"},[a("div",{staticClass:"contentInfo"},[a("div",{staticClass:"flex"},[a("span",{staticClass:"headerTips"},[e._v("总条数:"+e._s(e.count.all)+" 条,成功导入 "+e._s(e.count.success)+" 条,"),a("span",{staticClass:"headerTipsError"},[e._v("错误 "+e._s(e.count.error)+" 条")])]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai"}),e._v(" 导出")])],1),e._v(" "),a("el-table",{attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"sequence",label:"序号"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.sequence||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"errorCause",label:"错误提示"}}),e._v(" "),a("el-table-column",{attrs:{prop:"cardNum",label:"会员卡号"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.cardNum||"--")+"\n ")]}}])}),e._v(" "),11==e.batchType||12==e.batchType?a("el-table-column",{attrs:{prop:"opIntegral",label:"变更额度"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.opIntegral||"--")+"\n ")]}}],null,!1,761788206)}):e._e(),e._v(" "),11==e.batchType?a("el-table-column",{attrs:{label:"成本主体"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.costStoreName||"--")+"\n ")]}}],null,!1,1787028140)}):e._e(),e._v(" "),13==e.batchType?a("el-table-column",{attrs:{label:"等级编码"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.gradeCode||"--")+"\n ")]}}],null,!1,267654791)}):e._e(),e._v(" "),13==e.batchType?a("el-table-column",{attrs:{label:"等级名称"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.gradeName||"--")+"\n ")]}}],null,!1,3867179405)}):e._e(),e._v(" "),14==e.batchType?a("el-table-column",{attrs:{label:"门店代码"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.costStoreCode||"--")+"\n ")]}}],null,!1,2930117414)}):e._e(),e._v(" "),14==e.batchType?a("el-table-column",{attrs:{label:"门店名称"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.costStoreName||"--")+"\n ")]}}],null,!1,1787028140)}):e._e(),e._v(" "),a("el-table-column",{attrs:{prop:"remark",label:"原因备注"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.remark||"--")+"\n ")]}}])})],1),e._v(" "),e.tableData.length>0?a("el-pagination",{attrs:{background:"","current-page":e.page.currentPage,"page-sizes":[20,40,60,80],"page-size":e.page.pageSize,layout:"total, sizes, prev, pager, next",total:e.page.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var u=a("C7Lr")(s,c,!1,function(e){a("K0PR")},"data-v-7a090013",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([26],{"j/xf":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("WSiR"),n=a("Rrai"),i={name:"album",components:{vNav:r.a,photoAlbum:n.default},data:function(){return{navpath:[{name:"首页",path:""},{name:"会员详情",path:""},{name:"相册",path:""}],memberId:"",from:""}},created:function(){var t=this.$route.query.from,e=this.$route.query.memberId;switch(this.memberId=e,this.from=t,t){case"0":this.navpath[1]={name:"会员详情",path:"/wechatmemberDetail?memberId="+e};break;case"1":this.navpath[1]={name:"会员详情",path:"/wechatTotalDetail?memberId="+e};break;default:this.navpath.splice(1,1)}}},m={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"page-content"},[e("v-nav",{attrs:{navpath:this.navpath}}),this._v(" "),e("photo-album",{attrs:{"member-id":this.memberId,from:this.from}}),this._v(" "),e("vue-gic-footer",{staticStyle:{"padding-bottom":"80px"}})],1)},staticRenderFns:[]};var s=a("C7Lr")(i,m,!1,function(t){a("vyU7")},"data-v-6a791518",null);e.default=s.exports},vyU7:function(t,e){}});
\ No newline at end of file
webpackJsonp([26],{QZH2:function(t,e){},"j/xf":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("WSiR"),n=a("Rrai"),i={name:"album",components:{vNav:r.a,photoAlbum:n.default},data:function(){return{navpath:[{name:"首页",path:""},{name:"会员详情",path:""},{name:"相册",path:""}],memberId:"",from:""}},created:function(){var t=this.$route.query.from,e=this.$route.query.memberId;switch(this.memberId=e,this.from=t,t){case"0":this.navpath[1]={name:"会员详情",path:"/wechatmemberDetail?memberId="+e};break;case"1":this.navpath[1]={name:"会员详情",path:"/wechatTotalDetail?memberId="+e};break;default:this.navpath.splice(1,1)}}},m={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"page-content"},[e("v-nav",{attrs:{navpath:this.navpath}}),this._v(" "),e("photo-album",{attrs:{"member-id":this.memberId,from:this.from}}),this._v(" "),e("vue-gic-footer",{staticStyle:{"padding-bottom":"80px"}})],1)},staticRenderFns:[]};var s=a("C7Lr")(i,m,!1,function(t){a("QZH2")},"data-v-6a791518",null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([29],{"6RDS":function(t,e){},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("C7Lr")(n,r,!1,function(t){o("6RDS")},"data-v-6892081c",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([29],{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("C7Lr")(n,r,!1,function(t){o("xuR6")},"data-v-6892081c",null);e.default=c.exports},xuR6:function(t,e){}});
\ No newline at end of file
webpackJsonp([3],{GlIC:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("lC5x"),o=r.n(n),a=r("J0Oq"),i=r.n(a),u=r("WSiR"),c=r("Rrai"),s=r("l/JR"),h={name:"img-list",components:{vNav:u.a,photoAlbum:c.default},data:function(){return{api:{getOneMemberAlbum:"/api-member/getOneMemberAlbum"},navpath:[{name:"首页",path:""},{name:"会员详情",path:""},{name:"相册",path:""}],from:"",memberId:"",folderId:""}},created:function(){var t=this;return i()(o.a.mark(function e(){var r,n,a,i;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$route.query.from,n=t.$route.query.memberId,a=t.$route.query.folderId,t.from=r,t.memberId=n,t.folderId=a,e.next=8,t.getImgList();case 8:i=t.folderData.filter(function(t){return t.id===a}),t.navpath[2]={name:"相册",path:"/photo-album?memberId="+n+"&from="+r},i.length>0&&t.navpath.push({name:i[0].name,path:""}),e.t0=r,e.next="0"===e.t0?14:"1"===e.t0?16:18;break;case 14:return t.navpath[1]={name:"会员详情",path:"/wechatmemberDetail?memberId="+n},e.abrupt("break",19);case 16:return t.navpath[1]={name:"会员详情",path:"/wechatTotalDetail?memberId="+n},e.abrupt("break",19);case 18:t.navpath.splice(1,1);case 19:case"end":return e.stop()}},e,t)}))()},methods:{getImgList:function(){var t=this;return s.a.get(this.api.getOneMemberAlbum+"/"+this.memberId).then(function(e){var r=e.data,n=r.code,o=r.message,a=r.data;a=a||[],200===n?t.folderData=a.slice():t.$message.error(o)})}}},f={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"page-content"},[e("v-nav",{attrs:{navpath:this.navpath}}),this._v(" "),e("photo-album",{attrs:{"member-id":this.memberId,"folder-id":this.folderId}}),this._v(" "),e("vue-gic-footer",{staticStyle:{"padding-bottom":"80px"}})],1)},staticRenderFns:[]};var l=r("C7Lr")(h,f,!1,function(t){r("V4jk")},"data-v-0b0802d6",null);e.default=l.exports},J0Oq:function(t,e,r){"use strict";e.__esModule=!0;var n,o=r("rVsN"),a=(n=o)&&n.__esModule?n:{default:n};e.default=function(t){return function(){var e=t.apply(this,arguments);return new a.default(function(t,r){return function n(o,i){try{var u=e[o](i),c=u.value}catch(t){return void r(t)}if(!u.done)return a.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}("next")})}}},V4jk:function(t,e){},XqSp:function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("k9rz"),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},k9rz:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag",s="object"==typeof t,h=e.regeneratorRuntime;if(h)s&&(t.exports=h);else{(h=e.regeneratorRuntime=s?t.exports:{}).wrap=b;var f="suspendedStart",l="suspendedYield",p="executing",m="completed",d={},v={};v[i]=function(){return this};var y=Object.getPrototypeOf,g=y&&y(y(S([])));g&&g!==n&&o.call(g,i)&&(v=g);var w=E.prototype=L.prototype=Object.create(v);_.prototype=w.constructor=E,E.constructor=_,E[c]=_.displayName="GeneratorFunction",h.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},h.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},h.awrap=function(t){return{__await:t}},O(I.prototype),I.prototype[u]=function(){return this},h.AsyncIterator=I,h.async=function(t,e,r,n){var o=new I(b(t,e,r,n));return h.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},O(w),w[c]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},h.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},h.values=S,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),d}}}function b(t,e,r,n){var o=e&&e.prototype instanceof L?e:L,a=Object.create(o.prototype),i=new N(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===m){if("throw"===o)throw a;return G()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=k(i,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=x(t,e,r);if("normal"===c.type){if(n=r.done?m:l,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=m,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function x(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function L(){}function _(){}function E(){}function O(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function I(t){var e;this._invoke=function(r,n){function a(){return new Promise(function(e,a){!function e(r,n,a,i){var u=x(t[r],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,a,i)},function(t){e("throw",t,a,i)}):Promise.resolve(s).then(function(t){c.value=t,a(c)},i)}i(u.arg)}(r,n,e,a)})}return e=e?e.then(a,a):a()}}function k(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,k(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=x(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,d):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:G}}function G(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},lC5x:function(t,e,r){t.exports=r("XqSp")}});
\ No newline at end of file
webpackJsonp([3],{GlIC:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("lC5x"),o=r.n(n),a=r("J0Oq"),i=r.n(a),u=r("WSiR"),c=r("Rrai"),s=r("l/JR"),h={name:"img-list",components:{vNav:u.a,photoAlbum:c.default},data:function(){return{api:{getOneMemberAlbum:"/api-member/getOneMemberAlbum"},navpath:[{name:"首页",path:""},{name:"会员详情",path:""},{name:"相册",path:""}],from:"",memberId:"",folderId:""}},created:function(){var t=this;return i()(o.a.mark(function e(){var r,n,a,i;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$route.query.from,n=t.$route.query.memberId,a=t.$route.query.folderId,t.from=r,t.memberId=n,t.folderId=a,e.next=8,t.getImgList();case 8:i=t.folderData.filter(function(t){return t.id===a}),t.navpath[2]={name:"相册",path:"/photo-album?memberId="+n+"&from="+r},i.length>0&&t.navpath.push({name:i[0].name,path:""}),e.t0=r,e.next="0"===e.t0?14:"1"===e.t0?16:18;break;case 14:return t.navpath[1]={name:"会员详情",path:"/wechatmemberDetail?memberId="+n},e.abrupt("break",19);case 16:return t.navpath[1]={name:"会员详情",path:"/wechatTotalDetail?memberId="+n},e.abrupt("break",19);case 18:t.navpath.splice(1,1);case 19:case"end":return e.stop()}},e,t)}))()},methods:{getImgList:function(){var t=this;return s.a.get(this.api.getOneMemberAlbum+"/"+this.memberId).then(function(e){var r=e.data,n=r.code,o=r.message,a=r.data;a=a||[],200===n?t.folderData=a.slice():t.$message.error(o)})}}},f={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"page-content"},[e("v-nav",{attrs:{navpath:this.navpath}}),this._v(" "),e("photo-album",{attrs:{"member-id":this.memberId,"folder-id":this.folderId}}),this._v(" "),e("vue-gic-footer",{staticStyle:{"padding-bottom":"80px"}})],1)},staticRenderFns:[]};var l=r("C7Lr")(h,f,!1,function(t){r("kx4U")},"data-v-0b0802d6",null);e.default=l.exports},J0Oq:function(t,e,r){"use strict";e.__esModule=!0;var n,o=r("rVsN"),a=(n=o)&&n.__esModule?n:{default:n};e.default=function(t){return function(){var e=t.apply(this,arguments);return new a.default(function(t,r){return function n(o,i){try{var u=e[o](i),c=u.value}catch(t){return void r(t)}if(!u.done)return a.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}("next")})}}},XqSp:function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("k9rz"),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},k9rz:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag",s="object"==typeof t,h=e.regeneratorRuntime;if(h)s&&(t.exports=h);else{(h=e.regeneratorRuntime=s?t.exports:{}).wrap=b;var f="suspendedStart",l="suspendedYield",p="executing",m="completed",d={},v={};v[i]=function(){return this};var y=Object.getPrototypeOf,g=y&&y(y(S([])));g&&g!==n&&o.call(g,i)&&(v=g);var w=E.prototype=L.prototype=Object.create(v);_.prototype=w.constructor=E,E.constructor=_,E[c]=_.displayName="GeneratorFunction",h.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},h.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},h.awrap=function(t){return{__await:t}},O(I.prototype),I.prototype[u]=function(){return this},h.AsyncIterator=I,h.async=function(t,e,r,n){var o=new I(b(t,e,r,n));return h.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},O(w),w[c]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},h.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},h.values=S,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),d}}}function b(t,e,r,n){var o=e&&e.prototype instanceof L?e:L,a=Object.create(o.prototype),i=new N(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===m){if("throw"===o)throw a;return G()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=k(i,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=x(t,e,r);if("normal"===c.type){if(n=r.done?m:l,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=m,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function x(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function L(){}function _(){}function E(){}function O(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function I(t){var e;this._invoke=function(r,n){function a(){return new Promise(function(e,a){!function e(r,n,a,i){var u=x(t[r],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,a,i)},function(t){e("throw",t,a,i)}):Promise.resolve(s).then(function(t){c.value=t,a(c)},i)}i(u.arg)}(r,n,e,a)})}return e=e?e.then(a,a):a()}}function k(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,k(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=x(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,d):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:G}}function G(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},kx4U:function(t,e){},lC5x:function(t,e,r){t.exports=r("XqSp")}});
\ No newline at end of file
webpackJsonp([40],{ae7D:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("WSiR"),i=a("AKaA"),n=a("8V46"),c=a("7Adc"),r={components:{"v-nav":s.a},data:function(){return{navpath:[{name:"首页",path:""},{name:"微信会员",path:"/wechatmembers"},{name:"会员设置",path:""}],value:!1,projectName:"member",actionUrl:"/api-plug/upload-img",dilogVisible:!1,maxlength:5,dilogImageUrl:""}},methods:{uploadOnSuccess:function(t){t.file.url=t.res.result[0].qcloudImageUrl,this.imageList.push(t.file)},deleteImage:function(t){this.imageList.splice(t,1)},saveSet:function(t){var e=this;Object(i.a)("/api-member/members-setting",{optype:t,appStatus:this.value?1:0}).then(function(a){0===a.data.errorCode?(1==a.data.result.appStatus&&(e.value=!0),2==t&&(e.$message({message:"设置成功!",type:"success"}),Object(c.setTimeout)(function(){e.$router.push({path:"/wechatmembers"})},1e3))):Object(n.a)(a.data.message)})},sortImg:function(t){this.imageList=t}},created:function(){this.saveSet(1),this.$store.commit("mutations-slide",!0)}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"member-setting"},[a("div",{staticClass:"minheight"},[a("v-nav",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"setting-con"},[a("div",{staticClass:"setting-container"},[a("el-switch",{model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),a("span",{staticClass:"member-setting-txt"},[t._v("是否允许好办通过会员姓名、手机号和卡号搜索查询全品牌会员")])],1),t._v(" "),a("div",{staticClass:"save-btn"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.saveSet(2)}}},[t._v("保存")])],1)])],1),t._v(" "),a("div",{staticClass:"footer-box"},[a("vue-gic-footer")],1)])},staticRenderFns:[]};var u=a("C7Lr")(r,o,!1,function(t){a("n66h")},"data-v-04000bb2",null);e.default=u.exports},n66h:function(t,e){}});
\ No newline at end of file
webpackJsonp([40],{ae7D:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("WSiR"),i=a("AKaA"),n=a("8V46"),c=a("9r/T"),r={components:{"v-nav":s.a},data:function(){return{navpath:[{name:"首页",path:""},{name:"微信会员",path:"/wechatmembers"},{name:"会员设置",path:""}],value:!1,projectName:"member",actionUrl:"/api-plug/upload-img",dilogVisible:!1,maxlength:5,dilogImageUrl:""}},methods:{uploadOnSuccess:function(t){t.file.url=t.res.result[0].qcloudImageUrl,this.imageList.push(t.file)},deleteImage:function(t){this.imageList.splice(t,1)},saveSet:function(t){var e=this;Object(i.a)("/api-member/members-setting",{optype:t,appStatus:this.value?1:0}).then(function(a){0===a.data.errorCode?(1==a.data.result.appStatus&&(e.value=!0),2==t&&(e.$message({message:"设置成功!",type:"success"}),Object(c.setTimeout)(function(){e.$router.push({path:"/wechatmembers"})},1e3))):Object(n.a)(a.data.message)})},sortImg:function(t){this.imageList=t}},created:function(){this.saveSet(1),this.$store.commit("mutations-slide",!0)}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"member-setting"},[a("div",{staticClass:"minheight"},[a("v-nav",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"setting-con"},[a("div",{staticClass:"setting-container"},[a("el-switch",{model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),a("span",{staticClass:"member-setting-txt"},[t._v("是否允许好办通过会员姓名、手机号和卡号搜索查询全品牌会员")])],1),t._v(" "),a("div",{staticClass:"save-btn"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.saveSet(2)}}},[t._v("保存")])],1)])],1),t._v(" "),a("div",{staticClass:"footer-box"},[a("vue-gic-footer")],1)])},staticRenderFns:[]};var u=a("C7Lr")(r,o,!1,function(t){a("n66h")},"data-v-04000bb2",null);e.default=u.exports},n66h:function(t,e){}});
\ No newline at end of file
webpackJsonp([6],{"/HCr":function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("2X9c"),a=i.n(e),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=i("C7Lr")(r,n,!1,function(t){i("uiK1")},"data-v-56ad123d",null);s.default=c.exports},"2X9c":function(t,s,i){t.exports=i.p+"img/error_500.af3a106.svg"},uiK1: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("C7Lr")(r,n,!1,function(t){e("IIEL")},"data-v-56ad123d",null);s.default=c.exports},"2X9c":function(t,s,e){t.exports=e.p+"img/error_500.af3a106.svg"},IIEL:function(t,s){}});
\ No newline at end of file
webpackJsonp([9],{Minx:function(t,s,e){t.exports=e.p+"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("C7Lr")(n,r,!1,function(t){e("nO83")},"data-v-080144af",null);s.default=c.exports},nO83:function(t,s){}});
\ No newline at end of file
webpackJsonp([9],{Minx:function(t,s,e){t.exports=e.p+"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("C7Lr")(n,r,!1,function(t){e("yvUq")},"data-v-080144af",null);s.default=c.exports},yvUq:function(t,s){}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(f,n,r){for(var t,b,o,u=0,i=[];u<f.length;u++)b=f[u],c[b]&&i.push(c[b][0]),c[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(a&&a(f,n,r);i.length;)i.shift()();if(r)for(u=0;u<r.length;u++)o=d(d.s=r[u]);return o};var f={},c={44:0};function d(a){if(f[a])return f[a].exports;var c=f[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var a=c[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var f=new Promise(function(f,d){a=c[e]=[f,d]});a[2]=f;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"js/"+e+"."+{0:"48d73f08769bfb6a20c3",1:"c2d433a5c7f40d7eb7df",2:"3a48632976c394106afd",3:"7999e9ba4e3705ec2b86",4:"3c0d96aa67dd78838c57",5:"c13d4327db07b4028d31",6:"70f901f8adaa15ae6bba",7:"2e7ecbfeb02ab4825b21",8:"7a6b502724f7f2b8f40e",9:"f0f75ecd9462bc8e3da5",10:"f1f37616a9c6fee722f3",11:"d7f1d0d71d1da40eed65",12:"80297e50891d1778df81",13:"b4654ec6df046055ba18",14:"6dbe3149004e1e5bd659",15:"15a12c29daa32fbcfe19",16:"4356070f5ce64ed4e745",17:"7512d417d86e63e1d91e",18:"f595c25fdb4012c9701b",19:"624beb319339d7b46fe5",20:"789e86b0b680a0ba1834",21:"d690de5db8ae1f0832b6",22:"64aad0d052315eac508e",23:"d84f559f115a9208b3d4",24:"e704b7ad7f10bb8e0b1c",25:"eefdf1e6269369eb3fb3",26:"7a40ce7f604e4413aca9",27:"ec544727a81b4a1746ef",28:"5465fe3672dc99e2ceab",29:"e85706ea969bf1d92bf9",30:"29dcc64705fab1d22354",31:"60cd53a29cd332f01b21",32:"2e7336b455abc5ff18fd",33:"4f91e99bb4d59ff216fe",34:"60cff7bd3f23ee43e886",35:"3caabe45d97ac6ce9a7f",36:"00a32f4dfb58785ee413",37:"91efab4a9358a66227fd",38:"a809e465a0c7fa0773d4",39:"00c7545693c2073ac9ac",40:"42ed4cf9f5830ccb740c",41:"8766a8497fdb2c1f20cc"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var a=c[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),f},d.m=e,d.c=f,d.d=function(e,a,f){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -22,7 +22,7 @@
<!-- built files will be auto injected -->
<script src="//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/elementUI/index.2.5.4.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/header.2.0.30.js"></script>
<script src="//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.37.js"></script>
<script src="//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.42.js"></script>
<script src="//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.12.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>
......@@ -31,3 +31,5 @@
<script src="//web-1251519181.file.myqcloud.com/components/space.2.0.02.js"></script>
</body>
</html>
......@@ -147,10 +147,15 @@ export default {
let temp = '';
if(val) {
let oldval = JSON.parse(val);
let nowval = oldval.map(item => {
return `${item.key}: ${item.value}`
// let nowval = oldval.map(item => {
// return `${item.key}: ${item.value}`
// })
// temp = nowval[0];
let nowval = '';
oldval.forEach(item => {
nowval += `${item.key}: ${item.value}`
})
temp = nowval[0];
temp = nowval;
} else {
temp = '--';
}
......@@ -223,9 +228,21 @@ export default {
this.$refs.gradeForm.resetFields();
},
handlerGrade() {
this.getGradeList();
this.gradeForm.gradeId = this.posMemberInfo.gradeId;
this.dialogGradeVisible = true;
if(this.memberInfo.erpCalcGrade) {
this.$confirm('因为等级由ERP计算,请前往ipos或ERP进行修改,避免等级同步不一致', '提示', {
confirmButtonText: '继续修改',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dialogGradeVisible = true;
})
} else {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dialogGradeVisible = true;
}
},
getcodeList() {
doFetch(url.codeList).then(res => {
......
......@@ -693,9 +693,21 @@ export default {
this.$refs.gradeForm.resetFields();
},
handlerGrade() {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dilogGradeVisible = true;
if(this.memberInfo.erpCalcGrade) {
this.$confirm('因为等级由ERP计算,请前往ipos或ERP进行修改,避免等级同步不一致', '提示', {
confirmButtonText: '继续修改',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dilogGradeVisible = true;
})
} else {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dilogGradeVisible = true;
}
},
cardDetail(memberId) {
this.$router.push({
......
......@@ -448,7 +448,7 @@
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogGradeVisible = false">取 消</el-button>
<el-button @click="dilogGradeVisible = false">取 消</el-button>
<el-button type="primary" @click="submitGrade('gradeForm')">确 定</el-button>
</span>
</el-dialog>
......
......@@ -694,9 +694,21 @@ export default {
this.$refs.gradeForm.resetFields();
},
handlerGrade() {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dilogGradeVisible = true;
if(this.memberInfo.erpCalcGrade) {
this.$confirm('因为等级由ERP计算,请前往ipos或ERP进行修改,避免等级同步不一致', '提示', {
confirmButtonText: '继续修改',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dilogGradeVisible = true;
})
} else {
this.getGradeList();
this.gradeForm.gradeId = this.memberInfo.gradeId;
this.dilogGradeVisible = true;
}
},
cardDetail(memberId) {
this.$router.push({
......
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