From 5cfc97edd66731e2ebeea36072ec160a25a7bbf3 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期四, 23 十一月 2023 18:21:44 +0800 Subject: [PATCH] qxtj --- src/views/doctor/checkAll/index.vue | 36 ++++++++++++++++++++++++++++-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index cb024df..41732ba 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -133,7 +133,6 @@ type="text" size="mini" @click=" - dialogVisible = true; viewReport(scope.row); " v-if="scope.row.tjStatus == '1'" @@ -233,7 +232,7 @@ > <caption style="background-color: #f8f8f9"> {{ - item.parent + item.parent || "" }} </caption> <tr @@ -295,8 +294,19 @@ border-collapse: collapse; width: 200px; " + v-if="item1.project != null" > - {{ item1.project.proName }} + {{ item1.project.proName || "" }} + </td> + <td + style=" + border: 1px solid #dfe6ec; + border-collapse: collapse; + width: 200px; + " + v-else + > + {{ "" }} </td> <td style=" @@ -548,11 +558,11 @@ page: 1, pageSize: 10, tjNumber: "", - checkStatus: "", beginTime: null, endTime: null, compId: null, name: null, + checkStatus:null, }, // 鏌ヨ鍙傛暟 @@ -663,10 +673,20 @@ const flag = true; getPdf(tjNumber, flag).then((response) => { if (response.size === 0) { - this.$message.error("璇ョ敤鎴蜂綋妫�鎶ュ憡鏆傛湭瀹屾垚锛�"); - this.dialogVisible = false; + const loading = this.$loading({ + lock: true, + text: 'Loading', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }); + setTimeout(() => { + loading.close(); + }, 3000); + this.$message.msgSuccess("鎶ュ憡姝e湪鐢熸垚锛岃涓ゅ垎閽熷悗棰勮锛�"); + } else { this.dialogVisible = true; + this.url = window.webkitURL.createObjectURL(response); //灏嗗悗绔繑鍥炵殑blob鏂囦欢璇诲彇鍑簎rl } }); @@ -729,7 +749,7 @@ // 鎼滅储 submitForm() { this.queryParams.compId = this.CheckBox.drugManufacturerId; - this.queryParams.checkStatus = null; + this.queryParams.checkStatus = this.tjStatus; if (this.startTime) { this.queryParams.beginTime = this.startTime[0]; this.queryParams.endTime = this.startTime[1]; @@ -963,7 +983,7 @@ id: this.MsgId, }; gettoPdf(tjNumber).then((res) => { - this.$modal.msgSuccess("宸茬敓鎴愭姤鍛婏紒璇峰墠寰�浣撴璁板綍椤甸潰鏌ョ湅锛�"); + this.$modal.msgSuccess("宸茬敓鎴愭姤鍛婏紒璇峰墠寰�鎶ュ憡鏍告敹椤甸潰纭锛�"); }); getfiedState(data).then((res) => { this.drawer = false; -- Gitblit v1.8.0