顺序改成数字类型
This commit is contained in:
parent
294b264cab
commit
fd64e4cf85
@ -507,6 +507,7 @@ export default {
|
||||
submitForm() {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort)
|
||||
if (this.form.id != null) {
|
||||
updateInformationCategory(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
|
||||
@ -621,6 +621,7 @@ export default {
|
||||
submitForm() {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.form.informationSort=parseInt( this.form.informationSort)
|
||||
if (this.form.id != null) {
|
||||
updateInformationInfo(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
|
||||
@ -684,7 +684,7 @@ export default {
|
||||
{ required: true, message: "请输入海报简介", trigger: "blur" },
|
||||
],
|
||||
"posterPictureUrlLists.posterPictureUrl": [
|
||||
{ required: true, message: "请选择海报图片", trigger: "blur" },
|
||||
{ required: true, message: "请选择图片", trigger: "blur" },
|
||||
],
|
||||
"posterPictureUrlLists.jumpType":[
|
||||
{ required: true, message: "请选择图片跳转标识", trigger: "blur" },
|
||||
@ -1004,6 +1004,7 @@ export default {
|
||||
submitForm() {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.form.poserSort=parseInt(this.form.poserSort)
|
||||
if (this.form.id != null) {
|
||||
updatePoser(this.form).then((response) => {
|
||||
var obj = { pictureUrlList: [] };
|
||||
|
||||
@ -491,6 +491,7 @@ export default {
|
||||
console.log(this.form);
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.form.nurseClassifyInfoList[0].classifySort=parseInt( this.form.nurseClassifyInfoList[0].classifySort)
|
||||
if (this.form.id != null) {
|
||||
updateStationClassify(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user