修改
This commit is contained in:
parent
3d1668c4da
commit
294b264cab
@ -308,6 +308,7 @@ export default {
|
|||||||
parentId: null,
|
parentId: null,
|
||||||
classifyCode: null,
|
classifyCode: null,
|
||||||
classifyName: null,
|
classifyName: null,
|
||||||
|
|
||||||
classifyLevel: null,
|
classifyLevel: null,
|
||||||
classifyType: null,
|
classifyType: null,
|
||||||
classifyPictureUrl: null,
|
classifyPictureUrl: null,
|
||||||
@ -485,6 +486,8 @@ export default {
|
|||||||
idd: this.idd,
|
idd: this.idd,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "添加护理项目分类信息";
|
this.title = "添加护理项目分类信息";
|
||||||
@ -506,6 +509,7 @@ export default {
|
|||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
this.$refs["form"].validate((valid) => {
|
this.$refs["form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.form.nurseClassifyInfoList[0].classifySort = parseInt(this.form.nurseClassifyInfoList[0].classifySort);
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
updateInfo(this.form).then((response) => {
|
updateInfo(this.form).then((response) => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
|
|||||||
@ -155,6 +155,12 @@ export default {
|
|||||||
"nurseStationItem.advanceAppointDuration": [
|
"nurseStationItem.advanceAppointDuration": [
|
||||||
{ required: true, message: "提前预约时长不能为空", trigger: "blur" },
|
{ required: true, message: "提前预约时长不能为空", trigger: "blur" },
|
||||||
],
|
],
|
||||||
|
// }, ],
|
||||||
|
"nurseStationItem.appointmentTimeInterval": [{
|
||||||
|
required: true,
|
||||||
|
trigger: "blur",
|
||||||
|
message: "请选择预约时间点间隔",
|
||||||
|
}, ],
|
||||||
"nurseStationItem.itemPictureUrl": [{
|
"nurseStationItem.itemPictureUrl": [{
|
||||||
required: true,
|
required: true,
|
||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
@ -164,12 +170,7 @@ export default {
|
|||||||
// required: true,
|
// required: true,
|
||||||
// trigger: "blur",
|
// trigger: "blur",
|
||||||
// message: "请输入预约人数上限",
|
// message: "请输入预约人数上限",
|
||||||
// }, ],
|
|
||||||
"nurseStationItem.appointmentTimeInterval": [{
|
|
||||||
required: true,
|
|
||||||
trigger: "blur",
|
|
||||||
message: "请选择预约时间点间隔",
|
|
||||||
}, ],
|
|
||||||
nurseStationId: [
|
nurseStationId: [
|
||||||
{ required: true, trigger: "blur", message: "请选择所属护理站" },
|
{ required: true, trigger: "blur", message: "请选择所属护理站" },
|
||||||
],
|
],
|
||||||
@ -557,6 +558,7 @@ export default {
|
|||||||
this.form.nurseStationItem.nurseTypeId = this.form.nurseTypeId;
|
this.form.nurseStationItem.nurseTypeId = this.form.nurseTypeId;
|
||||||
this.$refs["form"].validate((valid) => {
|
this.$refs["form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.form.nurseStationItem.appointmentLimitCount=parseInt(this.form.nurseStationItem.appointmentLimitCount)
|
||||||
if (this.form.nurseStationItem.id != null) {
|
if (this.form.nurseStationItem.id != null) {
|
||||||
this.form.nurseStationItemPrices.forEach((e) => {
|
this.form.nurseStationItemPrices.forEach((e) => {
|
||||||
e.nurseStationItemId = this.form.nurseStationItem.id;
|
e.nurseStationItemId = this.form.nurseStationItem.id;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user