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

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{H as l,d as y,r as v,o as h,B as b,w as o,m as a,p as x,t as C,b as E,ba as w,E as F,x as V}from"./index-Bp03Znup.js";/* empty css */import{E as k,a as B}from"./el-form-item-D0VPhd4F.js";/* empty css */import{P as D}from"./index-BUCoCI2B.js";import{E as j}from"./index-BpkD3cS5.js";function H(e){return l.get({url:"/goods.goods_comment/lists",params:e})}function I(e){return l.post({url:"/goods.goods_comment/reply",params:e})}function U(e){return l.post({url:"/goods.goods_comment/del",params:e})}function N(e){return l.get({url:"/goods.goods_comment/detail",params:e})}const O={style:{height:"300px"}},P=y({__name:"evaluate-form",props:{id:{default:""},title:{default:""}},emits:["refresh"],setup(e,{emit:m}){const i=m,r=e,t=v({reply:""}),p=async()=>{if(t.value.reply.split(" ").join("").length===0){w({type:"error",message:"请输入回复评价"});return}await I({id:r.id,remark:t.value.reply}),i("refresh")},u=async()=>{t.value=await N({id:r.id})};return(n,s)=>{const d=j,c=F,_=k,f=B;return h(),b(D,{class:"mr-2",width:"450px",center:!0,onConfirm:p,onOpen:u,title:n.title},{trigger:o(()=>[a(d,{type:"primary",underline:!1},{default:o(()=>[x(C(n.title),1)]),_:1})]),default:o(()=>[E("div",O,[a(f,{ref:"commentFormRef",model:t.value,"label-width":"80px"},{default:o(()=>[a(_,{label:"回复评价:"},{default:o(()=>[a(c,{class:"ls-input",type:"textarea",modelValue:t.value.reply,"onUpdate:modelValue":s[0]||(s[0]=g=>t.value.reply=g),placeholder:"请输入",rows:10},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])]),_:1},8,["title"])}}}),R=V(P,[["__scopeId","data-v-5b4805f9"]]),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{H as a,U as b,$ as c,R as e};