From 2adfe8bc7b08322598f5ad24086f795c7c156229 Mon Sep 17 00:00:00 2001 From: kongyeqing <2697454777@qq.com> Date: Thu, 24 Oct 2024 15:57:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=97=B6=E9=97=B4=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/analEvaluation.component.vue | 64 +++++++++++-------- .../assessment/work/workAnal.component.vue | 4 +- 2 files changed, 38 insertions(+), 30 deletions(-) diff --git a/src/components/analEvaluation.component.vue b/src/components/analEvaluation.component.vue index eec49b9..b2573fb 100644 --- a/src/components/analEvaluation.component.vue +++ b/src/components/analEvaluation.component.vue @@ -1,8 +1,9 @@
残余风险评估
- + + labelAlign="right" :data.sync="methodUpdateParams" @actionCallback="methodCallback" + :actions="triActions" :full-btn="true" btnPosition="center">
@@ -63,23 +67,26 @@
- - + + - +
@@ -186,10 +193,10 @@ export default class AnalEvaluationComponent extends Vue { public measuresSelectData = {} as any; @Prop() - public isReadonly: boolean; + isReadonly: boolean; @Prop() - public type: any; + type: any; @Watch("isReadonly", { immediate: true, deep: true }) onCountValueChange() { @@ -199,7 +206,7 @@ export default class AnalEvaluationComponent extends Vue { @PropSync("data", { required: true, }) - public analysisUpdateParams!: any; + analysisUpdateParams!: any; @Watch("analysisUpdateParams", { immediate: true }) onChangeData(newValue, oldVale) { if (!oldVale || (newValue.id !== oldVale.id)) { @@ -211,18 +218,18 @@ export default class AnalEvaluationComponent extends Vue { required: true, default: true }) - public visible: boolean; + visible: boolean; @PropSync("tabledata", { required: true, }) - public updateParams: any; + updateParams: any; @Prop() - public areaList: any; + areaList: any; @Prop() //评估方法 - public checkRiskType: any; + checkRiskType: any; //基本信息 public subBasicOptions: FormOption[] = []; @@ -322,6 +329,7 @@ export default class AnalEvaluationComponent extends Vue { require: true, showError: false, format: "yyyy-MM-dd", + valueFormat: "yyyy-MM-dd", pickerOptions: { disabledDate(time) { return time.getTime() < moment(new Date()).add(1, 'month').subtract(1, 'day').toDate().getTime(); @@ -1256,7 +1264,7 @@ export default class AnalEvaluationComponent extends Vue { } - +