Commit 6e4d01bc by 张立顺

fix bug

1 parent edeef15e
......@@ -435,7 +435,7 @@ Page({
const mainTechnicianList = [
...(mainSelected?.map(val => ({
id: val.id,
technicianId: val.technicianId,
technicianId: val.technicianId || val.id,
technicianName: val.staffName,
technicianUuid: val.uuid,
technicianType: 0,
......@@ -444,7 +444,7 @@ Page({
})) || []),
...(deputySelected?.map(val => ({
id: val.id,
technicianId: val.technicianId,
technicianId: val.technicianId || val.id,
technicianName: val.staffName,
technicianUuid: val.uuid,
technicianType: 1,
......@@ -482,6 +482,8 @@ Page({
this.setData({
requesting: true
})
console.log(params)
return
api.confirmConstruction(params).then(res => {
let { code, message } = res
if (code == 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!