Commit 2b9e6141 authored by yanzhengyang's avatar yanzhengyang

CCAP控制计划管理路由调整

parent 6b45bc41
...@@ -456,7 +456,6 @@ const activeTab = ref('first') // 默认激活第一个标签页 ...@@ -456,7 +456,6 @@ const activeTab = ref('first') // 默认激活第一个标签页
if(route.query.tab){ if(route.query.tab){
activeTab.value = route.query.tab activeTab.value = route.query.tab
} }
const templateDetailList = ref([])
// 修改data定义方式 // 修改data定义方式
const queryParams = ref({ const queryParams = ref({
pageNum: 1, pageNum: 1,
...@@ -482,22 +481,10 @@ const handlePagination = ({ page, limit }) => { ...@@ -482,22 +481,10 @@ const handlePagination = ({ page, limit }) => {
// } // }
// }) // })
// } // }
// function getList(formId){
// listTemplateDetail({
// id: formId,
// pageNum: queryParams.value.pageNum,
// pageSize: queryParams.value.pageSize
// }).then(response => {
// templateDetailList.value = response.rows
// total.value = response.total
// })
// }
const handleBack = () => { const handleBack = () => {
proxy.$router.push({ path: '/control/CCAPControlPlan/view',query: { tab: activeTab.value }}); proxy.$router.push({ path: '/control/CCAPControlPlan/CCAPControlPlanView',query: { tab: activeTab.value }});
} }
// const changeView = () => {
// proxy.$router.push({ path: '/control/CCAPControlPlan/change',query: { tab: activeTab.value }})
// }
onMounted(() => { onMounted(() => {
// getFrom(); // getFrom();
}) })
......
...@@ -733,12 +733,12 @@ function resetQuery() { ...@@ -733,12 +733,12 @@ function resetQuery() {
/** 查看历史控制计划按钮操作 */ /** 查看历史控制计划按钮操作 */
function toHistory() { function toHistory() {
proxy.$router.push({ path: '/control/CCAPControlPlan/history' }); proxy.$router.push({ path: '/control/CCAPControlPlan/CCAPControlPlanHistory' });
} }
/** 查看按钮操作 */ /** 查看按钮操作 */
function handleView(row) { function handleView(row) {
proxy.$router.push({ path: '/control/CCAPControlPlan/view',query: {id: row.id}}); proxy.$router.push({ path: '/control/CCAPControlPlan/CCAPControlPlanView',query: {id: row.id}});
} }
/** 撤销按钮操作 */ /** 撤销按钮操作 */
......
...@@ -739,10 +739,10 @@ function getFrom() { ...@@ -739,10 +739,10 @@ function getFrom() {
}) })
} }
const handleBack = () => { const handleBack = () => {
proxy.$router.push({ path: '/control/CCAPControlPlan/index'}); proxy.$router.push({ path: '/control/CCAPControlPlan/CCAPControlPlanIndex'});
} }
const changeView = () => { const changeView = () => {
proxy.$router.push({ path: '/control/CCAPControlPlan/change',query: { tab: activeTab.value }}) proxy.$router.push({ path: '/control/CCAPControlPlan/CCAPControlPlanChange',query: { tab: activeTab.value }})
} }
const backLog = ref(false) const backLog = ref(false)
onMounted(() => { onMounted(() => {
......
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