|
@@ -35,7 +35,10 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
<!-- 检索内容 -->
|
|
|
- <el-input v-model="item.value" :disabled="item.lock" placeholder="请输入" style="width: 237px;" />
|
|
|
+ <el-select v-if="item.key === 'ks'" v-model="item.value" filterable clearable placeholder="请选择" style="width: 237px;">
|
|
|
+ <el-option v-for="(item, index) in departmentList" :label="item.name" :value="item.id" :key="index"></el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-input v-else v-model="item.value" :disabled="item.lock" placeholder="请输入" style="width: 237px;" />
|
|
|
<span class="btn-group" :class="{'btn-group1': form.field.length !== 1 && index == form.field.length - 1, 'btn-group2': index != form.field.length - 1 && searchNum, 'btn-group3': index == form.field.length - 1 && searchNum }">
|
|
|
<el-button
|
|
|
v-if="index != 0 && !item.lock"
|
|
@@ -230,7 +233,8 @@ import { dateFormat } from '@/utils/index'
|
|
|
pageSize: 10,
|
|
|
},
|
|
|
resultSearch: 0,
|
|
|
- searchNum: 0
|
|
|
+ searchNum: 0,
|
|
|
+ departmentList: []
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -242,6 +246,9 @@ import { dateFormat } from '@/utils/index'
|
|
|
this.$router.push({ path: '/outpatientMedicalRecordDetail', query: { blbh, from: 'search' } })
|
|
|
},
|
|
|
selectInfo() {
|
|
|
+ this.$axios.post('/get_omr_department_list').then(res => {
|
|
|
+ this.departmentList = res.data;
|
|
|
+ });
|
|
|
this.$axios.post('/omr_zk/serach_type_list').then(res => {
|
|
|
this.fieldList = res.data;
|
|
|
});
|