|
@@ -32,12 +32,12 @@ Page({
|
|
|
}
|
|
|
})
|
|
|
if (!ishave) {
|
|
|
- let arr = [{nextTreatmentTime:{confirm_value:''}},{treatment:{confirm_value:''}},{explain:{confirm_value:''}},{repairResult:{confirm_value:''}},{rebackTime:{confirm_value:''}},{nextRebackTime:{confirm_value:''}}]
|
|
|
+ let arr = [{nextTreatmentTime:{confirm_value:''}},{treatment:{confirm_value:''}},{explain:{confirm_value:''}},{repairResult:{confirm_value:''}},{rebackTime:{confirm_value:''}},{nextRebackTime:{confirm_value:''}},{text:{confirm_value:''}}]
|
|
|
arr.forEach(e=>{
|
|
|
res.data.confirmationcontent.push(e)
|
|
|
},this)
|
|
|
}
|
|
|
-
|
|
|
+ console.log(res.data)
|
|
|
this.setData({
|
|
|
mainData:res.data,
|
|
|
stopClick:res.data.status !== '新建'?'stopClick':this.data.stopClick
|
|
@@ -72,6 +72,11 @@ Page({
|
|
|
nextRebackTime:e[key].confirm_value
|
|
|
})
|
|
|
}
|
|
|
+ if (key === 'text') {
|
|
|
+ this.setData({
|
|
|
+ text:e[key].confirm_value
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
})
|
|
|
},
|
|
@@ -125,6 +130,7 @@ Page({
|
|
|
}
|
|
|
},
|
|
|
inputChange(data) {
|
|
|
+ console.log(data)
|
|
|
let name = data.currentTarget.dataset.name
|
|
|
this.data.mainData.confirmationcontent.forEach(e=>{
|
|
|
Object.keys(e).map((key,index)=>{
|