From 6fa7a266c4c4d2f50baf75ee1ec981d0c69158a0 Mon Sep 17 00:00:00 2001 From: gboy Date: Fri, 29 Mar 2024 17:39:26 +0800 Subject: [PATCH] edit --- .env.development | 19 + .gitignore | 1 - .history/.env_20240110150811.development | 19 + .history/.env_20240325145243.development | 19 + .history/.gitignore_20240322155514 | 23 + .history/.gitignore_20240325145153 | 22 + .history/mock/index_20240322155514.js | 65 ++ .history/mock/index_20240324094414.js | 0 .history/mock/index_20240324094442.js | 65 ++ .../orderRefund/index_20240322155514.vue | 670 +++++++++++++++++ .../orderRefund/index_20240329103706.vue | 671 ++++++++++++++++++ .../system/service/index_20240322155514.vue | 358 ++++++++++ .../system/service/index_20240328125054.vue | 359 ++++++++++ public/favicon.ico | Bin 4286 -> 5352 bytes src/views/order/orderRefund/index.vue | 1 + src/views/system/service/index.vue | 1 + 16 files changed, 2292 insertions(+), 1 deletion(-) create mode 100644 .env.development create mode 100644 .history/.env_20240110150811.development create mode 100644 .history/.env_20240325145243.development create mode 100644 .history/.gitignore_20240322155514 create mode 100644 .history/.gitignore_20240325145153 create mode 100644 .history/mock/index_20240322155514.js create mode 100644 .history/mock/index_20240324094414.js create mode 100644 .history/mock/index_20240324094442.js create mode 100644 .history/src/views/order/orderRefund/index_20240322155514.vue create mode 100644 .history/src/views/order/orderRefund/index_20240329103706.vue create mode 100644 .history/src/views/system/service/index_20240322155514.vue create mode 100644 .history/src/views/system/service/index_20240328125054.vue diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..d0dceee --- /dev/null +++ b/.env.development @@ -0,0 +1,19 @@ +# just a flag +ENV = 'development' + +# base api +# VUE_APP_BASE_API = 'http://192.168.31.106:8324' +VUE_APP_BASE_API = 'http://many.shop.lo' + +# socket 连接地址 +VUE_APP_WS_URL = 'ws://many.shop.lo' +# VUE_APP_WS_URL = 'ws://mer1.crmeb.net' + +# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, +# to control whether the babel-plugin-dynamic-import-node plugin is enabled. +# It only does one thing by converting all import() to require(). +# This configuration can significantly increase the speed of hot updates, +# when you have a large number of pages. +# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js + +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.gitignore b/.gitignore index 101c0f2..c9dcfdf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ npm-debug.log* yarn-debug.log* yarn-error.log* **/*.log -.env.development tests/**/coverage/ tests/e2e/reports selenium-debug.log diff --git a/.history/.env_20240110150811.development b/.history/.env_20240110150811.development new file mode 100644 index 0000000..b2563a2 --- /dev/null +++ b/.history/.env_20240110150811.development @@ -0,0 +1,19 @@ +# just a flag +ENV = 'development' + +# base api +# VUE_APP_BASE_API = 'http://192.168.31.106:8324' +VUE_APP_BASE_API = 'https://mer1.crmeb.net' + +# socket 连接地址 +VUE_APP_WS_URL = 'ws://192.168.31.106:8324' +# VUE_APP_WS_URL = 'ws://mer1.crmeb.net' + +# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, +# to control whether the babel-plugin-dynamic-import-node plugin is enabled. +# It only does one thing by converting all import() to require(). +# This configuration can significantly increase the speed of hot updates, +# when you have a large number of pages. +# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js + +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.history/.env_20240325145243.development b/.history/.env_20240325145243.development new file mode 100644 index 0000000..d0dceee --- /dev/null +++ b/.history/.env_20240325145243.development @@ -0,0 +1,19 @@ +# just a flag +ENV = 'development' + +# base api +# VUE_APP_BASE_API = 'http://192.168.31.106:8324' +VUE_APP_BASE_API = 'http://many.shop.lo' + +# socket 连接地址 +VUE_APP_WS_URL = 'ws://many.shop.lo' +# VUE_APP_WS_URL = 'ws://mer1.crmeb.net' + +# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, +# to control whether the babel-plugin-dynamic-import-node plugin is enabled. +# It only does one thing by converting all import() to require(). +# This configuration can significantly increase the speed of hot updates, +# when you have a large number of pages. +# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js + +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.history/.gitignore_20240322155514 b/.history/.gitignore_20240322155514 new file mode 100644 index 0000000..101c0f2 --- /dev/null +++ b/.history/.gitignore_20240322155514 @@ -0,0 +1,23 @@ +.DS_Store +node_modules/ +dist/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +**/*.log +.env.development +tests/**/coverage/ +tests/e2e/reports +selenium-debug.log + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.local + +package-lock.json +yarn.lock diff --git a/.history/.gitignore_20240325145153 b/.history/.gitignore_20240325145153 new file mode 100644 index 0000000..c9dcfdf --- /dev/null +++ b/.history/.gitignore_20240325145153 @@ -0,0 +1,22 @@ +.DS_Store +node_modules/ +dist/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +**/*.log +tests/**/coverage/ +tests/e2e/reports +selenium-debug.log + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.local + +package-lock.json +yarn.lock diff --git a/.history/mock/index_20240322155514.js b/.history/mock/index_20240322155514.js new file mode 100644 index 0000000..38cedf3 --- /dev/null +++ b/.history/mock/index_20240322155514.js @@ -0,0 +1,65 @@ +// +---------------------------------------------------------------------- +// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] +// +---------------------------------------------------------------------- +// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. +// +---------------------------------------------------------------------- +// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 +// +---------------------------------------------------------------------- +// | Author: CRMEB Team +// +---------------------------------------------------------------------- +import Mock from 'mockjs' +import { param2Obj } from '../src/utils' +import user from './user' +import role from './role' +import article from './article' +import search from './remote-search' + +const mocks = [ + ...user, + ...role, + ...article, + ...search +] + +// for front mock +// please use it cautiously, it will redefine XMLHttpRequest, +// which will cause many of your third-party libraries to be invalidated(like progress event). +export function mockXHR() { + // mock patch + // https://github.com/nuysoft/Mock/issues/300 + Mock.XHR.prototype.proxy_send = Mock.XHR.prototype.send + Mock.XHR.prototype.send = function() { + if (this.custom.xhr) { + this.custom.xhr.withCredentials = this.withCredentials || false + + if (this.responseType) { + this.custom.xhr.responseType = this.responseType + } + } + this.proxy_send(...arguments) + } + + function XHR2ExpressReqWrap(respond) { + return function(options) { + let result = null + if (respond instanceof Function) { + const { body, type, url } = options + // https://expressjs.com/en/4x/api.html#req + result = respond({ + method: type, + body: JSON.parse(body), + query: param2Obj(url) + }) + } else { + result = respond + } + return Mock.mock(result) + } + } + + for (const i of mocks) { + Mock.mock(new RegExp(i.url), i.type || 'get', XHR2ExpressReqWrap(i.response)) + } +} + +export default mocks diff --git a/.history/mock/index_20240324094414.js b/.history/mock/index_20240324094414.js new file mode 100644 index 0000000..e69de29 diff --git a/.history/mock/index_20240324094442.js b/.history/mock/index_20240324094442.js new file mode 100644 index 0000000..38cedf3 --- /dev/null +++ b/.history/mock/index_20240324094442.js @@ -0,0 +1,65 @@ +// +---------------------------------------------------------------------- +// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] +// +---------------------------------------------------------------------- +// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. +// +---------------------------------------------------------------------- +// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 +// +---------------------------------------------------------------------- +// | Author: CRMEB Team +// +---------------------------------------------------------------------- +import Mock from 'mockjs' +import { param2Obj } from '../src/utils' +import user from './user' +import role from './role' +import article from './article' +import search from './remote-search' + +const mocks = [ + ...user, + ...role, + ...article, + ...search +] + +// for front mock +// please use it cautiously, it will redefine XMLHttpRequest, +// which will cause many of your third-party libraries to be invalidated(like progress event). +export function mockXHR() { + // mock patch + // https://github.com/nuysoft/Mock/issues/300 + Mock.XHR.prototype.proxy_send = Mock.XHR.prototype.send + Mock.XHR.prototype.send = function() { + if (this.custom.xhr) { + this.custom.xhr.withCredentials = this.withCredentials || false + + if (this.responseType) { + this.custom.xhr.responseType = this.responseType + } + } + this.proxy_send(...arguments) + } + + function XHR2ExpressReqWrap(respond) { + return function(options) { + let result = null + if (respond instanceof Function) { + const { body, type, url } = options + // https://expressjs.com/en/4x/api.html#req + result = respond({ + method: type, + body: JSON.parse(body), + query: param2Obj(url) + }) + } else { + result = respond + } + return Mock.mock(result) + } + } + + for (const i of mocks) { + Mock.mock(new RegExp(i.url), i.type || 'get', XHR2ExpressReqWrap(i.response)) + } +} + +export default mocks diff --git a/.history/src/views/order/orderRefund/index_20240322155514.vue b/.history/src/views/order/orderRefund/index_20240322155514.vue new file mode 100644 index 0000000..f1182d0 --- /dev/null +++ b/.history/src/views/order/orderRefund/index_20240322155514.vue @@ -0,0 +1,670 @@ + + + + + diff --git a/.history/src/views/order/orderRefund/index_20240329103706.vue b/.history/src/views/order/orderRefund/index_20240329103706.vue new file mode 100644 index 0000000..1395eac --- /dev/null +++ b/.history/src/views/order/orderRefund/index_20240329103706.vue @@ -0,0 +1,671 @@ + + + + + diff --git a/.history/src/views/system/service/index_20240322155514.vue b/.history/src/views/system/service/index_20240322155514.vue new file mode 100644 index 0000000..a4f9156 --- /dev/null +++ b/.history/src/views/system/service/index_20240322155514.vue @@ -0,0 +1,358 @@ + + + + + diff --git a/.history/src/views/system/service/index_20240328125054.vue b/.history/src/views/system/service/index_20240328125054.vue new file mode 100644 index 0000000..8bab182 --- /dev/null +++ b/.history/src/views/system/service/index_20240328125054.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/public/favicon.ico b/public/favicon.ico index 54183254468ec87208af17f09ce324dad8ccc885..d6fb9e715131c83dfe173b558f61fcff393475d4 100644 GIT binary patch literal 5352 zcmVP)`L6p(T0yXNnEVSX<&@0oL+ z=l}el>G<}8|88bv@|RZpK}9QSt2B`bQOl=vera*TXLU+yG#b&-TW5Y7 z>eVNh8a!9ZH&9q}B<1vP!+iP<6^TR|_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yAa91S~X)oI;Hbb9dM zdtFfZ_&%>l9h$M=)eV@Pd0a{SJm^FROpxz}&*$EQ*u{gX~B zeyh6)r7DzCjoNieE!R%oT4_uv+;5fDGupKGXz%?;j#e8p=<7Z0f>))|lA1nK^u*d# zhL@BlB{id7dxNM@G^1v)I!6r*ShpWexY4kBerw8?gZ-Oa_Pf4u0Ov26B!{hF4pANqbNxp?Vnpia)7KVV&hGaN0> zlFkoGSGaQZO)UQa^m^GX}6YPiYb5D=_ z82IT@d!MO+8P4Ejf6&Nw{_$)oEJ{dOMN)dcd>xMFuX1p~3Agk7v(I~PrlfiPDp|N_ z$*}u8+5z~xz{T3(_N|>bpwE2OLo>un%H_n#Q_|VlnIStkI4JGy?XqtD2IIu!{6-JG zaG(vRv-V;2?R?cWbrLO%o8Hp$N?Eabtu(jnla@XEW!{2CCU5U|uH>kJ0ZR{gIN-9p z&NZ-pf8EYo6rZZOA{mickJ4WV#U@as2j%J=?$ zZ@Y=f*?Nxky8DoqesWr^6vs;?GO0iwJ$~Zpx&bvXVCnJCpC!&qze4XL`+NDyHCHn5 z84Or@vS|AAdFdC#;!<1JDExkV8GHdR{E@G+xBKFVXj-Y?(pt8 zV!wfQ zCKbwrNP!$VdQ7^yx@BNsz&J5EYG6ij{-Ei-e~vT@yu}I5VkIdZ&zU>lI59bDqt(`Z qyaVU|{+&wq>b>nPh$VVM6AO(KldHu4JX3SU-uw4){yp%Y4DDYUxm?Qt diff --git a/src/views/order/orderRefund/index.vue b/src/views/order/orderRefund/index.vue index f1182d0..1395eac 100644 --- a/src/views/order/orderRefund/index.vue +++ b/src/views/order/orderRefund/index.vue @@ -159,6 +159,7 @@ + diff --git a/src/views/system/service/index.vue b/src/views/system/service/index.vue index a4f9156..8bab182 100644 --- a/src/views/system/service/index.vue +++ b/src/views/system/service/index.vue @@ -344,6 +344,7 @@ export default { }) } + } } }