From 539b7c497d7ec0d439745a924d2b5f47673f7947 Mon Sep 17 00:00:00 2001
From: jiask <1069621233@qq.com>
Date: Thu, 6 Nov 2025 13:33:19 +0800
Subject: [PATCH] jsk
---
.../certificateRecord/index.vue | 107 ------------------
.../certificateAtake/index.vue | 45 ++++++--
.../certificateSave/index.vue | 32 +++---
.../certificateTask/index.vue | 22 ++--
src/views/certificate/device/index.vue | 4 +-
5 files changed, 67 insertions(+), 143 deletions(-)
diff --git a/src/views/certificate/certificateManage/certificateRecord/index.vue b/src/views/certificate/certificateManage/certificateRecord/index.vue
index 4488f76..cff8ad1 100644
--- a/src/views/certificate/certificateManage/certificateRecord/index.vue
+++ b/src/views/certificate/certificateManage/certificateRecord/index.vue
@@ -85,113 +85,6 @@
@pagination="getList"
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
diff --git a/src/views/certificate/certificateReturnManage/certificateAtake/index.vue b/src/views/certificate/certificateReturnManage/certificateAtake/index.vue
index e5c330a..b9987de 100644
--- a/src/views/certificate/certificateReturnManage/certificateAtake/index.vue
+++ b/src/views/certificate/certificateReturnManage/certificateAtake/index.vue
@@ -144,6 +144,22 @@
+
+
+
+
+
+
@@ -439,10 +455,15 @@
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("操作成功");
+ console.log("response",response);
+ if(response.code==200){
+ this.getList();
+ this.open2 = false;
+ this.reset();
+ this.$modal.msgSuccess("操作成功");
+ }else{
+ this.$modal.msgError(response.msg);
+ }
});
},
// 取消按钮
@@ -451,13 +472,19 @@
this.reset();
},
submitForm: function() {
- const param={"certificateNos":this.selectCertificateNos,"type":this.selectType,"idNumber":this.selectIdNumber,"name":this.selectName};
+ 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 => {
- this.getList();
- this.open = false;
- this.reset();
- this.$modal.msgSuccess("操作成功");
+ console.log("response",response);
+ if(response.code==200){
+ this.getList();
+ this.open = false;
+ this.reset();
+ this.$modal.msgSuccess("操作成功");
+ }else{
+ this.$modal.msgError(response.msg);
+ }
+
});
},
// 取消按钮
diff --git a/src/views/certificate/certificateReturnManage/certificateSave/index.vue b/src/views/certificate/certificateReturnManage/certificateSave/index.vue
index a64a8d2..0aff7e9 100644
--- a/src/views/certificate/certificateReturnManage/certificateSave/index.vue
+++ b/src/views/certificate/certificateReturnManage/certificateSave/index.vue
@@ -60,7 +60,7 @@
{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}
-
+
@@ -82,7 +82,7 @@
/>
-
+
@@ -92,13 +92,13 @@
placeholder="请选择"
filterable
clearable
- style="width: 100%"
+ style="width: 100%"
>
@@ -116,7 +116,7 @@
-
+
-
+
{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}
-
+
@@ -83,11 +83,11 @@
-
- 查看
-
-
-
+
+
+
+ 查看
+
@@ -115,15 +115,15 @@
-
+
+
-
@@ -250,7 +250,7 @@
]
},
openCode:false,
- qrCode: '',
+ qrCode: '',
qrCodeStr:""
};
},
diff --git a/src/views/certificate/device/index.vue b/src/views/certificate/device/index.vue
index d9614d0..b68df15 100644
--- a/src/views/certificate/device/index.vue
+++ b/src/views/certificate/device/index.vue
@@ -159,12 +159,12 @@
-
+
-
+