|
|
|
@ -32,6 +32,7 @@
|
|
|
|
|
:item="item"
|
|
|
|
|
></sidebar-item>
|
|
|
|
|
</el-menu>
|
|
|
|
|
<div style="position: absolute;bottom: 22px; color: black;left: 35px; font-size: 11px">{{this.version}}</div>
|
|
|
|
|
</el-scrollbar>
|
|
|
|
|
|
|
|
|
|
<el-container
|
|
|
|
@ -224,6 +225,7 @@
|
|
|
|
|
},
|
|
|
|
|
employName: "",
|
|
|
|
|
name: "",
|
|
|
|
|
version:'',
|
|
|
|
|
passwordFormDataRules: {
|
|
|
|
|
oldPassword: [
|
|
|
|
|
{
|
|
|
|
@ -275,6 +277,15 @@
|
|
|
|
|
mounted() {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
inquire(){
|
|
|
|
|
let xhr = new XMLHttpRequest()
|
|
|
|
|
let okStatus = document.location.protocol === "file:" ? 0 : 200;
|
|
|
|
|
xhr.open("GET", "version.txt", false); // public文件夹下的绝对路径
|
|
|
|
|
xhr.overrideMimeType("text/html;charset=utf-8")
|
|
|
|
|
xhr.send(null)
|
|
|
|
|
this.version=xhr.responseText;
|
|
|
|
|
//alert(xhr.responseText) // xhr.responseText为文本中的内容
|
|
|
|
|
},
|
|
|
|
|
toggleSideBar() {
|
|
|
|
|
this.$store.dispatch("ToggleSideBar");
|
|
|
|
|
},
|
|
|
|
@ -364,6 +375,7 @@
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.inquire();
|
|
|
|
|
this.getBreadcrumb();
|
|
|
|
|
this.getCompanyData();
|
|
|
|
|
bus.$on("collapse-content", (msg) => {
|
|
|
|
|