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
3a60e9d7
Commit
3a60e9d7
authored
Jul 21, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能制图
parent
6aa6cf42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
124 deletions
+26
-124
src/pages/message-management/banner/banner-list.vue
src/pages/message-management/banner/banner-list.vue
+20
-120
src/pages/workbench/intelligent_drawing.vue
src/pages/workbench/intelligent_drawing.vue
+4
-2
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+2
-2
No files found.
src/pages/message-management/banner/banner-list.vue
View file @
3a60e9d7
...
...
@@ -122,26 +122,26 @@ export default {
type
:
"
image-tooltip
"
,
getImage
(
item
)
{
return
[
require
(
"
@/assets/imgs/ic_guoqi.png
"
),
require
(
"
@/assets/imgs/ic_failed.png
"
),
require
(
"
@/assets/imgs/ic_true.png
"
),
][
item
.
state
+
1
];
require
(
"
@/assets/imgs/ic_failed.png
"
),
require
(
"
@/assets/imgs/ic_guoqi.png
"
),
][
item
.
state
-
1
];
},
getTooltip
(
item
)
{
return
[
"
已
过期
"
,
"
已下架
"
,
"
已上架
"
][
item
.
state
+
1
];
return
[
"
已
上架
"
,
"
已下架
"
,
"
已过期
"
][
item
.
state
-
1
];
},
align
:
"
center
"
,
width
:
60
,
},
{
label
:
"
排序
"
,
prop
:
"
index
"
,
prop
:
"
ordid
"
,
width
:
60
,
align
:
"
center
"
,
},
{
label
:
"
banner编码
"
,
prop
:
"
code
"
,
prop
:
"
serial_num
"
,
width
:
180
,
},
{
...
...
@@ -157,9 +157,9 @@ export default {
},
{
label
:
"
图片大小
"
,
prop
:
"
size
"
,
prop
:
"
image_
size
"
,
getText
(
item
)
{
let
value
=
item
.
size
||
0
;
let
value
=
item
.
image_
size
||
0
;
return
(
value
/
1024
).
toFixed
(
2
)
+
"
KB
"
;
},
width
:
100
,
...
...
@@ -222,123 +222,23 @@ export default {
console
.
log
(
fullFilter
);
this
.
listTotal
=
55
;
this
.
listData
=
[
{
state
:
1
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
-
1
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
0
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
0
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
-
1
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
1
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
-
1
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
0
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
0
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
{
state
:
-
1
,
index
:
"
01
"
,
code
:
"
BN202004542001
"
,
name
:
"
多元数据可视化分析宣传图片
"
,
url
:
"
https://apaasgis.wodcloud.com/portal
"
,
size
:
131072
,
up_time
:
"
2020-07-18T14:25:09+08:00
"
,
down_time
:
"
2020-07-18T14:25:09+08:00
"
,
},
];
/* this.$http
.get("/apaas/service/v3/resource/apply/approveList", {
this
.
$http
.
get
(
"
/apaas/service/v3/recommend/manage/banners/list
"
,
{
params
:
{
search
: filter.keyword,
name
:
filter
.
keyword
,
page
:
filter
.
page
,
limit
: filter.size,
size
:
filter
.
size
,
state
:
filter
.
state
,
up_time_s
:
fullFilter
.
up_time
?
fullFilter
.
up_time
[
0
]:
''
,
up_time_e
:
fullFilter
.
up_time
?
fullFilter
.
up_time
[
1
]:
''
,
down_time_s
:
fullFilter
.
down_time
?
fullFilter
.
down_time
[
0
]:
''
,
down_time_e
:
fullFilter
.
down_time
?
fullFilter
.
down_time
[
1
]:
''
},
})
.
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
this.listTotal = data.total;
this.listData = data.data;
this
.
listTotal
=
data
.
data
.
total
;
this
.
listData
=
data
.
data
.
data
;
}
else
{
this
.
$message
({
message
:
data
.
errMsg
||
"
获取列表失败
"
,
...
...
@@ -348,8 +248,8 @@ export default {
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
});
*/
},
// TODO: 列表待调试
});
},
topFilterAction
()
{
this
.
initList
(
this
.
tempFilter
);
},
...
...
src/pages/workbench/intelligent_drawing.vue
View file @
3a60e9d7
...
...
@@ -7,7 +7,9 @@
</el-breadcrumb>
</div>
<div
class=
"main-container"
></div>
<div
class=
"main-container"
>
<iframe
width=
"100%"
height=
"100%"
scrolling=
"no"
src=
"https://apaasgis.wodcloud.com/portal/apaasplat/viewer/mapViewer.html"
frameborder=
"0"
></iframe>
</div>
</div>
</
template
>
...
...
@@ -26,7 +28,7 @@ export default {
margin
:
-157px
40px
20px
;
}
.main-container
{
min-
height
:
calc
(
100vh
-
150px
-
43px
);
height
:
calc
(
100vh
-
150px
-
43px
);
border-radius
:
12px
;
background-color
:
#fff
;
padding
:
30px
;
...
...
src/pages/workbench/workPlace.vue
View file @
3a60e9d7
...
...
@@ -965,8 +965,8 @@ export default {
pic
:
require
(
"
@/assets/imgs/home_tool_ic_znht.png
"
),
bg
:
"
#e5f4fe
"
,
color
:
"
#38aef9
"
,
url
:
"
https://apaasgis.wodcloud.com/portal/nologoplat/viewer/mapViewer.html
"
,
target
:
1
url
:
"
/intelligent_drawing
"
,
target
:
0
},
{
text
:
"
数据开发
"
,
...
...
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