From 89905a0cc5d9d37a3f61b51d5432290fbd4b8365 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期三, 19 七月 2023 18:01:46 +0800 Subject: [PATCH] 统计分析界面的接口调取,渲染,调整 --- src/views/mdc/base/modules/HolidayManagement/HolidayManagementModal.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/mdc/base/modules/HolidayManagement/HolidayManagementModal.vue b/src/views/mdc/base/modules/HolidayManagement/HolidayManagementModal.vue index e1c5651..bfb3282 100644 --- a/src/views/mdc/base/modules/HolidayManagement/HolidayManagementModal.vue +++ b/src/views/mdc/base/modules/HolidayManagement/HolidayManagementModal.vue @@ -20,15 +20,18 @@ </a-col> <a-col :span="12"> <a-form-item label="绫诲瀷" :labelCol="labelCol" :wrapperCol="wrapperCol"> - <a-input :disabled="disableSubmit" placeholder="璇疯緭鍏ョ被鍨�" - v-decorator="['type', validatorRules.type]"/> + <j-dict-select-tag :readOnly="disableSubmit" placeholder="璇烽�夋嫨绫诲瀷" + :triggerChange="true" dictCode="vacation_type " + v-decorator="['vacationType', validatorRules.vacationType]" allow-clear/> </a-form-item> </a-col> </a-row> <a-row :gutter="24"> + <a-col :span="24"> <a-form-item label="澶囨敞" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> <a-textarea v-decorator="['notes', validatorRules.notes]" placeholder="璇疯緭鍏ュ娉�" ></a-textarea> </a-form-item> + </a-col> </a-row> </a-form> </a-spin> @@ -201,7 +204,7 @@ this.model = Object.assign({}, record) this.visible = true this.$nextTick(() => { - this.form.setFieldsValue(pick(this.model, 'equipmentId', 'equipmentName', 'vacationDate', 'type', 'notes', + this.form.setFieldsValue(pick(this.model, 'equipmentId', 'equipmentName', 'vacationDate', 'vacationType', 'notes', )) }) }, -- Gitblit v1.9.3