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 @@