Commit 36d8c039 by gao_yingdong

团伙

parent d9c6733e
......@@ -3224,7 +3224,9 @@ export default {
// debugger
if (JSON.stringify(response.data) == "{}") {
self.closeLoading();
debugger
self.tableData = []
self.tableDataLength = 0
this.$message({
type: "warning",
message: "暂无数据!",
......
......@@ -27,7 +27,7 @@
<span v-if="showS" class="hbyp" @click="sprops(scope.scope)"
>可视化分析</span
>
<span v-if="showS" class="hbyp" @click="sprops(scope.scope)">导出</span>
<span v-if="showS" class="hbyp" @click="thDc(scope.scope)">导出</span>
<el-upload
class="upload-demo"
ref="upload"
......@@ -148,8 +148,8 @@ export default {
endTime: "",
startTime: "",
taskName: "",
currentPage: 1,
pageSize: 10,
page: 1,
limit: 10,
taskId: "",
teamNum: "",
bq: "",
......@@ -488,6 +488,36 @@ export default {
debugger;
console.log(file);
},
// 团伙导出
thDc(scope) {
// let params = new FormData();
// params.append("excelId", scope.row.excelId);
// let loading = this.$loading({
// lock: true,
// text: "正在下载...",
// spinner: "el-icon-loading",
// background: "rgba(255, 255, 255, 0.7)",
// });
// axios
// .post(`${base.alyIP}/hnksh/export`, params, {
// responseType: "blob",
// })
// .then((res) => {
// loading.close();
// let blob = new Blob([res], {
// type: "application/vnd.ms-excel",
// });
// // 组装a标签
// let elink = document.createElement("a");
// // 设置下载文件名
// elink.download = scope.row.excelName;
// elink.style.display = "none";
// elink.href = URL.createObjectURL(blob);
// document.body.appendChild(elink);
// elink.click();
// document.body.removeChild(elink);
// });
},
adds() {
this.dialogVisible = true;
debugger;
......@@ -509,17 +539,19 @@ export default {
sprops(data) {
debugger;
let params = {
bfkh: data.row.bfkh,
ssrwbh: data.row.ssrwbh,
id: data.row.id,
taskId: this.cxFormData.taskId,
teamNum: this.cxFormData.teamNum,
username: this.cxFormData.username,
};
let obj = {
childrenXhrStr: "/apialy/ztypxx/selectzxBySfz",
childrenXhrStr: "/apialy/hnksh/getRythInfoById",
photoXhrStr: null,
params: params,
nodedata: {
type: "zjl",
type: "person",
id: 0,
name: data.row.bfkh,
name: data.row.id,
children: true,
},
nodeClickBoo: false,
......@@ -527,9 +559,9 @@ export default {
sessionStorage.setItem("key", JSON.stringify(obj));
this.$router.pushToTab({
path: "/ypEcharts",
// key: data.row.bfkh,
query: {
key: data.row.bfkh,
title: "资金流分析",
title: "团伙关系分析",
},
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment