From ccdc53840dd0ba5b5e0b4525f67cd2e7bd15744f Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 27 Oct 2025 17:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=96=B0=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../certificateInfo/index.vue | 443 ++++++++++-------- .../certificateOverdue/index.vue | 11 +- .../certificateAtake/index.vue | 96 +++- .../certificateSave/index.vue | 142 +++--- .../certificateTask/index.vue | 7 +- src/views/certificate/device/index.vue | 50 +- src/views/certificate/filingUser/index.vue | 392 ++++++++++++++++ .../certificate/remoteVerification/index.vue | 368 +++++++++++++++ 8 files changed, 1221 insertions(+), 288 deletions(-) create mode 100644 src/views/certificate/filingUser/index.vue create mode 100644 src/views/certificate/remoteVerification/index.vue diff --git a/src/views/certificate/certificateManage/certificateInfo/index.vue b/src/views/certificate/certificateManage/certificateInfo/index.vue index 93c9962..d0392f8 100644 --- a/src/views/certificate/certificateManage/certificateInfo/index.vue +++ b/src/views/certificate/certificateManage/certificateInfo/index.vue @@ -88,13 +88,28 @@ >模板下载 + + 一人多证核验 + - - - - + + + + + + + @@ -140,179 +155,187 @@ /> - - - - - - - - - 系统人员 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + 选择人员 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -361,10 +384,9 @@ userNameFlage:false, certificateNos:[], isReadOnly:false, - openSelectUser:false, - selectUserTitle:"", + openSelectUser:false, selectItme:{}, - allUser:[], + allUserList:[], // 部门树选项 deptOptions: [], // 查询参数 @@ -396,7 +418,7 @@ isEle:"" }, baseForm2: { - name:"", + userId:"", phone:"" }, // 表单校验 @@ -441,7 +463,23 @@ headers: { Authorization: 'Bearer ' + getToken() }, // 上传的地址 url: process.env.VUE_APP_BASE_API + '/certificate/certificate_manage/certificateInfo/import', - }, + }, + //远程校验弹窗 + openTask: false, + // 表单参数 + taskForm: { + verificationDate:"" + }, + // 表单校验 + taskRules: { + verificationDate: [ + { + required: true, + message: '核验截止日期不能为空', + trigger: 'blur', + }, + ] + }, }; }, mounted(){ @@ -644,34 +682,29 @@ this.reset(); }, handleSelect(){ - this.openSelectUser = true; - this.selectUserTitle = "选择系统人员"; + this.openSelectUser = true; getSysUserListApi({}).then(response => { console.log("response",response); - this.allUser=response; + this.allUserList=response; + this.$set(this.baseForm2,"userId",this.baseForm.userId) + this.$set(this.baseForm2,"phone",this.baseForm.phone) }); }, - handleSelectChange() { - console.log('Selected item:', this.selectItme); - this.baseForm2.phone=this.selectItme.phone; - this.baseForm2.name=this.selectItme.userName; - // 这里可以执行其他逻辑 - }, getCorpAndDept(val){ console.log("getCorpAndDept",val) this.selectItme=val; - this.baseForm2.phone=this.selectItme.phone; - this.baseForm2.name=this.selectItme.userName; - this.baseForm.userId=this.selectItme.userId; + this.$set(this.baseForm2,"phone",this.selectItme.phone) + this.$set(this.baseForm2,"userId",this.selectItme.userId) }, /** 提交按钮 */ submitForm2: function() { console.log("this.baseForm2",this.baseForm2); this.$refs["baseForm2"].validate(valid => { if (valid) { - this.baseForm.phone=this.selectItme.phone; - this.baseForm.name=this.selectItme.userName; - this.baseForm.deptId=this.selectItme.deptId; + this.$set(this.baseForm,"phone",this.selectItme.phone) + this.$set(this.baseForm,"name",this.selectItme.userName) + this.$set(this.baseForm,"userId",this.selectItme.userId) + this.$set(this.baseForm,"deptId",this.selectItme.deptId) this.openSelectUser = false; this.isCreateFlage=false; } @@ -739,7 +772,41 @@ }, // 多选框选中数据 handleSelectionChange(selection) { - this.certificateNos = selection.map(item => item.certificateNo) + this.certificateNos = selection.map(item => item.certificateNo) + // 更新单选和多选状态 + this.single = selection.length !== 1 + this.multiple = !selection.length + }, + /** 远程校验按钮操作 */ + handleTask() { + this.resetTask() + this.openTask = true + }, + // 取消按钮 + cancelTask() { + this.openTask = false + this.resetTask() + }, + // 表单重置 + resetTask() { + this.taskForm = { + verificationDate:"" + } + this.resetForm('taskForm') + }, + /** 提交按钮 */ + submitTask: function () { + this.$refs['taskForm'].validate((valid) => { + let param = Object.assign({},this.taskForm) + console.log(param) + if (valid) { + // updateUser(param).then((response) => { + // this.$modal.msgSuccess('修改成功') + // this.openTask = false + // this.getList() + // }) + } + }) }, } }; diff --git a/src/views/certificate/certificateManage/certificateOverdue/index.vue b/src/views/certificate/certificateManage/certificateOverdue/index.vue index 6ab1db7..4ab425f 100644 --- a/src/views/certificate/certificateManage/certificateOverdue/index.vue +++ b/src/views/certificate/certificateManage/certificateOverdue/index.vue @@ -47,16 +47,17 @@ - - - - @@ -236,6 +272,21 @@ // 上传的地址 url: process.env.VUE_APP_BASE_API + '/file/upload', }, + openTask: false, + // 表单参数 + taskForm: { + verificationDate:"" + }, + // 表单校验 + taskRules: { + verificationDate: [ + { + required: true, + message: '核验截止日期不能为空', + trigger: 'blur', + }, + ] + }, }; }, mounted(){ @@ -369,6 +420,41 @@ this.single = selection.length!=1 this.multiple = !selection.length }, + /** 远程校验按钮操作 */ + handleTask() { + this.resetTask() + this.openTask = true + }, + // 取消按钮 + cancelTask() { + this.openTask = false + this.resetTask() + }, + // 表单重置 + resetTask() { + this.taskForm = { + verificationDate:"" + } + this.resetForm('taskForm') + }, + /** 提交按钮 */ + submitTask: function () { + this.$refs['taskForm'].validate((valid) => { + let param = Object.assign({},this.taskForm) + console.log(param) + console.log(this.ids) + if (valid) { + // updateUser(param).then((response) => { + // this.$modal.msgSuccess('修改成功') + // this.openTask = false + // this.getList() + // }) + } + }) + }, + + + } }; diff --git a/src/views/certificate/certificateReturnManage/certificateSave/index.vue b/src/views/certificate/certificateReturnManage/certificateSave/index.vue index f0d8010..a64a8d2 100644 --- a/src/views/certificate/certificateReturnManage/certificateSave/index.vue +++ b/src/views/certificate/certificateReturnManage/certificateSave/index.vue @@ -56,8 +56,13 @@ - - + + + + + @@ -77,44 +82,41 @@ /> - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +