| | |
| | | > |
| | | </div> |
| | | </div> |
| | | <div class="addBtn"> |
| | | <el-button type="primary" @click="handleUpdateImageResource(null,'create')" |
| | | >新增</el-button |
| | | > |
| | | </div> |
| | | </div> |
| | | </header> |
| | | <main> |
| | |
| | | }, |
| | | // 执行下拉框操作 |
| | | selectChange(list) { |
| | | debugger |
| | | if (this.tempList.length !== 0) { |
| | | this.preMyIdx = list; |
| | | this.mulDelete(this.tempList); |
| | |
| | | .deleteImageResource({ id: id }) |
| | | .then(() => { |
| | | this.$message.success("操作成功"); |
| | | this.getImageResourceList(); |
| | | }) |
| | | .catch((err) => this.$message.error(`${err}`)); |
| | | }); |
| | |
| | | } |
| | | |
| | | .addBtn { |
| | | background-color: #eb5d01; |
| | | // background-color: #eb5d01; |
| | | border: none; |
| | | border-radius: 20px; |
| | | padding: 12px 30px; |
| | |
| | | background-color: #09152f; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |