import event from "../../tdo/event";

export default {
	mixins: [event],
	methods:{
		// commitMod() {
		// 		this.$refs['modelForm'].validate(async (validStatic) => {
		// 			if (validStatic) {
		// 				this.mod()
		// 			} else {
		// 				// 前端校验失败
		// 				this.$notify({
		// 					title: '失败',
		// 					message: '校验失败',
		// 					type: 'error',
		// 				});
		// 			}
		// 		})
		// },
		// async mod() {
		// 		let data = {
		// 			inr:this.model.pblmod.pbl.inr,
		// 			tdoVo:this.model.recgrp.ads,
		// 		}
		// 		let rtnmsg = await Api.post('/report/rmbsel/editTdo', data)
		// 		if (rtnmsg.respCode == SUCCESS) {
		// 			this.$notify({
		// 				title: "成功",
		// 				message: "提交成功",
		// 				type: "success",
		// 			});
		// 			this.$store.commit('delTagsArry', this.$route.path);
		// 			this.$router.back()
		// 		}else{
		// 			this.$notify({
		// 				title: "失败",
		// 				message: "提交失败",
		// 				type: "error",
		// 			});
		// 		}
		// 	},
	}
}