动火等级调整

pet
liujun 2024-11-30 14:50:31 +08:00
parent 228b14302f
commit ccc2c1d618
1 changed files with 6 additions and 4 deletions

View File

@ -35,7 +35,7 @@
</u-form-item>
<u-form-item label="动火等级" prop="HOT_WORK_LEVEL_INDEX" borderBottom required
@click="fnSingleChoiceClick('HOT_WORK_LEVEL_INDEX')">
<u-input v-model="form.HOT_WORK_LEVEL_INDEX" border="none" readonly />
<u-input v-model="form.HOT_WORK_LEVEL_NAME" border="none" readonly />
<u-icon name="arrow-right"></u-icon>
</u-form-item>
<u-form-item label="动火开始时间" prop="HOT_WORK_TIME_START" borderBottom required
@ -105,8 +105,8 @@ export default {
{name: '申请日期', key_name: 'APPLICATION_DATE', type: 0},
{name: '作业类型', key_name: 'JOB_TYPE_NAME', key_id: 'JOB_TYPE_INDEX', type: 0},
{name: '动火部位', key_name: 'HOT_WORK_POSITION', type: 0},
{name: '动火方法', key_id: "HOT_WORK_METHOD_ID", key_name: "HOT_WORK_METHOD_NAME", type: 0},
{name: '动火等级', key_name: 'HOT_WORK_LEVEL_INDEX', key_id: 'HOT_WORK_LEVEL_NAME', type: 0},
{name: '动火方法', key_name: "HOT_WORK_METHOD_NAME", key_id: "HOT_WORK_METHOD_ID", type: 0},
{name: '动火等级', key_name: 'HOT_WORK_LEVEL_NAME', key_id: 'HOT_WORK_LEVEL_INDEX', type: 0},
{name: '动火开始时间', key_name: 'HOT_WORK_TIME_START', type: 0},
{name: '动火结束时间', key_name: 'HOT_WORK_TIME_END', type: 0},
{name: '作业内容', key_name: 'JOB_CONTENT', type: 0},
@ -145,6 +145,7 @@ export default {
//
HOT_WORK_LEVEL_ID: '',
HOT_WORK_LEVEL_INDEX: '',
HOT_WORK_LEVEL_NAME: '',
/** 动火开始时间 */
HOT_WORK_TIME_START: '',
/** 动火结束时间 */
@ -232,7 +233,8 @@ export default {
}
if (this.picker.type === 'HOT_WORK_LEVEL_INDEX') {
this.form.HOT_WORK_LEVEL_ID = event.value[0].ID
this.form.HOT_WORK_LEVEL_INDEX = event.value[0].NAME
this.form.HOT_WORK_LEVEL_INDEX = event.value[0].ID
this.form.HOT_WORK_LEVEL_NAME = event.value[0].NAME
this.picker.defaultIndex = event.indexs
}
this.fnSingleChoiceCancel()