From a2a4c120b74d6d85987641eb417763ff0e426fb6 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 17 Apr 2024 10:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=AE=8C=E6=95=B4=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=AE=8C=E6=95=B4=E5=BA=A6=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/base/nonIntResi/nonIntResi.vue | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/views/modules/base/nonIntResi/nonIntResi.vue b/src/views/modules/base/nonIntResi/nonIntResi.vue index afa7f8e3c..7e5293f3d 100644 --- a/src/views/modules/base/nonIntResi/nonIntResi.vue +++ b/src/views/modules/base/nonIntResi/nonIntResi.vue @@ -80,6 +80,14 @@ > + + + + + + + @@ -437,6 +445,21 @@ export default { } } }, + informationChange(val,type) { + if(isNaN(val)){ + this.$message.warning('请输入数字'); + if(type === 'from'){ + this.formData.integrityScoreFrom = null; + }else{ + this.formData.integrityScoreTo = null; + } + } + if (this.formData.integrityScoreFrom&&this.formData.integrityScoreTo) { + if (this.formData.integrityScoreFrom > this.formData.integrityScoreTo) { + this.$message.warning('结束分数不能小于开始分数') + } + } + }, // 搜索事件 handleSearch(val) { console.log(this.formData);