Merge remote-tracking branch 'origin/yan_0916_护理类型信息' into sdl_20220916_护理站人员功能
This commit is contained in:
commit
fca924ea45
@ -2,12 +2,13 @@ import request from '@/utils/request'
|
|||||||
// 查询护理类型信息列表
|
// 查询护理类型信息列表
|
||||||
export function appointmentOrderDetailsList(query) {
|
export function appointmentOrderDetailsList(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/system/appointmentOrderDetails/appointmentOrderDetailsList',
|
url: 'system/appointmentOrder/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export function Detailed(id) {
|
export function Detailed(id) {
|
||||||
return request({
|
return request({
|
||||||
url: `/system/appointmentOrderDetails/Detailed`+`?orderNo=${id}`,
|
url: `/system/appointmentOrderDetails/Detailed`+`?orderNo=${id}`,
|
||||||
@ -16,9 +17,10 @@ export function Detailed(id) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
//删除
|
//删除
|
||||||
export function deldetailed(id) {
|
export function deldetailed(appointmentOrderId) {
|
||||||
return request({
|
return request({
|
||||||
url: '/system/appointmentOrderDetails/' + id,
|
url: '/system/appointmentOrder/'+appointmentOrderId,
|
||||||
method: 'delete'
|
method: 'post',
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<el-tooltip content="布局大小" effect="dark" placement="bottom">
|
<el-tooltip content="布局大小" effect="dark" placement="bottom">
|
||||||
<size-select id="size-select" class="right-menu-item hover-effect" />
|
<size-select id="size-select" class="right-menu-item hover-effect" />
|
||||||
</el-tooltip> -->
|
</el-tooltip>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -364,6 +364,16 @@ import { getListByUser } from "@/api/system/userlist.js";
|
|||||||
export default {
|
export default {
|
||||||
name: "StationDepartment",
|
name: "StationDepartment",
|
||||||
data() {
|
data() {
|
||||||
|
// 验证手机号的规则
|
||||||
|
var checkMobile = (rule, value, cb) => {
|
||||||
|
// 验证手机号的正则表达式
|
||||||
|
const regMobile =
|
||||||
|
/^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57]|19[0-9])[0-9]{8}$/;
|
||||||
|
if (regMobile.test(value)) {
|
||||||
|
return cb();
|
||||||
|
}
|
||||||
|
cb(new Error("请输入正确的联系电话"));
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
nurseStationlist: [],
|
nurseStationlist: [],
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
@ -440,8 +450,9 @@ export default {
|
|||||||
phone: [
|
phone: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: "请选择联系电话",
|
validator: checkMobile,
|
||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
|
message: "",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -469,8 +480,9 @@ export default {
|
|||||||
phone: [
|
phone: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: "请选择联系电话",
|
validator: checkMobile,
|
||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
|
message: "",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -628,6 +640,7 @@ export default {
|
|||||||
this.nurseStationlist = res.rows;
|
this.nurseStationlist = res.rows;
|
||||||
this.queryParams.nurseStationId = res.rows[0].id;
|
this.queryParams.nurseStationId = res.rows[0].id;
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
|
console.log(this.queryParams)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -678,7 +691,7 @@ export default {
|
|||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
const ids = row.id || this.ids;
|
const ids = row.id || this.ids;
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm('是否确认删除护理站部门信息编号为"' + ids + '"的数据项?')
|
.confirm('是否确认删除护理站部门信息的数据项?')
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return delStationDepartment(ids);
|
return delStationDepartment(ids);
|
||||||
})
|
})
|
||||||
|
|||||||
@ -318,7 +318,6 @@ export default {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
seeLook(row) {
|
seeLook(row) {
|
||||||
this.innerVisible4 = true;
|
this.innerVisible4 = true;
|
||||||
const id = row.orderNo;
|
const id = row.orderNo;
|
||||||
@ -371,8 +370,9 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
|
// console.log('row :>> ', row);
|
||||||
this.$confirm(
|
this.$confirm(
|
||||||
'是否确认删除订单编号为"' + row.orderNo + '"的数据项?',
|
'是否确认删除订单信息的数据项?',
|
||||||
"提示",
|
"提示",
|
||||||
{
|
{
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
@ -381,9 +381,10 @@ export default {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
deldetailed(row.appointOrderDetailsId).then((res) => {
|
deldetailed(row.appointmentOrderId).then((res) => {
|
||||||
this.$message.success("删除成功");
|
this.$message.success("删除成功");
|
||||||
this.getList();
|
this.getList();
|
||||||
|
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user