From 8231542d77a49f80a49434be6ca8bfb3ae9e1efe Mon Sep 17 00:00:00 2001 From: XiaoRuby <3114200645@qq.com> Date: 星期一, 28 八月 2023 09:26:21 +0800 Subject: [PATCH] 8-28 --- src/views/experiment/inspectionApplication/Viewdetails/index.vue | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/experiment/inspectionApplication/Viewdetails/index.vue b/src/views/experiment/inspectionApplication/Viewdetails/index.vue index 11b78d2..e61c489 100644 --- a/src/views/experiment/inspectionApplication/Viewdetails/index.vue +++ b/src/views/experiment/inspectionApplication/Viewdetails/index.vue @@ -114,8 +114,8 @@ </el-table-column> <el-table-column prop="userName" label="缁忛獙浜�"> <template slot-scope="scope"> - <el-select v-model="ZERENren" size="small" slot="append" style="width: 220px;"> - <el-option v-for="item in ZERENren" :key="item.id" :label="item.name">{{ item}}</el-option> + <el-select v-model="value" size="small" slot="append" style="width: 220px;"> + <el-option v-for="item in ZERENren" :key="item.id" :label="item.name" :value="item.name"></el-option> </el-select> </template> </el-table-column> @@ -142,16 +142,14 @@ return { searchData:{ }, insProducts:[], - ZERENren:{ - }, - uu:'' + uu:'', + value:'' } }, created(){ - console.log(this.$route.query.id); this.uu = this.$route.query.id; this.selectInspectsListById() - // this.selectUser() + this.selectUser() }, methods: { //杩斿洖 @@ -162,6 +160,7 @@ async selectUser(){ const res = await selectUser() this.ZERENren = res.data + // console.log(this.ZERENren); }, //妫�楠屽崟琛� async selectInspectsListById() { -- Gitblit v1.9.3