gameapi-client/dist-API/assets/index.BVtZS4VJ.js

2 lines
2.6 KiB
JavaScript
Raw Permalink Normal View History

2025-08-14 10:33:48 +08:00
import{T as B,_ as S,a as D,r as e,C as z,J as I,k as d,G as P,o as u,c as _,H as w,f as s,m as R,e as p,d as o,t as c,p as h,q as y,U as C,I as U,B as V,h as L}from"./index.R3qQMktZ.js";/* empty css */function j(f){return B({url:"/sys/feedback/list",method:"get",params:f})}const A={class:"app-container"},E={key:0},F={key:1},G=V({name:"Commission"}),H=Object.assign(G,{setup(f){D();const{proxy:n}=L();n.useDict("ff_tenant_type","ff_tenant_status","ff_tenant_agent_approval_status","ff_tenant_agent_commission_type");const b=e([]);e(!1);const m=e(!0);e(!0),e([]),e(!0),e(!0),e(""),e(!1),e(!1),e(""),e([]),e(0),e(0);const g=e(0);e(0),e(0),e([]);const T=z({form:{},queryParams:{pageNum:1,pageSize:10,orderByColumn:"createTime",isAsc:"desc"},rules:{account:[{required:!0,message:n.t("商户账号不能为空"),trigger:"blur"}],password:[{required:!0,message:n.t("密码不能为空"),trigger:"blur"}],scoreRatio:[{required:!0,message:n.t("买分比例不能为空"),trigger:"blur"}],tenantType:[{required:!0,message:n.t("商户模式不能为空"),trigger:"change"}]}}),{queryParams:l,form:J,rules:O}=I(T);function v(){m.value=!0,j(l.vlaue).then(t=>{b.value=t.rows,g.value=t.total,m.value=!1})}return v(),(t,i)=>{const r=d("el-table-column"),k=d("el-table"),q=d("pagination"),N=P("loading");return u(),_("div",A,[w((u(),R(k,{data:s(b),stripe:"",border:"",class:"c-table-main",height:"672px"},{default:p(()=>[o(r,{label:t.t("标题"),align:"center",prop:"title"},null,8,["label"]),o(r,{label:t.t("内容"),align:"center",prop:"content"},null,8,["label"]),o(r,{label:t.t("联系方式"),align:"center",prop:"phone"},null,8,["label"]),o(r,{label:t.t("回复内容"),align:"center",prop:"replyContent"},null,8,["label"]),o(r,{label:t.t("状态"),align:"center",prop:"status"},{default:p(a=>[a.row.status==1?(u(),_("span",E,c(t.t("待处理")),1)):h("",!0),a.row.status==2?(u(),_("span",F,c(t.t("已处理")),1)):h("",!0)]),_:1},8,["label"]),o(r,{label:t.t("创建时间"),align:"center",prop:"createTime","show-overflow-tooltip":!0},{default:p(a=>[y(c(s(C)(a.row.createTime)),1)]),_:1},8,["label"]),o(r,{label:t.t("更新时间"),align:"center",prop:"updateTime","show-overflow-tooltip":!0},{default:p(a=>[y(c(s(C)(a.row.updateTime)),1)]),_:1},8,["label"])]),_:1},8,["data"])),[[N,s(m)]]),w(o(q,{total:s(g),page:s(l).pageNum,"onUpdate:page":i[0]||(i[0]=a=>s(l).pageNum=a),limit:s(l).pageSize,"onUpdate:limit":i[1]||(i[1]=a=>s(l).pageSize=a),onPagination:v},null,8,["total","page","limit"]),[[U,s(g)>0]])])}}}),Q=S(H,[["__scopeId","data-v-4dba01e2"]]);export{Q as default};