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
e669fc87
Commit
e669fc87
authored
Oct 14, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10/14优化
parent
f7958952
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
19 deletions
+3
-19
api.ts
src/ajax/api.ts
+1
-1
activity-list-modal.vue
src/view/components/activity-list-modal.vue
+1
-17
new-activity-drawer.vue
src/view/components/new-activity-drawer.vue
+1
-1
No files found.
src/ajax/api.ts
View file @
e669fc87
...
...
@@ -33,7 +33,7 @@ switch (process.env.NODE_ENV) {
default
:
// 本地开发环境
BASE_URL
=
'/api'
// 由 vite.config 代理
TOKEN
=
'
8d979525-f8ab-4c62-9d6b-a6eeb62c7455
'
TOKEN
=
'
468b4d99-0ae6-4451-8c0c-b3508e715b22
'
MAP_CONFIG
=
{
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'
,
...
...
src/view/components/activity-list-modal.vue
View file @
e669fc87
...
...
@@ -235,7 +235,7 @@ const columns = [
(tag: string) =>
activity?.find((e) => e.name === tag)?.type || 'default',
)
return h(NSpace, [
return h(NSpace,
() =>
[
...types.map((type, i) =>
h(
NTag,
...
...
@@ -254,22 +254,6 @@ const columns = [
),
),
])
// return row['标签类别']
// ? h(
// NTag,
// {
// size: 'small',
// type: type as
// | 'default'
// | 'error'
// | 'primary'
// | 'info'
// | 'success'
// | 'warning',
// },
// { default: () => row['标签类别'] },
// )
// : ''
},
},
{ title: '活动地址', key: '活动地址' },
...
...
src/view/components/new-activity-drawer.vue
View file @
e669fc87
...
...
@@ -633,7 +633,7 @@ const submit = () => {
活动日期
:
+
(
date
+
''
).
slice
(
0
,
10
),
// 截掉10位后的0,不然这接口会认为不是时间戳
活动地址
:
address
||
defaultAddress
.
value
,
实际参与人数
:
count
,
不计入参与活动党员人数
:
excludeCount
,
不计入参与活动党员人数
:
excludeCount
||
0
,
活动照片
:
photoList
?.
map
((
item
:
any
)
=>
item
.
url
)
||
[],
上海
2000
经度
:
location
.
value
[
0
],
上海
2000
纬度
:
location
.
value
[
1
],
...
...
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