Commit de7c8220 by liyuhang19990520

cqksh

parent ddb85d5d
No preview for this file type
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-07-20 14:38:05 * @Date: 2021-07-20 14:38:05
* @LastEditTime: 2021-08-18 17:36:33 * @LastEditTime: 2022-01-10 14:42:43
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue * @FilePath: \founder_vue\src\views\yppt\argxfx.vue
...@@ -278,6 +278,16 @@ export default { ...@@ -278,6 +278,16 @@ export default {
}; };
let key = util.uuid(); let key = util.uuid();
localStorage.setItem(key, JSON.stringify(obj)); localStorage.setItem(key, JSON.stringify(obj));
if (this.type == "cqcsksh") {
this.$router.pushToTab({
path: "/ceshi5",
query: {
key: key,
title: this.$route.meta.title,
},
});
return;
}
this.$router.pushToTab({ this.$router.pushToTab({
path: "/echarts", path: "/echarts",
query: { query: {
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-07-20 14:08:33 * @Date: 2021-07-20 14:08:33
* @LastEditTime: 2021-12-23 20:20:38 * @LastEditTime: 2022-01-10 14:31:27
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\layout\main.vue * @FilePath: \founder_vue\src\layout\main.vue
...@@ -96,6 +96,12 @@ export default { ...@@ -96,6 +96,12 @@ export default {
index: "cqThkshfx", index: "cqThkshfx",
disabled: false, disabled: false,
}, },
{
id: "cqcsksh",
label: "重庆可视化分析",
index: "cqcsksh",
disabled: false,
},
], ],
}, },
{ {
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-07-20 14:42:16 * @Date: 2021-07-20 14:42:16
* @LastEditTime: 2021-12-14 09:56:17 * @LastEditTime: 2022-01-10 14:32:15
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\rightContent.js * @FilePath: \founder_vue\src\router\modules\rightContent.js
...@@ -88,6 +88,14 @@ const createArr = [ ...@@ -88,6 +88,14 @@ const createArr = [
}, },
component: () => import("@/views/cqksh/module/cqThkshfx.vue") component: () => import("@/views/cqksh/module/cqThkshfx.vue")
}, },
{
path: "/cqcsksh",
name: "cqcsksh",
meta: {
title: '重庆可视化分析'
},
component: () => import("@/views/cqksh/module/cqcsksh.vue")
},
] ]
const carryArr = [ const carryArr = [
{ {
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-06-20 11:48:40 * @Date: 2021-06-20 11:48:40
* @LastEditTime: 2021-12-23 23:02:13 * @LastEditTime: 2022-01-10 18:12:45
* @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
......
...@@ -5703,8 +5703,8 @@ if (false) {(function () { ...@@ -5703,8 +5703,8 @@ if (false) {(function () {
doLayout() { doLayout() {
let arr = [] let arr = []
this.graphData.nodes.forEach(el=>{ this.graphData.nodes.forEach(el=>{
console.log(el,'elellelelel') // console.log(el,'elellelelel')
console.log(el.offset_x,el.offset_x,'offsetxxxxxxxxxxxxxxxxxxxx') // console.log(el.offset_x,el.offset_x,'offsetxxxxxxxxxxxxxxxxxxxx')
}) })
if (this.graphSetting.layouter && this.graphData.rootNode) { if (this.graphSetting.layouter && this.graphData.rootNode) {
console.log('需要布局的节点数量:', this.graphData.nodes.length); console.log('需要布局的节点数量:', this.graphData.nodes.length);
......
<!--
* @Author: your name
* @Date: 2021-07-20 14:38:05
* @LastEditTime: 2022-01-10 14:38:53
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue
-->
<template>
<div>
<SearchGraph
:type="type"
:formProp="formProp"
:formData="form"
childrenXhrStr="/api/ksh/getRAGx"
:photoXhrObject="photoXhrObject"
:nodeClickBoo="true"
placeholder="请输入证件号"
:params="params"
:nodedata="nodedata"
:unfoldParams="unfoldParams"
/>
</div>
</template>
<script>
import SearchGraph from "@c/SearchGraph.vue";
export default {
components: { SearchGraph },
data() {
return {
type: "cqcsksh",
photoXhrObject: {
url: "/api/ksh/getRyJbXx",
type: "person",
params: {
zjhm: "name",
},
},
formProp: [
{
id: "zjhm",
type: "text",
placeholder: "请输入证件号",
col: "3",
rules: [
{
required: true,
message: "请输入证件号",
trigger: "blur",
},
],
},
],
form: {
zjhm: "",
},
nodedata: {
type: "person",
id: 0,
name: "zjhm",
children: true,
},
params: {
objectValue: "zjhm",
objectType: "person",
parentId: 0,
},
unfoldParams: {
objectValue: "name",
objectType: "type",
parentId: "parentId",
},
};
},
};
</script>
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