diff --git a/src/api/member/level/index.js b/src/api/member/level/index.js
index 723b83c..325a20d 100644
--- a/src/api/member/level/index.js
+++ b/src/api/member/level/index.js
@@ -1,53 +1,61 @@
-import request from '@/utils/request'
-
-// 创建会员等级
-export function createLevel(data) {
- return request({
- url: '/member/level/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新会员等级
-export function updateLevel(data) {
- return request({
- url: '/member/level/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除会员等级
-export function deleteLevel(id) {
- return request({
- url: '/member/level/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得会员等级
-export function getLevel(id) {
- return request({
- url: '/member/level/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得会员等级分页
-export function getLevelPage(params) {
- return request({
- url: '/member/level/page',
- method: 'get',
- params
- })
-}
-// 导出会员等级 Excel
-export function exportLevelExcel(params) {
- return request({
- url: '/member/level/export-excel',
- method: 'get',
- params,
- responseType: 'blob'
- })
-}
\ No newline at end of file
+import request from '@/utils/request'
+
+// 创建会员等级
+export function createLevel(data) {
+ return request({
+ url: '/member/level/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新会员等级
+export function updateLevel(data) {
+ return request({
+ url: '/member/level/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除会员等级
+export function deleteLevel(id) {
+ return request({
+ url: '/member/level/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得会员等级
+export function getLevel(id) {
+ return request({
+ url: '/member/level/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得会员等级分页
+export function getLevelPage(params) {
+ return request({
+ url: '/member/level/page',
+ method: 'get',
+ params
+ })
+}
+// 导出会员等级 Excel
+export function exportLevelExcel(params) {
+ return request({
+ url: '/member/level/export-excel',
+ method: 'get',
+ params,
+ responseType: 'blob'
+ })
+}
+// 查询所有会员
+export function getLevelAll(params) {
+ return request({
+ url: '/member/level/all',
+ method: 'get',
+ params,
+ })
+}
diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js
index 543ea86..5da9083 100644
--- a/src/api/repair/tickets/Tickets.js
+++ b/src/api/repair/tickets/Tickets.js
@@ -1 +1,11 @@
import request from '@/utils/request'
+
+const preUrl = '/repair/tickets'
+
+export function createTickets(data){
+ return request({
+ url: preUrl + "/create",
+ method: "post",
+ data
+ })
+}
diff --git a/src/components/ImagePreview/index.vue b/src/components/ImagePreview/index.vue
index 0d2ebe0..df30e47 100644
--- a/src/components/ImagePreview/index.vue
+++ b/src/components/ImagePreview/index.vue
@@ -39,7 +39,8 @@ export default {
if (isExternal(real_src)) {
return real_src;
}
- return process.env.VUE_APP_BASE_API + real_src;
+
+ return process.env.VUE_APP_IMAGE_URL + real_src;
},
realSrcList() {
if (!this.src) {
diff --git a/src/views/base/customer/CustomerMainForm.vue b/src/views/base/customer/CustomerMainForm.vue
index 1bb7ec2..5982d1d 100644
--- a/src/views/base/customer/CustomerMainForm.vue
+++ b/src/views/base/customer/CustomerMainForm.vue
@@ -69,6 +69,16 @@
+
+
+
+
+
+
+
+
+
@@ -144,6 +154,7 @@