diff --git a/src/components/360View/commonForm/eyesVision.vue b/src/components/360View/commonForm/eyesVision.vue index f447b5c..d8725eb 100644 --- a/src/components/360View/commonForm/eyesVision.vue +++ b/src/components/360View/commonForm/eyesVision.vue @@ -1152,9 +1152,6 @@ export default { ::v-deep .el-textarea__inner{ border: none; } - ::v-deep .width-180{ - width: 180px; - } } .check { cursor: pointer; @@ -1186,5 +1183,8 @@ export default { ::v-deep .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell { background: none !important; } + ::v-deep .el-input__prefix { + display: none; + } } diff --git a/src/components/360View/index.vue b/src/components/360View/index.vue index df49d65..f184e96 100644 --- a/src/components/360View/index.vue +++ b/src/components/360View/index.vue @@ -403,7 +403,7 @@ export default { this.$router.push('/outpatientManagement-call') } else { this.$parent.detailViewVisible = false - this.$parent.getDataListInitial() + this.$parent.reFresh() } }, // 360浏览器 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/optometryManagement/dioptric/index.vue b/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue index 0e5114e..1603dfe 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue @@ -232,6 +232,9 @@ export default { } }, methods: { + reFresh() { + this.pageCurrentChangeHandle(this.page) + }, getYLProject(list) { if (!list.length) { return diff --git a/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue index c8778ba..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,7 +231,15 @@ export default { }, created() { }, + destroyed() { + this.clipboard && this.clipboard.destroy() + }, + mounted() { + }, methods: { + reFresh() { + this.pageCurrentChangeHandle(this.page) + }, // 医疗项目拼接 getYLProject(list) { if (!list.length) { @@ -237,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引入') @@ -254,8 +280,25 @@ export default { this.dataForm.patientStatus = value this.getDataListInitial() }, + async receiveTreat(item) { + const { data: res } = await this.$http.get('/patient/updateSGDoctorAndJzStatus', { + params: { + patientId: item.patientId, + jzNumber: item.jzNumber, + risNo: item.risNo, + platform: 1 + } + }) + if (res.code === 0) { + } else { + this.$message.error(res.msg) + } + }, // 查看详情 showDetail(scopeRow, index) { + if (index === 1) { + this.receiveTreat(scopeRow) + } this.onlyRead = index !== 1 this.detailViewVisible = true this.patientId = scopeRow.patientId diff --git a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue index 092b385..39cdde2 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue @@ -254,16 +254,17 @@ export default { value: '400', label: '已诊' }], - eyeList: [{ - value: 'OD', - label: 'OD' - }, { - value: 'OS', - label: 'OS' - }, { - value: 'OU', - label: 'OU' - }], + eyeList: [ + { + value: 'OD', + label: 'OD' + }, { + value: 'OS', + label: 'OS' + }, { + value: 'OU', + label: 'OU' + }], nextVisitTime: [], appointRange: [], onlyRead: false, @@ -297,6 +298,9 @@ export default { this.queryProjectList() }, methods: { + reFresh() { + this.pageCurrentChangeHandle(this.page) + }, // 展示列表项目列 getYLProject(list) { if (!list.length) { @@ -375,6 +379,7 @@ export default { this.$message.error(res.msg) } }, + // 结束 finishTreat(scope) { const idList = scope.zlProjectList.map(item => item.id) if (!idList.length) { @@ -384,7 +389,7 @@ export default { this.receiveTreat(scope) this.$http.post('/patient/updateProjectStatus', idList).then((res) => { this.$message.success(res.data.data) - this.getDataListInitial() + this.pageCurrentChangeHandle(this.page) }) }, // 查看详情 @@ -408,7 +413,7 @@ export default { type: '2' }}).then(res => { this.$message.success(res.data.data) - this.getDataListInitial() + this.pageCurrentChangeHandle(this.page) }) }) },