Commit 945e6842 authored by 祁正's avatar 祁正

feat(通知单承接):创建控制计划新增搭建

parent 2c33f06f
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
<el-table-column label="操作" align="center" width="200"> <el-table-column label="操作" align="center" width="200">
<template #default="scope"> <template #default="scope">
<el-button type="text" style="color: rgb(0,0,255)" @click="controlPlan(scope.row)">触发控制计划</el-button> <el-button type="text" style="color: rgb(0,0,255)" @click="controlPlan(scope.row)">触发控制计划</el-button>
<el-button v-if="scope.row.changeType.includes('新增')" type="text" style="color: rgb(0,0,255)" @click="handleView(scope.row)">触发封面</el-button> <el-button v-if="scope.row.changeType.includes('新增')" type="text" style="color: rgb(0,0,255)" @click="triggerCover(scope.row)">触发封面</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -339,6 +339,18 @@ function resetQuery(){ ...@@ -339,6 +339,18 @@ function resetQuery(){
getList() getList()
} }
function triggerCover(row){
// 使用查询参数传递 id
router.push({
path: '/control/controlPlanNotice/cover',
query: {
id: row.id,
notificationStatus:row.notificationStatus
}
});
}
function controlPlan(row){ function controlPlan(row){
// 使用查询参数传递 id // 使用查询参数传递 id
router.push({ router.push({
......
...@@ -967,8 +967,6 @@ function getALLUserDeptList(){ ...@@ -967,8 +967,6 @@ function getALLUserDeptList(){
} }
} }
}) })
} }
getList() getList()
getALLUserDeptList() getALLUserDeptList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment