Commit e0db43ed by liyuhang19990520

Merge branch 'gab_bz' of http://47.92.108.28/changchao/founder_vue into gab_bz

parents 04cbc7ec 4507534a
...@@ -21,7 +21,9 @@ const getFwbzhList = params => ...@@ -21,7 +21,9 @@ const getFwbzhList = params =>
post("/api/newAsjbz/getFwbzhList", params); post("/api/newAsjbz/getFwbzhList", params);
const updateBsh = params => const updateBsh = params =>
postform("/api/newAsjbz/updateBsh", params); postJson("/api/newAsjbz/updateBsh", params);
const insertFwbsh = params =>
postJson("/api/newAsjbz/insertFwbsh", params);
const saveAsjbzxx = params => const saveAsjbzxx = params =>
post("/api/newAsjbz/saveAsjbzxx", params); post("/api/newAsjbz/saveAsjbzxx", params);
...@@ -29,6 +31,14 @@ const saveAsjbzxx = params => ...@@ -29,6 +31,14 @@ const saveAsjbzxx = params =>
const getAsjbzxx = params => const getAsjbzxx = params =>
post("/api/newAsjbz/getAsjbzxx", params); post("/api/newAsjbz/getAsjbzxx", params);
const getRybhList = params =>
post("/api/newAsjbz/getRybhList", params);
const getBarxxList = params =>
post("/api/newAsjbz/getBarxxList", params);
const deleteBsh = params =>
post("/api/newAsjbz/deleteBsh", params);
export { export {
...@@ -38,6 +48,10 @@ export { ...@@ -38,6 +48,10 @@ export {
getGjcList, getGjcList,
getFwbzhList, getFwbzhList,
updateBsh, updateBsh,
insertFwbsh,
saveAsjbzxx, saveAsjbzxx,
getAsjbzxx getAsjbzxx,
getRybhList,
getBarxxList,
deleteBsh
} }
\ No newline at end of file
import { get, post , postJson} from "@/utils/http.js"; import { get, post , postJson} from "@/utils/http.js";
export const toQueryXszxx = params => export const toQueryXszxx = params =>
post("/api/cbxsz/toQueryXszxx", params); post("/api3/cbxsz/toQueryXszxx", params);
export const queryTreeDataByType = params => export const queryTreeDataByType = params =>
get("/api/queryTreeDataByType", params); get("/api3/queryTreeDataByType", params);
...@@ -3,13 +3,13 @@ import url from "@/api/base"; ...@@ -3,13 +3,13 @@ import url from "@/api/base";
export const esAsjQuery = params => export const esAsjQuery = params =>
post("/api/bz/esAsjQuery", params); post("/api2/bz/esAsjQuery", params);
export const queryTreeDataByType = params => export const queryTreeDataByType = params =>
get("/api/queryTreeDataByType", params); get("/api2/queryTreeDataByType", params);
export const saveTableTitleRedis = params => export const saveTableTitleRedis = params =>
post("/api/saveTableTitleRedis", params); post("/api2/saveTableTitleRedis", params);
export const EsAsjQuery = params => export const EsAsjQuery = params =>
postJson("/api2/EsAsjQuery", params); postJson("/api2/EsAsjQuery", params);
...@@ -21,12 +21,12 @@ export const EsShrQuery = params => ...@@ -21,12 +21,12 @@ export const EsShrQuery = params =>
postJson("/api2/EsShrQuery", params); postJson("/api2/EsShrQuery", params);
export const queryDictItem = params => export const queryDictItem = params =>
post("http://192.168.0.112:5177/dic/queryDictItem", params); post("http://47.92.225.109:5177/dic/queryDictItem", params);
export const getDictitemByCode = params => export const getDictitemByCode = params =>
post("http://47.92.225.109:5177/dic/getDictitemByCode", params); post("http://47.92.225.109:5177/dic/getDictitemByCode", params);
export const getTableTitleRedis = params => export const getTableTitleRedis = params =>
post("/api/getTableTitleRedis", params); post("/api2/getTableTitleRedis", params);
import { get, post } from "@/utils/http.js"; import { get, post } from "@/utils/http.js";
import base from "@/api/base";
// import qs from "qs"; // import qs from "qs";
export const Home = params => post(`${base.test}/getNewRelationInfo`, params);
export const test = params =>
post("http://39.99.159.210:8052/getCarRyxx", params);
export const test1 = params =>
get("http://39.99.159.210:8051/getXyrSaxxDg", params);
export const login = params => export const login = params =>
post("/api/blade-auth/token", params); post("/api/blade-auth/token", params);
import { get, post, postJson, postform } from "@/utils/http.js"; import { get, post, postJson, postform } from "@/utils/http.js";
export const dictitemEdit = params => export const dictitemEdit = params =>
post("/api/dic/dictitemEdit", params); post("http://47.92.225.109:5177/dic/dictitemEdit", params);
export const UpdateRedisRest = params => export const UpdateRedisRest = params =>
post("/api/UpdateRedisRest", params); post("http://47.92.225.109:5177/UpdateRedisRest", params);
export const xalbJoinGWDQ = params => export const xalbJoinGWDQ = params =>
post("/api/dic/xalbJoinGWDQ", params); post("http://47.92.225.109:5177/dic/xalbJoinGWDQ", params);
export const queryXalbJoinGWDQ = params =>
post("http://47.92.225.109:5177/dic/queryXalbJoinGWDQ", params);
\ No newline at end of file
...@@ -26,7 +26,6 @@ axios.interceptors.request.use( ...@@ -26,7 +26,6 @@ axios.interceptors.request.use(
config => { config => {
config.headers["Content-Type"] = "application/x-www-form-urlencoded"; config.headers["Content-Type"] = "application/x-www-form-urlencoded";
let token = sessionStorage.getItem("token") let token = sessionStorage.getItem("token")
debugger
if (config.url.indexOf("/api/blade-auth/token") === -1) { if (config.url.indexOf("/api/blade-auth/token") === -1) {
config.headers["blade-auth"] = token; config.headers["blade-auth"] = token;
} }
......
...@@ -24,239 +24,351 @@ ...@@ -24,239 +24,351 @@
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="15"> <el-col :span="15">
<div class="grid-content bg-purple"> <div class="grid-content bg-purple">
<el-card class="box-card samlllCard"> <el-card class="box-card samlllCard"
<div class="leftBar"> :class="topSamllCard">
<div class="leftBar"
:class="topSamllCard">
<ul> <ul>
<li <li v-for="item in barData"
v-for="item in barData" :key="item.id"
:key="item.id" ref="item.id"
ref="item.id" :class="{ active: selectIndex === item.id }"
:class="{ active: selectIndex === item.id }" @click="halderTab(item.id)">
@click="halderTab(item.id)"
>
{{ item.name }} {{ item.name }}
</li> </li>
</ul> </ul>
</div> </div>
<div class="rightBar" v-show="ajxx"> <div class="rightBar"
v-show="ajxx">
<div class="conTitle"> <div class="conTitle">
<div class="conTitleLeft">基本信息</div> <div class="conTitleLeft">基本信息</div>
<div class="conTitleRight"></div> <div class="conTitleRight"
@click="topAmplifier"></div>
</div> </div>
<div class="conContioner"> <div class="conContioner"
:class="topSamllCard">
<table> <table>
<tr> <tr>
<td>案发时间:</td> <td width="80">案发时间:</td>
<td colspan="2">{{ asjfssjKssjStr }}</td> <td width="300">{{ asjfssjKssjStr }}</td>
<td>立案曰期:</td> <td width="80">立案曰期:</td>
<td colspan="3">{{ larqStr }}</td> <td width="300">{{ larqStr }}</td>
</tr> </tr>
<tr> <tr>
<td>案发地区:</td> <td width="80">案发地区:</td>
<td colspan="2">{{ fxasjddXzqhdm }}</td> <td width="300">{{ fxasjddXzqhdm }}</td>
<td>发案详址:</td> <td width="80">发案详址:</td>
<td colspan="3">{{ asjfsddDzmc }}</td> <td width="300">{{ asjfsddDzmc }}</td>
</tr> </tr>
<tr> <tr>
<td>案件类别:</td> <td width="80">案件类别:</td>
<td colspan="2">{{ ajlbdm_str }}</td> <td width="300">{{ ajlbdm_str }}</td>
<td>涉案价值:</td> <td width="80">涉案价值:</td>
<td colspan="3">{{ ssjzrmby }}</td> <td width="300">{{ ssjzrmby }}</td>
</tr> </tr>
<tr> <tr>
<td valign="top">简要案情:</td> <td valign="top"
<td colspan="6">{{ jyaq }}</td> width="80">简要案情:</td>
<td colspan="3"
valign="top"
width="300">{{ jyaq }}</td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
<div class="rightBar" v-show="xcxx"> <div class="rightBar"
v-show="xcxx">
<div class="conTitle"> <div class="conTitle">
<div class="conTitleLeft">现场信息</div> <div class="conTitleLeft">现场信息</div>
<div class="conTitleRight"></div> <div class="conTitleRight"
@click="topAmplifier"></div>
</div> </div>
<div class="conContioner"> <div class="conContioner"
:class="topSamllCard">
<table> <table>
<tr> <tr>
<td>勘验编号:</td> <td width="80">勘验编号:</td>
<td colspan="2">{{ xcbh }}</td> <td width="300">{{ xcbh }}</td>
<td>勘验地点:</td> <td width="80">勘验地点:</td>
<td colspan="3">{{ kydd }}</td> <td width="300">{{ kydd }}</td>
</tr> </tr>
<tr> <tr>
<td>开始时间:</td> <td width="80">开始时间:</td>
<td colspan="2">{{ kysjks }}</td> <td width="300">{{ kysjks }}</td>
<td>结束时间:</td> <td width="80">结束时间:</td>
<td colspan="3">{{ kysjjs }}</td> <td width="300">{{ kysjjs }}</td>
</tr> </tr>
<tr> <tr>
<td>勘验人:</td> <td width="80">勘验人:</td>
<td colspan="2">{{ kyjcry }}</td> <td width="300">{{ kyjcry }}</td>
<td>经纬度:</td> <td width="80">经纬度:</td>
<td colspan="3">{{ jd }}{{ wd }}</td> <td width="300">{{ jd }}{{ wd }}</td>
</tr> </tr>
<tr> <tr>
<td valign="top">勘验情况:</td> <td valign="top"
<td colspan="6">{{ kyjcqknr }}</td> width="80">勘验情况:</td>
<td colspan="3"
valign="top"
width="300">{{ kyjcqknr }}</td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
<div class="rightBar" v-show="ry"> <div class="rightBar"
v-show="ry">
<div class="conTitle"> <div class="conTitle">
<div class="conTitleLeft">人员</div> <div class="conTitleLeft conTitleleft"
<div class="conTitleRight"></div> style="width:30%">
<ul>
<li v-for="data in ryList"
:key="data.ryid"
:class="{liActive:selectIndex2 === data.ryid}"
@click="hanldRytab(data.ryid)">
{{data.name}}
</li>
</ul>
</div>
<div class="conTitleRight"
@click="topAmplifier"></div>
</div> </div>
<div class="conContioner"> <div class="conContioner"
<table> :class="topSamllCard"
v-show="ryqh">
<table v-for="(data,index) in xyrList1"
:key="index">
<tr>
<td rowspan="3"
style="text-align: center;"
valign="top"
width="200">
<div class="demo-fit">
<div class="block">
<el-avatar shape="square"
:size="100"
:src="data.zp"></el-avatar>
</div>
</div>
</td>
<td width="80"> 姓名:</td>
<td width="200">{{ data.xm }}</td>
<td width="80">性别:</td>
<td width="200">{{ data.xbdmStr }}</td>
</tr>
<tr>
<td width="80">出生日期:</td>
<td width="200">{{ data.csrq }}</td>
<td width="80">民族:</td>
<td width="200">{{ data.mzdmStr }}</td>
</tr>
<tr>
<td width="80">联系电话:</td>
<td width="200">{{ data.lxdh }}</td>
<td width="80">现住址:</td>
<td width="200">{{ data.xzzDzmc }}</td>
</tr>
</table>
</div>
<div class="conContioner"
:class="topSamllCard"
v-show="shrqh"
style="style:width: 869px;">
<table v-for="(data,index) in shrListqh"
:key="index">
<tr> <tr>
<td rowspan="3"> <td rowspan="4"
style="text-align: center;"
valign="top"
width="200">
<div class="demo-fit"> <div class="demo-fit">
<div class="block" v-for="fit in fits" :key="fit"> <div class="block">
<span class="title">{{ fit }}</span> <el-avatar shape="square"
<el-avatar :size="100"
shape="square" :src="data.zp"></el-avatar>
:size="100"
:fit="fit"
:src="zp"
></el-avatar>
</div> </div>
</div> </div>
</td> </td>
<td>姓名:</td> <td width="80">姓名:</td>
<td>{{ xm }}</td> <td width="200">{{data.xm}}</td>
<td>性别:</td> <td width="80">性别:</td>
<td>{{ xbdmStr }}</td> <td width="200">{{data.xbdmStr}}</td>
</tr>
<tr>
<td width="80">出生日期:</td>
<td width="200">{{data.csrq}}</td>
<td width="80">民族:</td>
<td width="200">{{data.mzdmStr}}</td>
</tr> </tr>
<tr> <tr>
<td>出生日期:</td> <td width="80">证件号码:</td>
<td>{{ csrq }}</td> <td width="200">{{data.cyzjZjhm}}</td>
<td>民族:</td> <td width="80">现住址:</td>
<td>{{ mzdmStr }}</td> <td width="200">{{data.xzzDzmc}}</td>
</tr> </tr>
<tr> <tr>
<td>联系电话:</td>
<td>{{ lxdh }}</td> <td valign="top"
<td>现住址:</td> width="80">户籍地:</td>
<td>{{ xzzDzmc }}</td> <td valign="top"
width="200">{{data.jgdm}}</td>
<td valign="top"
width="80">户籍地名称:</td>
<td width="200">{{data.hjdzDzmc}}</td>
</tr>
</table>
</div>
<div class="conContioner"
:class="topSamllCard"
v-show="barrqh">
<table v-for="(data,index) in barList"
:key="index">
<tr>
<td rowspan="3"
style="text-align: center;"
valign="top"
width="200">
<div class="demo-fit">
<div class="block">
<el-avatar shape="square"
:size="100"
:src="data.zp"></el-avatar>
</div>
</div>
</td>
<td width="80">姓名:</td>
<td width="200">{{data.xm}}</td>
<td width="80">性别:</td>
<td width="200">{{data.xbdmStr}}</td>
</tr>
<tr>
<td width="80">出生日期:</td>
<td width="200">{{data.csrq}}</td>
<td width="80">民族:</td>
<td width="200">{{data.mzdmStr}}</td>
</tr>
<tr>
<td width="80">现住址:</td>
<td width="200">{{data.xzzDzmc}}</td>
<td width="80">联系电话:</td>
<td width="200">{{data.lxdh}}</td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
</el-card> </el-card>
</div> </div>
<el-row :gutter="10"> <el-row :gutter="10"
<el-col :span="12"> v-show="Amplifier">
<el-col :span="12"
:class="aqgjcamplifier">
<div class="grid-content bg-purple"> <div class="grid-content bg-purple">
<el-card class="box-card" style="height: 260px"> <el-card class="box-card"
style="height: 260px">
<div class="conTitle"> <div class="conTitle">
<div class="">案情关键词</div> <div class="conTitleLeft">案情关键词</div>
<div class="conTitleRight"></div> <div class="conTitleRight"
@click="aqgjcAmplifier"></div>
</div> </div>
<div class="keywordCon"> <div class="keywordCon">
<el-tag type="warning" v-for="data in word" :key="data">{{ <el-tag type="warning"
v-for="data in word"
:key="data">{{
data data
}}</el-tag> }}</el-tag>
</div> </div>
</el-card> </el-card>
</div> </div>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12"
v-show="aqgjc">
<div class="grid-content bg-purple"> <div class="grid-content bg-purple">
<el-card class="box-card" style="height: 260px"> <el-card class="box-card"
style="height: 260px">
<div class="conTitle"> <div class="conTitle">
<div class="conTitleLeft">标识号</div> <div class="conTitleLeft">标识号</div>
<div class="conTitleRighty"> <div class="conTitleRighty">
<el-button <el-button class="bianji"
class="bianji" @click="centerDialogVisible = true"></el-button>
@click="centerDialogVisible = true" <el-button class="dell"
></el-button> @click="hanldDel"></el-button>
<el-button <el-button class="add"
class="dell" @click="addBsh"></el-button>
@click="centerDialogVisible = true"
></el-button>
<el-button class="add" @click="addBsh"></el-button>
</div> </div>
</div> </div>
<div class="keywordCon"> <div class="keywordCon">
<ul> <ul>
<li>受害人:</li> <li>受害人:</li>
<li v-for="data in shrList" :key="data.rcdid"> <li v-for="data in shrList"
<i class="el-icon-phone"></i>{{ data.gjc }} :key="data.rcdid">
<span><i class="el-icon-phone"></i>{{data.gjc}}</span>
<span>
<i class="el-icon-delete"
v-show="delShow"
@click="hanlDelete(data.rcdid)"></i>
</span>
</li> </li>
<li>嫌疑人:</li> <li>嫌疑人:</li>
<li v-for="data in xyrList" :key="data.rcdid"> <li v-for="data in xyrList"
<i class="el-icon-phone"></i>{{ data.gjc }} :key="data.rcdid">
<span><i class="el-icon-phone"></i>{{data.gjc}}</span>
<span v-show="delShow"
@click="hanlDelete(data.rcdid)">
<i class="el-icon-delete"></i>
</span>
</li> </li>
</ul> </ul>
</div> </div>
<el-dialog <el-dialog title="标识号编辑"
title="标识号编辑" :visible.sync="centerDialogVisible"
:visible.sync="centerDialogVisible" width="50%"
width="50%" center>
center
>
<table class="bshTable"> <table class="bshTable">
<thead> <thead>
<tr> <tr>
<th>标识号</th> <th>标识号</th>
<th>标识号详情</th> <th>标识号详情</th>
<th>标识号类型</th> <th>标识号类型</th>
<th>人员类型</th> <th style="width:256px">人员类型</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr <tr v-for="(data, index) in fwbzhList"
v-for="(data, index) in fwbzhList" :key="data.rcdid">
:key="data.rcdid"
>
<td>{{ data.gjc }}</td> <td>{{ data.gjc }}</td>
<td> <td>
<el-input <el-input v-model="formLabelAlign[index]['bshxq']"
v-model="formLabelAlign[index]['bshxq']" placeholder="请输入"></el-input>
placeholder="请输入"
></el-input>
</td> </td>
<td> <td>
<el-select <el-select v-model="formLabelAlign[index]['bshlx']"
v-model="formLabelAlign[index]['bshlx']" clearable
clearable placeholder="请选择">
placeholder="请选择" <el-option v-for="item in options"
> :key="item.value"
<el-option :label="item.label"
v-for="item in options" :value="item.value">
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td> <td>
<el-select <el-select v-model="formLabelAlign[index]['rylx']"
v-model="formLabelAlign[index]['rylx']" clearable
clearable placeholder="请选择">
placeholder="请选择" <el-option v-for="item in options1"
> :key="item.value"
<el-option :label="item.label"
v-for="item in options1" :value="item.value">
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<span slot="footer" class="dialog-footer"> <span slot="footer"
<el-button @click="centerDialogVisible = false" class="dialog-footer">
>取 消</el-button <el-button @click="centerDialogVisible = false">取 消</el-button>
> <el-button type="primary"
<el-button type="primary" @click="handSumit()" @click="handSumit()">确 定</el-button>
>确 定</el-button
>
</span> </span>
</el-dialog> </el-dialog>
</el-card> </el-card>
...@@ -266,19 +378,18 @@ ...@@ -266,19 +378,18 @@
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">
<div class="grid-content bg-purple"> <div class="grid-content bg-purple">
<el-card v-if="!bzFlag" class="box-card"> <el-card v-if="!bzFlag"
class="box-card">
<div class="incidentTitle"> <div class="incidentTitle">
<span>案事件标注</span> <span>案事件标注</span>
</div> </div>
<div class="incidentBtn"> <div class="incidentBtn">
<div <div class="btn"
class="btn" v-for="data in tableBar"
v-for="data in tableBar" :key="data.key"
:key="data.key" ref="data.key"
ref="data.key" :class="{ active: selectIndex1 === data.key }"
:class="{ active: selectIndex1 === data.key }" @click="hanldTableBar(data.key)">
@click="hanldTableBar(data.key)"
>
{{ data.name }} {{ data.name }}
</div> </div>
</div> </div>
...@@ -286,48 +397,47 @@ ...@@ -286,48 +397,47 @@
<div class="incidentConLeft"> <div class="incidentConLeft">
<div class="search"> <div class="search">
<span>主案类别</span> <span>主案类别</span>
<el-input placeholder="关键词检索" v-model="filterText1"> <el-input placeholder="关键词检索"
v-model="filterText1">
</el-input> </el-input>
</div> </div>
<div class="tree"> <div class="tree">
<el-tree <el-tree class="filter-tree"
class="filter-tree" :highlight-current="true"
:highlight-current="true" node-key="id"
node-key="id" :data="data1"
:data="data1" :props="defaultProps"
:props="defaultProps" default-expand-all
default-expand-all :filter-node-method="filterNode1"
:filter-node-method="filterNode1" ref="tree1"
ref="tree1" @node-click="zaHandleNodeClick">
@node-click="zaHandleNodeClick"
>
</el-tree> </el-tree>
</div> </div>
</div> </div>
<div class="incidentConRight"> <div class="incidentConRight">
<div class="search"> <div class="search">
<span>类案类别</span> <span>类案类别</span>
<el-input placeholder="关键词检索" v-model="filterText"> <el-input placeholder="关键词检索"
v-model="filterText">
</el-input> </el-input>
</div> </div>
<div class="tree"> <div class="tree">
<el-tree <el-tree class="filter-tree"
class="filter-tree" :highlight-current="true"
:highlight-current="true" node-key="id"
node-key="id" :data="data"
:data="data" :props="defaultProps"
:props="defaultProps" default-expand-all
default-expand-all :filter-node-method="filterNode"
:filter-node-method="filterNode" ref="tree"
ref="tree" @node-click="lzHandleNodeClick">
@node-click="lzHandleNodeClick"
>
</el-tree> </el-tree>
</div> </div>
</div> </div>
</div> </div>
</el-card> </el-card>
<el-card v-else class="box-card"> <el-card v-else
class="box-card">
<div class="incidentTitle"> <div class="incidentTitle">
<span>案事件标注</span> <span>案事件标注</span>
</div> </div>
...@@ -336,7 +446,8 @@ ...@@ -336,7 +446,8 @@
<div class="bztag"> <div class="bztag">
<span>{{ ajzlbStr }}</span> <span>{{ ajzlbStr }}</span>
</div> </div>
<div class="bztag2" style="margin: 40px 0 0 60px"> <div class="bztag2"
style="margin: 40px 0 0 60px">
<span>{{ ajxzlbStr }}</span> <span>{{ ajxzlbStr }}</span>
</div> </div>
</div> </div>
...@@ -347,70 +458,70 @@ ...@@ -347,70 +458,70 @@
</el-row> </el-row>
</el-main> </el-main>
<el-footer height="81px"> <el-footer height="81px">
<el-button type="primary" @click="submitBz">完成标注</el-button> <el-button type="primary"
<el-button type="warning" @click="bzDetail">查看标注详情</el-button> @click="submitBz">完成标注</el-button>
<el-button type="warning"
@click="bzDetail">查看标注详情</el-button>
</el-footer> </el-footer>
</el-container> </el-container>
<el-dialog <el-dialog title="标识号新增"
title="标识号新增" :visible.sync="centerDialogVisibles1"
:visible.sync="centerDialogVisibles" width="50%"
width="50%" center>
center
>
<table class="bshTable"> <table class="bshTable">
<thead> <thead>
<tr> <tr>
<th>标识号</th> <th>标识号</th>
<th>标识号详情</th> <th>标识号详情</th>
<th>标识号类型</th> <th>标识号类型</th>
<th>人员类型</th> <th style="width:256px">人员类型</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr v-for="(data, index) in bshList" :key="data.rcdid"> <tr v-for="(data, index) in formLabelAlign2"
<td>{{ data.gjc }}</td> :key="data.rcdid">
<!-- <td>{{ data.gjc }}</td> -->
<td>
<el-input v-model="formLabelAlign2[index]['gjc']"
placeholder="请输入"></el-input>
</td>
<td> <td>
<el-input <el-input v-model="formLabelAlign2[index]['bshxq']"
v-model="formLabelAlign2[index]['bshxq']" placeholder="请输入"></el-input>
placeholder="请输入"
></el-input>
</td> </td>
<td> <td>
<el-select <el-select v-model="formLabelAlign2[index]['bshlx']"
v-model="formLabelAlign2[index]['bshlx']" clearable
clearable placeholder="请选择">
placeholder="请选择" <el-option v-for="item in options"
> :key="item.value"
<el-option :label="item.label"
v-for="item in options" :value="item.value">
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td> <td>
<el-select <el-select v-model="formLabelAlign2[index]['rylx']"
v-model="formLabelAlign2[index]['rylx']" clearable
clearable placeholder="请选择">
placeholder="请选择" <el-option v-for="item in options1"
> :key="item.value"
<el-option :label="item.label"
v-for="item in options1" :value="item.value">
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<span slot="footer" class="dialog-footer"> <span slot="footer"
<el-button @click="centerDialogVisible = false">取 消</el-button> class="dialog-footer">
<el-button type="primary" @click="handSumit()">确 定</el-button> <el-button class="el-icon-edit"
style="float: left;"
@click="addButton"></el-button>
<el-button @click="cancel">取 消</el-button>
<el-button type="primary"
@click="handSumits()">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
...@@ -425,20 +536,24 @@ import { ...@@ -425,20 +536,24 @@ import {
getFwbzhList, getFwbzhList,
updateBsh, updateBsh,
saveAsjbzxx, saveAsjbzxx,
insertFwbsh,
getAsjbzxx, getAsjbzxx,
getRybhList,
getBarxxList,
deleteBsh
} from "@/api/ajbzDetail.js"; } from "@/api/ajbzDetail.js";
import { queryTreeDataByType } from "@/api/queryAj.js"; import { queryTreeDataByType } from "@/api/queryAj.js";
export default { export default {
name: "ajbzDetail", name: "ajbzDetail",
watch: { watch: {
filterText(val) { filterText (val) {
this.$refs.tree.filter(val); this.$refs.tree.filter(val);
}, },
filterText1(val) { filterText1 (val) {
this.$refs.tree1.filter(val); this.$refs.tree1.filter(val);
}, },
}, },
data() { data () {
return { return {
bshList: [ bshList: [
{ {
...@@ -454,13 +569,7 @@ export default { ...@@ -454,13 +569,7 @@ export default {
parentLb: {}, //主类类别 parentLb: {}, //主类类别
centerDialogVisibles: false, centerDialogVisibles: false,
formLabelAlign: [], formLabelAlign: [],
formLabelAlign2: [ formLabelAlign2: [],
{
bshxq: "",
bshlx: "",
rylx: "",
},
],
barData: [ barData: [
{ id: 1, name: "案件信息" }, { id: 1, name: "案件信息" },
{ id: 2, name: "现场信息" }, { id: 2, name: "现场信息" },
...@@ -473,7 +582,14 @@ export default { ...@@ -473,7 +582,14 @@ export default {
{ key: 4, name: "抢夺案" }, { key: 4, name: "抢夺案" },
{ key: 5, name: "招摇撞骗案" }, { key: 5, name: "招摇撞骗案" },
], ],
ryList: [
{ ryid: 1, name: "嫌疑人" },
{ ryid: 2, name: "受害人" },
{ ryid: 3, name: "报案人" },
],
centerDialogVisible: false, centerDialogVisible: false,
centerDialogVisible1: false,
centerDialogVisibles1: false,
ajmc: "", ajmc: "",
ajlbdm_str: "", ajlbdm_str: "",
active: "", active: "",
...@@ -496,8 +612,14 @@ export default { ...@@ -496,8 +612,14 @@ export default {
ajxx: true, ajxx: true,
xcxx: false, xcxx: false,
ry: false, ry: false,
ryqh: true,
shrqh: false,
barrqh: false,
Amplifier: true,
delShow: false,
selectIndex: 1, //搜索结果,被选中的li index selectIndex: 1, //搜索结果,被选中的li index
selectIndex1: 1, selectIndex1: 1,
selectIndex2: 1,
word: [], word: [],
FwbzhList: [], FwbzhList: [],
fits: [], fits: [],
...@@ -511,7 +633,15 @@ export default { ...@@ -511,7 +633,15 @@ export default {
bshlx: "", bshlx: "",
shrList: [], shrList: [],
xyrList: [], xyrList: [],
xyrList1: [],
fwbzhList: [], fwbzhList: [],
aqgjc: true,
topSamllCard: {
topSamllCard: false,
},
aqgjcamplifier: {
aqgjcamplifier: false
},
tableData: { tableData: {
bshxq: "", bshxq: "",
bshlx: "", bshlx: "",
...@@ -543,6 +673,8 @@ export default { ...@@ -543,6 +673,8 @@ export default {
sxdata1: [], sxdata1: [],
data: [], data: [],
sxdata: [], sxdata: [],
shrListqh: [],
barList: [],
asjbh: this.$route.query.asjbh, asjbh: this.$route.query.asjbh,
input: "", input: "",
filterText: "", filterText: "",
...@@ -558,13 +690,13 @@ export default { ...@@ -558,13 +690,13 @@ export default {
}, },
}; };
}, },
created() { created () {
this.query(); this.query();
this.getQuery(); this.getQuery();
this.getBz(); this.getBz();
}, },
methods: { methods: {
submitBz() { submitBz () {
var self = this; var self = this;
saveAsjbzxx({ saveAsjbzxx({
asjbh: self.asjbh, asjbh: self.asjbh,
...@@ -572,20 +704,19 @@ export default { ...@@ -572,20 +704,19 @@ export default {
asjbzAjfl: `0${self.selectIndex1}`, asjbzAjfl: `0${self.selectIndex1}`,
ajzlb: self.data1[0].id, ajzlb: self.data1[0].id,
ajxzlb: self.parentLb.id, ajxzlb: self.parentLb.id,
}).then(res=>{ }).then(res => {
if(res.status == 200){ if (res.status == 200) {
self.$message.success('标注成功') self.$message.success('标注成功')
} }
}) })
}, },
getBz() { getBz () {
var self = this; var self = this;
getAsjbzxx({ getAsjbzxx({
asjbh: this.asjbh, asjbh: this.asjbh,
}).then((res) => { }).then((res) => {
self.ajzlbStr = res.data.ajzlbStr; self.ajzlbStr = res.data.ajzlbStr;
self.ajxzlbStr = res.data.ajxzlbStr; self.ajxzlbStr = res.data.ajxzlbStr;
debugger
self.$nextTick(() => { self.$nextTick(() => {
// treeBox 元素的ref value 绑定的node-key // treeBox 元素的ref value 绑定的node-key
self.$refs.tree1.setCurrentKey(res.data.ajzlb); self.$refs.tree1.setCurrentKey(res.data.ajzlb);
...@@ -593,18 +724,70 @@ export default { ...@@ -593,18 +724,70 @@ export default {
}); });
}); });
}, },
bzDetail() { bzDetail () {
var self = this; var self = this;
self.getBz() self.getBz()
self.bzFlag = true; self.bzFlag = true;
}, },
handSumits() {}, cancel () {
addBsh() { this.centerDialogVisibles1 = false;
this.formLabelAlign2 = []
},
handSumits () {
this.formLabelAlign2 = []
this.centerDialogVisibles1 = false;
var self = this;
let i = 0;
let param = []
self.formLabelAlign2.forEach((item) => {
param.push({
zjbh: this.asjbh,
gjc: self.formLabelAlign2[i]["gjc"],
bshxq: self.formLabelAlign2[i]["bshxq"],
bshlx: self.formLabelAlign2[i]["bshlx"],
bm: "TB_ST_ASJ",
rylx: self.formLabelAlign2[i]["rylx"],
ztbs: "ASJ"
})
console.log(param)
});
insertFwbsh(JSON.stringify(param)).then((res) => {
if (res.status == 200) {
this.$message({
showClose: true,
message: '添加成功',
type: 'success'
});
getFwbzhList({
asjbh: this.asjbh
}).then(res => {
this.fwbzhList = res.data
this.shrList = res.data.filter(item => item.rylx == "01")
this.xyrList = res.data.filter(item => item.rylx == "02")
})
}
});
},
addButton () {
console.log(111)
this.formLabelAlign2.push(
{
gjc: "",
bshxq: "",
bshlx: "",
rylx: "",
},
)
},
addBsh () {
var self = this; var self = this;
this.$set(self.formLabelAlign2, 0, []); this.$set(self.formLabelAlign2, 0, []);
this.centerDialogVisibles = true; this.centerDialogVisibles1 = true;
}, },
query() { query () {
var self = this; var self = this;
getAsjxxDetail({ getAsjxxDetail({
asjbh: this.asjbh, asjbh: this.asjbh,
...@@ -636,13 +819,10 @@ export default { ...@@ -636,13 +819,10 @@ export default {
getZbfzxyrxxList({ getZbfzxyrxxList({
asjbh: this.asjbh, asjbh: this.asjbh,
}).then((res) => { }).then((res) => {
this.zp = res.data.zp;
this.xm = res.data.xm; this.xyrList1 = res.data
this.xbdmStr = res.data.xbdmStr; console.log(this.xyrList1, "11111")
this.csrq = res.data.csrq;
this.mzdmStr = res.data.mzdmStr;
this.lxdh = res.data.lxdh;
this.xzzDzmc = res.data.xzzDzmc;
}), }),
getGjcList({ getGjcList({
asjbh: this.asjbh, asjbh: this.asjbh,
...@@ -666,33 +846,35 @@ export default { ...@@ -666,33 +846,35 @@ export default {
singleObject.bshlx = this.fwbzhList[i]["bshlx"]; singleObject.bshlx = this.fwbzhList[i]["bshlx"];
singleObject.rylx = this.fwbzhList[i]["rylx"]; singleObject.rylx = this.fwbzhList[i]["rylx"];
self.$set(self.formLabelAlign, i, singleObject); self.$set(self.formLabelAlign, i, singleObject);
debugger;
this.$forceUpdate(); this.$forceUpdate();
} }
}); });
}, },
handSumit() { handSumit () {
var self = this; var self = this;
let i = 0; let i = 0;
var params = [];
self.formLabelAlign.forEach((item) => { self.formLabelAlign.forEach((item) => {
var params = new FormData(); var obj = {};
params.append("rcdid", self.formLabelAlign[i]["rcdid"]); obj.rcdid = self.formLabelAlign[i]["rcdid"];
params.append("rylx", self.formLabelAlign[i]["rylx"]); obj.rylx = self.formLabelAlign[i]["rylx"];
params.append("gjc", self.formLabelAlign[i]["gjc"]); obj.gjc = self.formLabelAlign[i]["gjc"];
params.append("bshxq", self.formLabelAlign[i]["bshxq"]); obj.bshxq = self.formLabelAlign[i]["bshxq"];
params.append("bshlx", self.formLabelAlign[i]["bshlx"]); obj.bshlx = self.formLabelAlign[i]["bshlx"];
updateBsh(params).then((res) => { obj.bm = "tb_st_asj";
i++; obj.ztbs = "asj";
console.log(res); params.push(obj)
}); });
updateBsh(JSON.stringify(params)).then((res) => {
console.log(res);
}); });
debugger debugger;
if(self.formLabelAlign.length == i){ if (self.formLabelAlign.length == i) {
self.message.success('标识号修改成功') self.message.success("标识号修改成功");
} }
debugger; debugger;
}, },
getQuery() { getQuery () {
queryTreeDataByType({ queryTreeDataByType({
type: "CODE_GABAJZLB", type: "CODE_GABAJZLB",
startId: "", startId: "",
...@@ -712,7 +894,7 @@ export default { ...@@ -712,7 +894,7 @@ export default {
console.log(this.data); console.log(this.data);
}); });
}, },
halderTab(val) { halderTab (val) {
this.selectIndex = val; this.selectIndex = val;
if (val == 1) { if (val == 1) {
this.ajxx = true; this.ajxx = true;
...@@ -728,7 +910,40 @@ export default { ...@@ -728,7 +910,40 @@ export default {
this.ry = true; this.ry = true;
} }
}, },
hanldTableBar(val) { hanldRytab (val) {
console.log(val)
this.selectIndex2 = val
if (val == 1) {
this.ryqh = true
this.shrqh = false
this.barrqh = false
getZbfzxyrxxList({
asjbh: this.asjbh
}).then(res => {
this.xyrList = res.data
})
} else if (val == 2) {
this.ryqh = false
this.shrqh = true
this.barrqh = false
getRybhList({
asjbh: this.asjbh
}).then(res => {
this.shrListqh = res.data
})
} else if (val == 3) {
this.ryqh = false
this.shrqh = false
this.barrqh = true
getBarxxList({
asjbh: this.asjbh
}).then(res => {
this.barList = res.data
})
}
},
hanldTableBar (val) {
this.selectIndex1 = val; this.selectIndex1 = val;
if (val == 1) { if (val == 1) {
this.data1 = this.sxdata1.filter((val) => { this.data1 = this.sxdata1.filter((val) => {
...@@ -752,7 +967,7 @@ export default { ...@@ -752,7 +967,7 @@ export default {
}); });
} }
}, },
zaHandleNodeClick(res) { zaHandleNodeClick (res) {
let parentId = res.id; let parentId = res.id;
console.log(parentId); console.log(parentId);
let newData = this.sxdata.filter((val) => { let newData = this.sxdata.filter((val) => {
...@@ -760,7 +975,7 @@ export default { ...@@ -760,7 +975,7 @@ export default {
}); });
this.data = newData; this.data = newData;
}, },
lzHandleNodeClick(res) { lzHandleNodeClick (res) {
console.log(res); console.log(res);
this.parentLb = res; this.parentLb = res;
let parentId = res.parentId; let parentId = res.parentId;
...@@ -771,11 +986,59 @@ export default { ...@@ -771,11 +986,59 @@ export default {
this.data1 = newData; this.data1 = newData;
console.log(this.data1); console.log(this.data1);
}, },
filterNode(value, data) { topAmplifier () {
this.Amplifier = !this.Amplifier
this.topSamllCard.topSamllCard = !this.topSamllCard.topSamllCard
},
aqgjcAmplifier () {
this.aqgjc = !this.aqgjc
this.aqgjcamplifier.aqgjcamplifier = !this.aqgjcamplifier.aqgjcamplifier
console.log(this.aqgjcamplifier)
},
hanldDel () {
// this.centerDialogVisible = true
this.delShow = !this.delShow
},
hanlDelete (val) {
// let formdata = new FormData()
// formdata.append("rcdid", val);
this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteBsh({
rcdid: val
}).then(res => {
getFwbzhList({
asjbh: this.asjbh
}).then(res => {
this.fwbzhList = res.data
this.shrList = res.data.filter(item => item.rylx == "01")
this.xyrList = res.data.filter(item => item.rylx == "02")
})
})
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
},
filterNode (value, data) {
if (!value) return true; if (!value) return true;
return data.label.indexOf(value) !== -1; return data.label.indexOf(value) !== -1;
}, },
filterNode1(value, data1) { filterNode1 (value, data1) {
if (!value) return true; if (!value) return true;
return data1.label.indexOf(value) !== -1; return data1.label.indexOf(value) !== -1;
}, },
...@@ -864,6 +1127,10 @@ export default { ...@@ -864,6 +1127,10 @@ export default {
height: 540px; height: 540px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.topSamllCard {
height: 816px !important;
margin-bottom: 0 !important;
}
/deep/ .el-card__body { /deep/ .el-card__body {
padding: 0; padding: 0;
display: flex; display: flex;
...@@ -912,12 +1179,13 @@ export default { ...@@ -912,12 +1179,13 @@ export default {
justify-content: space-between; justify-content: space-between;
} }
.conContioner { .conContioner {
width: 95%; width: 920px;
height: 415px; //488 height: 415px; //488
margin: 15px auto; margin: 15px auto;
overflow: hidden; overflow: hidden;
overflow-y: auto; overflow-y: auto;
} }
.conContioner::-webkit-scrollbar { .conContioner::-webkit-scrollbar {
/*滚动条整体样式*/ /*滚动条整体样式*/
width: 10px; /*高宽分别对应横竖滚动条的尺寸*/ width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
...@@ -948,8 +1216,19 @@ export default { ...@@ -948,8 +1216,19 @@ export default {
} }
.conTitleLeft { .conTitleLeft {
text-align: center; text-align: center;
}
.conTitleleft ul li {
float: left;
width: 33%;
height: 52px;
cursor: pointer;
}
.liActive {
border-bottom: 4px solid #3670ff; border-bottom: 4px solid #3670ff;
} }
.aqgjcamplifier {
width: 100%;
}
.conTitleRighty { .conTitleRighty {
display: flex; display: flex;
width: 160px; width: 160px;
...@@ -964,15 +1243,14 @@ export default { ...@@ -964,15 +1243,14 @@ export default {
width: 100%; width: 100%;
} }
.conContioner table tr td { .conContioner table tr td {
width: 64px; min-height: 50px;
height: 50px;
font-size: 15px; font-size: 15px;
font-weight: 400; font-weight: 400;
line-height: 35px; line-height: 35px;
color: #808080; color: #808080;
} }
.keywordCon { .keywordCon {
width: 436px; width: 96%;
height: 191px; height: 191px;
position: absolute; position: absolute;
margin-top: 59px; margin-top: 59px;
...@@ -1000,14 +1278,20 @@ export default { ...@@ -1000,14 +1278,20 @@ export default {
background: #ededed; background: #ededed;
} }
.keywordCon ul li { .keywordCon ul li {
width: 95%;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
height: 30px; height: 50px;
line-height: 30px; line-height: 50px;
display: flex;
justify-content: space-between;
} }
.el-tag { .el-tag {
margin-left: 10px; margin-left: 10px;
} }
.el-icon-delete {
cursor: pointer;
}
.bianji { .bianji {
width: 15px; width: 15px;
height: 15px; height: 15px;
...@@ -1124,20 +1408,47 @@ export default { ...@@ -1124,20 +1408,47 @@ export default {
font-weight: normal; font-weight: normal;
} }
.bshTable { .bshTable {
width: 100%; display: block;
width: 960px;
border-collapse: collapse; border-collapse: collapse;
text-align: center; text-align: center;
height: 300px;
}
.bshTable tbody {
margin-top: 10px;
display: block;
width: 950px;
height: 235px;
overflow: hidden;
overflow-y: auto;
}
.bshTable tbody::-webkit-scrollbar {
width: 10px;
height: 1px;
}
.bshTable tbody::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #cccccc;
}
.bshTable tbody::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 10px;
background: #ededed;
} }
.bshTable th { .bshTable th {
width: 232px;
height: 50px; height: 50px;
background: #dcdcdc; background: #dcdcdc;
} }
.bshTable td {
width: 232px;
}
/deep/ .el-dialog__body { /deep/ .el-dialog__body {
padding: 0 !important; padding: 0 !important;
} }
.bshTable .el-input {
width: 200px;
}
.bshTable td { .bshTable td {
padding: 10px; padding: 10px;
} }
......
...@@ -118,8 +118,8 @@ ...@@ -118,8 +118,8 @@
placeholder="请选择" placeholder="请选择"
> >
<el-option <el-option
v-for="item in optionxz" v-for="(item,index) in optionxz"
:key="item.value" :key="index"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
...@@ -139,8 +139,8 @@ ...@@ -139,8 +139,8 @@
placeholder="请选择" placeholder="请选择"
> >
<el-option <el-option
v-for="item in optionzb" v-for="(item,index) in optionzb"
:key="item.value" :key="index"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
......
...@@ -58,7 +58,7 @@ module.exports = { ...@@ -58,7 +58,7 @@ module.exports = {
}, },
proxy: { proxy: {
"/api": { "/api": {
target: "http://47.92.225.109:5176/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ target: "http://47.92.225.109:5176/", //案件标注
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
...@@ -66,19 +66,27 @@ module.exports = { ...@@ -66,19 +66,27 @@ module.exports = {
} }
}, },
"/api2": { "/api2": {
target: "http://47.92.225.109:3002/", target: "http://47.92.225.109:3002/", //多维查询
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/api2': '/' '^/api2': '/'
} }
}, },
"/cbypApi": { "/api3": {
target: "http://47.92.225.109:8762/", target: "http://47.92.225.109:8762/", //串并研判
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/cbypApi': '/' '^/api3': '/'
}
},
"/api4": {
target: "http://47.92.225.109:5177/", //字典管理
ws: true,
changeOrigin: true,
pathRewrite: {
'^/api4': '/'
} }
} }
}, },
......
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