feat: 完成项目管理首页优化
- 移除不需要的 @detail 事件监听器 - 移除不再使用的 handleDetail 方法 - 清理代码,保持事件监听器的简洁性 相关任务:Task 5 - 更新 index.vue 并全面测试
This commit is contained in:
@@ -21,7 +21,6 @@
|
|||||||
:total="total"
|
:total="total"
|
||||||
:page-params="queryParams"
|
:page-params="queryParams"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
@detail="handleDetail"
|
|
||||||
@enter="handleEnter"
|
@enter="handleEnter"
|
||||||
@view-result="handleViewResult"
|
@view-result="handleViewResult"
|
||||||
@re-analyze="handleReAnalyze"
|
@re-analyze="handleReAnalyze"
|
||||||
@@ -195,11 +194,6 @@ export default {
|
|||||||
this.addDialogTitle = '创建高风险专项项目'
|
this.addDialogTitle = '创建高风险专项项目'
|
||||||
this.addDialogVisible = true
|
this.addDialogVisible = true
|
||||||
},
|
},
|
||||||
/** 查看详情 */
|
|
||||||
handleDetail(row) {
|
|
||||||
console.log('查看详情:', row)
|
|
||||||
this.$modal.msgInfo('查看项目详情: ' + row.projectName)
|
|
||||||
},
|
|
||||||
/** 进入项目 */
|
/** 进入项目 */
|
||||||
handleEnter(row) {
|
handleEnter(row) {
|
||||||
console.log('进入项目:', row)
|
console.log('进入项目:', row)
|
||||||
|
|||||||
Reference in New Issue
Block a user