Commit 7e6e1b18 by lp784568205

提交重庆可视化线上代码

parent ff1f9d96
File deleted
......@@ -7,7 +7,7 @@
* @FilePath: \founder_vue\src\api\shksh.js
*/
import setting from '@/setting'
import { get, post, postform } from '@/utils/http.js'
import { get, post, postform, postJson } from '@/utils/http.js'
import base from '@/api/base'
//登录
......@@ -15,4 +15,12 @@ export const loginWater = (params) => {
return post(setting.BaseURL + '/loginWater', params) //阿里云
}
// export const shcelogin = params =>
// get("/shceapi/doLogin?username=001198&password=0", params);//公安网
\ No newline at end of file
// get("/shceapi/doLogin?username=001198&password=0", params);//公安网
//综合可视化分析
export const getPersonInfo = (params) => {
return postJson(setting.BaseURL + '/ksh/getPersonInfo', params) //公安网
}
export const getRelationsInfoList = (params) => {
return postJson(setting.BaseURL + '/ksh/getRelationsInfoList', params) //公安网
}
\ No newline at end of file
......@@ -280,7 +280,16 @@ export default {
localStorage.setItem(key, JSON.stringify(obj));
if (this.type == "cqcsksh") {
this.$router.pushToTab({
path: "/ceshi5",
path: "/ceshi0225",
query: {
key: key,
title: this.$route.meta.title,
},
});
return;
} else if(this.type == "cqZhksh") {
this.$router.pushToTab({
path: "/ceshi0225",
query: {
key: key,
title: this.$route.meta.title,
......
......@@ -13,7 +13,7 @@
<el-container class="flex">
<MenuLayout
:leftMenu="leftMenu"
activeRouterIndex="cqRyksh"
activeRouterIndex="cqZhksh"
routerType="withTheTitle"
/>
<el-main>
......@@ -35,6 +35,20 @@ export default {
return {
leftMenu: [
{
id: "cqZhkshfxmx",
label: "综合可视化分析模型",
index: "cqZhkshfxmx",
className: "el-icon-s-order",
children: [
{
id: "cqZhksh",
label: "综合可视化分析",
index: "cqZhksh",
disabled: false,
},
],
},
{
id: "cqRagxsfmx",
label: "人案关联算法模型",
index: "cqRagxsfmx",
......@@ -52,6 +66,12 @@ export default {
index: "cqgwjz",
disabled: false,
},
// {
// id: "cqZhksh",
// label: "综合可视化分析",
// index: "cqZhksh",
// disabled: false,
// },
],
},
{
......
<!--
* @Author: your name
* @Date: 2021-07-20 14:08:33
* @LastEditTime: 2022-01-10 14:31:27
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\layout\main.vue
-->
<template>
<div id="home">
<el-container>
<Header title="可视化研判平台" />
<el-container class="flex">
<MenuLayout
:leftMenu="leftMenu"
activeRouterIndex="cqZhksh02"
routerType="withTheTitle"
/>
<el-main>
<router-view></router-view>
</el-main>
</el-container>
</el-container>
</div>
</template>
<script>
import Header from "@/layout/Header.vue";
import MenuLayout from "@/layout/MenuAsideLayout.vue";
export default {
components: {
Header,
MenuLayout,
},
data() {
return {
leftMenu: [
{
id: "cqZhkshfxmx02",
label: "综合可视化分析模型",
index: "cqZhkshfxmx02",
className: "el-icon-s-order",
children: [
{
id: "cqZhksh02",
label: "综合可视化分析",
index: "cqZhksh02",
disabled: false,
},
],
},
],
};
},
};
</script>
<style lang="scss" scoped>
#home /deep/ {
width: 100%;
height: 100vh;
background: url("~@/assets/img/graphEcharts/back.png") 0 0 / cover no-repeat;
.flex {
display: flex;
}
.el-main {
border: none;
position: relative;
}
}
</style>
\ No newline at end of file
......@@ -12,6 +12,7 @@ import rightContentRoutes from './modules/rightContent.js';
import shRightContentRoutes from './modules/shceContent';
import hnRightContentRoutes from './modules/hnContent';
import cqRightContentRoutes from './modules/cqContent';
import cqRightContent02Routes from './modules/cqContent02';
import ceshiContentRoutes from './modules/ceshi';
import indexRoutes from "./modules/index";
// import store from "../store";
......@@ -42,6 +43,7 @@ const mainRouters = [
shRightContentRoutes,
hnRightContentRoutes,
cqRightContentRoutes,
cqRightContent02Routes,
...ceshiContentRoutes,
{
path: "*",
......
......@@ -10,6 +10,7 @@ import Main from '@/views/ceshi/cqceshi.vue'
import ceshi3 from '@/views/ceshi/ceshi3.vue'
import ceshi4 from '@/views/ceshi/ceshi4.vue'
import ceshi5 from '@/views/ceshi/ceshi5.vue'
import ceshi0225 from '@/views/ceshi/ceshi0225.vue'
import ceshi6 from '@/views/ceshi/ceshi6.vue'
import ceshi7 from '@/views/ceshi/ceshi7.vue'
export default [
......@@ -46,6 +47,14 @@ export default [
component: ceshi5
},
{
path: "/ceshi0225",
name: "ceshi0225",
meta: {
title: "综合可视化分析",
},
component: ceshi0225
},
{
path: "/ceshi6",
name: "ceshi6",
meta: {
......
......@@ -17,6 +17,14 @@ const createArr = [
component: () => import("@/views/cqksh/module/cqRyksh.vue")
},
{
path: "/cqZhksh",
name: "cqZhksh",
meta: {
title: '综合可视化分析'
},
component: () => import("@/views/cqksh/module/cqZhksh.vue")
},
{
path: "/cqgxcx",
name: "cqgxcx",
meta: {
......@@ -115,9 +123,10 @@ const carryArr = [
component: () => import("@/views/yppt/qzkx.vue")
},
]
const router = [
...createArr,
...carryArr
...carryArr,
]
export default {
......@@ -127,5 +136,5 @@ export default {
title: "重庆可视化",
},
children: [...router],
component: Main
component: Main,
}
\ No newline at end of file
/*
* @Author: your name
* @Date: 2021-07-20 14:42:16
* @LastEditTime: 2022-01-10 14:32:15
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\rightContent.js
*/
import Main from '@/layout/cqZhMain.vue'
const carryArrss = [
{
path: "/cqZhksh02",
name: "cqZhksh02",
meta: {
title: '综合可视化分析'
},
component: () => import("@/views/cqksh/module/cqZhksh02.vue")
},
]
const router = [
...carryArrss,
]
export default {
path: "/cqZhksh02",
name: "cqZhksh02",
meta: {
title: "重庆可视化",
},
children: [...router],
component: Main,
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!--
* @Author: your name
* @Date: 2021-07-20 14:38:05
* @LastEditTime: 2021-11-29 13:26:41
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue
-->
<template>
<div>
<SearchGraph
:formProp="formProp"
:formData="form"
childrenXhrStr="/api/ksh/getPersonInfo"
:photoXhrObject="photoXhrObject"
:nodeClickBoo="true"
placeholder="请输入标识号"
:params="params"
:nodedata="nodedata"
:unfoldParams="unfoldParams"
type="cqZhksh"
/>
</div>
</template>
<script>
import SearchGraph from "@c/SearchGraph.vue";
export default {
components: { SearchGraph },
data() {
return {
photoXhrObject: {
url: '/api/ksh/getRyJbXx',
type: 'person',
params: {
zjhm: 'name',
},
},
formProp: [
{
id: "objectType",
type: "select",
placeholder: "请选择标识号类型",
selectData: [
{
name: "手机号",
value: "phone",
},
{
name: "证件号",
value: "person",
},
{
name: "案件编号",
value: "lawcase",
},
{
name: "车牌号",
value: "car",
},
{
name: "IMEI",
value: "imei",
},
{
name: "IMSI",
value: "imsi",
},
{
name: "银行卡",
value: "bankcard",
},
{
name: "邮件",
value: "email",
},
{
name: "多维串并物品",
value: "dwcbwp",
},
{
name: "现场勘验编号",
value: "xckybh",
},
{
name: "快递单号",
value: "kddh",
},
{
name: "QQ号码",
value: "qq",
},
{
name: "微信号码",
value: "wechat",
},
],
rules: [
{ required: true, message: "请选择标识号类型", trigger: "blur" },
],
col: "3",
},
{
id: "objectValue",
type: "text",
placeholder: "请输入标识号",
col: "3",
rules: [{ required: true, message: "请输入标识号", trigger: "blur" }],
},
],
form: {
objectType: "",
objectValue: "",
modelType: "",
page: 1,
rows: 10,
},
nodedata: {
type: "bshlx",
id: 0,
name: "bsh",
children: true,
},
params: {
objectValue: "objectValue",
objectType: "objectType",
// parentId: 0,
modelType: "modelType",
page: 'page',
rows: 'rows',
},
unfoldParams: {
objectValue: "name",
objectType: "type",
parentId: "parentId",
},
};
},
watch: {
form: {
handler(val) {
console.log(val)
this.nodedata.name = val.objectValue;
this.nodedata.type = val.objectType
},
deep: true,
},
},
};
</script>
\ No newline at end of file
<!--
* @Author: your name
* @Date: 2021-07-20 14:38:05
* @LastEditTime: 2021-11-29 13:26:41
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue
-->
<template>
<div>
<SearchGraph
:formProp="formProp"
:formData="form"
childrenXhrStr="/api/ksh/getPersonInfo"
:photoXhrObject="photoXhrObject"
:nodeClickBoo="true"
placeholder="请输入标识号"
:params="params"
:nodedata="nodedata"
:unfoldParams="unfoldParams"
type="cqZhksh"
/>
</div>
</template>
<script>
import SearchGraph from "@c/SearchGraph.vue";
export default {
components: { SearchGraph },
data() {
return {
photoXhrObject: {
url: '/api/ksh/getRyJbXx',
type: 'person',
params: {
zjhm: 'name',
},
},
formProp: [
{
id: "objectType",
type: "select",
placeholder: "请选择标识号类型",
selectData: [
{
name: "手机号",
value: "phone",
},
{
name: "证件号",
value: "person",
},
{
name: "案件编号",
value: "lawcase",
},
{
name: "车牌号",
value: "car",
},
{
name: "IMEI",
value: "imei",
},
{
name: "IMSI",
value: "imsi",
},
{
name: "银行卡",
value: "bankcard",
},
{
name: "邮件",
value: "email",
},
{
name: "多维串并物品",
value: "dwcbwp",
},
{
name: "现场勘验编号",
value: "xckybh",
},
{
name: "快递单号",
value: "kddh",
},
{
name: "QQ号码",
value: "qq",
},
{
name: "微信号码",
value: "wechat",
},
],
rules: [
{ required: true, message: "请选择标识号类型", trigger: "blur" },
],
col: "3",
},
{
id: "objectValue",
type: "text",
placeholder: "请输入标识号",
col: "3",
rules: [{ required: true, message: "请输入标识号", trigger: "blur" }],
},
],
form: {
objectType: "",
objectValue: "",
modelType: "",
page: 1,
rows: 10,
},
nodedata: {
type: "bshlx",
id: 0,
name: "bsh",
children: true,
},
params: {
objectValue: "objectValue",
objectType: "objectType",
// parentId: 0,
modelType: "modelType",
page: 'page',
rows: 'rows',
},
unfoldParams: {
objectValue: "name",
objectType: "type",
parentId: "parentId",
},
};
},
watch: {
form: {
handler(val) {
console.log(val)
this.nodedata.name = val.objectValue;
this.nodedata.type = val.objectType
},
deep: true,
},
},
};
</script>
\ No newline at end of file
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