|
@ -155,6 +155,7 @@ |
|
|
onLoad((option) => { |
|
|
onLoad((option) => { |
|
|
if (option.obj) { |
|
|
if (option.obj) { |
|
|
paramData.value = JSON.parse(decodeURIComponent(option.obj)); // 将字符串转换为对象并存入paramData |
|
|
paramData.value = JSON.parse(decodeURIComponent(option.obj)); // 将字符串转换为对象并存入paramData |
|
|
|
|
|
console.log(paramData.value) |
|
|
nodeInfo.value.planDayCode = paramData.value.planNoDay |
|
|
nodeInfo.value.planDayCode = paramData.value.planNoDay |
|
|
nodeInfo.value.processCode = paramData.value.nodeCode |
|
|
nodeInfo.value.processCode = paramData.value.nodeCode |
|
|
saveData.value.processCode = paramData.value.nodeCode |
|
|
saveData.value.processCode = paramData.value.nodeCode |
|
@ -179,7 +180,6 @@ |
|
|
} |
|
|
} |
|
|
//数据转换 |
|
|
//数据转换 |
|
|
function transList(data) { |
|
|
function transList(data) { |
|
|
console.log(data) |
|
|
|
|
|
const list = data.map(item => { |
|
|
const list = data.map(item => { |
|
|
return { |
|
|
return { |
|
|
"label": item.workerName, |
|
|
"label": item.workerName, |
|
|