Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_control
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
kd_control
Commits
6475a1f2
Commit
6475a1f2
authored
Mar 28, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复后台页面bug
parent
9cdbf5c4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
20 deletions
+30
-20
index.vue
src/views/MLargeScreen/index.vue
+1
-1
index.vue
src/views/driverManagement/index.vue
+18
-9
index.vue
src/views/safetyManagement/checkLog/index.vue
+1
-1
index.vue
src/views/system/menu/index.vue
+4
-1
index.vue
src/views/system/shift/index.vue
+6
-8
No files found.
src/views/MLargeScreen/index.vue
View file @
6475a1f2
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</div>
</div>
<!-- 嵌入三维地图页面 -->
<!-- 嵌入三维地图页面 -->
<!--
<iframe
:src=
"url"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
-->
<!--
<iframe
:src=
"url"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
-->
<!--
<iframe
src=
"http://192.168.3.38:3002/#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
--
>
<iframe
src=
"http://192.168.3.60:18041//#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe
>
<!-- 单个车辆视频监控 -->
<!-- 单个车辆视频监控 -->
<div
class=
"monitorCover1"
v-if=
"monitorCover1Show"
>
<div
class=
"monitorCover1"
v-if=
"monitorCover1Show"
>
<div
class=
"monitorCover1_closePic"
@
click=
"closeMonitorCoverFn"
></div>
<div
class=
"monitorCover1_closePic"
@
click=
"closeMonitorCoverFn"
></div>
...
...
src/views/driverManagement/index.vue
View file @
6475a1f2
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"panel-bottom page-row"
>
<div
class=
"panel-bottom page-row"
>
<h3>
司机
人员管理
</h3>
<h3>
人员管理
</h3>
<div
class=
"ctin-box"
>
<div
class=
"ctin-box"
>
<div
class=
"content-within"
>
<div
class=
"content-within"
>
<div
class=
"content-fix"
>
<div
class=
"content-fix"
>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</div>
</div>
<!-- 表单渲染 -->
<!-- 表单渲染 -->
<el-dialog
append-to-body
:close-on-click-modal=
"
tru
e"
:before-close=
"cancelForm"
:visible.sync=
"form.visible"
:title=
"form.title"
width=
"700px"
>
<el-dialog
append-to-body
:close-on-click-modal=
"
fals
e"
:before-close=
"cancelForm"
:visible.sync=
"form.visible"
:title=
"form.title"
width=
"700px"
>
<el-form
:model=
"form.item"
:rules=
"rules"
ref=
"form1"
:inline=
"true"
size=
"small"
label-width=
"150px"
>
<el-form
:model=
"form.item"
:rules=
"rules"
ref=
"form1"
:inline=
"true"
size=
"small"
label-width=
"150px"
>
<el-form-item
label=
"名称"
prop=
"name"
>
<el-form-item
label=
"名称"
prop=
"name"
>
<el-input
v-model=
"form.item.name"
style=
"width:280px;"
placeholder=
"请输入名称"
/>
<el-input
v-model=
"form.item.name"
style=
"width:280px;"
placeholder=
"请输入名称"
/>
...
@@ -137,7 +137,7 @@ export default {
...
@@ -137,7 +137,7 @@ export default {
//角色单独属性
//角色单独属性
rolesLonely
:
""
,
rolesLonely
:
""
,
form
:
{
form
:
{
title
:
'
新增
司机
人员
'
,
title
:
'
新增人员
'
,
visible
:
false
,
visible
:
false
,
reqType
:
'
add
'
,
reqType
:
'
add
'
,
status
:{
cu
:
0
},
status
:{
cu
:
0
},
...
@@ -192,6 +192,15 @@ export default {
...
@@ -192,6 +192,15 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
normalizer
(
node
)
{
if
(
node
){
node
.
id
=
node
.
name
?
node
.
name
:
null
;
node
.
label
=
node
.
name
?
node
.
name
:
null
;
if
(
node
.
children
==
null
||
node
.
children
==
'
null
'
||
node
.
children
.
length
==
0
)
{
delete
node
.
children
}
}
},
selectDepart
(
val
){
selectDepart
(
val
){
console
.
log
(
'
selectDepart
'
,
val
);
console
.
log
(
'
selectDepart
'
,
val
);
this
.
lastDeptData
=
val
;
this
.
lastDeptData
=
val
;
...
@@ -296,7 +305,7 @@ export default {
...
@@ -296,7 +305,7 @@ export default {
toAdd
()
{
toAdd
()
{
// 请除表单验证
// 请除表单验证
this
.
$refs
[
'
form1
'
]
&&
this
.
$refs
[
'
form1
'
].
clearValidate
();
this
.
$refs
[
'
form1
'
]
&&
this
.
$refs
[
'
form1
'
].
clearValidate
();
this
.
form
.
title
=
'
新增
司机
人员
'
;
this
.
form
.
title
=
'
新增人员
'
;
this
.
form
.
status
.
cu
=
0
;
this
.
form
.
status
.
cu
=
0
;
this
.
form
.
visible
=
true
;
this
.
form
.
visible
=
true
;
this
.
form
.
reqType
=
'
add
'
;
this
.
form
.
reqType
=
'
add
'
;
...
@@ -305,7 +314,7 @@ export default {
...
@@ -305,7 +314,7 @@ export default {
toEdit
(
item
)
{
toEdit
(
item
)
{
// 请除表单验证
// 请除表单验证
this
.
$refs
[
'
form1
'
]
&&
this
.
$refs
[
'
form1
'
].
clearValidate
();
this
.
$refs
[
'
form1
'
]
&&
this
.
$refs
[
'
form1
'
].
clearValidate
();
this
.
form
.
title
=
'
修改
司机
人员
'
;
this
.
form
.
title
=
'
修改人员
'
;
this
.
form
.
status
.
cu
=
0
;
this
.
form
.
status
.
cu
=
0
;
this
.
form
.
visible
=
true
;
this
.
form
.
visible
=
true
;
this
.
form
.
item
=
{...
item
};
this
.
form
.
item
=
{...
item
};
...
...
src/views/safetyManagement/checkLog/index.vue
View file @
6475a1f2
...
@@ -158,7 +158,7 @@ export default {
...
@@ -158,7 +158,7 @@ export default {
},
},
toDelete
(
item
)
{
toDelete
(
item
)
{
var
id
=
item
.
id
;
var
id
=
item
.
id
;
this
.
$confirm
(
item
.
carclass
==
'
铲车
'
?
'
该车为铲车,如要删除,请在删除以后为采点管理中对应的采点分配新的铲车!
'
:
'
确认删除该条数据吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确认删除该条数据吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
'
取消
'
,
type
:
item
.
carclass
==
'
铲车
'
?
'
error
'
:
'
warning
'
type
:
item
.
carclass
==
'
铲车
'
?
'
error
'
:
'
warning
'
...
...
src/views/system/menu/index.vue
View file @
6475a1f2
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<date-range-picker
v-model=
"query.createTime"
class=
"date-item"
/>
<date-range-picker
v-model=
"query.createTime"
class=
"date-item"
/>
<rrOperation
/>
<rrOperation
/>
</div>
</div>
<crudOperation
:permission=
"permission"
/>
<crudOperation
:permission=
"permission"
/>
</div>
</div>
<!--表单渲染-->
<!--表单渲染-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible.sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"580px"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible.sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"580px"
>
...
@@ -186,6 +186,9 @@ export default {
...
@@ -186,6 +186,9 @@ export default {
}
}
}
}
},
},
created
(){
this
.
crud
.
optShow
.
download
=
false
},
methods
:
{
methods
:
{
// 新增与编辑前做的操作
// 新增与编辑前做的操作
[
CRUD
.
HOOK
.
afterToCU
](
crud
,
form
)
{
[
CRUD
.
HOOK
.
afterToCU
](
crud
,
form
)
{
...
...
src/views/system/shift/index.vue
View file @
6475a1f2
...
@@ -158,8 +158,6 @@ export default {
...
@@ -158,8 +158,6 @@ export default {
this
.
form
.
status
.
cu
=
0
;
this
.
form
.
status
.
cu
=
0
;
this
.
form
.
visible
=
true
;
this
.
form
.
visible
=
true
;
this
.
form
.
item
=
{...
item
};
this
.
form
.
item
=
{...
item
};
this
.
form
.
item
.
startTime
=
''
;
this
.
form
.
item
.
endTime
=
''
;
this
.
form
.
reqType
=
'
edit
'
;
this
.
form
.
reqType
=
'
edit
'
;
this
.
ShiftId
=
this
.
form
.
item
.
id
;
this
.
ShiftId
=
this
.
form
.
item
.
id
;
},
},
...
...
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