Commit 7d5a5f08 by mr.wang

多生物-虹膜比对

parent af793f42
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
Menu: [ Menu: [
{ {
id: "ajjs", id: "ajjs",
label: "案件检索", label: "线索查询比对",
index: "ajjs", index: "ajjs",
auth: "M0101", auth: "M0101",
className: "iconfont iconrizhi", className: "iconfont iconrizhi",
......
...@@ -131,7 +131,11 @@ ...@@ -131,7 +131,11 @@
post(`${url.alyIP}${this.rdUrl}`, param).then( post(`${url.alyIP}${this.rdUrl}`, param).then(
(res) => { (res) => {
if (res.success) { if (res.success) {
this.dialogFormVisible = true this.dialogFormVisible = false
this.$message({
message: '认定成功',
type: 'success'
});
this.getDcsfxx() this.getDcsfxx()
} }
}); });
......
...@@ -12,23 +12,95 @@ ...@@ -12,23 +12,95 @@
prop="yblxdm" prop="yblxdm"
label="样本类型代码"> label="样本类型代码">
</el-table-column> </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-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> </div>
</template> </template>
<script> <script>
import rightContent from "@c/ptCxForm_components.vue";
import { post } from "@/utils/http.js"; import { post } from "@/utils/http.js";
import url from "@/api/base"; import url from "@/api/base";
export default { export default {
name: "dnabd", name: "dnabd",
components: { components: {
rightContent
}, },
data() { data() {
return { return {
table: false,
pageBs: "dswtzxxlbxx",
header: "多生物特征信息",
xxzjbh: '', xxzjbh: '',
tableData: [], 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: { props: {
...@@ -45,7 +117,55 @@ ...@@ -45,7 +117,55 @@
} }
this.loading = false 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() { created() {
}, },
......
...@@ -18,22 +18,79 @@ ...@@ -18,22 +18,79 @@
<span>{{ getZpwz(scope.row.hmywdm) }}</span> <span>{{ getZpwz(scope.row.hmywdm) }}</span>
</template> </template>
</el-table-column> </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-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> </div>
</template> </template>
<script> <script>
import rightContent from "@c/ptCxForm_components.vue";
import { post } from "@/utils/http.js"; import { post } from "@/utils/http.js";
import url from "@/api/base"; import url from "@/api/base";
export default { export default {
name: "hmbd", name: "hmbd",
components: { components: {
rightContent
}, },
data() { data() {
return { return {
table: false,
xxzjbh: '', xxzjbh: '',
tableData: [], 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 loading: false
}; };
}, },
...@@ -52,6 +109,26 @@ ...@@ -52,6 +109,26 @@
this.loading = false 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) { getZpwz(type) {
// 0-左眼虹膜 1-右眼虹膜 9-未知 // 0-左眼虹膜 1-右眼虹膜 9-未知
let text = '' let text = ''
...@@ -68,6 +145,25 @@ ...@@ -68,6 +145,25 @@
} }
return text 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() { created() {
}, },
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
activeName: 'first', activeName: 'first',
xxzjbh: '', xxzjbh: '',
info:{}, info:{},
table: false, // table: false,
loading:true, loading:true,
Url: '/rycj/selectOraclRyxxById', Url: '/rycj/selectOraclRyxxById',
Menu: [ Menu: [
...@@ -90,12 +90,12 @@ ...@@ -90,12 +90,12 @@
handleClick(tab, event) { handleClick(tab, event) {
console.log(tab, event); console.log(tab, event);
}, },
showBdjg() { // showBdjg() {
this.table = true // this.table = true
}, // },
changeTable() { // changeTable() {
this.table = false // this.table = false
} // }
}, },
created() { created() {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
Menu: [ Menu: [
{ {
id: "bdmbXxzjbh", id: "bdmbXxzjbh",
label: "现场DNA比对", label: "人员DNA涉案倒查",
index: "wfqdzczl", index: "wfqdzczl",
auth: "M0101", auth: "M0101",
className: "iconfont iconrizhi", className: "iconfont iconrizhi",
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
Menu: [ Menu: [
{ {
id: "bdmbXxzjbh", id: "bdmbXxzjbh",
label: "足迹比中信息", label: "人员足迹涉案倒查",
index: "wfqdzczl", index: "wfqdzczl",
auth: "M0101", auth: "M0101",
className: "iconfont iconrizhi", 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