From 3549e4efa809901ff3a855b5a4156d7ec26d1948 Mon Sep 17 00:00:00 2001 From: zyl <731870902@qq.com> Date: Wed, 10 Dec 2025 17:31:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/icons/svg/back.svg | 1 + src/renderer/src/icons/svg/backTs.svg | 2 +- src/renderer/src/icons/svg/ersan_ts.svg | 2 +- src/renderer/src/icons/svg/exit.svg | 1 + src/renderer/src/icons/svg/exitTs.svg | 2 +- src/renderer/src/icons/svg/playTs.svg | 2 +- .../src/views/TS/components/rightOperate.ts | 2 +- src/renderer/src/views/TS/deduction.vue | 20 +- src/renderer/src/views/TS/edit.vue | 149 +- src/renderer/src/views/TS/img/tsbj.png | Bin 0 -> 11323 bytes src/renderer/src/views/TS/list.vue | 1339 ++++++++++++++++- src/renderer/src/views/TS/sdk/Clock.ts | 3 + src/renderer/src/views/TS/sdk/Store.ts | 12 + src/renderer/src/views/TS/util/mouseLine.js | 104 ++ 14 files changed, 1615 insertions(+), 24 deletions(-) create mode 100644 src/renderer/src/icons/svg/back.svg create mode 100644 src/renderer/src/icons/svg/exit.svg create mode 100644 src/renderer/src/views/TS/img/tsbj.png create mode 100644 src/renderer/src/views/TS/util/mouseLine.js diff --git a/src/renderer/src/icons/svg/back.svg b/src/renderer/src/icons/svg/back.svg new file mode 100644 index 0000000..b248039 --- /dev/null +++ b/src/renderer/src/icons/svg/back.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/renderer/src/icons/svg/backTs.svg b/src/renderer/src/icons/svg/backTs.svg index 7f8bb12..b248039 100644 --- a/src/renderer/src/icons/svg/backTs.svg +++ b/src/renderer/src/icons/svg/backTs.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/renderer/src/icons/svg/ersan_ts.svg b/src/renderer/src/icons/svg/ersan_ts.svg index 16d4de2..08868c9 100644 --- a/src/renderer/src/icons/svg/ersan_ts.svg +++ b/src/renderer/src/icons/svg/ersan_ts.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/renderer/src/icons/svg/exit.svg b/src/renderer/src/icons/svg/exit.svg new file mode 100644 index 0000000..d35fe35 --- /dev/null +++ b/src/renderer/src/icons/svg/exit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/renderer/src/icons/svg/exitTs.svg b/src/renderer/src/icons/svg/exitTs.svg index 1322abf..d35fe35 100644 --- a/src/renderer/src/icons/svg/exitTs.svg +++ b/src/renderer/src/icons/svg/exitTs.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/renderer/src/icons/svg/playTs.svg b/src/renderer/src/icons/svg/playTs.svg index b505323..7faedea 100644 --- a/src/renderer/src/icons/svg/playTs.svg +++ b/src/renderer/src/icons/svg/playTs.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/renderer/src/views/TS/components/rightOperate.ts b/src/renderer/src/views/TS/components/rightOperate.ts index 307097d..9b17d9b 100644 --- a/src/renderer/src/views/TS/components/rightOperate.ts +++ b/src/renderer/src/views/TS/components/rightOperate.ts @@ -223,7 +223,7 @@ export const useRightOperate = () => { treeIndex: node.getIndex(), isShow: isShow ? 1 : 0, detail: JSON.stringify(detailobj), - params, + params: JSON.stringify(params), planId } TsApi.updateTsSource(obj).then(res => { diff --git a/src/renderer/src/views/TS/deduction.vue b/src/renderer/src/views/TS/deduction.vue index d536ce3..1f2c7a5 100644 --- a/src/renderer/src/views/TS/deduction.vue +++ b/src/renderer/src/views/TS/deduction.vue @@ -63,7 +63,15 @@ - + + + + + { console.log("播放播放") props.TSOBJ._Clock._status = "play" props.TSOBJ._Clock.animation(props.TSOBJ._Store, eventCallback) - pauseTrajectoryMotion() } let stopCallBack = (status) => { @@ -380,6 +388,14 @@ let add = (num) => { action: "wheel-timeLine", num: level.value }) + let obj = { + id: window.planId, + wheel: level.value + } + TsApi.updatePlan(obj).then(res => { + if (res.code == 200) { + } + }) window['refreshChart']() } diff --git a/src/renderer/src/views/TS/edit.vue b/src/renderer/src/views/TS/edit.vue index f20d264..1b1f284 100644 --- a/src/renderer/src/views/TS/edit.vue +++ b/src/renderer/src/views/TS/edit.vue @@ -11,10 +11,143 @@ - 实景三维态势推演系统 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -24,15 +157,13 @@ :content="t('ts.'+item.name)" placement="top" > - + - - @@ -566,6 +697,8 @@ eventBus.on('destroyComponent', (id) => { display: flex; align-items: center; + width: 140px; + justify-content: space-between; .border { //left: 45px; @@ -590,8 +723,8 @@ eventBus.on('destroyComponent', (id) => { } .icon-top { - width: 100%; - height: 96px; + //width: 100%; + //height: 96px; top: 0; left: 0; z-index: 99; diff --git a/src/renderer/src/views/TS/img/tsbj.png b/src/renderer/src/views/TS/img/tsbj.png new file mode 100644 index 0000000000000000000000000000000000000000..6d5f92bb906385d60584f4a19296d2a074addd04 GIT binary patch literal 11323 zcmds7Uuaup6#q6udu`W|Y=TuM{f9bXpwNd|GFlf>Y7pl(_RzQ1QU^Y?!v>NmU7B@8 zqf8Ax4C)f&n^0lXK3Ge1?Ob66yX--5gf#1@V?ma+tD&t~)6|rkdrqX6bI%QlHs+;Y z((fi;&hK}A=XcJ{M@NseRaHD)A%v*1y=FZwMEO}E46jIKnODk9BWE&ycG!=%S;VE# zzCSWg40em{gp_&oOWhtJYK6^u_{3>nJbG;8?N(#!)kB|8ga$6ufAVq9g!32MzWwdi z^IxT(4E{N6chzJr-+b(G1=r=35Vsq4J|?e+;;E(U_BB)XKR;gEQ!OuRt%l9RWFC^~ z><)QlaimkfzR@W^aZ9f&E2C-aMd9SqHTKr~FCA1qqyB)hvRJpie|KzgBB~tB^R2SV zIil)Cfq^e0pUKA-cb>g4nO)Y^zbvm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}} - 实景三维态势推演系统 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +