Browse Source

日志时间按照最新时间查询

返回首页关闭当前页面
master
yangzongjia 2 years ago
parent
commit
5def9b9e60
  1. 41
      src/layout/components/Navbar.vue
  2. 2
      src/views/baojingchaxun/baojingchaxunList.vue

41
src/layout/components/Navbar.vue

@ -1,16 +1,17 @@
<template> <template>
<div> <div>
<div class="navbar"> <div class="navbar">
<p class="breadcrumb-container"><img src="@/assets/loginImg/logo.png" style="width: 45px;height: 45px;margin-right: 10px;"/>汇融云眼贷后监管平台</p> <p class="breadcrumb-container"><img src="@/assets/loginImg/logo.png"
style="width: 45px;height: 45px;margin-right: 10px;" />汇融云眼贷后监管平台</p>
<!-- <h3 class="breadcrumb-container">汇融银行供应链贷后监管平台</h3> --> <!-- <h3 class="breadcrumb-container">汇融银行供应链贷后监管平台</h3> -->
<div class="right-menu"> <div class="right-menu">
<!-- <p>{{Orgname}} {{departmentName}} 欢迎, {{name}}</p>--> <!-- <p>{{Orgname}} {{departmentName}} 欢迎, {{name}}</p>-->
<p>欢迎您{{name}}</p> <p>欢迎您{{ name }}</p>
<el-badge :value="6" class="item"> <el-badge :value="6" class="item">
<img @click="toxiaoxi()" src="@/assets/images/info.png"> <img @click="toxiaoxi()" src="@/assets/images/info.png">
</el-badge> </el-badge>
<!-- <img src="@/assets/images/dy.png" @click="logout"> --> <!-- <img src="@/assets/images/dy.png" @click="logout"> -->
<span class="backToHome"><i class="el-icon-back"></i>返回首页</span> <span class="backToHome" @click="logout"><i class="el-icon-back"></i>返回首页</span>
</div> </div>
</div> </div>
<el-footer class="footer" height="40px">Copyright © {{ year }} 技术支持集团 All Rights Reserved</el-footer> <el-footer class="footer" height="40px">Copyright © {{ year }} 技术支持集团 All Rights Reserved</el-footer>
@ -18,14 +19,14 @@
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
Orgname: '', Orgname: '',
departmentName: '', departmentName: '',
name: '', name: '',
year:'', year: '',
pNameAndDepartmentNameAndPostName:'' pNameAndDepartmentNameAndPostName: ''
} }
}, },
mounted() { mounted() {
@ -38,7 +39,7 @@
}, },
methods: { methods: {
logout() { logout() {
// this.$router.push({ path: '/home' }) this.$router.push({ path: '/home' })
window.opener = null window.opener = null
window.open('about:blank', '_top').close() window.open('about:blank', '_top').close()
}, },
@ -46,13 +47,13 @@
this.$router.push('/xiaoxi/xiaoxiList') this.$router.push('/xiaoxi/xiaoxiList')
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "~@/styles/variables.scss"; @import "~@/styles/variables.scss";
.navbar { .navbar {
height: 60px; height: 60px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
@ -78,7 +79,8 @@
align-items: center; align-items: center;
color: #fff; color: #fff;
font-size: 24px; font-size: 24px;
line-height: 60px;font-weight: bold; line-height: 60px;
font-weight: bold;
margin: 0; margin: 0;
float: left; float: left;
} }
@ -159,9 +161,9 @@
} }
} }
} }
} }
.footer { .footer {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
@ -170,14 +172,17 @@
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
color: #666; color: #666;
} }
::v-deep .el-badge__content{position: relative;
::v-deep .el-badge__content {
position: relative;
height: 20px; height: 20px;
line-height: 20px; line-height: 20px;
padding: 0 6px; padding: 0 6px;
} }
::v-deep .el-badge__content.is-fixed {
::v-deep .el-badge__content.is-fixed {
position: absolute; position: absolute;
top: 17px; top: 17px;
right: 14px; right: 14px;

2
src/views/baojingchaxun/baojingchaxunList.vue

@ -109,7 +109,7 @@ export default {
listLoading: false, listLoading: false,
listQuery: { listQuery: {
current: 1, current: 1,
size: 5, size: 10,
total: 10 total: 10
}, },
supplierType_list: [ supplierType_list: [

Loading…
Cancel
Save