You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
2.7 KiB
82 lines
2.7 KiB
<template>
|
|
<div class="page-box" v-loading="Loading.appMainLoading">
|
|
<tablePagination
|
|
v-if="apiTableColumns"
|
|
:currenButtonData="currenButtonData"
|
|
:tableData="tableData"
|
|
:tableLoading="Loading.tableLoading"
|
|
:tableColumns="apiTableColumns"
|
|
@rowDrop="rowDrop"
|
|
:totalCount="totalCount"
|
|
:multipleSelection="multipleSelection"
|
|
:MaxResultCount="PageListParams.MaxResultCount"
|
|
@topbutton="topbutton"
|
|
@inlineDialog="inlineDialog"
|
|
@sortChange="sortChange"
|
|
@alertoldSkipCount="alertoldSkipCount"
|
|
@alterResultCount="alterResultCount"
|
|
@handleSelectionChange="handleSelectionChange"
|
|
:currentPageProps="oldSkipCount"
|
|
:quicklySearchOption="quicklySearchOption"
|
|
@quicklySearchClick="quicklySearchClick"
|
|
@quicklySearchClear="quicklySearchClear"
|
|
:primarySearchOption="primarySearchOption"
|
|
@overallSearchFormClick="overallSearchFormClick"
|
|
:httpOverallSearchData="httpOverallSearchData"
|
|
>
|
|
</tablePagination>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { tableMixins } from "@/mixins/TableMixins";
|
|
import { LoadingMixins } from "@/mixins/LoadingMixins";
|
|
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
|
|
import { mixins } from "@/mixins/mixins";
|
|
import { comingToWms_file } from "@/api/wms-interface"
|
|
import * as isLocalApiTableColums from "@/utils/isLocalApiTableColums/index" //全局从接口缓存的表头(如:接口监控看板)
|
|
|
|
export default {
|
|
name: "comingToWms_file",
|
|
mixins: [
|
|
tableMixins,
|
|
LoadingMixins,
|
|
TableHeaderMixins,
|
|
mixins,
|
|
],
|
|
data() {
|
|
return {
|
|
apiTableColumns:null,
|
|
//常用按钮数据
|
|
currenButtonData: [
|
|
this.defaultFieldSettingBtn(),//字段设置
|
|
this.defaultFreshBtn(),//刷新
|
|
// this.defaultFilterBtn(),//筛选
|
|
],
|
|
};
|
|
},
|
|
mounted() {
|
|
this.paging();
|
|
},
|
|
methods: {
|
|
//渲染数据
|
|
paging(callback) {
|
|
this.Loading.tableLoading = true;
|
|
this.apiTableColumns = isLocalApiTableColums[this.$route.name]
|
|
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
|
|
comingToWms_file(this.PageListParams)
|
|
.then(result => {
|
|
let res = result.data
|
|
this.tableData = res.items
|
|
this.totalCount = res.totalCount
|
|
this.pagingCallback(callback)
|
|
})
|
|
.catch(err => {
|
|
this.Loading.tableLoading = false
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
@import "@/styles/basicData.scss";
|
|
</style>
|