From 4a9a87c7b49702f543e15fe05fa608de457304a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com>
Date: Thu, 19 Oct 2023 17:17:20 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E6=9F=A5=E9=A2=84=E7=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pagesB/screenorder/screenorder.vue | 60 +++++++++++++++++++++---------
1 file changed, 42 insertions(+), 18 deletions(-)
diff --git a/pagesB/screenorder/screenorder.vue b/pagesB/screenorder/screenorder.vue
index 34527b2..de50c67 100644
--- a/pagesB/screenorder/screenorder.vue
+++ b/pagesB/screenorder/screenorder.vue
@@ -23,26 +23,30 @@
-
基本信息
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -122,6 +126,7 @@
],
DeptList: [],
ProList: [],
+ hospitalId: '',
test1: [{
text: '同意《用户服务协议》及《隐私政策》',
value: '1'
@@ -204,6 +209,16 @@
},
methods: {
+ appointitem(e) {
+ // console.log(e, '67')
+ var that = this
+ if (that.formData.hospitalId == '') {
+ this.$refs.uToast.show({
+ title: '请先选择预约机构',
+ type: 'error',
+ })
+ }
+ },
getDeptAndPro() {
getDeptList().then(res => {
this.DeptList = res.data.map(item => {
@@ -213,9 +228,13 @@
}
})
})
+
+ },
+ infolist() {
getProlist({
projectType: 1,
- status: 0
+ status: 0,
+ hospitalId: this.hospitalId
}).then(res => {
if (res.code == 200) {
this.ProList = res.data.map(item => {
@@ -228,6 +247,11 @@
})
},
changeDept(e) {
+ console.log(e, '99')
+ console.log(this.formData, '9')
+ this.formData.projectId = ''
+ this.hospitalId = e
+ this.infolist()
this.formData.hospitalName = this.DeptList.find(item => item.value == e).text
},
changePro(e) {
@@ -360,11 +384,11 @@