Commit ea065012 authored by yanzhengyang's avatar yanzhengyang

CCAP控制计划管理-关键零部件清单接口对接

parent d8caaccd
...@@ -718,25 +718,15 @@ const deptList = [ ...@@ -718,25 +718,15 @@ const deptList = [
}, },
] ]
watch(activeTab, (newVal) => {
queryParams.value.pageNum = 1 // 切换标签时重置页码
// getList(newVal)
})
const handlePagination = ({ page, limit }) => {
queryParams.value.pageNum = page
queryParams.value.pageSize = limit
// getList(activeTab.value)
}
function getFrom() { function getFrom() {
const id = proxy.$route.query.id const id = proxy.$route.query.id
getCCAPPlanDescriptions("1914495012314279936").then(res => { getCCAPPlanDescriptions("1914495012314279936").then(res => {
formList.value = res.data formList.value = res.data
descriptionsList.value = formList.value.compilationTaskDetail descriptionsList.value = formList.value.compilationTaskDetail
stepList.value = formList.value.nodeRecords stepList.value = formList.value.nodeRecords
console.log("666",formList.value) // console.log("666",formList.value)
console.log("777",descriptionsList.value) // console.log("777",descriptionsList.value)
console.log("888",stepList.value) // console.log("888",stepList.value)
// if (formList.value.length > 0) { // if (formList.value.length > 0) {
// activeTab.value = formList.value[0].id // 默认第一个标签的id // activeTab.value = formList.value[0].id // 默认第一个标签的id
// getList(formList.value[0].id) // 初始化加载第一个标签的数据 // getList(formList.value[0].id) // 初始化加载第一个标签的数据
...@@ -744,7 +734,7 @@ function getFrom() { ...@@ -744,7 +734,7 @@ function getFrom() {
}) })
getCCAPPlanKeyList().then(res => { getCCAPPlanKeyList().then(res => {
keyPartsList.value = res.data keyPartsList.value = res.data
console.log("999",keyPartsList.value) // console.log("999",keyPartsList.value)
}) })
} }
const handleBack = () => { const handleBack = () => {
......
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