Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
R
relation-graph
Project
Project
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
郭铭瑶
relation-graph
Commits
7efb3722
Commit
7efb3722
authored
Aug 25, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取要素接口更换v2
parent
ef69b7de
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
362 additions
and
393 deletions
+362
-393
api.js
src/ajax/api.js
+3
-1
main.vue
src/components/main.vue
+359
-392
No files found.
src/ajax/api.js
View file @
7efb3722
...
@@ -7,7 +7,8 @@ switch (process.env.NODE_ENV) {
...
@@ -7,7 +7,8 @@ switch (process.env.NODE_ENV) {
export
default
{
export
default
{
BASE_URL
,
BASE_URL
,
GET_SUBJECTS
:
'/subjects'
,
GET_SUBJECTS
:
'/subjects/v2'
,
PUT_SUBJECT
:
'/subject/{id}'
,
GET_RELATIONS
:
'/relations'
,
GET_RELATIONS
:
'/relations'
,
POST_SUBJECT
:
'/subject'
,
POST_SUBJECT
:
'/subject'
,
POST_NODE
:
'/node/relation'
,
POST_NODE
:
'/node/relation'
,
...
@@ -16,4 +17,5 @@ export default {
...
@@ -16,4 +17,5 @@ export default {
DELETE_NODE
:
'/node/{id}'
,
DELETE_NODE
:
'/node/{id}'
,
GET_SYSTEMS
:
'/systems'
,
GET_SYSTEMS
:
'/systems'
,
POST_LINK_SUBJECTS
:
'/node/relations'
,
POST_LINK_SUBJECTS
:
'/node/relations'
,
GET_TAGS
:
'/label/classification'
,
}
}
src/components/main.vue
View file @
7efb3722
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