Commit 14fb4b99 by 张权 Committed by chenwq

未审批通过隐藏按钮

1 parent 7702aef5
......@@ -57,7 +57,7 @@
<script>
import * as dayjs from 'dayjs'
import url from '@/assets/empty.png'
import { aToExport,downloadIamge } from '@/common/constant'
import { aToExport, downloadIamge } from '@/common/constant'
import glsxDialog from '@/components/glsx-dialog'
export default {
name: 'giftList',
......@@ -110,6 +110,9 @@ export default {
name: row => {
return '生成二维码'
},
condition: row => {
return row.scope.approveStatus == 2
},
attrs: {
type: 'text',
fn: '生成二维码'
......@@ -302,7 +305,7 @@ export default {
const params = {
appId,
path: 'packageEquity/pages/directional/directional',
envVersion: process.env.NODE_ENV === 'production' ? 'release':'trial',
envVersion: process.env.NODE_ENV === 'production' ? 'release' : 'trial',
scene: `id=${this.curId}&merchantId=${merchantId}&staffUUID=${staffId}`
}
this.imgLoading = true
......@@ -313,13 +316,13 @@ export default {
this.imgLoading = false
})
},
getAppId(){
getAppId() {
const host = window.location.host
if(host.indexOf('beta')>-1){
if (host.indexOf('beta') > -1) {
return 'wx9f91c1ec493eb425'
}else if(host.indexOf('cgacar')>-1){
} else if (host.indexOf('cgacar') > -1) {
return 'wxfe82b8d65d07808f'
}else{
} else {
return 'wxe10067a63c1856ac'
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!