From 9d26234c1d5f760fcab4adea68984c02485bcf82 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期一, 11 十二月 2023 16:48:28 +0800 Subject: [PATCH] qxtj --- src/views/doctor/checkAll/index.vue | 45 +++++++++++++++++++++++++++------------------ 1 files changed, 27 insertions(+), 18 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index ea00391..b5e54ba 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -242,7 +242,7 @@ border-collapse: collapse; width: 200px; - " v-if="item.parentAdvice"> + " v-if="item.parentAdvice"> <el-input v-model="item.parentAdvice[index]" disabled></el-input> <!-- <el-select v-model="item.value" multiple filterable placeholder="璇烽�夋嫨" style="width: 100%" @change="xiAoJieChange($event, item)"> <el-option v-for="item1 in item.parentAdvice" :key="item1.id" :label="item1.title" :value="item1.id"> @@ -713,17 +713,21 @@ // 椤甸潰鏁版嵁 getcheckList(this.queryParams).then((response) => { - if (response.data) { - if (response.data.date) { - this.checkList = response.data.date; - } else { - this.checkList = response.data.customers; - } + if (response.code == 200) { this.loading = false; - this.total = response.data.total; - } else { - this.checkList = []; + if (response.data) { + if (response.data.date) { + this.checkList = response.data.date; + } else { + this.checkList = response.data.customers; + } + + this.total = response.data.total; + } else { + this.checkList = []; + } } + }), // 鑾峰彇鍗曚綅淇℃伅闆嗗悎 getCompany(this.queryParam).then((response) => { @@ -857,6 +861,7 @@ // 鎼滅储 submitForm() { + this.loading = true; this.queryParams.compId = this.CheckBox.drugManufacturerId; this.queryParams.checkStatus = this.tjStatus; if (this.startTime) { @@ -869,16 +874,20 @@ // 椤甸潰鏁版嵁 getcheckList(this.queryParams).then((response) => { - if (response.data.customers != null) { - this.checkList = response.data.customers; - this.checkList.forEach((item) => { - this.tjStatus = item.tjStatus.toString(); - }); + if (response.code == 200) { this.loading = false; - this.total = response.data.total; - } else { - this.checkList = []; + if (response.data.customers != null) { + this.checkList = response.data.customers; + this.checkList.forEach((item) => { + this.tjStatus = item.tjStatus.toString(); + }); + + this.total = response.data.total; + } else { + this.checkList = []; + } } + }); }, // 閲嶇疆 -- Gitblit v1.8.0