From a2925da21be512187b97bf8df1933db8c33e9e86 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 9 May 2022 16:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E6=A0=BCbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/sass/apps/AppSpecialAdjustment/components/Add.vue | 6 +----- project/sass/apps/AppSpecialDisabled/components/Add.vue | 8 ++------ project/sass/apps/AppSpecialDrug/components/Add.vue | 6 +----- project/sass/apps/AppSpecialMental/components/Add.vue | 6 +----- 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/project/sass/apps/AppSpecialAdjustment/components/Add.vue b/project/sass/apps/AppSpecialAdjustment/components/Add.vue index d7d0c2df..6eae6d02 100644 --- a/project/sass/apps/AppSpecialAdjustment/components/Add.vue +++ b/project/sass/apps/AppSpecialAdjustment/components/Add.vue @@ -134,7 +134,7 @@ export default { } } } - + let IdNumberPass = (rule, value, callback) => { if (value) { if (this.idCardNoUtil.checkIdCardNo(value)) { @@ -327,10 +327,6 @@ export default { format (list) { return list.map(item => { - if (item.girdLevel !== '2') { - item.disabled = true - } - if (item.girdList && item.girdList.length) { item.girdList = this.format(item.girdList) } diff --git a/project/sass/apps/AppSpecialDisabled/components/Add.vue b/project/sass/apps/AppSpecialDisabled/components/Add.vue index 32d8322c..2232baca 100644 --- a/project/sass/apps/AppSpecialDisabled/components/Add.vue +++ b/project/sass/apps/AppSpecialDisabled/components/Add.vue @@ -134,7 +134,7 @@ export default { } } } - + let IdNumberPass = (rule, value, callback) => { if (value) { if (this.idCardNoUtil.checkIdCardNo(value)) { @@ -146,7 +146,7 @@ export default { callback(new Error('请输入身份证号')) } } - + let regIcome = (rule, value, callback) => { if (value) { const reg = /^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/ @@ -337,10 +337,6 @@ export default { format (list) { return list.map(item => { - if (item.girdLevel !== '2') { - item.disabled = true - } - if (item.girdList && item.girdList.length) { item.girdList = this.format(item.girdList) } diff --git a/project/sass/apps/AppSpecialDrug/components/Add.vue b/project/sass/apps/AppSpecialDrug/components/Add.vue index 9057ae61..00ba6ebf 100644 --- a/project/sass/apps/AppSpecialDrug/components/Add.vue +++ b/project/sass/apps/AppSpecialDrug/components/Add.vue @@ -134,7 +134,7 @@ export default { } } } - + let IdNumberPass = (rule, value, callback) => { if (value) { if (this.idCardNoUtil.checkIdCardNo(value)) { @@ -336,10 +336,6 @@ export default { format (list) { return list.map(item => { - if (item.girdLevel !== '2') { - item.disabled = true - } - if (item.girdList && item.girdList.length) { item.girdList = this.format(item.girdList) } diff --git a/project/sass/apps/AppSpecialMental/components/Add.vue b/project/sass/apps/AppSpecialMental/components/Add.vue index 5599e20c..5e963aa6 100644 --- a/project/sass/apps/AppSpecialMental/components/Add.vue +++ b/project/sass/apps/AppSpecialMental/components/Add.vue @@ -134,7 +134,7 @@ export default { } } } - + let IdNumberPass = (rule, value, callback) => { if (value) { if (this.idCardNoUtil.checkIdCardNo(value)) { @@ -328,10 +328,6 @@ export default { format (list) { return list.map(item => { - if (item.girdLevel !== '2') { - item.disabled = true - } - if (item.girdList && item.girdList.length) { item.girdList = this.format(item.girdList) }