From 37e1fb3b9417f442f49746666f54f459ec840104 Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Wed, 29 Dec 2021 14:06:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=BD=93=E5=89=8D=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E4=B9=8B=E5=89=8D=E4=B8=8D=E5=8F=AF=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/localTool/standCalendar/index.vue | 25 +++++++++++++++++-- .../pages/creatProcess/bzhHy-ch/step1.vue | 9 ++++++- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/pages/localTool/standCalendar/index.vue b/src/pages/localTool/standCalendar/index.vue index 24e890362..a00639dc4 100644 --- a/src/pages/localTool/standCalendar/index.vue +++ b/src/pages/localTool/standCalendar/index.vue @@ -174,10 +174,11 @@ - + @@ -339,7 +340,13 @@ export default { // 议题选中时储存数组 deleteTable: [], loading: false, - dialogTitle: '' + dialogTitle: '', + + datePicker: { + disabledDate(date) { + return date.getTime() < Date.now() - 24 * 60 * 60 * 1000 + } + } } }, mounted() { @@ -819,6 +826,19 @@ export default { @import '~@/assets/styles/style'; .standCalendar { + .content_form { + /deep/.el-input--suffix .el-input__inner { + border: 0; + } + label-input-form { + .picker_style { + margin-bottom: 0; + min-height: 50px; + line-height: 50px; + border-bottom: 1px dashed #e5e5e5; + } + } + } .date-picker { .item { /deep/ .el-input { @@ -874,6 +894,7 @@ export default { margin-top: 50px; } + .card_info { height: 190px; margin-top: 10px; diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue index 31875535c..ce92499e4 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue @@ -82,6 +82,7 @@ @@ -453,7 +454,13 @@ export default { isSubmit: false, saveLoading: false, commentInfo: '', - bpnId: '' + bpnId: '', + // 设置当前日期之前不可选择 + datePicker: { + disabledDate(date) { + return date.getTime() < Date.now() - 24 * 60 * 60 * 1000 + } + } } }, mounted() {