|
@@ -45,6 +45,7 @@
|
|
import { ref, defineExpose, defineProps } from 'vue';
|
|
import { ref, defineExpose, defineProps } from 'vue';
|
|
import { useRouter } from 'vue-router';
|
|
import { useRouter } from 'vue-router';
|
|
import { searchData, getreporting } from '../../../api/index';
|
|
import { searchData, getreporting } from '../../../api/index';
|
|
|
|
+import { split } from 'lodash';
|
|
let T = undefined;
|
|
let T = undefined;
|
|
let total = -1;
|
|
let total = -1;
|
|
const selectValue = ref(0);
|
|
const selectValue = ref(0);
|
|
@@ -86,7 +87,14 @@ const toDetail = item => {
|
|
// detail: JSON.stringify(item),
|
|
// detail: JSON.stringify(item),
|
|
// },
|
|
// },
|
|
// });
|
|
// });
|
|
- const url = location.origin +'#/analysis_detail?detail=' + JSON.stringify(item);
|
|
|
|
|
|
+
|
|
|
|
+ const url = location.href.split("#")[0] +'#/analysis_detail';
|
|
|
|
+ localStorage.setItem('analysis_detail', JSON.stringify({
|
|
|
|
+ publishTime: item.publishTime,
|
|
|
|
+ sourceWebsite: item.sourceWebsite,
|
|
|
|
+ title: item.title,
|
|
|
|
+ content: item.content
|
|
|
|
+ }));
|
|
window.open(url, '_blank');
|
|
window.open(url, '_blank');
|
|
};
|
|
};
|
|
const getlist = search => {
|
|
const getlist = search => {
|