From 116ad1ddcf297ff531723786275aa4dad82cf50e Mon Sep 17 00:00:00 2001 From: QI_YUJIE <2878090898@qq.com> Date: Mon, 24 Jun 2024 17:48:32 +0800 Subject: [PATCH] =?UTF-8?q?task=20=E5=9C=9F=E5=9C=B0=E7=A1=AE=E6=9D=83=20?= =?UTF-8?q?=E5=8F=91=E5=8C=85=E6=96=B9=E5=8A=9F=E8=83=BD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../contracted/village/employer/employer.vue | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/views/contracted/village/employer/employer.vue b/src/views/contracted/village/employer/employer.vue index 669bff61..8b15dc66 100644 --- a/src/views/contracted/village/employer/employer.vue +++ b/src/views/contracted/village/employer/employer.vue @@ -50,6 +50,20 @@ + + + + + @@ -115,6 +129,10 @@ resultImg: "", // 最终画布生成的base64图片 isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分 }, + // 调查日期弹出层 + showDcrq: false, + minDate: new Date(1978, 0, 1), + maxDate: new Date(2100, 11, 31), }; }, created() { @@ -123,6 +141,8 @@ this.getDicts("cert_type").then(response => { this.credentialTypeOptions = response.data; }); + }, + mounted() { this.getDetail(); }, methods: { @@ -150,6 +170,10 @@ this.credentialTypeText = value.dictLabel; this.showCredentialType = false; }, + onConfirmDcrq(data) { + this.form.fbfdcrq = this.format(data, 'yyyy-MM-dd'); + this.showDcrq = false; + }, submitForm() { this.$refs.formData.validate().then(() => { if (this.form.id) { @@ -192,6 +216,8 @@ lxdh: null, fbfdz: null, yzbm: null, + fbfdcy: null, + fbfdcrq: null, fbfdcjs: null, fbfdcqz: null };