From 0f1977e10d7778b25e2df3f8e8b8e05d5d838fd9 Mon Sep 17 00:00:00 2001
From: lwh <2679599887@qq.com>
Date: Sun, 18 Jun 2023 16:34:37 +0800
Subject: [PATCH] =?UTF-8?q?feat=20=E5=88=9D=E5=A7=8B=E5=8C=96=E5=95=86?=
=?UTF-8?q?=E5=93=81=E6=9C=8D=E5=8A=A1=E4=B8=8E=E6=89=BF=E8=AF=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../GoodsServicess/goodsservices.js | 46 +++
.../GoodsServicess/components/AddDialog.vue | 176 ++++++++++++
.../components/ChooseShopDialog.vue | 117 ++++++++
.../components/DetailDialog.vue | 123 ++++++++
.../GoodsServicess/components/EditDialog.vue | 164 +++++++++++
.../GoodsManager/GoodsServicess/index.vue | 266 ++++++++++++++++++
.../components/AddDialog.vue | 2 +-
7 files changed, 893 insertions(+), 1 deletion(-)
create mode 100644 src/api/business/GoodsManager/GoodsServicess/goodsservices.js
create mode 100644 src/views/business/GoodsManager/GoodsServicess/components/AddDialog.vue
create mode 100644 src/views/business/GoodsManager/GoodsServicess/components/ChooseShopDialog.vue
create mode 100644 src/views/business/GoodsManager/GoodsServicess/components/DetailDialog.vue
create mode 100644 src/views/business/GoodsManager/GoodsServicess/components/EditDialog.vue
create mode 100644 src/views/business/GoodsManager/GoodsServicess/index.vue
diff --git a/src/api/business/GoodsManager/GoodsServicess/goodsservices.js b/src/api/business/GoodsManager/GoodsServicess/goodsservices.js
new file mode 100644
index 0000000..4b12bb8
--- /dev/null
+++ b/src/api/business/GoodsManager/GoodsServicess/goodsservices.js
@@ -0,0 +1,46 @@
+import request from '@/utils/request'
+
+/**
+ * @Descripttion: 商品服务与承诺Api接口
+ * @version: (1.0)
+ * @Author: (黎文豪)
+ * @Date: (2023-06-18)
+ * @LastEditors: (黎文豪)
+ * @LastEditTime: (2023-06-18)
+*/
+
+// 商品服务与承诺分页查询列表
+export function goodsServicesList(query) {
+ return request({
+ url: '/business/GoodsServices/getGoodsServicesList',
+ method: 'get',
+ params: query
+ })
+}
+
+// 商品服务与承诺新增或修改
+export function addOrUpdateGoodsServices(data) {
+ return request({
+ url: '/business/GoodsServices/addOrUpdateGoodsServices',
+ method: 'post',
+ data: data,
+ })
+}
+
+// 商品服务与承诺删除
+export function delGoodsServices(ids) {
+ return request({
+ url: '/business/GoodsServices/'+ ids,
+ method: 'delete'
+ })
+}
+
+// 商品服务与承诺导出
+export function exportGoodsServices(query) {
+ return request({
+ url: 'business/GoodsServices/exportGoodsServices',
+ method: 'get',
+ params: query
+ })
+}
+
diff --git a/src/views/business/GoodsManager/GoodsServicess/components/AddDialog.vue b/src/views/business/GoodsManager/GoodsServicess/components/AddDialog.vue
new file mode 100644
index 0000000..8a59e75
--- /dev/null
+++ b/src/views/business/GoodsManager/GoodsServicess/components/AddDialog.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+
+
+
+
+ 选择
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ item.dictLabel }}
+
+
+
+
+
+
+ {{
+ item.dictLabel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+ 重置
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/business/GoodsManager/GoodsServicess/components/ChooseShopDialog.vue b/src/views/business/GoodsManager/GoodsServicess/components/ChooseShopDialog.vue
new file mode 100644
index 0000000..f266d99
--- /dev/null
+++ b/src/views/business/GoodsManager/GoodsServicess/components/ChooseShopDialog.vue
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/business/GoodsManager/GoodsServicess/components/DetailDialog.vue b/src/views/business/GoodsManager/GoodsServicess/components/DetailDialog.vue
new file mode 100644
index 0000000..5621e7a
--- /dev/null
+++ b/src/views/business/GoodsManager/GoodsServicess/components/DetailDialog.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ item.dictLabel }}
+
+
+
+
+
+
+ {{
+ item.dictLabel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/business/GoodsManager/GoodsServicess/components/EditDialog.vue b/src/views/business/GoodsManager/GoodsServicess/components/EditDialog.vue
new file mode 100644
index 0000000..877428e
--- /dev/null
+++ b/src/views/business/GoodsManager/GoodsServicess/components/EditDialog.vue
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ item.dictLabel }}
+
+
+
+
+
+
+ {{
+ item.dictLabel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/business/GoodsManager/GoodsServicess/index.vue b/src/views/business/GoodsManager/GoodsServicess/index.vue
new file mode 100644
index 0000000..a3f5b64
--- /dev/null
+++ b/src/views/business/GoodsManager/GoodsServicess/index.vue
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.dictLabel }}
+
+
+
+
+ {{ item.dictLabel }}
+
+
+
+ {{ $t('btn.search') }}
+ {{ $t('btn.reset') }}
+
+
+
+
+
+
+
+
+ {{ $t('btn.add') }}
+
+
+
+
+ {{ $t('btn.delete') }}
+
+
+
+
+ {{ $t('btn.export') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/business/GoodsManager/ShopGoodsCategorys/components/AddDialog.vue b/src/views/business/GoodsManager/ShopGoodsCategorys/components/AddDialog.vue
index 8dea5f0..f980e00 100644
--- a/src/views/business/GoodsManager/ShopGoodsCategorys/components/AddDialog.vue
+++ b/src/views/business/GoodsManager/ShopGoodsCategorys/components/AddDialog.vue
@@ -79,8 +79,8 @@
import { reactive, ref, watch } from "vue";
import { ElMessage } from 'element-plus'
import modal from '@/plugins/modal.js'
-import useUserStore from '@/store/modules/user'
import { shopGoodsCategoryTreeList, addOrUpdateShopGoodsCategory } from '@/api/business/GoodsManager/ShopGoodsCategorys/shopGoodsCategory.js';
+import useUserStore from '@/store/modules/user'
import ChooseShopDialog from './ChooseShopDialog.vue';