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/deviceRepair/DeviceRepairList.vue | 27 +++++++++++++++------------ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue b/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue index 2359b22..f4c5aa5 100644 --- a/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue +++ b/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue @@ -6,7 +6,7 @@ <a-row :gutter="24"> <a-col :md="9" :sm="9"> <a-form-item label="鏃堕棿"> - <a-range-picker @change="dateParamChange" v-model="dates" format="YYYY-MM-DD HH:mm:ss" showTime/> + <a-range-picker @change="dateParamChange" v-model="dates" format="YYYY-MM-DD HH:mm:ss"/> </a-form-item> </a-col> <a-col :md="4" :sm="4"> @@ -33,10 +33,10 @@ </div> <!-- 鎿嶄綔鎸夐挳鍖哄煙 --> <div class="table-operator" style="display: inline;"> - <a-button v-has="'user.addrequip'" @click="handleAdd" type="primary" icon="plus">缁翠慨鏂板 + <a-button @click="handleAdd" type="primary" icon="plus">鏂板 </a-button> - <a-button v-has="'user.add'" @click="handleAddXIU" type="primary" icon="plus">浼戠彮鏂板 - </a-button> + <!--<a-button v-has="'user.add'" @click="handleAddXIU" type="primary" icon="plus">浼戠彮鏂板--> + <!--</a-button>--> </div> <!-- table鍖哄煙-begin --> @@ -64,9 +64,9 @@ </div> <!-- table鍖哄煙-end --> <device-repair-model ref="modalForm" @ok="modalFormOk"></device-repair-model> - <device-repair-model-add ref="modalFormadd" @ok="modalFormOk"></device-repair-model-add> + <!--<device-repair-model-add ref="modalFormadd" @ok="modalFormOk"></device-repair-model-add>--> <device-repair-model-edit ref="modalFormedit" @ok="modalFormOk"></device-repair-model-edit> - <!--<repair-model ref="repairModelFrom" @ok="modalFormOk"></repair-model>--> + <!--<repair-model ref="repairModelFrom" @ok="modalFormOk">0</repair-model>--> </a-card> </template> @@ -481,7 +481,7 @@ //閲嶆柊璁$畻鍒嗛〉闂 that.reCalculatePage(1) // that.$message.success(res.message); - that.$notification.warning({ + that.$notification.success({ message:'娑堟伅', description:res.message }); @@ -495,16 +495,19 @@ } }); }, + /** + * 鎵撳紑鏂板缁翠慨鎴栦紤鐝脊绐� + */ handleAdd() { this.$refs.modalForm.add(this.node) this.$refs.modalForm.title = '鏂板' this.$refs.modalForm.disableSubmit = false }, - handleAddXIU() { - this.$refs.modalFormadd.add() - this.$refs.modalFormadd.title = '鏂板' - this.$refs.modalFormadd.disableSubmit = false - }, + // handleAddXIU() { + // this.$refs.modalFormadd.add() + // this.$refs.modalFormadd.title = '鏂板' + // this.$refs.modalFormadd.disableSubmit = false + // }, pQuery(parentId) { this.queryParam.parentId = parentId[0] if(this.selectedRowKeys.length >= 1) { -- Gitblit v1.9.3