Fixiaobai
2023-08-28 3de1e3c62cfc0333e57643a2e1f116d4b83ea6f8
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() {