| | |
| | | |
| | | <el-descriptions :column="2" size="small" border> |
| | | <template #title> |
| | | <span class="d-index">{{ index }}</span> |
| | | <span class="d-index">{{ index + 1 }}</span> |
| | | <span class="d-title">{{ title }}</span> |
| | | </template> |
| | | <template #extra> |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-row justify="end" class="btn-group"> |
| | | <el-button |
| | | <!-- <el-button |
| | | type="danger" |
| | | size="small" |
| | | @click="deletePro" |
| | | :disabled="true" |
| | | >删除</el-button |
| | | > |
| | | <!-- <el-button |
| | | > --> |
| | | <el-button |
| | | type="danger" |
| | | size="small" |
| | | @click="deletePro" |
| | | :disabled="!proStatus.deletable" |
| | | >删除</el-button |
| | | > --> |
| | | > |
| | | <!-- 审核驳回操作 --> |
| | | <el-button |
| | | v-if=" |
| | |
| | | }, |
| | | index: { |
| | | type: Number, |
| | | default: 1 |
| | | default: 0 |
| | | } |
| | | }, |
| | | data() { |
| | |
| | | deletePro() { |
| | | useMessageBoxTip({ |
| | | confirmMsg: '是否删除问题', |
| | | confirmTitle: '确定', |
| | | confirmTitle: '删除问题', |
| | | onConfirm: () => { |
| | | return problemApi |
| | | .deleteProblem({ |
| | |
| | | }) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | this.$emit('submit'); |
| | | this.$emit('delete', this.index); |
| | | } |
| | | }); |
| | | } |