Commit f29ffa65 authored by 张恒's avatar 张恒

1.取消点击头部跳转首页

2.取消已开票已收款页面按钮显示链接
parent 66e6bba4
<template> <template>
<div> <div>
<div class="ar_nav"> <div class="ar_nav">
<router-link class="ar_button" to="/ar_bar/company">结算单位</router-link> <div class="ar_button" @click="goCompany">结算单位</div>
<router-link class="ar_button" to="/ar_bar/monthly">开票月份</router-link> <div class="ar_button" @click="goMonthly">开票月份</div>
</div> </div>
<router-view style="height: 90%"></router-view> <router-view style="height: 90%"></router-view>
</div> </div>
...@@ -14,6 +14,14 @@ export default { ...@@ -14,6 +14,14 @@ export default {
data() { data() {
return {} return {}
}, },
methods: {
goCompany() {
this.$router.push({path: '/ar_bar/company'})
},
goMonthly() {
this.$router.push({path: '/ar_bar/monthly'})
},
}
} }
</script> </script>
...@@ -21,6 +29,7 @@ export default { ...@@ -21,6 +29,7 @@ export default {
<style scoped> <style scoped>
.ar_nav { .ar_nav {
cursor: pointer;
height: 10%; height: 10%;
width: 100%; width: 100%;
display: flex; display: flex;
......
<template> <template>
<div class="page"> <div class="page">
<div class="head" @click="goIndex"> <div class="head">
<div class="text_left"> <div class="text_left">
<input class="btn" type="button" value="返回上级" v-if="$route.fullPath !== '/index'" @click="goIndex"> <input class="btn" type="button" value="返回上级" v-if="$route.fullPath !== '/index'" @click="goIndex">
<span>{{ currentDate }}</span> <span>{{ currentDate }}</span>
......
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