9.28问题修复
parent
a7a686fd52
commit
5f7273b6e2
|
@ -10,9 +10,9 @@
|
||||||
/>
|
/>
|
||||||
<script src="/cdn/webcfg.js?20250913"></script>
|
<script src="/cdn/webcfg.js?20250913"></script>
|
||||||
<script>
|
<script>
|
||||||
window.yanzhuAppTitle =window.webCfg?.webTitle||"数字建安施工";
|
window.yanzhuAppTitle = window.webCfg?.webTitle || "数字建安施工";
|
||||||
</script>
|
</script>
|
||||||
<link rel="icon" href="/cdn/bsimages/faviconnew.ico?v=4" />
|
<link rel="icon" href="/cdn/bsimages/faviconnew.ico?v=6" />
|
||||||
<title>数字建安施工</title>
|
<title>数字建安施工</title>
|
||||||
<script
|
<script
|
||||||
type="text/javascript"
|
type="text/javascript"
|
||||||
|
@ -27,8 +27,6 @@
|
||||||
|
|
||||||
<link rel="stylesheet" href="/cdn/Cesium/Widgets/widgets.css" />
|
<link rel="stylesheet" href="/cdn/Cesium/Widgets/widgets.css" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--[if lt IE 11
|
<!--[if lt IE 11
|
||||||
]><script>
|
]><script>
|
||||||
window.location.href = "/html/ie.html";
|
window.location.href = "/html/ie.html";
|
||||||
|
@ -217,6 +215,42 @@
|
||||||
color: #fff;
|
color: #fff;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
#translate {
|
||||||
|
position: absolute;
|
||||||
|
top: 11px;
|
||||||
|
left: 50%;
|
||||||
|
}
|
||||||
|
/* 隐藏原生的 select 样式 */
|
||||||
|
#translate select {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
padding: 7px;
|
||||||
|
border: 1px solid rgb(159, 206, 255);
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: rgb(235, 245, 255);
|
||||||
|
color: rgb(72, 162, 255);
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 美化 select 的下拉箭头 */
|
||||||
|
#translate::after {
|
||||||
|
content: "▼"; /* Unicode编码,表示向下的箭头 */
|
||||||
|
position: absolute;
|
||||||
|
color: rgb(72, 162, 255);
|
||||||
|
top: 8px;
|
||||||
|
right: 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 美化选项内容 */
|
||||||
|
#translate option {
|
||||||
|
padding: 5px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
color: rgb(72, 162, 255);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -233,5 +267,35 @@
|
||||||
<script>
|
<script>
|
||||||
window.document.title = window.yanzhuAppTitle;
|
window.document.title = window.yanzhuAppTitle;
|
||||||
</script>
|
</script>
|
||||||
|
<!-- 全局配置-多语言切换-开始 -->
|
||||||
|
<!-- <script src="<%= BASE_URL %>static/translate.js"></script> -->
|
||||||
|
<script src="/cdn/tools/translate.js"></script>
|
||||||
|
<script>
|
||||||
|
//设置本地语种(当前网页的语种)。如果不设置,默认就是 'chinese_simplified' 简体中文
|
||||||
|
// translate.language.setDefaultTo('english') //设置默认翻译为的语种
|
||||||
|
// translate.language.setLocal('english')
|
||||||
|
translate.service.use("client.edge");
|
||||||
|
//翻译自定义
|
||||||
|
// translate.nomenclature.append(
|
||||||
|
// 'chinese_simplified',
|
||||||
|
// 'english'
|
||||||
|
// )
|
||||||
|
//开启html页面变化的监控,对变化部分会进行自动翻译
|
||||||
|
translate.listener.start();
|
||||||
|
//不显示语言选择标签
|
||||||
|
translate.selectLanguageTag.show = true;
|
||||||
|
//执行翻译初始化操作,显示出select语言选择
|
||||||
|
//translate.execute();
|
||||||
|
|
||||||
|
//VUE的渲染需要时间,所以留出一点点时间来进行翻译切换
|
||||||
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
|
// //页面 DOM 已渲染完毕,当然最好是能监控到整个vue渲染完毕后触发最好
|
||||||
|
translate.execute();
|
||||||
|
// //2秒后再一次,避免有遗漏
|
||||||
|
setTimeout(function () {
|
||||||
|
translate.execute()
|
||||||
|
}, 2000)
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -37,7 +37,9 @@ export default {
|
||||||
}, 400);
|
}, 400);
|
||||||
// 大小自适应
|
// 大小自适应
|
||||||
window.addEventListener("resize", () => {
|
window.addEventListener("resize", () => {
|
||||||
this.chart.resize();
|
if(this.chart){
|
||||||
|
this.chart.resize();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -139,6 +139,9 @@ function getCookie() {
|
||||||
|
|
||||||
getCode()
|
getCode()
|
||||||
getCookie()
|
getCookie()
|
||||||
|
setTimeout(()=>{
|
||||||
|
translate.execute();
|
||||||
|
},1000);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='scss'>
|
<style lang='scss'>
|
||||||
|
|
|
@ -165,6 +165,7 @@ function getList() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
|
queryParams.value.noBim=1;
|
||||||
listPlan(queryParams.value).then((response) => {
|
listPlan(queryParams.value).then((response) => {
|
||||||
let tmps = response.data || [];
|
let tmps = response.data || [];
|
||||||
// tmps.forEach(tmp => {
|
// tmps.forEach(tmp => {
|
||||||
|
|
Loading…
Reference in New Issue