|
|
|
@ -1,3 +1,11 @@
|
|
|
|
|
<!--
|
|
|
|
|
* @Author: laozt 2721205210@qq.com
|
|
|
|
|
* @Date: 2023-12-20 13:07:20
|
|
|
|
|
* @LastEditors: laozt 2721205210@qq.com
|
|
|
|
|
* @LastEditTime: 2024-01-12 18:05:29
|
|
|
|
|
* @FilePath: \suzhouyingjiPC\src\App.vue
|
|
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div id="app">
|
|
|
|
|
<router-view />
|
|
|
|
@ -9,6 +17,7 @@
|
|
|
|
|
import ThemePicker from "@/components/ThemePicker";
|
|
|
|
|
import { xzTree } from "@/api/yingji/keyEnterprise.js";
|
|
|
|
|
// import { mapState } from "vuex";
|
|
|
|
|
// import autofit from "autofit.js";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "App",
|
|
|
|
@ -34,6 +43,17 @@ export default {
|
|
|
|
|
localStorage.setItem("TREE_DATA", JSON.stringify(res.data));
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
// autofit.init(
|
|
|
|
|
// {
|
|
|
|
|
// designHeight: 1080,
|
|
|
|
|
// designWidth: 1920,
|
|
|
|
|
// renderDom: "#app",
|
|
|
|
|
// resize: true,
|
|
|
|
|
// },
|
|
|
|
|
// false
|
|
|
|
|
// );
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
// ...mapState({
|
|
|
|
|
// isorgpwd: (state) => state.user.isorgpwd,
|
|
|
|
|