From b7ad54294da15dccc59f7b6c879af3e000024d9d Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期四, 19 六月 2025 17:51:30 +0800 Subject: [PATCH] 1、全局树组件多选设备抽屉组件增加点击树节点名称也可以选中当前节点 2、设备监控页面布局图查看设备详情时首次进入清空上一次设备信息(由于数据为定时刷新不能每次获取数据均清空) 3、设备类型管理页面调整设备类型图片尺寸以解决表格错行问题 4、设备管理页面添加或编辑设备弹窗选择设备时增加点击行即可选中 --- src/views/system/SysPositionList.vue | 44 ++++++++++++++++---------------------------- 1 files changed, 16 insertions(+), 28 deletions(-) diff --git a/src/views/system/SysPositionList.vue b/src/views/system/SysPositionList.vue index df55578..b4f1a19 100644 --- a/src/views/system/SysPositionList.vue +++ b/src/views/system/SysPositionList.vue @@ -7,31 +7,19 @@ <a-row :gutter="24"> <a-col :md="6" :sm="8"> - <a-form-item label="鑱屽姟缂栫爜"> - <a-input placeholder="璇疯緭鍏ヨ亴鍔$紪鐮�" v-model="queryParam.code"></a-input> + <a-form-item label="宀椾綅缂栫爜"> + <j-input placeholder="璇疯緭鍏ュ矖浣嶇紪鐮�" v-model="queryParam.code"></j-input> </a-form-item> </a-col> <a-col :md="6" :sm="8"> - <a-form-item label="鑱屽姟鍚嶇О"> - <a-input placeholder="璇疯緭鍏ヨ亴鍔″悕绉�" v-model="queryParam.name"></a-input> + <a-form-item label="宀椾綅鍚嶇О"> + <j-input placeholder="璇疯緭鍏ュ矖浣嶅悕绉�" v-model="queryParam.name"></j-input> </a-form-item> </a-col> - <template v-if="toggleSearchStatus"> - <a-col :md="6" :sm="8"> - <a-form-item label="鑱岀骇"> - <j-dict-select-tag v-model="queryParam.postRank" placeholder="璇烽�夋嫨鑱岀骇" dictCode="position_rank"/> - </a-form-item> - </a-col> - - </template> <a-col :md="6" :sm="8"> <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button> - <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button> - <a @click="handleToggleSearch" style="margin-left: 8px"> - {{ toggleSearchStatus ? '鏀惰捣' : '灞曞紑' }} - <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/> - </a> + <a-button type="info" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button> </span> </a-col> @@ -42,10 +30,10 @@ <!-- 鎿嶄綔鎸夐挳鍖哄煙 --> <div class="table-operator"> <a-button @click="handleAdd" type="primary" icon="plus">鏂板</a-button> - <a-button type="primary" icon="download" @click="handleExportXls('鑱屽姟琛�')">瀵煎嚭</a-button> - <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> - <a-button type="primary" icon="import">瀵煎叆</a-button> - </a-upload> +<!-- <a-button type="primary" icon="download" @click="handleExportXls('鑱屽姟琛�')">瀵煎嚭</a-button>--> +<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">--> +<!-- <a-button type="primary" icon="import">瀵煎叆</a-button>--> +<!-- </a-upload>--> <a-dropdown v-if="selectedRowKeys.length > 0"> <a-menu slot="overlay"> <a-menu-item key="1" @click="batchDel"> @@ -131,20 +119,20 @@ } }, { - title: '鑱屽姟缂栫爜', + title: '宀椾綅缂栫爜', align: 'center', dataIndex: 'code' }, { - title: '鑱屽姟鍚嶇О', + title: '宀椾綅鍚嶇О', align: 'center', dataIndex: 'name' }, - { - title: '鑱岀骇', - align: 'center', - dataIndex: 'postRank_dictText' - }, + // { + // title: '鑱岀骇', + // align: 'center', + // dataIndex: 'postRank_dictText' + // }, // { // title: '鍏徃id', // align: 'center', -- Gitblit v1.9.3