Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
fanxing_new
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 396f8de8
authored
Jan 18, 2021
by
潘建波
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
临时提交文件
1 parent
bacfed30
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
59 additions
and
39 deletions
dist.zip
public/js/version.json
src/api/apiList.js
src/assets/resetElementCss/index.scss
src/assets/scss/them.scss
src/views/Layout/index.vue
src/views/Login.vue
src/views/sceneManage/index.vue
src/views/sceneManage/setting/demarcate.vue
src/views/sceneManage/setting/index.vue
src/views/taskManage/editSet.vue
dist.zip
View file @
396f8de
No preview for this file type
public/js/version.json
View file @
396f8de
{
"commit"
:
"09e2faff9150d34bdd047ee5b5ed31865ef4aa7f"
,
"commitDate"
:
"2020-12-23 18:27"
,
"buildDate"
:
"2020-12-24 10:33"
,
"version"
:
"2.0.9"
,
"info"
:
"增加列表展示图片"
}
\ No newline at end of file
{
"commit"
:
"bacfed303de17d1adb667265fe3aa2967acf6950"
,
"commitDate"
:
"2020-12-24 10:40"
,
"buildDate"
:
"2020-12-29 15:46"
,
"version"
:
"2.0.9"
,
"info"
:
"提交合并后版本"
}
\ No newline at end of file
src/api/apiList.js
View file @
396f8de
...
...
@@ -12,7 +12,7 @@ import baseurl from './baseUrl'
let
wsIP
=
""
;
switch
(
process
.
env
.
NODE_ENV
)
{
case
"development"
:
wsIP
=
config
.
https
?
"192.168.9.2
33:20070"
:
"192.168.9.233
:20080"
;
// 测试环境url
wsIP
=
config
.
https
?
"192.168.9.2
27:20070"
:
"192.168.9.227
:20080"
;
// 测试环境url
// baseUrl = "http://192.168.9.61:8086";
break
;
case
"pre"
:
...
...
src/assets/resetElementCss/index.scss
View file @
396f8de
...
...
@@ -142,6 +142,9 @@
.el-table
{
@include
font-colr
(
tablecolor
)
}
.el-table
thead
{
@include
font-colr
(
tablecolor
)
}
.el-table__body
tr
{
@include
background_color
(
table_tr_bg
)
}
...
...
@@ -229,7 +232,7 @@ display: table-cell!important;
color
:
#FFFFFF
;
}
.el-dialog__footer
{
background
:
#F6F6F6
;
@include
background_color
(
dialog_footer_bg
)
;
}
.dialog-footer
.el-button--small
{
padding
:
9px
17px
;
...
...
src/assets/scss/them.scss
View file @
396f8de
...
...
@@ -25,6 +25,7 @@ $themes: (
input_color
:
#606266
,
label_color
:
#606266
,
tablecolor
:
#606266
,
options_color
:
#555
,
//
背景
background_color
:
#fff
,
header_background_color
:
#0069FF
,
...
...
@@ -41,6 +42,7 @@ $themes: (
dialog_header_bg
:
#3BB7FF
,
pages_bg
:
#fff
,
active_pages_bg
:
#0069ff
,
dialog_footer_bg
:
#F6F6F6
,
//
选中导航背景颜色
active_nave_bg
:
rgba
(
0
,
105
,
255
,.
1
)
,
table_tr_bg
:
#f4f4f4
,
...
...
@@ -74,16 +76,17 @@ $themes: (
input_color
:
#fff
,
label_color
:
#9b9b9b
,
tablecolor
:
#fff
,
options_color
:
#939FCC
,
//
背景
setheader_bg
:
#0B1745
,
background_color
:
#1b2531
,
//
头部背景
header_background_color
:
#
1040a6
,
nav_bg
:
#0
D2052
,
menu_bg
:
#0
8173E
,
header_background_color
:
#
0D2052
,
nav_bg
:
#0
8173E
,
menu_bg
:
#0
B1643
,
mian_bg
:
#0B122B
,
editbtncolor
:
#0069ff
,
treeboxbg
:
#1
8
2760
,
treeboxbg
:
#1
7
2760
,
table_th_bg
:
#0B1745
,
taskshipintitlebg
:
#0D1744
,
picbox_bg
:
#0B1745
,
...
...
@@ -92,16 +95,17 @@ $themes: (
pages_bg
:
#0e2869
,
table_bg
:
#666
,
active_pages_bg
:
#095dd0
,
dialog_footer_bg
:
#1B3285
,
//
选中导航背景颜色
active_nave_bg
:
rgba
(
11
,
43
,
106
,
.6
)
,
table_tr_bg
:
#1
8
2760
,
table_tr_bg
:
#1
7
2760
,
dialog_header_bg
:
#0B1745
,
dialog_body_bg
:
#1
8
2760
,
dialog_body_bg
:
#1
7
2760
,
input_bg
:
#0D2152
,
table_hover_bg
:
rgba
(
0
,
0
,
0
,.
4
)
,
//
边框
border_color1
:
#3d414a
,
table_border
:
rgba
(
0
,
0
,
0
,.
6
)
,
table_border
:
#1E2D66
,
input_border
:
#24326B
,
pages_border
:
#095dd0
,
)
...
...
src/views/Layout/index.vue
View file @
396f8de
...
...
@@ -3,7 +3,7 @@
<el-container
class=
"home-box"
>
<el-header
class=
"headers"
>
<!--
<img
class=
"logoImg"
src=
"../../assets/img/home/logo.png"
alt=
""
/>
-->
<span
class=
"logotitle"
>
AI
智能运算能力
平台
</span>
<span
class=
"logotitle"
>
AI
视频分析
平台
</span>
<span
:class=
"
{
'el-icon-s-fold': isopen,
...
...
src/views/Login.vue
View file @
396f8de
...
...
@@ -20,7 +20,7 @@
>
</vue-particles>
-->
<div
class=
"box"
>
<h1>
AI
智能运算能力
平台
</h1>
<h1>
AI
视频分析
平台
</h1>
<div
style=
"width: 60%;margin: 0 auto;"
>
<el-form
:model=
"ruleForm"
...
...
src/views/sceneManage/index.vue
View file @
396f8de
...
...
@@ -145,8 +145,7 @@ export default {
return
;
}
this
.
pushSteam
(
vdata
);
debugger
this
.
$refs
.
event
.
dataInit
(
this
.
currentSubtaskId
,
vdata
.
task_type
);
this
.
$refs
.
event
.
dataInit
(
this
.
currentSubtaskId
,
vdata
.
task_type
);
},
getTask
(
data
)
{
let
that
=
this
;
...
...
@@ -217,6 +216,9 @@ export default {
},
created
()
{
this
.
getTask
();
},
mounted
()
{
}
};
</
script
>
...
...
src/views/sceneManage/setting/demarcate.vue
View file @
396f8de
...
...
@@ -46,7 +46,7 @@
</el-row>
<el-row
class=
"bdbody-box"
>
<div
class=
"bdbody-left"
>
<div
class=
"pic2"
><img
:src=
"src"
/></div>
<div
class=
"pic2"
id=
"demarcatpic"
><img
:src=
"src"
/></div>
<div
id=
"CaliContainer"
></div>
</div>
<div
class=
"bdbody-right"
>
...
...
@@ -93,6 +93,18 @@
</div>
</el-row>
</span>
<div
class=
"ullodaimg"
>
<el-upload
class=
"upload-demo"
action=
""
:auto-upload=
"false"
:show-file-list=
"false"
:on-change=
"handleChange"
:file-list=
"fileList"
>
<el-button
type=
"primary"
>
上传
<i
class=
"el-icon-upload el-icon--right"
></i></el-button>
<span
slot=
"tip"
class=
"el-upload__tip upinfo"
>
手动上传场景图片
</span>
</el-upload>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"save"
>
确 定
</el-button>
...
...
@@ -119,6 +131,7 @@ export default {
canvasState
:
0
,
showClose
:
false
,
needLine
:
false
,
fileList
:[],
stage
:
{},
traffic
:
{
cameraH
:
"6.5"
,
...
...
@@ -823,6 +836,21 @@ export default {
this
.
dialogVisible
=
false
;
this
.
handleClose
();
},
handleChange
(
file
,
fileLis
){
this
.
src
=
URL
.
createObjectURL
(
file
.
raw
);
setTimeout
(()
=>
{
let
img
=
document
.
getElementById
(
"demarcatpic"
).
childNodes
[
0
];
let
canvas
=
document
.
createElement
(
"canvas"
);
canvas
.
width
=
800
;
canvas
.
height
=
500
;
try
{
canvas
.
getContext
(
"2d"
).
drawImage
(
img
,
0
,
0
,
800
,
500
);
_this
.
src
=
canvas
.
toDataURL
(
"image/webp"
);
}
catch
(
error
)
{
console
.
log
(
error
);
}
},
500
);
},
clear
:
function
()
{
(
this
.
traffic
=
{
cameraH
:
"6.5"
,
...
...
@@ -907,4 +935,7 @@ export default {
.edit-box
{
margin-top
200px
}
.ullodaimg
{
margin-top
5px
}
</
style
>
src/views/sceneManage/setting/index.vue
View file @
396f8de
...
...
@@ -514,6 +514,7 @@ export default {
min-height
:
30px
;
padding
:
0
10px
;
color
:
#555555
;
@include
font-colr(options_color);
margin-top
:
1vh
;
cursor
:
pointer
;
...
...
src/views/taskManage/editSet.vue
View file @
396f8de
...
...
@@ -3,13 +3,13 @@
<el-dialog
:title=
"headertitle"
:visible
.
sync=
"setvisible"
width=
"
45
0px"
width=
"
50
0px"
:before-close=
"handleClose"
>
<div>
<el-form
label-position=
"left"
label-width=
"
8
0px"
label-width=
"
12
0px"
:model=
"formData"
:rules=
"rules"
ref=
"taskForm"
...
...
@@ -29,7 +29,6 @@
</el-form-item>
<el-form-item
label=
"算法类型"
hidden
prop=
"task_algo_type"
class=
"form-item"
>
...
...
@@ -47,21 +46,6 @@
<el-option
value=
"5"
label=
"交通行人"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"服务类型"
prop=
"task_algo_type"
class=
"form-item"
>
<el-select
v-model=
"formData.tem"
placeholder=
"请选择"
:popper-append-to-body=
"false"
:disabled=
"pedittype == 'edit'"
>
<el-option
v-for=
"(item, index) in serveTableData"
:key=
"index"
:value=
"item.servename"
:label=
"item.servename"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"场景占用"
class=
"form-item"
prop=
"resource_use"
>
<el-select
v-model=
"formData.resource_use"
...
...
@@ -169,7 +153,6 @@ export default {
};
return
{
setvisible
:
false
,
serveTableData
:[],
timer
:
[
"00:00:00"
,
"23:59:59"
],
backpdata
:
""
,
headertitle
:
"添加任务"
,
...
...
@@ -403,14 +386,10 @@ export default {
this
.
store_confs
=
res
.
list_data
;
});
},
getServeData
(){
var
tData
=
localStorage
.
getItem
(
"serveData"
)?
localStorage
.
getItem
(
"serveData"
):
"[]"
;
this
.
serveTableData
=
JSON
.
parse
(
tData
)
},
},
created
()
{
this
.
getStore
();
this
.
getServeData
();
}
};
</
script
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment