You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xuan-pay-cweb/unpackage/dist/build/h5/static/js/pages-index-merchant-detail...

1 line
17 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-merchant-details-merchant-details"],{"0652":function(t,a,c){c("d3b7");var i=getApp();function n(t,a,c){return new Promise((function(n){uni.request({method:t,url:a,data:c,header:{Accept:"*/*","content-type":"application/json;charset=utf-8",Authorization:i.globalData.token},success:function(t){n(t),401!==t.statusCode&&102014!=t.data.return_code&&104001!=t.data.return_code||(i.globalData.userInfo="",i.globalData.token="",uni.setStorage({key:"user",data:""}),uni.setStorage({key:"token",data:""}),uni.showToast({title:"登录信息过期,请重新授权",icon:"none",duration:2e3,success:function(){setTimeout((function(){uni.navigateTo({url:"/pages/login/login"})}),2e3)}}))},fail:function(t){uni.showToast({title:"请求失败",icon:"none",duration:1500})}})}))}function e(t,a,c){return n(t,a,c)}t.exports={POST:e}},"13a5":function(t,a,c){"use strict";c.r(a);var i=c("27ee"),n=c.n(i);for(var e in i)"default"!==e&&function(t){c.d(a,t,(function(){return i[t]}))}(e);a["default"]=n.a},"27ee":function(t,a,c){"use strict";var i=c("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(c("6dd7")),e=c("cf43"),o={components:{QSTabs:n.default},data:function(){return{tabs:["商户信息","门店信息"],current:0,storeList:[1,2,3],merid:"",merDesInfo:""}},onLoad:function(t){this.merid=t.id,this.getMerDetail(this.merid)},methods:{change:function(t){this.$refs.tabs.setFinishCurrent(t),this.current=t},getMerDetail:function(t){var a=this;uni.showLoading({title:"加载中..."});var c={merId:t};(0,e.getMerDetail)(c).then((function(t){uni.hideLoading(),"000000"==t.return_code&&t.return_data?a.merDesInfo=t.return_data:uni.showToast({title:t.return_msg,duration:2e3,icon:"none"})}))},jumpstoredes:function(){uni.navigateTo({url:"../store-details/store-details"})}}};a.default=o},"56ab":function(t,a,c){var i=c("c8c5");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=c("4f06").default;n("b61530b2",i,!0,{sourceMap:!1,shadowMode:!1})},"644b":function(t,a,c){"use strict";var i;c.d(a,"b",(function(){return n})),c.d(a,"c",(function(){return e})),c.d(a,"a",(function(){return i}));var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",[i("v-uni-view",{staticClass:"backcorfff width100"},[i("QSTabs",{ref:"tabs",attrs:{tabs:t.tabs,animationMode:"line2",current:t.current,activeColor:"#089bf5",lineColor:"#089bf5",minWidth:"374"},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.change.apply(void 0,arguments)}}})],1),0==t.current?i("v-uni-view",{staticClass:"mart15 width100 backcorfff"},[i("v-uni-view",{staticClass:"notes"},[i("v-uni-view",{staticClass:"fcor666 width25"},[t._v("账号")]),i("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.merDesInfo.account.loginName))])],1),i("v-uni-view",{staticClass:"notes"},[i("v-uni-view",{staticClass:"fcor666 width25"},[t._v("商户ID")]),i("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.merDesInfo.merNo))])],1),i("v-uni-view",{staticClass:"notes"},[i("v-uni-view",{staticClass:"fcor666 width25"},[t._v("手机号")]),i("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.merDesInfo.regPhone))])],1),i("v-uni-view",{staticClass:"notes"},[i("v-uni-view",{staticClass:"fcor666 width25"},[t._v("商户状态")]),1==t.merDesInfo.account.status?i("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v("正常")]):t._e(),4==t.merDesInfo.account.status?i("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v("违规")]):t._e()],1),i("v-uni-view",{staticClass:"notes"},[i("v-uni-view",{staticClass:"fcor666 width25"},[t._v("联系人")]),i("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v("-")])],1),i("v-uni-view",{staticClass:"notes"},[i("v-uni-view",{staticClass:"fcor666 width25"},[t._v("身份证号")]),i("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v("-")])],1),i("v-uni-view",{staticClass:"notes"},[i("v-uni-view",{staticClass:"fco