-
-
{ chang_point_amount(val, 'h') }" :dense="true" filled
- v-model="value_h_point_amount" :options="options_value_h_point_amount" emit-value map-options />
-
-
{ del_dialog = true }"
- :disable="value_h_point_amount <= 5" text-color="black" :label="$t('reduce control points')" />
-
{
return (
diff --git a/src/components/FusionSettingsDialog.vue b/src/components/FusionSettingsDialog.vue
index 5571ce4..b7fb86b 100644
--- a/src/components/FusionSettingsDialog.vue
+++ b/src/components/FusionSettingsDialog.vue
@@ -240,6 +240,9 @@ export default defineComponent({
};
const now_resolution=ref(1)
// let allconfig = JSON.parse($store.state.fusion_configuration);
+ /**
+ * 模拟数据完成dom渲染再次获取真实后台数据
+ */
let allconfig = JSON.parse("{\"resolution\": [{\"width\": 1024,\"height\": 768}]}");
const options_resolution = computed(() => {
let tmp=[];
@@ -252,6 +255,10 @@ export default defineComponent({
return tmp
})
const child :any = ref(null);
+ /**
+ * 开启网格时发送全部参数
+ *
+ */
const send_show_blending_grids = () => {
let tmp = ""
switch (optionsstr.value) {
@@ -303,6 +310,9 @@ export default defineComponent({
}
};
+ /**
+ * 重置全部参数
+ */
const resetall = () => {
set?.ResetBlendingConfig().then((res) => {
let tmp = JSON.parse(res ? res.config : "");
@@ -320,6 +330,9 @@ export default defineComponent({
options.value = tmp
}, 300);
}
+ /**
+ * 清除sessionStorage缓存
+ */
const clear_sessionStorage = () => {
sessionStorage.removeItem("FusionLocale");
sessionStorage.removeItem("SurfaceCorrection");
@@ -346,6 +359,9 @@ export default defineComponent({
optionsstr.value = newValue;
},
});
+ /**
+ * 监听是否开启融合
+ */
watch(
() => EnableBlending,
(newVal, oldVal) => {
@@ -355,8 +371,11 @@ export default defineComponent({
{ deep: true }
);
+ /**
+ * 设置分辨率
+ * @param index 索引号
+ */
const set_resolution=(index:number)=>{
- //SetProjectorResolution
$q.loading.show({
message: 'Loading please wait'
})
@@ -375,7 +394,9 @@ export default defineComponent({
}, 800);
getconfig()
}
-
+ /**
+ * 监听ui切换
+ */
watch(() => optionsstr,
(newVal) => {
let tmp = ""
@@ -406,6 +427,9 @@ export default defineComponent({
//读取场景
get_scenes()
};
+ /**
+ * 读取服务器配置
+ */
const getconfig = () => {
try {
set?.GetBlendingConfig("").then((res) => {
@@ -427,7 +451,9 @@ export default defineComponent({
options.value = "FusionLocale"
};
-
+ /**
+ * 读取服务器场景
+ */
const get_scenes = () => {
set?.EnumBlendingScene().then((res) => {
if (res == null || res.scenes.length == 0) return