修改
This commit is contained in:
parent
36fe122de7
commit
26fd5b3e72
@ -160,7 +160,6 @@
|
|||||||
uni.chooseImage({
|
uni.chooseImage({
|
||||||
count: 9,
|
count: 9,
|
||||||
success(res) {
|
success(res) {
|
||||||
that.certificateimg = []
|
|
||||||
res.tempFilePaths.forEach(e => {
|
res.tempFilePaths.forEach(e => {
|
||||||
that.uploadcertificateimg.push(e)
|
that.uploadcertificateimg.push(e)
|
||||||
that.certificateimg.push(e)
|
that.certificateimg.push(e)
|
||||||
|
|||||||
@ -33,9 +33,12 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="image">
|
<view class="image">
|
||||||
<image src="../../static/jinbi.png" mode=""></image>
|
<image src="../../static/jinbi.png" mode=""></image>
|
||||||
<span>
|
<span v-if="item.orderCommissionAmount&&item.orderCommissionAmount>=0">
|
||||||
+ {{item.orderCommissionAmount}}
|
+ {{item.orderCommissionAmount}}
|
||||||
</span>
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
+ 0
|
||||||
|
</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<image class="itemimg" v-if="item.orderStatus=='NOT_FINISH'||item.orderStatus=='WAIT_RECEIVE'"
|
<image class="itemimg" v-if="item.orderStatus=='NOT_FINISH'||item.orderStatus=='WAIT_RECEIVE'"
|
||||||
|
|||||||
@ -7,7 +7,12 @@
|
|||||||
{{itemlist.nurseItemName}}
|
{{itemlist.nurseItemName}}
|
||||||
</view>
|
</view>
|
||||||
<view class="righttext">
|
<view class="righttext">
|
||||||
|
<span v-if="itemlist.orderCommissionAmount&&itemlist.orderCommissionAmount>=0">
|
||||||
¥{{itemlist.orderCommissionAmount}}
|
¥{{itemlist.orderCommissionAmount}}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
¥ 0
|
||||||
|
</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
@ -51,7 +56,8 @@
|
|||||||
{{itemlist.disablingCondition=="DISABLED"?'已失能':''}}
|
{{itemlist.disablingCondition=="DISABLED"?'已失能':''}}
|
||||||
</view>
|
</view>
|
||||||
<view class="item" v-if="itemlist.disablingCondition=='DISABLED'">
|
<view class="item" v-if="itemlist.disablingCondition=='DISABLED'">
|
||||||
失能情况:{{itemlist.disablingReason}}
|
失能情况:
|
||||||
|
<span v-if="itemlist.disablingReason">{{itemlist.disablingReason}}</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
身体健康状况:{{itemlist.diseaseName}}
|
身体健康状况:{{itemlist.diseaseName}}
|
||||||
|
|||||||
@ -7,7 +7,12 @@
|
|||||||
{{itemlist.nurseItemName}}
|
{{itemlist.nurseItemName}}
|
||||||
</view>
|
</view>
|
||||||
<view class="righttext">
|
<view class="righttext">
|
||||||
|
<span v-if="itemlist.orderCommissionAmount&&itemlist.orderCommissionAmount>=0">
|
||||||
¥{{itemlist.orderCommissionAmount}}
|
¥{{itemlist.orderCommissionAmount}}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
¥ 0
|
||||||
|
</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
border-radius: 5rpx;
|
border-radius: 5rpx;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
margin-left: 50rpx;
|
padding: 0 50rpx;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
|
|||||||
@ -7,7 +7,12 @@
|
|||||||
{{list.nurseItemName}}
|
{{list.nurseItemName}}
|
||||||
</view>
|
</view>
|
||||||
<view class="righttext">
|
<view class="righttext">
|
||||||
|
<span v-if="list.orderCommissionAmount&&list.orderCommissionAmount>=0">
|
||||||
¥{{list.orderCommissionAmount}}
|
¥{{list.orderCommissionAmount}}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
¥ 0
|
||||||
|
</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
@ -51,7 +56,8 @@
|
|||||||
{{list.disablingCondition=="DISABLED"?'已失能':''}}
|
{{list.disablingCondition=="DISABLED"?'已失能':''}}
|
||||||
</view>
|
</view>
|
||||||
<view class="item" v-if="list.disablingCondition=='DISABLED'">
|
<view class="item" v-if="list.disablingCondition=='DISABLED'">
|
||||||
失能情况:{{list.disablingReason}}
|
失能情况:
|
||||||
|
<span v-if="list.disablingReason">{{list.disablingReason}}</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -1,18 +1,27 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app" v-if="tasklist">
|
||||||
<view class="top">
|
<view class="top">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<image src="../../static/fuwu.png" mode=""></image>
|
<image src="../../static/fuwu.png" mode=""></image>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
陪诊
|
{{tasklist.nurseItemName}}
|
||||||
|
</view>
|
||||||
|
<view class="righttext">
|
||||||
|
<span v-if="tasklist.orderCommissionAmount&&tasklist.orderCommissionAmount>=0">
|
||||||
|
¥{{tasklist.orderCommissionAmount}}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
¥ 0
|
||||||
|
</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="time">
|
<view class="time">
|
||||||
时间:2023-02-07 8:00-12:00
|
时间:{{tasklist.serviceDate}}
|
||||||
|
<span style='padding-left: 10rpx;'>{{tasklist.serviceStartTime}}</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="address">
|
<view class="address">
|
||||||
地点:山东省立医院东院区
|
地点:{{tasklist.serviceAddress}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -29,7 +38,8 @@
|
|||||||
:key="index" :name="item.name" shape='circle'>{{item.name}}</u-checkbox>
|
:key="index" :name="item.name" shape='circle'>{{item.name}}</u-checkbox>
|
||||||
</u-checkbox-group>
|
</u-checkbox-group>
|
||||||
</view>
|
</view>
|
||||||
<u-input v-model="value" type="text" :border="true" border-color='#E6E6E6' placeholder='请在此输入' />
|
<u-input v-model="value" type="text" :border="true" border-color='#E6E6E6' placeholder='请在此输入'
|
||||||
|
v-if="list[4].checked" />
|
||||||
</view>
|
</view>
|
||||||
<view class="btn" @tap='taskreturn'>
|
<view class="btn" @tap='taskreturn'>
|
||||||
立即提交
|
立即提交
|
||||||
@ -39,16 +49,20 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {
|
||||||
|
taskDetails
|
||||||
|
} from '@/api/taskDetails/taskDetails.js'
|
||||||
import {
|
import {
|
||||||
orderFallback
|
orderFallback
|
||||||
} from '@/api/taskReturn/index.js'
|
} from '@/api/taskReturn/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
item: null, //传值item
|
baseurl: null,
|
||||||
|
tasklist: null, //传值item
|
||||||
nursePersonId: null, //护理员id
|
nursePersonId: null, //护理员id
|
||||||
taskReturnReason: '',
|
taskReturnReason: '',
|
||||||
value: '', //input绑定
|
value: null, //input绑定
|
||||||
list: [{
|
list: [{
|
||||||
name: '与其他工单时间冲突',
|
name: '与其他工单时间冲突',
|
||||||
checked: false,
|
checked: false,
|
||||||
@ -72,15 +86,24 @@
|
|||||||
checkboxChange(e) {},
|
checkboxChange(e) {},
|
||||||
// 选中任一checkbox时,由checkbox-group触发
|
// 选中任一checkbox时,由checkbox-group触发
|
||||||
checkboxGroupChange(e) {
|
checkboxGroupChange(e) {
|
||||||
e.forEach(e => {
|
this.taskReturnReason = ''
|
||||||
this.taskReturnReason += e + ';'
|
e.forEach(el => {
|
||||||
|
if (el != '其它') {
|
||||||
|
this.taskReturnReason += el + ';'
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
taskreturn() {
|
taskreturn() {
|
||||||
|
if (this.list[4].checked && this.value) {
|
||||||
|
this.taskReturnReason += this.value + ';'
|
||||||
|
}
|
||||||
|
if (!this.tasklist.id) {
|
||||||
|
this.tasklist.id = this.tasklist.orderDetailsId
|
||||||
|
}
|
||||||
var obj = {
|
var obj = {
|
||||||
"appointmentOrderId": this.item.id,
|
"appointmentOrderId": this.tasklist.id,
|
||||||
"stationPersonId": this.nursePersonId,
|
"stationPersonId": this.nursePersonId,
|
||||||
"appointmentOrderNo": this.item.orderNo,
|
"appointmentOrderNo": this.tasklist.orderNo,
|
||||||
"taskReturnReason": this.taskReturnReason,
|
"taskReturnReason": this.taskReturnReason,
|
||||||
}
|
}
|
||||||
orderFallback(obj).then(res => {
|
orderFallback(obj).then(res => {
|
||||||
@ -98,7 +121,7 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
this.item = JSON.parse(options.item)
|
this.tasklist = JSON.parse(options.item)
|
||||||
var that = this
|
var that = this
|
||||||
const value = uni.getStorageSync('nursePersonId');
|
const value = uni.getStorageSync('nursePersonId');
|
||||||
if (value) {
|
if (value) {
|
||||||
@ -125,12 +148,12 @@
|
|||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
width: 496rpx;
|
width: 496rpx;
|
||||||
height: 58rpx;
|
height: 70rpx;
|
||||||
background: #4271B9;
|
background: #4271B9;
|
||||||
border-radius: 5rpx;
|
border-radius: 5rpx;
|
||||||
margin: 80rpx auto;
|
margin: 80rpx auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 58rpx;
|
line-height: 70rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,7 +179,7 @@
|
|||||||
padding-bottom: 40rpx;
|
padding-bottom: 40rpx;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
margin-left: 50rpx;
|
padding: 0 50rpx;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
@ -172,6 +195,17 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.righttext {
|
||||||
|
position: absolute;
|
||||||
|
right: 20rpx;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
font-size: 34rpx;
|
||||||
|
color: #EA706A;
|
||||||
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user