bianyaqi 2 years ago
parent
commit
624c8798d8
  1. 6
      src/components/360View/commonForm/eyesVision.vue
  2. 2
      src/components/360View/index.vue
  3. 1
      src/components/patient-search/data-list.vue
  4. 3
      src/components/patient-search/index.vue
  5. 2
      src/page-subspecialty/router/index.js
  6. 16
      src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue
  7. 3
      src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue
  8. 51
      src/page-subspecialty/views/modules/outpatientManagement/call/index.vue
  9. 11
      src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue

6
src/components/360View/commonForm/eyesVision.vue

@ -1152,9 +1152,6 @@ export default {
::v-deep .el-textarea__inner{ ::v-deep .el-textarea__inner{
border: none; border: none;
} }
::v-deep .width-180{
width: 180px;
}
} }
.check { .check {
cursor: pointer; cursor: pointer;
@ -1186,5 +1183,8 @@ export default {
::v-deep .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell { ::v-deep .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
background: none !important; background: none !important;
} }
::v-deep .el-input__prefix {
display: none;
}
} }
</style> </style>

2
src/components/360View/index.vue

@ -403,7 +403,7 @@ export default {
this.$router.push('/outpatientManagement-call') this.$router.push('/outpatientManagement-call')
} else { } else {
this.$parent.detailViewVisible = false this.$parent.detailViewVisible = false
this.$parent.getDataListInitial()
this.$parent.reFresh()
} }
}, },
// 360 // 360

1
src/components/patient-search/data-list.vue

@ -106,7 +106,6 @@ export default {
} }
}, },
mounted() { mounted() {
console.log(this.dataList)
}, },
methods: { methods: {
getExamItem(obj) { getExamItem(obj) {

3
src/components/patient-search/index.vue

@ -144,6 +144,9 @@ export default {
this.retrieval() this.retrieval()
}, },
methods: { methods: {
reFresh() {
this.pageCurrentChangeHandle(this.page)
},
// //
getDataListInitial() { getDataListInitial() {
this.page = 1 this.page = 1

2
src/page-subspecialty/router/index.js

@ -68,7 +68,7 @@ export const moduleRoutes = {
{ {
path: '/patientInfo', path: '/patientInfo',
name: 'patientInfo', name: 'patientInfo',
meta: { title: '详情', isTab: true },
meta: { title: '视光工作台 / OK镜 / 详情', isTab: true },
component: () => import('@/page-subspecialty/views/modules/optometryManagement/seeDoctor/index') component: () => import('@/page-subspecialty/views/modules/optometryManagement/seeDoctor/index')
}, },
{ {

16
src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue

@ -30,19 +30,8 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div style="display: flex;justify-content: space-between;background-color: white;padding: 16px 16px 0">
<div style="display: flex;justify-content: flex-end;background-color: white;padding: 16px 16px 0">
<div> <div>
<!-- <el-select v-model="dataForm.searchType" placeholder="请选择" style="width:120px;float: left;margin-right: 16px" size="small" @change="getDataListInitial">-->
<!-- <el-option-->
<!-- v-for="item in options"-->
<!-- :key="item.value"-->
<!-- :label="item.label"-->
<!-- :value="item.value"-->
<!-- />-->
<!-- </el-select>-->
</div>
<div>
<!-- <el-button type="primary" size="small" icon="el-icon-plus" @click="addOrUpdateHandle('','','新增患者')">新增</el-button>-->
<el-button type="primary" size="small" @click="HISHandle"> <el-button type="primary" size="small" @click="HISHandle">
<svg-icon icon-class="icon-HIS-up" style="font-size:12px;" /> <svg-icon icon-class="icon-HIS-up" style="font-size:12px;" />
<span style="padding-left:5px;vertical-align: middle;">HIS引入</span> <span style="padding-left:5px;vertical-align: middle;">HIS引入</span>
@ -126,6 +115,9 @@ export default {
created() { created() {
}, },
methods: { methods: {
reFresh() {
this.pageCurrentChangeHandle(this.page)
},
// //
browseClick(scopeRow) { browseClick(scopeRow) {
this.$router.push({ this.$router.push({

3
src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue

@ -232,6 +232,9 @@ export default {
} }
}, },
methods: { methods: {
reFresh() {
this.pageCurrentChangeHandle(this.page)
},
getYLProject(list) { getYLProject(list) {
if (!list.length) { if (!list.length) {
return return

51
src/page-subspecialty/views/modules/outpatientManagement/call/index.vue

@ -75,13 +75,14 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="mzDoctorName" label="门诊医师" header-align="center" align="center" width="100" /> <el-table-column prop="mzDoctorName" label="门诊医师" header-align="center" align="center" width="100" />
<el-table-column prop="sgDoctorName" label="视光师" header-align="center" align="center" width="100" />
<el-table-column prop="zlPorject" label="医疗项目" header-align="center" align="center">
<!-- <el-table-column prop="sgDoctorName" label="视光师" header-align="center" align="center" width="100" />-->
<el-table-column label="常规检查" header-align="center" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ getYLProject(scope.row.zlProjectList) }}
<!-- {{ scope.row.createTime}}-->
<el-button class="copyBtn" type="primary" plain style="width: 48%" size="small" :data-clipboard-text="scope.row.createTime" @click="onCopy">复制</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="remark" label="备注" header-align="center" align="center" />
<!-- <el-table-column prop="remark" label="备注" header-align="center" align="center" />-->
<el-table-column prop="updateDate" label="就诊时间" header-align="center" align="center" width="165" /> <el-table-column prop="updateDate" label="就诊时间" header-align="center" align="center" width="165" />
<!-- <el-table-column prop="callSort" label="分诊序号" header-align="center" align="center" />--> <!-- <el-table-column prop="callSort" label="分诊序号" header-align="center" align="center" />-->
<!-- <el-table-column prop="callStatus" label="叫号状态" header-align="center" align="center">--> <!-- <el-table-column prop="callStatus" label="叫号状态" header-align="center" align="center">-->
@ -127,6 +128,7 @@ import tableAutoHeight from '@/mixins/tableAutoHeight'
import AddOrUpdate from './patient-add-or-update' import AddOrUpdate from './patient-add-or-update'
import hisAdd from './HIS-add' import hisAdd from './HIS-add'
import detailView from '@/components/360View/index' // 360 import detailView from '@/components/360View/index' // 360
import Clipboard from 'clipboard'
export default { export default {
components: { components: {
hisAdd, hisAdd,
@ -169,6 +171,7 @@ export default {
getDataListIsPage: true getDataListIsPage: true
}, },
curIndex: 0, curIndex: 0,
clipboard: null,
options: [ options: [
{ {
value: '0', value: '0',
@ -228,7 +231,15 @@ export default {
}, },
created() { created() {
}, },
destroyed() {
this.clipboard && this.clipboard.destroy()
},
mounted() {
},
methods: { methods: {
reFresh() {
this.pageCurrentChangeHandle(this.page)
},
// //
getYLProject(list) { getYLProject(list) {
if (!list.length) { if (!list.length) {
@ -237,6 +248,21 @@ export default {
const projects = list.map(item => item.porjectName).join('、') const projects = list.map(item => item.porjectName).join('、')
return projects 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 // HIS
getHisData(val) { getHisData(val) {
this.addOrUpdateHandle('', { ...val }, 'HIS引入') this.addOrUpdateHandle('', { ...val }, 'HIS引入')
@ -254,8 +280,25 @@ export default {
this.dataForm.patientStatus = value this.dataForm.patientStatus = value
this.getDataListInitial() 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) { showDetail(scopeRow, index) {
if (index === 1) {
this.receiveTreat(scopeRow)
}
this.onlyRead = index !== 1 this.onlyRead = index !== 1
this.detailViewVisible = true this.detailViewVisible = true
this.patientId = scopeRow.patientId this.patientId = scopeRow.patientId

11
src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue

@ -254,7 +254,8 @@ export default {
value: '400', value: '400',
label: '已诊' label: '已诊'
}], }],
eyeList: [{
eyeList: [
{
value: 'OD', value: 'OD',
label: 'OD' label: 'OD'
}, { }, {
@ -297,6 +298,9 @@ export default {
this.queryProjectList() this.queryProjectList()
}, },
methods: { methods: {
reFresh() {
this.pageCurrentChangeHandle(this.page)
},
// //
getYLProject(list) { getYLProject(list) {
if (!list.length) { if (!list.length) {
@ -375,6 +379,7 @@ export default {
this.$message.error(res.msg) this.$message.error(res.msg)
} }
}, },
//
finishTreat(scope) { finishTreat(scope) {
const idList = scope.zlProjectList.map(item => item.id) const idList = scope.zlProjectList.map(item => item.id)
if (!idList.length) { if (!idList.length) {
@ -384,7 +389,7 @@ export default {
this.receiveTreat(scope) this.receiveTreat(scope)
this.$http.post('/patient/updateProjectStatus', idList).then((res) => { this.$http.post('/patient/updateProjectStatus', idList).then((res) => {
this.$message.success(res.data.data) this.$message.success(res.data.data)
this.getDataListInitial()
this.pageCurrentChangeHandle(this.page)
}) })
}, },
// //
@ -408,7 +413,7 @@ export default {
type: '2' type: '2'
}}).then(res => { }}).then(res => {
this.$message.success(res.data.data) this.$message.success(res.data.data)
this.getDataListInitial()
this.pageCurrentChangeHandle(this.page)
}) })
}) })
}, },

Loading…
Cancel
Save