-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
{
res.data.forEach((e) => {
if (e.serviceDate) {
e.time =
- e.serviceDate +
- "-" +
- e.serviceStartTime +
- "-" +
- e.serviceEndTime
+ e.serviceDate + "-" + e.serviceStartTime + "-" + e.serviceEndTime;
}
- } );
+ });
this.OrderDetailsLists = res.data;
this.query = res.data;
+ this.innerVisible4 = true;
console.log(this.query);
});
},
// 派单
dispatch(row) {
- console.log(row)
- this.querynursePersonname.detailsId = row.detailsId
+ console.log(row);
+ this.querynursePersonname.detailsId = row.detailsId;
console.log(this.querynursePersonname.detailsId);
// console.log(row)
this.nurseName = "请选择护理员";
@@ -564,23 +556,21 @@ export default {
},
// 姓名弹框确定按钮
submitForm() {
- console.log(this.dispatchlist)
- var obj = {}
- obj.id = this.nursePersonid
- obj.nurseStationPersonId = this.querynursePersonname.detailsId
+ console.log(this.dispatchlist);
+ var obj = {};
+ obj.id = this.nursePersonid;
+ obj.nurseStationPersonId = this.querynursePersonname.detailsId;
dispatchsubmit(obj).then((res) => {
this.nurseName = "请选择护理员";
this.innerdispatch = false;
-
- })
+ });
},
// 选择姓名按钮
nursePersonclick(row) {
- this.nursePersonid = row.id
- this.nurseName = row.nursePersonName
+ this.nursePersonid = row.id;
+ this.nurseName = row.nursePersonName;
this.nursePersonNameinfo = false;
- console.log(row)
-
+ console.log(row);
},
// 确认取消预约
// cencel(appointmentOrderId) {
@@ -593,27 +583,22 @@ export default {
// },
cencel(row) {
- console.log('row :>> ', this.querynursecencel.appointmentOrderId);
- this.querynursecencel.appointmentOrderId = row.appointmentOrderId
+ console.log("row :>> ", this.querynursecencel.appointmentOrderId);
+ this.querynursecencel.appointmentOrderId = row.appointmentOrderId;
// obj.appointmentOrderId=row.appointmentOrderId
- this.$confirm(
- '是否确认取消订单',
- "提示",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- }
- )
+ this.$confirm("是否确认取消订单", "提示", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
.then(() => {
-
confirmCancel(this.querynursecencel).then((res) => {
this.$message.success("取消成功");
this.getList();
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
});
})
- .catch(() => { });
+ .catch(() => {});
},
/** 查询护理类型信息列表 */
getList() {
@@ -665,15 +650,11 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
// console.log('row :>> ', row);
- this.$confirm(
- '是否确认删除订单信息的数据项?',
- "提示",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- }
- )
+ this.$confirm("是否确认删除订单信息的数据项?", "提示", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
.then(() => {
deldetailed(row.appointmentOrderId).then((res) => {
this.$message.success("删除成功");