Commit 81fcf31c by liyuhang19990520

右键点击跳转链接

parent 265bb9c1
File added
/*
* @Author: your name
* @Date: 2021-06-20 11:48:40
* @LastEditTime: 2021-10-18 19:39:52
* @LastEditTime: 2021-10-22 14:32:13
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \control_platform\src\settings.js
......@@ -22,5 +22,5 @@ module.exports = {
// 湖南可视化
BaseURL3: "/hnapi",
// 打包方式阿里云(aly) 和 公安网(gaw)
packType: 'gaw'
packType: 'aly'
}
<!--
* @Author: your name
* @Date: 2021-06-22 17:44:35
* @LastEditTime: 2021-10-18 19:39:24
* @LastEditTime: 2021-10-22 13:25:02
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue
......@@ -13,6 +13,7 @@
:params="params"
:nodeClickBoo="nodeClickBoo"
:unfoldParams="unfoldParams"
@contextmenu="contextmenu"
/>
</div>
</template>
......@@ -20,6 +21,8 @@
<script>
import GraphEcharts from "@/components/MoreDataGraphEchartsCopy.vue";
import RelationalGraph from "@/components/RelationalGraph.vue";
import { loginWater } from "@/api/cqksh";
import base from "@/utils/base64";
export default {
components: {
......@@ -50,6 +53,27 @@ export default {
},
};
},
methods: {
contextmenu(node) {
if (node.data.type == "phone" && node.data.str == true) {
loginWater().then((res) => {
if (res.code == "200" && res.success) {
let infor = res.data.rows;
console.log(infor);
// var escapecid = escape(infor.identitycard)
// var escapeun = escape(infor.policemanid)
var base1024 = new base();
var escapecid = base1024.encode(infor.identitycard);
var escapeun = base1024.encode(infor.policemanid);
window.open(
`http://77.1.24.18:9061/toCqgjdwJsp?userCid=${escapecid}&objValue=${node.data.name}&asjbh=${node.data.name}&asjmc=${node.data.describe}&trueName=${infor.trueName}&username=${escapeun}&source=ZJM&objType=&imsival=${node.data.name}`,
"_blank"
);
}
});
}
},
},
};
</script>
<style lang="scss" scoped>
......
<!--
* @Author: your name
* @Date: 2021-06-22 17:44:35
* @LastEditTime: 2021-09-08 17:32:50
* @LastEditTime: 2021-10-22 10:57:30
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue
......@@ -32,15 +32,15 @@ export default {
return {
photoXhrObject: {
params: {
zjhm: this.$route.query.zjhm,
zjhm: this.$route.query.objectValue,
},
type: "person",
url: "/api/ksh/getRyJbXx",
},
params: {
objectType: "person",
objectType: this.$route.query.objectType,
parentId: 0,
objectValue: this.$route.query.zjhm,
objectValue: this.$route.query.objectValue,
asjbh: this.$route.query.asjbh,
asjmc: this.$route.query.asjmc,
approveId: this.$route.query.approveId,
......@@ -49,8 +49,8 @@ export default {
nodedata: {
children: true,
id: 0,
name: this.$route.query.zjhm,
type: "person",
name: this.$route.query.objectValue,
type: this.$route.query.objectType,
},
childrenXhrStr: "/api/ksh/getAjRwGxXx",
nodeClickBoo: true,
......
<!--
* @Author: your name
* @Date: 2021-06-22 17:44:35
* @LastEditTime: 2021-09-08 17:32:53
* @LastEditTime: 2021-10-22 14:26:42
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue
......@@ -32,15 +32,15 @@ export default {
return {
photoXhrObject: {
params: {
zjhm: this.$route.query.zjhm,
zjhm: this.$route.query.objectValue,
},
type: "person",
url: "/api/ksh/getRyJbXx",
},
params: {
objectType: "person",
objectType: this.$route.query.objectType,
parentId: 0,
objectValue: this.$route.query.zjhm,
objectValue: this.$route.query.objectValue,
asjbh: this.$route.query.asjbh,
asjmc: this.$route.query.asjmc,
approveId: this.$route.query.approveId,
......@@ -49,8 +49,8 @@ export default {
nodedata: {
children: true,
id: 0,
name: this.$route.query.zjhm,
type: "person",
name: this.$route.query.objectValue,
type: this.$route.query.objectType,
},
childrenXhrStr: "/api/ksh/getZhCxXx",
nodeClickBoo: true,
......
<!--
* @Author: your name
* @Date: 2021-07-20 14:38:05
* @LastEditTime: 2021-10-18 18:28:56
* @LastEditTime: 2021-10-22 11:53:29
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue
......@@ -16,6 +16,7 @@
placeholder="请输入案件编号"
:params="params"
:unfoldParams="unfoldParams"
type="cqgwjz"
/>
</div>
</template>
......
<!--
* @Author: your name
* @Date: 2021-06-22 17:44:35
* @LastEditTime: 2021-09-29 17:49:18
* @LastEditTime: 2021-10-22 13:24:23
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\echarts\index.vue
......@@ -28,7 +28,7 @@ import GraphEcharts from "@/components/MoreDataGraphEchartsCopy.vue";
import RelationalGraph from "@/components/RelationalGraph.vue";
import { loginWater } from "@/api/cqksh";
//base64加密方法
import base from '@/utils/base64'
import base from "@/utils/base64";
export default {
components: {
GraphEcharts,
......@@ -71,25 +71,27 @@ export default {
methods: {
contextmenu(node) {
let _this = this;
if (this.type == "cqPyqszsfmx") {
console.log(123);
if (
this.type == "cqgwjz" &&
node.data.type == "phone" &&
node.data.str == true
) {
loginWater().then((res) => {
if (res.code == "200" && res.success) {
let infor = res.data.rows;
console.log(infor);
// var escapecid = escape(infor.identitycard)
// var escapeun = escape(infor.policemanid)
var base1024 = new base();
var escapecid = base1024.encode(infor.identitycard);
var escapeun = base1024.encode(infor.policemanid);
window.open(
`http://77.1.24.51:9040/bk/toBshbkInsertJsp?asjbh=&sqr_sfzh=${
infor.identitycard
}&sqr_xm=${infor.trueName}&sqr_jh=${infor.policemanid}&sqr_lxdh=${
infor.telephone
}&sqr_gajgjgdm=${infor.unitcode}&sqr_gajgjgmc=${
infor.unitname
}&bkdxlx=${_this.filterCode(node.data.type)}&bkdxhm=${node.id}`,
`http://77.1.24.18:9061/toCqgjdwJsp?userCid=${escapecid}&objValue=${node.data.name}&asjbh=${node.data.name}&asjmc=${node.data.describe}&trueName=${infor.trueName}&username=${escapeun}&source=ZJM&objType=&imsival=${node.data.name}`,
"_blank"
);
}
});
}
console.log(node);
if (this.type == "cqRyksh" && node.data.type == "person") {
console.log(this.childrenXhrStr);
......@@ -101,24 +103,10 @@ export default {
// var escapecid = escape(infor.identitycard)
// var escapeun = escape(infor.policemanid)
var base1024 = new base();
var escapecid=base1024.encode(infor.identitycard)
var escapeun=base1024.encode(infor.policemanid)
var escapecid = base1024.encode(infor.identitycard);
var escapeun = base1024.encode(infor.policemanid);
window.open(
`http://77.1.24.18:9061/toCqgjdwJsp?userCid=${
escapecid
}&objValue=${
node.data.name
}&asjbh=${
node.data.name
}&asjmc=${
node.data.describe
}&trueName=${
infor.trueName
}&username=${
escapeun
}&source=ZJM&objType=&imsival=${
node.data.name
}`,
`http://77.1.24.18:9061/toCqgjdwJsp?userCid=${escapecid}&objValue=${node.data.name}&asjbh=${node.data.name}&asjmc=${node.data.describe}&trueName=${infor.trueName}&username=${escapeun}&source=ZJM&objType=&imsival=${node.data.name}`,
"_blank"
);
}
......
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