Commit 8add86eb by 米嘉伟

导出掌纹 报表清空

parent bda8f7b4
......@@ -298,6 +298,33 @@ export default {
targtOptions.push(arr[i].hpseqno)
}
//console.info("指位返回列表===>", arr);
this.getPalmHpseqno()
} else {
this.$message.error(response.data.message);
this.getPalmHpseqno()
}
});
},
// 案件发查询掌位信息
getPalmHpseqno () {
let reqParam = {
ysxtAsjbhs: '', // 条码号
};
let barcodeArr = []
for (let i = 0; i < this.rowData.length; i++) {
barcodeArr.push(this.rowData[i].ysxtAsjbh || this.rowData[i].barcode)
}
reqParam.ysxtAsjbhs = barcodeArr
this.$axios
.post("/api/casestore/getPalmHpseqno", reqParam)
.then(response => {
if (response.data.code === 0) {
// this.palmNum = response.data.ret.length// 单条掌纹个数
let arr = response.data.ret
for (let i = 0; i < arr.length; i++) {
targtOptions.push(arr[i].hpseqno)
}
console.log("掌位位返回列表===>", arr);
} else {
this.$message.error(response.data.message);
}
......
......@@ -98,7 +98,7 @@
<div class='cz'>
<el-button
v-if="tpl==1"
v-show="queryParams.sj!=null||queryParams.unitcode!=''||queryParams.code!=[]"
v-show="queryParams.sj!=null||queryParams.unitcode!=''||queryParams.code!=''"
type="text"
class='qk'
@click="onChange(1,1)"
......@@ -343,7 +343,7 @@ export default {
queryParams: {
sj: null,
unitcode: "",
code: [],
code: '',
},
checked: false,
codeOptions: [
......@@ -604,7 +604,7 @@ export default {
this.queryParams = {
sj: null,
unitcode: "",
code: [],
code: '',
}
document.getElementsByTagName('body')[0].style.setProperty('--height', '37.5rem');
} else if (val == 2) {
......@@ -632,11 +632,12 @@ export default {
document.getElementsByTagName('body')[0].style.setProperty('--height', '33.125rem');
}
console.log(val);
this.$forceUpdate()
if (type = 0) {
this.rz()
}
this.handleQuery()
console.log(this.queryParams, 'queryParamsqueryParamsqueryParams')
},
handleQuery (page = 1) {
this.currPage = page
......
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