src/components/jeecgbiz/modal/JSelectDepartModal.vue
@@ -30,7 +30,7 @@ </a-spin> <!--åºé¨ç¶åå ³èæä½åç¡®è®¤åæ¶æé®--> <template slot="footer" v-if="treeOpera && multi"> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown style="float: left" :trigger="['click']" placement="topCenter"> <a-menu slot="overlay"> <a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item> @@ -280,13 +280,13 @@ // éå¶é¨é¨éæ©æ é«åº¦ï¼é¿å é¨é¨å¤ªå¤æ¶ç¹å»ç¡®å®ä¸ä¾¿ .my-dept-select-tree{ height:350px; &.fullscreen{ height: calc(100vh - 250px); } overflow-y: scroll; } .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/components/jeecgbiz/modal/JSelectEquipmentDepartModal.vue
@@ -40,7 +40,7 @@ </a-spin> <!--åºé¨ç¶åå ³èæä½åç¡®è®¤åæ¶æé®--> <!--<template slot="footer" v-if="treeOpera && multi">--> <!--<div class="drawer-bootom-button">--> <!--<div class="drawer-bottom-button">--> <!--<a-dropdown style="float: left" :trigger="['click']" placement="topCenter">--> <!--<a-menu slot="overlay">--> <!--<a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item>--> @@ -348,7 +348,7 @@ } overflow-y: scroll; } .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/components/jeecgbiz/modal/JSelectEquipmentProductionModal.vue
@@ -36,7 +36,7 @@ </a-spin> <!--åºé¨ç¶åå ³èæä½åç¡®è®¤åæ¶æé®--> <!--<template slot="footer">--> <!--<div class="drawer-bootom-button">--> <!--<div class="drawer-bottom-button">--> <!--<a-dropdown style="float: left" :trigger="['click']" placement="topCenter">--> <!--<a-menu slot="overlay">--> <!--<a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item>--> @@ -334,7 +334,7 @@ } overflow-y: scroll; } .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/components/jeecgbiz/modal/JSelectProductionModal.vue
@@ -36,7 +36,7 @@ </a-spin> <!--åºé¨ç¶åå ³èæä½åç¡®è®¤åæ¶æé®--> <!--<template slot="footer">--> <!--<div class="drawer-bootom-button">--> <!--<div class="drawer-bottom-button">--> <!--<a-dropdown style="float: left" :trigger="['click']" placement="topCenter">--> <!--<a-menu slot="overlay">--> <!--<a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item>--> @@ -296,7 +296,7 @@ } overflow-y: scroll; } .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/views/mdc/base/IdleDataMaintenance.vue
ÎļþÒÑɾ³ý src/views/mdc/base/MagnificationReport.vue
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,82 @@ <template> <div style="width: 100%; height: 100%;"> <a-card :bordered="false"> <a-row type="flex" :gutter="16"> <a-col :md="5"> <a-tabs :activeKey="activeKey" @change="tabChange"> <a-tab-pane key="1" tab="车é´å±çº§" force-render> <base-tree @getCurrSelected="changeSelectionNode"></base-tree> </a-tab-pane> <a-tab-pane v-if="isDepartType == 0" key="2" tab="é¨é¨å±çº§">, <depart-tree @getCurrSelectedDD="changeSelectionNodedd"></depart-tree> </a-tab-pane> </a-tabs> </a-col> <a-col :md="19"> <MagnificationReportList :nodePeople='selectPeople' :nodeTree='selectEquipment' :Type="selectTypeTree"/> </a-col> </a-row> </a-card> </div> </template> <script> import { JeecgListMixin } from '@/mixins/JeecgListMixin' import BaseTree from '../common/BaseTree' import MagnificationReportList from './modules/MagnificationReport/MagnificationReportList' import DepartTree from './modules/DepartList/DepartListTree/DepartTree' import { mapActions } from 'vuex' export default { name: 'MagnificationReport', components: { BaseTree, DepartTree, MagnificationReportList }, data() { return { activeKey: '1', selectEquipmentId: '', selectEquipment: {}, selectPeople: {}, selectTypeTree: '', isDepartType: '' } }, created() { this.queryTreeData() }, methods: { ...mapActions(['QueryDepartTree']), queryTreeData() { this.QueryDepartTree().then(res => { if (res.success) { this.isDepartType = res.result[0].value } else { // this.$message.warn(res.message) this.$notification.warning({ message: 'æ¶æ¯', description: res.message }) } }).finally(() => { }) }, tabChange(val) { this.activeKey = val this.selectTypeTree = val }, changeSelectionNode(val) { this.selectEquipment = val this.selectTypeTree = '1' }, changeSelectionNodedd(val) { this.selectPeople = val this.selectTypeTree = '2' } } } </script> src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue
@@ -7,7 +7,7 @@ <a v-if="this.currSelected.title" style="margin-left: 10px" @click="onClearSelected">åæ¶</a> </div> </a-alert> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown :trigger="['click']" placement="bottomCenter"> <a-menu slot="overlay"> <a-menu-item key="1" @click="expandAll">å±å¼ææ</a-menu-item> @@ -369,7 +369,7 @@ padding: 5px 15px 5px 37px; } .drawer-bootom-button { .drawer-bottom-button { position: absolute; top: 1px; /* padding: 10px 16px; */ src/views/mdc/base/modules/EquipmentFailureRepaireReport/EquipmentFailureRepaireReportList.vue
@@ -132,7 +132,7 @@ width: 150 }, { title: 'æ¥æ', title: 'æä»½', align: 'center', dataIndex: 'theDate', width: 150 src/views/mdc/base/modules/EquipmentList/EquipmentModal.vue
@@ -116,7 +116,7 @@ </a-spin> <div class="drawer-bootom-button" v-show="!disableSubmit"> <div class="drawer-bottom-button" v-show="!disableSubmit"> <a-popconfirm title="ç¡®å®æ¾å¼ç¼è¾ï¼" @confirm="handleCancel" okText="ç¡®å®" cancelText="åæ¶"> <a-button style="margin-right: .8rem">åæ¶</a-button> </a-popconfirm> @@ -539,7 +539,7 @@ padding-bottom:10px; } .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: -8px; width: 100%; src/views/mdc/base/modules/IdleDataMaintenance/IdleDataMaintenanceModal.vue
ÎļþÒÑɾ³ý src/views/mdc/base/modules/MagnificationReport/MagnificationReportList.vue
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,207 @@ <template> <div class="device_list"> <!-- æ¥è¯¢åºå --> <div class="table-page-search-wrapper"> <a-form layout="inline" @keyup.enter.native="searchQuery"> <a-row :gutter="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-form-item label="设å¤ç¼å·"> <a-input placeholder="请è¾å ¥è®¾å¤ç¼å·" v-model="queryParam.equipmentId"/> </a-form-item> </a-col> <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-form-item label="æ¥æ"> <a-range-picker value-format="YYYY-MM-DD" v-model="queryParam.dates" @change="dateParamChange"/> </a-form-item> </a-col> <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-space> <a-button type="primary" @click="searchQuery" icon="search">æ¥è¯¢</a-button> <a-button type="primary" @click="searchReset" icon="reload">éç½®</a-button> </a-space> </a-col> </a-row> </a-form> </div> <!-- æ¥è¯¢åºå-END --> <!-- æä½æé®åºå --> <div class="table-operator"> <a-button type="primary" icon="download" @click="handleExportXls('åçæ¥è¡¨')">导åº</a-button> </div> <!-- tableåºå-begin --> <div id="DeviceList" style="flex: 1;overflow: hidden"> <a-table :scroll="{x:'max-content',y:scrollY}" bordered rowKey="id" :columns="columns" :dataSource="dataSource" :pagination="ipagination" :loading="loading" @change="handleTableChange"/> </div> </div> </template> <script> import moment from 'moment' import { JeecgListMixin } from '@/mixins/JeecgListMixin' export default { name: 'MagnificationReportList', mixins: [JeecgListMixin], components: {}, props: { nodeTree: '', Type: '', nodePeople: '' }, data() { return { disableMixinCreated: true, /* å页忰 */ ipagination: { current: 1, pageSize: 30, pageSizeOptions: ['30', '50', '100'], showTotal: (total, range) => { return range[0] + '-' + range[1] + ' å ±' + total + 'æ¡' }, showQuickJumper: true, showSizeChanger: true, total: 0 }, queryParam: { dates: [moment().subtract(1, 'day').startOf('day'), moment().subtract(1, 'day').endOf('day')] }, // 表头 columns: [ { title: '#', dataIndex: '', key: 'rowIndex', width: 60, align: 'center', customRender: function(t, r, index) { return parseInt(index) + 1 } }, { title: '设å¤ç¼å·', align: 'center', dataIndex: 'equipmentId', width: 300 }, { title: '主轴åçå¹³åå¼', align: 'center', dataIndex: 'spindlebeilv' }, { title: 'è¿ç»åçå¹³åå¼', align: 'center', dataIndex: 'feedbeilv' }, { title: 'æ¥æ', align: 'center', dataIndex: 'theDate', width: 300 } ], scrollY: 465, url: { list: '/mdc/magnification/list', exportXlsUrl: '/mdc/magnification/exportXls' } } }, watch: { Type(valmath) { this.dataList = [] this.queryParam.typeTree = valmath }, nodeTree(val) { //çå¬currSelected ååï¼å°åååçæ°å¼ä¼ éç» getCurrSelected äºä»¶ if (JSON.stringify(val) != '{}') { if (val.equipmentId) { this.queryParam.parentId = '' this.queryParam.equipmentId = val.equipmentId } else { this.queryParam.parentId = val.key this.queryParam.equipmentId = '' } this.searchQuery() } }, nodePeople(val) { if (JSON.stringify(val) != '{}') { if (val.equipmentId) { this.queryParam.parentId = '' this.queryParam.equipmentId = val.equipmentId } else { this.queryParam.parentId = val.key this.queryParam.equipmentId = '' } this.searchQuery() } } }, created() { this.queryParam.startTime = moment(this.queryParam.dates[0]).format('YYYY-MM-DD') this.queryParam.endTime = moment(this.queryParam.dates[1]).format('YYYY-MM-DD') this.loadData(1) }, mounted() { window.addEventListener('resize', this.handleWindowResize) this.handleWindowResize() }, beforeDestroy() { window.removeEventListener('resize', this.handleWindowResize) }, methods: { dateParamChange(dateArray) { this.queryParam.startTime = dateArray[0] this.queryParam.endTime = dateArray[1] }, /** * 彿µè§å¨å¯è§çªå£å°ºå¯¸åçæ¹åæ¶è§¦å */ handleWindowResize() { const boxHeight = +window.getComputedStyle(document.getElementById('DeviceList')).height.slice(0, -2) const tableHeadHeight = +window.getComputedStyle(document.querySelector('.ant-table-thead th')).height.slice(0, -2) this.scrollY = boxHeight - tableHeadHeight - 100 } } } </script> <style scoped> @import '~@assets/less/common.less'; .device_list { display: flex; flex-direction: column; overflow: hidden; } @media screen and (min-width: 1920px) { .device_list { height: 811px !important; } } @media screen and (min-width: 1680px) and (max-width: 1920px) { .device_list { height: 811px !important; } } @media screen and (min-width: 1400px) and (max-width: 1680px) { .device_list { height: 663px !important; } } @media screen and (min-width: 1280px) and (max-width: 1400px) { .device_list { height: 564px !important; } } @media screen and (max-width: 1280px) { .device_list { height: 564px !important; } } </style> src/views/mdc/base/modules/deviceCalendar/DeviceCalendarAdd.vue
@@ -8,7 +8,7 @@ <span v-else>æ </span> </div> </a-alert> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown :trigger="['click']" placement="bottomCenter"> <a-menu slot="overlay"> <!--<a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item>--> @@ -51,7 +51,7 @@ </a-card> <!--<div class="drawer-bootom-button">--> <!--<div class="drawer-bottom-button">--> <!--<a-dropdown style="float: left" :trigger="['click']" placement="topCenter">--> <!--<a-menu slot="overlay">--> <!--<a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item>--> @@ -412,7 +412,7 @@ /*.tree_con{*/ /*position: relative;*/ /*}*/ .drawer-bootom-button { .drawer-bottom-button { position: absolute; top: 1px; /* padding: 10px 16px; */ @@ -486,7 +486,7 @@ padding: 5px 15px 5px 37px; } /*.drawer-bootom-button {*/ /*.drawer-bottom-button {*/ /*position: absolute;*/ /*bottom: 1px;*/ /*padding: 10px 16px;*/ src/views/mdc/base/modules/deviceCalendar/DeviceCalendarAddTree.vue
@@ -31,7 +31,7 @@ </a-form-item> </a-form> <!--<div class="drawer-bootom-button">--> <!--<div class="drawer-bottom-button">--> <!--<a-dropdown style="float: left" :trigger="['click']" placement="topCenter">--> <!--<a-menu slot="overlay">--> <!--<a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item>--> @@ -241,7 +241,7 @@ </script> <style lang="less" scoped> .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/views/system/DepartList.vue
@@ -53,7 +53,7 @@ </div> </a-card> <!---- author:os_chengtgen -- date:20190827 -- for:忢ç¶åå¾éæ¨¡å¼ =======------> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown :trigger="['click']" placement="topCenter"> <a-menu slot="overlay"> <a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item> @@ -624,7 +624,7 @@ margin-left: 3px } .drawer-bootom-button { .drawer-bottom-button { /*position: absolute;*/ bottom: 0; width: 100%; src/views/system/DepartListSync.vue
@@ -54,7 +54,7 @@ </div> </a-card> <!---- author:os_chengtgen -- date:20190827 -- for:忢ç¶åå¾éæ¨¡å¼ =======------> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown :trigger="['click']" placement="topCenter"> <a-menu slot="overlay"> <a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item> @@ -275,7 +275,7 @@ that.departTree = [] //ææçæ èç¹keyä¿¡æ¯ that.allIds = [] that.iExpandedKeys = [] //update-begin---author:wangshuai ---date:20220105 forï¼[JTC-364]sqlserver é¨é¨å¯¼å ¥å¯¼å ¥å¤±è´¥ï¼é¨é¨æ æ°æ®ä¸¢å¤±------------ //é¨é¨æ v-ifç¨å°äºloading,åä¸ä¼ loadingå²çªäºï¼æ¢ä¸ä¸ªåç§° @@ -677,7 +677,7 @@ } /** Buttonæé®é´è· */ .drawer-bootom-button { .drawer-bottom-button { /*position: absolute;*/ bottom: 0; width: 100%; src/views/system/modules/DeptRoleAuthModal.vue
@@ -31,7 +31,7 @@ </a-form-item> </a-form> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown style="float: left" :trigger="['click']" placement="topCenter"> <a-menu slot="overlay"> <a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item> @@ -198,7 +198,7 @@ </script> <style lang="less" scoped> .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/views/system/modules/DeptRoleUserModal.vue
@@ -30,7 +30,7 @@ </a-form> <div v-else><h3>æ å¯é ç½®è§è²!</h3></div> </a-spin> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown style="float: left" :trigger="['click']" placement="topCenter"> <a-menu slot="overlay"> <a-menu-item key="1" @click="checkALL">å ¨é¨å¾é</a-menu-item> @@ -186,7 +186,7 @@ </script> <style scoped> .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/views/system/modules/GateWayRouteModal.vue
@@ -104,7 +104,7 @@ </a-dropdown> </p> </a-form-model-item> <a-row :style="{textAlign:'right'}" class="drawer-bootom-button"> <a-row :style="{textAlign:'right'}" class="drawer-bottom-button"> <a-button :style="{marginRight: '8px'}" @click="handleCancel"> å ³é </a-button> @@ -368,7 +368,7 @@ </script> <style lang="less" scoped> .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%; src/views/system/modules/UserRoleModal.vue
@@ -28,7 +28,7 @@ </a-form-item> </a-form> <div class="drawer-bootom-button"> <div class="drawer-bottom-button"> <a-dropdown style="float: left" :trigger="['click']" placement="topCenter"> <a-menu slot="overlay"> <a-menu-item key="1" @click="switchCheckStrictly(1)">ç¶åå ³è</a-menu-item> @@ -185,7 +185,7 @@ </script> <style lang="less" scoped> .drawer-bootom-button { .drawer-bottom-button { position: absolute; bottom: 0; width: 100%;