|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="main-box">
|
|
|
- <TreeFilter title="机型机号列表" :is-all="false" :check-strictly="true" :data="treeFilterData" :default-value="'0'" @change="changeTreeFilter" />
|
|
|
+ <TreeFilter title="机型机号" :is-all="false" :check-strictly="true" :data="treeFilterData" :default-value="'0'" @change="changeTreeFilter" />
|
|
|
<div class="table-box">
|
|
|
<ProTable ref="proTable" :columns="columns" row-key="id" :request-api="listDataImportApi" :init-param="initParam">
|
|
|
<!-- 表格 header 按钮 -->
|
|
@@ -39,6 +39,7 @@ import FormDialog from '@/components/FormDialog/index.vue'
|
|
|
import { ProTableInstance, ColumnProps } from '@/components/ProTable/interface'
|
|
|
import { listDataImportApi, delDataImportApi, addDataImportApi, updateDataImportApi, getDataImportApi } from '@/api/modules/als/dataImport'
|
|
|
import { treeSelectApi } from '@/api/modules/als/aircraft'
|
|
|
+import { selectSortieApi } from '@/api/modules/als/sortie'
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance
|
|
|
const { sys_common_status, common_type } = toRefs<any>(proxy?.useDict('sys_common_status', 'common_type'))
|
|
|
onMounted(() => {
|
|
@@ -204,6 +205,10 @@ const setItemsOptions = () => {
|
|
|
prop: 'sortieNo',
|
|
|
rules: [{ required: true, message: '架次号不能为空', trigger: 'blur' }],
|
|
|
compOptions: {
|
|
|
+ elTagName: 'select',
|
|
|
+ enum: selectSortieApi,
|
|
|
+ valueKey: 'id',
|
|
|
+ labelKey: 'sortieNo',
|
|
|
placeholder: '请输入架次号'
|
|
|
}
|
|
|
},
|