Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
ea0ef603
Commit
ea0ef603
authored
Dec 30, 2020
by
tianfen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: fix styles
parent
84294082
Pipeline
#21497
skipped with stages
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
clean.js
internals/webpack/clean.js
+2
-3
webpack.base.babel.js
internals/webpack/webpack.base.babel.js
+3
-1
webpack.prod.babel.js
internals/webpack/webpack.prod.babel.js
+1
-1
SiteManage.jsx
src/pages/userCenter/siteManage/SiteManage.jsx
+0
-0
api.js
src/services/userCenter/siteManage/api.js
+3
-4
No files found.
internals/webpack/clean.js
View file @
ea0ef603
const
rm
=
require
(
'rimraf'
);
const
path
=
require
(
'path'
);
const
webpack
=
require
(
'webpack'
);
const
chalk
=
require
(
'chalk'
);
const
ora
=
require
(
'ora'
)
const
webpackConfig
=
require
(
'./webpack.prod.babel'
)
const
ora
=
require
(
'ora'
)
;
const
webpackConfig
=
require
(
'./webpack.prod.babel'
)
;
const
spinner
=
ora
(
'building for production...'
);
// const Diff = require('diff');
/* eslint-disable */
...
...
internals/webpack/webpack.base.babel.js
View file @
ea0ef603
...
...
@@ -8,7 +8,9 @@ module.exports = options => ({
entry
:
options
.
entry
,
output
:
Object
.
assign
(
{
path
:
process
.
env
.
npm_config_releasepath
?
path
.
resolve
(
process
.
env
.
npm_config_releasepath
,
'civmanage'
):
path
.
resolve
(
process
.
cwd
(),
'civmanage'
),
path
:
process
.
env
.
npm_config_releasepath
?
path
.
resolve
(
process
.
env
.
npm_config_releasepath
,
'civmanage'
)
:
path
.
resolve
(
process
.
cwd
(),
'civmanage'
),
publicPath
:
process
.
env
.
PUBLIC_PATH
||
'/civmanage/'
,
},
options
.
output
,
...
...
internals/webpack/webpack.prod.babel.js
View file @
ea0ef603
...
...
@@ -17,7 +17,7 @@ module.exports = require('./webpack.base.babel')({
],
// Utilize long-term caching by adding content hashes (not compilation hashes) to compiled assets
//[chunkhash:8] [chunkhash:8]
//
[chunkhash:8] [chunkhash:8]
output
:
{
filename
:
'static/[name].[chunkhash:8].js'
,
chunkFilename
:
'static/[name].[chunkhash:8].chunk.js'
,
...
...
src/pages/userCenter/siteManage/SiteManage.jsx
View file @
ea0ef603
This diff is collapsed.
Click to expand it.
src/services/userCenter/siteManage/api.js
View file @
ea0ef603
import
{
get
,
post
,
CITY_SERVICE
,
PUBLISH_SERVICE
}
from
'@/services/index'
;
import
{
get
,
post
,
CITY_SERVICE
,
PUBLISH_SERVICE
}
from
'@/services/index'
;
/*
** params
...
...
@@ -31,11 +31,10 @@ export const chooseUserToStation = (params, options) =>
export
const
getUserByStation
=
params
=>
get
(
`
${
CITY_SERVICE
}
/OMS.svc/P_GetUserByStation`
,
params
);
//获取站点一级列表
//
获取站点一级列表
export
const
getAllGroup
=
params
=>
get
(
`
${
PUBLISH_SERVICE
}
/UserCenter/GetAllGroup`
,
params
);
//获取站点二级列表
//
获取站点二级列表
export
const
getStationUserList
=
params
=>
get
(
`
${
PUBLISH_SERVICE
}
/UserCenter/GetStationUserList`
,
params
);
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