1 |
- import{_ as g,d as C,x as a,r as l,o as D,G as b,D as y,l as c,m as p,bd as F}from"./index.js";import{k as x,l as A}from"./index.5f728d54.js";import E from"./choose-modal.1284b0.js";const k=[{type:"selection",width:40,align:"center",hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:t})=>!t.includes("\u5E8F\u53F7\u5217")},{label:"\u4E1A\u52A1\u7ECF\u7406",prop:"uname",width:120},{label:"\u6708\u4EFD",prop:"day_time",width:120},{label:"\u5F00\u7968\u91D1\u989D",prop:"inv_fee",minWidth:150},{label:"\u9000\u7968\u91D1\u989D",prop:"return_inv_fee",minWidth:130},{label:"\u5F00\u7968\u6210\u672C\u91D1\u989D",prop:"cost_fee",minWidth:110,align:"left"},{label:"\u9000\u7968\u6210\u672C\u91D1\u989D",prop:"return_cost_fee",minWidth:110},{label:"\u521B\u5EFA\u4EBA",prop:"creater",minWidth:110},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],P={columns:k,listNoRelation:!0,responseCode:1,apis:{httpList:t=>x(t),httpDelete:A,httpUpdate:!0,httpAdd:!0}},d={formItems:[{field:"day_time",type:"date_picker",otherOptions:{placeholder:"\u6708\u4EFD",valueFormat:"YYYY-MM",type:"month"}}]},W=C({__name:"index",setup(t){const _="managerSetting",n=a(!1),s=a(null),f={pageSearchHook:()=>F(void 0,void 0,d)},i=a(""),r=a({uid:"",inv_fee:"",day_time:"",return_inv_fee:"",cost_fee:"",return_cost_fee:""}),m={content:{create:()=>{i.value="create",n.value=!0,r.value={uid:"",day_time:"",cost_fee:"",inv_fee:"",return_inv_fee:"",return_cost_fee:""}},update:e=>{i.value="update",n.value=!0,r.value={id:e.id,uid:e.uid,inv_fee:e.inv_fee,day_time:e.day_time,cost_fee:e.cost_fee,return_inv_fee:e.return_inv_fee,return_cost_fee:e.return_cost_fee}}}};return(e,u)=>{const v=l("PageContainer"),h=l("PageAuth");return D(),b(h,{pageName:_},{default:y(()=>[c(v,{hooks:f,events:m,contentConfig:p(P),"search-config":p(d),"get-content-ref":o=>s.value=o},null,8,["contentConfig","search-config","get-content-ref"]),c(E,{visible:n.value,"onUpdate:visible":u[0]||(u[0]=o=>n.value=o),data:r.value,onRefresh:u[1]||(u[1]=o=>s.value.onSearch()),type:i.value},null,8,["visible","data","type"])]),_:1})}}});var Y=g(W,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/system/managerSetting/index.vue"]]);export{Y as default};
|