|
@@ -29,17 +29,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="架次号" prop="sortieNo">
|
|
|
- <LTable
|
|
|
- ref="sortieNoTableRef"
|
|
|
- :defaultFetch="false"
|
|
|
- :fetch="sortieNoFetch"
|
|
|
- @selection-change="sortieNoSelection"
|
|
|
- class="single-select-table"
|
|
|
- :columns="sortieNoColumns"
|
|
|
- :dataSource="sortieNoList"
|
|
|
- :options="sortieNoOptions"
|
|
|
- :pagination="SortieNoTableRequset"
|
|
|
- ></LTable>
|
|
|
+ <LTable ref="sortieNoTableRef" :defaultFetch="false" :fetch="sortieNoFetch" @selection-change="sortieNoSelection" class="single-select-table" :columns="sortieNoColumns" :dataSource="sortieNoList" :options="sortieNoOptions"></LTable>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="部件" prop="partId">
|
|
|
<treeselect noOptionsText="该机型暂无构型信息,请在构型管理中添加" :value="form.partId" :normalizer="normalizer" :options="partsData" :show-count="true" placeholder="请选择部件" @select="partIdSelect" />
|
|
@@ -71,7 +61,7 @@ import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
|
|
import { getAirConfiguration } from '@/api/als/airConfiguration'
|
|
|
import { handleTree } from '../utils/common'
|
|
|
import { executeEvaluation } from '@/api/als/algorithm'
|
|
|
-import { getDataImport } from '@/api/als/dataImport'
|
|
|
+import { getAllDataImport } from '@/api/als/dataImport'
|
|
|
|
|
|
export default {
|
|
|
name: 'LifePrediction',
|
|
@@ -208,12 +198,6 @@ export default {
|
|
|
border: true,
|
|
|
height: '250px'
|
|
|
},
|
|
|
- SortieNoTableRequset: {
|
|
|
- total: 0,
|
|
|
- pageIndex: 1,
|
|
|
- pageSize: 10,
|
|
|
- searchValue: ''
|
|
|
- },
|
|
|
sortieNoList: [],
|
|
|
sortieNoCheckItems: [],
|
|
|
form: {
|
|
@@ -336,13 +320,10 @@ export default {
|
|
|
this.sortieNoCheckItems = []
|
|
|
try {
|
|
|
if (this.$refs.sortieNoTableRef) this.$refs.sortieNoTableRef.clearSelection()
|
|
|
- const { keyWord } = this
|
|
|
- const { pageSize, pageIndex } = this.SortieNoTableRequset
|
|
|
- const {
|
|
|
- data: { list, total }
|
|
|
- } = await getDataImport({ pageSize, pageNum: pageIndex, ...params, source: 1 })
|
|
|
- this.sortieNoList = list
|
|
|
- this.SortieNoTableRequset.total = total
|
|
|
+ const { code, data } = await getAllDataImport({ ...params, source: 1 })
|
|
|
+ if (code === 200) {
|
|
|
+ this.sortieNoList = data
|
|
|
+ }
|
|
|
} catch (error) {}
|
|
|
},
|
|
|
|