提交代码

This commit is contained in:
guanj
2026-04-25 15:22:28 +08:00
parent 7abcdb3a6b
commit 8b80e0678f
4 changed files with 614 additions and 1198 deletions

View File

@@ -144,3 +144,11 @@ export function queryPushResult() {
method: 'post' method: 'post'
}) })
} }
//查询升级日志
export function getByDevId(data: any) {
return createAxios({
url: '/cs-device-boot/csUpgradeLogs/getByDevId',
method: 'get',
params:data
})
}

File diff suppressed because it is too large Load Diff

View File

@@ -28,6 +28,7 @@ import { ref, reactive } from 'vue'
import { defaultAttribute } from '@/components/table/defaultAttribute' import { defaultAttribute } from '@/components/table/defaultAttribute'
import { ElMessage } from 'element-plus' import { ElMessage } from 'element-plus'
import { mainHeight } from '@/utils/layout' import { mainHeight } from '@/utils/layout'
import { getByDevId } from '@/api/cs-device-boot/cloudDeviceEntry'
const layout1 = mainHeight(100, 2) const layout1 = mainHeight(100, 2)
// 弹框显示控制 // 弹框显示控制
const dialogVisible = ref(false) const dialogVisible = ref(false)
@@ -62,6 +63,11 @@ const getResultText = (result) => {
const open = (row) => { const open = (row) => {
title.value = `${row.name}_升级日志` title.value = `${row.name}_升级日志`
dialogVisible.value = true dialogVisible.value = true
getByDevId({
devId: row.id
}).then((res) => {
tableData = res.data
})
} }

View File

@@ -66,7 +66,7 @@ const DevTypeOptions = ref()
const icdList = ref() const icdList = ref()
const tableHeaderRef = ref() const tableHeaderRef = ref()
const { push, options, currentRoute } = useRouter() const { push, options, currentRoute } = useRouter()
const tableStore = new TableStore({ const tableStore: any = new TableStore({
url: '/cs-device-boot/EquipmentDelivery/version/page', url: '/cs-device-boot/EquipmentDelivery/version/page',
method: 'POST', method: 'POST',
column: [ column: [
@@ -212,6 +212,6 @@ tableStore.table.params.upgrade = ''
provide('tableStore', tableStore) provide('tableStore', tableStore)
onMounted(() => { onMounted(() => {
getQuery() getQuery()
tableHeaderRef.value.onComSearch() tableStore.index()
}) })
</script> </script>