From 7cdd8308f81bd4e0a2f89ec1bbf96956fd9f0f27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?=
<14103883+leaf-phos@user.noreply.gitee.com>
Date: Wed, 23 Apr 2025 18:35:21 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/bst/reconciliationDate.js | 44 +++
.../Business/Channel/ChannelSelect.vue | 56 ++++
src/views/bst/area/index.vue | 2 +-
src/views/bst/device/index.vue | 10 +-
src/views/bst/reconciliationDate/index.vue | 313 ++++++++++++++++++
5 files changed, 419 insertions(+), 6 deletions(-)
create mode 100644 src/api/bst/reconciliationDate.js
create mode 100644 src/components/Business/Channel/ChannelSelect.vue
create mode 100644 src/views/bst/reconciliationDate/index.vue
diff --git a/src/api/bst/reconciliationDate.js b/src/api/bst/reconciliationDate.js
new file mode 100644
index 0000000..72416d0
--- /dev/null
+++ b/src/api/bst/reconciliationDate.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询渠道对账列表
+export function listReconciliationDate(query) {
+ return request({
+ url: '/bst/reconciliationDate/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询渠道对账详细
+export function getReconciliationDate(id) {
+ return request({
+ url: '/bst/reconciliationDate/' + id,
+ method: 'get'
+ })
+}
+
+// 新增渠道对账
+export function addReconciliationDate(data) {
+ return request({
+ url: '/bst/reconciliationDate',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改渠道对账
+export function updateReconciliationDate(data) {
+ return request({
+ url: '/bst/reconciliationDate',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除渠道对账
+export function delReconciliationDate(id) {
+ return request({
+ url: '/bst/reconciliationDate/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/components/Business/Channel/ChannelSelect.vue b/src/components/Business/Channel/ChannelSelect.vue
new file mode 100644
index 0000000..0b7dca3
--- /dev/null
+++ b/src/components/Business/Channel/ChannelSelect.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
diff --git a/src/views/bst/area/index.vue b/src/views/bst/area/index.vue
index 5ff3180..2a9fbe0 100644
--- a/src/views/bst/area/index.vue
+++ b/src/views/bst/area/index.vue
@@ -216,7 +216,7 @@ export default {
{key: 'id', visible: false, label: 'ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: "80"},
{key: 'name', visible: true, label: '名称', minWidth: "200", sortable: true, overflow: false, align: 'left', width: null},
{key: 'areaTimeStart', visible: true, label: '运营时间', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
- {key: 'subArea', visible: true, label: '电子围栏', minWidth: "200", sortable: true, overflow: false, align: 'center', width: null},
+ {key: 'subArea', visible: true, label: '电子围栏', minWidth: "200", sortable: false, overflow: false, align: 'center', width: null},
{key: 'userName', visible: true, label: '运营商', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
{key: 'createName', visible: true, label: '创建人', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
{key: 'createTime', visible: true, label: '创建时间', minWidth: null, sortable: true, overflow: false, align: 'center', width: "180"},
diff --git a/src/views/bst/device/index.vue b/src/views/bst/device/index.vue
index 84b1f23..97a7f9f 100644
--- a/src/views/bst/device/index.vue
+++ b/src/views/bst/device/index.vue
@@ -42,11 +42,10 @@
/>
-
@@ -430,6 +429,7 @@ import DeviceTransferDialog from '@/views/bst/device/components/DeviceTransferDi
import DeviceSn from '@/views/bst/device/components/DeviceSn.vue';
import UserLink from '@/components/Business/User/UserLink.vue';
import DeviceLink from '@/components/Business/Device/DeviceLink.vue';
+import AreaRemoteSelect from '@/components/Business/Area/AreaRemoteSelect.vue';
// 默认排序字段
const defaultSort = {
@@ -441,7 +441,7 @@ export default {
name: "Device",
mixins: [$showColumns, $device],
dicts: ['device_status', 'device_lock_status', 'device_iot_status', 'device_online_status', 'device_quality', 'device_music'],
- components: {FormCol, DeviceEditDialog, BooleanTag, DeviceTransferDialog, DeviceSn, UserLink, DeviceLink},
+ components: {FormCol, DeviceEditDialog, BooleanTag, DeviceTransferDialog, DeviceSn, UserLink, DeviceLink, AreaRemoteSelect},
props: {
query: {
type: Object,
diff --git a/src/views/bst/reconciliationDate/index.vue b/src/views/bst/reconciliationDate/index.vue
new file mode 100644
index 0000000..e9bd868
--- /dev/null
+++ b/src/views/bst/reconciliationDate/index.vue
@@ -0,0 +1,313 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+ {{d.row[column.key]}}
+
+
+ {{d.row[column.key] | fix2 | dv}}
+
+
+ {{d.row[column.key] | fix2 | dv}}
+
+
+ {{d.row[column.key] | fix2 | dv}}
+ {{d.row[column.key] | fix2 | dv}}
+
+
+ {{d.row[column.key]}}
+
+
+
+
+
+
+
+
+
+
+
+