动火模块功能更改
parent
d8e0b3b651
commit
bb96cb2954
|
@ -48,6 +48,7 @@ export const getHotWorkGasDelete = (params) => post("/app/elSpe/delete", params)
|
||||||
export const getOtherAssignmentsSelectList = (params) => post("/app/Task/getAllUnEndList", params) //关联的其他特殊作业及安全作业票编号选择列表
|
export const getOtherAssignmentsSelectList = (params) => post("/app/Task/getAllUnEndList", params) //关联的其他特殊作业及安全作业票编号选择列表
|
||||||
export const getRiskIdentificationResultsSelectList = (params) => post("/app/eightWork/getInfo", params) //风险辨识结果选择列表
|
export const getRiskIdentificationResultsSelectList = (params) => post("/app/eightWork/getInfo", params) //风险辨识结果选择列表
|
||||||
export const getHotWorkMethodSelectList = (params) => post("/app/util/getDicList", params) // 动火方法选择列表
|
export const getHotWorkMethodSelectList = (params) => post("/app/util/getDicList", params) // 动火方法选择列表
|
||||||
|
export const getQyDicList = (params) => post("/app/util/otherSysDic", params) // 动火方法选择列表
|
||||||
export const setTaskSave = (params) => post("/app/Task/init", params) //八项作业、隐患整改、安全环保检查任务保存更新接口
|
export const setTaskSave = (params) => post("/app/Task/init", params) //八项作业、隐患整改、安全环保检查任务保存更新接口
|
||||||
export const getCurrentNextOperation = (params) => post("/app/Task/getSupplementInfo", params) //获取当前任务的下一步操作
|
export const getCurrentNextOperation = (params) => post("/app/Task/getSupplementInfo", params) //获取当前任务的下一步操作
|
||||||
export const getDepartmentTree = (params) => post("/app/util/getDepartmentTree", params) //获取部门树
|
export const getDepartmentTree = (params) => post("/app/util/getDepartmentTree", params) //获取部门树
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
import {
|
import {
|
||||||
getOtherAssignmentsSelectList,
|
getOtherAssignmentsSelectList,
|
||||||
getRiskIdentificationResultsSelectList,
|
getRiskIdentificationResultsSelectList,
|
||||||
getHotWorkMethodSelectList,
|
getQyDicList,
|
||||||
getUserList
|
getUserList
|
||||||
} from '@/api'
|
} from '@/api'
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
})
|
})
|
||||||
this.list = resData.accidentType
|
this.list = resData.accidentType
|
||||||
} else if (this.type === 'hotWorkMethod') {
|
} else if (this.type === 'hotWorkMethod') {
|
||||||
const resData = await getHotWorkMethodSelectList({
|
const resData = await getQyDicList({
|
||||||
DICTIONARIES_ID: "63cf39931a89467594efc441bf67f6dd",
|
DICTIONARIES_ID: "63cf39931a89467594efc441bf67f6dd",
|
||||||
});
|
});
|
||||||
this.list = resData.list
|
this.list = resData.list
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<u-form-item label="申请办理人" prop="APPLY_USER_NAME" borderBottom required>
|
<u-form-item label="申请办理人" prop="APPLY_USER_NAME" borderBottom required>
|
||||||
<u-input v-model="form.APPLY_USER_NAME" border="none" readonly />
|
<u-input v-model="form.APPLY_USER_NAME" border="none" readonly />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="作业编号" prop="JOB_NUMBER" borderBottom>
|
<u-form-item v-if="false" label="作业编号" prop="JOB_NUMBER" borderBottom>
|
||||||
<u-input v-model="form.JOB_NUMBER" border="none" placeholder="请输入作业编号" />
|
<u-input v-model="form.JOB_NUMBER" border="none" placeholder="请输入作业编号" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="申请日期" prop="APPLICATION_DATE" borderBottom required
|
<u-form-item label="申请日期" prop="APPLICATION_DATE" borderBottom required
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<u-form-item label="动火部位" prop="HOT_WORK_POSITION" borderBottom required>
|
<u-form-item label="动火部位" prop="HOT_WORK_POSITION" borderBottom required>
|
||||||
<u-input v-model="form.HOT_WORK_POSITION" border="none" placeholder="请输入动火部位" />
|
<u-input v-model="form.HOT_WORK_POSITION" border="none" placeholder="请输入动火部位" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="动火方法" prop="HOT_WORK_METHOD_ID" borderBottom labelPosition="top" labelWidth="auto">
|
<u-form-item label="动火方法" prop="HOT_WORK_METHOD_ID" borderBottom labelPosition="top" labelWidth="auto" required>
|
||||||
<u-button type="primary" size="mini" text="选择其它动火方法"
|
<u-button type="primary" size="mini" text="选择其它动火方法"
|
||||||
:customStyle="{ position: 'absolute', top: '-46upx', right: '20upx', width: '180upx' }"
|
:customStyle="{ position: 'absolute', top: '-46upx', right: '20upx', width: '180upx' }"
|
||||||
@click="otherWorkMethodShow = true" />
|
@click="otherWorkMethodShow = true" />
|
||||||
|
@ -153,7 +153,7 @@ export default {
|
||||||
APPLICATION_DATE: [{ type: 'string', required: true, message: '请选择申请日期', trigger: ['blur', 'change'] }],
|
APPLICATION_DATE: [{ type: 'string', required: true, message: '请选择申请日期', trigger: ['blur', 'change'] }],
|
||||||
JOB_TYPE_NAME: [{ type: 'string', required: true, message: '请选择作业类型', trigger: ['blur', 'change'] }],
|
JOB_TYPE_NAME: [{ type: 'string', required: true, message: '请选择作业类型', trigger: ['blur', 'change'] }],
|
||||||
HOT_WORK_POSITION: [{ type: 'string', required: true, message: '请输入动火部位', trigger: ['blur', 'change'] }],
|
HOT_WORK_POSITION: [{ type: 'string', required: true, message: '请输入动火部位', trigger: ['blur', 'change'] }],
|
||||||
HOT_WORK_METHOD_ID: [{ type: 'string', required: false, message: '请选择动火方法', trigger: ['blur', 'change'] }],
|
HOT_WORK_METHOD_ID: [{ type: 'string', required: true, message: '请选择动火方法', trigger: ['blur', 'change'] }],
|
||||||
HOT_WORK_LEVEL_INDEX: [{ type: 'string', required: true, message: '请选择动火等级', trigger: ['blue', 'change'] }],
|
HOT_WORK_LEVEL_INDEX: [{ type: 'string', required: true, message: '请选择动火等级', trigger: ['blue', 'change'] }],
|
||||||
HOT_WORK_TIME_START: [{ type: 'string', required: true, message: '请选择动火开始时间', trigger: ['blur', 'change'] }],
|
HOT_WORK_TIME_START: [{ type: 'string', required: true, message: '请选择动火开始时间', trigger: ['blur', 'change'] }],
|
||||||
HOT_WORK_TIME_END: [{ type: 'string', required: true, message: '请选择动火结束时间', trigger: ['blur', 'change'] }],
|
HOT_WORK_TIME_END: [{ type: 'string', required: true, message: '请选择动火结束时间', trigger: ['blur', 'change'] }],
|
||||||
|
@ -253,11 +253,6 @@ export default {
|
||||||
fnDateTimePickerCancel() {
|
fnDateTimePickerCancel() {
|
||||||
this.dateTimePicker.show = false
|
this.dateTimePicker.show = false
|
||||||
},
|
},
|
||||||
fnDateTimePickerClick(event) {
|
|
||||||
this.dateTimePicker.type = event
|
|
||||||
this.dateTimePicker.value = Number(new Date(this.form[event])) || Number(new Date())
|
|
||||||
this.dateTimePicker.show = true
|
|
||||||
},
|
|
||||||
/**
|
/**
|
||||||
* 下一步所触发的按钮事件
|
* 下一步所触发的按钮事件
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue