Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
document-management
Project
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
ry-istanbul-web
document-management
Commits
cb8f3926
Commit
cb8f3926
authored
Nov 27, 2022
by
lxyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:调试完成
parent
f8f742a6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
24 deletions
+12
-24
index.vue
src/views/dataList/dashboard/index.vue
+6
-11
index.vue
src/views/index.vue
+5
-12
index.vue
src/views/system/customer/index.vue
+1
-1
No files found.
src/views/dataList/dashboard/index.vue
View file @
cb8f3926
...
...
@@ -23,7 +23,7 @@
<span
class=
"text"
>
更新日期:
{{
dateFilter
(
item
.
createTime
)
}}
</span>
</div>
<div
class=
"content-text-header"
>
<a
class=
"link"
v-if=
"item.
link"
:href=
"item.link
"
target=
"_blank"
>
{{
item
.
title
}}
</a>
<a
class=
"link"
v-if=
"item.
docUrl"
:href=
"item.docUrl
"
target=
"_blank"
>
{{
item
.
title
}}
</a>
<span
v-else
>
{{
item
.
title
}}
</span>
</div>
<p
class=
"content-text"
v-html=
"item.docContent"
></p>
...
...
@@ -117,23 +117,18 @@ export default {
let
pagesize
=
this
.
queryParamsLeft
.
pageSize
documentFindDocument
({
name
,
pageindex
,
pagesize
})
.
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
let
data
=
response
.
content
.
value
if
(
response
.
code
===
200
&&
data
.
length
)
{
let
pageContent
=
this
.
queryParamsLeft
.
pageContent
if
(
response
.
content
.
totalSize
!==
pageContent
)
{
this
.
queryParamsLeft
.
pageContent
=
response
.
content
.
totalSize
||
0
}
let
data
=
response
.
content
.
value
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
let
difWordAfter
=
data
[
i
].
difWordAfter
||
''
let
url
=
data
[
i
].
docUrl
if
(
data
[
i
].
docContent
.
indexOf
(
difWordAfter
)
>=
0
&&
difWordAfter
)
{
let
values
=
data
[
i
].
docContent
.
split
(
difWordAfter
);
data
[
i
].
docContent
=
values
.
join
(
`<a style="color: rgba(250, 0, 0, 1);" href="
${
url
}
" target="_blank">
${
difWordAfter
}
</a>`
)
}
data
[
i
].
docContent
=
data
[
i
].
docContent
?
data
[
i
].
docContent
+
'...'
:
'-'
}
this
.
$set
(
this
,
'listLeft'
,
data
)
}
else
{
this
.
$set
(
this
,
'listLeft'
,
[])
}
this
.
loadingLeft
=
false
})
...
...
src/views/index.vue
View file @
cb8f3926
...
...
@@ -38,18 +38,11 @@ export default {
return
}
this
.
$router
.
push
({
path
:
'/documentManagement/taskListIndex'
,
query
:
{
id
:
1
,
name
:
121212
}
})
// this.$router.push({
// name: 'tailAfter',
// params: {
// search: this.search
// }
// })
name
:
'tailAfter'
,
params
:
{
search
:
this
.
search
}
})
}
},
computed
:
{}
...
...
src/views/system/customer/index.vue
View file @
cb8f3926
...
...
@@ -323,7 +323,7 @@ export default {
routerTaskListDetails
(
row
)
{
try
{
this
.
$router
.
push
({
path
:
'taskListIndex'
,
path
:
'
/documentManagement/
taskListIndex'
,
query
:
{
id
:
row
.
docDocumentId
,
name
:
row
.
name
...
...
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