|
@@ -188,6 +188,7 @@ const gotoDraw = async (type: BoardType, id: number) => {
|
|
width,
|
|
width,
|
|
mapUrl
|
|
mapUrl
|
|
})
|
|
})
|
|
|
|
+ getcaseByCaseIdList()
|
|
window.open(`/draw/#/overview?caseId=${caseId.value}&overviewId=${res.id}`);
|
|
window.open(`/draw/#/overview?caseId=${caseId.value}&overviewId=${res.id}`);
|
|
}
|
|
}
|
|
// router.push({
|
|
// router.push({
|
|
@@ -206,6 +207,9 @@ function getList() {
|
|
pmtId.value = list.value.xct.find(ele => ele.filesTypeName == '方位图').filesTypeId
|
|
pmtId.value = list.value.xct.find(ele => ele.filesTypeName == '方位图').filesTypeId
|
|
console.log('list.value', list.value)
|
|
console.log('list.value', list.value)
|
|
})
|
|
})
|
|
|
|
+ getcaseByCaseIdList()
|
|
|
|
+}
|
|
|
|
+const getcaseByCaseIdList = () =>{
|
|
getcaseByCaseId(caseId.value).then(res => {
|
|
getcaseByCaseId(caseId.value).then(res => {
|
|
let pmt = []
|
|
let pmt = []
|
|
let fwt = []
|
|
let fwt = []
|
|
@@ -219,9 +223,7 @@ function getList() {
|
|
list.value.pmt = pmt
|
|
list.value.pmt = pmt
|
|
list.value.fwt = fwt
|
|
list.value.fwt = fwt
|
|
console.log('getcaseByCaseId', res)
|
|
console.log('getcaseByCaseId', res)
|
|
- // fileLists.value = res?.caseFilesList || []
|
|
|
|
})
|
|
})
|
|
-
|
|
|
|
}
|
|
}
|
|
const submitForm = async (formEl) => {
|
|
const submitForm = async (formEl) => {
|
|
if (!formEl) return;
|
|
if (!formEl) return;
|