Commit 74823855 by 李姝悦

修改活体采集和新增人员

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