完成制度管理模块开发
This commit is contained in:
parent
cc65882b8d
commit
7f8ccb76cb
|
@ -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": {
|
||||
|
|
|
@ -37,7 +37,7 @@ export class PDFGenerator {
|
|||
z-index: 0;
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
">制度管理系统</div>
|
||||
">迪特聚能科技</div>
|
||||
|
||||
<!-- 标题 -->
|
||||
<h1 style="
|
||||
|
@ -53,7 +53,7 @@ export class PDFGenerator {
|
|||
<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>
|
||||
<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>
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
size="small"
|
||||
disabled
|
||||
>
|
||||
已公示
|
||||
已公告
|
||||
</a-button>
|
||||
</a-space>
|
||||
</template>
|
||||
|
|
|
@ -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] || '草稿'
|
||||
|
|
Loading…
Reference in New Issue