From 6ecc790c14ac7d22aeaab5512b0093931620a310 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 31 八月 2023 09:19:24 +0800
Subject: [PATCH] modified: .env.development
---
src/views/experiment/inspectionApplication/Viewdetails/index.vue | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/src/views/experiment/inspectionApplication/Viewdetails/index.vue b/src/views/experiment/inspectionApplication/Viewdetails/index.vue
index 8e0fb3c..04d49ea 100644
--- a/src/views/experiment/inspectionApplication/Viewdetails/index.vue
+++ b/src/views/experiment/inspectionApplication/Viewdetails/index.vue
@@ -1,7 +1,7 @@
<template>
<div>
<div style="overflow: hidden;">
- <el-card style="margin: 10px;" v-model="searchData" >
+ <el-card style="margin: 10px;" >
<div slot="header" class="clearfix">
<span>
<i slot="prefix" class="el-icon-s-home" />
@@ -116,7 +116,7 @@
<el-table-column prop="userName" label="缁忛獙浜�">
<template slot-scope="scope">
<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-option v-for="(item,indxe) in ZERENren" :key="indxe" :label="item.name" :value="item.name"></el-option>
</el-select>
</template>
</el-table-column>
@@ -125,7 +125,7 @@
label="瀹為獙璁惧">
<template slot-scope="scope">
<el-select v-model="SHEbei" size="small" slot="append" style="width: 220px;">
- <el-option v-for="item in getDevices" :key="item.id" :label="item.name"></el-option>
+ <el-option v-for="(item,index) in getDevices" :key="index" :label="item.name"></el-option>
</el-select>
</template>
</el-table-column>
@@ -141,10 +141,20 @@
export default {
data(){
return {
- searchData:{ },
+ searchData:{
+ formTime: '',
+ supplier: '',
+ code: '',
+ name: '',
+ specifications: '',
+ unit: '',
+ num: '',
+ endTime: '',
+ userName: '',
+ },
insProducts:[],
value:'',
- SHEbei:'',
+ SHEbei:[],
aaa:{},
ZERENren:[],
// getDevices:[]
@@ -175,12 +185,7 @@
this.ZERENren = res.data
console.log(this.ZERENren);
},
- //璁惧
- // getDevices() {
- // get(this.$url.chooseinstum).then(res => {
- // this.devices = res.data
- // })
- // },
+
async chooseinstum(){
const res = await chooseinstum()
this.getDevices = res.data
--
Gitblit v1.9.3