云平台自测问题修改
This commit is contained in:
@@ -72,7 +72,7 @@ const initListByIds = () => {
|
||||
|
||||
const templateListData = () => {
|
||||
getTemplateList({}).then(res => {
|
||||
templateList.value = res.data.filter(item => item.name === '稳态治理报表')
|
||||
templateList.value = res.data.filter(item => item.reportForm == 4)
|
||||
if (!tableStore.table.params.tempId && templateList.value?.length > 0) {
|
||||
tableStore.table.params.tempId = templateList.value[0].id
|
||||
}
|
||||
|
||||
@@ -143,6 +143,7 @@ const initLineList = async () => {
|
||||
cslineList({}).then(res => {
|
||||
lineList.value = res.data
|
||||
tableStore.table.params.lineId = lineList.value[0].lineId
|
||||
initCode()
|
||||
})
|
||||
}
|
||||
|
||||
@@ -434,7 +435,6 @@ watch(
|
||||
|
||||
onMounted(async () => {
|
||||
await initLineList()
|
||||
await initCode()
|
||||
})
|
||||
|
||||
watch(
|
||||
|
||||
Reference in New Issue
Block a user