Commit 241e6790 by liyuhang19990520

修改

parent 9bdb0388
File deleted
...@@ -63,7 +63,13 @@ ...@@ -63,7 +63,13 @@
</div> </div>
</div> </div>
</SeeksRelationGraph> </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"> <div class="leftToolbar" ref="leftToolbar" v-if="toolbarBoo">
<el-button <el-button
class="toolBarItem" class="toolBarItem"
...@@ -227,6 +233,14 @@ export default { ...@@ -227,6 +233,14 @@ export default {
callApi(url, params) { callApi(url, params) {
return get(url, params); return get(url, params);
}, },
openGraph() {
this.$router.pushToTab({
path: "/sample",
query: {
id: this.nodedata.rootId,
},
});
},
//默认配置 //默认配置
layoutsProps(seeksRGGraph) { layoutsProps(seeksRGGraph) {
let _this = this; let _this = this;
...@@ -972,4 +986,10 @@ $marginTop: 308px; ...@@ -972,4 +986,10 @@ $marginTop: 308px;
} }
} }
} }
.show {
position: absolute;
right: 20px;
top: 20px;
z-index: 88;
}
</style> </style>
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-07-20 19:28:01 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\index.js * @FilePath: \founder_vue\src\router\modules\index.js
...@@ -9,6 +9,15 @@ ...@@ -9,6 +9,15 @@
import CqkshScreen from '@/views/cqksh/fullScreen/index.vue' import CqkshScreen from '@/views/cqksh/fullScreen/index.vue'
const hnScreen = [ const hnScreen = [
{ {
path: "/sample",
name: "sample",
meta: {
title: "展示",
auth: 5
},
component: () => import("@/views/cqksh/fullScreen/sample.vue")
},
{
path: "/screenRagx", path: "/screenRagx",
name: "screenRagx", name: "screenRagx",
meta: { meta: {
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-06-20 11:48:40 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \control_platform\src\settings.js * @FilePath: \control_platform\src\settings.js
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-06-22 17:44:35 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue * @FilePath: \founder_vue\src\views\echarts\index.vue
...@@ -15,17 +15,16 @@ ...@@ -15,17 +15,16 @@
:nodedata="nodedata" :nodedata="nodedata"
:nodeClickBoo="nodeClickBoo" :nodeClickBoo="nodeClickBoo"
:unfoldParams="unfoldParams" :unfoldParams="unfoldParams"
type="screenArgx"
/> />
</div> </div>
</template> </template>
<script> <script>
import GraphEcharts from "@/components/MoreDataGraphEchartsCopy.vue";
import RelationalGraph from "@/components/RelationalGraph.vue"; import RelationalGraph from "@/components/RelationalGraph.vue";
export default { export default {
components: { components: {
GraphEcharts,
RelationalGraph, RelationalGraph,
}, },
data() { data() {
...@@ -39,6 +38,7 @@ export default { ...@@ -39,6 +38,7 @@ export default {
}, },
params: { params: {
objectType: "lawcase", objectType: "lawcase",
rootId: 466891,
parentId: 0, parentId: 0,
objectValue: this.$route.query.objectValue, objectValue: this.$route.query.objectValue,
asjbh: this.$route.query.asjbh, asjbh: this.$route.query.asjbh,
...@@ -48,6 +48,7 @@ export default { ...@@ -48,6 +48,7 @@ export default {
}, },
nodedata: { nodedata: {
children: true, children: true,
rootId: 466891,
id: 0, id: 0,
name: this.$route.query.objectValue, name: this.$route.query.objectValue,
type: "lawcase", type: "lawcase",
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-06-22 17:44:35 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue * @FilePath: \founder_vue\src\views\echarts\index.vue
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
:nodedata="nodedata" :nodedata="nodedata"
:nodeClickBoo="nodeClickBoo" :nodeClickBoo="nodeClickBoo"
:unfoldParams="unfoldParams" :unfoldParams="unfoldParams"
type="screenRagx"
/> />
</div> </div>
</template> </template>
...@@ -39,6 +40,7 @@ export default { ...@@ -39,6 +40,7 @@ export default {
}, },
params: { params: {
objectType: this.$route.query.objectType, objectType: this.$route.query.objectType,
rootId: 466892,
parentId: 0, parentId: 0,
objectValue: this.$route.query.objectValue, objectValue: this.$route.query.objectValue,
asjbh: this.$route.query.asjbh, asjbh: this.$route.query.asjbh,
...@@ -48,6 +50,7 @@ export default { ...@@ -48,6 +50,7 @@ export default {
}, },
nodedata: { nodedata: {
children: true, children: true,
rootId: 466892,
id: 0, id: 0,
name: this.$route.query.objectValue, name: this.$route.query.objectValue,
type: this.$route.query.objectType, 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 * @Author: your name
* @Date: 2021-07-05 17:04:26 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\vue.config.js * @FilePath: \founder_vue\vue.config.js
...@@ -56,7 +56,7 @@ module.exports = { ...@@ -56,7 +56,7 @@ module.exports = {
proxy: { proxy: {
"/api": { "/api": {
// target: "http://26.120.5.129:8007/", //公安网 // 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, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { 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