Browse Source

受试者

360view
bianyaqi 2 years ago
parent
commit
ec57f27655
  1. 3
      src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-search/index.vue
  2. 9
      src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-subject/index.vue

3
src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-search/index.vue

@ -19,6 +19,7 @@
<script>
import patientSearch from '@/components/patient-search'
import eventBus from '@/page-subspecialty/utils/eventBus'
export default {
components: { patientSearch },
@ -55,7 +56,7 @@ export default {
idNumberList: this.selectIdList
}).then(({ data: res }) => {
this.$message.success('引入成功!')
eventBus.$emit('getSubjectSuccess')
// 1:2:3:
this.$http.put('/project/status', { projectId: this.projectId, status: 2 })
this.getSubjectIdNumberList()

9
src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-subject/index.vue

@ -259,6 +259,7 @@ import kpiSelect from '@/components/kpi-select'
import deviceSelect from '@/components/device-select'
import { confirm } from '@/utils/confirm'
import { formatDate } from '@/utils/index.js'
import eventBus from '@/page-subspecialty/utils/eventBus'
export default {
components: { patientView, checkedFooter, kpiSelect, deviceSelect },
@ -329,7 +330,13 @@ export default {
this.getDataList()
this.getGroupList()
},
mounted() { },
mounted() {
eventBus.$off('getSubjectSuccess')
eventBus.$on('getSubjectSuccess', () => {
this.getGroupList()
this.getDataList()
})
},
methods: {
refresh() {

Loading…
Cancel
Save