Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue3_onlineEditor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pangchong
vue3_onlineEditor
Commits
dd439fd9
Commit
dd439fd9
authored
Apr 15, 2025
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 对比
parent
b08248bd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
24 deletions
+6
-24
src/assets/file/Trans-Convert.xml
+2
-20
src/views/editor/components/Compare.vue
+2
-2
src/views/editor/functions/index.ts
+2
-2
No files found.
src/assets/file/Trans-Convert.xml
View file @
dd439fd9
...
@@ -2,32 +2,14 @@
...
@@ -2,32 +2,14 @@
<!--Arbortext, Inc., 1988-2013, v.4002-->
<!--Arbortext, Inc., 1988-2013, v.4002-->
<!DOCTYPE JOBCARD PUBLIC "-//CEA-TEXT//DTD JOBCARD-VER1//EN" "JOBCARD.dtd" [
<!DOCTYPE JOBCARD PUBLIC "-//CEA-TEXT//DTD JOBCARD-VER1//EN" "JOBCARD.dtd" [
<!ENTITY nbsp " ">
<!ENTITY nbsp " ">
<!ENTITY rsquo "’">
<!ENTITY rsquo "’">
]>
]>
<JOBCARD>
<JOBCARD>
<EOTK-HEADER></EOTK-HEADER>
<EOTK-HEADER></EOTK-HEADER>
<CEP>
<CEP>
<EFFECT
EFFRG=
"001999"
></EFFECT>
<EFFECT
EFFRG=
"001999"
></EFFECT>
<TITLEC>
发动机QEC拆卸(V2500-A5系列)
</TITLEC>
<TITLEC>
发动机QEC拆卸(V2500-A5系列)
</TITLEC>
<TITLE>
Remove the Engine's QEC(V2500-A5 series)XXX
</TITLE>
<TITLE>
Remove the Engine's QEC(V2500-A5 series)
</TITLE>
<TITLE>
Remove the Engine's QEC(V2500-A5 series)XXX
</TITLE>
<TOPIC
CK-LEVEL=
"C"
>
<TITLEC>
飞机/发动机基本信息
</TITLEC>
<TITLE>
AIRCRAFT/ENGINE INFORMATION
</TITLE>
<STEP
CK-LEVEL=
"C"
>
<EFFECT
EFFRG=
"001999"
></EFFECT>
<RECORD-LINE>
<PARAC>
发动机序号
</PARAC>
<PARA>
Engine SN
</PARA>
<RECORD></RECORD>
</RECORD-LINE>
<NOTE>
<PARAC>
开始工作前请记录。
</PARAC>
<PARA>
Please record before starting work.
</PARA>
</NOTE>
<SIGNOFF/>
</STEP>
</TOPIC>
<TOPIC
CK-LEVEL=
"C"
>
<TOPIC
CK-LEVEL=
"C"
>
<TITLEC>
飞机/发动机基本信息
</TITLEC>
<TITLEC>
飞机/发动机基本信息
</TITLEC>
<TITLE>
AIRCRAFT/ENGINE INFORMATION
</TITLE>
<TITLE>
AIRCRAFT/ENGINE INFORMATION
</TITLE>
...
...
src/views/editor/components/Compare.vue
View file @
dd439fd9
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
<div
class=
"choose-row bg-progressRailColor"
ref=
"chooseRowRef"
></div>
<div
class=
"choose-row bg-progressRailColor"
ref=
"chooseRowRef"
></div>
<GlobalEditor
<GlobalEditor
ref=
"compareLeftRef"
ref=
"compareLeftRef"
v-model=
"compareData.
xmlContent
Old"
v-model=
"compareData.
tree
Old"
editorId=
"compareLeft"
editorId=
"compareLeft"
:editorConfig=
"
{ readOnly: true }"
:editorConfig=
"
{ readOnly: true }"
@handleScrollTop="handleScrollTopLeft"
@handleScrollTop="handleScrollTopLeft"
/>
/>
<GlobalEditor
<GlobalEditor
ref=
"compareRightRef"
ref=
"compareRightRef"
v-model=
"compareData.
xmlContent
New"
v-model=
"compareData.
tree
New"
editorId=
"compareRight"
editorId=
"compareRight"
:editorConfig=
"
{ readOnly: true }"
:editorConfig=
"
{ readOnly: true }"
@handleScrollTop="handleScrollTopRight"
@handleScrollTop="handleScrollTopRight"
...
...
src/views/editor/functions/index.ts
View file @
dd439fd9
...
@@ -104,6 +104,6 @@ export const compareXml = () => {
...
@@ -104,6 +104,6 @@ export const compareXml = () => {
console
.
log
(
res
)
console
.
log
(
res
)
Object
.
assign
(
compareData
,
res
)
Object
.
assign
(
compareData
,
res
)
//比较数据
//比较数据
handleLeftDifferent
()
//
handleLeftDifferent()
handleRightDifferent
()
//
handleRightDifferent()
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment