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 { } - +