Merge remote-tracking branch 'websoft/master'
This commit is contained in:
@@ -1541,7 +1541,7 @@
|
||||
<template #default="{ row }">{{ formatFileSize(row.size) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="uploadUserName" label="上传人" width="140" align="center" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="170" align="center" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="170" align="center" sortable/>
|
||||
<el-table-column label="操作" width="120" align="center">
|
||||
<template #default="{ row, $index }">
|
||||
<el-link
|
||||
@@ -1804,7 +1804,7 @@
|
||||
<template #default="{ row }">{{ formatFileSize(row.size) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="uploadUserName" label="上传人" width="140" align="center" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="160" align="center" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="160" align="center" sortable/>
|
||||
<el-table-column label="操作" width="100" align="center">
|
||||
<template #default="{ row, $index }">
|
||||
<el-link
|
||||
@@ -1830,7 +1830,7 @@
|
||||
<template #changeRecordJson-form>
|
||||
<el-table :data="changeRecordRows" border class="business-crud-page__change-table">
|
||||
<el-table-column type="index" label="序号" width="70" align="center" />
|
||||
<el-table-column prop="changeDate" label="变更日期" min-width="150" align="center" />
|
||||
<el-table-column prop="changeDate" label="变更日期" min-width="150" align="center" sortable/>
|
||||
<el-table-column prop="handlerUserName" label="经办人" min-width="140" align="center" />
|
||||
<el-table-column prop="changeType" label="变更类型" min-width="160" align="center" />
|
||||
<el-table-column
|
||||
@@ -2020,13 +2020,12 @@
|
||||
width="96%"
|
||||
class="business-crud-page__detail-dialog"
|
||||
>
|
||||
<div v-loading="detailLoading">
|
||||
<section
|
||||
<div v-loading="detailLoading" class="business-crud-page__detail-content">
|
||||
<section-card
|
||||
v-for="section in detailSections"
|
||||
:key="section.title"
|
||||
class="business-crud-page__detail-section"
|
||||
:title="section.title"
|
||||
>
|
||||
<div class="dialog-section-title">{{ section.title }}</div>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item
|
||||
v-for="field in section.fields"
|
||||
@@ -2037,9 +2036,8 @@
|
||||
{{ formatDetailValue(detailRow, field[0]) }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</section>
|
||||
<section v-if="config.enableTransportPlanForm" class="business-crud-page__detail-section">
|
||||
<div class="dialog-section-title">货物信息</div>
|
||||
</section-card>
|
||||
<section-card v-if="config.enableTransportPlanForm" title="货物信息">
|
||||
<el-table :data="transportCargoRows" border empty-text="暂无货物信息">
|
||||
<el-table-column type="index" label="序号" width="70" align="center" />
|
||||
<el-table-column prop="cargoName" label="货物名称" min-width="180" />
|
||||
@@ -2054,9 +2052,8 @@
|
||||
<el-table-column prop="deviceCode" label="设备编码" min-width="140" />
|
||||
<el-table-column prop="remark" label="备注" min-width="160" />
|
||||
</el-table>
|
||||
</section>
|
||||
<section v-if="config.enableAttachmentTable" class="business-crud-page__detail-section">
|
||||
<div class="dialog-section-title">{{ config.attachmentTitle || '附件' }}</div>
|
||||
</section-card>
|
||||
<section-card v-if="config.enableAttachmentTable" :title="config.attachmentTitle || '附件'">
|
||||
<el-table :data="attachmentRows" border empty-text="暂无附件">
|
||||
<el-table-column type="index" label="序号" width="70" align="center" />
|
||||
<el-table-column label="文件名" min-width="260">
|
||||
@@ -2067,9 +2064,9 @@
|
||||
<template #default="{ row }">{{ formatFileSize(row.size) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="uploadUserName" label="上传人" width="140" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="180" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="180" sortable/>
|
||||
</el-table>
|
||||
</section>
|
||||
</section-card>
|
||||
</div>
|
||||
<template #footer>
|
||||
<el-button type="primary" @click="detailBox = false">关闭</el-button>
|
||||
@@ -2527,7 +2524,7 @@
|
||||
min-width="160"
|
||||
align="center"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
sortable/>
|
||||
<el-table-column label="操作" width="220" align="center" fixed="right">
|
||||
<template #default="{ row, $index }">
|
||||
<div class="business-crud-page__dispatch-actions">
|
||||
@@ -3042,7 +3039,7 @@
|
||||
<template #default="{ row }">{{ formatFileSize(row.size) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="uploadUserName" label="上传人" width="140" align="center" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="160" align="center" />
|
||||
<el-table-column prop="uploadTime" label="上传时间" width="160" align="center" sortable/>
|
||||
<el-table-column label="操作" width="100" align="center">
|
||||
<template #default="{ $index }">
|
||||
<el-link type="danger" @click="removeDispatchItemAttachment($index)">删除</el-link>
|
||||
@@ -3483,8 +3480,8 @@
|
||||
min-width="120"
|
||||
:formatter="formatTransportRouteUpdateUserName"
|
||||
/>
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" />
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" />
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" sortable/>
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" sortable/>
|
||||
<el-table-column label="操作" width="110" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-link type="primary" @click.stop="selectTransportRouteRow(row)">
|
||||
@@ -3591,8 +3588,8 @@
|
||||
<el-table-column prop="contactPhone" label="联系方式" min-width="140" />
|
||||
<el-table-column prop="deptName" label="组织" min-width="150" show-overflow-tooltip />
|
||||
<el-table-column prop="remark" label="备注" min-width="180" show-overflow-tooltip />
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" />
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" />
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" sortable/>
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" sortable/>
|
||||
<el-table-column label="操作" width="110" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-link type="primary" @click.stop="selectTransportAddressRow(row)">
|
||||
@@ -3673,8 +3670,8 @@
|
||||
<el-table-column prop="latitude" label="纬度" min-width="120" />
|
||||
<el-table-column prop="regionName" label="行政区划" min-width="160" show-overflow-tooltip />
|
||||
<el-table-column prop="remark" label="备注" min-width="180" show-overflow-tooltip />
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" />
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" />
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" sortable/>
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" sortable/>
|
||||
<el-table-column label="操作" width="110" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-link type="primary" @click.stop="selectTransportStationRow(row)">
|
||||
@@ -3820,8 +3817,8 @@
|
||||
/>
|
||||
<el-table-column prop="remark" label="备注" min-width="180" show-overflow-tooltip />
|
||||
<el-table-column prop="deptName" label="组织" min-width="150" show-overflow-tooltip />
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" />
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" />
|
||||
<el-table-column prop="updateTime" label="更新时间" min-width="160" sortable/>
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" sortable/>
|
||||
<el-table-column label="操作" width="110" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-link type="primary" @click.stop="selectCommonCargoRow(row)">
|
||||
@@ -10398,24 +10395,28 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
&__detail-section {
|
||||
margin-bottom: 20px;
|
||||
&__detail-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
|
||||
:deep(.el-descriptions__label) {
|
||||
width: 140px;
|
||||
color: #606266;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
}
|
||||
.section-card {
|
||||
:deep(.el-descriptions__label) {
|
||||
width: 140px;
|
||||
color: #606266;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
:deep(.el-descriptions__content) {
|
||||
min-height: 42px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
:deep(.el-descriptions__content) {
|
||||
min-height: 42px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
:deep(.el-table) {
|
||||
border-color: #eff1f7;
|
||||
:deep(.el-table) {
|
||||
border-color: #eff1f7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10505,4 +10506,22 @@ export default {
|
||||
.section-card{
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* 编辑弹窗:含分组的 Avue form 渲染为白卡风格 */
|
||||
:deep(.avue-form__group:has(.dialog-section-title)) {
|
||||
background: #fff;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
|
||||
padding: 16px;
|
||||
margin-bottom: 16px;
|
||||
|
||||
.avue-form__group--title {
|
||||
padding: 0 !important;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.avue-form__row {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user