1 line
5.2 KiB
JavaScript
1 line
5.2 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fadb14e4"],{69441:function(t,i,e){"use strict";e("6c2e")},"6c2e":function(t,i,e){var s=e("6d9e");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var a=e("499e").default;a("4bb4edac",s,!0,{sourceMap:!1,shadowMode:!1})},"6d9e":function(t,i,e){var s=e("24fb");i=s(!1),i.push([t.i,"#store_verification .top_title[data-v-81f1bf8e]{height:8.79rem;background-color:#3b3b3b;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#store_verification .top_title img[data-v-81f1bf8e]{width:4.29rem;height:4.29rem;border-radius:50%;margin:1.89rem 0 0 1.79rem}#store_verification .top_title .rigth[data-v-81f1bf8e]{margin:1.89rem 0 0 1.04rem;color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;text-align:left}#store_verification .top_title .rigth .rigth_name[data-v-81f1bf8e]{font-size:23px;margin-bottom:.75rem;text-align:left}#store_verification .bottom_list[data-v-81f1bf8e]{background:#fff}#store_verification .bottom_list div[data-v-81f1bf8e]:last-child{padding-bottom:1.68rem}#store_verification .bottom_list .list[data-v-81f1bf8e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:1.68rem 1.07rem 0 1.07rem;font-size:18px}#store_verification .bottom_list .list .iconfont[data-v-81f1bf8e]{color:#ce811d}#store_verification .bottom_list .list .list_icon[data-v-81f1bf8e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#store_verification .bottom_list .list .list_icon .iconfont[data-v-81f1bf8e]{margin-right:.4rem}",""]),t.exports=i},f5837:function(t,i,e){"use strict";e.r(i);var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{attrs:{id:"store_verification"}},[e("c-title",{attrs:{text:"多商户核销"}}),e("div",{staticClass:"top_title"},[e("img",{attrs:{src:t.member_avatar_image,alt:""}}),e("div",{staticClass:"rigth"},[e("span",{staticClass:"rigth_name"},[t._v(t._s(t.member_nickname))]),e("span",{staticClass:"rigth_id"},[t._v("id:"+t._s(t.member_uid))])])]),e("div",{staticClass:"bottom_list"},[e("div",{staticClass:"list project_all",on:{click:t.btnProjectAll}},[e("span",{staticClass:"list_icon"},[e("i",{staticClass:"iconfont icon-fontclass-jianglijilu"}),t._v(t._s(t.projectName)+"大全")]),e("van-icon",{attrs:{name:"arrow"}})],1),e("div",{staticClass:"list my_project",on:{click:t.btnMyProject}},[e("span",{staticClass:"list_icon"},[e("i",{staticClass:"iconfont icon-fontclass-shangpindingdan"}),t._v("我的"+t._s(t.projectName))]),e("van-icon",{attrs:{name:"arrow"}})],1),e("div",{staticClass:"list write_off",on:{click:t.btnWriteOff}},[t._m(0),e("van-icon",{attrs:{name:"arrow"}})],1),t.is_boss?e("div",{staticClass:"list store_record",on:{click:t.btnStoreRecord}},[t._m(1),e("van-icon",{attrs:{name:"arrow"}})],1):t._e(),t.is_worker?e("div",{staticClass:"list verification_record",on:{click:t.btnVerificationRecord}},[t._m(2),e("van-icon",{attrs:{name:"arrow"}})],1):t._e()])],1)},a=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("span",{staticClass:"list_icon"},[e("i",{staticClass:"iconfont icon-fontclass-dingdanguanli"}),t._v("使用记录")])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("span",{staticClass:"list_icon"},[e("i",{staticClass:"iconfont icon-massage_apply"}),t._v("商户记录")])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("span",{staticClass:"list_icon"},[e("i",{staticClass:"iconfont icon-yq_massage"}),t._v("核销员记录")])}],n=e("6968"),o={data:function(){return{is_boss:"",is_worker:"",member_avatar_image:"",member_nickname:"",member_uid:"",projectName:""}},activated:function(){this.getHomeData(),this.projectName=this.fun.getCustomTextLang("store_projects.project","项目")},methods:{btnProjectAll:function(){this.$router.push(this.fun.getUrl("VerificationProjectList"))},btnMyProject:function(){this.$router.push(this.fun.getUrl("MyProject"))},btnWriteOff:function(){this.$router.push(this.fun.getUrl("WriteOffRecord"))},btnStoreRecord:function(){this.$router.push(this.fun.getUrl("StoreRecords"))},btnVerificationRecord:function(){this.$router.push(this.fun.getUrl("VerificationRecord"))},getHomeData:function(){var t=this;$http.get("plugin.store-projects.frontend.index.get-base-info",{}," loading").then((function(i){1===i.result?(t.is_boss=i.data.is_boss,t.is_worker=i.data.is_worker,t.member_avatar_image=i.data.member_avatar_image,t.member_nickname=i.data.member_nickname,t.member_uid=i.data.member_uid):Toast(i.msg)})).catch((function(t){}))}},components:{cTitle:n["a"]}},r=o,c=r,l=(e("69441"),e("2877")),f=Object(l["a"])(c,s,a,!1,null,"81f1bf8e",null);i["default"]=f.exports}}]); |