diff --git a/.env.demo1024 b/.env.demo1024 index 7d8a0aa..7e2f68a 100644 --- a/.env.demo1024 +++ b/.env.demo1024 @@ -4,7 +4,7 @@ NODE_ENV = development ENV = 'staging' # 页面标题 -VUE_APP_TITLE = 农场管理系统 +VUE_APP_TITLE = 眼界甄选 # 农场管理系统/测试环境 VUE_APP_BASE_API = 'http://127.0.0.1:48080' diff --git a/.env.dev b/.env.dev index d841a31..0d1ae3f 100644 --- a/.env.dev +++ b/.env.dev @@ -2,11 +2,11 @@ ENV = 'development' # 页面标题 -VUE_APP_TITLE = 农场管理系统 +VUE_APP_TITLE = 眼界甄选 # 农场管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.225.2' - +#VUE_APP_BASE_API = 'http://192.168.225.2' +VUE_APP_BASE_API = 'http://192.168.10.113:48080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.prod b/.env.prod index f268179..6aed717 100644 --- a/.env.prod +++ b/.env.prod @@ -2,7 +2,7 @@ ENV = 'production' # 页面标题 -VUE_APP_TITLE = 农场管理系统 +VUE_APP_TITLE = 眼界甄选 # 农场管理系统/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/.env.stage b/.env.stage index 34d6716..ddaba73 100644 --- a/.env.stage +++ b/.env.stage @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VUE_APP_TITLE = 农场管理系统 +VUE_APP_TITLE = 眼界甄选 # 测试环境配置 ENV = 'staging' diff --git a/package.json b/package.json index 967cd1c..43b1a7f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yudao-ui-admin", "version": "1.6.2-snapshot", - "description": "农场管理系统", + "description": "眼界甄选", "author": "芋道", "license": "MIT", "scripts": { diff --git a/src/api/YxUserBillByUid.js b/src/api/YxUserBillByUid.js new file mode 100644 index 0000000..04d2c9a --- /dev/null +++ b/src/api/YxUserBillByUid.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + +export function getCYj(params) { + return request({ + url: 'api/yxUser/YxUserBillByUid', + method: 'get', + params + }) +} + +export default { getCYj } diff --git a/src/api/YxWechatMenu.js b/src/api/YxWechatMenu.js new file mode 100644 index 0000000..1c190c0 --- /dev/null +++ b/src/api/YxWechatMenu.js @@ -0,0 +1,31 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/YxWechatMenu', + method: 'post', + data + }) +} + +export function del(key) { + return request({ + url: 'api/YxWechatMenu/' + key, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/YxWechatMenu', + method: 'put', + data + }) +} + +export function get() { + return request({ + url: 'api/YxWechatMenu', + method: 'get' + }) +} diff --git a/src/api/data.js b/src/api/data.js new file mode 100644 index 0000000..d975d75 --- /dev/null +++ b/src/api/data.js @@ -0,0 +1,17 @@ +import request from '@/utils/request' +import qs from 'qs' + +export function initData(url, params) { + return request({ + url: url + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +export function download(url, params) { + return request({ + url: url + '?' + qs.stringify(params, { indices: false }), + method: 'get', + responseType: 'blob' + }) +} diff --git a/src/api/generator/genConfig.js b/src/api/generator/genConfig.js new file mode 100644 index 0000000..e15b200 --- /dev/null +++ b/src/api/generator/genConfig.js @@ -0,0 +1,16 @@ +import request from '@/utils/request' + +export function get(tableName) { + return request({ + url: 'api/genConfig/' + tableName, + method: 'get' + }) +} + +export function update(data) { + return request({ + url: 'api/genConfig', + data, + method: 'put' + }) +} diff --git a/src/api/generator/generator.js b/src/api/generator/generator.js new file mode 100644 index 0000000..0c49718 --- /dev/null +++ b/src/api/generator/generator.js @@ -0,0 +1,33 @@ +import request from '@/utils/request' + +export function getAllTable() { + return request({ + url: 'api/generator/tables/all', + method: 'get' + }) +} + +export function generator(tableName, type) { + return request({ + url: 'api/generator/' + tableName + '/' + type, + method: 'post', + responseType: type === 2 ? 'blob' : '' + }) +} + +export function save(data) { + return request({ + url: 'api/generator', + data, + method: 'put' + }) +} + +export function sync(tables) { + return request({ + url: 'api/generator/sync', + method: 'post', + data: tables + }) +} + diff --git a/src/api/getRaisePaidRecordList.js b/src/api/getRaisePaidRecordList.js new file mode 100644 index 0000000..05afc07 --- /dev/null +++ b/src/api/getRaisePaidRecordList.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +export function getCates(params) { + return request({ + url: 'api/yxRaiseOrder/getRaisePaidRecordList', + method: 'get', + params + }) +} + +export function add(data) { + return request({ + url: 'api/yxRaiseOrder/getRaisePaidRecordList', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxRaiseOrder/getRaisePaidRecordList' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxRaiseOrder/getRaisePaidRecordList', + method: 'put', + data + }) +} + +export default { add, edit, del, getCates } diff --git a/src/api/monitor/log.js b/src/api/monitor/log.js new file mode 100644 index 0000000..13f0d39 --- /dev/null +++ b/src/api/monitor/log.js @@ -0,0 +1,22 @@ +import request from '@/utils/request' + +export function getErrDetail(id) { + return request({ + url: 'api/logs/error/' + id, + method: 'get' + }) +} + +export function delAllError() { + return request({ + url: 'api/logs/del/error', + method: 'delete' + }) +} + +export function delAllInfo() { + return request({ + url: 'api/logs/del/info', + method: 'delete' + }) +} diff --git a/src/api/monitor/online.js b/src/api/monitor/online.js new file mode 100644 index 0000000..b39ee7f --- /dev/null +++ b/src/api/monitor/online.js @@ -0,0 +1,18 @@ +import request from '@/utils/request' + +export function del(keys) { + return request({ + url: 'auth/online', + method: 'delete', + data: keys + }) +} + +export function delT(keys) { + return request({ + url: 'auth/online/delete', + method: 'post', + data: keys + }) +} + diff --git a/src/api/monitor/server.js b/src/api/monitor/server.js new file mode 100644 index 0000000..2ade356 --- /dev/null +++ b/src/api/monitor/server.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/server', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/server', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/server', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/monitor/visits.js b/src/api/monitor/visits.js new file mode 100644 index 0000000..d35f6b0 --- /dev/null +++ b/src/api/monitor/visits.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function count() { + return request({ + url: 'api/visits', + method: 'post' + }) +} + +export function get() { + return request({ + url: 'api/visits', + method: 'get' + }) +} + +export function getChartData() { + return request({ + url: 'api/visits/chartData', + method: 'get' + }) +} + + diff --git a/src/api/orderByUid.js b/src/api/orderByUid.js new file mode 100644 index 0000000..160eaeb --- /dev/null +++ b/src/api/orderByUid.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + +export function getCuid(params) { + return request({ + url: 'api/yxUser/orderByUid', + method: 'get', + params + }) +} + +export default { getCuid } diff --git a/src/api/pvManager.js b/src/api/pvManager.js new file mode 100644 index 0000000..967b464 --- /dev/null +++ b/src/api/pvManager.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/pvManager', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/pvManager/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/pvManager', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/refund.js b/src/api/refund.js new file mode 100644 index 0000000..e69de29 diff --git a/src/api/spreadCount.js b/src/api/spreadCount.js new file mode 100644 index 0000000..f6f235a --- /dev/null +++ b/src/api/spreadCount.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + +export function gets(data) { + return request({ + url: 'api/yxUser/spreadCount', + method: 'post', + data + }) +} + +export default { gets } diff --git a/src/api/storeProductRule.js b/src/api/storeProductRule.js new file mode 100644 index 0000000..9a1642b --- /dev/null +++ b/src/api/storeProductRule.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +export function add(data, id) { + return request({ + url: `api/yxStoreProductRule/save/${id}`, + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxStoreProductRule/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreProductRule', + method: 'put', + data + }) +} + +export function info (id) { + return request({ + url: `api/yxStoreProductRule/rule/${id}`, + method: 'get' + }); +} + +export default { add, edit, del, info } diff --git a/src/api/toRefundStatus.js b/src/api/toRefundStatus.js new file mode 100644 index 0000000..0b7ca5c --- /dev/null +++ b/src/api/toRefundStatus.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +export function addss(data) { + return request({ + url: 'api/yxStoreOrder/toRefundStatus', + method: 'post', + data + }) +} + diff --git a/src/api/tools/alipay.js b/src/api/tools/alipay.js new file mode 100644 index 0000000..54090f5 --- /dev/null +++ b/src/api/tools/alipay.js @@ -0,0 +1,25 @@ +import request from '@/utils/request' + +export function get() { + return request({ + url: 'api/aliPay', + method: 'get' + }) +} + +export function update(data) { + return request({ + url: 'api/aliPay', + data, + method: 'put' + }) +} + +// 支付 +export function toAliPay(url, data) { + return request({ + url: 'api/' + url, + data, + method: 'post' + }) +} diff --git a/src/api/tools/email.js b/src/api/tools/email.js new file mode 100644 index 0000000..af030cb --- /dev/null +++ b/src/api/tools/email.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function get() { + return request({ + url: 'api/email', + method: 'get' + }) +} + +export function update(data) { + return request({ + url: 'api/email', + data, + method: 'put' + }) +} + +export function send(data) { + return request({ + url: 'api/email', + data, + method: 'post' + }) +} diff --git a/src/api/tools/localStorage.js b/src/api/tools/localStorage.js new file mode 100644 index 0000000..63ebe2b --- /dev/null +++ b/src/api/tools/localStorage.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/localStorage', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/localStorage/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/localStorage', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/tools/material.js b/src/api/tools/material.js new file mode 100644 index 0000000..ff6b276 --- /dev/null +++ b/src/api/tools/material.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +export function getPage(query) { + return request({ + url: 'api/material/page', + method: 'get', + params: query + }) +} + +export function addObj(obj) { + return request({ + url: 'api/material', + method: 'post', + data: obj + }) +} + +export function getObj(id) { + return request({ + url: 'api/material/' + id, + method: 'get' + }) +} + +export function delObj(id) { + return request({ + url: 'api/material/' + id, + method: 'delete' + }) +} + +export function putObj(obj) { + return request({ + url: 'api/material', + method: 'put', + data: obj + }) +} diff --git a/src/api/tools/materialgroup.js b/src/api/tools/materialgroup.js new file mode 100644 index 0000000..baf2505 --- /dev/null +++ b/src/api/tools/materialgroup.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +export function getPage(query) { + return request({ + url: 'api/materialgroup/page', + method: 'get', + params: query + }) +} + +export function addObj(obj) { + return request({ + url: 'api/materialgroup', + method: 'post', + data: obj + }) +} + +export function getObj(id) { + return request({ + url: 'api/materialgroup/' + id, + method: 'get' + }) +} + +export function delObj(id) { + return request({ + url: 'api/materialgroup/' + id, + method: 'delete' + }) +} + +export function putObj(obj) { + return request({ + url: 'api/materialgroup', + method: 'put', + data: obj + }) +} diff --git a/src/api/tools/picture.js b/src/api/tools/picture.js new file mode 100644 index 0000000..237d5f5 --- /dev/null +++ b/src/api/tools/picture.js @@ -0,0 +1,18 @@ +import request from '@/utils/request' + +export function del(ids) { + return request({ + url: 'api/pictures', + method: 'delete', + data: ids + }) +} + +export function sync() { + return request({ + url: 'api/pictures/synchronize', + method: 'post' + }) +} + +export default { del, sync } diff --git a/src/api/tools/qiniu.js b/src/api/tools/qiniu.js new file mode 100644 index 0000000..6d56771 --- /dev/null +++ b/src/api/tools/qiniu.js @@ -0,0 +1,40 @@ +import request from '@/utils/request' + +export function get() { + return request({ + url: 'api/qiNiuContent/config', + method: 'get' + }) +} + +export function update(data) { + return request({ + url: 'api/qiNiuContent/config', + data, + method: 'put' + }) +} + +export function download(id) { + return request({ + url: 'api/qiNiuContent/download/' + id, + method: 'get' + }) +} + +export function sync() { + return request({ + url: 'api/qiNiuContent/synchronize', + method: 'post' + }) +} + +export function del(ids) { + return request({ + url: 'api/qiNiuContent', + method: 'delete', + data: ids + }) +} + +export default { del, download, sync } diff --git a/src/api/visits.js b/src/api/visits.js new file mode 100644 index 0000000..d8a7d15 --- /dev/null +++ b/src/api/visits.js @@ -0,0 +1,43 @@ +import request from '@/utils/request' + +export function count() { + return request({ + url: 'api/visits', + method: 'post' + }) +} + +export function get() { + return request({ + url: 'api/visits', + method: 'get' + }) +} + +export function getChartData() { + return request({ + url: 'api/visits/chartData', + method: 'get' + }) +} + +export function gett() { + return request({ + url: 'api/data/count', + method: 'get' + }) +} + +export function chart() { + return request({ + url: 'api/data/chart', + method: 'get' + }) +} + +export function getOrderCount() { + return request({ + url: 'api/yxStoreOrder/orderCount', + method: 'get' + }) +} diff --git a/src/api/writeOff.js b/src/api/writeOff.js new file mode 100644 index 0000000..13e9b8a --- /dev/null +++ b/src/api/writeOff.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +export function getCat(params) { + return request({ + url: 'api/yxRaiseOrder/writeOff', + method: 'get', + params + }) +} + +export function addp(data) { + return request({ + url: 'api/yxRaiseOrder/writeOff', + method: 'post', + data + }) +} + +export function delp(id) { + return request({ + url: 'api/yxRaiseOrder/writeOff' + id, + method: 'delete' + }) +} + +export function editp(data) { + return request({ + url: 'api/yxRaiseOrder/writeOff', + method: 'put', + data + }) +} + +export default { addp, editp, delp, getCat } diff --git a/src/api/yxArticle.js b/src/api/yxArticle.js new file mode 100644 index 0000000..b09adf9 --- /dev/null +++ b/src/api/yxArticle.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxArticle', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxArticle/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxArticle', + method: 'put', + data + }) +} + +export function publish(id) { + return request({ + url: 'api/yxArticle/publish/' + id, + method: 'get' + }) +} + + +export function get(id) { + return request({ + url: 'api/yxArticle/info/' + id, + method: 'get' + }) +} diff --git a/src/api/yxExpress.js b/src/api/yxExpress.js new file mode 100644 index 0000000..5e7635e --- /dev/null +++ b/src/api/yxExpress.js @@ -0,0 +1,25 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxExpress', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxExpress/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxExpress', + method: 'put', + data + }) +} + diff --git a/src/api/yxLive.js b/src/api/yxLive.js new file mode 100644 index 0000000..6565ba9 --- /dev/null +++ b/src/api/yxLive.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxLive', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxLive/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxLive', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/yxRaise.js b/src/api/yxRaise.js new file mode 100644 index 0000000..46ae430 --- /dev/null +++ b/src/api/yxRaise.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxRaise', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxRaise/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxRaise', + method: 'put', + data + }) +} +export function gett(datae) { + return request({ + url: 'api/yxRaise', + method: 'get', + data: datae + }) +} + +export default { add, edit, del, gett } diff --git a/src/api/yxRaiseOrder.js b/src/api/yxRaiseOrder.js new file mode 100644 index 0000000..0a789cf --- /dev/null +++ b/src/api/yxRaiseOrder.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxRaiseOrder', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxRaiseOrder/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxRaiseOrder', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/yxRaiseOrderDownload.js b/src/api/yxRaiseOrderDownload.js new file mode 100644 index 0000000..eca794f --- /dev/null +++ b/src/api/yxRaiseOrderDownload.js @@ -0,0 +1,12 @@ + +import request from '@/utils/request' + +export function down(data) { + return request({ + url: '/api/yxRaiseOrder/download', + method: 'post', + data + }) +} + +export default { down } diff --git a/src/api/yxRaiseProject.js b/src/api/yxRaiseProject.js new file mode 100644 index 0000000..a164bcf --- /dev/null +++ b/src/api/yxRaiseProject.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxRaiseProject', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxRaiseProject/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxRaiseProject', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/yxShippingTemplates.js b/src/api/yxShippingTemplates.js new file mode 100644 index 0000000..1aa6ca2 --- /dev/null +++ b/src/api/yxShippingTemplates.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +export function add(data,id) { + return request({ + url: `api/yxShippingTemplates/save/${id}`, + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxShippingTemplates/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxShippingTemplates', + method: 'put', + data + }) +} + +export function getCity() { + return request({ + url: 'api/yxShippingTemplates/citys', + method: 'get' + }); +} + +export default { add, edit, del,getCity } diff --git a/src/api/yxStoreActivity.js b/src/api/yxStoreActivity.js new file mode 100644 index 0000000..057427e --- /dev/null +++ b/src/api/yxStoreActivity.js @@ -0,0 +1,74 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreActivity', + method: 'post', + data + }) +} +export function gets(data) { + return request({ + url: 'api/yxStoreActivity' + '?' + 'page=' + data.page + '&' + 'limit=' + data.limit, + method: 'get', + data + }) +} + +export function getses(data) { + return request({ + url: 'api/yxStoreCategoryShop', + method: 'get', + data + }) +} + +export function getList(data) { + return request({ + url: 'api/yxStoreActivity/getList?' + 'aid=' + data.aid, + method: 'get', + data + }) +} + +export function getsesInput(data) { + return request({ + url: 'api/yxStoreCategoryShop/SearchProduct?' + 'value=' + data.value, + method: 'get', + data + }) +} + +export function gePtses(data) { + return request({ + url: 'api/yxStoreCategoryShop/ProductList', + method: 'post', + data + }) +} + +export function gePtsesForm(data) { + return request({ + url: 'api/yxStoreCategoryShop/PitchProductList ', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxStoreActivity', + method: 'Delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreActivity', + method: 'put', + data + }) +} + +export default { add, edit, del, gets, getses, gePtses, gePtsesForm, getsesInput, getList } diff --git a/src/api/yxStoreBargain.js b/src/api/yxStoreBargain.js new file mode 100644 index 0000000..24118a6 --- /dev/null +++ b/src/api/yxStoreBargain.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +export function List(data) { + return request({ + url: 'api/yxStoreBargainConfigList', + method: 'get', + data + }) +} +export function Config(data) { + return request({ + url: 'api/yxStoreBargainConfig', + method: 'post', + data + }) +} + +export function add(data) { + return request({ + url: 'api/yxStoreBargain', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreBargain/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreBargain', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreBargainUser.js b/src/api/yxStoreBargainUser.js new file mode 100644 index 0000000..85c2a03 --- /dev/null +++ b/src/api/yxStoreBargainUser.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreBargainUser', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreBargainUser/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreBargainUser', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreCategory.js b/src/api/yxStoreCategory.js new file mode 100644 index 0000000..60588fb --- /dev/null +++ b/src/api/yxStoreCategory.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +export function getCates(params) { + return request({ + url: 'api/yxStoreCategory', + method: 'get', + params + }) +} + +export function add(data) { + return request({ + url: 'api/yxStoreCategory', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreCategory/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreCategory', + method: 'put', + data + }) +} + +export default { add, edit, del, getCates } diff --git a/src/api/yxStoreCategoryShop.js b/src/api/yxStoreCategoryShop.js new file mode 100644 index 0000000..7656e2d --- /dev/null +++ b/src/api/yxStoreCategoryShop.js @@ -0,0 +1,64 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreCategoryShop', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxStoreCategoryShop/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreCategoryShop', + method: 'put', + data + }) +} + +export function getTempList(data) { + return request({ + url: 'api/yxStoreActivity/getTempList', + method: 'get', + data: data + }) +} + +export function get(data) { + return request({ + url: 'api/yxStoreCategoryShop/Product?' + 'shopId=' + data.shopId, + method: 'get', + data: data + }) +} +export function dels(data) { + return request({ + url: 'api/yxStoreCategoryShop/ProductRelieve?' + 'id=' + data.id, + method: 'get', + data: data + }) +} +export function delse(data) { + return request({ + url: 'api/yxStoreCategoryShop/ProductDel?' + 'id=' + data.id, + method: 'get', + data: data + }) +} +export function putse(data) { + return request({ + url: 'api/yxStoreCategoryShop', + method: 'put', + data: data + }) +} + +export default { add, edit, del, get, dels, delse, putse, getTempList } diff --git a/src/api/yxStoreCityWide.js b/src/api/yxStoreCityWide.js new file mode 100644 index 0000000..efffd8a --- /dev/null +++ b/src/api/yxStoreCityWide.js @@ -0,0 +1,31 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreCityWide' + '?' + 'size=' + data.size + '&' + 'limit=' + data.limit, + method: 'get', + data + }) +} +export function get(data) { + return request({ + url: 'api/yxStoreCityWide/getCityList', + method: 'get', + data + }) +} +export function put(data) { + return request({ + url: 'api/yxStoreCityWide', + method: 'post', + data + }) +} +export function dele(data) { + return request({ + url: 'api/yxStoreCityWide/del' + '?' + 'id=' + data.id, + method: 'get', + data + }) +} + diff --git a/src/api/yxStoreCombination.js b/src/api/yxStoreCombination.js new file mode 100644 index 0000000..48b9d89 --- /dev/null +++ b/src/api/yxStoreCombination.js @@ -0,0 +1,46 @@ +import request from '@/utils/request' + +export function List(data) { + return request({ + url: 'api/yxStorePinkConfigList', + method: 'get', + data + }) +} +export function Config(data) { + return request({ + url: 'api/yxStorePinkConfig', + method: 'post', + data + }) +} +export function add(data) { + return request({ + url: 'api/yxStoreCombination', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreCombination/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreCombination', + method: 'put', + data + }) +} + +export function onsale(id, data) { + return request({ + url: 'api/yxStoreCombination/onsale/' + id, + method: 'post', + data + }) +} diff --git a/src/api/yxStoreCoupon.js b/src/api/yxStoreCoupon.js new file mode 100644 index 0000000..3f0e1ae --- /dev/null +++ b/src/api/yxStoreCoupon.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +export function show(data) { + return request({ + url: 'api/yxStoreCoupon/addCouponSlideshow', + method: 'post', + data + }) +} + +export function showList(data) { + return request({ + url: 'api/CouponSlideshowList', + method: 'get', + data + }) +} +export function add(data) { + return request({ + url: 'api/yxStoreCoupon', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreCoupon/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreCoupon', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreCouponIssue.js b/src/api/yxStoreCouponIssue.js new file mode 100644 index 0000000..271c795 --- /dev/null +++ b/src/api/yxStoreCouponIssue.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreCouponIssue', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreCouponIssue/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreCouponIssue', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreCouponIssueUser.js b/src/api/yxStoreCouponIssueUser.js new file mode 100644 index 0000000..7239da2 --- /dev/null +++ b/src/api/yxStoreCouponIssueUser.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreCouponIssueUser', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreCouponIssueUser/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreCouponIssueUser', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreCouponUser.js b/src/api/yxStoreCouponUser.js new file mode 100644 index 0000000..5cb7bbb --- /dev/null +++ b/src/api/yxStoreCouponUser.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreCouponUser', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreCouponUser/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreCouponUser', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreElephant.js b/src/api/yxStoreElephant.js new file mode 100644 index 0000000..848f370 --- /dev/null +++ b/src/api/yxStoreElephant.js @@ -0,0 +1,17 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreElephant?' + 'page=' + data.page + '&' + 'limit=' + data.limit, + method: 'get', + data + }) +} +export function del(data) { + return request({ + url: 'api/yxStoreElephant/del?' + 'id=' + data.id, + method: 'get', + data + }) +} + diff --git a/src/api/yxStoreOrder.js b/src/api/yxStoreOrder.js new file mode 100644 index 0000000..7c7a0e1 --- /dev/null +++ b/src/api/yxStoreOrder.js @@ -0,0 +1,108 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreOrder', + method: 'post', + data + }) +} + +export function CodeList(data) { + return request({ + url: 'api/getVerifyCodeList?' + 'val=' + data.val, + method: 'get' + }) +} + +export function getCount(data) { + return request({ + url: 'api/yxStoreOrderCount?' + 'shippingType=' + data.shippingType, + method: 'get' + }) +} + +export function getss(data) { + return request({ + url: 'api/yxStoreOrder' + '?' + 'page=' + data.page + '&' + 'uid=' + data.uid + '&' + 'size=' + data.size + '&' + 'sort=' + data.sort + '&' + 'orderStatus=' + -9 + '&' + 'orderType=' + 0, + method: 'get', + data: data + }) +} +export function getes(data) { + return request({ + url: 'api/yxStoreOrder' + '?' + 'page=' + data.page + '&' + 'uid=' + data.uid + '&' + 'size=' + data.size + '&' + 'sort=' + data.sort + '&' + 'orderStatus=' + -9 + '&' + 'orderType=' + 5, + method: 'get', + data: data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreOrder/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreOrder', + method: 'put', + data + }) +} + +export function editT(data) { + return request({ + url: 'api/yxStoreOrder/check', + method: 'put', + data + }) +} + +export function refund(data) { + return request({ + url: 'api/yxStoreOrder/refund', + method: 'post', + data + }) +} +export function refuse(data) { + return request({ + url: 'api/yxStoreOrder/refundNo', + method: 'post', + data + }) +} + +export function editOrder(data) { + return request({ + url: 'api/yxStoreOrder/edit', + method: 'post', + data + }) +} + +export function remark(data) { + return request({ + url: 'api/yxStoreOrder/remark', + method: 'post', + data + }) +} + +export function get() { + return request({ + url: 'api/yxExpress', + method: 'get' + }) +} + +export function express(data) { + return request({ + url: 'api/yxStoreOrder/express', + method: 'post', + data + }) +} + diff --git a/src/api/yxStoreOrderStatus.js b/src/api/yxStoreOrderStatus.js new file mode 100644 index 0000000..eaa732d --- /dev/null +++ b/src/api/yxStoreOrderStatus.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreOrderStatus', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreOrderStatus/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreOrderStatus', + method: 'put', + data + }) +} diff --git a/src/api/yxStorePink.js b/src/api/yxStorePink.js new file mode 100644 index 0000000..85b5eea --- /dev/null +++ b/src/api/yxStorePink.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStorePink', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStorePink/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStorePink', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreProduct.js b/src/api/yxStoreProduct.js new file mode 100644 index 0000000..63c464d --- /dev/null +++ b/src/api/yxStoreProduct.js @@ -0,0 +1,113 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreProduct/addOrSave', + method: 'post', + data + }) +} +export function yxClass(data) { + return request({ + url: 'api/yxClassifyId ', + method: 'get', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreProduct/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreProduct', + method: 'put', + data + }) +} + +export function onsale(id, data) { + return request({ + url: 'api/yxStoreProduct/onsale/' + id, + method: 'post', + data + }) +} + +export function recovery(id) { + return request({ + url: 'api/yxStoreProduct/recovery/' + id, + method: 'delete' + }) +} + +export function isFormatAttr(id, data) { + return request({ + url: 'api/yxStoreProduct/isFormatAttr/' + id, + method: 'post', + data + }) +} + +export function setAttr(id, data) { + return request({ + url: 'api/yxStoreProduct/setAttr/' + id, + method: 'post', + data + }) +} + +export function clearAttr(id) { + return request({ + url: 'api/yxStoreProduct/clearAttr/' + id, + method: 'post' + }) +} + +export function getAttr(id) { + return request({ + url: 'api/yxStoreProduct/attr/' + id, + method: 'get' + }) +} + +export function getInfo(id) { + return request({ + url: 'api/yxStoreProduct/info/' + id, + method: 'get' + }) +} + +export function addpa(data) { + return request({ + url: 'api/yxStoreSource' + '?' + 'page=' + data.page + '&' + 'size=' + data.size, + method: 'get', + data + }) +} +export function gets(data) { + return request({ + url: 'api/yxStoreCategoryShop', + method: 'get', + data + }) +} +export function pospa(data) { + return request({ + url: 'api/yxStoreSource', + method: 'post', + data + }) +} + +export function Content(data) { + return request({ + url: 'api/qiNiuContent', + method: 'post', + data + }) +} diff --git a/src/api/yxStoreProductReply.js b/src/api/yxStoreProductReply.js new file mode 100644 index 0000000..23ac560 --- /dev/null +++ b/src/api/yxStoreProductReply.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreProductReply', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreProductReply/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreProductReply', + method: 'put', + data + }) +} diff --git a/src/api/yxStoreSeckill.js b/src/api/yxStoreSeckill.js new file mode 100644 index 0000000..d5037da --- /dev/null +++ b/src/api/yxStoreSeckill.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +export function List(data) { + return request({ + url: 'api/yxStoreSeckillConfigList', + method: 'get', + data + }) +} +export function Config(data) { + return request({ + url: 'api/yxStoreSeckillConfig', + method: 'post', + data + }) +} +export function add(data) { + return request({ + url: 'api/yxStoreSeckill', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreSeckill/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreSeckill', + method: 'put', + data + }) +} +export function isFormatAttr(id, data) { + return request({ + url: 'api/yxStoreProduct/isFormatAttr/' + id, + method: 'post', + data + }) +} +export function getInfo(id) { + return request({ + url: 'api/yxStoreProduct/info/' + id, + method: 'get' + }) +} diff --git a/src/api/yxStoreVisit.js b/src/api/yxStoreVisit.js new file mode 100644 index 0000000..50a7469 --- /dev/null +++ b/src/api/yxStoreVisit.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreVisit', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxStoreVisit/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreVisit', + method: 'put', + data + }) +} diff --git a/src/api/yxSystemConfig.js b/src/api/yxSystemConfig.js new file mode 100644 index 0000000..0d06a85 --- /dev/null +++ b/src/api/yxSystemConfig.js @@ -0,0 +1,32 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxSystemConfig', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxSystemConfig/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxSystemConfig', + method: 'put', + data + }) +} + +export function get() { + return request({ + url: 'api/yxSystemConfig?size=50', + method: 'get' + }) +} + diff --git a/src/api/yxSystemGroupData.js b/src/api/yxSystemGroupData.js new file mode 100644 index 0000000..7f5a8b6 --- /dev/null +++ b/src/api/yxSystemGroupData.js @@ -0,0 +1,31 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxSystemGroupData', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxSystemGroupData/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxSystemGroupData', + method: 'put', + data + }) +} + +export function get() { + return request({ + url: 'api/yxSystemGroupData', + method: 'get' + }) +} diff --git a/src/api/yxSystemStore.js b/src/api/yxSystemStore.js new file mode 100644 index 0000000..507a46b --- /dev/null +++ b/src/api/yxSystemStore.js @@ -0,0 +1,56 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxSystemStore', + method: 'post', + data + }) +} + +export function get() { + return request({ + url: 'api/yxSystemStore', + method: 'get' + }) +} + +export function getAll() { + return request({ + url: 'api/yxSystemStore/all', + method: 'get' + }) +} + +export function getL(data) { + return request({ + url: 'api/yxSystemStore/getL', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxSystemStore/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxSystemStore', + method: 'put', + data + }) +} +// export function xaiz(data) { +// return request({ +// url: 'api/yxStoreOrder/download' + '?' + 'page=' + 0 + '&' + 'size=' + 10000 + '&' + 'sort=' + data.sort + '&' + 'orderStatus=' + -9 + '&' + 'orderType=' + 5+'&'+'createTime='+'&'+'listContent='+data.listContent, +// method: 'get', +// data +// }) +// } + +export default { getL, add, edit, del, get, getAll } diff --git a/src/api/yxSystemStoreStaff.js b/src/api/yxSystemStoreStaff.js new file mode 100644 index 0000000..f95a59e --- /dev/null +++ b/src/api/yxSystemStoreStaff.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxSystemStoreStaff', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxSystemStoreStaff/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxSystemStoreStaff', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/yxSystemUserLevel.js b/src/api/yxSystemUserLevel.js new file mode 100644 index 0000000..a91c032 --- /dev/null +++ b/src/api/yxSystemUserLevel.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxSystemUserLevel', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxSystemUserLevel/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxSystemUserLevel', + method: 'put', + data + }) +} diff --git a/src/api/yxSystemUserTask.js b/src/api/yxSystemUserTask.js new file mode 100644 index 0000000..995f945 --- /dev/null +++ b/src/api/yxSystemUserTask.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxSystemUserTask', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxSystemUserTask/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxSystemUserTask', + method: 'put', + data + }) +} diff --git a/src/api/yxUser.js b/src/api/yxUser.js new file mode 100644 index 0000000..eaad64a --- /dev/null +++ b/src/api/yxUser.js @@ -0,0 +1,55 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxUser', + method: 'post', + data + }) +} + +export function del(uid) { + return request({ + url: 'api/yxUser/' + uid, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxUser', + method: 'put', + data + }) +} + +export function onStatus(id, data) { + return request({ + url: 'api/yxUser/onStatus/' + id, + method: 'post', + data + }) +} + +export function editp(data) { + return request({ + url: 'api/yxUser/money', + method: 'post', + data + }) +} +export function switchs(data) { + return request({ + url: 'api/noSpreadUid?' + 'uid=' + data.uid, + method: 'get', + data + }) +} + +export function getSpread(data) { + return request({ + url: 'api/yxUser/spread', + method: 'post', + data + }) +} diff --git a/src/api/yxUserBill.js b/src/api/yxUserBill.js new file mode 100644 index 0000000..b6f17e5 --- /dev/null +++ b/src/api/yxUserBill.js @@ -0,0 +1,32 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxUserBill', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxUserBill/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxUserBill', + method: 'put', + data + }) +} +export function gett(datas) { + return request({ + url: 'api/yxUserBill' + '?' + 'page=' + datas.page + '&' + 'uid=' + datas.uid + '&' + 'size=' + datas.size + '&' + 'linkId=' + '' + '&' + 'nickname=' + '', + method: 'get', + data: datas + }) +} +export default { gett, add, edit, del } diff --git a/src/api/yxUserExtract.js b/src/api/yxUserExtract.js new file mode 100644 index 0000000..b5af184 --- /dev/null +++ b/src/api/yxUserExtract.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxUserExtract', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxUserExtract/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxUserExtract', + method: 'put', + data + }) +} diff --git a/src/api/yxUserRecharge.js b/src/api/yxUserRecharge.js new file mode 100644 index 0000000..38d1180 --- /dev/null +++ b/src/api/yxUserRecharge.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxUserRecharge', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxUserRecharge/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxUserRecharge', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/yxUserRecommend.js b/src/api/yxUserRecommend.js new file mode 100644 index 0000000..a08b416 --- /dev/null +++ b/src/api/yxUserRecommend.js @@ -0,0 +1,36 @@ +import request from '@/utils/request' + +export function gets(params) { + return request({ + url: 'api/yxUserRecommend', + method: 'get', + params + }) +} + +export function add(data) { + return request({ + url: 'api/yxUserRecommend', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxUserRecommend', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxUserRecommend', + method: 'put', + data + }) +} + +export default { add, edit, del, gets } + diff --git a/src/api/yxUserTeamByUid.js b/src/api/yxUserTeamByUid.js new file mode 100644 index 0000000..fe8ad9f --- /dev/null +++ b/src/api/yxUserTeamByUid.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + +export function getYB(params) { + return request({ + url: 'api/yxUser/yxUserTeamByUid', + method: 'get', + params + }) +} + +export default { getYB } diff --git a/src/api/yxWechatReply.js b/src/api/yxWechatReply.js new file mode 100644 index 0000000..e6db3e9 --- /dev/null +++ b/src/api/yxWechatReply.js @@ -0,0 +1,32 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxWechatReply', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxWechatReply/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxWechatReply', + method: 'put', + data + }) +} + +export function get() { + return request({ + url: 'api/yxWechatReply', + method: 'get' + }) +} + diff --git a/src/api/yxWechatTemplate.js b/src/api/yxWechatTemplate.js new file mode 100644 index 0000000..4935309 --- /dev/null +++ b/src/api/yxWechatTemplate.js @@ -0,0 +1,32 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxWechatTemplate', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/yxWechatTemplate/' + id, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxWechatTemplate', + method: 'put', + data + }) +} + +export function get() { + return request({ + url: 'api/yxWechatTemplate', + method: 'get' + }) +} + diff --git a/src/api/yxWechatUser.js b/src/api/yxWechatUser.js new file mode 100644 index 0000000..adb1e03 --- /dev/null +++ b/src/api/yxWechatUser.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxWechatUser', + method: 'post', + data + }) +} + +export function del(uid) { + return request({ + url: 'api/yxWechatUser/' + uid, + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/yxWechatUser', + method: 'put', + data + }) +} diff --git a/src/assets/styles/description.scss b/src/assets/styles/description.scss new file mode 100644 index 0000000..76b0992 --- /dev/null +++ b/src/assets/styles/description.scss @@ -0,0 +1,17 @@ +.my-blockquote{ + margin: 0px 0px 10px; + padding: 15px; + line-height: 22px; + border-left: 5px solid #00437B; + border-radius: 0 2px 2px 0; + background-color: #f2f2f2; +} +.my-code{ + position: relative; + padding: 15px; + line-height: 20px; + border-left: 5px solid #ddd; + color: #333; + font-family: Courier New; + font-size: 12px +} diff --git a/src/components/material/index.vue b/src/components/material/index.vue new file mode 100644 index 0000000..35f9bd6 --- /dev/null +++ b/src/components/material/index.vue @@ -0,0 +1,530 @@ + + + + + + diff --git a/src/components/mul-pic-upload/index.vue b/src/components/mul-pic-upload/index.vue new file mode 100644 index 0000000..359a4ad --- /dev/null +++ b/src/components/mul-pic-upload/index.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/src/components/pic-upload-two/index.vue b/src/components/pic-upload-two/index.vue new file mode 100644 index 0000000..f294cac --- /dev/null +++ b/src/components/pic-upload-two/index.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/components/pic-upload/index.vue b/src/components/pic-upload/index.vue new file mode 100644 index 0000000..dd9fd6f --- /dev/null +++ b/src/components/pic-upload/index.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/components/singlematerial/index.vue b/src/components/singlematerial/index.vue new file mode 100644 index 0000000..17a374d --- /dev/null +++ b/src/components/singlematerial/index.vue @@ -0,0 +1,499 @@ + + + + + + diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index e9af5d2..b55c785 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -35,7 +35,7 @@ export default { }, data() { return { - title: '农场管理系统', + title: '眼界甄选', logo: logoImg } } diff --git a/src/mixins/crud.js b/src/mixins/crud.js new file mode 100644 index 0000000..84915da --- /dev/null +++ b/src/mixins/crud.js @@ -0,0 +1,344 @@ +import { + initData, + download +} from '@/api/data' +import { + parseTime, + downloadFile +} from '@/utils/index' +import checkPermission from '@/utils/permission' + +export default { + data() { + return { + // 表格数据 + data: [], + // 排序规则,默认 id 降序, 支持多字段排序 ['id,desc', 'createTime,asc'] + sort: ['id,desc'], + // 页码 + page: 0, + // 每页数据条数 + size: 10, + // 总数据条数 + total: 0, + // 请求数据的url + url: '', + // 查询数据的参数 + params: {}, + // 待查询的对象 + query: {}, + // 等待时间 + time: 50, + // 是否为新增类型的表单 + isAdd: false, + // 导出的 Loading + downloadLoading: false, + // 表格 Loading 属性 + loading: true, + // 删除 Loading 属性 + delLoading: false, + delAllLoading: false, + // 弹窗属性 + dialog: false, + // Form 表单 + form: {}, + // 重置表单 + resetForm: {}, + // 标题 + title: '' + } + }, + methods: { + parseTime, + downloadFile, + checkPermission, + async init() { + if (!await this.beforeInit()) { + return + } + return new Promise((resolve, reject) => { + this.loading = true + // 请求数据 + initData(this.url, this.getQueryParame()).then(data => { + // console.log(data,'ddeeeeee') + this.total = data.totalElements + if (this.url === 'api/yxStoreProduct') { + data.content.map(val => { + val.qrcode = 'http://myshop.api.gznl.top/product/?productId=' + val.id + '&pageType=good&codeType=routine' + }) + } + this.data = data.content + // this.classification = data.cateList + // time 毫秒后显示表格 + setTimeout(() => { + this.loading = false + }, this.time) + resolve(data) + }).catch(err => { + this.loading = false + reject(err) + }) + }) + }, + beforeInit() { + return true + }, + getQueryParame: function() { + return { + page: this.page, + size: this.size, + sort: this.sort, + ...this.query, + ...this.params + } + }, + // 改变页码 + pageChange(e) { + this.page = e - 1 + this.init() + }, + // 改变每页显示数 + sizeChange(e) { + this.page = 0 + this.size = e + this.init() + }, + // 预防删除第二页最后一条数据时,或者多选删除第二页的数据时,页码错误导致请求无数据 + dleChangePage(size) { + if (size === undefined) { + size = 1 + } + if (this.data.length === size && this.page !== 0) { + this.page = this.page - 1 + } + }, + // 查询方法 + toQuery() { + this.page = 0 + this.init() + }, + /** + * 通用的提示封装 + */ + submitSuccessNotify() { + this.$notify({ + title: '提交成功', + type: 'success', + duration: 2500 + }) + }, + addSuccessNotify() { + this.$notify({ + title: '新增成功', + type: 'success', + duration: 2500 + }) + }, + editSuccessNotify() { + this.$notify({ + title: '编辑成功', + type: 'success', + duration: 2500 + }) + }, + delSuccessNotify() { + this.$notify({ + title: '删除成功', + type: 'success', + duration: 2500 + }) + }, + notify(title, type) { + this.$notify({ + title: title, + type: type, + duration: 2500 + }) + }, + /** + * 删除前可以调用 beforeDelMethod 做一些操作 + */ + beforeDelMethod() { + return true + }, + /** + * 通用的删除 + */ + delMethod(id) { + if (!this.beforeDelMethod()) { + return + } + this.delLoading = true + this.crudMethod.del(id).then(() => { + this.delLoading = false + this.$refs[id].doClose() + this.dleChangePage() + this.delSuccessNotify() + this.afterDelMethod() + this.init() + }).catch(() => { + this.delLoading = false + this.$refs[id].doClose() + }) + }, + afterDelMethod() {}, + /** + * 多选删除提示 + */ + beforeDelAllMethod() { + this.$confirm('你确定删除选中的数据吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + this.delAllMethod() + }) + }, + /** + * 多选删除 + */ + delAllMethod() { + this.delAllLoading = true + const data = this.$refs.table.selection + const ids = [] + for (let i = 0; i < data.length; i++) { + ids.push(data[i].id) + } + this.crudMethod.delAll(ids).then(() => { + this.delAllLoading = false + this.dleChangePage(ids.length) + this.init() + this.$notify({ + title: '删除成功', + type: 'success', + duration: 2500 + }) + }).catch(() => { + this.delAllLoading = false + }) + }, + /** + * 显示新增弹窗前可以调用该方法 + */ + beforeShowAddForm() {}, + /** + * 显示新增弹窗 + */ + showAddFormDialog() { + this.isAdd = true + this.resetForm = JSON.parse(JSON.stringify(this.form)) + this.beforeShowAddForm() + this.dialog = true + }, + /** + * 显示编辑弹窗前可以调用该方法 + */ + beforeShowEditForm(data) {}, + /** + * 显示编辑弹窗 + */ + showEditFormDialog(data = '') { + this.isAdd = false + if (data) { + this.resetForm = JSON.parse(JSON.stringify(this.form)) + this.form = JSON.parse(JSON.stringify(data)) + } + this.beforeShowEditForm(data) + this.dialog = true + }, + /** + * 新增方法 + */ + addMethod() { + this.crudMethod.add(this.form).then(() => { + this.addSuccessNotify() + this.loading = false + this.afterAddMethod() + this.cancel() + this.init() + }).catch(() => { + this.loading = false + this.afterAddErrorMethod() + }) + }, + /** + * 新增后可以调用该方法 + */ + afterAddMethod() {}, + /** + * 新增失败后调用该方法 + */ + afterAddErrorMethod() {}, + /** + * 通用的编辑方法 + */ + editMethod() { + this.crudMethod.edit(this.form).then(() => { + this.editSuccessNotify() + this.loading = false + this.afterEditMethod() + this.cancel() + this.init() + }).catch(() => { + this.loading = false + }) + }, + /** + * 编辑后可以调用该方法 + */ + afterEditMethod() {}, + /** + * 提交前可以调用该方法 + */ + beforeSubmitMethod() { + return true + }, + /** + * 提交 + */ + submitMethod() { + if (!this.beforeSubmitMethod()) { + return + } + if (this.$refs['form']) { + this.$refs['form'].validate((valid) => { + if (valid) { + this.loading = true + if (this.isAdd) { + this.addMethod() + } else this.editMethod() + } + }) + } + }, + /** + * 隐藏弹窗 + */ + cancel() { + this.dialog = false + if (this.$refs['form']) { + this.$refs['form'].clearValidate() + this.form = this.resetForm + } + }, + /** + * 获取弹窗的标题 + */ + getFormTitle() { + return this.isAdd ? `新增${this.title}` : `编辑${this.title}` + }, + /** + * 通用导出 + */ + downloadMethod() { + this.beforeInit() + this.downloadLoading = true + download(this.url + '/download', this.params).then(result => { + this.downloadFile(result, this.title + '数据', 'xlsx') + this.downloadLoading = false + }).catch(() => { + this.downloadLoading = false + }) + } + } +} diff --git a/src/views/activity/Activitylist/form.vue b/src/views/activity/Activitylist/form.vue new file mode 100644 index 0000000..f098c2e --- /dev/null +++ b/src/views/activity/Activitylist/form.vue @@ -0,0 +1,561 @@ + + + \ No newline at end of file diff --git a/src/views/activity/Activitylist/forms.vue b/src/views/activity/Activitylist/forms.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/activity/Activitylist/index.vue b/src/views/activity/Activitylist/index.vue new file mode 100644 index 0000000..81bf8b4 --- /dev/null +++ b/src/views/activity/Activitylist/index.vue @@ -0,0 +1,246 @@ + + + \ No newline at end of file diff --git a/src/views/activity/activityZone/index.vue b/src/views/activity/activityZone/index.vue new file mode 100644 index 0000000..675d4b7 --- /dev/null +++ b/src/views/activity/activityZone/index.vue @@ -0,0 +1,101 @@ + + + \ No newline at end of file diff --git a/src/views/activity/bargain/HowToPlay.vue b/src/views/activity/bargain/HowToPlay.vue new file mode 100644 index 0000000..12088ff --- /dev/null +++ b/src/views/activity/bargain/HowToPlay.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/src/views/activity/bargain/form.vue b/src/views/activity/bargain/form.vue new file mode 100644 index 0000000..fa6697e --- /dev/null +++ b/src/views/activity/bargain/form.vue @@ -0,0 +1,283 @@ + + + + + diff --git a/src/views/activity/bargain/formse.vue b/src/views/activity/bargain/formse.vue new file mode 100644 index 0000000..b11fa0b --- /dev/null +++ b/src/views/activity/bargain/formse.vue @@ -0,0 +1,286 @@ + + + + + diff --git a/src/views/activity/bargain/index.vue b/src/views/activity/bargain/index.vue new file mode 100644 index 0000000..2c5e4cf --- /dev/null +++ b/src/views/activity/bargain/index.vue @@ -0,0 +1,214 @@ + + + + + diff --git a/src/views/activity/bargain_user/form.vue b/src/views/activity/bargain_user/form.vue new file mode 100644 index 0000000..a60fef4 --- /dev/null +++ b/src/views/activity/bargain_user/form.vue @@ -0,0 +1,124 @@ + + + + + diff --git a/src/views/activity/bargain_user/index.vue b/src/views/activity/bargain_user/index.vue new file mode 100644 index 0000000..71c18ef --- /dev/null +++ b/src/views/activity/bargain_user/index.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/src/views/activity/combination/HowToPlay.vue b/src/views/activity/combination/HowToPlay.vue new file mode 100644 index 0000000..ac78f0e --- /dev/null +++ b/src/views/activity/combination/HowToPlay.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/views/activity/combination/form.vue b/src/views/activity/combination/form.vue new file mode 100644 index 0000000..3aff5a7 --- /dev/null +++ b/src/views/activity/combination/form.vue @@ -0,0 +1,258 @@ + + + + + diff --git a/src/views/activity/combination/formt.vue b/src/views/activity/combination/formt.vue new file mode 100644 index 0000000..66c00a5 --- /dev/null +++ b/src/views/activity/combination/formt.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/src/views/activity/combination/index.vue b/src/views/activity/combination/index.vue new file mode 100644 index 0000000..fe6856e --- /dev/null +++ b/src/views/activity/combination/index.vue @@ -0,0 +1,244 @@ + + + + + diff --git a/src/views/activity/combinlist/form.vue b/src/views/activity/combinlist/form.vue new file mode 100644 index 0000000..56f0c5c --- /dev/null +++ b/src/views/activity/combinlist/form.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/src/views/activity/combinlist/index.vue b/src/views/activity/combinlist/index.vue new file mode 100644 index 0000000..85fb578 --- /dev/null +++ b/src/views/activity/combinlist/index.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/activity/coupon/form.vue b/src/views/activity/coupon/form.vue new file mode 100644 index 0000000..f421020 --- /dev/null +++ b/src/views/activity/coupon/form.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/src/views/activity/coupon/formte.vue b/src/views/activity/coupon/formte.vue new file mode 100644 index 0000000..a37e79e --- /dev/null +++ b/src/views/activity/coupon/formte.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/src/views/activity/coupon/index.vue b/src/views/activity/coupon/index.vue new file mode 100644 index 0000000..ae47d8d --- /dev/null +++ b/src/views/activity/coupon/index.vue @@ -0,0 +1,220 @@ + + + + + diff --git a/src/views/activity/couponissue/form.vue b/src/views/activity/couponissue/form.vue new file mode 100644 index 0000000..bed1c0a --- /dev/null +++ b/src/views/activity/couponissue/form.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/src/views/activity/couponissue/formt.vue b/src/views/activity/couponissue/formt.vue new file mode 100644 index 0000000..a707f6e --- /dev/null +++ b/src/views/activity/couponissue/formt.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/src/views/activity/couponissue/index.vue b/src/views/activity/couponissue/index.vue new file mode 100644 index 0000000..3172885 --- /dev/null +++ b/src/views/activity/couponissue/index.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/src/views/activity/couponuser/form.vue b/src/views/activity/couponuser/form.vue new file mode 100644 index 0000000..2b60977 --- /dev/null +++ b/src/views/activity/couponuser/form.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/src/views/activity/couponuser/index.vue b/src/views/activity/couponuser/index.vue new file mode 100644 index 0000000..daa7cbb --- /dev/null +++ b/src/views/activity/couponuser/index.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/src/views/activity/extract/form.vue b/src/views/activity/extract/form.vue new file mode 100644 index 0000000..6955b9b --- /dev/null +++ b/src/views/activity/extract/form.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/activity/extract/index.vue b/src/views/activity/extract/index.vue new file mode 100644 index 0000000..a6723ab --- /dev/null +++ b/src/views/activity/extract/index.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/src/views/activity/seckill/HowToPlay.vue b/src/views/activity/seckill/HowToPlay.vue new file mode 100644 index 0000000..0646330 --- /dev/null +++ b/src/views/activity/seckill/HowToPlay.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/views/activity/seckill/form.vue b/src/views/activity/seckill/form.vue new file mode 100644 index 0000000..85add74 --- /dev/null +++ b/src/views/activity/seckill/form.vue @@ -0,0 +1,280 @@ + + + + + diff --git a/src/views/activity/seckill/index.vue b/src/views/activity/seckill/index.vue new file mode 100644 index 0000000..4e0ea4a --- /dev/null +++ b/src/views/activity/seckill/index.vue @@ -0,0 +1,219 @@ + + + + + diff --git a/src/views/activity/seckill/newlyAdded.vue b/src/views/activity/seckill/newlyAdded.vue new file mode 100644 index 0000000..bf40c9e --- /dev/null +++ b/src/views/activity/seckill/newlyAdded.vue @@ -0,0 +1,666 @@ + + + + + diff --git a/src/views/activity/storecouponuser/form.vue b/src/views/activity/storecouponuser/form.vue new file mode 100644 index 0000000..c81c47e --- /dev/null +++ b/src/views/activity/storecouponuser/form.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/src/views/activity/storecouponuser/index.vue b/src/views/activity/storecouponuser/index.vue new file mode 100644 index 0000000..cd773de --- /dev/null +++ b/src/views/activity/storecouponuser/index.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/src/views/bxg/shop/Distribution/index.vue b/src/views/bxg/shop/Distribution/index.vue new file mode 100644 index 0000000..98baf16 --- /dev/null +++ b/src/views/bxg/shop/Distribution/index.vue @@ -0,0 +1,191 @@ + + + + \ No newline at end of file diff --git a/src/views/bxg/shop/cate/index.vue b/src/views/bxg/shop/cate/index.vue new file mode 100644 index 0000000..1443fda --- /dev/null +++ b/src/views/bxg/shop/cate/index.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/src/views/bxg/shop/express/form.vue b/src/views/bxg/shop/express/form.vue new file mode 100644 index 0000000..62be683 --- /dev/null +++ b/src/views/bxg/shop/express/form.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/views/bxg/shop/express/index.vue b/src/views/bxg/shop/express/index.vue new file mode 100644 index 0000000..0b9f4f9 --- /dev/null +++ b/src/views/bxg/shop/express/index.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/bxg/shop/goods/attr.vue b/src/views/bxg/shop/goods/attr.vue new file mode 100644 index 0000000..cb8939f --- /dev/null +++ b/src/views/bxg/shop/goods/attr.vue @@ -0,0 +1,450 @@ + + + + + diff --git a/src/views/bxg/shop/goods/form.vue b/src/views/bxg/shop/goods/form.vue new file mode 100644 index 0000000..d32b0d1 --- /dev/null +++ b/src/views/bxg/shop/goods/form.vue @@ -0,0 +1,1509 @@ + + + + + diff --git a/src/views/bxg/shop/goods/formes.vue b/src/views/bxg/shop/goods/formes.vue new file mode 100644 index 0000000..e54e0ea --- /dev/null +++ b/src/views/bxg/shop/goods/formes.vue @@ -0,0 +1,1496 @@ + + + + + diff --git a/src/views/bxg/shop/goods/index.vue b/src/views/bxg/shop/goods/index.vue new file mode 100644 index 0000000..1eefa1e --- /dev/null +++ b/src/views/bxg/shop/goods/index.vue @@ -0,0 +1,564 @@ + + + + + diff --git a/src/views/bxg/shop/goods/index2.vue b/src/views/bxg/shop/goods/index2.vue new file mode 100644 index 0000000..6b0caed --- /dev/null +++ b/src/views/bxg/shop/goods/index2.vue @@ -0,0 +1,230 @@ + + + + + diff --git a/src/views/bxg/shop/goods/index3.vue b/src/views/bxg/shop/goods/index3.vue new file mode 100644 index 0000000..049488d --- /dev/null +++ b/src/views/bxg/shop/goods/index3.vue @@ -0,0 +1,195 @@ + + + + + diff --git a/src/views/bxg/shop/goods/tab.vue b/src/views/bxg/shop/goods/tab.vue new file mode 100644 index 0000000..8a0796c --- /dev/null +++ b/src/views/bxg/shop/goods/tab.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/src/views/bxg/shop/order/detail.vue b/src/views/bxg/shop/order/detail.vue new file mode 100644 index 0000000..39d27e3 --- /dev/null +++ b/src/views/bxg/shop/order/detail.vue @@ -0,0 +1,313 @@ + + + + \ No newline at end of file diff --git a/src/views/bxg/shop/order/edit.vue b/src/views/bxg/shop/order/edit.vue new file mode 100644 index 0000000..2cec088 --- /dev/null +++ b/src/views/bxg/shop/order/edit.vue @@ -0,0 +1,196 @@ + + + + + diff --git a/src/views/bxg/shop/order/form.vue b/src/views/bxg/shop/order/form.vue new file mode 100644 index 0000000..8b07cd6 --- /dev/null +++ b/src/views/bxg/shop/order/form.vue @@ -0,0 +1,179 @@ + + + + + diff --git a/src/views/bxg/shop/order/formC.vue b/src/views/bxg/shop/order/formC.vue new file mode 100644 index 0000000..e7de3bd --- /dev/null +++ b/src/views/bxg/shop/order/formC.vue @@ -0,0 +1,158 @@ + + + + + diff --git a/src/views/bxg/shop/order/index.vue b/src/views/bxg/shop/order/index.vue new file mode 100644 index 0000000..594a158 --- /dev/null +++ b/src/views/bxg/shop/order/index.vue @@ -0,0 +1,1281 @@ + + + + + diff --git a/src/views/bxg/shop/order/indext.vue b/src/views/bxg/shop/order/indext.vue new file mode 100644 index 0000000..7d2cb0c --- /dev/null +++ b/src/views/bxg/shop/order/indext.vue @@ -0,0 +1,781 @@ + + + + + diff --git a/src/views/bxg/shop/order/print.vue b/src/views/bxg/shop/order/print.vue new file mode 100644 index 0000000..3972ef3 --- /dev/null +++ b/src/views/bxg/shop/order/print.vue @@ -0,0 +1,189 @@ + + + + diff --git a/src/views/bxg/shop/order/refund.vue b/src/views/bxg/shop/order/refund.vue new file mode 100644 index 0000000..26f68ae --- /dev/null +++ b/src/views/bxg/shop/order/refund.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/src/views/bxg/shop/order/remark.vue b/src/views/bxg/shop/order/remark.vue new file mode 100644 index 0000000..42037ba --- /dev/null +++ b/src/views/bxg/shop/order/remark.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/src/views/bxg/shop/recharge/index.vue b/src/views/bxg/shop/recharge/index.vue new file mode 100644 index 0000000..648f7fd --- /dev/null +++ b/src/views/bxg/shop/recharge/index.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/src/views/bxg/shop/reply/form.vue b/src/views/bxg/shop/reply/form.vue new file mode 100644 index 0000000..fa7437c --- /dev/null +++ b/src/views/bxg/shop/reply/form.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/views/bxg/shop/reply/index.vue b/src/views/bxg/shop/reply/index.vue new file mode 100644 index 0000000..e3a6d75 --- /dev/null +++ b/src/views/bxg/shop/reply/index.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/views/bxg/shop/set/act.vue b/src/views/bxg/shop/set/act.vue new file mode 100644 index 0000000..12faa0a --- /dev/null +++ b/src/views/bxg/shop/set/act.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/src/views/bxg/shop/set/actform.vue b/src/views/bxg/shop/set/actform.vue new file mode 100644 index 0000000..f6692aa --- /dev/null +++ b/src/views/bxg/shop/set/actform.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/src/views/bxg/shop/set/form.vue b/src/views/bxg/shop/set/form.vue new file mode 100644 index 0000000..2fdda1b --- /dev/null +++ b/src/views/bxg/shop/set/form.vue @@ -0,0 +1,132 @@ + + + + + diff --git a/src/views/bxg/shop/set/hot.vue b/src/views/bxg/shop/set/hot.vue new file mode 100644 index 0000000..1181010 --- /dev/null +++ b/src/views/bxg/shop/set/hot.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/src/views/bxg/shop/set/hotform.vue b/src/views/bxg/shop/set/hotform.vue new file mode 100644 index 0000000..ceed5aa --- /dev/null +++ b/src/views/bxg/shop/set/hotform.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/src/views/bxg/shop/set/index.vue b/src/views/bxg/shop/set/index.vue new file mode 100644 index 0000000..b44fff5 --- /dev/null +++ b/src/views/bxg/shop/set/index.vue @@ -0,0 +1,146 @@ + + + + + diff --git a/src/views/bxg/shop/set/menu.vue b/src/views/bxg/shop/set/menu.vue new file mode 100644 index 0000000..d537fd7 --- /dev/null +++ b/src/views/bxg/shop/set/menu.vue @@ -0,0 +1,146 @@ + + + + + diff --git a/src/views/bxg/shop/set/menuform.vue b/src/views/bxg/shop/set/menuform.vue new file mode 100644 index 0000000..502e807 --- /dev/null +++ b/src/views/bxg/shop/set/menuform.vue @@ -0,0 +1,132 @@ + + + + + diff --git a/src/views/bxg/shop/set/recharge.vue b/src/views/bxg/shop/set/recharge.vue new file mode 100644 index 0000000..49c9d7f --- /dev/null +++ b/src/views/bxg/shop/set/recharge.vue @@ -0,0 +1,136 @@ + + + + + diff --git a/src/views/bxg/shop/set/rechargeform.vue b/src/views/bxg/shop/set/rechargeform.vue new file mode 100644 index 0000000..73f9b65 --- /dev/null +++ b/src/views/bxg/shop/set/rechargeform.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/views/bxg/shop/set/roll.vue b/src/views/bxg/shop/set/roll.vue new file mode 100644 index 0000000..ad8732a --- /dev/null +++ b/src/views/bxg/shop/set/roll.vue @@ -0,0 +1,141 @@ + + + + + diff --git a/src/views/bxg/shop/set/rollform.vue b/src/views/bxg/shop/set/rollform.vue new file mode 100644 index 0000000..51f67f9 --- /dev/null +++ b/src/views/bxg/shop/set/rollform.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/views/bxg/shop/set/seckill.vue b/src/views/bxg/shop/set/seckill.vue new file mode 100644 index 0000000..b9b5b18 --- /dev/null +++ b/src/views/bxg/shop/set/seckill.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/bxg/shop/set/seckillform.vue b/src/views/bxg/shop/set/seckillform.vue new file mode 100644 index 0000000..4c33b2e --- /dev/null +++ b/src/views/bxg/shop/set/seckillform.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/src/views/bxg/shop/set/sign.vue b/src/views/bxg/shop/set/sign.vue new file mode 100644 index 0000000..47c0449 --- /dev/null +++ b/src/views/bxg/shop/set/sign.vue @@ -0,0 +1,136 @@ + + + + + diff --git a/src/views/bxg/shop/set/signform.vue b/src/views/bxg/shop/set/signform.vue new file mode 100644 index 0000000..c8a769a --- /dev/null +++ b/src/views/bxg/shop/set/signform.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/views/bxg/shop/set/usermenu.vue b/src/views/bxg/shop/set/usermenu.vue new file mode 100644 index 0000000..52ecdc3 --- /dev/null +++ b/src/views/bxg/shop/set/usermenu.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/src/views/bxg/shop/set/usermenuform.vue b/src/views/bxg/shop/set/usermenuform.vue new file mode 100644 index 0000000..8a4d0af --- /dev/null +++ b/src/views/bxg/shop/set/usermenuform.vue @@ -0,0 +1,132 @@ + + + + + diff --git a/src/views/bxg/shop/shippingTemplates/city.vue b/src/views/bxg/shop/shippingTemplates/city.vue new file mode 100644 index 0000000..b80fd91 --- /dev/null +++ b/src/views/bxg/shop/shippingTemplates/city.vue @@ -0,0 +1,356 @@ + + + + + diff --git a/src/views/bxg/shop/shippingTemplates/form.vue b/src/views/bxg/shop/shippingTemplates/form.vue new file mode 100644 index 0000000..bf1c8af --- /dev/null +++ b/src/views/bxg/shop/shippingTemplates/form.vue @@ -0,0 +1,475 @@ + + + \ No newline at end of file diff --git a/src/views/bxg/shop/shippingTemplates/index.vue b/src/views/bxg/shop/shippingTemplates/index.vue new file mode 100644 index 0000000..d054530 --- /dev/null +++ b/src/views/bxg/shop/shippingTemplates/index.vue @@ -0,0 +1,206 @@ + + + \ No newline at end of file diff --git a/src/views/bxg/shop/shippingTemplates/sxiuGai.vue b/src/views/bxg/shop/shippingTemplates/sxiuGai.vue new file mode 100644 index 0000000..31d62b2 --- /dev/null +++ b/src/views/bxg/shop/shippingTemplates/sxiuGai.vue @@ -0,0 +1,399 @@ + + + \ No newline at end of file diff --git a/src/views/bxg/shop/store/index.vue b/src/views/bxg/shop/store/index.vue new file mode 100644 index 0000000..c6163aa --- /dev/null +++ b/src/views/bxg/shop/store/index.vue @@ -0,0 +1,231 @@ + + + + + diff --git a/src/views/bxg/shop/store/recommend.vue b/src/views/bxg/shop/store/recommend.vue new file mode 100644 index 0000000..afcdaf9 --- /dev/null +++ b/src/views/bxg/shop/store/recommend.vue @@ -0,0 +1,518 @@ + + + \ No newline at end of file diff --git a/src/views/bxg/shop/store/set.vue b/src/views/bxg/shop/store/set.vue new file mode 100644 index 0000000..21a6c4e --- /dev/null +++ b/src/views/bxg/shop/store/set.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/src/views/bxg/shop/storeProductRule/form.vue b/src/views/bxg/shop/storeProductRule/form.vue new file mode 100644 index 0000000..3a9628b --- /dev/null +++ b/src/views/bxg/shop/storeProductRule/form.vue @@ -0,0 +1,228 @@ + + + + + diff --git a/src/views/bxg/shop/storeProductRule/index.vue b/src/views/bxg/shop/storeProductRule/index.vue new file mode 100644 index 0000000..b92b0b4 --- /dev/null +++ b/src/views/bxg/shop/storeProductRule/index.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/views/bxg/shop/storestaff/index.vue b/src/views/bxg/shop/storestaff/index.vue new file mode 100644 index 0000000..7afd706 --- /dev/null +++ b/src/views/bxg/shop/storestaff/index.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/src/views/bxg/shop/user/aindex.vue b/src/views/bxg/shop/user/aindex.vue new file mode 100644 index 0000000..a01a2a1 --- /dev/null +++ b/src/views/bxg/shop/user/aindex.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/src/views/bxg/shop/user/bill.vue b/src/views/bxg/shop/user/bill.vue new file mode 100644 index 0000000..f944194 --- /dev/null +++ b/src/views/bxg/shop/user/bill.vue @@ -0,0 +1,213 @@ + + + + + diff --git a/src/views/bxg/shop/user/brobill.vue b/src/views/bxg/shop/user/brobill.vue new file mode 100644 index 0000000..f8d68b3 --- /dev/null +++ b/src/views/bxg/shop/user/brobill.vue @@ -0,0 +1,383 @@ + + + + + diff --git a/src/views/bxg/shop/user/detail.vue b/src/views/bxg/shop/user/detail.vue new file mode 100644 index 0000000..fc4edd6 --- /dev/null +++ b/src/views/bxg/shop/user/detail.vue @@ -0,0 +1,195 @@ + + + + + diff --git a/src/views/bxg/shop/user/form.vue b/src/views/bxg/shop/user/form.vue new file mode 100644 index 0000000..7663b77 --- /dev/null +++ b/src/views/bxg/shop/user/form.vue @@ -0,0 +1,1258 @@ + + + + + diff --git a/src/views/bxg/shop/user/formp.vue b/src/views/bxg/shop/user/formp.vue new file mode 100644 index 0000000..25b2433 --- /dev/null +++ b/src/views/bxg/shop/user/formp.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/src/views/bxg/shop/user/index.vue b/src/views/bxg/shop/user/index.vue new file mode 100644 index 0000000..cb1ea2c --- /dev/null +++ b/src/views/bxg/shop/user/index.vue @@ -0,0 +1,700 @@ + + + + + diff --git a/src/views/bxg/shop/user/pobill.vue b/src/views/bxg/shop/user/pobill.vue new file mode 100644 index 0000000..c76bd67 --- /dev/null +++ b/src/views/bxg/shop/user/pobill.vue @@ -0,0 +1,213 @@ + + + + + diff --git a/src/views/bxg/shop/userlevel/form.vue b/src/views/bxg/shop/userlevel/form.vue new file mode 100644 index 0000000..07df209 --- /dev/null +++ b/src/views/bxg/shop/userlevel/form.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/src/views/bxg/shop/userlevel/index.vue b/src/views/bxg/shop/userlevel/index.vue new file mode 100644 index 0000000..454fe8a --- /dev/null +++ b/src/views/bxg/shop/userlevel/index.vue @@ -0,0 +1,157 @@ + + + + + diff --git a/src/views/bxg/shop/usertask/form.vue b/src/views/bxg/shop/usertask/form.vue new file mode 100644 index 0000000..a7023ef --- /dev/null +++ b/src/views/bxg/shop/usertask/form.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/bxg/shop/usertask/index.vue b/src/views/bxg/shop/usertask/index.vue new file mode 100644 index 0000000..6365874 --- /dev/null +++ b/src/views/bxg/shop/usertask/index.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/views/bxg/stores/elephant.vue b/src/views/bxg/stores/elephant.vue new file mode 100644 index 0000000..dc74933 --- /dev/null +++ b/src/views/bxg/stores/elephant.vue @@ -0,0 +1,117 @@ + + + \ No newline at end of file diff --git a/src/views/bxg/stores/index.vue b/src/views/bxg/stores/index.vue new file mode 100644 index 0000000..7d2aa72 --- /dev/null +++ b/src/views/bxg/stores/index.vue @@ -0,0 +1,466 @@ + + + + + diff --git a/src/views/components/Editor.vue b/src/views/components/Editor.vue new file mode 100644 index 0000000..1426c9b --- /dev/null +++ b/src/views/components/Editor.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/src/views/components/godds/activity/Activitylist/form.vue b/src/views/components/godds/activity/Activitylist/form.vue new file mode 100644 index 0000000..f098c2e --- /dev/null +++ b/src/views/components/godds/activity/Activitylist/form.vue @@ -0,0 +1,561 @@ + + + \ No newline at end of file diff --git a/src/views/components/godds/activity/Activitylist/forms.vue b/src/views/components/godds/activity/Activitylist/forms.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/components/godds/activity/Activitylist/index.vue b/src/views/components/godds/activity/Activitylist/index.vue new file mode 100644 index 0000000..81bf8b4 --- /dev/null +++ b/src/views/components/godds/activity/Activitylist/index.vue @@ -0,0 +1,246 @@ + + + \ No newline at end of file diff --git a/src/views/components/godds/activity/activityZone/index.vue b/src/views/components/godds/activity/activityZone/index.vue new file mode 100644 index 0000000..675d4b7 --- /dev/null +++ b/src/views/components/godds/activity/activityZone/index.vue @@ -0,0 +1,101 @@ + + + \ No newline at end of file diff --git a/src/views/components/godds/activity/bargain/HowToPlay.vue b/src/views/components/godds/activity/bargain/HowToPlay.vue new file mode 100644 index 0000000..12088ff --- /dev/null +++ b/src/views/components/godds/activity/bargain/HowToPlay.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/src/views/components/godds/activity/bargain/form.vue b/src/views/components/godds/activity/bargain/form.vue new file mode 100644 index 0000000..fa6697e --- /dev/null +++ b/src/views/components/godds/activity/bargain/form.vue @@ -0,0 +1,283 @@ + + + + + diff --git a/src/views/components/godds/activity/bargain/formse.vue b/src/views/components/godds/activity/bargain/formse.vue new file mode 100644 index 0000000..b11fa0b --- /dev/null +++ b/src/views/components/godds/activity/bargain/formse.vue @@ -0,0 +1,286 @@ + + + + + diff --git a/src/views/components/godds/activity/bargain/index.vue b/src/views/components/godds/activity/bargain/index.vue new file mode 100644 index 0000000..2c5e4cf --- /dev/null +++ b/src/views/components/godds/activity/bargain/index.vue @@ -0,0 +1,214 @@ + + + + + diff --git a/src/views/components/godds/activity/bargain_user/form.vue b/src/views/components/godds/activity/bargain_user/form.vue new file mode 100644 index 0000000..a60fef4 --- /dev/null +++ b/src/views/components/godds/activity/bargain_user/form.vue @@ -0,0 +1,124 @@ + + + + + diff --git a/src/views/components/godds/activity/bargain_user/index.vue b/src/views/components/godds/activity/bargain_user/index.vue new file mode 100644 index 0000000..71c18ef --- /dev/null +++ b/src/views/components/godds/activity/bargain_user/index.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/src/views/components/godds/activity/combination/HowToPlay.vue b/src/views/components/godds/activity/combination/HowToPlay.vue new file mode 100644 index 0000000..ac78f0e --- /dev/null +++ b/src/views/components/godds/activity/combination/HowToPlay.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/views/components/godds/activity/combination/form.vue b/src/views/components/godds/activity/combination/form.vue new file mode 100644 index 0000000..3aff5a7 --- /dev/null +++ b/src/views/components/godds/activity/combination/form.vue @@ -0,0 +1,258 @@ + + + + + diff --git a/src/views/components/godds/activity/combination/formt.vue b/src/views/components/godds/activity/combination/formt.vue new file mode 100644 index 0000000..66c00a5 --- /dev/null +++ b/src/views/components/godds/activity/combination/formt.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/src/views/components/godds/activity/combination/index.vue b/src/views/components/godds/activity/combination/index.vue new file mode 100644 index 0000000..fe6856e --- /dev/null +++ b/src/views/components/godds/activity/combination/index.vue @@ -0,0 +1,244 @@ + + + + + diff --git a/src/views/components/godds/activity/combinlist/form.vue b/src/views/components/godds/activity/combinlist/form.vue new file mode 100644 index 0000000..56f0c5c --- /dev/null +++ b/src/views/components/godds/activity/combinlist/form.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/src/views/components/godds/activity/combinlist/index.vue b/src/views/components/godds/activity/combinlist/index.vue new file mode 100644 index 0000000..85fb578 --- /dev/null +++ b/src/views/components/godds/activity/combinlist/index.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/components/godds/activity/coupon/form.vue b/src/views/components/godds/activity/coupon/form.vue new file mode 100644 index 0000000..f421020 --- /dev/null +++ b/src/views/components/godds/activity/coupon/form.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/src/views/components/godds/activity/coupon/formte.vue b/src/views/components/godds/activity/coupon/formte.vue new file mode 100644 index 0000000..a37e79e --- /dev/null +++ b/src/views/components/godds/activity/coupon/formte.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/src/views/components/godds/activity/coupon/index.vue b/src/views/components/godds/activity/coupon/index.vue new file mode 100644 index 0000000..ae47d8d --- /dev/null +++ b/src/views/components/godds/activity/coupon/index.vue @@ -0,0 +1,220 @@ + + + + + diff --git a/src/views/components/godds/activity/couponissue/form.vue b/src/views/components/godds/activity/couponissue/form.vue new file mode 100644 index 0000000..bed1c0a --- /dev/null +++ b/src/views/components/godds/activity/couponissue/form.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/src/views/components/godds/activity/couponissue/formt.vue b/src/views/components/godds/activity/couponissue/formt.vue new file mode 100644 index 0000000..a707f6e --- /dev/null +++ b/src/views/components/godds/activity/couponissue/formt.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/src/views/components/godds/activity/couponissue/index.vue b/src/views/components/godds/activity/couponissue/index.vue new file mode 100644 index 0000000..3172885 --- /dev/null +++ b/src/views/components/godds/activity/couponissue/index.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/src/views/components/godds/activity/couponuser/form.vue b/src/views/components/godds/activity/couponuser/form.vue new file mode 100644 index 0000000..2b60977 --- /dev/null +++ b/src/views/components/godds/activity/couponuser/form.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/src/views/components/godds/activity/couponuser/index.vue b/src/views/components/godds/activity/couponuser/index.vue new file mode 100644 index 0000000..daa7cbb --- /dev/null +++ b/src/views/components/godds/activity/couponuser/index.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/src/views/components/godds/activity/extract/form.vue b/src/views/components/godds/activity/extract/form.vue new file mode 100644 index 0000000..6955b9b --- /dev/null +++ b/src/views/components/godds/activity/extract/form.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/components/godds/activity/extract/index.vue b/src/views/components/godds/activity/extract/index.vue new file mode 100644 index 0000000..a6723ab --- /dev/null +++ b/src/views/components/godds/activity/extract/index.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/src/views/components/godds/activity/seckill/HowToPlay.vue b/src/views/components/godds/activity/seckill/HowToPlay.vue new file mode 100644 index 0000000..0646330 --- /dev/null +++ b/src/views/components/godds/activity/seckill/HowToPlay.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/views/components/godds/activity/seckill/form.vue b/src/views/components/godds/activity/seckill/form.vue new file mode 100644 index 0000000..85add74 --- /dev/null +++ b/src/views/components/godds/activity/seckill/form.vue @@ -0,0 +1,280 @@ + + + + + diff --git a/src/views/components/godds/activity/seckill/index.vue b/src/views/components/godds/activity/seckill/index.vue new file mode 100644 index 0000000..4e0ea4a --- /dev/null +++ b/src/views/components/godds/activity/seckill/index.vue @@ -0,0 +1,219 @@ + + + + + diff --git a/src/views/components/godds/activity/seckill/newlyAdded.vue b/src/views/components/godds/activity/seckill/newlyAdded.vue new file mode 100644 index 0000000..bf40c9e --- /dev/null +++ b/src/views/components/godds/activity/seckill/newlyAdded.vue @@ -0,0 +1,666 @@ + + + + + diff --git a/src/views/components/godds/activity/storecouponuser/form.vue b/src/views/components/godds/activity/storecouponuser/form.vue new file mode 100644 index 0000000..c81c47e --- /dev/null +++ b/src/views/components/godds/activity/storecouponuser/form.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/src/views/components/godds/activity/storecouponuser/index.vue b/src/views/components/godds/activity/storecouponuser/index.vue new file mode 100644 index 0000000..cd773de --- /dev/null +++ b/src/views/components/godds/activity/storecouponuser/index.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/src/views/components/godds/index.vue b/src/views/components/godds/index.vue new file mode 100644 index 0000000..7f8c331 --- /dev/null +++ b/src/views/components/godds/index.vue @@ -0,0 +1,168 @@ + + + + + diff --git a/src/views/components/goodss/index.vue b/src/views/components/goodss/index.vue new file mode 100644 index 0000000..e1eb212 --- /dev/null +++ b/src/views/components/goodss/index.vue @@ -0,0 +1,175 @@ + + + + + diff --git a/src/views/components/user/index.vue b/src/views/components/user/index.vue new file mode 100644 index 0000000..dd19029 --- /dev/null +++ b/src/views/components/user/index.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/src/views/login.vue b/src/views/login.vue index 95ddb98..d07b22f 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,7 +1,7 @@