完成制度管理模块开发

This commit is contained in:
chabai 2025-08-01 15:37:53 +08:00
parent cc65882b8d
commit 7f8ccb76cb
4 changed files with 11 additions and 11 deletions

2
package-lock.json generated
View File

@ -765,7 +765,7 @@
},
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
"version": "1.3.0",
"extraneous": true,
"dev": true,
"inBundle": true,
"license": "MIT",
"engines": {

View File

@ -37,7 +37,7 @@ export class PDFGenerator {
z-index: 0;
pointer-events: none;
white-space: nowrap;
"></div>
"></div>
<!-- -->
<h1 style="
@ -51,10 +51,10 @@ export class PDFGenerator {
<!-- -->
<div style="margin-bottom: 30px;">
<table style="width: 100%; border-collapse: collapse;">
<tr>
<td style="padding: 8px 0; border-bottom: 1px solid #eee;"><strong></strong>${regulation.regulationType || '-'}</td>
<td style="padding: 8px 0; border-bottom: 1px solid #eee;"><strong></strong>${regulation.createBy || '-'}</td>
</tr>
<tr>
<td style="padding: 8px 0; border-bottom: 1px solid #eee;"><strong></strong>${regulation.regulationType || '-'}</td>
<td style="padding: 8px 0; border-bottom: 1px solid #eee;"><strong></strong>${regulation.createByName || regulation.createBy || '-'}</td>
</tr>
<tr>
<td style="padding: 8px 0; border-bottom: 1px solid #eee;"><strong></strong>${regulation.publishTime || '-'}</td>
<td style="padding: 8px 0; border-bottom: 1px solid #eee;"><strong></strong>${regulation.effectiveTime || '-'}</td>

View File

@ -105,7 +105,7 @@
size="small"
disabled
>
已公
已公
</a-button>
</a-space>
</template>

View File

@ -25,7 +25,7 @@
<a-form-item label="提案人">
<a-input
v-model="searchForm.createByName"
v-model="searchForm.ByNamecreate"
placeholder="请输入提案人"
allow-clear
style="width: 150px"
@ -59,7 +59,7 @@
>
<a-option value="">全部</a-option>
<a-option value="DRAFT">草稿</a-option>
<a-option value="PUBLISHED">已公</a-option>
<a-option value="PUBLISHED">已公</a-option>
</a-select>
</a-form-item>
@ -435,8 +435,8 @@ const getStatusText = (status: RegulationStatus) => {
[RegulationStatus.DRAFT]: '草稿',
[RegulationStatus.VOTING]: '投票中',
[RegulationStatus.REJECTED]: '已否决',
[RegulationStatus.PUBLISHED]: '已公',
[RegulationStatus.APPROVED]: '已通过',
[RegulationStatus.PUBLISHED]: '已公',
[RegulationStatus.APPROVED]: '已公示',
[RegulationStatus.ARCHIVED]: '已归档'
}
return texts[status] || '草稿'