Browse Source

监控设备新增编辑下方菜单数据bug

feature
mk 3 years ago
parent
commit
7f90a5a052
  1. 1
      src/views/modules/cpts/base2/index.vue
  2. 28
      src/views/modules/shequzhili/tuceng/zhonghe/shebei/cpts/record.vue

1
src/views/modules/cpts/base2/index.vue

@ -796,6 +796,7 @@ export default {
this.formType = "add";
this.formTitle = "新增";
this.formShow = true;
this.formId = '';
},
handleWatch(row) {

28
src/views/modules/shequzhili/tuceng/zhonghe/shebei/cpts/record.vue

@ -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>

Loading…
Cancel
Save