diff --git a/src/api/model/dcHeatStandardDeviceStrategyConf.js b/src/api/model/dcHeatStandardDeviceStrategyConf.js new file mode 100644 index 0000000..1b5fe3a --- /dev/null +++ b/src/api/model/dcHeatStandardDeviceStrategyConf.js @@ -0,0 +1,67 @@ +import request from '@/utils/request' + +// 查询设备策略配置列表 +export function listDcHeatStandardDeviceStrategyConf(query) { + return request({ + url: '/model/dcHeatStandardDeviceStrategyConf/list', + method: 'get', + params: query + }) +} + +// 查询设备策略配置详细 +export function getDcHeatStandardDeviceStrategyConf(id) { + return request({ + url: '/model/dcHeatStandardDeviceStrategyConf/' + id, + method: 'get' + }) +} + +// 新增设备策略配置 +export function addDcHeatStandardDeviceStrategyConf(data) { + return request({ + url: '/model/dcHeatStandardDeviceStrategyConf', + method: 'post', + data: data + }) +} + +// 批量新增设备策略配置 +export function addBatchDcHeatStandardDeviceStrategyConf(confId, list) { + return request({ + url: '/model/dcHeatStandardDeviceStrategyConf', + method: 'post', + params: { + confId: confId + }, + data: { + list: list + } + }) +} + +// 修改设备策略配置 +export function updateDcHeatStandardDeviceStrategyConf(data) { + return request({ + url: '/model/dcHeatStandardDeviceStrategyConf', + method: 'put', + data: data + }) +} + +// 删除设备策略配置 +export function delDcHeatStandardDeviceStrategyConf(id) { + return request({ + url: '/model/dcHeatStandardDeviceStrategyConf/' + id, + method: 'delete' + }) +} + +// 导出设备策略配置 +export function exportDcHeatStandardDeviceStrategyConf(query) { + return request({ + url: '/${baseUrl}/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/views/model/heatapiconf/index.vue b/src/views/model/heatapiconf/index.vue index 71f907c..23c2baa 100644 --- a/src/views/model/heatapiconf/index.vue +++ b/src/views/model/heatapiconf/index.vue @@ -3,38 +3,41 @@
- +
+ :filter-node-method="filterNode" ref="deptTreeRef" node-key="id" highlight-current default-expand-all + @node-click="handleNodeClick"/>
- + - + - + @@ -62,18 +65,21 @@ - + :max-height="tableHeight" :border="true" :column-width-draggable="true"> + - - - - - - - + + + + + + + + + + + + :fixed="fixedColumns ? 'right' : false"> - diff --git a/src/views/model/heatapiconf/paramModel.vue b/src/views/model/heatapiconf/paramModel.vue index eb8b355..ce4f080 100644 --- a/src/views/model/heatapiconf/paramModel.vue +++ b/src/views/model/heatapiconf/paramModel.vue @@ -42,6 +42,11 @@ {{ getParamClassName(scope.row.paramClassId) }} + + +