@pangu-backend-ui/finance-core 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1574 -0
- package/index.umd.cjs +1 -0
- package/package.json +36 -0
- package/types/components/AlipayTransferDialog.vue.d.ts +32 -0
- package/types/components/RejectPopover.vue.d.ts +301 -0
- package/types/components/UserWithdraHistory/UserWithdrawHistoryComp.vue.d.ts +13 -0
- package/types/components/UserWithdraHistory/index.d.ts +6 -0
- package/types/components/UserWithdrawMethod/UserWithdrawMethodComp.vue.d.ts +14 -0
- package/types/components/UserWithdrawMethod/index.d.ts +6 -0
- package/types/components/index.d.ts +7 -0
- package/types/index.d.ts +9 -0
- package/types/routes/index.d.ts +6 -0
- package/types/types/InstallOptions.d.ts +4 -0
- package/types/views/PayHistoryListView.vue.d.ts +25 -0
- package/types/views/TransferHistoryListView.vue.d.ts +24 -0
- package/types/views/WithdrawHistoryListView.vue.d.ts +351 -0
- package/types/views/index.d.ts +4 -0
- package/web-types.json +13 -0
package/index.umd.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@pangu-backend-ui/user-core"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","@pangu-backend-ui/user-core","element-plus"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g["pg-user-core"]={},g.Vue,g.userCore,g["element-plus"]))})(this,function(g,e,R,U){"use strict";const P=e.defineComponent({__name:"UserWithdrawHistoryComp",props:["userId"],setup(w){const p=w,o=e.ref({userId:p.userId});return(d,c)=>{const n=e.resolveComponent("el-table-column"),C=e.resolveComponent("el-tag"),_=e.resolveComponent("pg-table");return e.openBlock(),e.createBlock(_,{"data-url":"/api/withdraw/records",condition:o.value},{columns:e.withCtx(()=>[e.createVNode(n,{prop:"id",label:"ID",align:"center",width:"80","show-overflow-tooltip":""}),e.createVNode(n,{prop:"amount",label:"提现金额",align:"center","show-overflow-tooltip":""}),e.createVNode(n,{label:"应到金额",prop:"actualAmount",align:"center"}),e.createVNode(n,{label:"状态",align:"center","show-overflow-tooltip":""},{default:e.withCtx(({row:f})=>[f.state==="SUBMITTED"?(e.openBlock(),e.createBlock(C,{key:0,type:"warning",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("待审批")]),_:1})):e.createCommentVNode("",!0),f.state==="REJECTED"?(e.openBlock(),e.createBlock(C,{key:1,type:"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("已驳回")]),_:1})):e.createCommentVNode("",!0),f.state==="WITHDRAW_FAILED"?(e.openBlock(),e.createBlock(C,{key:2,type:"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("提现失败")]),_:1})):e.createCommentVNode("",!0),f.state==="WITHDRAW_SUCCESS"?(e.openBlock(),e.createBlock(C,{key:3,type:"success",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("提现成功")]),_:1})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(n,{label:"费率",prop:"handlingFeeRate",align:"center"}),e.createVNode(n,{label:"手续费",prop:"handlingFee",align:"center"}),e.createVNode(n,{label:"驳回原因",prop:"rejectReason",align:"center"}),e.createVNode(n,{label:"创建时间",prop:"createdTime",width:"150",align:"center"})]),_:1},8,["condition"])}}}),A={install:()=>{R.useUserCoreConfigStore().userDetailDialogTabs.push({name:"提现历史",code:"WITHDRAW_HISTORY",component:e.shallowRef(P)})}},j=e.defineComponent({__name:"UserWithdrawMethodComp",props:["userId"],setup(w){const p=w,o=e.ref(),d=e.inject("http");function c(n){d==null||d.post(`/api/withdraw/method/${n}/invalid`).then(C=>{U.ElMessage.success("操作成功"),o.value.search()})}return(n,C)=>{const _=e.resolveComponent("el-table-column"),f=e.resolveComponent("el-image"),l=e.resolveComponent("el-tag"),s=e.resolveComponent("el-button"),x=e.resolveComponent("el-popconfirm"),h=e.resolveComponent("pg-table");return e.openBlock(),e.createBlock(h,{ref_key:"table",ref:o,"data-url":"/api/withdraw/method",condition:{userId:p.userId}},{columns:e.withCtx(()=>[e.createVNode(_,{prop:"id",label:"编号",width:"70",align:"center","show-overflow-tooltip":""}),e.createVNode(_,{prop:"platformName",label:"平台","min-width":"80","show-overflow-tooltip":""}),e.createVNode(_,{prop:"account",label:"帐号","min-width":"150"}),e.createVNode(_,{prop:"realName",label:"姓名",align:"center","min-width":"80","show-overflow-tooltip":""}),e.createVNode(_,{prop:"nickName",label:"昵称","min-width":"80","show-overflow-tooltip":""}),e.createVNode(_,{prop:"openId",label:"OpenId",align:"center","min-width":"80","show-overflow-tooltip":""}),e.createVNode(_,{prop:"qcCodeSrc",label:"二维码",align:"center","show-overflow-tooltip":""},{default:e.withCtx(({row:r})=>[r.qrCodeSrc?(e.openBlock(),e.createBlock(f,{key:0,src:r.qrCodeSrc,style:{width:"25px",height:"25px"},fit:"contain","preview-teleported":"","preview-src-list":[r.qrCodeSrc]},null,8,["src","preview-src-list"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(_,{label:"状态",prop:"status",align:"center",width:"80"},{default:e.withCtx(({row:r})=>[r.status=="VALID"?(e.openBlock(),e.createBlock(l,{key:0,type:"success"},{default:e.withCtx(()=>[e.createTextVNode("有效")]),_:1})):e.createCommentVNode("",!0),r.status=="INVALID"?(e.openBlock(),e.createBlock(l,{key:1,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode("失效")]),_:1})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(_,{label:"默认",align:"center",width:"60"},{default:e.withCtx(({row:r})=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.isDefault?"是":"否"),1)]),_:2},1024)]),_:1}),e.createVNode(_,{prop:"createdTime",label:"创建时间",width:"170","show-overflow-tooltip":""}),e.createVNode(_,{prop:"updatedTime",label:"修改时间",width:"170","show-overflow-tooltip":""}),e.createVNode(_,{align:"center",fixed:"right",width:"80",label:"操作"},{default:e.withCtx(({row:r})=>[r.status=="VALID"?(e.openBlock(),e.createBlock(x,{key:0,title:"确定要失效该提现方式吗?",onConfirm:b=>c(r.id)},{reference:e.withCtx(()=>[e.createVNode(s,{type:"danger",icon:"circle-close-filled",circle:""})]),_:2},1032,["onConfirm"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["condition"])}}}),W={install:()=>{R.useUserCoreConfigStore().userDetailDialogTabs.push({name:"提现方式",code:"WITHDRAW_METHOD",component:e.shallowRef(j)})}},$=[A,W],q={style:{display:"flex","flex-direction":"column"}},O={style:{display:"flex","justify-content":"end"}},z=e.defineComponent({__name:"RejectPopover",props:["withdrawId"],emits:["success"],setup(w,{emit:p}){const o=w,d=e.inject("http"),c=e.ref(!1),n=e.ref({rejectReason:null}),C=e.ref({rejectReason:[{required:!0,message:"请输入驳回原因"}]}),_=e.ref();function f(){var l;(l=_.value)==null||l.validate((s,x)=>{s&&(d==null||d.post(`/api/withdraw/${o.withdrawId}/reject`,n.value).then(h=>{c.value=!1,p("success")}))})}return(l,s)=>{const x=e.resolveComponent("el-button"),h=e.resolveComponent("el-input"),r=e.resolveComponent("el-form-item"),b=e.resolveComponent("el-form"),k=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(k,{visible:c.value,trigger:"click",width:"200",title:"确定要驳回吗?"},{reference:e.withCtx(()=>[e.createVNode(x,{type:"danger",onClick:s[0]||(s[0]=V=>c.value=!0)},{default:e.withCtx(()=>[e.createTextVNode("驳回")]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",q,[e.createVNode(b,{ref_key:"form",ref:_,rules:C.value,model:n.value},{default:e.withCtx(()=>[e.createVNode(r,{prop:"rejectReason"},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:n.value.rejectReason,"onUpdate:modelValue":s[1]||(s[1]=V=>n.value.rejectReason=V),type:"textarea",placeholder:"请输入驳回原因"},null,8,["modelValue"])]),_:1})]),_:1},8,["rules","model"]),e.createElementVNode("div",O,[e.createVNode(x,{size:"small",text:"",onClick:s[2]||(s[2]=V=>c.value=!1)},{default:e.withCtx(()=>[e.createTextVNode("取消")]),_:1}),e.createVNode(x,{size:"small",type:"primary",onClick:f},{default:e.withCtx(()=>[e.createTextVNode("确认")]),_:1})])])]),_:1},8,["visible"])}}}),J={style:{width:"100%",display:"flex","justify-content":"center","align-items":"center"}},Y={style:{color:"red","font-size":"25px","margin-left":"5px"}},G={style:{width:"100%","margin-top":"50px",display:"flex","justify-content":"center","align-items":"center"}},K={style:{color:"red","font-size":"25px","margin-left":"5px"}},Q=e.defineComponent({__name:"AlipayTransferDialog",props:["condition"],emits:["success"],setup(w,{expose:p,emit:o}){const d=w,c=e.inject("http"),n=e.ref({show:!1,loading:!1,totalAmount:null,totalCount:null,latestWithdrawId:null});function C(){n.value.show=!0,_()}function _(){n.value.loading=!0,d.condition.state="SUBMITTED",d.condition.isManualTransferMode=1,d.condition.suspendedTransfer=0,c==null||c.get("/api/withdraw/get-manual-transfer-info",d.condition).then(r=>{n.value.loading=!1,n.value.totalAmount=r.data.totalAmount,n.value.totalCount=r.data.totalCount,n.value.latestWithdrawId=r.data.latestWithdrawId})}function f(){c==null||c.download("/api/withdraw/get-manual-transfer-file",{...d.condition,lessOrEqualsThanId:n.value.latestWithdrawId})}const l=e.ref(),s=e.ref(null);function x(r){U.ElMessage.success({message:r.response.data,type:"success",duration:0,showClose:!0}),s.value&&s.value.close(),n.value.show=!1,o("success"),l.value.clearFileList(),n.value.totalAmount=null,n.value.totalCount=null,n.value.latestWithdrawId=null}function h(){s.value=U.ElLoading.service()}return p({show:C}),(r,b)=>{const k=e.resolveComponent("el-button"),V=e.resolveComponent("el-col"),T=e.resolveComponent("pg-upload"),i=e.resolveComponent("el-row"),B=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(B,{modelValue:n.value.show,"onUpdate:modelValue":b[0]||(b[0]=u=>n.value.show=u),"close-on-click-modal":!1,width:"500",draggable:"",title:"打款信息"},{default:e.withCtx(()=>[e.createElementVNode("div",J,[e.createTextVNode(" 打款记录数: "),e.createElementVNode("span",Y,e.toDisplayString(n.value.totalCount==null?"-":n.value.totalCount),1)]),e.createElementVNode("div",G,[e.createTextVNode(" 打款总金额: "),e.createElementVNode("span",K,e.toDisplayString(n.value.totalAmount==null?"-":n.value.totalAmount.toFixed(2)),1)]),e.createVNode(i,{style:{"margin-top":"50px"}},{default:e.withCtx(()=>[e.createVNode(V,{span:12,style:{"text-align":"center"}},{default:e.withCtx(()=>[e.createVNode(k,{type:"warning",icon:"download",disabled:n.value.totalCount<=0,onClick:f},{default:e.withCtx(()=>[e.createTextVNode("下载支付宝打款Excel ")]),_:1},8,["disabled"])]),_:1}),e.createVNode(V,{span:12,style:{"text-align":"center"}},{default:e.withCtx(()=>[e.createVNode(T,{ref_key:"uploader",ref:l,accept:"application/vnd.ms-excel","upload-type":"","btn-txt":"上传支付宝打款结果",onOnSuccess:x,onBeforeUpload:h,qiniu:!1,"action-url":"/api/withdraw/handle-batch-manual-transfer-result"},null,512)]),_:1})]),_:1})]),_:1},8,["modelValue"])}}}),X={style:{color:"red","font-weight":"bold"}},M=e.defineComponent({__name:"WithdrawHistoryListView",setup(w){const p=e.inject("http"),o=e.ref({id:null,uid:null,tradeNo:null,isManualTransferMode:null,suspendedTransfer:null,state:null}),d=e.ref();function c(){d.value.search()}const n=e.ref();function C(){n.value.show()}const _=e.ref();function f(h){_.value.show(h)}function l(h){p==null||p.post(`/api/withdraw/${h}/switch-suspend-transfer`,{}).then(r=>{})}function s(h){p==null||p.post(`/api/withdraw/${h}/approve`).then(r=>{c()})}function x(h){p==null||p.post(`/api/withdraw/${h}/confirm`).then(r=>{c()})}return(h,r)=>{const b=e.resolveComponent("el-input"),k=e.resolveComponent("pg-user-selector"),V=e.resolveComponent("el-option"),T=e.resolveComponent("el-select"),i=e.resolveComponent("el-button"),B=e.resolveComponent("el-space"),u=e.resolveComponent("el-card"),m=e.resolveComponent("el-table-column"),y=e.resolveComponent("el-tag"),I=e.resolveComponent("el-link"),S=e.resolveComponent("pg-user-mobile"),t=e.resolveComponent("el-switch"),N=e.resolveComponent("el-popconfirm"),D=e.resolveComponent("pg-table"),ee=e.resolveComponent("pg-user-detail-dialog"),te=e.resolveDirective("permission");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(B,null,{default:e.withCtx(()=>[e.createVNode(b,{modelValue:o.value.id,"onUpdate:modelValue":r[0]||(r[0]=a=>o.value.id=a),placeholder:"提现记录ID",style:{width:"110px"},clearable:""},null,8,["modelValue"]),e.createVNode(k,{modelValue:o.value.uid,"onUpdate:modelValue":r[1]||(r[1]=a=>o.value.uid=a),placeholder:"搜索用户",clearable:"",style:{width:"300px"}},null,8,["modelValue"]),e.createVNode(b,{modelValue:o.value.tradeNo,"onUpdate:modelValue":r[2]||(r[2]=a=>o.value.tradeNo=a),placeholder:"转账编号",style:{width:"220px"},clearable:""},null,8,["modelValue"]),e.createVNode(T,{modelValue:o.value.isManualTransferMode,"onUpdate:modelValue":r[3]||(r[3]=a=>o.value.isManualTransferMode=a),placeholder:"已确认",style:{width:"100px"},clearable:""},{default:e.withCtx(()=>[e.createVNode(V,{label:"是",value:1}),e.createVNode(V,{label:"否",value:0})]),_:1},8,["modelValue"]),e.createVNode(T,{modelValue:o.value.suspendedTransfer,"onUpdate:modelValue":r[4]||(r[4]=a=>o.value.suspendedTransfer=a),placeholder:"允许提现",style:{width:"100px"},clearable:""},{default:e.withCtx(()=>[e.createVNode(V,{label:"是",value:0}),e.createVNode(V,{label:"否",value:1})]),_:1},8,["modelValue"]),e.createVNode(T,{modelValue:o.value.state,"onUpdate:modelValue":r[5]||(r[5]=a=>o.value.state=a),placeholder:"状态",style:{width:"100px"},clearable:""},{default:e.withCtx(()=>[e.createVNode(V,{label:"等待审核",value:"SUBMITTED"}),e.createVNode(V,{label:"审核失败",value:"REJECTED"}),e.createVNode(V,{label:"提现成功",value:"WITHDRAW_SUCCESS"}),e.createVNode(V,{label:"自主取消",value:"CANCELED"}),e.createVNode(V,{label:"提现失败",value:"WITHDRAW_FAILED"})]),_:1},8,["modelValue"]),e.createVNode(i,{type:"primary",icon:"search",onClick:c},{default:e.withCtx(()=>[e.createTextVNode("查询")]),_:1}),e.withDirectives((e.openBlock(),e.createBlock(i,{type:"warning",onClick:C},{default:e.withCtx(()=>[e.createTextVNode("支付宝打款")]),_:1})),[[te,"WITHDRAW_ALIPAY_MANUAL_TRANSFER"]])]),_:1})]),_:1}),e.createVNode(D,{ref_key:"table",ref:d,"data-url":"/api/withdraw/records",style:{"margin-top":"10px"},condition:o.value},{columns:e.withCtx(()=>[e.createVNode(m,{label:"ID",prop:"id",align:"center",width:"70px"}),e.createVNode(m,{label:"提现信息"},{default:e.withCtx(()=>[e.createVNode(m,{label:"金额",prop:"amount",align:"right",width:"65px"},{default:e.withCtx(({row:a})=>[e.createElementVNode("span",X,e.toDisplayString(a.amount),1)]),_:1}),e.createVNode(m,{label:"应到",prop:"actualAmount",align:"right",width:"65px"}),e.createVNode(m,{label:"费率",prop:"handlingFeeRate",align:"right",width:"55px"}),e.createVNode(m,{label:"手续费",prop:"handlingFee",align:"right",width:"70px"}),e.createVNode(m,{label:"状态",prop:"state",align:"center",width:"100px"},{default:e.withCtx(({row:a})=>[a.state=="SUBMITTED"?(e.openBlock(),e.createBlock(y,{key:0,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode("等待审核")]),_:1})):e.createCommentVNode("",!0),a.state=="REJECTED"?(e.openBlock(),e.createBlock(y,{key:1,type:"info"},{default:e.withCtx(()=>[e.createTextVNode("审核失败")]),_:1})):e.createCommentVNode("",!0),a.state=="WITHDRAW_FAILED"?(e.openBlock(),e.createBlock(y,{key:2,type:"danger"},{default:e.withCtx(()=>[e.createTextVNode("提现失败")]),_:1})):e.createCommentVNode("",!0),a.state=="CANCELED"?(e.openBlock(),e.createBlock(y,{key:3,type:"danger"},{default:e.withCtx(()=>[e.createTextVNode("自主取消")]),_:1})):e.createCommentVNode("",!0),a.state=="WITHDRAW_SUCCESS"?(e.openBlock(),e.createBlock(y,{key:4,type:"success"},{default:e.withCtx(()=>[e.createTextVNode("提现成功")]),_:1})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(m,{label:"确认",prop:"isManualTransferMode",align:"center",width:"60px"},{default:e.withCtx(({row:a})=>[a.isManualTransferMode?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(y,{key:0,type:"danger"},{default:e.withCtx(()=>[e.createTextVNode("否")]),_:1})),a.isManualTransferMode?(e.openBlock(),e.createBlock(y,{key:1,type:"success"},{default:e.withCtx(()=>[e.createTextVNode("是")]),_:1})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(m,{label:"转账编号",prop:"tradeNo",align:"center","show-overflow-tooltip":""}),e.createVNode(m,{label:"提现平台",prop:"withdrawPlatformName",align:"center"})]),_:1}),e.createVNode(m,{label:"用户信息"},{default:e.withCtx(()=>[e.createVNode(m,{label:"用户ID",prop:"userId",align:"center",width:"80px","show-overflow-tooltip":""},{default:e.withCtx(({row:a})=>[e.createVNode(I,{type:"primary",onClick:E=>f(a.userId)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.userId),1)]),_:2},1032,["onClick"])]),_:1}),e.createVNode(m,{label:"提现姓名",prop:"withdrawName",align:"center","min-width":"90px"}),e.createVNode(m,{label:"提现账号",prop:"withdrawAccount",width:"150px"}),e.createVNode(m,{label:"手机号",prop:"mobile",align:"center",width:"120px"},{default:e.withCtx(({row:a})=>[(e.openBlock(),e.createBlock(S,{"mask-mobile":a.mobile,"user-id":a.userId,key:a.userId},null,8,["mask-mobile","user-id"]))]),_:1}),e.createVNode(m,{label:"用户余额",prop:"userBalance",align:"right","min-width":"60px"})]),_:1}),e.createVNode(m,{label:"更新时间",prop:"updatedTime",align:"center",width:"110px"}),e.createVNode(m,{label:"提现时间",prop:"createdTime",align:"center",width:"110px"}),e.createVNode(m,{label:"驳回原因",prop:"rejectReason",align:"center",width:"200px"}),h.$hasPer("SWITCH_SUSPEND_TRANSFER")?(e.openBlock(),e.createBlock(m,{key:0,label:"允许提现",align:"center","min-width":"80px"},{default:e.withCtx(({row:a})=>[a.state=="SUBMITTED"?(e.openBlock(),e.createBlock(t,{key:0,modelValue:a.suspendedTransfer,"onUpdate:modelValue":E=>a.suspendedTransfer=E,onChange:E=>l(a.id),"active-color":"#ff4949","inactive-color":"#13ce66"},null,8,["modelValue","onUpdate:modelValue","onChange"])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0),e.createVNode(m,{label:"操作",align:"center",width:"200px",fixed:"right"},{default:e.withCtx(({row:a})=>[a.state=="SUBMITTED"&&h.$hasPer("WITHDRAW_APPROVE")?(e.openBlock(),e.createBlock(N,{key:0,title:"确定同意本次提现吗?",onConfirm:E=>s(a.id)},{reference:e.withCtx(()=>[e.createVNode(i,{type:"success"},{default:e.withCtx(()=>[e.createTextVNode("通过")]),_:1})]),_:2},1032,["onConfirm"])):e.createCommentVNode("",!0),a.state=="SUBMITTED"&&h.$hasPer("WITHDRAW_REJECT")?(e.openBlock(),e.createBlock(z,{"withdraw-id":a.id,onSuccess:c,key:`rej_${a.id}`},null,8,["withdraw-id"])):e.createCommentVNode("",!0),a.state=="SUBMITTED"&&!a.isManualTransferMode&&h.$hasPer("WITHDRAW_CONFIRM")?(e.openBlock(),e.createBlock(N,{key:2,title:"确认该笔提现没问题吗?",onConfirm:E=>x(a.id)},{reference:e.withCtx(()=>[e.createVNode(i,{type:"warning"},{default:e.withCtx(()=>[e.createTextVNode("确认")]),_:1})]),_:2},1032,["onConfirm"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["condition"]),e.createVNode(ee,{ref_key:"userDetailDialog",ref:_},null,512),e.createVNode(Q,{ref_key:"alipayTransferDialog",ref:n,onSuccess:c,condition:o.value},null,8,["condition"])],64)}}}),F=e.defineComponent({__name:"PayHistoryListView",setup(w){const p={TRANS_CREATED:"交易创建",PAY_SUCCESS:"交易成功",PAY_FAIL:"交易失败",CLOSED:"交易关闭"},o=e.ref({thirdPlatformCode:null,userId:null,objectCode:null,objectId:null,status:null,tradeNo:null,thirdPlatformTransId:null,createTimeStar:null,createTimeEnd:null}),d=e.ref([]);e.watch(d,f=>{f?(o.value.createTimeStar=f[0],o.value.createTimeEnd=f[1]):(o.value.createTimeStar=null,o.value.createTimeEnd=null)});const c=e.ref();function n(){c.value.search()}const C=e.ref();function _(f){C.value.show(f)}return(f,l)=>{const s=e.resolveComponent("el-input"),x=e.resolveComponent("pg-user-selector"),h=e.resolveComponent("el-option"),r=e.resolveComponent("el-select"),b=e.resolveComponent("el-date-picker"),k=e.resolveComponent("el-button"),V=e.resolveComponent("el-space"),T=e.resolveComponent("el-card"),i=e.resolveComponent("el-table-column"),B=e.resolveComponent("el-link"),u=e.resolveComponent("el-descriptions-item"),m=e.resolveComponent("el-descriptions"),y=e.resolveComponent("el-popover"),I=e.resolveComponent("pg-table"),S=e.resolveComponent("pg-user-detail-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createVNode(s,{modelValue:o.value.thirdPlatformCode,"onUpdate:modelValue":l[0]||(l[0]=t=>o.value.thirdPlatformCode=t),placeholder:"平台代码",style:{width:"100px"},clearable:""},null,8,["modelValue"]),e.createVNode(x,{modelValue:o.value.userId,"onUpdate:modelValue":l[1]||(l[1]=t=>o.value.userId=t),placeholder:"搜索用户",clearable:"",style:{width:"250px"}},null,8,["modelValue"]),e.createVNode(s,{modelValue:o.value.objectCode,"onUpdate:modelValue":l[2]||(l[2]=t=>o.value.objectCode=t),placeholder:"关联对象代码",style:{width:"120px"},clearable:""},null,8,["modelValue"]),e.createVNode(s,{modelValue:o.value.objectId,"onUpdate:modelValue":l[3]||(l[3]=t=>o.value.objectId=t),placeholder:"关联对象ID",style:{width:"120px"},clearable:""},null,8,["modelValue"]),e.createVNode(r,{modelValue:o.value.status,"onUpdate:modelValue":l[4]||(l[4]=t=>o.value.status=t),placeholder:"状态",style:{width:"100px"},clearable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(p,(t,N)=>e.createVNode(h,{label:t,value:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t),1)]),_:2},1032,["label","value"])),64))]),_:1},8,["modelValue"]),e.createVNode(s,{modelValue:o.value.tradeNo,"onUpdate:modelValue":l[5]||(l[5]=t=>o.value.tradeNo=t),placeholder:"交易编号",style:{width:"150px"},clearable:""},null,8,["modelValue"]),e.createVNode(s,{modelValue:o.value.thirdPlatformTransId,"onUpdate:modelValue":l[6]||(l[6]=t=>o.value.thirdPlatformTransId=t),placeholder:"交易平台编号",style:{width:"120px"},clearable:""},null,8,["modelValue"]),e.createVNode(b,{modelValue:d.value,"onUpdate:modelValue":l[7]||(l[7]=t=>d.value=t),type:"datetimerange","range-separator":"到","start-placeholder":"创建时间开始","end-placeholder":"创建时间结束"},null,8,["modelValue"]),e.createVNode(k,{type:"primary",icon:"search",onClick:n},{default:e.withCtx(()=>[e.createTextVNode("搜索")]),_:1})]),_:1})]),_:1}),e.createVNode(I,{ref_key:"table",ref:c,style:{"margin-top":"10px"},"data-url":"/api/third-platform/pay/histories",condition:o.value},{default:e.withCtx(()=>[e.createVNode(i,{label:"交易平台",prop:"platformName"}),e.createVNode(i,{label:"用户ID",width:"80",prop:"userId"},{default:e.withCtx(({row:t})=>[e.createVNode(B,{type:"primary",onClick:N=>_(t.userId)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.userId),1)]),_:2},1032,["onClick"])]),_:1}),e.createVNode(i,{label:"支付金额",width:"90",align:"right",prop:"paidAmount"},{default:e.withCtx(({row:t})=>[e.createTextVNode(e.toDisplayString(t.paidAmount==null?"":t.paidAmount.toFixed(2)),1)]),_:1}),e.createVNode(i,{label:"交易编号",width:"210",prop:"tradeNo"}),e.createVNode(i,{label:"交易平台编号",width:"210",prop:"thirdPlatformTransId","show-overflow-tooltip":""}),e.createVNode(i,{label:"关联对象代码",width:"150",prop:"objectCode","show-overflow-tooltip":""}),e.createVNode(i,{label:"关联对象ID",width:"80",prop:"objectId"}),e.createVNode(i,{label:"交易状态",prop:"status"},{default:e.withCtx(({row:t})=>[e.createTextVNode(e.toDisplayString(p[t.status]),1)]),_:1}),e.createVNode(i,{label:"请求内容",prop:"requestData"},{default:e.withCtx(({row:t})=>[t.requestData?(e.openBlock(),e.createBlock(y,{key:0,trigger:"hover",width:"500"},{reference:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.requestData.substring(0,10))+"... ",1)]),default:e.withCtx(()=>[t.requestData.startsWith("{")?(e.openBlock(),e.createBlock(m,{key:0,column:"1",border:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(JSON.parse(t.requestData),(N,D)=>(e.openBlock(),e.createBlock(u,{label:D,"min-width":"150"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N),1)]),_:2},1032,["label"]))),256))]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.requestData),1)],64))]),_:2},1024)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(i,{label:"响应内容",prop:"responseData"},{default:e.withCtx(({row:t})=>[t.responseData?(e.openBlock(),e.createBlock(y,{key:0,trigger:"hover",width:"600"},{reference:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.responseData.substring(0,10))+"... ",1)]),default:e.withCtx(()=>[t.responseData.startsWith("{")?(e.openBlock(),e.createBlock(m,{key:0,column:"1",border:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(JSON.parse(t.responseData),(N,D)=>(e.openBlock(),e.createBlock(u,{label:D,"min-width":"150"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N),1)]),_:2},1032,["label"]))),256))]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.responseData),1)],64))]),_:2},1024)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(i,{label:"创建时间",prop:"createdTime",width:"170"}),e.createVNode(i,{label:"更新时间",prop:"updatedTime",width:"170"})]),_:1},8,["condition"]),e.createVNode(S,{ref_key:"userDetailDialog",ref:C},null,512)],64)}}}),L=e.defineComponent({__name:"TransferHistoryListView",setup(w){const p={TRANSFER_CREATED:"转账创建",TRANSFER_SUCCESS:"转账成功",TRANSFER_FAIL:"转账失败"},o=e.ref({thirdPlatformCode:null,userId:null,transferToIdentity:null,status:null,tradeNo:null,thirdPlatformOrderId:null,failCode:null,createTimeStar:null,createTimeEnd:null}),d=e.ref([]);e.watch(d,f=>{f?(o.value.createTimeStar=f[0],o.value.createTimeEnd=f[1]):(o.value.createTimeStar=null,o.value.createTimeEnd=null)});const c=e.ref();function n(){c.value.search()}const C=e.ref();function _(f){C.value.show(f)}return(f,l)=>{const s=e.resolveComponent("el-input"),x=e.resolveComponent("pg-user-selector"),h=e.resolveComponent("el-option"),r=e.resolveComponent("el-select"),b=e.resolveComponent("el-date-picker"),k=e.resolveComponent("el-button"),V=e.resolveComponent("el-space"),T=e.resolveComponent("el-card"),i=e.resolveComponent("el-table-column"),B=e.resolveComponent("el-link"),u=e.resolveComponent("el-descriptions-item"),m=e.resolveComponent("el-descriptions"),y=e.resolveComponent("el-popover"),I=e.resolveComponent("pg-table"),S=e.resolveComponent("pg-user-detail-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createVNode(s,{modelValue:o.value.thirdPlatformCode,"onUpdate:modelValue":l[0]||(l[0]=t=>o.value.thirdPlatformCode=t),placeholder:"平台代码",style:{width:"100px"},clearable:""},null,8,["modelValue"]),e.createVNode(x,{modelValue:o.value.userId,"onUpdate:modelValue":l[1]||(l[1]=t=>o.value.userId=t),placeholder:"搜索用户",clearable:"",style:{width:"250px"}},null,8,["modelValue"]),e.createVNode(s,{modelValue:o.value.transferToIdentity,"onUpdate:modelValue":l[2]||(l[2]=t=>o.value.transferToIdentity=t),placeholder:"转账账号",style:{width:"120px"},clearable:""},null,8,["modelValue"]),e.createVNode(r,{modelValue:o.value.status,"onUpdate:modelValue":l[3]||(l[3]=t=>o.value.status=t),placeholder:"状态",style:{width:"100px"},clearable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(p,(t,N)=>e.createVNode(h,{label:t,value:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t),1)]),_:2},1032,["label","value"])),64))]),_:1},8,["modelValue"]),e.createVNode(s,{modelValue:o.value.tradeNo,"onUpdate:modelValue":l[4]||(l[4]=t=>o.value.tradeNo=t),placeholder:"交易编号",style:{width:"150px"},clearable:""},null,8,["modelValue"]),e.createVNode(s,{modelValue:o.value.thirdPlatformOrderId,"onUpdate:modelValue":l[5]||(l[5]=t=>o.value.thirdPlatformOrderId=t),placeholder:"交易平台编号",style:{width:"120px"},clearable:""},null,8,["modelValue"]),e.createVNode(s,{modelValue:o.value.failCode,"onUpdate:modelValue":l[6]||(l[6]=t=>o.value.failCode=t),placeholder:"错误码",style:{width:"120px"},clearable:""},null,8,["modelValue"]),e.createVNode(b,{modelValue:d.value,"onUpdate:modelValue":l[7]||(l[7]=t=>d.value=t),type:"datetimerange","range-separator":"到","start-placeholder":"创建时间开始","end-placeholder":"创建时间结束"},null,8,["modelValue"]),e.createVNode(k,{type:"primary",icon:"search",onClick:n},{default:e.withCtx(()=>[e.createTextVNode("搜索")]),_:1})]),_:1})]),_:1}),e.createVNode(I,{ref_key:"table",ref:c,style:{"margin-top":"10px"},"data-url":"/api/third-platform/transfer/histories",condition:o.value},{default:e.withCtx(()=>[e.createVNode(i,{label:"交易平台",prop:"platformName"}),e.createVNode(i,{label:"用户ID",width:"80",prop:"userId"},{default:e.withCtx(({row:t})=>[e.createVNode(B,{type:"primary",onClick:N=>_(t.userId)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.userId),1)]),_:2},1032,["onClick"])]),_:1}),e.createVNode(i,{label:"转账金额",width:"100",align:"right",prop:"amount"},{default:e.withCtx(({row:t})=>[e.createTextVNode(e.toDisplayString(t.amount.toFixed(2)),1)]),_:1}),e.createVNode(i,{label:"交易编号",width:"220",prop:"tradeNo"}),e.createVNode(i,{label:"交易平台编号",width:"210",prop:"thirdPlatformOrderId","show-overflow-tooltip":""}),e.createVNode(i,{label:"错误码",width:"150",prop:"failCode","show-overflow-tooltip":""}),e.createVNode(i,{label:"交易状态",prop:"status"},{default:e.withCtx(({row:t})=>[e.createTextVNode(e.toDisplayString(p[t.status]),1)]),_:1}),e.createVNode(i,{label:"请求内容",prop:"requestData"},{default:e.withCtx(({row:t})=>[t.requestData?(e.openBlock(),e.createBlock(y,{key:0,trigger:"hover",width:"500"},{reference:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.requestData.substring(0,10)),1)]),default:e.withCtx(()=>[t.requestData.startsWith("{")?(e.openBlock(),e.createBlock(m,{key:0,column:"1",border:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(JSON.parse(t.requestData),(N,D)=>(e.openBlock(),e.createBlock(u,{label:D,"min-width":"150"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N),1)]),_:2},1032,["label"]))),256))]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.requestData),1)],64))]),_:2},1024)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(i,{label:"响应内容",prop:"responseData"},{default:e.withCtx(({row:t})=>[t.responseData?(e.openBlock(),e.createBlock(y,{key:0,trigger:"hover",width:"600"},{reference:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.responseData.substring(0,10))+"... ",1)]),default:e.withCtx(()=>[t.responseData.startsWith("{")?(e.openBlock(),e.createBlock(m,{key:0,column:"1",border:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(JSON.parse(t.responseData),(N,D)=>(e.openBlock(),e.createBlock(u,{label:D,"min-width":"150"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N),1)]),_:2},1032,["label"]))),256))]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.responseData),1)],64))]),_:2},1024)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(i,{label:"创建时间",prop:"createdTime",width:"170"}),e.createVNode(i,{label:"更新时间",prop:"updatedTime",width:"170"})]),_:1},8,["condition"]),e.createVNode(S,{ref_key:"userDetailDialog",ref:C},null,512)],64)}}}),Z={install:(w,p)=>{let o=p.router,d=o.getRoutes().find(c=>c.path=="/");d&&d.meta&&(o.addRoute({path:"/finance/withdraw-history",name:"WithdrawHistory",redirect:"/finance/withdraw-history/list",component:d.meta.commonLayout,children:[{path:"list",name:"WithdrawHistoryList",component:M}]}),o.addRoute({path:"/finance/pay-history",name:"PayHistory",redirect:"/finance/pay-history/list",component:d.meta.commonLayout,children:[{path:"list",name:"PayHistoryList",component:F}]}),o.addRoute({path:"/finance/transfer-history",name:"TransferHistory",redirect:"/finance/transfer-history/list",component:d.meta.commonLayout,children:[{path:"list",name:"TransferHistoryList",component:L}]}))}},H=(w,p)=>{$.forEach(o=>w.use(o)),w.use(Z,p)},v={install:H};g.PayHistoryListView=F,g.TransferHistoryListView=L,g.UserWithdrawHistory=A,g.UserWithdrawMethod=W,g.WithdrawHistoryListView=M,g.default=v,g.install=H,Object.defineProperties(g,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pangu-backend-ui/finance-core",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "index.js",
|
|
7
|
+
"unpkg": "index.umd.cjs",
|
|
8
|
+
"types": "types/index.d.ts",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "index.js",
|
|
13
|
+
"require": "index.umd.cjs",
|
|
14
|
+
"types": "types/index.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./*": "./*"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"element-plus": "^2.2.29",
|
|
20
|
+
"vue": "^3.2.45",
|
|
21
|
+
"vue-router": "^4.1.6",
|
|
22
|
+
"pinia": "^2.0.28",
|
|
23
|
+
"@pangu-backend-ui/common": "^0.0.24",
|
|
24
|
+
"@pangu-backend-ui/user-core": "^0.0.17"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public",
|
|
28
|
+
"registry": "https://registry.npmjs.org/"
|
|
29
|
+
},
|
|
30
|
+
"web-types": "web-types.json",
|
|
31
|
+
"browserslist": [
|
|
32
|
+
"> 1%",
|
|
33
|
+
"not ie 11",
|
|
34
|
+
"not op_mini all"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Http, Response } from "@pangu-backend-ui/common";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
3
|
+
condition?: any;
|
|
4
|
+
}>, {
|
|
5
|
+
http: Http | undefined;
|
|
6
|
+
emits: (event: "success", ...args: any[]) => void;
|
|
7
|
+
props: any;
|
|
8
|
+
state: import("vue").Ref<{
|
|
9
|
+
show: boolean;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
totalAmount: null;
|
|
12
|
+
totalCount: null;
|
|
13
|
+
latestWithdrawId: null;
|
|
14
|
+
}>;
|
|
15
|
+
show: () => void;
|
|
16
|
+
getTransferInfo: () => void;
|
|
17
|
+
getManualTransferFile: () => void;
|
|
18
|
+
uploader: import("vue").Ref<any>;
|
|
19
|
+
loadingInstance: any;
|
|
20
|
+
uploadSuccess: (res: {
|
|
21
|
+
fileUrl: string | null;
|
|
22
|
+
response: Response<string>;
|
|
23
|
+
}) => void;
|
|
24
|
+
beforeUpload: () => void;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "success"[], "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
26
|
+
condition?: any;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
readonly condition?: any;
|
|
31
|
+
}>;
|
|
32
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { Http } from "@pangu-backend-ui/common";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
3
|
+
withdrawId?: any;
|
|
4
|
+
}>, {
|
|
5
|
+
emits: (event: "success", ...args: any[]) => void;
|
|
6
|
+
props: any;
|
|
7
|
+
http: Http | undefined;
|
|
8
|
+
visible: import("vue").Ref<boolean>;
|
|
9
|
+
formState: import("vue").Ref<{
|
|
10
|
+
rejectReason: null;
|
|
11
|
+
}>;
|
|
12
|
+
formRule: import("vue").Ref<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
13
|
+
form: import("vue").Ref<({
|
|
14
|
+
$: import("vue").ComponentInternalInstance;
|
|
15
|
+
$data: {};
|
|
16
|
+
$props: Partial<{
|
|
17
|
+
readonly disabled: boolean;
|
|
18
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
19
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
20
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
21
|
+
readonly labelSuffix: string;
|
|
22
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
23
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
25
|
+
readonly inline: boolean;
|
|
26
|
+
readonly inlineMessage: boolean;
|
|
27
|
+
readonly statusIcon: boolean;
|
|
28
|
+
readonly scrollToError: boolean;
|
|
29
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
readonly model: ObjectConstructor;
|
|
31
|
+
readonly rules: {
|
|
32
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
33
|
+
readonly required: false;
|
|
34
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
|
+
__epPropKey: true;
|
|
36
|
+
};
|
|
37
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
38
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
39
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
40
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
|
+
readonly inline: BooleanConstructor;
|
|
42
|
+
readonly inlineMessage: BooleanConstructor;
|
|
43
|
+
readonly statusIcon: BooleanConstructor;
|
|
44
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
45
|
+
readonly size: {
|
|
46
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
47
|
+
readonly required: false;
|
|
48
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
|
+
__epPropKey: true;
|
|
50
|
+
};
|
|
51
|
+
readonly disabled: BooleanConstructor;
|
|
52
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
53
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
54
|
+
readonly scrollToError: BooleanConstructor;
|
|
55
|
+
}>> & {
|
|
56
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
57
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
58
|
+
$attrs: {
|
|
59
|
+
[x: string]: unknown;
|
|
60
|
+
};
|
|
61
|
+
$refs: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
$slots: Readonly<{
|
|
65
|
+
[name: string]: import("vue").Slot | undefined;
|
|
66
|
+
}>;
|
|
67
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
68
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
69
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
70
|
+
$el: any;
|
|
71
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
readonly model: ObjectConstructor;
|
|
73
|
+
readonly rules: {
|
|
74
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
75
|
+
readonly required: false;
|
|
76
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
|
+
__epPropKey: true;
|
|
78
|
+
};
|
|
79
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
80
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
81
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
82
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
83
|
+
readonly inline: BooleanConstructor;
|
|
84
|
+
readonly inlineMessage: BooleanConstructor;
|
|
85
|
+
readonly statusIcon: BooleanConstructor;
|
|
86
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
87
|
+
readonly size: {
|
|
88
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
89
|
+
readonly required: false;
|
|
90
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
|
+
__epPropKey: true;
|
|
92
|
+
};
|
|
93
|
+
readonly disabled: BooleanConstructor;
|
|
94
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
95
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
96
|
+
readonly scrollToError: BooleanConstructor;
|
|
97
|
+
}>> & {
|
|
98
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
COMPONENT_NAME: string;
|
|
101
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
+
readonly model: ObjectConstructor;
|
|
103
|
+
readonly rules: {
|
|
104
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
105
|
+
readonly required: false;
|
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
__epPropKey: true;
|
|
108
|
+
};
|
|
109
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
110
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
111
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
112
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
113
|
+
readonly inline: BooleanConstructor;
|
|
114
|
+
readonly inlineMessage: BooleanConstructor;
|
|
115
|
+
readonly statusIcon: BooleanConstructor;
|
|
116
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
117
|
+
readonly size: {
|
|
118
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
119
|
+
readonly required: false;
|
|
120
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
121
|
+
__epPropKey: true;
|
|
122
|
+
};
|
|
123
|
+
readonly disabled: BooleanConstructor;
|
|
124
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
125
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
126
|
+
readonly scrollToError: BooleanConstructor;
|
|
127
|
+
}>> & {
|
|
128
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
129
|
+
}>>;
|
|
130
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
131
|
+
fields: import("element-plus").FormItemContext[];
|
|
132
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
133
|
+
ns: {
|
|
134
|
+
namespace: import("vue").Ref<string>;
|
|
135
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
136
|
+
e: (element?: string | undefined) => string;
|
|
137
|
+
m: (modifier?: string | undefined) => string;
|
|
138
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
139
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
140
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
141
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
142
|
+
is: {
|
|
143
|
+
(name: string, state: boolean | undefined): string;
|
|
144
|
+
(name: string): string;
|
|
145
|
+
};
|
|
146
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
147
|
+
cssVarName: (name: string) => string;
|
|
148
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
149
|
+
cssVarBlockName: (name: string) => string;
|
|
150
|
+
};
|
|
151
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
152
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
153
|
+
})[]>;
|
|
154
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
155
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
156
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
157
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
158
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
159
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
160
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
161
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
162
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
163
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
164
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
165
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
166
|
+
}, string, {
|
|
167
|
+
readonly disabled: boolean;
|
|
168
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
169
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
170
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
171
|
+
readonly labelSuffix: string;
|
|
172
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
173
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
174
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
|
+
readonly inline: boolean;
|
|
176
|
+
readonly inlineMessage: boolean;
|
|
177
|
+
readonly statusIcon: boolean;
|
|
178
|
+
readonly scrollToError: boolean;
|
|
179
|
+
}, {}, string> & {
|
|
180
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
181
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
182
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
183
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
184
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
185
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
186
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
187
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
188
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
189
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
190
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
191
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
192
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
193
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
194
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
195
|
+
};
|
|
196
|
+
$forceUpdate: () => void;
|
|
197
|
+
$nextTick: typeof import("vue").nextTick;
|
|
198
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
199
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
200
|
+
readonly model: ObjectConstructor;
|
|
201
|
+
readonly rules: {
|
|
202
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
203
|
+
readonly required: false;
|
|
204
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
|
+
__epPropKey: true;
|
|
206
|
+
};
|
|
207
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
208
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
209
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
210
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
211
|
+
readonly inline: BooleanConstructor;
|
|
212
|
+
readonly inlineMessage: BooleanConstructor;
|
|
213
|
+
readonly statusIcon: BooleanConstructor;
|
|
214
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
215
|
+
readonly size: {
|
|
216
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
217
|
+
readonly required: false;
|
|
218
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
219
|
+
__epPropKey: true;
|
|
220
|
+
};
|
|
221
|
+
readonly disabled: BooleanConstructor;
|
|
222
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
223
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
224
|
+
readonly scrollToError: BooleanConstructor;
|
|
225
|
+
}>> & {
|
|
226
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
227
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
228
|
+
COMPONENT_NAME: string;
|
|
229
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
230
|
+
readonly model: ObjectConstructor;
|
|
231
|
+
readonly rules: {
|
|
232
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
233
|
+
readonly required: false;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
+
__epPropKey: true;
|
|
236
|
+
};
|
|
237
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
238
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
239
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
240
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
241
|
+
readonly inline: BooleanConstructor;
|
|
242
|
+
readonly inlineMessage: BooleanConstructor;
|
|
243
|
+
readonly statusIcon: BooleanConstructor;
|
|
244
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
245
|
+
readonly size: {
|
|
246
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
247
|
+
readonly required: false;
|
|
248
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
249
|
+
__epPropKey: true;
|
|
250
|
+
};
|
|
251
|
+
readonly disabled: BooleanConstructor;
|
|
252
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
253
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
254
|
+
readonly scrollToError: BooleanConstructor;
|
|
255
|
+
}>> & {
|
|
256
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
257
|
+
}>>;
|
|
258
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
259
|
+
fields: import("element-plus").FormItemContext[];
|
|
260
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
261
|
+
ns: {
|
|
262
|
+
namespace: import("vue").Ref<string>;
|
|
263
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
264
|
+
e: (element?: string | undefined) => string;
|
|
265
|
+
m: (modifier?: string | undefined) => string;
|
|
266
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
267
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
268
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
269
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
270
|
+
is: {
|
|
271
|
+
(name: string, state: boolean | undefined): string;
|
|
272
|
+
(name: string): string;
|
|
273
|
+
};
|
|
274
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
275
|
+
cssVarName: (name: string) => string;
|
|
276
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
277
|
+
cssVarBlockName: (name: string) => string;
|
|
278
|
+
};
|
|
279
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
280
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
281
|
+
})[]>;
|
|
282
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
283
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
284
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
285
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
286
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
287
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
288
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
289
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
290
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
291
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
292
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {}) | undefined>;
|
|
293
|
+
reject: () => void;
|
|
294
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "success"[], "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
295
|
+
withdrawId?: any;
|
|
296
|
+
}>>> & {
|
|
297
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
readonly withdrawId?: any;
|
|
300
|
+
}>;
|
|
301
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
2
|
+
userId?: any;
|
|
3
|
+
}>, {
|
|
4
|
+
props: any;
|
|
5
|
+
condition: import("vue").Ref<{
|
|
6
|
+
userId: any;
|
|
7
|
+
}>;
|
|
8
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
9
|
+
userId?: any;
|
|
10
|
+
}>>>, {
|
|
11
|
+
readonly userId?: any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Http } from "@pangu-backend-ui/common";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
3
|
+
userId?: any;
|
|
4
|
+
}>, {
|
|
5
|
+
props: any;
|
|
6
|
+
table: import("vue").Ref<any>;
|
|
7
|
+
http: Http | undefined;
|
|
8
|
+
invalidWithdrawMethod: (methodId: number) => void;
|
|
9
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
10
|
+
userId?: any;
|
|
11
|
+
}>>>, {
|
|
12
|
+
readonly userId?: any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _sfc_main;
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
export * from './components';
|
|
3
|
+
export * from './views';
|
|
4
|
+
import InstallOptions from './types/InstallOptions';
|
|
5
|
+
export declare const install: (app: App, option: InstallOptions) => void;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
install: (app: App<any>, option: InstallOptions) => void;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
statusMapping: {
|
|
3
|
+
TRANS_CREATED: string;
|
|
4
|
+
PAY_SUCCESS: string;
|
|
5
|
+
PAY_FAIL: string;
|
|
6
|
+
CLOSED: string;
|
|
7
|
+
};
|
|
8
|
+
condition: import("vue").Ref<{
|
|
9
|
+
thirdPlatformCode: null;
|
|
10
|
+
userId: null;
|
|
11
|
+
objectCode: null;
|
|
12
|
+
objectId: null;
|
|
13
|
+
status: null;
|
|
14
|
+
tradeNo: null;
|
|
15
|
+
thirdPlatformTransId: null;
|
|
16
|
+
createTimeStar: null;
|
|
17
|
+
createTimeEnd: null;
|
|
18
|
+
}>;
|
|
19
|
+
createTimeRange: import("vue").Ref<never[]>;
|
|
20
|
+
table: import("vue").Ref<any>;
|
|
21
|
+
search: () => void;
|
|
22
|
+
userDetailDialog: import("vue").Ref<any>;
|
|
23
|
+
showUserDetailDialog: (userId: number) => void;
|
|
24
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
25
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
statusMapping: {
|
|
3
|
+
TRANSFER_CREATED: string;
|
|
4
|
+
TRANSFER_SUCCESS: string;
|
|
5
|
+
TRANSFER_FAIL: string;
|
|
6
|
+
};
|
|
7
|
+
condition: import("vue").Ref<{
|
|
8
|
+
thirdPlatformCode: null;
|
|
9
|
+
userId: null;
|
|
10
|
+
transferToIdentity: null;
|
|
11
|
+
status: null;
|
|
12
|
+
tradeNo: null;
|
|
13
|
+
thirdPlatformOrderId: null;
|
|
14
|
+
failCode: null;
|
|
15
|
+
createTimeStar: null;
|
|
16
|
+
createTimeEnd: null;
|
|
17
|
+
}>;
|
|
18
|
+
createTimeRange: import("vue").Ref<never[]>;
|
|
19
|
+
table: import("vue").Ref<any>;
|
|
20
|
+
search: () => void;
|
|
21
|
+
userDetailDialog: import("vue").Ref<any>;
|
|
22
|
+
showUserDetailDialog: (userId: number) => void;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
24
|
+
export default _sfc_main;
|