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
2d3d20c7
Commit
2d3d20c7
authored
Dec 07, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是否虚拟组织===false
parent
4b73c653
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
api.ts
src/ajax/api.ts
+1
-1
actions.ts
src/store/actions.ts
+1
-1
basic-info.vue
src/view/components/basic-info.vue
+1
-1
new-activity-drawer.vue
src/view/components/new-activity-drawer.vue
+1
-1
struct-modal.vue
src/view/components/struct-modal.vue
+3
-2
No files found.
src/ajax/api.ts
View file @
2d3d20c7
...
@@ -36,7 +36,7 @@ switch (process.env.NODE_ENV) {
...
@@ -36,7 +36,7 @@ switch (process.env.NODE_ENV) {
default
:
default
:
// 本地开发环境
// 本地开发环境
BASE_URL
=
'/api'
// 由 vite.config 代理
BASE_URL
=
'/api'
// 由 vite.config 代理
TOKEN
=
'
c0c4003b-9b3a-4daf-8363-5707ee891255
'
TOKEN
=
'
dfdcce19-f877-4762-b34e-a4767e89d268
'
MAP_CONFIG
=
{
MAP_CONFIG
=
{
jsApiUrl
:
'http://10.108.3.41/arcgis_js_api/library/4.18/init.js'
,
jsApiUrl
:
'http://10.108.3.41/arcgis_js_api/library/4.18/init.js'
,
cssUrl
:
'http://10.108.3.41/arcgis_js_api/library/4.18/esri/css/main.css'
,
cssUrl
:
'http://10.108.3.41/arcgis_js_api/library/4.18/esri/css/main.css'
,
...
...
src/store/actions.ts
View file @
2d3d20c7
...
@@ -174,7 +174,7 @@ async function getSum(query?: string) {
...
@@ -174,7 +174,7 @@ async function getSum(query?: string) {
keys
:
'是否虚拟组织'
,
keys
:
'是否虚拟组织'
,
q
:
query
,
q
:
query
,
})
})
)?.
find
((
e
:
any
)
=>
!
e
[
'是否虚拟组织'
]
)?.
__aggregate__
||
0
)?.
find
((
e
:
any
)
=>
e
[
'是否虚拟组织'
]
===
false
)?.
__aggregate__
||
0
const
relationInStreet
=
const
relationInStreet
=
(
(
...
...
src/view/components/basic-info.vue
View file @
2d3d20c7
...
@@ -256,7 +256,7 @@ const clickTag = async ({ key, name }: any) => {
...
@@ -256,7 +256,7 @@ const clickTag = async ({ key, name }: any) => {
})
})
data
=
res
data
=
res
.
map
((
item
:
any
)
=>
item
.
extra
)
.
map
((
item
:
any
)
=>
item
.
extra
)
.
filter
((
item
:
any
)
=>
!
item
?.[
'是否虚拟组织'
]
)
.
filter
((
item
:
any
)
=>
item
?.[
'是否虚拟组织'
]
===
false
)
store
.
commit
(
'SET_MAP_POINTS'
,
data
)
store
.
commit
(
'SET_MAP_POINTS'
,
data
)
tips
.
value
=
{
tips
.
value
=
{
show
:
true
,
show
:
true
,
...
...
src/view/components/new-activity-drawer.vue
View file @
2d3d20c7
...
@@ -383,7 +383,7 @@ async function getOrgOptions() {
...
@@ -383,7 +383,7 @@ async function getOrgOptions() {
q
:
`paths @ "党组织编号" && string @ "
${
store
.
state
.
auth
.
code
}
"`
,
q
:
`paths @ "党组织编号" && string @ "
${
store
.
state
.
auth
.
code
}
"`
,
})
})
)
)
?.
filter
((
item
:
any
)
=>
!
item
[
'是否虚拟组织'
]
)
?.
filter
((
item
:
any
)
=>
item
[
'是否虚拟组织'
]
===
false
)
?.
map
((
item
:
any
)
=>
({
?.
map
((
item
:
any
)
=>
({
label
:
item
[
'党组织名称'
],
label
:
item
[
'党组织名称'
],
value
:
item
[
'党组织名称'
],
value
:
item
[
'党组织名称'
],
...
...
src/view/components/struct-modal.vue
View file @
2d3d20c7
...
@@ -808,9 +808,10 @@ async function setCommunityParty() {
...
@@ -808,9 +808,10 @@ async function setCommunityParty() {
const
data
=
belongToCommunityParty
.
value
const
data
=
belongToCommunityParty
.
value
const
bigSixChildren
:
any
[]
=
[]
const
bigSixChildren
:
any
[]
=
[]
const
twoNewChildren
:
any
[]
=
[]
const
twoNewChildren
:
any
[]
=
[]
const
datasource
=
data
.
filter
((
item
:
any
)
=>
item
[
'是否虚拟组织'
])
||
[]
const
datasource
=
data
.
filter
((
item
:
any
)
=>
item
[
'是否虚拟组织'
]
===
true
)
||
[]
data
.
forEach
(
async
(
item
:
any
)
=>
{
data
.
forEach
(
async
(
item
:
any
)
=>
{
if
(
item
[
'是否虚拟组织'
])
return
if
(
item
[
'是否虚拟组织'
]
===
true
)
return
if
(
item
[
'类别'
]
===
'居民区'
)
{
if
(
item
[
'类别'
]
===
'居民区'
)
{
bigSixChildren
.
push
(
item
)
bigSixChildren
.
push
(
item
)
}
else
if
(
}
else
if
(
...
...
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