|
@@ -106,7 +106,9 @@ import { line, Line } from '@antv/g2plot'
|
|
|
import baseSet from './baseSet.js'
|
|
|
import countUp from '@/system/IOT/IoTdashboard/modules/countUp.vue'
|
|
|
import {ref, defineProps, defineEmits, onMounted, computed} from 'vue'
|
|
|
+import { useRouter } from 'vue-router';
|
|
|
import { Empty } from 'ant-design-vue';
|
|
|
+const router = useRouter()
|
|
|
const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE
|
|
|
import Api from '@/api/api'
|
|
|
import utils from '@/utils/utils'
|
|
@@ -207,7 +209,8 @@ let getHistory = async () => {
|
|
|
let param2 = ref({
|
|
|
"id": 20230905141202,
|
|
|
"content": {
|
|
|
- type:''
|
|
|
+ type:'',
|
|
|
+ systemname:router.currentRoute.value.query.systemname || ''
|
|
|
}
|
|
|
})
|
|
|
let selectType = ({target}) => {
|