Commit 74823855 by 李姝悦

修改活体采集和新增人员

parent 9af1f517
......@@ -348,18 +348,18 @@ export default {
},
clear() {
//清空按钮
(this.liveCollectionTo.name = ""),
(this.liveCollectionTo.barcode = ""),
(this.liveCollectionTo.idCard = ""),
(this.liveCollectionTo.collectionName = ""),
// this.liveCollectionTo.collectionDw = '',
(this.ruleForm.sex = ""),
(this.ruleForm.collectionDw = ""),
// this.liveCollectionTo.sex= '',
(this.liveCollectionTo.printingTimeStart = "");
this.liveCollectionTo.printingTimeEnd = "";
this.startEndDate = "";
// this.search()
this.liveCollectionTo.name = ""
this.liveCollectionTo.barcode = ""
this.liveCollectionTo.idCard = ""
this.liveCollectionTo.collectionName = ""
// this.liveCollectionTo.collectionDw = ''
this.ruleForm.sex = ""
this.ruleForm.collectionDw = ""
// this.liveCollectionTo.sex= ''
this.liveCollectionTo.printingTimeStart = ""
this.liveCollectionTo.printingTimeEnd = ""
this.startEndDate = null
this.search()
},
batch() {
//批量操作弹出
......@@ -387,7 +387,7 @@ export default {
this.liveCollectionTo.sex = this.ruleForm.sex;
this.liveCollectionTo.collectionDw = this.ruleForm.collectionDw;
this.getParam();
delete this.liveCollectionTo.total;
// delete this.liveCollectionTo.total;
delete this.liveCollectionTo.completeness;
// console.log(this.liveCollectionTo);
this.$axios
......@@ -567,7 +567,7 @@ export default {
return this.$store.state.layout.Menu;
},
Tpage() {
return Math.round(
return Math.ceil(
this.liveCollectionTo.total / this.liveCollectionTo.pageSize
);
},
......
......@@ -14,13 +14,13 @@
<span>人员信息 </span>
<div class="dashed"></div>
</div>
<div class="unactive">
<!-- <div class="unactive">
<div class="cir">2</div>
<span>人像采集</span>
<div class="solid"></div>
</div>
</div> -->
<div class="unactive">
<div class="cir">3</div>
<div class="cir">2</div>
<span>指掌纹采集</span>
</div>
</div>
......@@ -52,21 +52,10 @@
<!-- 三 -->
<el-row>
<el-col :span="12">
<el-form-item
label="采集信息原因:"
prop="cjxxyydm"
>
<SelectCode
codeUrl="/api/code/cjxxyydm"
width="16.5"
:clearable="true"
:form="ruleForm"
id="cjxxyydm"
ref="cjxxyydm"
multiple
:multipleLimit="5"
></SelectCode>
</el-form-item>
<el-form-item label="采集信息原因:" prop="cjxxyydm">
<SelectCode codeUrl="/api/code/cjxxyydm" width="16.5" :clearable="true" :form="ruleForm" id="cjxxyydm"
ref="cjxxyydm" multiple :multipleLimit="5"></SelectCode>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="指掌纹卡编号:">
......@@ -418,7 +407,6 @@
},
tijiao(e) {
let tjType = this.$route.params.type
console.log(tjType);
if (tjType === 'edit') {
this.editForm(e)
} else {
......@@ -428,7 +416,7 @@
editForm(formName) {
let self = this
// debugger
console.log(self.ruleForm);
// console.log(self.ruleForm);
// console.log(formName);
this.$refs[formName].validate((valid) => {
if (valid) {
......@@ -446,12 +434,12 @@
// this.ruleForm.cjxxyydm.forEach(item => {
// item = Number(item)
// })
// console.log(reqParam.cjxxyyList);
// delete this.ruleForm.cjxxyydm
reqParam.personDo = this.ruleForm;
reqParam.cjxxyyList = this.ruleForm.cjxxyydm;
// reqParam.personDo.ysxtAsjxgrybh = this.ruleForm.ysxtAsjxgrybh
// reqParam.personDo.ysxtAsjxgrybh = 'R' + this.ruleForm.ysxtAsjxgrybh
reqParam.logicList = this.logicList
......@@ -459,12 +447,18 @@
this.$axios
.post("/api/personstore/person/file", reqParam)
.then(res => {
console.log(res.data);
// console.log(res.data);
if (res.data.code === 0) {
self.$message.success('修改成功!')
// 清除全部案件库缓存
self.$store.commit('layout/delcachePageName', 'htcj')
self.$router.push('/htcj')
this.$router.pushToTab({
path: `/fingerprintIndex/${reqParam.personDo.ysxtAsjxgrybh}/${this.ruleForm.xm}`,
query: {
type: 0
}
})
} else {
self.$message.error('修改失败!')
}
......
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