| src/views/collaborativeApproval/knowledgeBase/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/collaborativeApproval/rulesRegulationsManagement/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/collaborativeApproval/sealManagement/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/collaborativeApproval/knowledgeBase/index.vue
@@ -296,7 +296,7 @@ <span v-else style="color: #909399">-</span> </template> </el-table-column> <el-table-column prop="createTime" label="上传时间" width="180" /> <el-table-column prop="createTime" label="上传时间" width="120" :formatter="formatDate" /> <el-table-column label="操作" width="150" align="center"> <template #default="{ row }"> <el-button @@ -386,6 +386,10 @@ import useUserStore from '@/store/modules/user'; import { userListNoPageByTenantId } from '@/api/system/user.js'; import { getToken } from "@/utils/auth"; import { parseDate } from "@/utils/ruoyi"; // 日期回显格式化(YYYY-MM-DD) const formatDate = (row, column, cellValue) => parseDate(cellValue) || '-'; // 表单验证规则 const rules = { src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
@@ -144,7 +144,7 @@ <el-descriptions-item label="分类">{{ getCategoryText(currentRegulationDetail.category) }}</el-descriptions-item> <el-descriptions-item label="版本">{{ currentRegulationDetail.version }}</el-descriptions-item> <el-descriptions-item label="发布人">{{ currentRegulationDetail.createUserName }}</el-descriptions-item> <el-descriptions-item label="发布时间">{{ currentRegulationDetail.createTime }}</el-descriptions-item> <el-descriptions-item label="发布时间">{{ formatDate(currentRegulationDetail.createTime) }}</el-descriptions-item> </el-descriptions> <div class="mt-20"> <h4>制度内容</h4> @@ -235,6 +235,10 @@ addRuleFile, } from "@/api/collaborativeApproval/rulesRegulationsManagementFile.js"; import PIMTable from "@/components/PIMTable/PIMTable.vue"; import { parseDate } from "@/utils/ruoyi"; // 日期回显格式化(YYYY-MM-DD) const formatDate = value => parseDate(value) || "-"; // 响应式数据 const operationType = ref("add"); src/views/collaborativeApproval/sealManagement/index.vue
@@ -118,7 +118,7 @@ <el-descriptions-item label="申请人">{{ currentSealDetail.createUserName }}</el-descriptions-item> <el-descriptions-item label="所属部门">{{ currentSealDetail.department }}</el-descriptions-item> <el-descriptions-item label="用印类型">{{ getSealTypeText(currentSealDetail.sealType) }}</el-descriptions-item> <el-descriptions-item label="申请时间">{{ currentSealDetail.createTime }}</el-descriptions-item> <el-descriptions-item label="申请时间">{{ formatDate(currentSealDetail.createTime) }}</el-descriptions-item> <el-descriptions-item label="状态"> <el-tag :type="getStatusType(currentSealDetail.status)"> {{ getStatusText(currentSealDetail.status) }} @@ -163,6 +163,10 @@ import AttachmentUploadFile from '@/components/AttachmentUpload/file/index.vue' import FilePreview from '@/components/filePreview/index.vue' import download from '@/plugins/download.js' import { parseDate } from '@/utils/ruoyi' // 日期回显格式化(YYYY-MM-DD) const formatDate = value => parseDate(value) || '-' // 响应式数据 // 用印申请相关