shuishen
2023-12-18 fed36d52707c61dbff16bf75fceb6370cca54ea2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<template>
    <div id="app">
        <router-view />
    </div>
</template>
 
<script>
import Watermark from "./warterMarkVUE"
import { getStore } from "@/util/store"
 
export default {
    name: "app",
    data () {
        return {
            globalUserInfo: getStore({ name: "userInfo" }),
        }
    },
    watch: {},
    created () {
        Watermark.set("饶城格格通" + ' ' + this.globalUserInfo.user_name + ' ' + this.getTime())
    },
    mounted () {
    },
    methods: {
        getTime () {
            var date = new Date()
            var Y = date.getFullYear() + '-'
            var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'
            var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' '
            var h = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':'
            var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()) + ':'
            var s = (date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds())
            return Y + M + D + h + m + s
        },
    },
    computed: {}
}
</script>
 
<style lang="scss">
#app {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
 
.avue--detail .el-col {
    margin-bottom: 0;
}
</style>