feat(wms/attendance): 新增批量修改排班功能,优化设备巡检表格展示
1. 新增批量修改排班API接口和页面弹窗功能 2. 设备巡检表格移除固定宽度并添加溢出提示,新增现场图像展示列
This commit is contained in:
@@ -95,12 +95,12 @@
|
||||
<el-table :data="equipmentChecklistList" height="calc(100% - 20px)"
|
||||
@selection-change="handleChecklistSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="检验编号" align="center" prop="checkNo" width="120" />
|
||||
<el-table-column label="检验编号" align="center" prop="checkNo" />
|
||||
<el-table-column label="设备部件名称" align="center" prop="partName" width="120" />
|
||||
<el-table-column label="检验内容" align="center" prop="checkContent" min-width="120" />
|
||||
<el-table-column label="设备状态" align="center" prop="equipmentState" width="80" />
|
||||
<el-table-column label="检验标准" align="center" prop="checkStandard" min-width="120" />
|
||||
<el-table-column label="备注" align="center" prop="remark" width="120" />
|
||||
<el-table-column label="检验内容" align="center" prop="checkContent" show-overflow-tooltip />
|
||||
<el-table-column label="设备状态" align="center" prop="equipmentState" />
|
||||
<el-table-column label="检验标准" align="center" prop="checkStandard" show-overflow-tooltip />
|
||||
<el-table-column label="备注" align="center" prop="remark" show-overflow-tooltip />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-document-copy"
|
||||
|
||||
@@ -112,6 +112,18 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="巡检人" align="center" prop="inspector" />
|
||||
<el-table-column label="现场图像" align="center" prop="photo">
|
||||
<template slot-scope="scope">
|
||||
<el-image
|
||||
v-if="scope.row.photo"
|
||||
:src="scope.row.photo"
|
||||
fit="fill"
|
||||
:preview-src-list="[scope.row.photo]"
|
||||
style="width: 100px; height: 100px;"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="异常描述" align="center" prop="abnormalDesc" />
|
||||
<el-table-column label="备注" align="center" prop="remark" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
|
||||
Reference in New Issue
Block a user