修改
This commit is contained in:
parent
7a30e6b097
commit
741b9f2015
@ -177,7 +177,7 @@
|
||||
//详情
|
||||
gotaskDetails(item) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/taskDetails/taskDetails?orderDetailsId=${item.orderNo}`
|
||||
url: `/pages/taskDetails/taskDetails?orderNo=${item.orderNo}`
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user