修改
This commit is contained in:
parent
7a30e6b097
commit
741b9f2015
@ -177,7 +177,7 @@
|
|||||||
//详情
|
//详情
|
||||||
gotaskDetails(item) {
|
gotaskDetails(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/taskDetails/taskDetails?orderDetailsId=${item.orderNo}`
|
url: `/pages/taskDetails/taskDetails?orderNo=${item.orderNo}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -223,6 +223,7 @@
|
|||||||
success(res) {
|
success(res) {
|
||||||
that.list.onDutyPictureUrl = JSON.parse(res.data)
|
that.list.onDutyPictureUrl = JSON.parse(res.data)
|
||||||
.imgUrl
|
.imgUrl
|
||||||
|
that.list.orderNo = that.itemlist.orderNo
|
||||||
orderConfirm(that.list).then(res => {
|
orderConfirm(that.list).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
|
|||||||
@ -98,13 +98,13 @@
|
|||||||
latitude: null,
|
latitude: null,
|
||||||
longitude: null,
|
longitude: null,
|
||||||
},
|
},
|
||||||
orderDetailsId: null, //工单id
|
orderNo: null, //工单orderno
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//详情接口
|
//详情接口
|
||||||
taskDetailsinfo(orderDetailsId) {
|
taskDetailsinfo(orderNo) {
|
||||||
taskDetails(orderDetailsId).then(res => {
|
taskDetails(orderNo).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.list = res.data
|
this.list = res.data
|
||||||
}
|
}
|
||||||
@ -125,7 +125,7 @@
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
duration: '1500'
|
duration: '1500'
|
||||||
})
|
})
|
||||||
this.taskDetailsinfo(this.orderDetailsId)
|
this.taskDetailsinfo(this.orderNo)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -169,7 +169,7 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
this.orderDetailsId = options.orderDetailsId
|
this.orderNo = options.orderNo
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
var that = this
|
var that = this
|
||||||
@ -177,7 +177,7 @@
|
|||||||
if (value) {
|
if (value) {
|
||||||
that.nursePersonId = value
|
that.nursePersonId = value
|
||||||
} else {}
|
} else {}
|
||||||
this.taskDetailsinfo(this.orderDetailsId)
|
this.taskDetailsinfo(this.orderNo)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user