From 62b5cdb9d4b5f34f10b517a3476806bec133fb2f Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期一, 28 八月 2023 09:10:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/views/experiment/inspectionApplication/Viewdetails/index.vue | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/src/views/experiment/inspectionApplication/Viewdetails/index.vue b/src/views/experiment/inspectionApplication/Viewdetails/index.vue
index e61c489..3bd61b2 100644
--- a/src/views/experiment/inspectionApplication/Viewdetails/index.vue
+++ b/src/views/experiment/inspectionApplication/Viewdetails/index.vue
@@ -87,6 +87,7 @@
<el-card style="margin: 10px;">
<el-table
:data="insProducts"
+ height="calc(80vh - 250px)"
border
style="width: 100%">
<el-table-column
@@ -136,20 +137,30 @@
</div>
</template>
<script>
- import { selectInspectsListById,selectUser} from '@/api/experiment/planAssignments'
+ import { selectInspectsListById} from '@/api/experiment/planAssignments'
export default {
data(){
return {
searchData:{ },
insProducts:[],
uu:'',
- value:''
+ value:'',
+ aaa:{}
}
},
created(){
- this.uu = this.$route.query.id;
+ // if(this.$route.query){
+ // this.uu = this.$route.query.id;
+ // }
+ this.aaa = this.$route.query
+ // if(this.$route.query){
+ // this.aaa = this.$router.query.data1
+ // console.log(this.aaa);
+ // }
+ console.log(this.aaa);
this.selectInspectsListById()
- this.selectUser()
+ // this.selectUser()
+
},
methods: {
//杩斿洖
@@ -162,9 +173,10 @@
this.ZERENren = res.data
// console.log(this.ZERENren);
},
+ //妯欐簴搴�
//妫�楠屽崟琛�
async selectInspectsListById() {
- const res = await selectInspectsListById({id:this.uu})
+ const res = await selectInspectsListById({id:this.aaa.id})
this.searchData = res.data
this.insProducts = res.data.insProducts
}
--
Gitblit v1.9.3