修改
This commit is contained in:
parent
0a6052fd63
commit
aee2e47312
@ -70,16 +70,26 @@
|
|||||||
<el-button type="danger" v-if="scope.row.orderStatus == 'CANCEL'">已取消</el-button>
|
<el-button type="danger" v-if="scope.row.orderStatus == 'CANCEL'">已取消</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="订单类型" align="center" prop="orderType">
|
||||||
|
<template slot-scope="scope">{{scope.row.orderType=='COMPANION_IN_HOSPITAL'?'陪诊陪护':'其它' }}</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="会员名称" align="center" prop="patientName" />
|
<el-table-column label="会员名称" align="center" prop="patientName" />
|
||||||
<el-table-column label="护理员名称" align="center" prop="nursePersonName" />
|
<el-table-column label="护理员名称" align="center" prop="nursePersonName" />
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-edit"
|
||||||
|
v-if="scope.row.orderType=='COMPANION_IN_HOSPITAL'"
|
||||||
|
@click="seeedit(scope.row)"
|
||||||
|
>查看</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-zoom-in"
|
icon="el-icon-zoom-in"
|
||||||
@click="seeLook(scope.row)"
|
@click="seeLook(scope.row)"
|
||||||
v-hasPermi="['system:appointmentOrder:query']"
|
v-if="scope.row.orderType!='COMPANION_IN_HOSPITAL'"
|
||||||
>查看</el-button>
|
>查看</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@ -428,6 +438,110 @@
|
|||||||
@pagination="info"
|
@pagination="info"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<!-- 编辑 -->
|
||||||
|
<el-dialog title="院内陪护订单信息" :visible.sync="editinnerVisible" append-to-body width="1280px">
|
||||||
|
<el-form :inline="true" ref="form" :model="query" :rules="rules" label-width="130px">
|
||||||
|
<el-form-item label="姓名" prop="caregiverName">
|
||||||
|
<div class="text">{{query.caregiverName}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="电话" prop="caregiverPhone">
|
||||||
|
<div class="text">{{query.caregiverPhone}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="医院名称" prop="hospitalName">
|
||||||
|
<div class="text">{{query.hospitalName}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="科室名称" prop="departmentName">
|
||||||
|
<div class="text">{{query.departmentName}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="病床号" prop="hospitalBedNumber">
|
||||||
|
<div class="text">{{query.hospitalBedNumber}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="时间" prop="time">
|
||||||
|
<div
|
||||||
|
class="text"
|
||||||
|
>{{query.companionStartDate}} {{query.companionEndDate?'至':'' }} {{ query.companionEndDate }}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="护理站名称" prop="nurseStationName">
|
||||||
|
<div class="text">{{query.nurseStationName}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="护理项目名称" prop="nurseItemName">
|
||||||
|
<div class="text">{{query.nurseItemName}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="订单编号" prop="orderNo">
|
||||||
|
<div class="text">{{query.orderNo}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="订单状态" prop="orderStatus">
|
||||||
|
<div class="text">{{switchOrderStatus(query.orderStatus)}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="订单总金额" prop="totalPrice">
|
||||||
|
<div class="text">{{query.totalPrice}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="数量" prop="companionDays">
|
||||||
|
<div class="text">{{query.companionDays}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- <el-form-item label="护理员名称" prop="nursePersonName">
|
||||||
|
<div class="text">{{query.nursePersonName}}</div>
|
||||||
|
</el-form-item>-->
|
||||||
|
<el-form-item label="护理项目时长" prop="itemServeDurationUnit">
|
||||||
|
<div class="text">{{query.itemServeDurationUnit}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="评价星级" prop="compositeScore" v-if="query.orderStatus =='EVALUATED'">
|
||||||
|
<div class="text">{{query.compositeScore}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="评价满意度"
|
||||||
|
prop="evaluateSatisfaction"
|
||||||
|
v-if="query.orderStatus == 'EVALUATED'"
|
||||||
|
>
|
||||||
|
<div class="text">{{query.evaluateSatisfaction}}</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="服务到岗照片"
|
||||||
|
prop="onDutyPictureUrl"
|
||||||
|
v-if="
|
||||||
|
query.orderStatus == 'COMPLETE' || query.orderStatus == 'EVALUATED'
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<img class="img" :src="baseurl + query.onDutyPictureUrl" alt />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="服务结束照片"
|
||||||
|
prop="serviceEndPictureUrl"
|
||||||
|
v-if="
|
||||||
|
query.orderStatus == 'COMPLETE' || query.orderStatus == 'EVALUATED'
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<img class="img" :src="baseurl + query.serviceEndPictureUrl" alt />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="用户确认签名"
|
||||||
|
prop="userSignaturePictureUrl"
|
||||||
|
v-if="
|
||||||
|
query.orderStatus == 'COMPLETE' || query.orderStatus == 'EVALUATED'
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<img class="img" :src="baseurl + query.userSignaturePictureUrl" alt />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="预约服务位置"
|
||||||
|
v-if="
|
||||||
|
query.orderStatus == 'COMPLETE' || query.orderStatus == 'EVALUATED'
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<el-input v-model="query.serviceLocationName" disabled style="width: 250px" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div
|
||||||
|
id="container"
|
||||||
|
v-if="
|
||||||
|
this.query.orderStatus == 'COMPLETE' ||
|
||||||
|
this.query.orderStatus == 'EVALUATED'
|
||||||
|
"
|
||||||
|
></div>
|
||||||
|
<div slot="footer" class="dialog-footer" style="margin-right: 50px">
|
||||||
|
<el-button type="primary" @click="editinnerVisible = false">确 定</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@ -55,6 +55,7 @@ export default {
|
|||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
innerVisible4: false,
|
innerVisible4: false,
|
||||||
|
editinnerVisible: false,
|
||||||
innerrefund: false,
|
innerrefund: false,
|
||||||
// 护理员姓名弹框
|
// 护理员姓名弹框
|
||||||
nursePersonNameinfo: false,
|
nursePersonNameinfo: false,
|
||||||
@ -115,7 +116,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
mounted() {},
|
mounted() { },
|
||||||
methods: {
|
methods: {
|
||||||
init(query) {
|
init(query) {
|
||||||
this.map = new AMap.Map("container", {
|
this.map = new AMap.Map("container", {
|
||||||
@ -206,6 +207,60 @@ export default {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
//编辑
|
||||||
|
seeedit(row) {
|
||||||
|
this.loading = true;
|
||||||
|
const id = row.orderNo;
|
||||||
|
this.map = null;
|
||||||
|
appointmentOrderDetails(id).then(res => {
|
||||||
|
this.timevalue = [
|
||||||
|
res.data.companionStartDate ? res.data.companionStartDate : "",
|
||||||
|
res.data.companionEndDate ? res.data.companionEndDate : ""
|
||||||
|
];
|
||||||
|
this.query = res.data;
|
||||||
|
res.data.disablingCondition == "DISABLED"
|
||||||
|
? (res.data.disablingCondition = "是")
|
||||||
|
: "";
|
||||||
|
res.data.disablingCondition == "NOT_DISABLED"
|
||||||
|
? (res.data.disablingCondition = "否")
|
||||||
|
: "";
|
||||||
|
if (row.orderStatus == "EVALUATED") {
|
||||||
|
if (res.data) {
|
||||||
|
if (res.data.evaluateSatisfaction == "COMMONLY") {
|
||||||
|
this.query.evaluateSatisfaction = "一般";
|
||||||
|
} else if (res.data.evaluateSatisfaction == "SATISFIED") {
|
||||||
|
this.query.evaluateSatisfaction = "满意";
|
||||||
|
} else if (res.data.evaluateSatisfaction == "DISSATISFIED") {
|
||||||
|
this.query.evaluateSatisfaction = "不满意";
|
||||||
|
} else if (res.data.evaluateSatisfaction == "VERYSATISFIED") {
|
||||||
|
this.query.evaluateSatisfaction = "非常满意";
|
||||||
|
} else if (res.data.evaluateSatisfaction == "VERYDISSATISFIED") {
|
||||||
|
this.query.evaluateSatisfaction = "非常不满意";
|
||||||
|
}
|
||||||
|
this.loading = false;
|
||||||
|
this.editinnerVisible = true;
|
||||||
|
setTimeout(() => {
|
||||||
|
this.init(this.query);
|
||||||
|
}, 500);
|
||||||
|
} else {
|
||||||
|
this.loading = false;
|
||||||
|
this.editinnerVisible = true;
|
||||||
|
setTimeout(() => {
|
||||||
|
this.init(this.query);
|
||||||
|
}, 500);
|
||||||
|
}
|
||||||
|
} else if (row.orderStatus == "COMPLETE") {
|
||||||
|
this.loading = false;
|
||||||
|
this.editinnerVisible = true;
|
||||||
|
setTimeout(() => {
|
||||||
|
this.init(this.query);
|
||||||
|
}, 500);
|
||||||
|
} else {
|
||||||
|
this.loading = false;
|
||||||
|
this.editinnerVisible = true;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
// 查看
|
// 查看
|
||||||
seeLook(row) {
|
seeLook(row) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
@ -388,7 +443,7 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user