import event from "../../tdq/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 rtnmsg = await Api.post('/report/rmbsel/editTdq', this.model.tdq2123) // 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", // }); // } // }, // flgChange(val){ // if(val == 'X'){ // this.model.tdq2123.tdqVo.opertype = '2' // this.model.filterKeys = ['2'] // }else{ // this.model.tdq2123.tdqVo = JSON.parse(JSON.stringify(this.model.old2123)) // this.model.filterKeys = ['1','2','3'] // } // this.$nextTick(() => { // this.root.$refs['modelForm'].validateField(['tdq2123.tdqVo.actiondesc']); // }) // } } }