index.2d437ac9.js 1.8 KB

1
  1. import{_ as l,d as s,r as o,o as i,A as c,x as m,h,u as r}from"./index.62ae038d.js";import{c as A}from"./createRequset.2509add7.js";import{u as _}from"./use-page-search.490f9727.js";const f=A("admin/DepartReport/log"),g=[{value:"1",label:"\u90E8\u95E8\u62A5\u8868"},{value:"2",label:"\u4E1A\u52A1\u516C\u53F8\u62A5\u8868"}],d=[{label:"\u8BB0\u5F55ID",prop:"id",with:"120px"},{label:"\u63A8\u9001\u6A21\u677F\u540D\u79F0",prop:"report_name",with:"160px",cellRenderer({row:e}){return e.report.report_name}},{label:"\u6A21\u677F\u7C7B\u578B",width:"90px",cellRenderer({row:e}){var u;return((u=g.find(({value:t})=>String(e.report_type)===String(t)))==null?void 0:u.label)||"--"}},{label:"\u63A8\u9001\u72B6\u6001",prop:"status",with:"80px",cellRenderer({row:e}){return String(e.status)==="1"?"\u63A8\u9001\u6210\u529F":"\u63A8\u9001\u5931\u8D25"}},{label:"\u63A8\u9001\u4EBA",with:"80px",prop:"user_name"},{label:"\u63A8\u9001\u65F6\u95F4",with:"140px",prop:"createtime"},{label:"\u63A8\u9001\u5185\u5BB9","min-with":"150px",prop:"content"},{label:"\u63A8\u9001\u5931\u8D25\u539F\u56E0",with:"140px",prop:"msg"}],b={superUserNoAction:!1,columns:d,apis:{httpList:f}},a={formItems:[{field:"report_name",type:"input",placeholder:"\u6A21\u677F\u540D\u79F0"},{field:"report_type",type:"select",defaultValue:"2",otherOptions:{clearable:!1},trigger:"change",options:[{value:"1",label:"\u90E8\u95E8\u62A5\u8868"},{value:"2",label:"\u4E1A\u52A1\u516C\u53F8\u62A5\u8868"}]}]},x="publish",C=s({__name:"index",setup(e){const u={pageSearchHook:()=>_(void 0,void 0,a)};return(t,F)=>{const n=o("PageContainer"),p=o("PageAuth");return i(),c(p,{pageName:x},{default:m(()=>[h(n,{hooks:u,searchConfig:r(a),"content-config":r(b)},null,8,["searchConfig","content-config"])]),_:1})}}});var E=l(C,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/template/publish/index.vue"]]);export{E as default};