|
|
|
@ -240,7 +240,17 @@ export default { |
|
|
|
}, |
|
|
|
enter(row){ |
|
|
|
this.saveSimpleLog({name:row.name+'('+row.sn+')',nameEn:row.name+'('+row.sn+')',jcmc:'进入非试验表单',jcmcEn:'Enter Non-study'}) |
|
|
|
this.$tab.openPage(" ", '/nonTrial/enter/' + row.id+'/ytbd') |
|
|
|
// this.$tab.openPage(" ", '/nonTrial/enter/' + row.id+'/ytbd') |
|
|
|
|
|
|
|
let path = '/nonTrial/enter/' + row.id+'/ytbd' |
|
|
|
let index = _.findIndex(this.$store.state.tagsView.visitedViews, (tab) => { |
|
|
|
return tab.path === path |
|
|
|
}) |
|
|
|
if (index > -1) { |
|
|
|
this.$tab.refreshPage(this.$store.state.tagsView.visitedViews[index]); |
|
|
|
} else { |
|
|
|
this.$tab.openPage(" ", path) |
|
|
|
} |
|
|
|
// this.showType = 'enter' |
|
|
|
// this.$refs.enter.show(row) |
|
|
|
}, |
|
|
|
|