|
|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<div class="m-record"> |
|
|
|
<h3>检查记录</h3> |
|
|
|
<h3 class="title_box">检查记录</h3> |
|
|
|
<div> |
|
|
|
<div class="u-table-btn1 mt10" v-if="formType == 'edit'"> |
|
|
|
<el-button |
|
|
|
@ -38,7 +38,7 @@ |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-form-item |
|
|
|
:prop="'tableData.' + scope.$index + '.inspectTime'" |
|
|
|
style="margin-bottom: 0px;" |
|
|
|
style="margin-bottom: 0px" |
|
|
|
> |
|
|
|
<el-date-picker |
|
|
|
v-if="scope.row.isEdit" |
|
|
|
@ -66,7 +66,7 @@ |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-form-item |
|
|
|
:prop="'tableData.' + scope.$index + '.inspectStaffId'" |
|
|
|
style="margin-bottom: 0px;" |
|
|
|
style="margin-bottom: 0px" |
|
|
|
> |
|
|
|
<el-select |
|
|
|
v-if="scope.row.isEdit" |
|
|
|
@ -123,7 +123,7 @@ |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-form-item |
|
|
|
:prop="'tableData.' + scope.$index + '.inspectResult'" |
|
|
|
style="margin-bottom: 0px;" |
|
|
|
style="margin-bottom: 0px" |
|
|
|
> |
|
|
|
<el-select |
|
|
|
v-if="scope.row.isEdit" |
|
|
|
@ -180,7 +180,7 @@ |
|
|
|
<div v-if="scope.row.isEdit"> |
|
|
|
<el-form-item |
|
|
|
:prop="'tableData.' + scope.$index + '.imgList'" |
|
|
|
style="margin-bottom: 0px;" |
|
|
|
style="margin-bottom: 0px" |
|
|
|
> |
|
|
|
<el-upload |
|
|
|
:headers="$getElUploadHeaders()" |
|
|
|
@ -222,7 +222,7 @@ |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-form-item |
|
|
|
:prop="'tableData.' + scope.$index + '.nextInspectTime'" |
|
|
|
style="margin-bottom: 0px;" |
|
|
|
style="margin-bottom: 0px" |
|
|
|
> |
|
|
|
<el-date-picker |
|
|
|
v-if="scope.row.isEdit" |
|
|
|
@ -241,7 +241,7 @@ |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column |
|
|
|
v-if="!disabled ||formType == 'edit'||formType == 'add'" |
|
|
|
v-if="!disabled || formType == 'edit' || formType == 'add'" |
|
|
|
fixed="right" |
|
|
|
label="操作" |
|
|
|
align="center" |
|
|
|
@ -685,4 +685,18 @@ export default { |
|
|
|
.input-width { |
|
|
|
width: 170px; |
|
|
|
} |
|
|
|
.title_box { |
|
|
|
position: relative; |
|
|
|
&::after { |
|
|
|
display: inline-block; |
|
|
|
width: 3px; |
|
|
|
height: 16px; |
|
|
|
background-color: #0056d6; |
|
|
|
// margin-left: -5px; |
|
|
|
content: ""; |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left: -5px; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
|