新版交易所前段管理后台
1
jhzh
2025-09-10 f6b255f15d0acd8f4cb5a2c1528d9c5d75794cf4
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5f5289ec"],{"59b6":function(t,e,a){"use strict";a("64ce")},"64ce":function(t,e,a){},e6a5:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mod-bank_pay_mgr"},[a("avue-crud",{ref:"crud",attrs:{page:t.page,data:t.dataList,option:t.tableOption},on:{"update:page":function(e){t.page=e},"search-change":t.searchChange,"selection-change":t.selectionChange,"on-load":t.getDataList},scopedSlots:t._u([{key:"methodImg",fn:function(t){return[a("img",{attrs:{src:t.row.methodImgUrl,alt:"",width:"100"}})]}},{key:"qrcode",fn:function(t){return[a("img",{attrs:{src:t.row.qrcodeImg,alt:""}})]}},{key:"npOne",fn:function(e){return[a("span",[t._v(t._s(e.row.paramName1+":"+e.row.paramValue1))])]}},{key:"npTwo",fn:function(e){return[e.row.paramName2?a("span",[t._v(t._s(e.row.paramName2+":"+(e.row.paramValue2?e.row.paramValue2:"")))]):t._e()]}},{key:"npThree",fn:function(e){return[e.row.paramName3?a("span",[t._v(t._s(e.row.paramName3+":"+(e.row.paramValue3?e.row.paramValue3:"")))]):t._e()]}},{key:"moreNp",fn:function(e){return[a("span",{staticClass:"speacButton",on:{click:function(a){return t.moreNp(e.row)}}},[t._v("点击查看")])]}},{key:"menu",fn:function(e){return[t.isAuth("sys:user:update")?a("el-button",{attrs:{type:"primary",icon:"el-icon-edit",size:"small"},on:{click:function(a){return a.stopPropagation(),t.addOrUpdateHandle(e.row.uuid)}}},[t._v("编辑")]):t._e(),a("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"small"},on:{click:function(a){return a.stopPropagation(),t.deleteHandle(e.row.uuid)}}},[t._v("删除")])]}}])},[a("template",{slot:"menuLeft"},[t.isAuth("sys:user:save")?a("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"small"},on:{click:function(e){return e.stopPropagation(),t.addOrUpdateHandle()}}},[t._v("新增支付方式")]):t._e()],1),a("template",{slot:"ndhSearch"},[a("avue-select",{attrs:{placeholder:"请选择支付方式",dic:t.options},model:{value:t.options.id,callback:function(e){t.$set(t.options,"id",e)},expression:"options.id"}})],1)],2),t.addOrUpdateVisible?a("add-or-update",{ref:"addOrUpdate",on:{refreshDataList:t.getDataList}}):t._e(),t.ctcmgrReachDate?a("ctcmgr-reach-date",{ref:"addOrUpdateTwo",on:{refreshDataListTwo:t.getDataList}}):t._e(),t.addOrUpdateVisibleThree?a("ctc-delet-update",{ref:"addOrUpdateThree",on:{refreshDataListThree:t.getDataList}}):t._e()],1)},n=[],i=a("cebd"),s=a("00d8"),o=a("ae56"),d=a("914e"),c={data(){return{options:[],dataList:[],dataListLoading:!1,ctcmgrReachDate:!1,addOrUpdateVisibleThree:!1,dataListSelections:[],addOrUpdateVisible:!1,tableOption:i["a"],searchParams:{},page:{total:0,currentPage:1,pageSize:10}}},components:{AddOrUpdate:s["default"],CtcmgrReachDate:o["default"],CtcDeletUpdate:d["default"]},created(){this.getC2cPaymentMethodType()},methods:{getDataList(t,e){const a={current:null==t?this.page.currentPage:t.currentPage,size:null==t?this.page.pageSize:t.pageSize,...this.searchParams};this.dataListLoading=!0;let r="";r=this.options.id?this.options.id:"",this.$http({url:this.$http.adornUrl("/paymentMethod/list"),method:"post",data:this.$http.adornData(Object.assign({methodType:r,current:null==t?this.page.currentPage:t.currentPage,size:null==t?this.page.pageSize:t.pageSize},a))}).then(({data:t})=>{this.dataList=t.data.records,this.page.total=t.data.total,this.dataListLoading=!1,e&&e()})},getC2cPaymentMethodType(t,e,a){this.dataListLoading=!0,this.$http({url:this.$http.adornUrl("/paymentMethodConfig/getC2cPaymentMethodType"),method:"get",params:this.$http.adornParams(Object.assign({},e),!1)}).then(({data:t})=>{0==t.code&&(t.data.forEach((e,a)=>{t.data[a].label=e.name,t.data[a].value=e.id}),this.options=t.data),a&&a()})},moreNp(t){this.ctcmgrReachDate=!0,this.$nextTick(()=>{this.$refs.addOrUpdateTwo.init(t)})},searchChange(t,e){this.page.currentPage=1,this.searchParams=t,this.getDataList(this.page,e)},selectionChange(t){this.dataListSelections=t},addOrUpdateHandle(t){this.addOrUpdateVisible=!0,this.$nextTick(()=>{this.$refs.addOrUpdate.init(t)})},deleteHandle(t){this.addOrUpdateVisibleThree=!0,this.$nextTick(()=>{this.$refs.addOrUpdateThree.init(t)})}}},p=c,l=(a("59b6"),a("2877")),h=Object(l["a"])(p,r,n,!1,null,"340b67e2",null);e["default"]=h.exports}}]);