|
|
@ -84,7 +84,7 @@ |
|
|
|
<el-button type="text" @click="show(scope.row)">查看</el-button> |
|
|
|
<el-button type="text" @click="show(scope.row)">查看</el-button> |
|
|
|
<el-button type="text" @click="edit(scope.row)">编辑</el-button> |
|
|
|
<el-button type="text" @click="edit(scope.row)">编辑</el-button> |
|
|
|
<el-button type="text" @click="handleDelete(scope.row)">删除</el-button> |
|
|
|
<el-button type="text" @click="handleDelete(scope.row)">删除</el-button> |
|
|
|
<el-button type="text" @click="permission">应用权限</el-button> |
|
|
|
<el-button type="text" @click="permission(scope.row)">应用权限</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -132,6 +132,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
|
|
|
|
console.log(111,localStorage.getItem('token')) |
|
|
|
this.getData() |
|
|
|
this.getData() |
|
|
|
this.getProvince() |
|
|
|
this.getProvince() |
|
|
|
}, |
|
|
|
}, |
|
|
@ -176,8 +177,8 @@ export default { |
|
|
|
this.cityList = res.list |
|
|
|
this.cityList = res.list |
|
|
|
}).catch(res => {}) |
|
|
|
}).catch(res => {}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
permission(){ |
|
|
|
permission(row){ |
|
|
|
this.$router.push('/permission') |
|
|
|
this.$router.push(`/permission?name=${row.customerName}`) |
|
|
|
}, |
|
|
|
}, |
|
|
|
addcustomer(){ |
|
|
|
addcustomer(){ |
|
|
|
this.$router.push('addcustomer') |
|
|
|
this.$router.push('addcustomer') |
|
|
|