适配优化的sql,将平台id改为0

master
paulGao 2022-06-08 15:40:23 +08:00
parent 59cfa0efb0
commit 273fdf2e84
3 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ export default {
this.$router.push('/home/Coupons') this.$router.push('/home/Coupons')
}, },
onCancel: () => { onCancel: () => {
if (item.storeId !== 'platform') { if (item.storeId !== '0') {
this.$router.push({path: '/merchant', query: {id: item.storeId}}) this.$router.push({path: '/merchant', query: {id: item.storeId}})
} else { } else {
if (item.scopeType === 'PORTION_GOODS_CATEGORY') { if (item.scopeType === 'PORTION_GOODS_CATEGORY') {

View File

@ -101,7 +101,7 @@ export default {
this.$router.push('/home/Coupons') this.$router.push('/home/Coupons')
}, },
onCancel: () => { onCancel: () => {
if (item.storeId !== 'platform') { if (item.storeId !== '0') {
this.$router.push({path: '/merchant', query: {id: item.storeId}}) this.$router.push({path: '/merchant', query: {id: item.storeId}})
} else { } else {
if (item.scopeType === 'PORTION_GOODS_CATEGORY') { if (item.scopeType === 'PORTION_GOODS_CATEGORY') {

View File

@ -72,7 +72,7 @@ export default {
go (item) { // 使 go (item) { // 使
if (this.params.memberCouponStatus !== 'NEW') return; if (this.params.memberCouponStatus !== 'NEW') return;
if (item.storeId !== 'platform') { if (item.storeId !== '0') {
this.$router.push({path: '/merchant', query: {id: item.storeId}}) this.$router.push({path: '/merchant', query: {id: item.storeId}})
} else { } else {
if (item.scopeType === 'PORTION_GOODS_CATEGORY') { if (item.scopeType === 'PORTION_GOODS_CATEGORY') {