Commit 1eaf78be authored by 高滢's avatar 高滢

使用

parent 177f055d
......@@ -25,6 +25,13 @@ export function listUseManagementAll(query) {
})
}
// 导出
// 检查项目
export function selectCheckItem(query) {
return request({
url: '/business/item/checkListByDept',
method: 'get',
params: query
})
}
......@@ -12,10 +12,10 @@
<el-form-item prop="status">
<el-select v-model="queryParams.checkItemsIdList" placeholder="检查项目" multiple collapse-tags clearable>
<el-option
v-for="dict in dict.type.exam_type"
:key="dict.value"
:label="dict.label"
:value="dict.value"
v-for="(item,index) in checkList"
:key="index"
:label="item.dictName"
:value="item.id"
/>
</el-select>
</el-form-item>
......@@ -153,13 +153,15 @@
</template>
<script>
import { listUseManagement, listUseManagementAll } from '@/api/business/use'
import { listUseManagement, listUseManagementAll, selectCheckItem } from '@/api/business/use'
export default {
name: 'UseManagement',
dicts: ['exam_type', 'device_status', 'pet_insure'],
data() {
return {
// 检查项目下拉框
checkList: [],
// 宠物保险下拉框
insureList: [
{
......@@ -241,8 +243,15 @@ export default {
},
created() {
this.getUseList()
this.getCheckList()
},
methods: {
// 检查项目下拉框
getCheckList() {
selectCheckItem().then(res => {
this.checkList = res
})
},
// 搜索
handleQuery() {
this.queryParams.pageNum = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment