Commit bdb3a6a6 by 李长胜

提交详情

1 parent b511397c
...@@ -62,7 +62,7 @@ const staticRoutes = Object.freeze([ ...@@ -62,7 +62,7 @@ const staticRoutes = Object.freeze([
{ {
name: 'detailAccount', name: 'detailAccount',
path: "/account/detailAccount", path: "/account/detailAccount",
component: resolve => require([`@/views/merchant/detail.vue`], resolve), component: resolve => require([`@/views/account/detailAccount.vue`], resolve),
meta: {} meta: {}
}, },
]) ])
......
...@@ -140,12 +140,19 @@ export default { ...@@ -140,12 +140,19 @@ export default {
} }
}, },
methods: { methods: {
handleLook() {}, handleLook(scope) {
this.$router.push({
path: '/account/detailAccount',
query: {
id: scope.id
}
})
},
handleEdit(scope) { handleEdit(scope) {
this.$router.push({path:'/account/editAccount',query:{id:scope.id}}) this.$router.push({ path: '/account/editAccount', query: { id: scope.id } })
}, },
handleAdd(scope) { handleAdd(scope) {
this.$router.push({path:'/account/addAccount',query:{id:scope.id}}) this.$router.push({ path: '/account/addAccount', query: { id: scope.id } })
}, },
findAllDictData(dictType) { findAllDictData(dictType) {
var params = { var params = {
...@@ -194,7 +201,7 @@ export default { ...@@ -194,7 +201,7 @@ export default {
this.findAllDictData('merchant_status') this.findAllDictData('merchant_status')
} }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.follow-form { .follow-form {
...@@ -230,4 +237,4 @@ export default { ...@@ -230,4 +237,4 @@ export default {
} }
} }
} }
</style>
\ No newline at end of file \ No newline at end of file
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!