feat: 优化模板代码,增加服务端模板

This commit is contained in:
2025-03-15 15:50:28 +08:00
parent c2cbc1b1d6
commit 8af39a1e88
68 changed files with 96980 additions and 3536 deletions
+10 -1
View File
@@ -4,7 +4,7 @@
<el-row :style="{ width: '100%' }">
<el-col :span="3">
<div class="system-name">
出行管理
{{systemTitle||'...'}}
<!-- <img src="/logo.png" height="60"> -->
</div>
</el-col>
@@ -43,10 +43,19 @@ import {
ArrowDown
} from "@element-plus/icons-vue";
import { useRouter } from "vue-router";
import { SYSTEM_TITLE } from "@/consts/dataDict";
import * as api from "@/common/api";
const appStore = useAppStore();
const pwdRef = ref<any>();
const router=useRouter();
const systemTitle = ref();
(async () => {
const { data: dataDict } = await api.getDynamic({ id: SYSTEM_TITLE }, "dataDict");
systemTitle.value = dataDict?.value;
}
)();
onBeforeMount(() => {
const userInfo = Cookies.get("UserInfo");