后台增加技师端自定义菜单聊天类目

This commit is contained in:
贾祥聪
2025-08-21 16:20:27 +08:00
parent 1b9651c3e5
commit 56f0b25679
639 changed files with 1476 additions and 1687 deletions

View File

@@ -0,0 +1 @@
import{d as F,j as U,r as j,cD as I,o as i,a as r,b as d,m as e,w as o,F as N,e as P,f as s,B as g,p as h,z,t as v,I as S,v as $,M as A}from"./index-Bp03Znup.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-CX-dvcep.js";import{E as O,a as R}from"./el-table-column-CUyuLBd2.js";import"./el-checkbox-DmHoF8Ng.js";/* empty css */import{E as q}from"./el-card-D36q9p5f.js";/* empty css */import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-ChV86jDb.js";import{E as H,a as J}from"./el-form-item-D0VPhd4F.js";import{E as K,a as Q}from"./el-select-BrRMRQg_.js";import{a as W,b as X}from"./shop-DYLKMfRK.js";import{u as Y}from"./usePaging-Bij6EQ3J.js";import"./isEqual-BGjWqnUO.js";import"./_Uint8Array-DWb7vvmt.js";import"./_baseIteratee-w43xOLx_.js";import"./_initCloneObject-DTdCOd4_.js";import"./isArrayLikeObject-CjMmT1bi.js";import"./customParseFormat-B9dCUPAh.js";import"./panel-time-pick-w9GJEjNM.js";import"./arrays-6TrVLtTe.js";import"./_baseClone-DNNBGhw1.js";import"./index-deo72N_U.js";import"./token-DI9FKtlJ.js";import"./_baseFindIndex-D7XfJLKM.js";const Z={class:"balance-statement"},ee={class:"m-l-20"},te={key:0,class:"text-error"},ae={key:1},oe={class:"flex justify-end mt-4"},De=F({__name:"bond",setup(ne){const n=U({content:"",change_object:2,change_type:"",start_time:"",end_time:""}),c=j([]),y=async()=>{c.value=await W({type:2})},{pager:m,getLists:p,resetPage:w,resetParams:E}=Y({fetchFun:X,params:n});return I(()=>{p()}),y(),p(),(le,a)=>{const u=K,k=Q,_=H,T=G,f=$,C=J,b=q,l=O,V=R,x=M,L=A;return i(),r("div",null,[d("div",Z,[e(b,{shadow:"never",class:"!border-none"},{default:o(()=>[e(C,{model:n,"label-width":"90px",inline:"",class:"mt-4"},{default:o(()=>[e(_,{label:"变动类型"},{default:o(()=>[e(k,{modelValue:n.change_type,"onUpdate:modelValue":a[0]||(a[0]=t=>n.change_type=t),class:"!w-[280px]",placeholder:"请选择"},{default:o(()=>[e(u,{label:"全部",value:""}),(i(!0),r(N,null,P(s(c),(t,B,D)=>(i(),g(u,{key:D,label:t,value:B},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,{label:"记录时间"},{default:o(()=>[e(T,{startTime:n.start_time,"onUpdate:startTime":a[1]||(a[1]=t=>n.start_time=t),endTime:n.end_time,"onUpdate:endTime":a[2]||(a[2]=t=>n.end_time=t)},null,8,["startTime","endTime"])]),_:1}),e(_,null,{default:o(()=>[d("div",ee,[e(f,{type:"primary",onClick:s(w)},{default:o(()=>a[4]||(a[4]=[h("查询")])),_:1},8,["onClick"]),e(f,{onClick:s(E)},{default:o(()=>a[5]||(a[5]=[h("重置")])),_:1},8,["onClick"])])]),_:1})]),_:1},8,["model"])]),_:1})]),e(b,{class:"!border-none mt-4",shadow:"never"},{default:o(()=>[z((i(),g(V,{size:"large",data:s(m).lists},{default:o(()=>[e(l,{label:"商家名称",prop:"name","min-width":"120"}),e(l,{label:"商家ID",prop:"user_sn","min-width":"120"}),e(l,{label:"手机号码",prop:"mobile","min-width":"150"}),e(l,{label:"变动金额",prop:"change_amount","min-width":"120"},{default:o(({row:t})=>[t.action===1?(i(),r("span",te," +"+v(t.change_amount),1)):(i(),r("span",ae," -"+v(t.change_amount),1))]),_:1}),e(l,{label:"剩余金额",prop:"left_amount","min-width":"150"}),e(l,{label:"变动类型",prop:"change_type_desc","min-width":"150"}),e(l,{label:"来源单号",prop:"source_sn","min-width":"150"}),e(l,{label:"记录时间",prop:"create_time","min-width":"180"})]),_:1},8,["data"])),[[L,s(m).loading]]),d("div",oe,[e(x,{modelValue:s(m),"onUpdate:modelValue":a[3]||(a[3]=t=>S(m)?m.value=t:null),onChange:s(p)},null,8,["modelValue","onChange"])])]),_:1})])}}});export{De as default};