diff --git a/.env.development b/.env.development index 6208c19..54dfa3c 100644 --- a/.env.development +++ b/.env.development @@ -9,15 +9,13 @@ ENV = 'development' # ADMIN 服务地址 # VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ -VITE_ADMIN_PROXY_PATH = http://pjcloud.center.takin.cc/ -VITE_ADMIN_PROXY_PATH = http://192.168.101.24:9999/ -# VITE_ADMIN_PROXY_PATH = http://localhost:9999 +# VITE_ADMIN_PROXY_PATH = http://pjcloud.center.takin.cc/ +VITE_ADMIN_PROXY_PATH = http://localhost:9999 # 图片访问基础地址 -VITE_IMAGE_BASE_PATH = http://192.168.101.24:9999 # VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api # VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc -# VITE_IMAGE_BASE_PATH = http://localhost:9999 + VITE_IMAGE_BASE_PATH = http://localhost:9999 # 代码生成服务地址 VITE_GEN_PROXY_PATH = http://192.168.110.156:5003 diff --git a/src/api/hard/hard-after-sale-log.ts b/src/api/hard/hard-after-sale-log.ts new file mode 100644 index 0000000..5c76dd3 --- /dev/null +++ b/src/api/hard/hard-after-sale-log.ts @@ -0,0 +1,49 @@ +import request from "/@/utils/request" + +export function pagejoin(query?: Object) { + return request({ + url: '/hard/hard-after-sale-log/page-join', + method: 'get', + params: query + }) +} + +export function fetchList(query?: Object) { + return request({ + url: '/hard/hard-after-sale-log/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/hard/hard-after-sale-log', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/hard/hard-after-sale-log/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/hard/hard-after-sale-log', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/hard/hard-after-sale-log', + method: 'put', + data: obj + }) +} + diff --git a/src/api/hard/hard-after-sale.ts b/src/api/hard/hard-after-sale.ts new file mode 100644 index 0000000..2b96fdc --- /dev/null +++ b/src/api/hard/hard-after-sale.ts @@ -0,0 +1,49 @@ +import request from "/@/utils/request" + +export function pageJoin(query?: Object) { + return request({ + url: '/hard/hard-after-sale/page', + method: 'get', + params: query + }) +} + +export function fetchList(query?: Object) { + return request({ + url: '/hard/hard-after-sale/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/hard/hard-after-sale', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/hard/hard-after-sale/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/hard/hard-after-sale', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/hard/hard-after-sale', + method: 'put', + data: obj + }) +} + diff --git a/src/api/wallet/wallet-transaction.ts b/src/api/wallet/wallet-transaction.ts index 6c8679d..9be40fb 100644 --- a/src/api/wallet/wallet-transaction.ts +++ b/src/api/wallet/wallet-transaction.ts @@ -1,8 +1,32 @@ import request from "/@/utils/request" +export function pageCz(obj?: Object) { + return request({ + url: '/wallet/wallet-transaction/page-cz', + method: 'get', + params: obj + }) +} + +export function pageXf(obj?: Object) { + return request({ + url: '/wallet/wallet-transaction/page-xf', + method: 'get', + params: obj + }) +} + +export function pageTk(obj?: Object) { + return request({ + url: '/wallet/wallet-transaction/page-tk', + method: 'get', + params: obj + }) +} + export function updateBalance(obj?: Object) { return request({ - url: '/wallet/walletTransaction/update-balance', + url: '/wallet/wallet-transaction/update-balance', method: 'put', data: obj }) @@ -10,7 +34,7 @@ export function updateBalance(obj?: Object) { export function fetchList(query?: Object) { return request({ - url: '/wallet/walletTransaction/page', + url: '/wallet/wallet-transaction/page', method: 'get', params: query }) @@ -18,7 +42,7 @@ export function fetchList(query?: Object) { export function pageJoin(query?: Object) { return request({ - url: '/wallet/walletTransaction/page-join', + url: '/wallet/wallet-transaction/page-join', method: 'get', params: query }) @@ -26,7 +50,7 @@ export function pageJoin(query?: Object) { export function addObj(obj?: Object) { return request({ - url: '/wallet/walletTransaction', + url: '/wallet/wallet-transaction', method: 'post', data: obj }) @@ -34,14 +58,14 @@ export function addObj(obj?: Object) { export function getObj(id?: string) { return request({ - url: '/wallet/walletTransaction/' + id, + url: '/wallet/wallet-transaction/' + id, method: 'get' }) } export function delObjs(ids?: Object) { return request({ - url: '/wallet/walletTransaction', + url: '/wallet/wallet-transaction', method: 'delete', data: ids }) @@ -49,7 +73,7 @@ export function delObjs(ids?: Object) { export function putObj(obj?: Object) { return request({ - url: '/wallet/walletTransaction', + url: '/wallet/wallet-transaction', method: 'put', data: obj }) diff --git a/src/views/hard/hard-after-sale/form.vue b/src/views/hard/hard-after-sale/form.vue new file mode 100644 index 0000000..c7156de --- /dev/null +++ b/src/views/hard/hard-after-sale/form.vue @@ -0,0 +1,209 @@ + + + \ No newline at end of file diff --git a/src/views/hard/hard-after-sale/index.vue b/src/views/hard/hard-after-sale/index.vue new file mode 100644 index 0000000..d43c936 --- /dev/null +++ b/src/views/hard/hard-after-sale/index.vue @@ -0,0 +1,118 @@ + + + \ No newline at end of file diff --git a/src/views/wallet/wallet-cz/index.vue b/src/views/wallet/wallet-cz/index.vue index ca90d81..b220965 100644 --- a/src/views/wallet/wallet-cz/index.vue +++ b/src/views/wallet/wallet-cz/index.vue @@ -1,6 +1,25 @@