From 6f296f1a1ab45153cb90b8d81a733c1a73abbb35 Mon Sep 17 00:00:00 2001
From: xjh <2423579486@qq.com>
Date: Thu, 20 Apr 2023 23:09:32 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E5=AE=8C=E6=88=90=E8=81=94=E7=B3=BB?=
=?UTF-8?q?=E6=88=91=E4=BB=AC-=E5=9C=A8=E7=BA=BF=E6=8A=A5=E5=90=8D?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 13 +
.../signup/components/DetailSignupDialog.vue | 138 +++++++++
src/pages/index/contact_us/signup/index.vue | 272 ++++++++++++++++++
src/service/signup.js | 46 +++
4 files changed, 469 insertions(+)
create mode 100644 src/pages/index/contact_us/signup/components/DetailSignupDialog.vue
create mode 100644 src/pages/index/contact_us/signup/index.vue
create mode 100644 src/service/signup.js
diff --git a/src/App.vue b/src/App.vue
index 7c3de4a..801fea7 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -22,4 +22,17 @@ import zhCn from 'element-plus/lib/locale/lang/zh-cn';
line-height: 100px;
margin-left: 10px;
}
+
+.el-avatar-plus {
+ display: inline-block;
+ text-align: center;
+ color: #fff;
+ white-space: nowrap;
+ position: relative;
+ overflow: hidden;
+ vertical-align: middle;
+ min-width: 100px;
+ min-height: 100px;
+ border-radius: 10px;
+}
diff --git a/src/pages/index/contact_us/signup/components/DetailSignupDialog.vue b/src/pages/index/contact_us/signup/components/DetailSignupDialog.vue
new file mode 100644
index 0000000..dc0c1ce
--- /dev/null
+++ b/src/pages/index/contact_us/signup/components/DetailSignupDialog.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/index/contact_us/signup/index.vue b/src/pages/index/contact_us/signup/index.vue
new file mode 100644
index 0000000..d7ffb15
--- /dev/null
+++ b/src/pages/index/contact_us/signup/index.vue
@@ -0,0 +1,272 @@
+
+
+
+ 在线报名管理
+ 在线报名列表
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+ v.signup_guid).join() })">导出
+
+
+
+ 批量操作
+
+
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+ {{ scope.row.classes_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 更多
+
+
+
+
+ 详情
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/service/signup.js b/src/service/signup.js
new file mode 100644
index 0000000..646a2c5
--- /dev/null
+++ b/src/service/signup.js
@@ -0,0 +1,46 @@
+import {
+ api,
+ downloadFile,
+ createApiUrl
+} from '~/utils/axios';
+
+
+/**
+ * 导出在线报名
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function exportExcel(data) {
+ downloadFile(createApiUrl('ContactUs.Signup/exportExcel'), data);
+}
+
+/**
+ * 获取字典值
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function getDictionary(data) {
+ return api.post('Dictionary.Dictionary/getDictionary', data, {});
+}
+
+/**
+ * 获取在线报名列表
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function getSignupList(data) {
+ return api.post('ContactUs.Signup/getSignupList', data);
+}
+
+/**
+ * 删除在线报名
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function deleteSignup(data) {
+ return api.post('ContactUs.Signup/deleteSignup', data, {
+ isTransformResponse: true,
+ isShowSuccessMessage: true,
+ errorMessageText: '删除失败'
+ });
+}
\ No newline at end of file