From aa8b0477197ba7757fe2d145ad6c2698e992b122 Mon Sep 17 00:00:00 2001
From: zx <604444282@qq.com>
Date: Tue, 25 Jan 2022 16:03:17 +0800
Subject: [PATCH] zx
---
src/api/ThemeAnalizeDec/index.js | 78 +++++++++++++++
src/views/ThemeAnalize/index.vue | 30 +++++-
src/views/ThemeAnalize/tbEvent.js | 69 ++++++++-----
src/views/ThemeBoard/VolumeArea/index.vue | 43 ++++++++
src/views/ThemeBoard/index.vue | 115 +++++++++++++++++++++-
src/views/ThemeData/getApi.js | 36 ++++++-
src/views/ThemeData/index.vue | 59 ++++++++++-
src/views/ThemeData/tableEvent.js | 77 ++++++++++++++-
8 files changed, 473 insertions(+), 34 deletions(-)
diff --git a/src/api/ThemeAnalizeDec/index.js b/src/api/ThemeAnalizeDec/index.js
index b80bd3a..2bd7532 100644
--- a/src/api/ThemeAnalizeDec/index.js
+++ b/src/api/ThemeAnalizeDec/index.js
@@ -156,6 +156,19 @@ export function getSexMerge(params) {
})
}
+// 主题分析-区域分布
+export function getVolume(params) {
+ let obj = Object.assign({action: 'getVolume', sType: ''}, params)
+ return httpService({
+ url: `/api/v6.ashx`,
+ method: 'post',
+ data: obj,
+ headers: {
+ 'content-type': 'application/x-www-form-urlencoded'
+ }
+ })
+}
+
// 主题分析-区域分布
export function getRegion(params) {
let obj = Object.assign({action: 'getRegion', sType: ''}, params)
@@ -207,3 +220,68 @@ export function getRegionWeiBo(params) {
}
})
}
+
+// 主题分析-看板导出
+export function ToWord(params) {
+ let obj = Object.assign({action: 'ToWord', sType: 'ZhuTiFenXiBl'}, params)
+ return httpService({
+ url: `/api/v6.ashx`,
+ method: 'post',
+ data: obj,
+ headers: {
+ 'content-type': 'application/x-www-form-urlencoded'
+ }
+ })
+}
+
+// 主题分析-相似-列表数据
+export function getSimilarityData(params) {
+ let obj = Object.assign({action: 'getSimilarityData', sType: 'ZhuTiFenXiBl'}, params)
+ return httpService({
+ url: `/api/v6.ashx`,
+ method: 'post',
+ data: obj,
+ headers: {
+ 'content-type': 'application/x-www-form-urlencoded'
+ }
+ })
+}
+
+// 主题分析-相似-传播
+export function getDiffuse(params) {
+ let obj = Object.assign({action: 'getDiffuse', sType: 'ZhuTiFenXiBl'}, params)
+ return httpService({
+ url: `/api/v6.ashx`,
+ method: 'post',
+ data: obj,
+ headers: {
+ 'content-type': 'application/x-www-form-urlencoded'
+ }
+ })
+}
+
+// 主题分析-相似-获得数据
+export function getDataById(params) {
+ let obj = Object.assign({action: 'getDataById', sType: 'ZhuTiFenXiBl'}, params)
+ return httpService({
+ url: `/api/v6.ashx`,
+ method: 'post',
+ data: obj,
+ headers: {
+ 'content-type': 'application/x-www-form-urlencoded'
+ }
+ })
+}
+
+// 主题分析-相似-下载
+export function toExcel(params) {
+ let obj = Object.assign({action: 'toExcel', sType: 'ZhuTiFenXiBl'}, params)
+ return httpService({
+ url: `/api/v6.ashx`,
+ method: 'post',
+ data: obj,
+ headers: {
+ 'content-type': 'application/x-www-form-urlencoded'
+ }
+ })
+}
\ No newline at end of file
diff --git a/src/views/ThemeAnalize/index.vue b/src/views/ThemeAnalize/index.vue
index e205223..86dd4c7 100644
--- a/src/views/ThemeAnalize/index.vue
+++ b/src/views/ThemeAnalize/index.vue
@@ -6,11 +6,36 @@