需求删除逻辑修改
This commit is contained in:
@@ -22,16 +22,9 @@
|
||||
@click="handleCollapse(!activeNames.includes('1'))"
|
||||
>高级筛选
|
||||
</el-button>
|
||||
<!-- <el-dropdown trigger="click" placement="bottom-end">-->
|
||||
<!-- <span class="el-dropdown-link">-->
|
||||
<!-- 列表视图<i class="el-icon-arrow-down el-icon--right"></i>-->
|
||||
<!-- </span>-->
|
||||
<!-- <el-dropdown-menu slot="dropdown">-->
|
||||
<!-- <el-dropdown-item>列表视图</el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item>看板视图</el-dropdown-item>-->
|
||||
<!-- </el-dropdown-menu>-->
|
||||
<!-- </el-dropdown>-->
|
||||
<el-button icon="el-icon-plus" type="primary" size="medium" style="margin-left: 10px;" @click="addProjectVue">新建需求</el-button>
|
||||
<el-button icon="el-icon-plus" type="primary" size="medium" style="margin-left: 10px;" @click="addProjectVue">
|
||||
新建需求
|
||||
</el-button>
|
||||
</div>
|
||||
</el-header>
|
||||
</el-col>
|
||||
@@ -321,9 +314,7 @@ export default {
|
||||
type: '',
|
||||
version: ''
|
||||
},
|
||||
editForm: {
|
||||
|
||||
},
|
||||
editForm: {},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -463,14 +454,14 @@ export default {
|
||||
this.editSubmitLoading = true
|
||||
updateProject(form)
|
||||
.then(() => {
|
||||
this.$message.success('编辑成功')
|
||||
this.editSubmitLoading = false
|
||||
this.editOpen = false
|
||||
this.getList()
|
||||
this.$message.success('编辑成功')
|
||||
this.editSubmitLoading = false
|
||||
this.editOpen = false
|
||||
this.getList()
|
||||
})
|
||||
.catch(() => {
|
||||
this.$message.error('编辑失败')
|
||||
this.editSubmitLoading = false
|
||||
this.$message.error('编辑失败')
|
||||
this.editSubmitLoading = false
|
||||
})
|
||||
},
|
||||
/** 全部导出按钮操作 */
|
||||
@@ -487,7 +478,7 @@ export default {
|
||||
},
|
||||
/** 批量导出按钮操作 */
|
||||
handleSelectExport() {
|
||||
this.selectedData = this.selectedRows.map(row => ({
|
||||
this.selectedData = this.selectedRows.map(row => ({
|
||||
serialNumber: row.serialNumber,
|
||||
name: row.name,
|
||||
outline: row.outline,
|
||||
@@ -501,7 +492,6 @@ export default {
|
||||
createTime: row.createTime,
|
||||
status: row.status
|
||||
}));
|
||||
console.log('selectedData', this.selectedData)
|
||||
requestDownload({
|
||||
url: '/test/project/batchExportProject',
|
||||
fileName: `需求列表信息_${new Date().getTime()}.xlsx`,
|
||||
|
||||
Reference in New Issue
Block a user