-
+
@@ -56,7 +64,8 @@ export default {
data() {
return {
count: { todayPrice: 0, todayCount: 0, proPrice: 0, proCount: 0,
- monthPrice: 0, monthCount: 0, lastWeekCount: 0, lastWeekPrice: 0 }
+ monthPrice: 0, monthCount: 0, lastWeekCount: 0, lastWeekPrice: 0,
+ userCount: 0, orderCount: 0, priceCount: 0, goodsCount: 0}
}
},
mounted() {
@@ -70,64 +79,102 @@ export default {
this.count.monthCount = res.monthCount
this.count.lastWeekCount = res.lastWeekCount
this.count.lastWeekPrice = res.lastWeekPrice
+
+ this.count.userCount = res.userCount
+ this.count.orderCount = res.orderCount
+ this.count.priceCount = res.priceCount
+ this.count.goodsCount = res.goodsCount
})
}
}
diff --git a/src/views/dashboard/PanelGroupT.vue b/src/views/dashboard/PanelGroupT.vue
index 82a4f46..8386610 100644
--- a/src/views/dashboard/PanelGroupT.vue
+++ b/src/views/dashboard/PanelGroupT.vue
@@ -86,10 +86,14 @@ export default {
font-size: 12px;
position: relative;
overflow: hidden;
+ cursor: pointer;
color: #666;
background: #fff;
box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
border-color: rgba(0, 0, 0, .05);
+
+
+
.icon-people {
color: #40c9c6;
}
diff --git a/src/views/dashboard/YshopInfo.vue b/src/views/dashboard/YshopInfo.vue
index 0963261..3215728 100644
--- a/src/views/dashboard/YshopInfo.vue
+++ b/src/views/dashboard/YshopInfo.vue
@@ -30,7 +30,7 @@
github:访问github
-
公众号演示:
+
公众号演示:
小程序演示:关注上面公众号之后,选择yshop小程序体验即可
@@ -40,7 +40,7 @@
H5测试号:hupeng/123456,也可以自行注册
- 如果想体验手机端商户管理与订单核销功能,记得去后台会员管理,搜索找到自己,
+ 如果想体验手机端商户管理功能,记得去后台会员管理,搜索找到自己,
然后编辑设置商户管理员开启即可,然后刷新个人中心即可体验
@@ -62,20 +62,31 @@
1、VIP为终身制包括JAVA端+H5公众号端,后期免费升级迭代及其技术支持。!
- 2、价格:vip会员价298元(JAVA+H5+公众号版),后续的系统升级vip价格会有相应的调整的,所以早上车更优惠哦!
+ 2、价格:vip会员价299元(JAVA+H5+公众号版),后续的系统升级vip价格会有相应的调整的,所以早上车更优惠哦!
3、VIP购买淘宝地址:https://item.taobao.com/item.htm?id=607532386325
4、加入vip群:931426444,请输入你的淘宝订单编号,即可入群
5、群里面获取私服git
6、如果需要小程序需要单独购买看下面
+ 7、此套餐必须购买才能进VIP会员群
- VIP版如果需要小程序需要另外单独购买:
+ VIP版如果需要小程序端需要另外单独购买:
1、小程序是mpvue2.0框架开发
2、价格:100元,只是单独的小程序!购买小程序请务必要购买上面VIP套餐
3、购买淘宝地址:https://item.taobao.com/item.htm?id=612007949053
4、群里面获取私服git
+ 5、可选
+
+
+ VIP版如果需要uniapp端另外单独购买:
+
+
+ 1、uniapp目前已经基本开发完成,预计于2.1版本一块发布
+ 2、uniapp目前支持打包微信小程序与APP(包括安卓Android与苹果IOS)
+ 3、uniapp目前只针对会员预售而且预售阶段是有优惠的哦
+ 4、可选
@@ -87,22 +98,49 @@
更新日志
- (预计4月发布)yshop2.1版本 更新如下:
+ (预计4月初发布)yshop2.1版本(已上演示版的公众号/H5版本) 更新如下:
- 1、单门店升级为多门店
+ 1、单门店升级为多门店)
- 2、充值增加充值方案
+ 2、充值新增充值方案
3、打通小程序与公众号账号
- 4、新增微信app支付(主要用于uniapp)
+ 4、新增微信app支付
+
+
+ 5、会员等级升级新增手动解锁
+
+
+ 6、app分销海报与商品详情海报新增了邀请码
+
+
+ 7、app注册新增了邀请码形成分销关系)
+
+
+ 8、后台素材按照时间排序#I1C6MK
+
+
+ 9、商品分类新增判断自己不能选择自己作为父级#I1C5AP
+
+
+ 10、修复订单详情昵称不显示问题#I1C055
+
+
+ 11、修复导入微信地址必须要刷新的问题#I1CCEJ
+
+
+ 12、修复当设置最大抵扣积为0的导致积分不能抵扣的问题
+
+
+ 13、优化订单详情腾讯key的提示
- 5、修复。。。。。等
+ 14、优化订单列表新增门店标识
(2020-03-15)2.0.X修复优化版本 发布更新如下:
diff --git a/src/views/home.vue b/src/views/home.vue
index 192d7d5..9656cd7 100644
--- a/src/views/home.vue
+++ b/src/views/home.vue
@@ -1,19 +1,22 @@
-
+
-
+
+
+
+
-
+
本月订单数
@@ -33,6 +36,7 @@ import PieChart from './dashboard/BarChartT'
import BarChart from './dashboard/BarChart'
import { count } from '@/api/visits'
import YshopInfo from './dashboard/YshopInfo'
+import OrderCount from './dashboard/OrderCount'
/**
* 记录访问,只有页面刷新或者第一次加载才会记录
@@ -47,7 +51,8 @@ export default {
PanelGroupT,
PieChart,
BarChart,
- YshopInfo
+ YshopInfo,
+ OrderCount
},
computed: {
...mapGetters([
diff --git a/src/views/shop/goods/index.vue b/src/views/shop/goods/index.vue
index b48d56c..2306dfc 100644
--- a/src/views/shop/goods/index.vue
+++ b/src/views/shop/goods/index.vue
@@ -41,7 +41,7 @@
-
+
diff --git a/src/views/shop/goods/index2.vue b/src/views/shop/goods/index2.vue
index 6762add..48042a2 100644
--- a/src/views/shop/goods/index2.vue
+++ b/src/views/shop/goods/index2.vue
@@ -28,7 +28,7 @@
-
+
diff --git a/src/views/shop/goods/index3.vue b/src/views/shop/goods/index3.vue
index e40a226..c026054 100644
--- a/src/views/shop/goods/index3.vue
+++ b/src/views/shop/goods/index3.vue
@@ -28,7 +28,7 @@
-
+
diff --git a/src/views/shop/order/indext.vue b/src/views/shop/order/indext.vue
index bba93e0..e22a274 100644
--- a/src/views/shop/order/indext.vue
+++ b/src/views/shop/order/indext.vue
@@ -34,6 +34,9 @@
+
+
+
搜索
-
+
+
{{ scope.row.orderId }}
{{ scope.row.pinkName }}
@@ -181,6 +185,7 @@
import checkPermission from '@/utils/permission'
import initData from '@/mixins/crud'
import { del } from '@/api/yxStoreOrder'
+import { getAll } from '@/api/yxSystemStore'
import eForm from './formC'
import eDetail from './detail'
import eRefund from './refund'
@@ -192,7 +197,7 @@ export default {
mixins: [initData],
data() {
return {
- delLoading: false, status: '-9', orderType: '0',
+ delLoading: false, status: '-9', orderType: '0', storeList: [] , storeId: null,
queryTypeOptions: [
{ key: 'orderId', display_name: '订单号' },
{ key: 'realName', display_name: '用户姓名' },
@@ -215,8 +220,14 @@ export default {
this.$nextTick(() => {
this.init()
})
+ this.getStoreAll()
},
methods: {
+ getStoreAll() {
+ getAll().then(res => {
+ this.storeList = res
+ })
+ },
formatTime,
checkPermission,
handleOrder(tab, event) {
@@ -226,7 +237,7 @@ export default {
beforeInit() {
this.url = 'api/yxStoreOrder'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, orderStatus: this.status, orderType: 5 }
+ this.params = { page: this.page, size: this.size, sort: sort, orderStatus: this.status, orderType: 5, storeId: this.storeId }
const query = this.query
const type = query.type
const value = query.value
diff --git a/src/views/shop/reply/index.vue b/src/views/shop/reply/index.vue
index 6710650..f6f9484 100644
--- a/src/views/shop/reply/index.vue
+++ b/src/views/shop/reply/index.vue
@@ -17,8 +17,8 @@
-
-
+
+
diff --git a/src/views/shop/set/act.vue b/src/views/shop/set/act.vue
index d55b9b3..12faa0a 100644
--- a/src/views/shop/set/act.vue
+++ b/src/views/shop/set/act.vue
@@ -81,7 +81,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'routine_home_activity' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_home_activity' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/actform.vue b/src/views/shop/set/actform.vue
index e54ba9d..f6692aa 100644
--- a/src/views/shop/set/actform.vue
+++ b/src/views/shop/set/actform.vue
@@ -40,7 +40,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'routine_home_activity',
+ groupName: 'yshop_home_activity',
title: '',
info: '',
url: '',
@@ -105,7 +105,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'routine_home_activity',
+ groupName: 'yshop_home_activity',
value: '',
addTime: '',
sort: '',
diff --git a/src/views/shop/set/form.vue b/src/views/shop/set/form.vue
index 4d00f6d..d0d2a1d 100644
--- a/src/views/shop/set/form.vue
+++ b/src/views/shop/set/form.vue
@@ -49,7 +49,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'routine_home_banner',
+ groupName: 'yshop_home_banner',
name: '',
url: '',
wxapp_url: '',
@@ -115,7 +115,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'routine_home_banner',
+ groupName: 'yshop_home_banner',
name: '',
url: '',
wxapp_url: '',
diff --git a/src/views/shop/set/hot.vue b/src/views/shop/set/hot.vue
index ae54e77..5fe738c 100644
--- a/src/views/shop/set/hot.vue
+++ b/src/views/shop/set/hot.vue
@@ -83,7 +83,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'routine_hot_search' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_hot_search' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/hotform.vue b/src/views/shop/set/hotform.vue
index 7bbf4a7..ceed5aa 100644
--- a/src/views/shop/set/hotform.vue
+++ b/src/views/shop/set/hotform.vue
@@ -36,7 +36,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'routine_hot_search',
+ groupName: 'yshop_hot_search',
title: '',
sort: 0,
status: 1
@@ -90,7 +90,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'routine_hot_search',
+ groupName: 'yshop_hot_search',
title: '',
sort: 0,
status: 1
diff --git a/src/views/shop/set/index.vue b/src/views/shop/set/index.vue
index 346931f..8850f2f 100644
--- a/src/views/shop/set/index.vue
+++ b/src/views/shop/set/index.vue
@@ -91,7 +91,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'routine_home_banner' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_home_banner' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/menu.vue b/src/views/shop/set/menu.vue
index 97323e8..1b4ff3f 100644
--- a/src/views/shop/set/menu.vue
+++ b/src/views/shop/set/menu.vue
@@ -91,7 +91,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'routine_home_menus' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_home_menus' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/menuform.vue b/src/views/shop/set/menuform.vue
index 16c195e..c56c96a 100644
--- a/src/views/shop/set/menuform.vue
+++ b/src/views/shop/set/menuform.vue
@@ -49,7 +49,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'routine_home_menus',
+ groupName: 'yshop_home_menus',
name: '',
url: '',
wxapp_url: '',
@@ -115,7 +115,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'routine_home_menus',
+ groupName: 'yshop_home_menus',
name: '',
url: '',
wxapp_url: '',
diff --git a/src/views/shop/set/recharge.vue b/src/views/shop/set/recharge.vue
index bc43753..1260610 100644
--- a/src/views/shop/set/recharge.vue
+++ b/src/views/shop/set/recharge.vue
@@ -84,7 +84,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'recharge_price_ways' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_recharge_price_ways' }
return true
},
subDelete(id) {
@@ -115,8 +115,8 @@ export default {
_this.form = {
id: data.id,
groupName: data.groupName,
- day: data.map.day,
- sign_num: data.map.sign_num,
+ give_price: data.map.give_price,
+ price: data.map.price,
sort: data.sort,
status: data.status
}
diff --git a/src/views/shop/set/rechargeform.vue b/src/views/shop/set/rechargeform.vue
index 1de7dc5..73f9b65 100644
--- a/src/views/shop/set/rechargeform.vue
+++ b/src/views/shop/set/rechargeform.vue
@@ -39,7 +39,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'recharge_price_ways',
+ groupName: 'yshop_recharge_price_ways',
price: 1,
give_price: 0,
sort: 0,
@@ -94,7 +94,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'recharge_price_ways',
+ groupName: 'yshop_recharge_price_ways',
price: 1,
give_price: 0,
sort: 0,
diff --git a/src/views/shop/set/roll.vue b/src/views/shop/set/roll.vue
index eed6c15..1cd6b07 100644
--- a/src/views/shop/set/roll.vue
+++ b/src/views/shop/set/roll.vue
@@ -86,7 +86,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'routine_home_roll_news' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_home_roll_news' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/rollform.vue b/src/views/shop/set/rollform.vue
index cfa5863..2198628 100644
--- a/src/views/shop/set/rollform.vue
+++ b/src/views/shop/set/rollform.vue
@@ -45,7 +45,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'routine_home_roll_news',
+ groupName: 'yshop_home_roll_news',
info: '',
wxapp_url: '',
uniapp_url: '',
@@ -102,7 +102,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'routine_home_roll_news',
+ groupName: 'yshop_home_roll_news',
info: '',
wxapp_url: '',
uniapp_url: '',
diff --git a/src/views/shop/set/seckill.vue b/src/views/shop/set/seckill.vue
index e4f3570..f6c4e74 100644
--- a/src/views/shop/set/seckill.vue
+++ b/src/views/shop/set/seckill.vue
@@ -75,7 +75,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'routine_seckill_time' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_seckill_time' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/seckillform.vue b/src/views/shop/set/seckillform.vue
index 637af73..4c33b2e 100644
--- a/src/views/shop/set/seckillform.vue
+++ b/src/views/shop/set/seckillform.vue
@@ -32,7 +32,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'routine_seckill_time',
+ groupName: 'yshop_seckill_time',
time: 5,
continued: 2
},
@@ -85,7 +85,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'routine_seckill_time',
+ groupName: 'yshop_seckill_time',
time: 5,
continued: 2
}
diff --git a/src/views/shop/set/sign.vue b/src/views/shop/set/sign.vue
index 3c8f4b2..e24f579 100644
--- a/src/views/shop/set/sign.vue
+++ b/src/views/shop/set/sign.vue
@@ -84,7 +84,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'sign_day_num' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_sign_day_num' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/signform.vue b/src/views/shop/set/signform.vue
index 1e222fc..c8a769a 100644
--- a/src/views/shop/set/signform.vue
+++ b/src/views/shop/set/signform.vue
@@ -39,7 +39,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'sign_day_num',
+ groupName: 'yshop_sign_day_num',
day: 1,
sign_num: 0,
sort: 0,
@@ -94,7 +94,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'sign_day_num',
+ groupName: 'yshop_sign_day_num',
day: 1,
sign_num: 0,
sort: 0,
diff --git a/src/views/shop/set/usermenu.vue b/src/views/shop/set/usermenu.vue
index d0dffa9..7e80903 100644
--- a/src/views/shop/set/usermenu.vue
+++ b/src/views/shop/set/usermenu.vue
@@ -93,7 +93,7 @@ export default {
beforeInit() {
this.url = 'api/yxSystemGroupData'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, groupName: 'routine_my_menus' }
+ this.params = { page: this.page, size: this.size, sort: sort, groupName: 'yshop_my_menus' }
return true
},
subDelete(id) {
diff --git a/src/views/shop/set/usermenuform.vue b/src/views/shop/set/usermenuform.vue
index b83560a..f6f3604 100644
--- a/src/views/shop/set/usermenuform.vue
+++ b/src/views/shop/set/usermenuform.vue
@@ -49,7 +49,7 @@ export default {
loading: false, dialog: false,
form: {
id: '',
- groupName: 'routine_my_menus',
+ groupName: 'yshop_my_menus',
name: '',
url: '',
wxapp_url: '',
@@ -115,7 +115,7 @@ export default {
this.$refs['form'].resetFields()
this.form = {
id: '',
- groupName: 'routine_my_menus',
+ groupName: 'yshop_my_menus',
name: '',
url: '',
wxapp_url: '',
diff --git a/src/views/shop/store/index.vue b/src/views/shop/store/index.vue
index 04119dc..7a4643d 100644
--- a/src/views/shop/store/index.vue
+++ b/src/views/shop/store/index.vue
@@ -114,7 +114,7 @@
// crud交由presenter持有
const defaultCrud = CRUD({ title: '门店', url: 'api/yxSystemStore', sort: 'id,desc', crudMethod: { ...crudYxSystemStore }})
const defaultForm = { id: null, name: null, introduction: null, phone: null, address: null, detailedAddress: null, image: null, latitude:
- null, longitude: null, validTime: null, dayTime: null, addTime: null, isShow: 1, imageArr: [], validTimeArr: [], dayTimeArr: [] }
+ null, longitude: null, validTime: null, dayTime: null, addTime: null, isShow: 1, imageArr: [], validTimeArr: [], dayTimeArr: [new Date(),new Date()] }
export default {
name: 'YxSystemStore',
components: { pagination, crudOperation, rrOperation, udOperation, MaterialList },
diff --git a/src/views/shop/storestaff/index.vue b/src/views/shop/storestaff/index.vue
index 625cd5c..1c8a8b1 100644
--- a/src/views/shop/storestaff/index.vue
+++ b/src/views/shop/storestaff/index.vue
@@ -93,7 +93,7 @@ import rrOperation from '@crud/RR.operation'
import crudOperation from '@crud/CRUD.operation'
import udOperation from '@crud/UD.operation'
import pagination from '@crud/Pagination'
-import cuser from './user'
+import cuser from '@/views/components/user'
import crudYxSystemStore from '@/api/yxSystemStore'
// crud交由presenter持有
diff --git a/src/views/wechat/config/pay.vue b/src/views/wechat/config/pay.vue
index 5ac692b..7e42056 100644
--- a/src/views/wechat/config/pay.vue
+++ b/src/views/wechat/config/pay.vue
@@ -1,9 +1,10 @@
-
-
-
+
+
+ 微信开放平台审核通过的应用APPID(请登录open.weixin.qq.com查看,注意与公众号的APPID不同)
+
@@ -37,7 +38,7 @@ export default {
return {
delLoading: false,
form: {
- //wxpay_appId: '',
+ wx_native_app_appId: '',
wxpay_mchId: '',
wxpay_mchKey: '',
wxpay_keyPath: ''