| | |
| | | }, |
| | | ], |
| | | }, |
| | | startTime:{ |
| | | rules:[ |
| | | { |
| | | required:true, |
| | | message: "请选择开始时间" |
| | | }, |
| | | ], |
| | | }, |
| | | endTime:{ |
| | | rules:[ |
| | | { |
| | | required:true, |
| | | message: "请选择结束时间" |
| | | }, |
| | | ], |
| | | }, |
| | | // mdcRepairType:{ |
| | | // rules:[ |
| | | // { |
| | |
| | | if (res.success) { |
| | | // that.$message.success("修改成功") |
| | | // that.$message.success(res.message) |
| | | that.$notification.warning({ |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | |
| | | that.confirmLoading = false |
| | | |
| | | }else{ |
| | | |
| | | let obj |
| | | if (!this.model.id) { |
| | | obj = postAction(this.url.add, formData) |
| | |
| | | if (res.success) { |
| | | // that.$message.success("修改成功") |
| | | // that.$message.success(res.message) |
| | | that.$notification.warning({ |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |