预约订单 权限

This commit is contained in:
shidongli 2022-11-08 14:30:25 +08:00
parent 91a3f508b4
commit be78906159

View File

@ -88,7 +88,8 @@
type="text"
icon="el-icon-zoom-in"
@click="seeLook(scope.row)"
v-hasPermi="['system:nurseType:edit']"
v-hasPermi="['system:appointmentOrder:query']"
>查看</el-button
>
<el-button
@ -96,7 +97,7 @@
type="text"
icon="el-icon-s-promotion"
@click="dispatch(scope.row)"
v-hasPermi="['system:nurseType:edit']"
v-hasPermi="['system:appointmentOrder:dispatch']"
v-if="scope.row.orderStatus=='WAIT_DISPATCH'"
>派单</el-button
>
@ -105,7 +106,7 @@
type="text"
icon="el-icon-error"
@click="cencel(scope.row.appointmentOrderId)"
v-hasPermi="['system:nurseType:edit']"
v-hasPermi="['system:appointmentOrder:confirmCancel']"
>取消预约</el-button
>
<el-button
@ -567,10 +568,6 @@ export default {
},
//
submitForm() {
// console.log(this.querynursePersonname)
// var obj = {}
// obj.nurseStationPersonId = nurseStationPersonId
// obj.orderNo = this.querynursePersonname.orderNo
let params={
nurseStationPersonId:this.nursePersonid,
orderNo:this.querynursePersonname.orderNo
@ -594,19 +591,6 @@ export default {
},
// cencel(appointmentOrderId) {
// confirmCancel(appointmentOrderId).then((res) => {
// // this.nurseName="";
// // this.innerdispatch = false;
// })
// console.log(appointmentOrderId)
// },
// console.log(row.appointmentOrderId)
// this.appointmentOrderId = row.appointmentOrderId
// console.log('row :>> ', this.querynursecencel.appointmentOrderId);
// obj.appointmentOrderId=row.appointmentOrderId
//
cencel(appointmentOrderId) {
@ -626,8 +610,7 @@ export default {
}
confirmCancel(params).then((res) => {
this.$message.success("取消成功");
// this.getList();
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
});
})