| | |
| | | <template> |
| | | <el-dialog :title="title" :visible.sync="dialogVisible" append-to-body="true" width="30%"> |
| | | <el-dialog :title="title" :visible.sync="dialogVisible" append-to-body="true" class="avue-dialog avue-dialog--top" top="-3%" width="30%"> |
| | | <el-tag v-for="tag in tags" :key="tag" closable disable-transitions effect="Plain" size="medium" |
| | | @click="handleClickTag(tag)" @close="handleCloseTag(tag)"> |
| | | <span> {{ tag.name }}</span> |
| | |
| | | }, |
| | | async apiDict() { |
| | | const response = await personnelDict() |
| | | console.log(response) |
| | | if (response.status === 200) { |
| | | console.log(response) |
| | | const data = response.data.data |
| | | this.typeName = data.map(item => { |
| | | const { account, deptName, id, realName } = item |
| | |
| | | async canCollect(name) { |
| | | const response = await cancelCollect({ name: name }) |
| | | if (response.status === 200) { |
| | | console.log(response) |
| | | this.apiInit() |
| | | this.isCollent = true |
| | | this.$message({ |
| | |
| | | this.done() |
| | | }, |
| | | handleConfirm() { |
| | | console.log(this.saveParam) |
| | | this.apiSave() |
| | | } |
| | | } |
| | |
| | | justify-content: end; |
| | | padding-bottom: 10px; |
| | | } |
| | | |
| | | </style> |