Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
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
吴迪
gs1-admin
Commits
0b65a66c
Commit
0b65a66c
authored
May 29, 2024
by
田爽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
政策法规链接问题
parent
4ffeacd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
policy.vue
src/views/modules/policy/policy.vue
+14
-14
No files found.
src/views/modules/policy/policy.vue
View file @
0b65a66c
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
<el-date-picker
clearable
clearable
v-model=
"updateDate"
v-model=
"updateDate"
type=
"datetimerange"
type=
"datetimerange"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
align=
"center"
align=
"center"
label=
"最后编辑"
>
label=
"最后编辑"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"releasedate"
prop=
"releasedate"
header-align=
"center"
header-align=
"center"
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
label=
"创建时间"
>
label=
"创建时间"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
releasedate
.
substring
(
0
,
10
)
}}
</div>
<div>
{{
scope
.
row
.
releasedate
.
substring
(
0
,
10
)
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"updatedate"
prop=
"updatedate"
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
label=
"更新时间"
>
label=
"更新时间"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
updatedate
&&
scope
.
row
.
updatedate
.
substring
(
0
,
10
)
}}
</div>
<div>
{{
scope
.
row
.
updatedate
&&
scope
.
row
.
updatedate
.
substring
(
0
,
10
)
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"auditor"
prop=
"auditor"
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
<el-pagination
@
size-change=
"sizeChangeHandle"
@
size-change=
"sizeChangeHandle"
@
current-change=
"currentChangeHandle"
@
current-change=
"currentChangeHandle"
...
@@ -303,13 +303,13 @@ export default {
...
@@ -303,13 +303,13 @@ export default {
method
:
'post'
method
:
'post'
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
!
item
.
directpath
||
item
.
directpath
===
null
)
{
//
if (!item.directpath || item.directpath === null) {
ursStr
=
this
.
$store
.
state
.
config
.
urls
+
'/Knowledge/Statuteinfo?id='
+
item
.
id
+
'&token='
+
data
.
data
ursStr
=
this
.
$store
.
state
.
config
.
urls
+
'/Knowledge/Statuteinfo?id='
+
item
.
id
+
'&token='
+
data
.
data
this
.
$set
(
this
.
urlsJson
,
item
.
title
,
ursStr
)
this
.
$set
(
this
.
urlsJson
,
item
.
title
,
ursStr
)
}
else
{
//
} else {
ursStr
=
item
.
directpath
+
'&token='
+
data
.
data
//
ursStr = item.directpath + '&token=' + data.data
this
.
$set
(
this
.
urlsJson
,
item
.
title
,
ursStr
)
//
this.$set(this.urlsJson, item.title, ursStr)
}
//
}
}
}
})
})
},
},
...
@@ -320,11 +320,11 @@ export default {
...
@@ -320,11 +320,11 @@ export default {
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
console
.
log
(
data
)
console
.
log
(
data
)
if
(
data
&&
data
.
code
===
0
)
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
!
item
.
directpath
||
item
.
directpath
===
null
)
{
//
if (!item.directpath || item.directpath === null) {
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/Knowledge/Statuteinfo?id='
+
item
.
id
+
'&token='
+
data
.
data
,
'_blank'
)
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/Knowledge/Statuteinfo?id='
+
item
.
id
+
'&token='
+
data
.
data
,
'_blank'
)
}
else
{
//
} else {
window
.
open
(
item
.
directpath
+
'&token='
+
data
.
data
,
'_blank'
)
//
window.open(item.directpath + '&token=' + data.data, '_blank')
}
//
}
}
else
{
}
else
{
this
.
$message
.
error
(
'获取失败'
)
this
.
$message
.
error
(
'获取失败'
)
}
}
...
...
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