From ba6e43f9c2b2c4724b961e584de89546b4b21f32 Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期三, 13 九月 2023 16:01:20 +0800 Subject: [PATCH] su --- src/views/doctor/check/index.vue | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 97aa9f2..18c1cd1 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -129,8 +129,7 @@ </el-radio-group> </div> </template> - - <el-table :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px"> + <el-table v-loading="loading" :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px"> <el-table-column prop="project.proName" label="妫�娴嬮」鐩�" width="150"> <!-- <template slot-scope="scope"> {{ scope.row.project.proName }} @@ -428,16 +427,17 @@ }); } }, - + vale(datas) { this.proResult = datas; // this.$refs.aaa.open = true; // this.$refs.aaa.getList(); }, - // 瑙勫垯 - handleguize(row) { + // 瑙勫垯 + handleguize(row) { this.row = row this.$refs.aaa.open = true; + this.$refs.aaa.title = "璇婃柇缁撴灉缁撹"; this.$refs.aaa.getList(this.row); }, @@ -511,8 +511,9 @@ this.submitForm(); }, - // 鐐瑰嚮璇︽儏 - handleClick(row) { + // 鐐瑰嚮璇︽儏 + handleClick(row) { + this.loading = true; this.drawer = true; this.tableAll = row; if (this.tableAll.cusSex === 0) { @@ -541,6 +542,7 @@ }; getParentId(data).then((response) => { this.proParentList = response.data; + this.loading = false; this.value = []; if (this.proParentList.xiaoJie.length != 0) { this.proParentList.xiaoJie.forEach((item2) => { @@ -614,6 +616,7 @@ } ) .then(() => { + // 浣撴鍙� let tjNumber = this.tableAll.tjNumber; this.proParentList.sons.forEach((item) => { if (this.rows) { @@ -621,17 +624,17 @@ if (item1 === item) { item = item1; } - // if (item.exceptionDesc === true) { - // item.exceptionDesc = 1; + // if (item.isReturn == true) { + // item.isReturn = 1; // } - // if (item.exceptionDesc === false) { - // item.exceptionDesc = 0; + // if (item.isReturn == false) { + // item.isReturn = 0; // } }); } - this.tjOrderDetail.push({ proName: item.project.proName, + proId: item.project.proId, orderDetailId: item.orderDetailId, flowingWaterId: item.flowingWaterId, proResult: item.proResult, @@ -642,6 +645,7 @@ rulesList: item.rulesList }); }); + var data = [ { tjNumber, @@ -649,6 +653,7 @@ remark: this.proParentList.remark, // 澶囨敞 proName: this.proName, //鐖堕」 summaryList: this.value, //灏忕粨 + doctorName: this.doctorName, tjOrderDetailList: this.tjOrderDetail, }, ]; -- Gitblit v1.8.0