diff --git a/src/components/patient-search/data-list.vue b/src/components/patient-search/data-list.vue index 330f7f7..faab5b4 100644 --- a/src/components/patient-search/data-list.vue +++ b/src/components/patient-search/data-list.vue @@ -106,7 +106,6 @@ export default { } }, mounted() { - console.log(this.dataList) }, methods: { getExamItem(obj) { diff --git a/src/components/patient-search/index.vue b/src/components/patient-search/index.vue index 27942d8..52f9f65 100644 --- a/src/components/patient-search/index.vue +++ b/src/components/patient-search/index.vue @@ -144,6 +144,9 @@ export default { this.retrieval() }, methods: { + reFresh() { + this.pageCurrentChangeHandle(this.page) + }, // 初始化查询 getDataListInitial() { this.page = 1 diff --git a/src/page-subspecialty/router/index.js b/src/page-subspecialty/router/index.js index 214bfdb..12cf4b0 100644 --- a/src/page-subspecialty/router/index.js +++ b/src/page-subspecialty/router/index.js @@ -68,7 +68,7 @@ export const moduleRoutes = { { path: '/patientInfo', name: 'patientInfo', - meta: { title: '详情', isTab: true }, + meta: { title: '视光工作台 / OK镜 / 详情', isTab: true }, component: () => import('@/page-subspecialty/views/modules/optometryManagement/seeDoctor/index') }, { diff --git a/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue b/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue index 3b71e77..4e9bb3b 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue @@ -30,19 +30,8 @@ -
+
- - - - - - - - -
-
- HIS引入 @@ -126,6 +115,9 @@ export default { created() { }, methods: { + reFresh() { + this.pageCurrentChangeHandle(this.page) + }, // 浏览 browseClick(scopeRow) { this.$router.push({ diff --git a/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue index b5066bd..e2372f8 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue @@ -75,13 +75,14 @@ - - + + - + @@ -127,6 +128,7 @@ import tableAutoHeight from '@/mixins/tableAutoHeight' import AddOrUpdate from './patient-add-or-update' import hisAdd from './HIS-add' import detailView from '@/components/360View/index' // 360试图 +import Clipboard from 'clipboard' export default { components: { hisAdd, @@ -169,6 +171,7 @@ export default { getDataListIsPage: true }, curIndex: 0, + clipboard: null, options: [ { value: '0', @@ -228,6 +231,11 @@ export default { }, created() { }, + destroyed() { + this.clipboard && this.clipboard.destroy() + }, + mounted() { + }, methods: { reFresh() { this.pageCurrentChangeHandle(this.page) @@ -240,6 +248,21 @@ export default { const projects = list.map(item => item.porjectName).join('、') return projects }, + // 复制 + onCopy() { + if (JSON.stringify(this.clipboard) !== '{}') { + this.clipboard && this.clipboard.destroy() + } + this.clipboard = new Clipboard('.copyBtn') + const self = this + this.clipboard.on('success', function(e) { + self.$message.success('复制成功!') + e.clearSelection() + }) + this.clipboard.on('error', function(e) { + self.$message.warning('复制失败!') + }) + }, // HIS引入事件 getHisData(val) { this.addOrUpdateHandle('', { ...val }, 'HIS引入')