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
37fc3239
Commit
37fc3239
authored
Nov 23, 2022
by
lxyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:部分接口调试完成
parent
f9c21c59
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
5 deletions
+36
-5
customer.js
src/api/system/customer.js
+31
-0
index.js
src/router/index.js
+5
-5
index.vue
src/views/system/customer/index.vue
+0
-0
No files found.
src/api/system/customer.js
View file @
37fc3239
...
...
@@ -37,3 +37,33 @@ export function doctaskList(data) {
params
:
data
})
}
// 提交表单
export
function
doctaskUpsert
(
data
)
{
return
request
({
url
:
'/api/doc/doctask/upsert'
,
method
:
'post'
,
data
})
}
// 选择文档
export
function
doctaskDocuments
()
{
return
request
({
url
:
'/api/doc/doctask/documents'
,
method
:
'get'
})
}
// 订阅文档
export
function
doctaskSubscription
({
id
,
sub
})
{
return
request
({
url
:
'/api/doc/doctask/subscription/'
+
id
+
'?sub='
+
sub
,
method
:
'get'
})
}
// 删除文档
export
function
doctaskDelete
(
id
)
{
return
request
({
url
:
'/api/doc/doctask/delete/'
+
id
,
method
:
'get'
})
}
\ No newline at end of file
src/router/index.js
View file @
37fc3239
...
...
@@ -74,7 +74,7 @@ export const constantRoutes = [
children
:
[
{
path
:
'index'
,
component
:
()
=>
import
(
'
..
/views/index'
),
component
:
()
=>
import
(
'
@
/views/index'
),
name
:
'搜索文档'
,
meta
:
{
title
:
'搜索文档'
,
icon
:
'search-new'
,
noCache
:
true
,
affix
:
true
}
}
...
...
@@ -103,7 +103,7 @@ export const constantRoutes = [
children
:
[
{
path
:
'type/data/:dictId(
\\
d+)'
,
component
:
()
=>
import
(
'
..
/views/system/dict/data'
),
component
:
()
=>
import
(
'
@
/views/system/dict/data'
),
name
:
'字典数据'
,
meta
:
{
title
:
'字典数据'
,
icon
:
''
}
}
...
...
@@ -119,7 +119,7 @@ export const constantRoutes = [
path
:
'/documentManagement'
,
children
:
[
{
component
:
()
=>
import
(
'
..
/views/dataList/dashboard/index'
),
component
:
()
=>
import
(
'
@
/views/dataList/dashboard/index'
),
meta
:
{
icon
:
''
,
title
:
'搜索文档详情'
...
...
@@ -129,7 +129,7 @@ export const constantRoutes = [
hidden
:
true
},
{
component
:
()
=>
import
(
'
..
/views/system/customer/index'
),
component
:
()
=>
import
(
'
@
/views/system/customer/index'
),
meta
:
{
icon
:
''
,
title
:
'跟踪文档'
...
...
@@ -141,7 +141,7 @@ export const constantRoutes = [
}
},
{
component
:
()
=>
import
(
'
..
/views/dataList/product/index'
),
component
:
()
=>
import
(
'
@
/views/dataList/product/index'
),
meta
:
{
icon
:
''
,
title
:
'跟踪文档详情'
...
...
src/views/system/customer/index.vue
View file @
37fc3239
This diff is collapsed.
Click to expand it.
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