From 1ccdc1a0b24999c23659960918755bba7bb1f59a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com>
Date: Wed, 9 Nov 2022 17:24:31 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=AB=99=E8=B4=A6=E5=8F=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/modular/main/WebSiteaccount.js | 53 ++++++
src/views/main/Printing/addForm.vue | 2 +-
src/views/main/WebSiteaccount/addForm.vue | 161 +++++--------------
src/views/main/WebSiteaccount/editForm.vue | 178 +++++----------------
src/views/main/WebSiteaccount/index.vue | 121 ++++----------
5 files changed, 169 insertions(+), 346 deletions(-)
create mode 100644 src/api/modular/main/WebSiteaccount.js
diff --git a/src/api/modular/main/WebSiteaccount.js b/src/api/modular/main/WebSiteaccount.js
new file mode 100644
index 0000000..6102647
--- /dev/null
+++ b/src/api/modular/main/WebSiteaccount.js
@@ -0,0 +1,53 @@
+import { axios } from '@/utils/request'
+
+/**
+ * 分页查询网站账号维护
+ *
+ * @author Myshipping
+ */
+export function DjyWebsiteAccountConfigPage(parameter) {
+ return axios({
+ url: '/DjyWebsiteAccountConfig/page',
+ method: 'get',
+ params: parameter
+ })
+}
+
+/**
+ * 增加网站账号维护(同一用户、同类型账号不会重复插入)
+ *
+ * @author Myshipping
+ */
+export function DjyWebsiteAccountConfigAdd(parameter) {
+ return axios({
+ url: '/DjyWebsiteAccountConfig/add',
+ method: 'post',
+ data: parameter
+ })
+}
+
+/**
+ * 更新EDI参数设置
+ *
+ * @author Myshipping
+ */
+export function DjyWebsiteAccountConfigEdit(parameter) {
+ return axios({
+ url: '/DjyWebsiteAccountConfig/edit',
+ method: 'post',
+ data: parameter
+ })
+}
+
+/**
+ * 删除EDI参数设置
+ *
+ * @author Myshipping
+ */
+export function DjyWebsiteAccountConfigDelete(parameter) {
+ return axios({
+ url: '/DjyWebsiteAccountConfig/delete',
+ method: 'post',
+ data: parameter
+ })
+}
diff --git a/src/views/main/Printing/addForm.vue b/src/views/main/Printing/addForm.vue
index b1a5b29..55c96c6 100644
--- a/src/views/main/Printing/addForm.vue
+++ b/src/views/main/Printing/addForm.vue
@@ -13,7 +13,7 @@
diff --git a/src/views/main/WebSiteaccount/addForm.vue b/src/views/main/WebSiteaccount/addForm.vue
index 792966a..7a96b90 100644
--- a/src/views/main/WebSiteaccount/addForm.vue
+++ b/src/views/main/WebSiteaccount/addForm.vue
@@ -1,6 +1,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ item.value }}
+
+
-
-
-
+
@@ -52,99 +42,11 @@
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -155,11 +57,12 @@