Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
b88462f0
Commit
b88462f0
authored
Aug 07, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://cloud.wodcloud.com/git/apaas/apaas-v3-ui
into dev
parents
50b8db7e
935eeef4
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
49 additions
and
19 deletions
+49
-19
config/index.js
config/index.js
+1
-1
index.html
index.html
+1
-0
src/components/menu.vue
src/components/menu.vue
+2
-1
src/components/service-header.vue
src/components/service-header.vue
+1
-2
src/components/service-info/map-view.vue
src/components/service-info/map-view.vue
+2
-1
src/components/service-info/service-info.vue
src/components/service-info/service-info.vue
+1
-2
src/pages/service_shop/skfwDetail.vue
src/pages/service_shop/skfwDetail.vue
+1
-0
src/pages/workbench/component-center/app-build/app_build.vue
src/pages/workbench/component-center/app-build/app_build.vue
+0
-0
src/pages/workbench/component-center/intelligent-drawing/intelligent_appbuilder.vue
...ent-center/intelligent-drawing/intelligent_appbuilder.vue
+2
-1
src/pages/workbench/component-center/intelligent-drawing/intelligent_details.vue
...ponent-center/intelligent-drawing/intelligent_details.vue
+2
-1
src/pages/workbench/component-center/intelligent-drawing/intelligent_drawing.vue
...ponent-center/intelligent-drawing/intelligent_drawing.vue
+2
-1
src/pages/workbench/component-center/process-designer/process-designer-detail.vue
...onent-center/process-designer/process-designer-detail.vue
+5
-0
src/pages/workbench/component-center/process-designer/process-designer-list.vue
...mponent-center/process-designer/process-designer-list.vue
+5
-0
src/pages/workbench/fwgl/apply_service_detail.vue
src/pages/workbench/fwgl/apply_service_detail.vue
+1
-1
src/pages/workbench/fwgl/approval_service_detail.vue
src/pages/workbench/fwgl/approval_service_detail.vue
+1
-1
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+1
-1
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+4
-2
src/router/index.js
src/router/index.js
+14
-4
static/config/configmap.js
static/config/configmap.js
+3
-0
No files found.
config/index.js
View file @
b88462f0
...
...
@@ -8,7 +8,7 @@ module.exports = {
dev
:
{
// Paths
assetsSubDirectory
:
"
static
"
,
assetsPublicPath
:
"
/
"
,
assetsPublicPath
:
"
/
apaas/ui/
"
,
proxyTable
:
{
"
/apaas
"
:
{
target
:
"
https://apaas3.wodcloud.com/apaas/
"
,
...
...
index.html
View file @
b88462f0
...
...
@@ -11,6 +11,7 @@
}
</style>
</head>
<script
src=
"/apaas/ui/static/config/configmap.js"
></script>
<body>
<div
id=
"app"
></div>
</body>
...
...
src/components/menu.vue
View file @
b88462f0
...
...
@@ -102,6 +102,7 @@
</
template
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
data
()
{
return
{
...
...
@@ -146,7 +147,7 @@ export default {
},
gotopage
(
n
)
{
if
(
n
==
"
logout
"
)
{
window
.
location
.
href
=
"
https://apaasgis.wodcloud.com
/portal/sharing/rest/oauth2/signout?client_id=arcgisonline&redirect_uri=https://apaas3.wodcloud.com/iam/api/logout
"
;
window
.
location
.
href
=
gisServiceUrl
+
"
/portal/sharing/rest/oauth2/signout?client_id=arcgisonline&redirect_uri=https://apaas3.wodcloud.com/iam/api/logout
"
;
}
else
if
(
n
==
"
login
"
)
{
let
path
=
this
.
$route
.
path
;
window
.
location
.
href
=
"
/iam/login/#/login?ReturnUrl=
"
+
path
;
...
...
src/components/service-header.vue
View file @
b88462f0
...
...
@@ -2,8 +2,7 @@
<div
class=
"info_logo"
>
<div
class=
"logo"
>
<img
:src=
"data.url"
alt=
""
/>
<!-- TODO: 时空服务预览 -->
<map-view
v-if=
"data.isMap"
:id=
"data.id"
></map-view>
<map-view
v-if=
"data.isMap"
:id=
"data.portal_id"
></map-view>
</div>
<div
class=
"info"
>
<p
class=
"info_title"
>
...
...
src/components/service-info/map-view.vue
View file @
b88462f0
...
...
@@ -21,6 +21,7 @@
</
template
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
name
:
"
map-view
"
,
data
:
()
=>
({
...
...
@@ -35,7 +36,7 @@ export default {
},
methods
:
{
viewAction
()
{
this
.
src
=
`https://apaasgis.wodcloud.com/portal/apaasplat/viewer/previewMap.html?id=`
;
// ${this.id}
this
.
src
=
gisServiceUrl
+
`/portal/apaasplat/viewer/previewMap.html?id=
${
this
.
id
}
`
;
this
.
showDialog
=
true
;
},
beforeClose
(
done
)
{
...
...
src/components/service-info/service-info.vue
View file @
b88462f0
...
...
@@ -19,10 +19,9 @@
<div
class=
"main_container"
>
<div
class=
"main_container-left"
v-if=
"data.cover"
>
<img
:src=
"data.cover"
width=
"100%"
/>
<!-- TODO: 时空服务预览 -->
<map-view
v-if=
"data.type === 'Map Service'"
:id=
"data.
service
_id"
:id=
"data.
portal
_id"
></map-view>
</div>
<div
class=
"main_container-right"
>
...
...
src/pages/service_shop/skfwDetail.vue
View file @
b88462f0
...
...
@@ -74,6 +74,7 @@ export default {
[];
this
.
baseInfo
=
{
portal_id
:
datas
.
portal_id
||
""
,
// 时空服务id
service_id
:
this
.
id
,
app_id
:
0
,
name
:
datas
.
name
,
...
...
src/pages/workbench/app_build.vue
→
src/pages/workbench/
component-center/app-build/
app_build.vue
View file @
b88462f0
File moved
src/pages/workbench/intelligent_appbuilder.vue
→
src/pages/workbench/
component-center/intelligent-drawing/
intelligent_appbuilder.vue
View file @
b88462f0
...
...
@@ -15,10 +15,11 @@
</
template
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
data
()
{
return
{
originUrl
:
'
https://apaasgis.wodcloud.com
/portal/apps/webappbuilder/index.html
'
originUrl
:
gisServiceUrl
+
'
/portal/apps/webappbuilder/index.html
'
};
},
computed
:{
...
...
src/pages/workbench/intelligent_details.vue
→
src/pages/workbench/
component-center/intelligent-drawing/
intelligent_details.vue
View file @
b88462f0
...
...
@@ -15,10 +15,11 @@
</
template
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
data
()
{
return
{
originUrl
:
'
https://apaasgis.wodcloud.com
/portal/apaasplat/viewer/item.html
'
,
originUrl
:
gisServiceUrl
+
'
/portal/apaasplat/viewer/item.html
'
,
};
},
computed
:{
...
...
src/pages/workbench/intelligent_drawing.vue
→
src/pages/workbench/
component-center/intelligent-drawing/
intelligent_drawing.vue
View file @
b88462f0
...
...
@@ -15,10 +15,11 @@
<
script
>
import
{
mapState
}
from
"
vuex
"
;
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
data
()
{
return
{
url
:
'
https://apaasgis.wodcloud.com
/portal/apaasplat/viewer/mapViewer.html
'
,
url
:
gisServiceUrl
+
'
/portal/apaasplat/viewer/mapViewer.html
'
,
queryType
:
''
,
id
:
''
,
};
...
...
src/pages/workbench/component-center/process-designer/process-designer-detail.vue
0 → 100644
View file @
b88462f0
<
template
>
<div>
detail
</div>
</
template
>
src/pages/workbench/component-center/process-designer/process-designer-list.vue
0 → 100644
View file @
b88462f0
<
template
>
<div>
list
</div>
</
template
>
src/pages/workbench/fwgl/apply_service_detail.vue
View file @
b88462f0
...
...
@@ -342,7 +342,7 @@ export default {
return
}
let
data
=
response
.
data
.
data
;
this
.
$set
(
this
.
service_header_arr
,
"
id
"
,
data
.
id
);
// TODO: 时空服务预览
this
.
$set
(
this
.
service_header_arr
,
"
portal_id
"
,
data
.
portal_id
);
// 时空服务id
this
.
$set
(
this
.
service_header_arr
,
"
isMap
"
,
data
.
data_service_type1
===
6
);
this
.
$set
(
this
.
service_header_arr
,
"
name
"
,
data
.
name
);
this
.
$set
(
this
.
service_header_arr
[
'
first
'
][
0
],
'
text
'
,
data
.
data_service_type1_name
);
...
...
src/pages/workbench/fwgl/approval_service_detail.vue
View file @
b88462f0
...
...
@@ -342,7 +342,7 @@ export default {
return
}
let
data
=
response
.
data
.
data
;
this
.
$set
(
this
.
service_header_arr
,
"
id
"
,
data
.
id
);
// TODO: 时空服务预览
this
.
$set
(
this
.
service_header_arr
,
"
portal_id
"
,
data
.
portal_id
);
// 时空服务id
this
.
$set
(
this
.
service_header_arr
,
"
isMap
"
,
data
.
data_service_type1
===
6
);
this
.
$set
(
this
.
service_header_arr
,
"
name
"
,
data
.
name
);
this
.
$set
(
this
.
service_header_arr
[
'
first
'
][
0
],
'
text
'
,
data
.
data_service_type1_name
);
...
...
src/pages/workbench/fwgl/serviceDetail.vue
View file @
b88462f0
...
...
@@ -516,7 +516,7 @@ export default {
.
then
(
response
=>
{
if
(
response
.
data
.
success
===
1
)
{
let
data
=
response
.
data
.
data
;
this
.
$set
(
this
.
service_header_arr
,
"
id
"
,
data
.
id
);
// TODO: 时空服务预览
this
.
$set
(
this
.
service_header_arr
,
"
portal_id
"
,
data
.
portal_id
);
// 时空服务id
this
.
$set
(
this
.
service_header_arr
,
"
isMap
"
,
data
.
data_service_type1
===
6
);
this
.
$set
(
this
.
service_header_arr
,
"
name
"
,
data
.
name
);
this
.
$set
(
...
...
src/pages/workbench/fwzc_fwcs.vue
View file @
b88462f0
...
...
@@ -357,7 +357,7 @@
<div
style=
"display: none"
>
<iframe
id=
"listener"
src=
"https://apaasgis.wodcloud.com/portal/apaasplat/viewer/addPortalItem.htm
l"
:src=
"addPortalItemUr
l"
></iframe>
</div>
<apass-dialog
...
...
@@ -371,6 +371,7 @@
</
template
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
import
BlockRadius
from
"
@/components/general/block-radius
"
;
import
CesTable
from
"
@/components/table/table-um
"
;
import
Codes
from
"
@/components/general/codes
"
;
...
...
@@ -387,6 +388,7 @@ export default {
},
data
()
{
return
{
addPortalItemUrl
:
gisServiceUrl
+
'
/portal/apaasplat/viewer/addPortalItem.html
'
,
btnList
:
[],
activeBtn
:
null
,
serviceUrl
:
""
,
...
...
@@ -1040,7 +1042,7 @@ export default {
listeners
(
event
)
{
console
.
log
(
event
);
let
self
=
this
;
if
(
event
&&
event
.
origin
==
"
https://apaasgis.wodcloud.com
"
&&
event
.
data
)
{
if
(
event
&&
event
.
origin
==
gisServiceUrl
&&
event
.
data
)
{
if
(
event
.
data
.
cmd
==
"
getPortalItemInfo
"
)
{
console
.
log
(
event
.
data
.
params
);
let
data
=
event
.
data
.
params
;
...
...
src/router/index.js
View file @
b88462f0
...
...
@@ -235,23 +235,33 @@ export default new Router({
{
path
:
"
/app_build
"
,
name
:
"
app_build
"
,
component
:
()
=>
import
(
"
@/pages/workbench/app_build
"
),
component
:
()
=>
import
(
"
@/pages/workbench/
component-center/app-build/
app_build
"
),
},
// 应用构建(镜像形式)
{
path
:
"
/intelligent_drawing
"
,
name
:
"
intelligent_drawing
"
,
component
:
()
=>
import
(
"
@/pages/workbench/intelligent_drawing
"
),
component
:
()
=>
import
(
"
@/pages/workbench/
component-center/intelligent-drawing/
intelligent_drawing
"
),
},
// 智能制图
{
path
:
"
/intelligent_details
"
,
name
:
"
intelligent_details
"
,
component
:
()
=>
import
(
"
@/pages/workbench/intelligent_details
"
),
component
:
()
=>
import
(
"
@/pages/workbench/
component-center/intelligent-drawing/
intelligent_details
"
),
},
// 智能制图--详情页面
{
path
:
"
/intelligent_appbuilder
"
,
name
:
"
intelligent_appbuilder
"
,
component
:
()
=>
import
(
"
@/pages/workbench/intelligent_appbuilder
"
),
component
:
()
=>
import
(
"
@/pages/workbench/
component-center/intelligent-drawing/
intelligent_appbuilder
"
),
},
// 智能制图--应用程序页面
{
path
:
"
/process_designer
"
,
name
:
"
process_designer
"
,
component
:
()
=>
import
(
"
@/pages/workbench/component-center/process-designer/process-designer-list
"
),
},
// 流程设计--列表
{
path
:
"
/process_designer_detail
"
,
name
:
"
process_designer_detail
"
,
component
:
()
=>
import
(
"
@/pages/workbench/component-center/process-designer/process-designer-detail
"
),
},
// 流程设计--详情
{
path
:
"
/search_engine
"
,
name
:
"
search_act
"
,
...
...
static/config/configmap.js
0 → 100644
View file @
b88462f0
window
.
serviceConfig
=
{
gisServiceRoot
:
'
https://apaasgis.wodcloud.com
'
};
\ No newline at end of file
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