修改
This commit is contained in:
parent
13c472f020
commit
146fd49fa8
@ -515,7 +515,10 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort)
|
if(this.form.informationCategoryList[0].sort){
|
||||||
|
this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort)
|
||||||
|
}
|
||||||
|
|
||||||
addInformationCategory(this.form).then((response) => {
|
addInformationCategory(this.form).then((response) => {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
this.addopen = false;
|
this.addopen = false;
|
||||||
|
|||||||
@ -278,12 +278,11 @@
|
|||||||
<el-form-item
|
<el-form-item
|
||||||
label="所属护理项目"
|
label="所属护理项目"
|
||||||
prop="nurseItemId"
|
prop="nurseItemId"
|
||||||
|
|
||||||
v-if="form.moduleType == 'NURSE_ITEM_MODULE'"
|
v-if="form.moduleType == 'NURSE_ITEM_MODULE'"
|
||||||
>
|
>
|
||||||
<template>
|
<template>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="isEditFlag"
|
:disabled="isEditFlag"
|
||||||
type=""
|
type=""
|
||||||
style="
|
style="
|
||||||
width: 208px;
|
width: 208px;
|
||||||
@ -299,7 +298,7 @@
|
|||||||
>{{ form.nurseItemName }}</el-button
|
>{{ form.nurseItemName }}</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="isEditFlag"
|
:disabled="isEditFlag"
|
||||||
type=""
|
type=""
|
||||||
style="
|
style="
|
||||||
width: 208px;
|
width: 208px;
|
||||||
@ -693,12 +692,7 @@ export default {
|
|||||||
posterIntroduce: [
|
posterIntroduce: [
|
||||||
{ required: true, message: "请输入海报简介", trigger: "blur" },
|
{ required: true, message: "请输入海报简介", trigger: "blur" },
|
||||||
],
|
],
|
||||||
posterPictureUrl: [
|
|
||||||
{ required: true, message: "请选择图片", trigger: "blur" },
|
|
||||||
],
|
|
||||||
jumpType: [
|
|
||||||
{ required: true, message: "请选择图片跳转标识", trigger: "blur" },
|
|
||||||
],
|
|
||||||
posterVideoUrl: [
|
posterVideoUrl: [
|
||||||
{ required: true, message: "请选择海报视频", trigger: "blur" },
|
{ required: true, message: "请选择海报视频", trigger: "blur" },
|
||||||
],
|
],
|
||||||
@ -1014,7 +1008,6 @@ export default {
|
|||||||
submitForm() {
|
submitForm() {
|
||||||
this.$refs["form"].validate((valid) => {
|
this.$refs["form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.form.poserSort = parseInt(this.form.poserSort);
|
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
updatePoser(this.form).then((response) => {
|
updatePoser(this.form).then((response) => {
|
||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
@ -1023,6 +1016,10 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
if (this.form.poserSort) {
|
||||||
|
this.form.poserSort = parseInt(this.form.poserSort);
|
||||||
|
}
|
||||||
|
|
||||||
addPoser(this.form).then((response) => {
|
addPoser(this.form).then((response) => {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user