This commit is contained in:
jiask 2025-12-18 15:06:21 +08:00
parent 09179be35f
commit 9af09590a8
4 changed files with 34 additions and 14 deletions

View File

@ -1085,7 +1085,7 @@
})
},
openLog(row){
this.$router.push({ path: "/certificate/certificateManage/certificateLogList",query: {certificateInfoRowData:JSON.stringify(row)} });
this.$router.push({ path: "/certificate/certificateManage/certificateLogList",query:{certificateNo:row.certificateNo}});
}
}
};

View File

@ -122,7 +122,7 @@ export default {
dicts: [],
data() {
return {
certificateInfoRowData:{},
certificateNo:"",
//
loading: false,
//
@ -184,21 +184,19 @@ export default {
},
};
},
created() {
if(this.$route.query.certificateInfoRowData){
this.certificateInfoRowData = JSON.parse(this.$route.query.certificateInfoRowData)
console.log(this.certificateInfoRowData)
this.getList()
}
console.log(new Date(33000000))
mounted() {
console.log(this.$route.query.certificateNo)
this.certificateNo = this.$route.query.certificateNo
this.getList()
console.log(new Date(33000000))
},
watch:{
'$route.query.certificateInfoRowData':function(newId, oldId) {
'$route.query.certificateNo':function(newId, oldId) {
if(newId){
this.certificateInfoRowData = JSON.parse(newId)
this.certificateNo = newId
this.getList()
}else{
this.certificateInfoRowData={}
this.certificateNo=""
this.tableListData=[]
this.tableListData2=[]
}
@ -248,8 +246,10 @@ export default {
},
/** 查询列表 */
getList() {
console.log(this.certificateNo)
// this.loading = true;
let param = {
"certificateNo":this.certificateNo,
"pageNum": this.queryParams.pageNum,
"pageSize": this.queryParams.pageSize,
}
@ -287,6 +287,7 @@ export default {
getList2() {
this.loading = true;
let param = {
"certificateNo":this.certificateNo,
"pageNum": this.queryParams2.pageNum,
"pageSize": this.queryParams2.pageSize,
}

View File

@ -91,7 +91,7 @@
<el-table-column label="签发日期" align="center" prop="issueDay" :show-overflow-tooltip="true"/>
<el-table-column label="有效期至" align="center" prop="issueLifespan" :show-overflow-tooltip="true"/>
<el-table-column label="设备编号" align="center" prop="deviceNo" :show-overflow-tooltip="true"/>
<el-table-column label="槽位编号" align="center" prop="soltNo" :show-overflow-tooltip="true"/>
<el-table-column label="槽位编号" align="center" prop="slotNo" :show-overflow-tooltip="true"/>
<el-table-column label="当前状态" align="center" prop="stateName" :show-overflow-tooltip="true"/>
<el-table-column label="是否电子标签" align="center" prop="isEleName" :show-overflow-tooltip="true"/>
</el-table>
@ -418,6 +418,14 @@
}
},
submitFormset: function() {
if(!this.baseForm.exitTime){
this.$modal.msgError("请填写出入境时间");
return;
}
if(!this.baseForm.entryTime){
this.$modal.msgError("请填写出入境时间");
return;
}
const params={"certificateNos":this.selectCertificateNos,"type":this.selectType,"exitTime":this.baseForm.exitTime,"entryTime":this.baseForm.entryTime};
console.log("params",params);
getCertificateTakeAddPageApi(params).then(response => {
@ -440,6 +448,18 @@
this.reset();
},
submitForm: function() {
if(!this.selectIdNumber){
this.$modal.msgError("请填写代领人信息");
return;
}
if(!this.baseForm.exitTime){
this.$modal.msgError("请填写出入境时间");
return;
}
if(!this.baseForm.entryTime){
this.$modal.msgError("请填写出入境时间");
return;
}
const param={"certificateNos":this.selectCertificateNos,"type":this.selectType,"idNumber":this.selectIdNumber,"name":this.selectName,"exitTime":this.baseForm.exitTime,"entryTime":this.baseForm.entryTime};
console.log("param",param);
getCertificateTakeAddPageApi(param).then(response => {

View File

@ -91,7 +91,6 @@
<!-- <el-table-column label="是否电子标签" align="center" prop="isEleName" :show-overflow-tooltip="true"/> -->
<el-table-column label="设备名称" align="center" prop="deviceName" :show-overflow-tooltip="true"/>
<el-table-column label="设备地址" align="center" prop="deviceAddr" :show-overflow-tooltip="true" width="150"/>
<el-table-column label="设备编号" align="center" prop="deviceNo" :show-overflow-tooltip="true"/>
<el-table-column label="槽位编号" align="center" prop="slotNo" :show-overflow-tooltip="true"/>
<!-- <el-table-column label="验证码" align="center" prop="verificationCode" :show-overflow-tooltip="true"></el-table-column> -->
<el-table-column label="二维码" align="center" prop="verificationCode" :show-overflow-tooltip="true">