王震
2023-08-26 eee763a22022fde6332de44809d67301d6c9074c
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,15 @@
        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 +161,7 @@
      async selectUser(){
        const res = await selectUser()
        this.ZERENren = res.data
        // console.log(this.ZERENren);
      },
      //检验单表
      async selectInspectsListById() {