|
@@ -54,8 +54,8 @@
|
|
|
<el-option v-for="(item,index) in technicians"
|
|
|
:key="index"
|
|
|
:label="item.realName"
|
|
|
- :disabled="form.group.map(m => m.userId).includes(item.userId)"
|
|
|
- :value="item.userId"></el-option>
|
|
|
+ :disabled="form.group.map(m => m.userId).includes(item.id)"
|
|
|
+ :value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -172,7 +172,7 @@ export default {
|
|
|
organId: this.form.organId,
|
|
|
rows: 999
|
|
|
})
|
|
|
- this.technicians = res.data
|
|
|
+ this.technicians = res.data.rows
|
|
|
this.$set(this.form, 'group', group.map(item => ({...item, userId: ''})))
|
|
|
} catch (error) {}
|
|
|
}
|