Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
3bdef470
Commit
3bdef470
authored
Oct 29, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
技术支持fixed
parent
9b53e9f0
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
62 additions
and
36 deletions
+62
-36
src/pages/technical-support/answer-center/index.vue
src/pages/technical-support/answer-center/index.vue
+2
-1
src/pages/technical-support/answer-center/list.vue
src/pages/technical-support/answer-center/list.vue
+6
-1
src/pages/technical-support/doc-manage/detail.vue
src/pages/technical-support/doc-manage/detail.vue
+2
-1
src/pages/technical-support/doc/detail.vue
src/pages/technical-support/doc/detail.vue
+8
-1
src/pages/technical-support/doc/index.vue
src/pages/technical-support/doc/index.vue
+2
-2
src/pages/technical-support/sdk-manage/example/detail.vue
src/pages/technical-support/sdk-manage/example/detail.vue
+5
-2
src/pages/technical-support/sdk-manage/example/index.vue
src/pages/technical-support/sdk-manage/example/index.vue
+4
-3
src/pages/technical-support/sdk-manage/type/index.vue
src/pages/technical-support/sdk-manage/type/index.vue
+2
-1
src/pages/technical-support/sdk/detail.vue
src/pages/technical-support/sdk/detail.vue
+30
-23
src/pages/technical-support/sdk/index.vue
src/pages/technical-support/sdk/index.vue
+1
-1
No files found.
src/pages/technical-support/answer-center/index.vue
View file @
3bdef470
...
...
@@ -246,8 +246,9 @@ export default {
}
.list_img
{
flex-shrink
:
0
;
width
:
26px
;
height
:
26px
;
border-radius
:
13px
;
border-radius
:
50%
;
}
.list_text
{
flex-grow
:
1
;
...
...
src/pages/technical-support/answer-center/list.vue
View file @
3bdef470
...
...
@@ -124,6 +124,11 @@ export default {
});
},
selectSortType
(
type
)
{
/* if (this.sortType === type) {
return;
} */
this
.
currentPage
=
1
;
this
.
sortType
=
type
;
this
.
getAnwerList
();
},
...
...
@@ -158,7 +163,7 @@ export default {
},
getContentText
(
content
)
{
let
text
=
content
.
replace
(
/<img
[^
>
]
+>/g
,
"
【图片】
"
);
text
=
text
.
replace
(
/<iframe
(([\s\S])
*
?)
<
\/
iframe>/g
,
"
【视频】
"
);
text
=
text
.
replace
(
/<pre
(([\s\S])
*
?)
<
\/
pre>/g
,
"
【代码】
"
);
text
=
text
.
replace
(
/<
\/?
.+
?
>/g
,
""
);
...
...
src/pages/technical-support/doc-manage/detail.vue
View file @
3bdef470
...
...
@@ -8,7 +8,8 @@
<el-breadcrumb-item
to=
"/technical_support/doc_manage"
>
开发文档
</el-breadcrumb-item>
<el-breadcrumb-item>
文档编辑 -
{{
title
}}
</el-breadcrumb-item>
<el-breadcrumb-item>
文档编辑
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
title
}}
</el-breadcrumb-item>
</el-breadcrumb>
</div>
...
...
src/pages/technical-support/doc/detail.vue
View file @
3bdef470
...
...
@@ -5,7 +5,7 @@
<el-breadcrumb-item
to=
"/technical_support"
>
技术支持
</el-breadcrumb-item>
<el-breadcrumb-item
to=
"/technical_support/doc
"
>
<el-breadcrumb-item
:to=
"parentPath
"
>
开发文档
</el-breadcrumb-item>
<el-breadcrumb-item>
...
...
@@ -31,6 +31,12 @@ export default {
components
:
{
DocWidthNav
,
},
props
:
{
parentPath
:
{
type
:
String
,
default
:
""
,
},
},
data
()
{
return
{
title
:
""
,
...
...
@@ -60,6 +66,7 @@ export default {
},
},
created
()
{
this
.
title
=
this
.
typeText
;
this
.
getContent
();
},
methods
:
{
...
...
src/pages/technical-support/doc/index.vue
View file @
3bdef470
...
...
@@ -4,11 +4,11 @@
title=
"开发文档"
imgSrc=
"tool_ic_kaifawendang"
:nav-list=
"navList"
:title-path=
"
navList[0] && navList[0].p
ath"
:title-path=
"
activeP
ath"
style=
"width: 250px;"
></side-nav-bar>
<div
class=
"main_container"
>
<router-view
:key=
"$route.params.type + $route.params.id"
/>
<router-view
:
parent-path=
"activePath"
:
key=
"$route.params.type + $route.params.id"
/>
</div>
</div>
</
template
>
...
...
src/pages/technical-support/sdk-manage/example/detail.vue
View file @
3bdef470
...
...
@@ -9,7 +9,10 @@
SDK管理
</el-breadcrumb-item>
<el-breadcrumb-item>
SDK示例编辑 -
{{
detail
.
example_name
}}
SDK示例编辑
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
detail
.
example_name
}}
</el-breadcrumb-item>
</el-breadcrumb>
</div>
...
...
@@ -61,7 +64,7 @@ export default {
},
methods
:
{
cancelAction
()
{
this
.
$router
.
push
(
"
/technical_support/sdk_manage
"
);
this
.
$router
.
push
(
"
/technical_support/sdk_manage
/example
"
);
},
submitAction
()
{
this
.
$http
...
...
src/pages/technical-support/sdk-manage/example/index.vue
View file @
3bdef470
...
...
@@ -330,16 +330,17 @@ export default {
let
ids
=
[];
this
.
selection
.
forEach
((
item
)
=>
{
names
.
push
(
item
.
example_name
);
names
.
push
(
"
《
"
+
item
.
example_name
+
"
》
"
);
ids
.
push
(
item
.
id
);
});
this
.
deleteDialogInfo
.
msg
=
`您确认要删除
${
names
.
join
(
"
,
"
)}
吗?`
;
this
.
deleteDialogInfo
.
msg
=
`您确认要删除
${
names
.
join
(
"
、
"
)}
吗?`
;
this
.
deleteDialogInfo
.
submit
=
()
=>
{
this
.
deleteRequest
(
ids
);
};
this
.
$refs
.
deleteDialog
.
show
();
}
else
{
this
.
$message
.
closeAll
();
this
.
$message
.
warning
(
"
您尚未选中任何SDK示例
"
);
}
},
...
...
@@ -370,7 +371,7 @@ export default {
this
.
$refs
.
detailDialog
.
show
();
},
deleteItem
(
item
)
{
this
.
deleteDialogInfo
.
msg
=
`确认删除
${
item
.
example_name
}
吗?`
;
this
.
deleteDialogInfo
.
msg
=
`确认删除
《
${
item
.
example_name
}
》
吗?`
;
this
.
deleteDialogInfo
.
submit
=
()
=>
{
this
.
deleteRequest
([
item
.
id
]);
};
...
...
src/pages/technical-support/sdk-manage/type/index.vue
View file @
3bdef470
...
...
@@ -287,12 +287,13 @@ export default {
ids
.
push
(
item
.
id
);
});
this
.
deleteDialogInfo
.
msg
=
`您确认要删除
${
names
.
join
(
"
,
"
)}
吗?`
;
this
.
deleteDialogInfo
.
msg
=
`您确认要删除
${
names
.
join
(
"
、
"
)}
吗?`
;
this
.
deleteDialogInfo
.
submit
=
()
=>
{
this
.
deleteRequest
(
ids
);
};
this
.
$refs
.
deleteDialog
.
show
();
}
else
{
this
.
$message
.
closeAll
();
this
.
$message
.
warning
(
"
您尚未选中任何SDK类型
"
);
}
},
...
...
src/pages/technical-support/sdk/detail.vue
View file @
3bdef470
This diff is collapsed.
Click to expand it.
src/pages/technical-support/sdk/index.vue
View file @
3bdef470
...
...
@@ -8,7 +8,7 @@
style=
"width: 250px;"
></side-nav-bar>
<div
class=
"main_container"
>
<router-view
:key=
"$route.params.type + $route.params.id"
/>
<router-view
:
parent-path=
"activePath"
:
key=
"$route.params.type + $route.params.id"
/>
</div>
</div>
</
template
>
...
...
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