Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
huamu
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
郭铭瑶
huamu
Commits
e0f535d9
Commit
e0f535d9
authored
Sep 13, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组织机构对接数据
parent
9572cf86
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
313 additions
and
267 deletions
+313
-267
axios.ts
src/ajax/axios.ts
+1
-1
tags.ts
src/util/tags.ts
+3
-4
filter-drawer.vue
src/view/components/filter-drawer.vue
+1
-1
info-modal.vue
src/view/components/info-modal.vue
+1
-3
member-info.vue
src/view/components/member-info.vue
+0
-1
struct-modal.vue
src/view/components/struct-modal.vue
+307
-257
No files found.
src/ajax/axios.ts
View file @
e0f535d9
...
...
@@ -5,7 +5,7 @@ import store from '@/store'
const
Axios
=
axios
.
create
({
baseURL
:
api
.
BASE_URL
,
timeout
:
15
000
,
timeout
:
20
000
,
})
Axios
.
interceptors
.
request
.
use
(
(
config
)
=>
{
...
...
src/util/tags.ts
View file @
e0f535d9
...
...
@@ -6,10 +6,9 @@ export const member = [
]
export
const
organization
=
[
{
name
:
'荣获区级奖项党组织'
,
type
:
'primary'
},
{
name
:
'荣获市级及以上奖项党组织'
,
type
:
'info'
},
{
name
:
'光荣在当党50年'
,
type
:
'success'
},
{
name
:
'党心暖我心'
,
type
:
'warning'
},
{
name
:
'荣获区级奖项'
,
type
:
'primary'
},
{
name
:
'荣获市级及以上奖项'
,
type
:
'info'
},
{
name
:
'党建服务站'
,
type
:
'success'
},
]
export
const
activity
=
[
{
name
:
'支部党员大会'
,
type
:
'primary'
},
...
...
src/view/components/filter-drawer.vue
View file @
e0f535d9
...
...
@@ -281,7 +281,7 @@ const getDetail = async (type: string, name: string) => {
})
}
else
{
res
=
await
useFetchMember
({
q
:
`paths @ "标签" && string
==
"
${
name
}
"`
,
q
:
`paths @ "标签" && string
@
"
${
name
}
"`
,
})
}
break
...
...
src/view/components/info-modal.vue
View file @
e0f535d9
...
...
@@ -35,9 +35,7 @@
</div>
</
template
>
<
script
lang=
"ts"
setup
>
import
{
organization
}
from
'@/util/tags'
</
script
>
<
script
lang=
"ts"
setup
></
script
>
<
style
lang=
"stylus"
scoped
>
@import '../../components/MyComponent/main.styl'
...
...
src/view/components/member-info.vue
View file @
e0f535d9
...
...
@@ -47,7 +47,6 @@
</
template
>
<
script
lang=
"ts"
setup
>
import
{
organization
}
from
'@/util/tags'
import
dayjs
from
'@/util/dayjs'
import
{
computed
,
PropType
}
from
'@vue/runtime-core'
import
{
member
}
from
'@/util/tags'
...
...
src/view/components/struct-modal.vue
View file @
e0f535d9
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