This commit is contained in:
曹辉 2023-04-12 14:13:29 +08:00
parent 7a30e6b097
commit 741b9f2015
3 changed files with 8 additions and 7 deletions

View File

@ -177,7 +177,7 @@
//
gotaskDetails(item) {
uni.navigateTo({
url: `/pages/taskDetails/taskDetails?orderDetailsId=${item.orderNo}`
url: `/pages/taskDetails/taskDetails?orderNo=${item.orderNo}`
})
},
},

View File

@ -223,6 +223,7 @@
success(res) {
that.list.onDutyPictureUrl = JSON.parse(res.data)
.imgUrl
that.list.orderNo = that.itemlist.orderNo
orderConfirm(that.list).then(res => {
if (res.code == 200) {
that.$refs.uToast.show({

View File

@ -98,13 +98,13 @@
latitude: null,
longitude: null,
},
orderDetailsId: null, //id
orderNo: null, //orderno
}
},
methods: {
//
taskDetailsinfo(orderDetailsId) {
taskDetails(orderDetailsId).then(res => {
taskDetailsinfo(orderNo) {
taskDetails(orderNo).then(res => {
if (res.code == 200) {
this.list = res.data
}
@ -125,7 +125,7 @@
type: 'success',
duration: '1500'
})
this.taskDetailsinfo(this.orderDetailsId)
this.taskDetailsinfo(this.orderNo)
}
})
},
@ -169,7 +169,7 @@
},
},
onLoad(options) {
this.orderDetailsId = options.orderDetailsId
this.orderNo = options.orderNo
},
onShow() {
var that = this
@ -177,7 +177,7 @@
if (value) {
that.nursePersonId = value
} else {}
this.taskDetailsinfo(this.orderDetailsId)
this.taskDetailsinfo(this.orderNo)
},
}
</script>