From 4cf74834fe5ac6229035b72312b75958495e60d3 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期二, 19 八月 2025 15:35:08 +0800
Subject: [PATCH] 1
---
src/views/doctor/examination/index.vue | 45 ++++++++++++++++++++++++---------------------
1 files changed, 24 insertions(+), 21 deletions(-)
diff --git a/src/views/doctor/examination/index.vue b/src/views/doctor/examination/index.vue
index e433490..7ab7d2c 100644
--- a/src/views/doctor/examination/index.vue
+++ b/src/views/doctor/examination/index.vue
@@ -214,9 +214,9 @@
<el-radio :label="1">鍏朵粬</el-radio>
</el-radio-group>
</el-form-item>
-
+ <!-- filterable -->
<el-form-item label="寮冩鍘熷洜" prop="yy" style="margin-left: 20px" v-if="form.isZybUnit == 1">
- <el-select filterable v-model="form.yy" placeholder="璇烽�夋嫨寮冩鍘熷洜" clearable style="width: 150px">
+ <el-select v-model="form.yy" placeholder="璇烽�夋嫨寮冩鍘熷洜" clearable style="width: 150px">
<el-option v-for="dict in dict.type.qj_type" :key="dict.value" :label="dict.label" :value="dict.label" />
</el-select>
</el-form-item>
@@ -631,13 +631,12 @@
this.open = false
},
submitFormqijian() {
- this.open = false
-
if (this.form.isZybUnit == 0) {
const tjNUm = this.selectedTjNumber;
const proId = this.rowProId;
qijian(tjNUm, proId).then((res) => {
if (res.code == 200) {
+ this.open = false
cSWebGetPro(tjNUm).then((res) => {
if (res.code === 200) {
// 鏇存柊鍙宠竟琛ㄦ牸鐨勬暟鎹�
@@ -648,24 +647,28 @@
}
});
} else {
- let data = {
- tjNum: this.selectedTjNumber,
- proId: this.rowProId,
- yy: this.form.yy,
- }
- csymxmxzqtyybcjk(data).then((res) => {
- if (res.code == 200) {
- cSWebGetPro(this.selectedTjNumber).then((res) => {
- if (res.code === 200) {
- // 鏇存柊鍙宠竟琛ㄦ牸鐨勬暟鎹�
- this.xiangmuList = res.data;
- this.isLoading = false
- }
- });
+ if (this.form.yy != null) {
+ let data = {
+ tjNum: this.selectedTjNumber,
+ proId: this.rowProId,
+ yy: this.form.yy,
}
- });
+ csymxmxzqtyybcjk(data).then((res) => {
+ if (res.code == 200) {
+ cSWebGetPro(this.selectedTjNumber).then((res) => {
+ if (res.code === 200) {
+ this.open = false
+ // 鏇存柊鍙宠竟琛ㄦ牸鐨勬暟鎹�
+ this.xiangmuList = res.data;
+ this.isLoading = false
+ }
+ });
+ }
+ });
+ } else {
+ this.$modal.msgError("璇烽�夋嫨寮冩鍘熷洜");
+ }
}
-
},
// 寮冩鎸夐挳
@@ -688,7 +691,7 @@
});
} else {
this.open = true
- this.form ={}
+ this.form = {}
// qijian(tjNUm, proId).then((res) => {
// if (res.code == 200) {
// cSWebGetPro(tjNUm).then((res) => {
--
Gitblit v1.8.0