Commit 827e18d6 authored by 程卓's avatar 程卓

小区列表导出二维码暂时写死条件

parent 112b1b9a
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
<!-- 功能按钮区 --> <!-- 功能按钮区 -->
<a-col span="24" class="algin-right"> <a-col span="24" class="algin-right">
<a-button v-if="!$store.state.isXuhui" @click="exportEWM">导出二维码</a-button> <a-button v-if="!$store.state.isXuhui && $api.BASE_URL.indexOf('211.136.105')!=-1" @click="exportEWM">导出二维码</a-button>
<a-button @click="exportList">导出数据</a-button> <a-button @click="exportList">导出数据</a-button>
<a-button @click="reset">重置</a-button> <a-button @click="reset">重置</a-button>
<a-button type="primary" @click="search">搜索</a-button> <a-button type="primary" @click="search">搜索</a-button>
...@@ -389,6 +389,8 @@ export default { ...@@ -389,6 +389,8 @@ export default {
this.getStreet() this.getStreet()
}, },
mounted(){ mounted(){
console.log(this.$api.BASE_URL.indexOf('211.136.105')!=-1 )
if(this.$route.name == 'basicInfo'){ if(this.$route.name == 'basicInfo'){
this.$nextTick(function () { this.$nextTick(function () {
// setTimeout(() => { // setTimeout(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment