Commit 241e6790 by liyuhang19990520

修改

parent 9bdb0388
File deleted
......@@ -63,7 +63,13 @@
</div>
</div>
</SeeksRelationGraph>
<el-button
class="show"
type="primary"
v-if="type == 'screenArgx' || type == 'screenRagx'"
@click="openGraph"
>查看树状图</el-button
>
<div class="leftToolbar" ref="leftToolbar" v-if="toolbarBoo">
<el-button
class="toolBarItem"
......@@ -227,6 +233,14 @@ export default {
callApi(url, params) {
return get(url, params);
},
openGraph() {
this.$router.pushToTab({
path: "/sample",
query: {
id: this.nodedata.rootId,
},
});
},
//默认配置
layoutsProps(seeksRGGraph) {
let _this = this;
......@@ -972,4 +986,10 @@ $marginTop: 308px;
}
}
}
.show {
position: absolute;
right: 20px;
top: 20px;
z-index: 88;
}
</style>
/*
* @Author: your name
* @Date: 2021-07-20 19:28:01
* @LastEditTime: 2021-10-18 19:37:31
* @LastEditTime: 2021-12-23 21:12:35
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\index.js
......@@ -9,6 +9,15 @@
import CqkshScreen from '@/views/cqksh/fullScreen/index.vue'
const hnScreen = [
{
path: "/sample",
name: "sample",
meta: {
title: "展示",
auth: 5
},
component: () => import("@/views/cqksh/fullScreen/sample.vue")
},
{
path: "/screenRagx",
name: "screenRagx",
meta: {
......
/*
* @Author: your name
* @Date: 2021-06-20 11:48:40
* @LastEditTime: 2021-12-01 18:32:25
* @LastEditTime: 2021-12-23 20:50:59
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \control_platform\src\settings.js
......
<!--
* @Author: your name
* @Date: 2021-06-22 17:44:35
* @LastEditTime: 2021-10-11 14:12:20
* @LastEditTime: 2021-12-23 21:38:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue
......@@ -15,17 +15,16 @@
:nodedata="nodedata"
:nodeClickBoo="nodeClickBoo"
:unfoldParams="unfoldParams"
type="screenArgx"
/>
</div>
</template>
<script>
import GraphEcharts from "@/components/MoreDataGraphEchartsCopy.vue";
import RelationalGraph from "@/components/RelationalGraph.vue";
export default {
components: {
GraphEcharts,
RelationalGraph,
},
data() {
......@@ -39,6 +38,7 @@ export default {
},
params: {
objectType: "lawcase",
rootId: 466891,
parentId: 0,
objectValue: this.$route.query.objectValue,
asjbh: this.$route.query.asjbh,
......@@ -48,6 +48,7 @@ export default {
},
nodedata: {
children: true,
rootId: 466891,
id: 0,
name: this.$route.query.objectValue,
type: "lawcase",
......
<!--
* @Author: your name
* @Date: 2021-06-22 17:44:35
* @LastEditTime: 2021-10-22 10:57:30
* @LastEditTime: 2021-12-23 21:39:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue
......@@ -15,6 +15,7 @@
:nodedata="nodedata"
:nodeClickBoo="nodeClickBoo"
:unfoldParams="unfoldParams"
type="screenRagx"
/>
</div>
</template>
......@@ -39,6 +40,7 @@ export default {
},
params: {
objectType: this.$route.query.objectType,
rootId: 466892,
parentId: 0,
objectValue: this.$route.query.objectValue,
asjbh: this.$route.query.asjbh,
......@@ -48,6 +50,7 @@ export default {
},
nodedata: {
children: true,
rootId: 466892,
id: 0,
name: this.$route.query.objectValue,
type: this.$route.query.objectType,
......
<!--
* @Author: your name
* @Date: 2021-06-22 17:44:35
* @LastEditTime: 2021-12-23 21:29:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue
-->
<template>
<div id="charts">
<RelationalGraph
:childrenXhrStr="childrenXhrStr"
:params="params"
:nodeClickBoo="nodeClickBoo"
/>
</div>
</template>
<script>
import RelationalGraph from "@/components/RelationalGraph2.vue";
export default {
components: {
RelationalGraph,
},
data() {
return {
params: {
rootId: this.$route.query.id,
},
childrenXhrStr: "/api/ksh/getAllInfoById",
nodeClickBoo: false,
};
},
};
</script>
<style lang="scss" scoped>
#charts {
height: 100vh;
width: 100%;
}
</style>
/*
* @Author: your name
* @Date: 2021-07-05 17:04:26
* @LastEditTime: 2021-09-07 16:24:55
* @LastEditTime: 2021-12-23 21:24:44
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\vue.config.js
......@@ -56,7 +56,7 @@ module.exports = {
proxy: {
"/api": {
// target: "http://26.120.5.129:8007/", //公安网
target: setting.packType == 'aly' ? "http://39.99.155.173:8501/" : "http://77.1.24.143:8501/", //阿里云 and 公安网
target: setting.packType == 'aly' ? "http://192.168.128.118:8501/" : "http://77.1.24.143:8501/", //阿里云 and 公安网
ws: true,
changeOrigin: true,
pathRewrite: {
......
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