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
7e128887
Commit
7e128887
authored
Jun 18, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
知识管理提交
parent
3b87c5d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
knowledgeinfo-add-or-update.vue
src/views/modules/plate/knowledgeinfo-add-or-update.vue
+1
-1
knowledgeinfo.vue
src/views/modules/plate/knowledgeinfo.vue
+2
-2
product.vue
src/views/modules/plate/product.vue
+4
-0
No files found.
src/views/modules/plate/knowledgeinfo-add-or-update.vue
View file @
7e128887
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
url
:
this
.
$http
.
adornUrl
(
`/office/knowledgeinfo/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/office/knowledgeinfo/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
data
:
this
.
$http
.
adornData
({
'id'
:
this
.
dataForm
.
id
||
undefined
,
'
knowledgeinfo
id'
:
this
.
dataForm
.
id
||
undefined
,
'title'
:
this
.
dataForm
.
title
,
'title'
:
this
.
dataForm
.
title
,
'levels'
:
this
.
dataForm
.
levels
,
'levels'
:
this
.
dataForm
.
levels
,
'directpath'
:
this
.
dataForm
.
directpath
,
'directpath'
:
this
.
dataForm
.
directpath
,
...
...
src/views/modules/plate/knowledgeinfo.vue
View file @
7e128887
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:knowledgeinfo:check')"
/>
<br
v-if=
"isAuth('manage:knowledgeinfo:check')"
/>
<
!--
<el-button
v-if=
"isAuth('manage:knowledgeinfo:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
--
>
<
el-button
v-if=
"isAuth('manage:knowledgeinfo:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button
>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.knowledgeinfoid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.knowledgeinfoid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.knowledgeinfoid)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.knowledgeinfoid)"
>
删除
</el-button>
</
template
>
</
template
>
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
},
},
showMsg
(
data
)
{
showMsg
(
data
)
{
if
(
!
data
.
jumppath
||
data
.
jumppath
===
null
)
{
if
(
!
data
.
jumppath
||
data
.
jumppath
===
null
)
{
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/
News/msg?id='
+
data
.
id
,
'_blank'
)
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/
Knowledge/article?id='
+
data
.
knowledgeinfo
id
,
'_blank'
)
}
else
if
(
/^
\/
/
.
test
(
data
.
jumppath
))
{
}
else
if
(
/^
\/
/
.
test
(
data
.
jumppath
))
{
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
data
.
jumppath
,
'_blank'
)
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
data
.
jumppath
,
'_blank'
)
}
else
{
}
else
{
...
...
src/views/modules/plate/product.vue
View file @
7e128887
...
@@ -119,6 +119,7 @@
...
@@ -119,6 +119,7 @@
>
[失败]
</el-button
>
[失败]
</el-button
>
>
<br
v-if=
"isAuth('plate:product:check')"
/>
<br
v-if=
"isAuth('plate:product:check')"
/>
<el-button
v-if=
"isAuth('plate:product:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
<el-button
v-if=
"isAuth('plate:product:update')"
v-if=
"isAuth('plate:product:update')"
type=
"text"
type=
"text"
...
@@ -257,6 +258,9 @@ export default {
...
@@ -257,6 +258,9 @@ export default {
this
.
$refs
.
addOrUpdate
.
init
(
id
)
this
.
$refs
.
addOrUpdate
.
init
(
id
)
})
})
},
},
showMsg
(
data
)
{
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/Service/Book?id='
+
data
.
id
,
'_blank'
)
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
)
{
var
ids
=
id
var
ids
=
id
...
...
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