| | |
| | | style="background: #FEF7FC;" |
| | | /> |
| | | |
| | | <el-dialog :title="isEdit1 ? '编辑' : '新增'" :visible.sync="open" width="900px" append-to-body> |
| | | <el-dialog :title="isEdit1 ? '编辑' : '新增'" :visible.sync="open" width="900px" append-to-body @close='closeFn'> |
| | | <el-col > |
| | | <el-form ref="elForm" :model="formDat" :rules="rules" size="medium" label-width="100px"> |
| | | |
| | |
| | | |
| | | </el-upload> |
| | | |
| | | <el-button |
| | | style="margin-left: 10px;" |
| | | size="small" |
| | | type="success" |
| | | @click="fileUpload" |
| | | >上传到服务器</el-button> |
| | | <el-button |
| | | style="margin-left: 10px;" |
| | | size="small" |
| | | type="success" |
| | | @click="fileUpload" |
| | | >上传到服务器</el-button> |
| | | |
| | | </el-form> |
| | | </el-col> |
| | |
| | | |
| | | |
| | | <!-- 查看详情弹窗 --> |
| | | <el-dialog title="详情" :visible.sync="open2" width="900px" append-to-body> |
| | | <el-dialog title="详情" :visible.sync="open2" width="900px" append-to-body @close='closeFn'> |
| | | <el-col > |
| | | <el-form ref="elForm" :model="formDat" :rules="rules" size="medium" label-width="100px"> |
| | | |
| | |
| | | ></video> |
| | | <img v-else |
| | | class="el-upload-list__item-thumbnail" |
| | | :src="file.url" |
| | | src="../../assets/images/deviceLis.png" |
| | | alt="" |
| | | style="width: 100%; height: 100%" |
| | | fit="cover"> |
| | |
| | | |
| | | }, |
| | | methods: { |
| | | closeFn(){ |
| | | this.fileList = [] |
| | | this.fileListOther = [] |
| | | }, |
| | | // 弹窗 |
| | | handleShow(scope){ |
| | | |
| | |
| | | _this.formDat.url = _this.formDat.url+","+response.fileNames |
| | | _this.$modal.msgSuccess("文件上传成功!"); |
| | | }) |
| | | // const cid = this.$route.params && this.$route.params.id; |
| | | // this.getList(2007,cid); |
| | | |
| | | }, |
| | | // 查看文件 |
| | |
| | | .button1 { |
| | | background:center no-repeat url('../../assets/icons/add1.png') ; |
| | | /* margin-left: 69.5vw; */ |
| | | margin-left: 780px; |
| | | margin-left: 650px; |
| | | } |
| | | |
| | | .button_delete { |