Browse Source

没有明细的抽屉bug处理

noToken
安虹睿 1 year ago
parent
commit
82e1f1c29e
  1. 2
      PC/InterFace.Dash/src/mixins/TableMixins.js
  2. 30
      PC/InterFace.Dash/src/views/basicConfig/ExportCustomUserSetting.vue

2
PC/InterFace.Dash/src/mixins/TableMixins.js

@ -126,6 +126,8 @@ export const tableMixins = {
}
// 前端分页处理
// this.propsData = this.detailListPageFromFE(res)
}else{
this.Loading.DrawerLoading = false
}
}).catch(err => {
this.Loading.DrawerLoading = false

30
PC/InterFace.Dash/src/views/basicConfig/ExportCustomUserSetting.vue

@ -82,6 +82,28 @@
></importFile>
<!--抽屉-->
<curren-Drawer
ref="currenDrawer_Ref"
:title="apiColumns_DesTions"
@rowDrop="rowDrop"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:dropdownData="dropdownData"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
:firstTabs="firstTabs"
:totalCount="totalCountDetails"
:currentPage="oldSkipCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
:buttonOperationList="operationButtonsDetail"
></curren-Drawer>
<!-- <curren-Drawer
:title="apiColumns_DesTions"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
@ -95,7 +117,7 @@
@handleCommand="drawerHandle"
@close-value="closeValue"
:firstTabs="firstTabs"
></curren-Drawer>
></curren-Drawer> -->
</div>
</template>
<script>
@ -110,6 +132,8 @@
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
import { initFromApiColumnsLable } from '@/utils/index'
import * as detailsPageColumns_api from "@/utils/detailsPageColumns_api/index" //
// import { getExportConfigList } from '@/api/wms-interface'
export default {
@ -170,10 +194,12 @@
],
editRules: {
cerateRule: {
customUserSetting: [{ required: true, trigger: "blur", message: "不可为空" }],
exportColumnName: [{ required: true, trigger: "blur", message: "不可为空" }],
exportTableName: [{ required: true, trigger: "blur", message: "不可为空" }],
},
editRule: {
customUserSetting: [{ required: true, trigger: "blur", message: "不可为空" }],
exportColumnName: [{ required: true, trigger: "blur", message: "不可为空" }],
exportTableName: [{ required: true, trigger: "blur", message: "不可为空" }],
}
@ -181,7 +207,7 @@
};
},
mounted () {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api,detailsPageColumns_api)
this.paging();
},
};

Loading…
Cancel
Save