diff --git a/src/views/business/archive/drugConfig/list.vue b/src/views/business/archive/drugConfig/list.vue index cc586c7..e61fe5a 100644 --- a/src/views/business/archive/drugConfig/list.vue +++ b/src/views/business/archive/drugConfig/list.vue @@ -158,6 +158,7 @@ export default { this.search() }, detail(row){ + this.saveSimpleLog({name:row.name+'('+row.sn+')',nameEn:row.name+'('+row.sn+')',jcmc:'麻精药配制档案详情',jcmcEn:'Controlled Drug Formulation Detail'}) this.showType = 'detail' this.$refs.detail.show(row) }, diff --git a/src/views/business/archive/nonTrial/list.vue b/src/views/business/archive/nonTrial/list.vue index 6c54502..2368814 100644 --- a/src/views/business/archive/nonTrial/list.vue +++ b/src/views/business/archive/nonTrial/list.vue @@ -158,6 +158,7 @@ export default { this.search() }, detail(row){ + this.saveSimpleLog({name:row.name+'('+row.sn+')',nameEn:row.name+'('+row.sn+')',jcmc:'非试验档案详情',jcmcEn:'Non-study Archive Detail'}) this.showType = 'detail' this.$refs.detail.show(row) }, diff --git a/src/views/business/archive/record/list.vue b/src/views/business/archive/record/list.vue index ba26d45..aa5be81 100644 --- a/src/views/business/archive/record/list.vue +++ b/src/views/business/archive/record/list.vue @@ -78,9 +78,16 @@ export default { this.tabList.push({ key: 'sjda', name: 'page.business.archive.sjda' }) } this.active = this.$route.params.tab && _.findIndex(this.tabList,(o)=>{return o.key===this.$route.params.tab})>-1 ? this.$route.params.tab: this.tabList.length>0 ? this.tabList[0].key :'' + if(this.active){ + let name = this.tabList[_.findIndex(this.tabList,(o)=>{return o.key===this.active})].name + if(name){ + this.saveSimpleLog({name:this.$t(name,'zh_CN'),nameEn:this.$t(name,'en_US'),jcmc:this.$t('system.enterPage','zh_CN'),jcmcEn:this.$t('system.enterPage','en_US')}) + } + } }, changeTab(item) { if (this.active !== item.key) { + this.saveSimpleLog({name:this.$t(item.name,'zh_CN'),nameEn:this.$t(item.name,'en_US'),jcmc:this.$t('system.enterPage','zh_CN'),jcmcEn:this.$t('system.enterPage','en_US')}) this.active = item.key } } diff --git a/src/views/business/archive/trial/list.vue b/src/views/business/archive/trial/list.vue index 2ad9c52..97a082c 100644 --- a/src/views/business/archive/trial/list.vue +++ b/src/views/business/archive/trial/list.vue @@ -158,6 +158,8 @@ export default { this.search() }, detail(row){ + this.saveSimpleLog({name:row.name+'('+row.sn+')',nameEn:row.name+'('+row.sn+')',jcmc:'试验档案详情',jcmcEn:'Study Archive Detail'}) + this.showType = 'detail' this.$refs.detail.show(row) },