From 120cf05bfd146a9bd1c011c9dd0244a57d0dea64 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 12 一月 2024 17:35:43 +0800 Subject: [PATCH] 1、优化代码:mdc全局页面表格区域内容若需滚动无需翻至最底部且部分页面竖向滚动会滚动整个页面调整为仅滚动表格区域,表格操作列右固定以满足不同分辨率下操作列始终显示不被遮挡 2、优化代码:mdc全局左侧树组件所在区域的滚动条将不再进行全部内容滚动,调整为仅只有树组件内容滚动 3、优化代码:报警分析、利用率走势分析以及利用率分段分析页面在浏览器窗口尺寸变化后重绘图表以适应页面新尺寸 4、设备综合效率分析页面取消分页器以便能一次性导出所有表格数据 5、mdc全局左侧树区域宽度增大,右侧数据展示区域宽度减小 --- src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue b/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue index 6e6cd73..96d469c 100644 --- a/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue +++ b/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue @@ -14,17 +14,17 @@ <a-row :span='24'> <a-col :span='12'> <a-form-model-item label='鍗曟嵁鍙�' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='num'> - <a-input v-model='model.num' placeholder='璇疯緭鍏ュ崟鎹彿'></a-input> + <a-input v-model='model.num' placeholder='璇疯緭鍏ュ崟鎹彿' :disabled="disableSubmit"></a-input> </a-form-model-item> </a-col> <a-col :span='12'> <a-form-model-item label='涓氬姟绫诲瀷' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='businessType'> <j-dict-select-tag allow-clear - :disabled='disableSubmit' v-model='model.businessType' :placeholder="disableSubmit?'':'璇烽�夋嫨绫诲瀷'" :triggerChange='true' + :disabled="disableSubmit" dictCode='business_type' /> </a-form-model-item> @@ -36,6 +36,7 @@ <a-select placeholder='璇烽�夋嫨' v-model='model.useDepartId' + :disabled="disableSubmit" :options='this.departVoList' style='width: 100%' /> @@ -44,7 +45,7 @@ <a-col :span='12'> <a-form-model-item label='澶囨敞' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='remark'> - <a-textarea v-model='model.remark' placeholder='璇疯緭鍏ュ娉�'></a-textarea> + <a-textarea v-model='model.remark' placeholder='璇疯緭鍏ュ娉�' :disabled="disableSubmit"></a-textarea> </a-form-model-item> </a-col> @@ -55,6 +56,7 @@ type='primary' :style="{ marginRight: '8px',marginBottom:'8px' }" :loading='confirmLoading' + :disabled="disableSubmit" @click='selectInspectionProjects()' >璁惧淇℃伅 </a-button> @@ -76,6 +78,7 @@ <a-date-picker :value='text' + :disabled="disableSubmit" v-if="col.dataIndex == 'actualReturnDate'" format='YYYY-MM-DD HH:mm:ss' @change='(e)=>handleChange(e, record.key, col, index)' @@ -89,6 +92,7 @@ > <a-popconfirm title='纭畾鍒犻櫎鍚�?' + :disabled="disableSubmit" @confirm='() => handleDelete(text,record, index)' > <a>鍒犻櫎</a> @@ -106,6 +110,7 @@ <a-button @click='handleOk()' type='primary' + :disabled="disableSubmit" :loading='confirmLoading' >纭畾 </a-button> @@ -149,7 +154,7 @@ width: 100 }, { - title: '璁惧缂栫爜', + title: '缁熶竴缂栫爜', align: 'center', width: 100, dataIndex: 'equipmentNum' @@ -200,14 +205,14 @@ { title: '璐d换鐝粍', align: 'center', - dataIndex: 'responsibilityTeamId' + dataIndex: 'responsibilityTeamName' }, { title: '璐d换浜�', align: 'center', - dataIndex: 'responsibilityUserId' + dataIndex: 'responsibilityUserName' }, { title: '鎿嶄綔', @@ -292,7 +297,9 @@ technicalStatus: data[i].technologyStatus_dictText, responsibilityTeamId: data[i].teamId, responsibilityUserId: data[i].functionary, - actualBorrowDate:data[i].updateTime + actualBorrowDate:data[i].updateTime, + responsibilityUserName:data[i].functionary_dictText, + responsibilityTeamName:data[i].teamId_dictText, }) } -- Gitblit v1.9.3