From cf0fef47f70bdc8b9b463304b89a26c93b5e76fe Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 21 七月 2023 14:19:51 +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