|
@@ -21,7 +21,7 @@
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="出院科室">
|
|
|
<el-select v-model="data.department" clearable filterable :disabled="!!depId" placeholder="请选择" style="width: 350px">
|
|
|
- <el-option v-for="(item, index) in departmentList" :label="item.name" :value="item.name" :key="index"></el-option>
|
|
|
+ <el-option v-for="(item, index) in departmentList" :label="item.dep_name" :value="item.dep_name" :key="index"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -141,9 +141,9 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getDepList() {
|
|
|
- this.$axios.post('/selectInfo').then(res => {
|
|
|
- this.departmentList = res.data.department.slice(1, res.data.department.length);
|
|
|
- this.getUserDepName()
|
|
|
+ this.$axios.post('/case-quality/warning/get_admin_department').then(res => {
|
|
|
+ this.departmentList = res.data || [];
|
|
|
+ // this.getUserDepName()
|
|
|
});
|
|
|
},
|
|
|
onSubmit() {
|