diff --git a/public/index.html b/public/index.html
index f449c2f..6f52be6 100644
--- a/public/index.html
+++ b/public/index.html
@@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<% } %>
diff --git a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue
index 9eac68c..7b50292 100644
--- a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue
+++ b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue
@@ -25,6 +25,18 @@
@change="dateChange"
/>
+
+
+
查询
@@ -32,7 +44,7 @@
-
+
{{ item.label }}
+ 项目名称:
+
+
+
新增
@@ -72,6 +93,14 @@
+ changeEyeType(value,scope)">
+
+
{{ scope.row.zlEye === 'os' ? '左眼' : ( scope.row.zlEye === 'od' ? '右眼' : '') }}
@@ -88,6 +117,7 @@
+
@@ -213,6 +243,16 @@ export default {
value: '400',
label: '已诊'
}],
+ eyeList: [{
+ value: 'OD',
+ label: 'OD'
+ }, {
+ value: 'OS',
+ label: 'OS'
+ }, {
+ value: 'OU',
+ label: 'OU'
+ }],
nextVisitTime: [],
onlyRead: false,
detailViewVisible: false,
@@ -223,10 +263,12 @@ export default {
beginDate: '',
endDate: '',
searchType: '0',
+ projectCode: '',
patientName: '',
patientStatus: '',
patientIdNumber: ''
},
+ projectList: [],
patientId: '',
patientIdNumber: ''
}
@@ -239,8 +281,10 @@ export default {
},
created() {
this.isShowPatient = !(this.$route.matched.length > 2)
+ this.queryProjectList()
},
methods: {
+ // 展示列表项目列
getYLProject(list) {
if (!list.length) {
return
@@ -251,12 +295,36 @@ export default {
getHisData(val) {
this.addOrUpdateHandle('', { ...val }, 'HIS引入')
},
+ // 展示列表操作者列
getOperator(list) {
if (!list.length) {
return ''
}
return list[0].finishUserName
},
+ // 获取项目列表
+ queryProjectList() {
+ this.$http.get('/patient/getZlItemDict', { params: { category: 'T' }}).then(data => {
+ this.projectList = data.data.data
+ this.projectList.unshift({
+ caseName: '',
+ enable: 1,
+ itemId: '',
+ itemName: '全部项目'
+ })
+ })
+ },
+ changeEyeType(value, scope) {
+ const idList = scope.row.zlProjectList.map(item => item.id)
+ this.$http.post('/patient/updateProjectEyeType', {
+ ids: idList,
+ zlEye: value
+ }).then(res => {
+ if (res.data.data) {
+ this.$message.error(res.data.data)
+ }
+ })
+ },
// 日期改变时
dateChange(e) {
this.dataForm.beginDate = e ? e[0] : ''