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 @@ + + 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