| | |
| | | <div v-else class="seal-position-empty">该位置不盖章</div> |
| | | </div> |
| | | </div> |
| | | <el-empty v-if="!sealLoading && sealOptions.length === 0" description="暂无启用印章,请先在印章管理中维护" :image-size="54" /> |
| | | <el-empty v-if="!sealLoading && sealOptions.length === 0" description="暂无启用印章,请先到「基础配置 → 印章管理」新增并启用印章" :image-size="54" /> |
| | | </div> |
| | | <template #footer><span class="dialog-footer"> |
| | | <el-button :disabled="loadingApprove" @click="approveReasonVisible = true">不批准</el-button> |
| | |
| | | }, |
| | | // 批准通过 |
| | | subApprove() { |
| | | if (!this.sealOptions.length) { |
| | | return this.$message.error('暂无启用的印章,请先到「基础配置 → 印章管理」新增并启用印章') |
| | | } |
| | | const selectedIds = Object.values(this.selectedSealPositions).filter(id => id != null) |
| | | if (!selectedIds.length) { |
| | | return this.$message.error('请至少为一个位置选择印章') |
| | |
| | | .seal-select-block { |
| | | margin-top: 16px; |
| | | padding: 14px 16px; |
| | | border: 1px solid #ebeef5; |
| | | border: 1px solid var(--el-border-color-light); |
| | | border-radius: 6px; |
| | | background: #fafafa; |
| | | } |
| | |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | margin-bottom: 12px; |
| | | color: #303133; |
| | | color: var(--lims-text); |
| | | font-weight: 600; |
| | | } |
| | | |
| | | .seal-select-tip { |
| | | color: #909399; |
| | | color: var(--lims-text-3); |
| | | font-size: 12px; |
| | | font-weight: normal; |
| | | } |
| | |
| | | |
| | | .seal-position-card { |
| | | padding: 14px; |
| | | border: 1px solid #dcdfe6; |
| | | border: 1px solid var(--el-border-color); |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | .seal-position-name { |
| | | color: #303133; |
| | | color: var(--lims-text); |
| | | font-weight: 600; |
| | | } |
| | | |
| | | .seal-position-desc { |
| | | margin: 4px 0 10px; |
| | | color: #909399; |
| | | color: var(--lims-text-3); |
| | | font-size: 12px; |
| | | } |
| | | |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | margin-top: 12px; |
| | | color: #606266; |
| | | color: var(--lims-text-2); |
| | | } |
| | | |
| | | .seal-position-preview img { |
| | |
| | | .seal-position-empty { |
| | | height: 70px; |
| | | margin-top: 12px; |
| | | color: #c0c4cc; |
| | | color: var(--el-text-color-placeholder); |
| | | font-size: 12px; |
| | | line-height: 70px; |
| | | text-align: center; |