| | |
| | | <el-collapse-item title="基本信息" name="1"> |
| | | <avue-form ref="form1" v-model="obj0" :option="option" @submit="submit" class="cardButs"></avue-form> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="附件上传" name="2"> |
| | | <el-collapse-item title="附件信息" name="2"> |
| | | <div v-for="(item,index) in patrolGroup"> |
| | | <div style="font-weight: bold;font-size: 20px;"> |
| | | {{item.title}} |
| | | </div> |
| | | <div v-for="(item1,index1) in item.children"> |
| | | <div> |
| | | <div v-for="(item1,index1) in item.children" class="attach_row"> |
| | | <div class="attach_row_title"> |
| | | {{index1+1}} {{item1.title}} |
| | | </div> |
| | | <div style="margin: 10px;"> |
| | | <div style="margin: 10px;" class="attach_row_btn"> |
| | | <el-button v-if="item1.images" @click="handleExport(item1.images)" size="small" |
| | | type="primary">下载文件</el-button> |
| | | <!-- <el-upload class="upload-demo" :limit="1" :data="item1" :on-change="handleChange" |
| | |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | .attach_row { |
| | | display: flex; |
| | | border: 0.2px solid rgba(221, 223, 229, 0.5); |
| | | height: 54px; |
| | | |
| | | .attach_row_title { |
| | | width: 85%; |
| | | border-right: 0.2px solid rgba(221, 223, 229, 0.5); |
| | | display: flex; |
| | | justify-content: left; |
| | | align-items: center; |
| | | margin-left: 15px; |
| | | } |
| | | |
| | | .attach_row_btn { |
| | | width: 15%; |
| | | margin: 10px; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | </style> |