This commit is contained in:
helloDy
2024-03-26 16:52:04 +08:00
parent 6a558cbab5
commit a409a22bef
5 changed files with 19 additions and 10 deletions

View File

@@ -46,9 +46,9 @@
<el-table-column
v-if="selectedBox[2]"
label="巡检时间"
prop="planCheckTime">
prop="actualCheckTime">
<template slot-scope="scope">
{{ scope.row.planCheckTime | timeFilter }}
{{ scope.row.actualCheckTime | timeFilter }}
</template>
</el-table-column>
<el-table-column

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
* @LastEditTime: 2024-03-20 17:58:29
* @LastEditTime: 2024-03-25 15:44:49
* @Description:
-->
<template>
@@ -85,12 +85,12 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="巡检时间" prop="planCheckTime">
<el-form-item label="实际巡检时间" prop="actualCheckTime">
<el-date-picker
v-model="dataForm.planCheckTime"
v-model="dataForm.actualCheckTime"
type="datetime"
:disabled="isdetail"
placeholder="请选择巡检时间"
placeholder="请选择实际巡检时间"
value-format="timestamp"
style="width: 100%" />
</el-form-item>
@@ -250,7 +250,7 @@ export default {
departmentId: undefined,
groupClass: [],
checkPerson: [],
planCheckTime: undefined
actualCheckTime: undefined
},
detList: [],
groupOptions: [],

View File

@@ -120,7 +120,7 @@ export default {
tableProps: [
{ prop: 'name', label: '巡检单名称' },
{ prop: 'department', label: '部门' },
{ prop: 'planCheckTime', label: '巡检时间', filter: parseTime },
{ prop: 'actualCheckTime', label: '巡检时间', filter: parseTime },
{ prop: 'groupClass', label: '班次' },
// { prop: 'opt', label: '巡检内容', name: '详情', subcomponent: btn },
{ prop: 'remark', label: '备注' }