Commit 8f393ba5 authored by denghr's avatar denghr

bug

parent 9d195699
......@@ -38,7 +38,7 @@
</el-table-column>
<el-table-column align="center" label="操作" width="200" fixed="right">
<template scope="scope">
<el-button size="small" class="el-button el-button--text el-button--small" @click="handleUpdate(scope.row)">编辑</el-button>
<el-button size="small" class="el-button el-button--text el-button--small" v-if="activity_btn_update" @click="handleUpdate(scope.row)">编辑</el-button>
<el-button size="small" class="el-button el-button--text el-button--small" @click="handleActivityData(scope.row)">活动数据</el-button>
</template>
</el-table-column>
......@@ -313,9 +313,11 @@
}
}
},
activity_btn_update:false,
}
},
created() {
this.activity_btn_update = this.elements['activity:btn:update'];
this.getList();
},
computed: {
......
......@@ -75,7 +75,7 @@
</el-table-column>
<el-table-column align="center" label="操作" width="150" fixed="right">
<template scope="scope">
<el-button class="el-button el-button--text el-button--small" size="small" v-if="scope.row.status==0&&app" @click="clickHandler(scope.row)">处理</el-button>
<el-button class="el-button el-button--text el-button--small" size="small" v-if="scope.row.status==0&&app_btn_buy_vehicle_status_update" @click="clickHandler(scope.row)">处理</el-button>
</template>
</el-table-column>
</el-table>
......@@ -166,12 +166,12 @@
zoneId:null
},
allBranchCompany:[],
app:false,
app_btn_buy_vehicle_status_update:false,
}
},
created() {
this.getList();
this.app = this.elements['app'];
this.app_btn_buy_vehicle_status_update = this.elements['app:btn:buy_vehicle_status:update'];
},
computed: {
...mapGetters([
......
......@@ -298,7 +298,6 @@
}
},
created() {
debugger
this.memberEnter_btn_add=this.elements['memberEnter:btn_add'];//添加一条
this.memberEnter_btn_del=this.elements['memberEnter:btn_del'];//删除
this.memberEnter_btn_addIn=this.elements['memberEnter:btn_addIn'];//批量上传
......
......@@ -743,8 +743,8 @@
// debugger
members.map(function (ele) {
_this.queryMemberLevelList.push({id:ele.id,name:ele.name})
_this.setMemberLevelList.push({id:ele.id,name:ele.name})
_this.queryMemberLevelList.push({id:ele.level,name:ele.name})
_this.setMemberLevelList.push({id:ele.level,name:ele.name})
})
// console.log('this.queryMemberLevelList'+JSON.stringify(this.queryMemberLevelList))
}
......
......@@ -290,7 +290,7 @@
} else {
this.$notify({
title: '失败',
message: '操作失败!',
message: response.message,
type: 'error',
duration: 2000
});
......
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