Commit 1daec915 by mr.wang

线索查询比对

parent de7739e3
import { get, post, postform } from "@/utils/http.js";
import base from "@/api/base";
// 添加指纹比中
export const saveZwbzZcrw = params =>
postform(`${base.alyIP}/Zwbzrw/saveZwbzZcrw`, params);
// 添加DNA比中
export const saveDnabzrw = params =>
postform(`${base.alyIP}/Dnabzrw/saveDnabzrw`, params);
// 添加YSTR比中
export const saveYstrbzrw = params =>
postform(`${base.alyIP}/Ystrbzrw/saveYstrbzrw`, params);
// 进行ystr比对操作按钮
export const updateYstrbdById = params =>
post(`${base.alyIP}/Ystrbzrw/updateYstrbdById`, params);
//删除ystr比对
export const deleteYstrrwById= params =>
post(`${base.alyIP}/Ystrbzrw/deleteYstrrwById`, params);
// 添加人像比中
export const saveRxbzrw = params =>
postform(`${base.alyIP}/Rxccbzrw/saveRxbzrw`, params);
// 进行人像比对操作按钮
export const updateRxbdById = params =>
post(`${base.alyIP}/Rxccbzrw/updateRxbdById`, params);
//删除人像比对
export const deleteRxcbrwById= params =>
post(`${base.alyIP}/Rxccbzrw/deleteRxcbrwById`, params);
// 添加足迹比中
export const saveZjbzCcrw = params =>
postform(`${base.alyIP}/Zjccbzrw/saveZjbzCcrw`, params);
//删除足迹比对
export const deleteZjcbrwById= params =>
post(`${base.alyIP}/Zjccbzrw/deleteZjcbrwById`, params);
\ No newline at end of file
import { get, post, postform } from "@/utils/http.js";
import base from "@/api/base";
// 添加人像比中
export const saveRxbzHcrw = params =>
postform(`${base.alyIP}/Rxccbzrw/saveRxbzHcrw`, params);
// 比对人像比中
export const updateRxbdById = params =>
post(`${base.alyIP}/Rxccbzrw/updateRxbdById`, params);
// //删除人像比中
export const deleteRxcbrwById= params =>
post(`${base.alyIP}/Rxccbzrw/deleteRxcbrwById`, params);
// 添加捺印指掌纹身份核查
export const saveZwbzHcrw = params =>
postform(`${base.alyIP}/Zwbzrw/saveZwbzHcrw`, params);
// 添加人员DNA核查
export const saveDnaHcbzrw = params =>
postform(`${base.alyIP}/Dnabzrw/saveDnaHcbzrw`, params);
// 添加ystr人员核查
export const saveYstrHcbzrw = params =>
postform(`${base.alyIP}/Ystrbzrw/saveYstrHcbzrw`, params);
// 比对ystr人员核查
export const updateYstrbdById = params =>
post(`${base.alyIP}/Ystrbzrw/updateYstrbdById`, params);
// 删除YSTR身份核查
export const deleteYstrrwById= params =>
post(`${base.alyIP}/Ystrbzrw/deleteYstrrwById`, params);
// 添加捺印指掌纹涉案倒查
export const saveZwbzDcrw = params =>
postform(`${base.alyIP}/Zwbzrw/saveZwbzDcrw`, params);
// 添加人员DNA涉案倒查
export const saveDnaDcbzrw = params =>
postform(`${base.alyIP}/Dnabzrw/saveDnaDcbzrw`, params);
// 添加YSTR涉案倒查
export const saveYstrDcbzrw = params =>
postform(`${base.alyIP}/Ystrbzrw/saveYstrDcbzrw`, params);
// 添加人员足迹涉案倒查
export const saveZjbzDcrw = params =>
postform(`${base.alyIP}/Zjccbzrw/saveZjbzDcrw`, params);
...@@ -9,6 +9,14 @@ const menuLayouts = [ ...@@ -9,6 +9,14 @@ const menuLayouts = [
component: () => import("@/views/ajxscxbd/xczw/queryXczw.vue") component: () => import("@/views/ajxscxbd/xczw/queryXczw.vue")
}, },
{ {
path: "/addZwbz",
name: "addZwbz",
meta: {
title: '现场指纹比中信息'
},
component: () => import("@/views/ajxscxbd/xczw//addZw.vue")
},
{
path: "/detailXczw", path: "/detailXczw",
name: "detailXczw", name: "detailXczw",
meta: { meta: {
...@@ -25,6 +33,14 @@ const menuLayouts = [ ...@@ -25,6 +33,14 @@ const menuLayouts = [
component: () => import("@/views/ajxscxbd/xcdna/queryDnabz.vue") component: () => import("@/views/ajxscxbd/xcdna/queryDnabz.vue")
}, },
{ {
path: "/addDnabz",
name: "addDnabz",
meta: {
title: '现场DNA比中信息'
},
component: () => import("@/views/ajxscxbd/xcdna/addDnabz.vue")
},
{
path: "/detailDnabz", path: "/detailDnabz",
name: "detailDnabz", name: "detailDnabz",
meta: { meta: {
...@@ -44,7 +60,7 @@ const menuLayouts = [ ...@@ -44,7 +60,7 @@ const menuLayouts = [
path: "/queryXcystrCase", path: "/queryXcystrCase",
name: "queryXcystrCase", name: "queryXcystrCase",
meta: { meta: {
title: '现场YSTR比中详情' title: '现场YSTR案件比对'
}, },
component: () => import("@/views/ajxscxbd/xcystr/queryXcystrCase.vue") component: () => import("@/views/ajxscxbd/xcystr/queryXcystrCase.vue")
}, },
...@@ -52,11 +68,19 @@ const menuLayouts = [ ...@@ -52,11 +68,19 @@ const menuLayouts = [
path: "/queryXcystrPeople", path: "/queryXcystrPeople",
name: "queryXcystrPeople", name: "queryXcystrPeople",
meta: { meta: {
title: '现场YSTR比中详情' title: '现场YSTR人员比对'
}, },
component: () => import("@/views/ajxscxbd/xcystr/queryXcystrPeople.vue") component: () => import("@/views/ajxscxbd/xcystr/queryXcystrPeople.vue")
}, },
{ {
path: "/addYstrbz",
name: "addYstrbz",
meta: {
title: 'ystr比中信息'
},
component: () => import("@/views/ajxscxbd/xcystr/addYstrbz.vue")
},
{
path: "/queryXcrx", path: "/queryXcrx",
name: "queryXcrx", name: "queryXcrx",
meta: { meta: {
...@@ -65,6 +89,14 @@ const menuLayouts = [ ...@@ -65,6 +89,14 @@ const menuLayouts = [
component: () => import("@/views/ajxscxbd/xcrx/queryXcrx.vue") component: () => import("@/views/ajxscxbd/xcrx/queryXcrx.vue")
}, },
{ {
path: "/addRxbz",
name: "addRxbz",
meta: {
title: '现场人像串查信息'
},
component: () => import("@/views/ajxscxbd/xcrx/addRxbz.vue")
},
{
path: "/detailXcrx", path: "/detailXcrx",
name: "detailXcrx", name: "detailXcrx",
meta: { meta: {
...@@ -81,6 +113,14 @@ const menuLayouts = [ ...@@ -81,6 +113,14 @@ const menuLayouts = [
component: () => import("@/views/ajxscxbd/xczj/queryXczj.vue") component: () => import("@/views/ajxscxbd/xczj/queryXczj.vue")
}, },
{ {
path: "/addZjbd",
name: "addZjbd",
meta: {
title: '现场足迹串查信息'
},
component: () => import("@/views/ajxscxbd/xczj/addZjbd.vue")
},
{
path: "/detailXczj", path: "/detailXczj",
name: "detailXczj", name: "detailXczj",
meta: { meta: {
......
...@@ -9,6 +9,14 @@ const menuLayouts = [ ...@@ -9,6 +9,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryRxhc.vue") component: () => import("@/views/ryxscxbd/queryRxhc.vue")
}, },
{ {
path: "/addRxhc",
name: "addRxhc",
meta: {
title: '人像身份核查'
},
component: () => import("@/views/ryxscxbd/add/addRxhc.vue")
},
{
path: "/queryNyzzhc", path: "/queryNyzzhc",
name: "queryNyzzhc", name: "queryNyzzhc",
meta: { meta: {
...@@ -17,6 +25,14 @@ const menuLayouts = [ ...@@ -17,6 +25,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryNyzzhc.vue") component: () => import("@/views/ryxscxbd/queryNyzzhc.vue")
}, },
{ {
path: "/addNyzzhc",
name: "addNyzzhc",
meta: {
title: '捺印指掌纹身份核查'
},
component: () => import("@/views/ryxscxbd/add/addNyzzhc.vue")
},
{
path: "/queryDnahc", path: "/queryDnahc",
name: "queryDnahc", name: "queryDnahc",
meta: { meta: {
...@@ -25,6 +41,14 @@ const menuLayouts = [ ...@@ -25,6 +41,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryDnahc.vue") component: () => import("@/views/ryxscxbd/queryDnahc.vue")
}, },
{ {
path: "/addDnahc",
name: "addDnahc",
meta: {
title: '人员DNA身份核查'
},
component: () => import("@/views/ryxscxbd/add/addDnahc.vue")
},
{
path: "/queryYstrhc", path: "/queryYstrhc",
name: "queryYstrhc", name: "queryYstrhc",
meta: { meta: {
...@@ -33,6 +57,14 @@ const menuLayouts = [ ...@@ -33,6 +57,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryYstrhc.vue") component: () => import("@/views/ryxscxbd/queryYstrhc.vue")
}, },
{ {
path: "/addYstrhc",
name: "addYstrhc",
meta: {
title: '人员YSTR身份核查'
},
component: () => import("@/views/ryxscxbd/add/addYstrhc.vue")
},
{
path: "/queryNyzzdc", path: "/queryNyzzdc",
name: "queryNyzzdc", name: "queryNyzzdc",
meta: { meta: {
...@@ -41,6 +73,14 @@ const menuLayouts = [ ...@@ -41,6 +73,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryNyzzdc.vue") component: () => import("@/views/ryxscxbd/queryNyzzdc.vue")
}, },
{ {
path: "/addNyzzdc",
name: "addNyzzdc",
meta: {
title: '捺印指掌纹涉案倒查'
},
component: () => import("@/views/ryxscxbd/add/addNyzzdc.vue")
},
{
path: "/queryDnadc", path: "/queryDnadc",
name: "queryDnadc", name: "queryDnadc",
meta: { meta: {
...@@ -49,6 +89,14 @@ const menuLayouts = [ ...@@ -49,6 +89,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryDnadc.vue") component: () => import("@/views/ryxscxbd/queryDnadc.vue")
}, },
{ {
path: "/addDnadc",
name: "addDnadc",
meta: {
title: '人员DNA涉案倒查'
},
component: () => import("@/views/ryxscxbd/add/addDnadc.vue")
},
{
path: "/queryYstrdc", path: "/queryYstrdc",
name: "queryYstrdc", name: "queryYstrdc",
meta: { meta: {
...@@ -57,6 +105,14 @@ const menuLayouts = [ ...@@ -57,6 +105,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryYstrdc.vue") component: () => import("@/views/ryxscxbd/queryYstrdc.vue")
}, },
{ {
path: "/addYstrdc",
name: "addYstrdc",
meta: {
title: '人员YSTR身份涉案倒查'
},
component: () => import("@/views/ryxscxbd/add/addYstrdc.vue")
},
{
path: "/queryZjdc", path: "/queryZjdc",
name: "queryZjdc", name: "queryZjdc",
meta: { meta: {
...@@ -65,6 +121,14 @@ const menuLayouts = [ ...@@ -65,6 +121,14 @@ const menuLayouts = [
component: () => import("@/views/ryxscxbd/queryZjdc.vue") component: () => import("@/views/ryxscxbd/queryZjdc.vue")
}, },
{ {
path: "/addZjdc",
name: "addZjdc",
meta: {
title: '人员足迹涉案倒查'
},
component: () => import("@/views/ryxscxbd/add/addZjdc.vue")
},
{
path: "/rxhcDetail", path: "/rxhcDetail",
name: "rxhcDetail", name: "rxhcDetail",
meta: { meta: {
......
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { DnabzrwSaveDswDnabzrw } from "@/api/dswtz/bzxx";
import { saveDnabzrw } from "@/api/xscxbd/ajbd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "DNA编号:",
id: "dnabh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveDnabzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { updateHm,selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { saveRxbzrw } from "@/api/dswtz/bzxx";
import { saveRxbzrw } from "@/api/xscxbd/ajbd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加人像比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "人像照片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveRxbzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加人像比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { DnabzrwSaveDswDnabzrw } from "@/api/dswtz/bzxx";
import { saveYstrbzrw } from "@/api/xscxbd/ajbd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加YSTR比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "ystr编号:",
id: "dnabh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveYstrbzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
import { ZjccbzrwSaveRxbzrw } from "@/api/dswtz/bzxx";
import { saveZjbzCcrw } from "@/api/xscxbd/ajbd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "足迹图片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveZjbzCcrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div class="delAddBtn">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
import { saveZwbzZcrw } from "@/api/xscxbd/ajbd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "指纹图片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
{
name: "指纹编号:",
id: "zwbh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveZwbzZcrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
.flTtitle{
display: none;
}
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { DnabzrwSaveDswDnabzrw } from "@/api/dswtz/bzxx";
import { saveDnaDcbzrw } from "@/api/xscxbd/ajbd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "DNA编号:",
id: "dnabh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveDnaDcbzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { DnabzrwSaveDswDnabzrw } from "@/api/dswtz/bzxx";
import { saveDnaHcbzrw } from "@/api/xscxbd/rybd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "DNA编号:",
id: "dnabh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveDnaHcbzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div class="delAddBtn">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
import { saveZwbzDcrw } from "@/api/xscxbd/rybd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "指纹图片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
{
name: "指纹编号:",
id: "zwbh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveZwbzDcrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
.flTtitle{
display: none;
}
</style>
<template>
<div class="delAddBtn">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList } from "@/api/dswtz/hmxx.js";
import { saveZwbzHcrw } from "@/api/xscxbd/rybd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "指纹图片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
{
name: "指纹编号:",
id: "zwbh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveZwbzHcrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
.flTtitle{
display: none;
}
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { updateHm,selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { saveRxbzrw } from "@/api/dswtz/bzxx";
import { saveRxbzHcrw } from "@/api/xscxbd/rybd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加人像比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "人像照片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveRxbzHcrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加人像比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { DnabzrwSaveDswDnabzrw } from "@/api/dswtz/bzxx";
import { saveYstrDcbzrw } from "@/api/xscxbd/ajbd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加YSTR比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "ystr编号:",
id: "dnabh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveYstrbzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
// import { DnabzrwSaveDswDnabzrw } from "@/api/dswtz/bzxx";
import { saveYstrHcbzrw } from "@/api/xscxbd/rybd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加YSTR比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "ystr编号:",
id: "dnabh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveYstrHcbzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
import { ZjccbzrwSaveRxbzrw } from "@/api/dswtz/bzxx";
import { saveZjbzDcrw } from "@/api/xscxbd/rybd";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "足迹图片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveZjbzDcrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
ref="rightContent"
></right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxsxx } from "@/api/rlqbxs.js";
export default {
name: "queryDnadc",
components: {
rightContent,
},
data() {
return {
header: "捺印指掌纹涉案倒查",
pageBs: "queryDnadc",
cxFormData: {
dnabh: "",
xyrXm: "",
xyrZjhm: "",
rows: 10,
page: 1,
},
cxQueryField: [
{
name: "DNA编号",
id: "dnabh",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "姓名",
id: "xyrXm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "身份证号",
id: "xyrZjhm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "案事件编号",
prop: "asjbh",
toInfor:true
},
{
label: "接警编号",
prop: "jjbh",
width: '300',
},
{
label: "现场勘验编号",
prop: "xckybh",
width: '200',
},
{
label: "刑事警情类别",
prop: "xsjqlbdm",
},
{
label: "案件类别",
prop: "ajlbdm",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "发现案事件时间",
prop: "fxasjsj",
},
{
label: "发现案事件地点",
prop: "fxasjddDzmc",
},
{
label: "立案时间",
prop: "larq",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "比中时间",
prop: "bzsj",
},
{
label: "比中单位",
prop: "bzdwGajgmc",
},
],
cxUrl: "/Xcdna/selectDnasaList",
Menu: [
{
id: "queryDnadc",
label: "人员DNA涉案倒查",
index: "queryDnadc",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.push("adjustRlqbxs");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteKyxsxx({
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) {
this.$router.push({
path: "/detailDnabz",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
},
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>
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