Commit 309f3bb5 by wangxing

赃物管理接口调试

parents 1eb27c07 9bf75b1b
......@@ -8,6 +8,8 @@ export const insertDna = params =>
export const updateDna = params =>
postform(`${base.alyIP}/ythcjDna/updateDna`, params);
//DNA信息删除
export const deleteDnaById = params =>
post(`${base.alyIP}/ythcjDna/deleteDnaById`, params);
export const selectDnaList = params =>
postform(`${base.alyIP}/ythcjDna/selectDnaList`, params);
// DNA详情
......
......@@ -3,19 +3,95 @@ import base from "@/api/base";
// 1.2.4.1 侦查组织新增
export const addZbzz = params =>
post(`${base.alyIP}/xshb/addZbzz`, params);
postform(`${base.alyIP}/xshb/addZbzz`, params);
// 1.2.5.1 关联关系新增
export const addXsglbsh = params =>
postform(`${base.alyIP}/xshb/addXsglbsh`, params);
// 1.2.4.2 侦查组织列表查询
export const getZbzzList = params =>
post(`${base.alyIP}/xshb/getZbzzList`, params);
// 1.2.5.2 关联关系列表查询
export const getXsglbshList = params =>
post(`${base.alyIP}/xshb/getXsglbshList`, params);
// 1.2.6.2 工作结论列表查询
export const getHcxxList = params =>
post(`${base.alyIP}/xshb/getHcxxList`, params);
// 1.2.4.3 侦查组织详情
export const getZbzzByZjbh = params =>
post(`${base.alyIP}/xshb/getZbzzByZjbh`, params);
// 1.2.5.3 关联关系详情
export const getXsglbshByZjbh = params =>
post(`${base.alyIP}/xshb/getXsglbshByZjbh`, params);
// 1.2.4.4侦查组织修改
export const updateZbzz = params =>
post(`${base.alyIP}/xshb/updateZbzz`, params);
postform(`${base.alyIP}/xshb/updateZbzz`, params);
// 1.2.5.4 关联关系修改
export const updateXsglbsh = params =>
postform(`${base.alyIP}/xshb/updateXsglbsh`, params);
// 1.2.4.5 侦查组织删除
export const delZbzz = params =>
post(`${base.alyIP}/xshb/delZbzz`, params);
// 1.2.5.5 关联关系删除
export const delXsglbsh = params =>
post(`${base.alyIP}/xshb/delXsglbsh`, params);
// 1.2.2.1 获取线索信息详情
export const getXsByXsbh = params =>
post(`${base.alyIP}/xshb/getXsByXsbh`, params);
//1.2.6.3 工作结论关联嫌疑人列表
export const getHcglxyrList = params =>
post(`${base.alyIP}/xshb/getHcglxyrList`, params);
//1.2.6.4 工作结论关联案件列表
export const getHcglasjList = params =>
post(`${base.alyIP}/xshb/getHcglasjList`, params);
// 案件提取
export const getAjxxByAsjbh = params =>
post(`${base.alyIP}/xsglasj/getAjxxByAsjbh`, params);
// 嫌疑人提取
export const getXyrxxByZjhm = params =>
post(`${base.alyIP}/xsglxyr/getXyrxxByZjhm`, params);
//1.2.6.1 工作结论新增
export const addHcxx = params =>
postform(`${base.alyIP}/xshb/addHcxx`, params);
// 1.2.1 登记工作线索
export const addXs = params =>
postform(`${base.alyIP}/xshb/addXs`, params);
// 1.2.3.1 线索信息修改保存
export const updateXs = params =>
postform(`${base.alyIP}/xshb/updateXs`, params);
export const downXsfj = params =>
postform(`${base.alyIP}/xshb/downXsfj`, params);
// 1.2.3.2 举报人删除
export const delXsgljbr = params =>
post(`${base.alyIP}/xshb/delXsgljbr`, params);
// 1.2.3.3 嫌疑人删除
export const delXsglxyr = params =>
post(`${base.alyIP}/xshb/delXsglxyr`, params);
// 1.2.3.4 附件删除
export const delXsfj = params =>
post(`${base.alyIP}/xshb/delXsfj`, params);
\ No newline at end of file
......@@ -77,7 +77,7 @@
>
</el-date-picker>
</div>
<div
<div
class="zdyInputW zdyInputCol2"
v-else-if="item.type == 'zdyDates'"
>
......@@ -405,7 +405,7 @@
pageBs != 'zcssqz' &&
pageBs != 'zcsskl' &&
pageBs != 'zcssjdc' &&
pageBs != 'zcssdy'&&
pageBs != 'zcssdy' &&
pageBs != 'queryShserhfx' &&
pageBs != 'queryXshb' &&
pageBs != 'queryQzlb' &&
......@@ -414,7 +414,7 @@
>
<i class="el-icon-plus"></i> 新增
</div>
<div
<div
class="flTtitle Add"
@click="InviteUsers"
v-if="pageBs == 'queryMyyhz' && yqyhz.yhJb == '0001'"
......@@ -828,7 +828,11 @@
>
<img :src="scope.row[columnTitle.prop]" alt="" />
</div>
<div v-else-if="columnTitle.prop == 'ryzpDzwjnr' || columnTitle.type == 'base64'">
<div
v-else-if="
columnTitle.prop == 'ryzpDzwjnr' || columnTitle.type == 'base64'
"
>
<img
:src="'data:image/jpeg;base64,' + scope.row[columnTitle.prop]"
alt=""
......@@ -1027,7 +1031,6 @@
pageBs == 'queryDnabz' ||
pageBs == 'queryXcystrCase' ||
pageBs == 'queryXcystrPeople' ||
pageBs == 'queryXshb' ||
pageBs == 'queryXcrx' ||
pageBs == 'queryXczj' ||
pageBs == 'shrzList' ||
......@@ -1054,28 +1057,26 @@
pageBs == 'queryZjclLb' ||
pageBs == 'qyeryrlqbxsBJ' ||
pageBs == 'qzdjs' ||
pageBs == 'queryRxhc'||
pageBs == 'queryNyzzhc'||
pageBs == 'queryDnahc'||
pageBs == 'queryYstrhc'||
pageBs == 'queryNyzzdc'||
pageBs == 'queryDnadc'||
pageBs == 'queryYstrdc'||
pageBs == 'queryRxhc' ||
pageBs == 'queryNyzzhc' ||
pageBs == 'queryDnahc' ||
pageBs == 'queryYstrhc' ||
pageBs == 'queryNyzzdc' ||
pageBs == 'queryDnadc' ||
pageBs == 'queryYstrdc' ||
pageBs == 'queryZjdc' ||
pageBs == 'dswtzxxlbxx' ||
pageBs == 'zcssqtwp' ||
pageBs == 'zcssddfjdc'||
pageBs == 'zcsszj'||
pageBs == 'zcssydtxsb'||
pageBs == 'zcssww'||
pageBs == 'zcssqz'||
pageBs == 'zcsskl'||
pageBs == 'zcssjdc'||
pageBs == 'zcssddfjdc' ||
pageBs == 'zcsszj' ||
pageBs == 'zcssydtxsb' ||
pageBs == 'zcssww' ||
pageBs == 'zcssqz' ||
pageBs == 'zcsskl' ||
pageBs == 'zcssjdc' ||
pageBs == 'zcssdy' ||
pageBs == 'llygl' ||
pageBs == 'zczltj'
)
"
>
......@@ -1100,6 +1101,7 @@
pageBs == 'xywspdzczl' ||
pageBs == 'sqqxgl' ||
pageBs == 'yjrwGl' ||
pageBs == 'queryXshb' ||
pageBs == 'wfzdzczl' ||
pageBs == 'yhzyh' ||
pageBs == 'cxyhz' ||
......@@ -1174,11 +1176,11 @@
>移交</span
>
<span
@click="$emit('szlly', scope)"
class="edit"
style="margin-right: 16px"
v-if="pageBs == 'llycx' && scope.row.sflly == '1'"
>移交</span
@click="$emit('szlly', scope)"
class="edit"
style="margin-right: 16px"
v-if="pageBs == 'llycx' && scope.row.sflly == '1'"
>移交</span
>
<span
@click="editRole(scope)"
......@@ -1229,11 +1231,12 @@
pageBs != 'qyeryrlqbxsfs' &&
pageBs != 'qyeryrlqbxsBJ' &&
pageBs != 'queryMyyhz' &&
pageBs != 'queryXshb' &&
pageBs != 'queryYpcp' &&
pageBs != 'queryShserhfx' &&
pageBs != 'queryfzxyr' &&
pageBs != 'queryfzxyr' &&
(scope.row.sflly == '1')
scope.row.sflly == '1'
"
>删除</span
>
......@@ -1493,16 +1496,17 @@
</template>
</el-table-column>
<el-table-column
v-if="pageBs == 'zcssqtwp' ||
pageBs =='zcssddfjdc'||
pageBs == 'zcsszj'||
pageBs == 'zcssydtxsb'||
pageBs == 'zcssww'||
pageBs == 'zcssqz'||
pageBs == 'zcsskl'||
pageBs == 'zcssjdc'||
pageBs == 'zcssdy'
"
v-if="
pageBs == 'zcssqtwp' ||
pageBs == 'zcssddfjdc' ||
pageBs == 'zcsszj' ||
pageBs == 'zcssydtxsb' ||
pageBs == 'zcssww' ||
pageBs == 'zcssqz' ||
pageBs == 'zcsskl' ||
pageBs == 'zcssjdc' ||
pageBs == 'zcssdy'
"
width="200"
align="center"
label="追回状态"
......@@ -1511,8 +1515,8 @@
<el-switch
v-model="scope.row.zhzt"
active-text="已追回"
active-value='1'
inactive-value='0'
active-value="1"
inactive-value="0"
inactive-text="未追回"
@change="(value)=>$emit('changeZhStatus',{value,scope})"
>
......@@ -1520,35 +1524,67 @@
</template>
</el-table-column>
<el-table-column
v-if="pageBs == 'zcssqtwp' ||
pageBs =='zcssddfjdc'||
pageBs == 'zcsszj'||
pageBs == 'zcssydtxsb'||
pageBs == 'zcssww'||
pageBs == 'zcssqz'||
pageBs == 'zcsskl'||
pageBs == 'zcssjdc'||
pageBs == 'zcssdy'
"
v-if="
pageBs == 'zcssqtwp' ||
pageBs == 'zcssddfjdc' ||
pageBs == 'zcsszj' ||
pageBs == 'zcssydtxsb' ||
pageBs == 'zcssww' ||
pageBs == 'zcssqz' ||
pageBs == 'zcsskl' ||
pageBs == 'zcssjdc' ||
pageBs == 'zcssdy'
"
align="center"
label="认领状态"
>
<<<<<<< HEAD
=======
<!--
sswpRlstatus 认领状态
0--未追回
1--未认领
2--认领
sswpZhstatus 追回状态
0---未追回
1---已追回
-->
>>>>>>> 9bf75b1bf4978fd5ac432cb2992ead52b1b83d61
<template slot-scope="scope">
<span
<span
@click="$emit('claim', scope)"
class="edit"
style="margin-right: 16px"
<<<<<<< HEAD
v-if="scope.row.zhzt == '1' && scope.row.rlzt == '0'"
=======
v-if="
scope.row.sswpRlstatus == '1' && scope.row.sswpZhstatus == '1'
"
>>>>>>> 9bf75b1bf4978fd5ac432cb2992ead52b1b83d61
>未认领</span
>
<span
style="margin-right: 16px"
<<<<<<< HEAD
v-if="scope.row.zhzt == '1' && scope.row.rlzt == '1'"
>认领</span
>
<span
style="margin-right: 16px"
v-if="scope.row.zhzt == '0'"
=======
v-if="
scope.row.sswpRlstatus == '2' && scope.row.sswpZhstatus == '1'
"
>已认领</span
>
<span
style="margin-right: 16px"
v-if="
scope.row.sswpRlstatus == '0' && scope.row.sswpZhstatus == '0'
"
>>>>>>> 9bf75b1bf4978fd5ac432cb2992ead52b1b83d61
>未追回</span
>
</template>
......@@ -2174,7 +2210,7 @@ export default {
add() {
this.$emit("add");
},
InviteUsers() {
InviteUsers() {
this.$emit("InviteUsers", this.yqyhz);
},
DissolutionOrganization() {
......@@ -2327,8 +2363,8 @@ export default {
}
this.formData.page = 1;
if (this.$route.name == 'xywspdzczl') {
this.formData.isFirst = "no"
if (this.$route.name == "xywspdzczl") {
this.formData.isFirst = "no";
}
this.doQuery("yes");
......@@ -2537,11 +2573,11 @@ export default {
this.doQuery("yes");
}
},
cxUrl: {
cxUrl: {
handler(val, old) {
if (val != old) {
debugger
this.doQuery("yes")
debugger;
this.doQuery("yes");
}
},
},
......
......@@ -93,8 +93,8 @@ const menuLayouts = [
component: () => import("@/views/dswtz/swxx/addSwxx.vue")
},
{
path: "/detailSwxx",
name: "detailSwxx",
path: "/swtzxxgl",
name: "swtzxxgl",
meta: {
title: '声纹信息详情'
},
......@@ -136,6 +136,15 @@ const menuLayouts = [
component: () => import("@/views/dswtz/swxx/SWlist.vue")
},
{
path: "/DNAlist",
name: "DNAlist",
meta: {
isAdd: true,
title: '足迹信息'
},
component: () => import("@/views/dswtz/dnaxx/DNAlist.vue")
},
{
path: "/detailZjxx",
name: "detailZjxx",
meta: {
......
......@@ -442,6 +442,71 @@ const menuLayouts = [
component: () => import("@/views/qgncj/queryRysyfwbsh/queryRysyfwbsh.vue"),
},
{
path: "/djgzxs",
name: "djgzxs",
meta: {
title: '线索核办'
},
component: () => import("@/views/xshb/xshb/djgzxs.vue")
},
{
path: "/zczzxz",
name: "zczzxz",
meta: {
title: '侦查组织'
},
component: () => import("@/views/xshb/xshb/zczzxz.vue")
},
{
path: "/glgxxz",
name: "glgxxz",
meta: {
title: '关联关系'
},
component: () => import("@/views/xshb/xshb/glgxxz.vue")
},
{
path: "/zczzxq",
name: "zczzxq",
meta: {
title: '侦查组织详情'
},
component: () => import("@/views/xshb/xshb/zczzxq.vue")
},
{
path: "/glgxxq",
name: "glgxxq",
meta: {
title: '关联关系详情'
},
component: () => import("@/views/xshb/xshb/glgxxq.vue")
},
{
path: "/gzjlxz",
name: "gzjlxz",
meta: {
title: '工作结论新增'
},
component: () => import("@/views/xshb/xshb/gzjlxz/gzjl.vue")
},
{
path: "/djgz",
name: "djgz",
meta: {
title: '登记工作线索新增'
},
component: () => import("@/views/xshb/xshb/gzjlxz/djgz.vue")
},
{
path: "/xsxxbc",
name: "xsxxbc",
meta: {
title: '线索信息补充'
},
component: () => import("@/views/xshb/xshb/gzjlxz/xsxxbc.vue")
},
]
export default menuLayouts
\ No newline at end of file
......@@ -17,14 +17,14 @@ const menuLayouts = [
},
component: () => import("@/views/xshb/queryXshb/queryXshb.vue")
},
{
path: "/djgzxs",
name: "djgzxs",
meta: {
title: '线索核办'
},
component: () => import("@/views/xshb/xshb/djgzxs.vue")
},
// {
// path: "/djgzxs",
// name: "djgzxs",
// meta: {
// title: '线索核办'
// },
// component: () => import("@/views/xshb/xshb/djgzxs.vue")
// },
{
path: "/xsbk",
name: "xsbk",
......
......@@ -5481,6 +5481,130 @@ const sadjb = [
col: "2",
},
]
// //侦查组织
const zczz_jbxx = [
{
name: "姓名:",
id: "xm",
type: "text",
// disabled: true,
value: "",
placeholder: "请输入",
col: "2",
prop: 'checkEmpty',
},
{
name: "性别:",
id: "xbdm",
type: "codeTree",
codeTree: "CODE_XB",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
// prop: 'checkEmpty',
},
{
name: "身份证号:",
id: "gmsfzh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
// prop: 'checkEmpty',
},
{
name: "联系电话:",
id: "lxdh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
// prop: 'checkEmpty',
},
{
name: "角色:",
id: "jsdm",
type: "codeTree",
codeTree: "CODE_XSHBJSDM",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
prop: 'checkEmpty',
},
{
name: "角色职责:",
id: "jszz",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
prop: 'checkEmpty',
},
{
name: "单位:",
id: "dwdm",
type: "codeTree",
codeTree: "CODE_UNIT",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
// prop: 'checkEmpty',
},
{
name: "已完成工作:",
id: "ywcgz",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
// prop: 'checkEmpty',
},
{
name: "待办工作:",
id: "dbgz",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
// prop: 'checkEmpty',
},
]
// // 关联关系
const glgx_jbxx = [
{
name: "标识号类型:",
id: "bshlx",
type: "codeTree",
codeTree: "CODE_BKLXDM",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
prop: 'checkEmpty',
},
{
name: "标识号码:",
id: "bshm",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
prop: 'checkEmpty',
},
{
name: "关联依据:",
id: "glyj",
type: "textarea",
value: "",
placeholder: "请输入",
col: "18",
// prop: 'checkEmpty',
},
]
// //立案
const lian_jbxx = [
......@@ -11931,6 +12055,10 @@ export {
jsasj_flws,
sahz,
sadjb,
// 侦查组织
zczz_jbxx,
// 关联关系
glgx_jbxx,
//立案信息
lian_jbxx,
lian_afd,
......
<template>
<div class="Content">
<right-content
:tableOperation="tableOperation"
:tableOperationWidth="tableOperationWidth"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
@add="add"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button @click="edit(scope.scope)" type="text">修改</el-button>
<el-button @click="dele(scope.scope)" type="text">删除</el-button>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {deleteDnaById} from "@/api/dswtz/dnaxx";
import axios from "@/utils/http.js";
import base from "@/api/base";
export default {
name: "lbxx",
components: {
rightContent,
},
data() {
return {
tableOperation:true,
tableOperationWidth:800,
header: "DNA信息",
pageBs: "dswtzxxlbxx",
cxFormData: {
rybh: this.$route.query.rybh,
page:'1',
limit:'10'
},
cxDefaultFormThead: [
{
label: "姓名",
prop: "xm"
},
{
label: "公民身份号码",
prop: "gmsfhm",
},
{
label: "DNA编号",
prop: "rydnabh",
},
{
label: "样本类型",
prop: "yblxdm",
},
],
// 需要转化table的显示
cxUrl: "/ythcjDna/selectDnaList",
Menu: [
{
id: "wfqdzczl",
label: "人员信息列表",
index: "wfqdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
leftMenus: [
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
},
methods: {
RouteName(scope,m){
this.$router.push({
path: m,
query: { rybh: scope.row.rybh },
});
},
add(){
//addSwxx
this.$router.push({
path: "addDnaxx",
query: { rybh: this.$route.query.rybh},
});
},
edit(scope) {
this.$router.push({
path: "addDnaxx",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteDnaById({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
let params = new FormData();
params.append('xxzjbh',scope.xxzjbh)
let loading = this.$loading({
lock: true,
text: "正在下载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
axios
.post(`${base.alyIP}/ythcjSw/downSwsjfj`, params, {
responseType: "blob",
})
.then((res) => {
loading.close();
let blob = new Blob([res], {
type: "application/vnd.ms-excel",
});
// 组装a标签
let elink = document.createElement("a");
// 设置下载文件名
elink.download = scope.wjmc;
elink.style.display = "none";
elink.href = URL.createObjectURL(blob);
document.body.appendChild(elink);
elink.click();
document.body.removeChild(elink);
});
},
},
mounted() {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
</style>
......@@ -17,11 +17,15 @@
import formCompontent from "@c/form.vue";
import {
updateDna,
selectDnaList,
insertDna
insertDna,
selectDnaById
} from "@/api/dswtz/dnaxx.js";
import { selectRyxxById} from "@/api/dswtzxx.js";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
......@@ -43,7 +47,7 @@
value: "",
placeholder: "请输入",
col: "2",
prop:'checkEmpty'
disabled:true
},
{
name: "公民身份号码:",
......@@ -52,7 +56,7 @@
value: "",
placeholder: "请输入",
col: "2",
prop:'emptyAbleIdentity'
disabled:true
},
{
name: "DNA编号:",
......@@ -77,7 +81,10 @@
],
},
],
formLabelAlign: {},
formLabelAlign: {
xm:'',
gmsfhm:'',
},
type: "",
xxzjbh: "",
result: "",
......@@ -86,12 +93,12 @@
},
methods: {
submit(params) {
if(this.xxzjbh){
params.append('rybh',this.rybh)
if(this.$route.query.xxzjbh){
params.append("xxzjbh", this.xxzjbh);
updateDna(params).then(res=>{
if (res.success && res.code == 200) {
this.$router.push("dswtzxxlbxx")
this.$router.go(-1)
this.$message.success("保存成功");
}
else {
this.$message.error("添加失败,请检查数据格式是否正确");
......@@ -99,10 +106,11 @@
})
}
else {
params.append('rybh',this.rybh)
params.append('rybh',this.$route.query.rybh)
insertDna(params).then(res=>{
if (res.success && res.code == 200) {
this.$router.push("dswtzxxlbxx")
this.$router.go(-1)
this.$message.success("保存成功");
}
else {
this.$message.error("添加失败,请检查数据格式是否正确");
......@@ -125,10 +133,10 @@
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectDnaList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
params.append("xxzjbh", this.$route.query.xxzjbh);
selectDnaById(params).then((res) => {
var result = res.data.rows;
if(res.data.rows){
this.xxzjbh = result.xxzjbh
this.result = result;
self.propFormField.forEach((fieldItem) => {
......@@ -144,18 +152,29 @@
}
setTimeout(() => {
/* self.formLabelAlign.xm=self.info.bmch
self.formLabelAlign.gmsfhm=self.info.zjhm*/
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
if (this.$route.query.xxzjbh) {
this.title = "DNA信息管理";
this.rybh = this.$route.query.rybh;
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
else {
let params = new FormData()
params.append('rybh',this.$route.query.rybh)
selectRyxxById(params).then(jm=>{
if(jm.code===200){
this.formLabelAlign.xm = jm.data.rows.xm
this.formLabelAlign.gmsfhm = jm.data.rows.zjhm
}
})
}
},
};
</script>
......
<template>
<div>
<div v-loading="loading"
element-loading-text="拼命加载中">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
......@@ -22,11 +23,15 @@
import { updateHm,selectHmzpList} from "@/api/dswtz/hmxx.js";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{
hmsjLeft:"",
hmsjRight:""
......@@ -46,6 +51,7 @@
value: "",
placeholder: "请输入",
col: "2",
disabled:true
},
{
name: "公民身份号码:",
......@@ -54,6 +60,7 @@
value: "",
placeholder: "请输入",
col: "2",
disabled:true
},
{
name: "左虹膜:",
......@@ -113,6 +120,7 @@
updateHm(params).then(res=>{
if(res.code){
loading.close()
this.$router.push("dswtzxxlbxx")
}
})
},
......@@ -145,6 +153,7 @@
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
......@@ -153,13 +162,15 @@
self.$forceUpdate();
}
setTimeout(() => {
self.formLabelAlign.xm=self.info.bmch
self.formLabelAlign.gmsfhm=self.info.zjhm
loading.close();
}, 500);
});
},
},
created() {
console.log(this.info.bmch);
if (this.$route.query.rybh) {
this.title = "虹膜信息管理";
this.rybh = this.$route.query.rybh;
......
<template>
<div>
<div v-loading="loading"
element-loading-text="拼命加载中">
<form-compontent
ref="formCompontent"
:formField="propFormField"
......@@ -22,6 +23,7 @@ export default {
},
data() {
return {
loading: true,
title: "新增关注人员",
propFormField: [
//基本信息
......@@ -65,22 +67,7 @@ export default {
},
],
formLabelAlign: {},
stepList: [
// {
// title: "基本信息",
// active: true,
// },
// {
// title: "人员信息",
// active: false,
// },
// {
// title: "社会信息",
// active: false,
// },
],
loading: "",
stepList: [],
loadingIndex: 0,
photoList: [],
};
......@@ -147,14 +134,6 @@ export default {
});
},
getshuju() {
var self = this;
this.loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let params = new FormData()
params.append('asjxgrybh',this.$route.query.rybh)
selectRyzpList(params).then((res) => {
......@@ -162,8 +141,7 @@ export default {
this.$set(this.formLabelAlign,'R_ZMZP_File','data:image/jpeg;base64,'+result['zmzp'])
this.$set(this.formLabelAlign,'R_ZCMZP_File','data:image/jpeg;base64,'+result['zczp'])
this.$set(this.formLabelAlign,'R_YCMZP_File','data:image/jpeg;base64,'+result['yczp'])
console.log(result);
this.loading.close()
this.loading =false
});
},
......
......@@ -16,6 +16,7 @@
<script>
import formCompontent from "@c/form.vue";
import {saveSw} from "@/api/dswtz/swxx";
import { selectRyxxById} from "@/api/dswtzxx.js";
export default {
name: "addryxx",
components: {
......@@ -23,7 +24,7 @@
},
data() {
return {
title: "声纹信息",
title: "新增声纹信息",
propFormField: [
{
title: "",
......@@ -38,6 +39,7 @@
value: "",
placeholder: "请输入",
col: "2",
disabled:true
},
{
name: "公民身份号码:",
......@@ -46,6 +48,7 @@
value: "",
placeholder: "请输入",
col: "2",
disabled:true
},
{
name: "采集场地:",
......@@ -75,7 +78,10 @@
],
},
],
formLabelAlign: {},
formLabelAlign: {
xm:'',
gmsfhm:'',
},
type: "",
xxzjbh: "",
result: "",
......@@ -102,7 +108,9 @@
if(res.code === 200){
loading.close();
this.$router.go(-1)
this.$message.success("保存成功");
} else {
loading.close();
this.$message({
message: res.message,
type: 'warning'
......@@ -116,11 +124,18 @@
},
},
created() {
let params = new FormData()
params.append('rybh',this.$route.query.rybh)
selectRyxxById(params).then(jm=>{
if(jm.code===200){
this.formLabelAlign.xm = jm.data.rows.xm
this.formLabelAlign.gmsfhm = jm.data.rows.zjhm
}
})
if (this.$route.query.type) {
this.type = this.$route.query.type;
}
if (this.$route.query.rybh) {
this.title = "声纹信息";
this.rybh = this.$route.query.rybh;
}
},
......
<template>
<el-tabs v-if="!loading" v-model="activeName" type="border-card" @tab-click="handleClick">
<el-tab-pane label="人像信息管理" name="RX"><addRxxx></addRxxx></el-tab-pane>
<el-tab-pane label="DNA信息管理" name="DNA"><DNAlist :info="info"></DNAlist></el-tab-pane>
<el-tab-pane label="虹膜信息管理" name="HM"><addHmxx :info="info"></addHmxx></el-tab-pane>
<el-tab-pane label="声纹信息管理" name="SW"><SWlist :info="info"></SWlist></el-tab-pane>
<el-tab-pane label="足迹信息管理" name="ZJ"><addZjxx></addZjxx></el-tab-pane>
<el-tab-pane label="平面指纹信息管理" name="PM"><addZwxx></addZwxx></el-tab-pane>
<el-tab-pane label="滚动指纹信息管理" name="GD"><addGDZwxx></addGDZwxx></el-tab-pane>
</el-tabs>
</template>
<script>
import addRxxx from '@p/dswtz/rxxx/addRxxx.vue'
import DNAlist from '@p/dswtz/dnaxx/DNAlist.vue'
import addHmxx from '@p/dswtz/hmxx/addHmxx.vue'
import SWlist from '@p/dswtz/swxx/SWlist.vue'
import addZjxx from '@p/dswtz/zjxx/addZjxx.vue'
import addZwxx from '@p/dswtz/zwxx/addZwxx.vue'
import addGDZwxx from '@p/dswtz/zwxx/addGDZwxx.vue'
import { selectRyxxById} from "@/api/dswtzxx.js";
export default {
components: {
addRxxx,DNAlist,addHmxx,SWlist,addZjxx,addZwxx,addGDZwxx
},
data() {
return {
activeName: 'RX',
info:{},
loading:true
};
},
methods: {
handleClick(tab, event) {
console.log(tab, event);
}
},
created() {
let params = new FormData()
params.append('rybh',this.$route.query.rybh)
selectRyxxById(params).then(jm=>{
if(jm.code===200){
this.info = jm.data.rows
this.loading= false
}
})
}
};
</script>
<template>
<div>
<div v-loading="loading"
element-loading-text="拼命加载中">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
......@@ -30,6 +31,7 @@
},
data() {
return {
loading:true,
fileBase64:{
gdxdhw_z:'',
nczp_z:'',
......@@ -244,6 +246,7 @@
updateZjzp(params).then(res=>{
if(res.code ===200){
this.$router.go(-1)
this.$message.success("保存成功");
} else {
this.$message({
message: res.$message,
......@@ -266,9 +269,9 @@
selectZjzpList(params).then(res=>{
if(res.code === 200){
let rows = res.data.rows;
this.loading = false
for(let j in rows){
if(this.fileBase64.hasOwnProperty(j)){
console.log('data:image/jpeg;base64,'+rows[j]);
this.$set(this.formLabelAlign, j, 'data:image/jpeg;base64,'+rows[j]);
}
else {
......
<template>
<div>
<div v-loading="loading"
element-loading-text="拼命加载中">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
......@@ -24,6 +25,7 @@
components: {formCompontent,},
data() {
return {
loading: true,
fileBase64:{},
title: "滚动指纹信息",
propFormField: [
......@@ -153,7 +155,7 @@
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
params.append('rybh',this.rybh)
params.append('rybh',this.$route.query.rybh)
for(var i in this.fileBase64) {
params.set(i,this.fileBase64[i])
}
......@@ -161,11 +163,13 @@
if(res.code===200){
loading.close()
this.$router.go(-1)
this.$message.success("保存成功");
}
})
},
},
created() {
let self =this
let loading = this.$loading({
lock: true,
text: "正在加载...",
......@@ -187,6 +191,7 @@
}
}
loading.close()
self.loading =false
}
})
}
......
<template>
<div>
<div v-loading="loading"
element-loading-text="拼命加载中">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
......@@ -24,6 +25,7 @@
components: {formCompontent,},
data() {
return {
loading:true,
fileBase64:{},
title: "平面指纹信息",
propFormField: [
......@@ -153,14 +155,16 @@
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
params.append('rybh',this.rybh)
params.append('rybh',this.$route.query.rybh)
for(var i in this.fileBase64) {
params.set(i,this.fileBase64[i])
}
console.log(params.get('rybh'));
updateZwzp(params).then(res=>{
if(res.code===200){
loading.close()
this.$router.go(-1)
this.$message.success("保存成功");
}
})
},
......@@ -186,6 +190,7 @@
}
}
}
this.loading = false
loading.close()
}
})
......
......@@ -17,13 +17,7 @@
<template #btnGroup="scope">
<el-button @click="dele(scope.scope)" type="text">删除</el-button>
<el-button @click="modelList(scope.scope,'ryxxrxbj')" type="text">修改</el-button>
<el-button @click="RouteName(scope.scope,'addRxxx')" type="text">人像信息管理</el-button>
<el-button @click="RouteName(scope.scope,'addDnaxx')" type="text">DNA信息管理</el-button>
<el-button @click="RouteName(scope.scope,'addHmxx')" type="text">虹膜信息管理</el-button>
<el-button @click="modelList(scope.scope,'SWlist')" type="text">声纹信息管理</el-button>
<el-button @click="modelList(scope.scope,'addZjxx')" type="text">足迹信息管理</el-button>
<el-button @click="modelList(scope.scope,'addZWxx')" type="text">平面指纹信息管理</el-button>
<el-button @click="modelList(scope.scope,'addGDZwxx')" type="text">滚动指纹信息管理</el-button>
<el-button @click="RouteName(scope.scope,'swtzxxgl')" type="text">生物特征信息管理</el-button>
</template>
</right-content>
</div>
......@@ -40,7 +34,7 @@
data() {
return {
tableOperation:true,
tableOperationWidth:800,
tableOperationWidth:300,
header: "多生物特征信息",
pageBs: "dswtzxxlbxx",
cxFormData: {
......@@ -64,17 +58,8 @@
col: "3",
},
{
name: "姓名",
id: "xm",
type: "text",
props: "checkEmpty",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "证件号码",
id: "zjhm",
name: "十指指纹编号",
id: "szzwbh",
type: "text",
props: "checkEmpty",
value: "",
......@@ -82,8 +67,8 @@
col: "3",
},
{
name: "十指指纹编号",
id: "szzwbh",
name: "姓名",
id: "xm",
type: "text",
props: "checkEmpty",
value: "",
......@@ -102,6 +87,16 @@
codeTree: "CODE_XB",
},
{
name: "证件号码",
id: "zjhm",
type: "text",
props: "checkEmpty",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "证件类型",
id: "cyzjdm",
type: "codeTreeDialog",
......
......@@ -155,7 +155,7 @@ export default {
multipleTable1: [],
dialogTableVisible: false,
dialogTableVisible1: true,
title: "交接合成研判任务信息",
title: "分配合成研判任务信息",
formField: [
//基本信息
{
......
......@@ -9,6 +9,13 @@
:cxUrl="cxUrl"
ref="rightContent"
>
<template #btnGroup="scope">
<span
class="hbyp"
@click="toInfor(scope.scope)"
>线索侦办</span
>
</template>
</right-content>
</div>
</template>
......@@ -116,6 +123,7 @@ export default {
{
label: "线索编号",
prop: "xsbh",
// toInfor: true,
width: "250",
},
{
......@@ -191,14 +199,14 @@ export default {
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "djgzxs",
label: "线索核办",
newAuth: "M01",
index: "djgzxs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
// {
// id: "djgzxs",
// label: "线索核办",
// newAuth: "M01",
// index: "djgzxs",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "xsbk",
label: "线索布控",
......@@ -223,7 +231,15 @@ export default {
this.$store.commit("user/SET_Header", this.header);
},
methods: {
toInfor(scope) {
this.$router.push({
path: "/djgzxs",
query: {
xsbh: scope.row.xsbh,
},
});
},
},
watch: {},
};
......
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/zczzForm.vue";
import { addXsglbsh, updateXsglbsh,getXsglbshByZjbh } from "@/api/xshb/xshb.js";
import axios from "@/utils/http.js";
import { glgx_jbxx } from "@/utils/params.js";
export default {
name: "zczz",
components: {
formCompontent,
},
data() {
return {
header: "关联关系",
title: "新增关联关系",
propFormField: [
//基本信息
{
title: "关联关系信息",
id: 1,
objStr: "",
index: 0,
data: glgx_jbxx,
},
],
formLabelAlign: {},
glxxXxzjbh: "",
xxzjbh: "",
xsbh: "",
result: {},
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
params.append("xsbh", this.xsbh);
addXsglbsh(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
debugger
loading.close();
window.close();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updateXsglbsh(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
window.close();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
getXsglbshByZjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.bsh;
this.result = result;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
loading.close();
});
},
},
created() {
this.xsbh = this.$route.query.xsbh;
if (this.$route.query.xxzjbh) {
this.xxzjbh = this.$route.query.xxzjbh;
this.title = "修改关联关系";
this.getshuju();
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/zczzForm.vue";
import { addZbzz, updateZbzz, getZbzzByZjbh } from "@/api/xshb/xshb.js";
import axios from "@/utils/http.js";
import { zczz_jbxx } from "@/utils/params.js";
export default {
name: "zczz",
components: {
formCompontent,
},
data() {
return {
header: "侦查组织",
title: "新增侦查组织",
propFormField: [
//基本信息
{
title: "侦查组织信息",
id: 1,
objStr: "",
index: 0,
data: zczz_jbxx,
},
],
formLabelAlign: {},
glxxXxzjbh: "",
xxzjbh: "",
xsbh: "",
result: {},
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
params.append("xsbh", this.xsbh);
addZbzz(params).then((res) => {
if (res.success && res.code == 200) {
window.opener.location.reload()
window.close()
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
debugger;
loading.close();
// window.close();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updateZbzz(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
window.close();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
getZbzzByZjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.zbzz;
this.result = result;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
loading.close();
});
},
},
created() {
this.xsbh = this.$route.query.xsbh;
if (this.$route.query.xxzjbh) {
this.xxzjbh = this.$route.query.xxzjbh;
this.title = "修改侦查组织";
this.getshuju();
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
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