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

Merge pull request !20 from OceansDeep/dev-gl
master
OceansDeep 2022-06-08 08:16:55 +00:00 committed by Gitee
commit ba71eaeaaf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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') {