feat: 修改下一步操作的判断逻辑
parent
26b5ef1301
commit
bfe823ed2d
|
@ -172,7 +172,11 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
async fnGetData(taskId) {
|
async fnGetData(taskId) {
|
||||||
let resData = await getTaskInfo({EW_RU_TASK_ID: taskId})
|
let resData = await getTaskInfo({EW_RU_TASK_ID: taskId})
|
||||||
console.log('resData :>> ', resData);
|
if (resData.list.form && resData.list.form.length > 0) {
|
||||||
|
resData.list.form.forEach((sos, index) => {
|
||||||
|
this.form[sos.ITEM_NAME] = sos.ITEM_VALUE;
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
fnDateTimePickerClick(event) {
|
fnDateTimePickerClick(event) {
|
||||||
this.dateTimePicker.type = event
|
this.dateTimePicker.type = event
|
||||||
|
|
|
@ -211,7 +211,7 @@ export const resolveNextOperation = async (
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 有限空间作业气体分析
|
// 有限空间作业气体分析
|
||||||
if (info.otherFlag.redirectFlag === '1') {
|
if (info.otherFlag !== null && info.otherFlag.redirectFlag === '1') {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: info.otherFlag.url,
|
url: info.otherFlag.url,
|
||||||
params: {taskId: EW_RU_TASK_ID, EW_RU_JOB_ID, TYPE}
|
params: {taskId: EW_RU_TASK_ID, EW_RU_JOB_ID, TYPE}
|
||||||
|
|
Loading…
Reference in New Issue