1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import event from "../../tcr/event";
export default {
mixins: [event],
methods: {
// commitDel() {
// this.$refs['modelForm'].validate(async (validStatic) => {
// if (validStatic) {
// this.del()
// } else {
// // 前端校验失败
// this.$notify({
// title: '失败',
// message: '校验失败',
// type: 'error',
// });
// }
// })
// },
// async del() {
// let rtnmsg = await Api.post('/report/rmbsel/deleteTdb', this.model.tdb2111)
// if (rtnmsg.respCode == SUCCESS) {
// this.$notify({
// title: "成功",
// message: "提交成功",
// type: "success",
// });
// this.$store.commit('delTagsArry', this.$route.path);
// tthis.$router.back()
// }else{
// this.$notify({
// title: "失败",
// message: "提交失败",
// type: "error",
// });
// }
// },
// flgChange(val){
// if(val == 'X'){
// this.model.tdb2111.tdbVo.opertype = '3'
// }else{
// this.model.tdb2111.tdbVo = JSON.parse(JSON.stringify(this.model.old2111))
// }
// this.$nextTick(() => {
// this.root.$refs['modelForm'].validateField(['tdb2111.tdbVo.actiondesc']);
// })
// }
}
}