Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
ef550cbd
Commit
ef550cbd
authored
Aug 14, 2020
by
郭婉茹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
find text
parent
2b747371
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
SelectText.vue
...atform-front/src/components/textAnnotation/SelectText.vue
+7
-4
SelectedCheck.vue
...orm-front/src/components/textAnnotation/SelectedCheck.vue
+3
-1
SelectedText.vue
...form-front/src/components/textAnnotation/SelectedText.vue
+3
-1
No files found.
DAPlatform-front/src/components/textAnnotation/SelectText.vue
View file @
ef550cbd
...
@@ -147,9 +147,9 @@ export default {
...
@@ -147,9 +147,9 @@ export default {
},
},
//获取内容
//获取内容
getContent
()
{
getContent
()
{
console
.
log
(
"getContent
"
);
console
.
log
(
"getContent
this.file: "
+
JSON
.
stringify
(
this
.
file
)
);
console
.
log
(
"
this.file: "
+
JSON
.
stringify
(
this
.
file
)
);
console
.
log
(
"
getContent this.documentId: "
+
this
.
documentId
);
console
.
log
(
"
this.documentId: "
+
this
.
documentId
);
console
.
log
(
"
getContent this.content: "
+
this
.
content
);
this
.
axios
({
this
.
axios
({
method
:
"post"
,
method
:
"post"
,
url
:
"/files/getFileContent"
,
url
:
"/files/getFileContent"
,
...
@@ -160,8 +160,11 @@ export default {
...
@@ -160,8 +160,11 @@ export default {
if
(
res
.
return_code
==
200
)
{
if
(
res
.
return_code
==
200
)
{
// console.log(" getContent: " + res.result);
// console.log(" getContent: " + res.result);
this
.
content
=
res
.
result
;
this
.
content
=
res
.
result
;
this
.
$nextTick
(
function
()
{
this
.
getTokenList
();
});
this
.
contentWithoutColor
=
this
.
content
;
this
.
contentWithoutColor
=
this
.
content
;
this
.
getTokenList
();
// console.log(
// console.log(
// " this.contentWithoutColor: " + this.contentWithoutColor
// " this.contentWithoutColor: " + this.contentWithoutColor
// );
// );
...
...
DAPlatform-front/src/components/textAnnotation/SelectedCheck.vue
View file @
ef550cbd
...
@@ -154,7 +154,9 @@ export default {
...
@@ -154,7 +154,9 @@ export default {
// console.log(" getContent: " + res.result);
// console.log(" getContent: " + res.result);
this
.
content
=
res
.
result
;
this
.
content
=
res
.
result
;
console
.
log
(
"getContent this.content: "
+
this
.
content
);
console
.
log
(
"getContent this.content: "
+
this
.
content
);
this
.
getTokenList
();
this
.
$nextTick
(
function
()
{
this
.
getTokenList
();
});
// console.log(
// console.log(
// " this.contentWithoutColor: " + this.contentWithoutColor
// " this.contentWithoutColor: " + this.contentWithoutColor
// );
// );
...
...
DAPlatform-front/src/components/textAnnotation/SelectedText.vue
View file @
ef550cbd
...
@@ -139,7 +139,9 @@ export default {
...
@@ -139,7 +139,9 @@ export default {
if
(
res
.
return_code
==
200
)
{
if
(
res
.
return_code
==
200
)
{
// console.log(" getContent: " + res.result);
// console.log(" getContent: " + res.result);
this
.
content
=
res
.
result
;
this
.
content
=
res
.
result
;
this
.
getTokenList
();
this
.
$nextTick
(
function
()
{
this
.
getTokenList
();
});
// console.log(
// console.log(
// " this.contentWithoutColor: " + this.contentWithoutColor
// " this.contentWithoutColor: " + this.contentWithoutColor
// );
// );
...
...
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