diff --git a/src/api/certificateManage/index.js b/src/api/certificateManage/index.js index b8518c0..87c59bc 100644 --- a/src/api/certificateManage/index.js +++ b/src/api/certificateManage/index.js @@ -174,3 +174,37 @@ export function getDevicelistApi(data) { params:data }) } + +// 备份人员管理-分页查询信息 +export function getCertificateUserListPageApi(data) { + return request({ + url: '/certificate/certificate_system/list', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) +} + +export function getAccessListPageApi(data) { + return request({ + url: '/certificate/certificate_manage/certificateInfo/getAccessListByCertificateNo', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) +} + +export function getCheckListPageApi(data) { + return request({ + url: '/certificate/certificate_manage/certificateInfo/getCheckListByCertificateNo', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) +} diff --git a/src/assets/images/logind.jpg b/src/assets/images/logind.jpg new file mode 100644 index 0000000..b6bae76 Binary files /dev/null and b/src/assets/images/logind.jpg differ diff --git a/src/views/certificate/certificateManage/certificateInfo/logList.vue b/src/views/certificate/certificateManage/certificateInfo/logList.vue index 07305f0..1c784c5 100644 --- a/src/views/certificate/certificateManage/certificateInfo/logList.vue +++ b/src/views/certificate/certificateManage/certificateInfo/logList.vue @@ -21,11 +21,11 @@ 搜索 重置 - - + + - - + + @@ -218,6 +252,9 @@ title: "", // 是否显示弹出层 open: false, + title2: "", + // 是否显示弹出层 + open2: false, checked: false, selectName:"", selectIdNumber:"", @@ -252,11 +289,13 @@ }, // 表单校验 baseFormRules: { - name: [ { required: true, message: "姓名不能为空", trigger: "blur" } ], - + }, + baseFormRules2: { + exitTime: [{ required: true, message: "出境时间不能为空", trigger: "blur" }], + entryTime: [{ required: true, message: "入境时间不能为空", trigger: "blur" }], }, logTableData:[],//异常弹窗 // 总条数 @@ -276,9 +315,9 @@ // 表单参数 taskForm: { verificationDate:"" - }, + }, // 表单校验 - taskRules: { + taskRules: { verificationDate: [ { required: true, @@ -365,14 +404,20 @@ return; } var titlemsg="是否确定自助取证?" + var + titled="自助取证" if(type==3){ titlemsg="是否确定自助取证?" + titled="自助取证" }else if(type==4){ titlemsg="是否确定管理员取证?" + titled="管理员取证" }else if(type==5){ titlemsg="是否确定应急取证?" + titled="应急取证" }else if(type==6){ titlemsg="是否确定代人取证?" + titled="代人取证" } if(type==6){ this.open = true; @@ -384,17 +429,31 @@ this.allreplace=response; }); }else{ - this.$modal.confirm(titlemsg).then(() => { - getCertificateTakeAddPageApi({"certificateNos":CertificateNos,"type":type,"idNumber":"","name":""}).then(response => { - this.getList(); - this.$modal.msgSuccess("操作成功"); - }); - }).catch(() => {}); + this.selectCertificateNos=CertificateNos; + this.selectType=type; + this.open2 = true; + this.title2 = titled; } }, + submitForm2: function() { + const param={"certificateNos":this.selectCertificateNos,"type":this.selectType,"exitTime":this.baseForm.exitTime,"entryTime":this.baseForm.entryTime}; + console.log("param",param); + getCertificateTakeAddPageApi(param).then(response => { + this.getList(); + this.open2 = false; + this.reset(); + this.$modal.msgSuccess("操作成功"); + }); + }, + // 取消按钮 + cancel2() { + this.open2 = false; + this.reset(); + }, submitForm: function() { - console.log("this.baseForm",this.baseForm); - getCertificateTakeAddPageApi({"certificateNos":this.selectCertificateNos,"type":this.selectType,"idNumber":this.selectIdNumber,"name":this.selectName}).then(response => { + const param={"certificateNos":this.selectCertificateNos,"type":this.selectType,"idNumber":this.selectIdNumber,"name":this.selectName}; + console.log("param",param); + getCertificateTakeAddPageApi(param).then(response => { this.getList(); this.open = false; this.reset(); @@ -422,8 +481,8 @@ }, /** 远程校验按钮操作 */ handleTask() { - this.resetTask() - this.openTask = true + this.resetTask() + this.openTask = true }, // 取消按钮 cancelTask() { @@ -434,21 +493,21 @@ resetTask() { this.taskForm = { verificationDate:"" - } - this.resetForm('taskForm') + } + this.resetForm('taskForm') }, /** 提交按钮 */ submitTask: function () { - this.$refs['taskForm'].validate((valid) => { + this.$refs['taskForm'].validate((valid) => { let param = Object.assign({},this.taskForm) console.log(param) console.log(this.ids) - if (valid) { + if (valid) { // updateUser(param).then((response) => { // this.$modal.msgSuccess('修改成功') // this.openTask = false // this.getList() - // }) + // }) } }) }, diff --git a/src/views/certificate/device/index.vue b/src/views/certificate/device/index.vue index 0254f98..705cbf7 100644 --- a/src/views/certificate/device/index.vue +++ b/src/views/certificate/device/index.vue @@ -15,7 +15,7 @@ - + {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}} - + @@ -71,11 +71,11 @@ -