diff --git a/src/components/360View/index1.vue b/src/components/360View/index1.vue
index 7fc7586..bb1188f 100644
--- a/src/components/360View/index1.vue
+++ b/src/components/360View/index1.vue
@@ -232,22 +232,11 @@ import imgRecord from './img-reccrd.vue'
import pacsList from '@/components/360View/pacs/patientList'
import medicalRecord from '@/components/360View/medicalRecord' // 门诊病历
import opticalFile from '@/components/360View/opticalFile' // 视光档案
-const Base64 = require('js-base64').Base64
import eventBus from '@/page-subspecialty/utils/eventBus'
export default {
components: { timeLine, drawer, keyIndicators, shrink, business, collection, imgRecord, overView, medicalRecord, dataInfo, routine, special, followUpRecord, opticalFile, pacsList },
- directives: {
- move(el, bindings) {
- el.onmousedown = (e) => {
- }
- }
- },
mixins: [],
props: {
- patientIdNumber: {
- type: String,
- default: ''
- },
patientId: {
type: String,
default: ''
@@ -324,7 +313,6 @@ export default {
const arr = this.foreList.concat(data)
const id = 'id'
this.foreList = arr.reduce((all, next) => all.some((item) => item[id] == next[id]) ? all : [...all, next], [])
- console.log(this.foreList)
this.openDataDrink()
})
},
@@ -423,8 +411,7 @@ export default {
params: {
date: item.opDate,
groupName: item.groupName,
- patientId: '797064'
- // patientId: this.patientId
+ patientId: this.patientId
}
})
if (res.code === 0) {
diff --git a/src/components/360View/itemSelect/index.vue b/src/components/360View/itemSelect/index.vue
index 3be9f66..276e49d 100644
--- a/src/components/360View/itemSelect/index.vue
+++ b/src/components/360View/itemSelect/index.vue
@@ -35,7 +35,7 @@
:filter-node-method="treeFilter"
empty-text=""
@node-click="nodeClick"
- @check-change="nodeCheck"
+ @check="nodeCheck"
>
@@ -47,7 +47,6 @@
-
diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue
index ac1f183..ca40ede 100644
--- a/src/components/360View/medicalRecord/index.vue
+++ b/src/components/360View/medicalRecord/index.vue
@@ -83,7 +83,9 @@ export default {
}
},
created() {
+ if (this.isSearch === '2') {
this.getFormList()
+ }
},
methods: {
handleForm({ index, item }) {
@@ -128,7 +130,6 @@ export default {
platform: this.isSearch
}
this.$http.post('/case/save', params).then(res => {
- this.$message.success('添加成功!')
this.getFormList()
}).catch(err => {
this.$message.error(err.msg)
diff --git a/src/components/360View/special/index.vue b/src/components/360View/special/index.vue
index 25998c2..37bac85 100644
--- a/src/components/360View/special/index.vue
+++ b/src/components/360View/special/index.vue
@@ -4,23 +4,27 @@
@@ -34,7 +38,7 @@
-
+
提取数据
@@ -44,6 +48,7 @@
@@ -114,6 +119,8 @@ export default {
tableData: [],
extractData: [],
patientBaseData: {},
+ loading: false,
+ loadingFlag: false,
isActive: false
}
},
@@ -121,21 +128,22 @@ export default {
},
mounted() {
-
this.getPatientData()
this.getSpecialItem()
},
methods: {
// 获取特殊检查项
async getSpecialItem() {
+ this.loading = true
const { data: res } = await this.$http.get('/patient/view/getExamineItem', {
params: {
- // patientId: '2553716'
- patientId: '1693275'
+ // patientId: '1693275'
+ patientId: this.patientId
// date: this.date
}
})
if (res.code === 0) {
+ this.loading = false
this.tableData = res.data || []
if (res.data.length) {
this.examNo = res.data[0].examNo
@@ -148,18 +156,18 @@ export default {
}
},
async getItemData() {
+ this.loadingFlag = true
const { data: res } = await this.$http.get('/patient/view/getExtractData', {
params: {
examNo: this.examNo,
- // examNo: 'MZ17345997_0',
examineItem: this.examineItem
- // examineItem: '眼部B超'
}
})
if (res.code === 0) {
+ this.loadingFlag = false
this.extractData = res.data || []
} else {
- // this.$message.error(res.msg)
+ this.loadingFlag = false
}
},
handleSelectionChange(val) {
@@ -189,7 +197,6 @@ export default {
this.getItemData()
},
handleRecord(item) {
- console.log(item)
const patientInfo = {
examDate: item.examTime ? item.examTime.substring(0, 11) : '',
itemCode: item.examineItem,
@@ -204,10 +211,6 @@ export default {
})
window.open(href, '_blank')
},
- // 查看报告
- // handleRecord() {
- // this.isActive = true
- // },
// 关闭360弹框
closePacs() {
this.isActive = false
@@ -234,7 +237,7 @@ export default {
.refresh{
position: absolute;
- right: 20px;
+ right: 18px;
top: 35px;
z-index: 999;
cursor: pointer;
diff --git a/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue b/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue
index b4d6d31..36d2f09 100644
--- a/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue
+++ b/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue
@@ -235,23 +235,6 @@ export default {
}
},
methods: {
- // 浏览
- browseClick(scopeRow) {
- window.sessionStorage.removeItem('itemCurrentIndex')
- window.sessionStorage.removeItem('itemListIndex')
- this.$router.push({
- path: '/seeDoctor',
- query: {
- info: this.$Base64.encode(JSON.stringify({
- patientIdNumber: scopeRow.patientIdNumber,
- patientCentreId: scopeRow.patientCentreId,
- title: '门诊'
- // crfId: scopeRow.crfId,
- // patientId: scopeRow.patientId
- }))
- }
- })
- },
// 日期改变时
dateChange(e) {
this.dataForm.beginDate = e ? e[0] : ''
@@ -265,12 +248,10 @@ export default {
},
// 查看详情
showDetail(scopeRow, index) {
- console.log(scopeRow)
this.onlyRead = index !== 1
this.detailViewVisible = true
this.patientId = scopeRow.patientId
this.patientIdNumber = scopeRow.patientIdNumber
- this.patientId = '797064'
this.$nextTick(() => {
// // 根据id获取患者信息--中间上侧患者信息
this.$refs.viewRef.getPatientData()
@@ -284,21 +265,7 @@ export default {
this.$nextTick(() => {
this.$refs.HisAddRef.init()
})
- },
- // 获取管理师
- async getDoctorName() {
- const { data: res } = await this.$http.get('/pat/Manage/selectDoctorName', {
- params: {
- drgsName: window.localStorage.getItem('identity')
- }
- })
- if (res.code === 0) {
- this.doctorNameList = res.data
- } else {
- this.$message.error(res.msg)
- }
}
-
}
}
diff --git a/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue
index cbce49c..eec3c36 100644
--- a/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue
+++ b/src/page-subspecialty/views/modules/outpatientManagement/call/index.vue
@@ -265,7 +265,7 @@ export default {
this.$nextTick(() => {
this.$refs.HisAddRef.init()
})
- },
+ }
}
}
diff --git a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue
index 33b620d..7245244 100644
--- a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue
+++ b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue
@@ -259,7 +259,6 @@ export default {
this.detailViewVisible = true
this.patientId = scopeRow.patientId
this.patientIdNumber = scopeRow.patientIdNumber
- this.patientId = '797064'
this.$nextTick(() => {
// // 根据id获取患者信息--中间上侧患者信息
this.$refs.viewRef.getPatientData()
diff --git a/src/page-subspecialty/views/pages/pacs/img-record.vue b/src/page-subspecialty/views/pages/pacs/img-record.vue
index 31fc940..5156c5f 100644
--- a/src/page-subspecialty/views/pages/pacs/img-record.vue
+++ b/src/page-subspecialty/views/pages/pacs/img-record.vue
@@ -117,7 +117,7 @@
{{ item.seriesDescription }}
({{ item.laterality }})
- {{ item.time }}
+ {{ item.time }}
@@ -345,7 +345,7 @@ export default {
packFlag: true,
proFlag: true,
loading: false,
- examineType: 2, // 项目树
+ examineType: 2, // 1时间树 2项目树
treeProps: {
children: 'children',
label: 'text'
@@ -479,53 +479,20 @@ export default {
if (res.code === 0) {
const data = res.data || []
for (let i = 0; i < data.length; i++) {
+ const cur = data[i]
const temp = data[i].children
+ this.examDate = type === 1 ? data[0].id : ''
+ this.examItemCode = type === 2 ? data[0].id : ''
for (let j = 0; j < temp.length; j++) {
if (type === 2) {
temp[j].examTime = temp[j].examTime ? temp[j].examTime.substring(0, 11) : ''
+ } else {
+ temp[j].examDate = cur.id
}
}
}
-
- this.allExamine = []
- // if (res.data.length) {
- // for (let i = 0; i < data.length; i++) {
- // const cur = data[i]
- // const temp = data[i].children
- // if (type === 1) {
- // this.examDate = data[0].id
- // } else {
- // this.examItemCode = data[0].id
- // }
- // for (let j = 0; j < temp.length; j++) {
- // if (this.examineType === 1) {
- // temp[j].examDate = cur.id
- // }
- // }
- // this.defaultExpandedKeys = this.allExamine
- // }
- this.treeData = data || []
- // this.queryExamine()
- // }
- // this.treeData = res.data || []
- // this.examNoList = []
- // if (this.treeData.length) {
- // this.examNoList.push(this.treeData[0].children[0].examNo)
- // this.$nextTick(() => {
- // this.$refs.examineTree.setCurrentKey(this.treeData[0].children[0].rownows)
- // })
- // for (let i = 0; i < this.treeData.length; i++) {
- // const temp = this.treeData[i].children
- // for (let j = 0; j < temp.length; j++) {
- // if (type === 1) {
- // temp[j].name = temp[j].examineItem || ''
- // } else {
- // temp[j].name = temp[j].examTime ? temp[j].examTime.substring(0, 11) : ''
- // }
- // }
- // }
+ this.treeData = data || []
this.queryExamine()
- // }
} else {
this.$message.error(res.msg)
}
@@ -596,8 +563,11 @@ export default {
const params = {
searchType: this.examineType,
searchChild: this.searchChild,
- examDate: '2020-07-20',
+ // examDate: this.examDate,
+ // examNo: this.examNo,
+ // examItemCode: this.examItemCode,
// patientId: this.patientInfo.patientId,
+ // patientId: '2553716',
patientId: '2553716',
eyeType: this.eyeType,
fileType: this.fileType