From 4743668563890bdc1b30fe5fcf4452fbe8575020 Mon Sep 17 00:00:00 2001
From: "AERWEN\\26795" <123456789a>
Date: Sun, 22 Oct 2023 15:26:37 +0800
Subject: [PATCH] =?UTF-8?q?feat=20=E6=B7=BB=E5=8A=A0=E5=B9=B3=E5=8F=B0?=
=?UTF-8?q?=E8=B5=84=E8=B4=A8=E4=B8=8E=E8=A7=84=E8=8C=83=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Settings/PlatformSpecs/platformspec.js | 38 ++++
.../OrderManage/OrderRefunds/index.vue | 2 +-
.../PlatformSpecs/components/AddDialog.vue | 118 +++++++++++
.../PlatformSpecs/components/DetailDialog.vue | 87 ++++++++
.../PlatformSpecs/components/EditDialog.vue | 132 +++++++++++++
.../business/Settings/PlatformSpecs/index.vue | 186 ++++++++++++++++++
6 files changed, 562 insertions(+), 1 deletion(-)
create mode 100644 src/api/business/Settings/PlatformSpecs/platformspec.js
create mode 100644 src/views/business/Settings/PlatformSpecs/components/AddDialog.vue
create mode 100644 src/views/business/Settings/PlatformSpecs/components/DetailDialog.vue
create mode 100644 src/views/business/Settings/PlatformSpecs/components/EditDialog.vue
create mode 100644 src/views/business/Settings/PlatformSpecs/index.vue
diff --git a/src/api/business/Settings/PlatformSpecs/platformspec.js b/src/api/business/Settings/PlatformSpecs/platformspec.js
new file mode 100644
index 0000000..e3ac50e
--- /dev/null
+++ b/src/api/business/Settings/PlatformSpecs/platformspec.js
@@ -0,0 +1,38 @@
+import request from '@/utils/request'
+
+/**
+ * @Descripttion: 平台资质与规范Api接口
+ * @version: (1.0)
+ * @Author: (lwh)
+ * @Date: (2023-10-22)
+ * @LastEditors: (lwh)
+ * @LastEditTime: (2023-10-22)
+*/
+
+// 平台资质与规范分页查询列表
+export function platformSpecList(query) {
+ return request({
+ url: '/business/PlatformSpec/getPlatformSpecList',
+ method: 'get',
+ params: query
+ })
+}
+
+// 平台资质与规范新增或修改
+export function addOrUpdatePlatformSpec(data) {
+ return request({
+ url: '/business/PlatformSpec/addOrUpdatePlatformSpec',
+ method: 'post',
+ data: data,
+ })
+}
+
+// 平台资质与规范删除
+export function delPlatformSpec(ids) {
+ return request({
+ url: '/business/PlatformSpec/'+ ids,
+ method: 'delete'
+ })
+}
+
+
diff --git a/src/views/business/OrderManage/OrderRefunds/index.vue b/src/views/business/OrderManage/OrderRefunds/index.vue
index 5f388c3..f4b33d7 100644
--- a/src/views/business/OrderManage/OrderRefunds/index.vue
+++ b/src/views/business/OrderManage/OrderRefunds/index.vue
@@ -360,7 +360,7 @@ function getList() {
// 多选框选中数据
function handleSelectionChange(selection) {
- ids.value = selection.map((item) => item.orderId)
+ ids.value = selection.map((item) => item.orderRefundId)
single.value = selection.length != 1
multiple.value = !selection.length
}
diff --git a/src/views/business/Settings/PlatformSpecs/components/AddDialog.vue b/src/views/business/Settings/PlatformSpecs/components/AddDialog.vue
new file mode 100644
index 0000000..bde2f27
--- /dev/null
+++ b/src/views/business/Settings/PlatformSpecs/components/AddDialog.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+ 重置
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/business/Settings/PlatformSpecs/components/DetailDialog.vue b/src/views/business/Settings/PlatformSpecs/components/DetailDialog.vue
new file mode 100644
index 0000000..5e1c979
--- /dev/null
+++ b/src/views/business/Settings/PlatformSpecs/components/DetailDialog.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/business/Settings/PlatformSpecs/components/EditDialog.vue b/src/views/business/Settings/PlatformSpecs/components/EditDialog.vue
new file mode 100644
index 0000000..5e80231
--- /dev/null
+++ b/src/views/business/Settings/PlatformSpecs/components/EditDialog.vue
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/business/Settings/PlatformSpecs/index.vue b/src/views/business/Settings/PlatformSpecs/index.vue
new file mode 100644
index 0000000..8c1d516
--- /dev/null
+++ b/src/views/business/Settings/PlatformSpecs/index.vue
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+ {{ $t('btn.search') }}
+ {{ $t('btn.reset') }}
+
+
+
+
+
+
+
+
+ {{ $t('btn.add') }}
+
+
+
+
+ {{ $t('btn.delete') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+