diff --git a/.env.development b/.env.development index c60de5b..c935818 100644 --- a/.env.development +++ b/.env.development @@ -6,12 +6,12 @@ # @Description: ### # 页面标题 -VUE_APP_TITLE = 莳松管理系统 +VUE_APP_TITLE = 开心学车管理系统 # 开发环境配置 ENV = 'development' -# 莳松管理系统/开发环境 +# 开心学车管理系统/开发环境 VUE_APP_BASE_API = '/dev-api' JWL_API = '' diff --git a/.env.production b/.env.production index 7607d56..64e3256 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 莳松管理系统 +VUE_APP_TITLE = 开心学车管理系统 # 生产环境配置 ENV = 'production' -# 莳松管理系统/生产环境 +# 开心学车管理系统/生产环境 VUE_APP_BASE_API = '/duima' diff --git a/.env.staging b/.env.staging index 061ba5c..f0edbe0 100644 --- a/.env.staging +++ b/.env.staging @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 莳松管理系统 +VUE_APP_TITLE = 开心学车管理系统 NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 莳松管理系统/测试环境 +# 开心学车管理系统/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/package.json b/package.json index a25b260..dd3ae93 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "river", "version": "1.0.0", - "description": "莳松管理系统", - "author": "莳松", + "description": "开心学车管理系统", + "author": "开心学车", "license": "MIT", "scripts": { "dev": "vue-cli-service serve", diff --git a/src/api/zs/invitation.js b/src/api/zs/invitation.js new file mode 100644 index 0000000..47b4ee2 --- /dev/null +++ b/src/api/zs/invitation.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询邀约列表 +export function listInvitation(query) { + return request({ + url: '/zs/invitation/list', + method: 'get', + params: query + }) +} + +// 查询邀约详细 +export function getInvitation(invitationId) { + return request({ + url: '/zs/invitation/' + invitationId, + method: 'get' + }) +} + +// 查询邀约详细 +export function getInvitationByClue(query) { + return request({ + url: '/zs/invitation/clue', + method: 'get', + params: query + }) +} + +// 新增邀约 +export function addInvitation(data) { + return request({ + url: '/zs/invitation', + method: 'post', + data: data + }) +} + +// 修改邀约 +export function updateInvitation(data) { + return request({ + url: '/zs/invitation', + method: 'put', + data: data + }) +} + +// 删除邀约 +export function delInvitation(invitationId) { + return request({ + url: '/zs/invitation/' + invitationId, + method: 'delete' + }) +} diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 8ff3ac9..30fcde8 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -27,7 +27,7 @@ export default { }, data() { return { - title: '莳松管理系统', + title: '开心学车管理系统', logo: logoImg }; }, diff --git a/src/views/login.vue b/src/views/login.vue index f9e7075..c969032 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,7 +1,7 @@