Commit 7d5a5f08 by mr.wang

多生物-虹膜比对

parent af793f42
......@@ -106,7 +106,7 @@
Menu: [
{
id: "ajjs",
label: "案件检索",
label: "线索查询比对",
index: "ajjs",
auth: "M0101",
className: "iconfont iconrizhi",
......
......@@ -131,7 +131,11 @@
post(`${url.alyIP}${this.rdUrl}`, param).then(
(res) => {
if (res.success) {
this.dialogFormVisible = true
this.dialogFormVisible = false
this.$message({
message: '认定成功',
type: 'success'
});
this.getDcsfxx()
}
});
......
......@@ -12,23 +12,95 @@
prop="yblxdm"
label="样本类型代码">
</el-table-column>
<el-table-column
prop="bdzt"
label="比中状态">
<template slot-scope="scope">
<span>{{ getBdzt(scope.row.bdzt) }}</span>
</template>
</el-table-column>
<el-table-column
label="操作"
width="150">
<template slot-scope="scope">
<el-button @click="sendBdjg(scope.row)" type="text" size="small">发起比对</el-button>
<el-button v-if="scope.row.bdzt == '1' || scope.row.bdzt == '3'" type="text" size="small" @click="showBdjg(scope.row.bdrwbh)">比对结果</el-button>
</template>
</el-table-column>
</el-table>
<el-drawer
destroy-on-close
:with-header="false"
:visible.sync="table"
direction="rtl"
size="90%">
<right-content
:pageBs="pageBs"
pageASs="nonewAdd"
:header="header"
:cxFormData="cxFormData1"
:cxDefaultFormThead="cxDefaultFormThead1"
cxUrl="/Dnabzrw/selectBzbJglist"
@toInfor="toInfor"
ref="rightContent1"
>
</right-content>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { post } from "@/utils/http.js";
import url from "@/api/base";
export default {
name: "dnabd",
components: {
rightContent
},
data() {
return {
table: false,
pageBs: "dswtzxxlbxx",
header: "多生物特征信息",
xxzjbh: '',
tableData: [],
Url: '/ythcjDna/selectOraclDnaList',
loading: false
loading: false,
Url: '/Dnabzrw/getOracleDnarwList',
Url2: '/Dnabzrw/updateDnabdDswById',
cxFormData1: {
xxzjbh:'',
page:'1',
limit:'10'
},
cxDefaultFormThead1: [
{
label: "物证编号",
prop: "bzajWzbh",
width: '300',
toInfor: true,
},
{
label: "现勘编号",
prop: "bzajXkbh",
},
{
label: "案件物证名称",
prop: "bzajWzmc",
},
{
label: "比中人姓名",
prop: "bzryXm",
},
{
label: "比中人身份证号",
prop: "bzrySfzh",
},
{
label: "比中时间",
prop: "bzsj",
}
]
};
},
props: {
......@@ -45,7 +117,55 @@
}
this.loading = false
});
},
// 比对
sendBdjg(item) {
const param = {
ythrybh: this.rybh,
xxzjbh: item.xxzjbh
}
this.loading = true
post(`${url.alyIP}${this.Url2}`, param).then(
(res) => {
if (res.success) {
this.loading = false
this.getList()
}
})
},
showBdjg(xxzjbh) {
this.xxzjbh = xxzjbh
this.cxFormData1.xxzjbh = xxzjbh
this.table = true
},
toInfor(obj) {
let routeUrl = this.$router.resolve({
path: "/detailDnabz",
query: {
xxzjbh: obj.xxzjbh,
},
})
window.open(routeUrl.href, '_blank')
},
getBdzt(type) {
// 0-未比对 1-已比对 2-比对中 3-已认定
let text = ''
switch (type) {
case '0':
text = '未比对'
break
case '1':
text = '已比对'
break
case '2':
text = '比对中'
break
case '3':
text = '已认定'
break
}
return text
},
},
created() {
},
......
......@@ -18,22 +18,79 @@
<span>{{ getZpwz(scope.row.hmywdm) }}</span>
</template>
</el-table-column>
<el-table-column
prop="bdzt"
label="比中状态">
<template slot-scope="scope">
<span>{{ getBdzt(scope.row.bdzt) }}</span>
</template>
</el-table-column>
<el-table-column
label="操作"
width="150">
<template slot-scope="scope">
<el-button @click="sendBdjg(scope.row)" type="text" size="small">发起比对</el-button>
<el-button v-if="scope.row.bdzt == '1' || scope.row.bdzt == '3'" type="text" size="small" @click="showBdjg(scope.row.bdrwbh)">比对结果</el-button>
</template>
</el-table-column>
</el-table>
<el-drawer
destroy-on-close
:with-header="false"
:visible.sync="table"
direction="rtl"
size="90%">
<right-content
:pageBs="pageBs"
pageASs="nonewAdd"
:header="header"
:cxFormData="cxFormData1"
:cxDefaultFormThead="cxDefaultFormThead1"
cxUrl="/Hmbzrw/selectRyJglist"
ref="rightContent1"
>
</right-content>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { post } from "@/utils/http.js";
import url from "@/api/base";
export default {
name: "hmbd",
components: {
rightContent
},
data() {
return {
table: false,
xxzjbh: '',
tableData: [],
Url: '/ythcjHm/selectOracleHmzpList',
pageBs: "dswtzxxlbxx",
header: "多生物特征信息",
Url: '/Hmbzrw/getOracleHmrwList',
Url2: '/Hmbzrw/updateHmbdDswById',
cxFormData1: {
xxzjbh:'',
page:'1',
limit:'10'
},
cxDefaultFormThead1: [
{label: "人员编号", prop: "asjxgrybh"},
{label: "姓名", prop: "xm"},
{label: "别名", prop: "bmch"},
{label: "证件类型", prop: "cyzjCyzjmc"},
{label: "证件号码", prop: "cyzjZjhm"},
{label: "性别", prop: "xbdmStr"},
{label: "出生日期", prop: "csrq"},
{label: "国籍", prop: "gjdmStr"},
{label: "民族", prop: "mzdmStr"},
{label: "籍贯", prop: "jgdmStr"},
{label: "政治面貌", prop: "zzmmdmStr"},
{label: "学历", prop: "xldmStr"},
],
loading: false
};
},
......@@ -52,6 +109,26 @@
this.loading = false
});
},
// 比对
sendBdjg(item) {
const param = {
ythrybh: this.rybh,
xxzjbh: item.xxzjbh
}
this.loading = true
post(`${url.alyIP}${this.Url2}`, param).then(
(res) => {
if (res.success) {
this.loading = false
this.getList()
}
})
},
showBdjg(xxzjbh) {
this.xxzjbh = xxzjbh
this.cxFormData1.xxzjbh = xxzjbh
this.table = true
},
getZpwz(type) {
// 0-左眼虹膜 1-右眼虹膜 9-未知
let text = ''
......@@ -68,6 +145,25 @@
}
return text
},
getBdzt(type) {
// 0-未比对 1-已比对 2-比对中 3-已认定
let text = ''
switch (type) {
case '0':
text = '未比对'
break
case '1':
text = '已比对'
break
case '2':
text = '比对中'
break
case '3':
text = '已认定'
break
}
return text
},
},
created() {
},
......
......@@ -60,7 +60,7 @@
activeName: 'first',
xxzjbh: '',
info:{},
table: false,
// table: false,
loading:true,
Url: '/rycj/selectOraclRyxxById',
Menu: [
......@@ -90,12 +90,12 @@
handleClick(tab, event) {
console.log(tab, event);
},
showBdjg() {
this.table = true
},
changeTable() {
this.table = false
}
// showBdjg() {
// this.table = true
// },
// changeTable() {
// this.table = false
// }
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
......
......@@ -149,7 +149,7 @@
Menu: [
{
id: "bdmbXxzjbh",
label: "现场DNA比对",
label: "人员DNA涉案倒查",
index: "wfqdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
......
......@@ -127,7 +127,7 @@
Menu: [
{
id: "bdmbXxzjbh",
label: "足迹比中信息",
label: "人员足迹涉案倒查",
index: "wfqdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
......
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