From 482a7322bfc3d0afa7ea78e9610d2e7117c99487 Mon Sep 17 00:00:00 2001 From: haha Date: Mon, 2 Jun 2025 00:15:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A7=86=E7=82=B9?= =?UTF-8?q?=E6=BC=AB=E6=B8=B8=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-bigscreen/src/components/header.vue | 1 + .../views/bim/bimSetting/CustomViewpoint.vue | 395 ++++++++++++++++++ .../views/bim/bimSetting/PersonRoaming.vue | 9 +- .../src/views/bim/bimSetting/index.vue | 1 - 4 files changed, 404 insertions(+), 2 deletions(-) create mode 100644 yanzhu-ui-vue3/src/views/bim/bimSetting/CustomViewpoint.vue diff --git a/yanzhu-bigscreen/src/components/header.vue b/yanzhu-bigscreen/src/components/header.vue index d706eb14..905d1fba 100644 --- a/yanzhu-bigscreen/src/components/header.vue +++ b/yanzhu-bigscreen/src/components/header.vue @@ -180,6 +180,7 @@ export default { if (tmps.length > 0) { this.$store.dispatch('SetSelProject', tmps[0]) this.selProject = tmps[0] + this.selProject.vendorsCode = 'uni' document.title = this.selProject.projectName + ' - 大屏' } else { this.$store.dispatch('SetSelProject', null) diff --git a/yanzhu-ui-vue3/src/views/bim/bimSetting/CustomViewpoint.vue b/yanzhu-ui-vue3/src/views/bim/bimSetting/CustomViewpoint.vue new file mode 100644 index 00000000..8193e69c --- /dev/null +++ b/yanzhu-ui-vue3/src/views/bim/bimSetting/CustomViewpoint.vue @@ -0,0 +1,395 @@ + + + + + \ No newline at end of file diff --git a/yanzhu-ui-vue3/src/views/bim/bimSetting/PersonRoaming.vue b/yanzhu-ui-vue3/src/views/bim/bimSetting/PersonRoaming.vue index 4de03b19..3cc41f65 100644 --- a/yanzhu-ui-vue3/src/views/bim/bimSetting/PersonRoaming.vue +++ b/yanzhu-ui-vue3/src/views/bim/bimSetting/PersonRoaming.vue @@ -262,6 +262,7 @@ export default { getRoamingList() { this.loading = true roamingGet({ + roamingType: 1, pageSize: this.pagination.pageSize, pageNum: this.pagination.current, projectId: this.currentPrjId, @@ -317,6 +318,10 @@ export default { } let data = { vo: { + roamingType: 1, + speed: 0, + sort: 0, + time: 0, projectId: this.currentPrjId, comId: this.currentComId, name: this.form.name, @@ -329,8 +334,10 @@ export default { }, } roamingAdd(data).then((res) => { - if (res.code == 1) { + if (res.code == 0) { ElMessage.success('保存成功!') + } else { + ElMessage.error('保存失败!') } }) }, diff --git a/yanzhu-ui-vue3/src/views/bim/bimSetting/index.vue b/yanzhu-ui-vue3/src/views/bim/bimSetting/index.vue index 1d2f3cb5..7ac2b448 100644 --- a/yanzhu-ui-vue3/src/views/bim/bimSetting/index.vue +++ b/yanzhu-ui-vue3/src/views/bim/bimSetting/index.vue @@ -96,7 +96,6 @@ export default { api.Plugin.deleteMiniMap() }, doMenu(n) { - debugger if (n == this.activeMenu) { if (n == 0) { this.resetScene()