Commit c80f7434 by 匡雅琴

Merge branch 'huy_dev_v2.7.0' into 'v2.7.0'

同步订单逻辑调整

See merge request !9
2 parents 113ac8ea ce073dfc
......@@ -42,7 +42,8 @@ const syncCorpAccountCode = params => {
url: 'rop-scrm-wechat/router',
method: 'post',
data: params,
sign: true
sign: true,
returnAll: true
})
}
......
......@@ -30,7 +30,7 @@
</div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope" v-if="scope.scope.isBuyPermit">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<el-button type="text" @click="viewConfig(scope.scope)">查看</el-button>
<!-- <el-button type="text" @click="viewConfig(scope.scope)">查看</el-button> -->
<!-- <el-button type="text" @click="handelActivate(scope.scope)" :loading="loading">一键激活许可</el-button> -->
</template>
</GLTable>
......@@ -248,12 +248,20 @@ export default {
handleSync() {
this.syncLoad = true
this.$apis.accountConfig.syncCorpAccountCode({}).then(res => {
if (res) {
if (res.code == 0) {
this.syncLoad = false
this.$message({
message: '同步成功',
type: 'success'
})
this.handleSearch()
} else {
this.syncLoad = false
this.$message({
message: '同步门店许可数据异常',
type: 'error'
})
this.handleSearch()
}
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!