From a1ff69f228b7a0d08959e6b25eff2dac6085df8d Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期四, 21 九月 2023 17:59:23 +0800 Subject: [PATCH] 1、优化数据报表模块页面布局 2、修复因时间选择器的showTime属性导致的布局混乱 3、删除假期管理页面中重复的导出按钮组件 --- src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue b/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue index 19f2705..e37659d 100644 --- a/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue +++ b/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue @@ -33,7 +33,7 @@ </a-row> <a-row :gutter="24"> - <a-col :md="14" :sm="14" :xs="14"> + <a-col :md="15" :sm="15" :xs="15"> <a-checkbox-group :value="checkedList" :default-value="['lyl']" :options="efficiencyOptions" @change="efficiencyOptionsOnChange"/> </a-col> @@ -49,7 +49,7 @@ </a-row> </a-form> </div> - <div style="width: 400px;top: 20px; right: 0px;"> + <div style="width: 530px;top: 20px; right: 0px;"> <table cellpadding="5" cellspacing="1" style="border: 1px solid darkgray;"> <tr> <td v-for="(item, index) in identifying">{{item.title}}</td> @@ -370,11 +370,11 @@ }) }, initShiftSubList(val) { - this.queryParam.shiftSubId = null; + //姣忔閲嶆柊閫夋嫨鐝埗鏃剁彮娆℃竻绌轰笖鏄剧ずplaceholder鍐呭 + this.queryParam.shiftSubId = undefined; getAction(this.url.initShiftSubList, { shiftId: val }).then((res) => { if (res.success) { this.shiftSubList = res.result; - } }) }, @@ -420,14 +420,24 @@ this.checkedList = checkedList }, searchQuery() { - if(this.queryParam.typeTree == "1"){ - this.queryParam.parentId = this.queryParamEquip.parentId - this.queryParam.equipmentId = this.queryParamEquip.equipmentId + if(this.dates != ''){ + if(this.queryParam.typeTree == "1"){ + this.queryParam.parentId = this.queryParamEquip.parentId + this.queryParam.equipmentId = this.queryParamEquip.equipmentId + }else{ + this.queryParam.parentId = this.queryParamPeople.parentId + this.queryParam.equipmentId = "" + } + this.loadData() }else{ - this.queryParam.parentId = this.queryParamPeople.parentId - this.queryParam.equipmentId = "" + // this.$message.warning("璇烽�夋嫨鏃堕棿") + console.log('瑙﹀彂鎻愮ず') + this.$notification.warning({ + message:'娑堟伅', + description:"璇烽�夋嫨鏃堕棿" + }); } - this.loadData() + // this.onClearSelected() }, searchReset() { -- Gitblit v1.9.3