chore: update

This commit is contained in:
xiaoxian521
2024-01-16 01:02:30 +08:00
parent 827481c909
commit 03f8a25f75
283 changed files with 245 additions and 245 deletions

1
dist/static/js/columns-gqUQKOUf.js vendored Normal file
View File

@@ -0,0 +1 @@
import{P as d}from"./print-v8kborK1.js";import{b}from"./data-Gik9YCLP.js";import{r as c,O as i}from"./index-vCm-Bl4d.js";function g(a){const e=c(i(b,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{d(a.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:f}){if(r==="id")return f<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:t,dataList:e,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{g as useColumns};