Commit 6c83aee0 by 米嘉伟

新增人员逻辑库

parent 767412f5
...@@ -410,342 +410,6 @@ export default { ...@@ -410,342 +410,6 @@ export default {
currPage1: 1, // 当前在第几页 currPage1: 1, // 当前在第几页
currPage2: 1, // 当前在第几页 currPage2: 1, // 当前在第几页
datahaha: [
{
"id": 232,
"taskNumber": "20211119143047",
"fileName": "4301001745002021100286.fptx",
"barcode": "R4301001745002021100286",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-19T06:30:47.953+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "1",
"pcImportRecordGrandchildren": [
]
},
{
"id": 225,
"taskNumber": "20211119111142",
"fileName": "4301210000002021090033.fptx",
"barcode": "A4301210000002021090033",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-19T03:11:42.060+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "2",
"pcImportRecordGrandchildren": [
{
"id": 225,
"taskNumber": "20211119111142",
"fileName": "4301210000002021090033.fptx",
"barcode": "A4301210000002021090033",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-19T03:11:42.060+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "21"
},
{
"id": 232,
"taskNumber": "20211119143047",
"fileName": "4301001745002021100286.fptx",
"barcode": "R4301001745002021100286",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-19T06:30:47.953+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "22"
}
]
},
{
"id": 224,
"taskNumber": "20211119104134",
"fileName": "A4301210000002021090041.fptx",
"barcode": "A4301210000002021090041",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-19T02:41:34.161+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "3",
"pcImportRecordGrandchildren": [
{
"id": 224,
"taskNumber": "20211119104134",
"fileName": "A4301210000002021090041.fptx",
"barcode": "A4301210000002021090041",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-19T02:41:34.161+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "31"
}
]
},
{
"id": 210,
"taskNumber": "20211118165828",
"fileName": "4303001744012021100039.fptx",
"barcode": "R4303001744012021100039",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-18T08:58:28.324+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "4",
"pcImportRecordGrandchildren": [
{
"id": 210,
"taskNumber": "20211118165828",
"fileName": "4303001744012021100039.fptx",
"barcode": "R4303001744012021100039",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-18T08:58:28.324+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "41"
}
]
},
{
"id": 209,
"taskNumber": "20211118165121",
"fileName": "4305280000002021105012.fptx",
"barcode": "R4305280000002021105012",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-18T08:51:21.605+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "5",
"pcImportRecordGrandchildren": [
{
"id": 209,
"taskNumber": "20211118165121",
"fileName": "4305280000002021105012.fptx",
"barcode": "R4305280000002021105012",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-18T08:51:21.605+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "51"
}
]
},
{
"id": 208,
"taskNumber": "20211118154210",
"fileName": "430795G000002021100002.fptx",
"barcode": "R430795G000002021100002",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-18T07:42:10.163+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "6",
"pcImportRecordGrandchildren": [
{
"id": 208,
"taskNumber": "20211118154210",
"fileName": "430795G000002021100002.fptx",
"barcode": "R430795G000002021100002",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-18T07:42:10.163+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "61"
},
{
"id": 207,
"taskNumber": "20211118154210",
"fileName": "430795G000002021100002.fptx",
"barcode": "R430795G000002021100002",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-18T07:42:10.163+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "62"
}
]
},
{
"id": 204,
"taskNumber": "20211117212205",
"fileName": "431129s033002021100006.fptx",
"barcode": "R431129s033002021100006",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-17T13:22:05.068+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "7",
"pcImportRecordGrandchildren": [
{
"id": 204,
"taskNumber": "20211117212205",
"fileName": "431129s033002021100006.fptx",
"barcode": "R431129s033002021100006",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-17T13:22:05.068+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "71"
}
]
},
{
"id": 200,
"taskNumber": "20211117211847",
"fileName": "431129s033002021100006.fptx",
"barcode": "R431129s033002021100006",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-17T13:18:47.866+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "8",
"pcImportRecordGrandchildren": [
{
"id": 200,
"taskNumber": "20211117211847",
"fileName": "431129s033002021100006.fptx",
"barcode": "R431129s033002021100006",
"dataType": 1,
"logicDatabase": "1",
"importTime": "2021-11-17T13:18:47.866+0000",
"status": 1,
"failReason": "",
"dataTypeName": "人员",
"statusName": "导入成功",
"sequenceNumber": "81"
}
]
},
{
"id": 199,
"taskNumber": "20211117193422",
"fileName": "4301110000002021090196.fptx",
"barcode": "A4301110000002021090196",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-17T11:34:22.658+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "9",
"pcImportRecordGrandchildren": [
{
"id": 199,
"taskNumber": "20211117193422",
"fileName": "4301110000002021090196.fptx",
"barcode": "A4301110000002021090196",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-17T11:34:22.658+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "91"
}
]
},
{
"id": 197,
"taskNumber": "20211117171947",
"fileName": "4301210000002021090030.fptx",
"barcode": "A4301210000002021090030",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-17T09:19:47.714+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "10",
"pcImportRecordGrandchildren": [
{
"id": 197,
"taskNumber": "20211117171947",
"fileName": "4301210000002021090030.fptx",
"barcode": "A4301210000002021090030",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-17T09:19:47.714+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "101"
},
{
"id": 198,
"taskNumber": "20211117171947",
"fileName": "4301210000002021090035.fptx",
"barcode": "A4301210000002021090035",
"dataType": 2,
"logicDatabase": "1",
"importTime": "2021-11-17T09:19:47.714+0000",
"status": 1,
"failReason": "",
"dataTypeName": "案件",
"statusName": "导入成功",
"sequenceNumber": "102"
}
]
}
],
isSelected: false, // 是否批量操作
type: "ry", // 人员还是案件 type: "ry", // 人员还是案件
rowData: {}, // 单行数据 rowData: {}, // 单行数据
ysxtAsjxgrybh: null, ysxtAsjxgrybh: null,
...@@ -871,7 +535,6 @@ export default { ...@@ -871,7 +535,6 @@ export default {
*/ */
batch () { batch () {
this.selectBoo = !this.selectBoo; this.selectBoo = !this.selectBoo;
// this.isSelected = !this.isSelected;
this.isShowTip = !this.isShowTip; this.isShowTip = !this.isShowTip;
this.toggleSelection(); this.toggleSelection();
}, },
......
...@@ -704,7 +704,6 @@ export default { ...@@ -704,7 +704,6 @@ export default {
isShowDcftpx: false, // 导出FPTX isShowDcftpx: false, // 导出FPTX
isShowDcfptx1: false,// 导出FPTX isShowDcfptx1: false,// 导出FPTX
isSelected: false, // 是否批量操作
isShowTjddl: false, // 添加到队列 isShowTjddl: false, // 添加到队列
isShowFztm: false, //复制条码 isShowFztm: false, //复制条码
isShowFcx: false, //发查询 isShowFcx: false, //发查询
...@@ -912,7 +911,7 @@ export default { ...@@ -912,7 +911,7 @@ export default {
//console.log("添加到队列"); //console.log("添加到队列");
if (this.multipleSelection.length === 0) { if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要添加到队列的数据!"); this.$message.error("请选择需要添加到队列的数据!");
this.isSelected = true; this.selectBoo = true;
} else { } else {
if (this.showType == 1) { if (this.showType == 1) {
this.type = "ry" this.type = "ry"
...@@ -1020,7 +1019,7 @@ export default { ...@@ -1020,7 +1019,7 @@ export default {
isShowFcxBtn () { isShowFcxBtn () {
if (this.multipleSelection.length === 0) { if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要发查询的数据!"); this.$message.error("请选择需要发查询的数据!");
this.isSelected = true; this.selectBoo = true;
} else { } else {
if (this.showType == 1) { if (this.showType == 1) {
this.type = "ry" this.type = "ry"
...@@ -1077,7 +1076,6 @@ export default { ...@@ -1077,7 +1076,6 @@ export default {
*/ */
batch () { batch () {
this.selectBoo = !this.selectBoo; this.selectBoo = !this.selectBoo;
// this.isSelected = !this.isSelected;
this.isShowTip = !this.isShowTip; this.isShowTip = !this.isShowTip;
this.toggleSelection(); this.toggleSelection();
}, },
......
...@@ -435,16 +435,7 @@ ...@@ -435,16 +435,7 @@
<script> <script>
import Cascader from "@/components/Cascader.vue"; import Cascader from "@/components/Cascader.vue";
import SelectCode from "@/components/SelectCode.vue"; import SelectCode from "@/components/SelectCode.vue";
const targetOptions = [ const targetOptions = ['基本人员库', '高危人员库', '非法人员库', '在逃人员库', '布控人员库', '前科人员库', '协查人员库'];
"本地案件库",
"比中案件库",
"已破案件库",
"重大案件库",
"B类案件库",
"C类案件库",
"勘查案件库",
"协查案件库",
];
export default { export default {
name: "xzry", name: "xzry",
components: { components: {
...@@ -487,9 +478,6 @@ export default { ...@@ -487,9 +478,6 @@ export default {
xzzDzmc: "", // 现住址 xzzDzmc: "", // 现住址
bz: "", // 备注 bz: "", // 备注
// logicDatabaseCode: [],// 逻辑库代码
// logicDatabaseName: [],//逻辑库名称
nydwGajgmc: "", // 捺印单位 nydwGajgmc: "", // 捺印单位
nyryXm: "", // 捺印人姓名 nyryXm: "", // 捺印人姓名
nysj: "", // 捺印时间 nysj: "", // 捺印时间
...@@ -500,6 +488,7 @@ export default { ...@@ -500,6 +488,7 @@ export default {
zwbdxtlxms: "1", // 指纹比对描述 zwbdxtlxms: "1", // 指纹比对描述
nydwGajgjgdm: "1", // 捺印单位代码 nydwGajgjgdm: "1", // 捺印单位代码
}, },
logicList: [],// 逻辑库代码
rules: { rules: {
ysxtAsjxgrybh: [ ysxtAsjxgrybh: [
{ required: true, message: "请输入人员条码号", trigger: "blur" }, { required: true, message: "请输入人员条码号", trigger: "blur" },
...@@ -594,42 +583,42 @@ export default { ...@@ -594,42 +583,42 @@ export default {
if (this.checkedTargets.length == 0) { if (this.checkedTargets.length == 0) {
this.$message.error('请选择逻辑库') this.$message.error('请选择逻辑库')
} else { } else {
// for (var i = 0; i <= this.checkedTargets.length; i++) { for (var i = 0; i <= this.checkedTargets.length; i++) {
// if (this.checkedTargets[i] == '基本人员库') { if (this.checkedTargets[i] == '基本人员库') {
// this.logicDatabaseCode.push('1') this.logicList.push(1)
// } else if (this.checkedTargets[i] == '高危人员库') { } else if (this.checkedTargets[i] == '高危人员库') {
// this.logicDatabaseCode.push('2') this.logicList.push(2)
// } else if (this.checkedTargets[i] == '非法人员库') { } else if (this.checkedTargets[i] == '非法人员库') {
// this.logicDatabaseCode.push('3') this.logicList.push(3)
// } else if (this.checkedTargets[i] == '在逃人员库') { } else if (this.checkedTargets[i] == '在逃人员库') {
// this.logicDatabaseCode.push('4') this.logicList.push(4)
// } else if (this.checkedTargets[i] == '布控人员库') { } else if (this.checkedTargets[i] == '布控人员库') {
// this.logicDatabaseCode.push('5') this.logicList.push(5)
// } else if (this.checkedTargets[i] == '前科人员库') { } else if (this.checkedTargets[i] == '前科人员库') {
// this.logicDatabaseCode.push('6') this.logicList.push(6)
// } else if (this.checkedTargets[i] == '协查人员库') { } else if (this.checkedTargets[i] == '协查人员库') {
// this.logicDatabaseCode.push('7') this.logicList.push(7)
// } }
// } }
// console.log(this.logicDatabaseCode) // console.log(this.logicDatabaseCode)
let reqParam = { let reqParam = {
personDo: "", personDo: "",
logicList: []
}; };
reqParam.personDo = this.ruleForm; reqParam.personDo = this.ruleForm;
reqParam.personDo.ysxtAsjxgrybh = 'R' + this.ruleForm.ysxtAsjxgrybh reqParam.personDo.ysxtAsjxgrybh = 'R' + this.ruleForm.ysxtAsjxgrybh
// reqParam.personDo.logicDatabaseCode = this.logicDatabaseCode reqParam.logicList = this.logicList
// reqParam.personDo.logicDatabaseName = this.checkedTargets this.$axios
// this.$axios .post("/api/personstore/personadd", reqParam)
// .post("/api/personstore/personadd", reqParam) .then((response) => {
// .then((response) => { if (response.data.code === 0) {
// if (response.data.code === 0) { this.$message.success("新增成功");
// this.$message.success("新增成功"); this.dialogVisible = false;
// this.dialogVisible = false;
// } else { } else {
// this.$message.error("新增失败"); this.$message.error("新增失败");
// } }
// }); });
} }
} else { } else {
return false; return false;
......
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