Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
This project
Loading...
Sign in
Toggle navigation
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 c51d933d
authored
Sep 15, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
c261bf95
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
src/views/poi/index.vue
src/views/reportManage/informationDialog.vue
src/views/vehicleManage/vehicleList.vue
src/views/poi/index.vue
View file @
c51d933
...
@@ -155,6 +155,7 @@
...
@@ -155,6 +155,7 @@
class=
"el_link"
class=
"el_link"
:underline=
"false"
:underline=
"false"
@
click=
"addFence(row)"
@
click=
"addFence(row)"
v-if=
"row.enableStatus == 1"
>
编辑
</el-link
>
编辑
</el-link
>
>
<el-link
<el-link
...
@@ -205,7 +206,7 @@ export default {
...
@@ -205,7 +206,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
searchForm
:
{},
searchForm
:
{
poiType
:
''
},
tableData
:
[],
tableData
:
[],
pageTotal
:
0
,
pageTotal
:
0
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -329,7 +330,7 @@ export default {
...
@@ -329,7 +330,7 @@ export default {
removeFence
(
row
)
{
removeFence
(
row
)
{
let
_this
=
this
;
let
_this
=
this
;
showModal
({
showModal
({
message
:
`确认删除
${
row
.
poiName
}
的
${
row
.
poiTypeStr
}
POI信息吗?`
,
message
:
`确认删除
【
${
row
.
poiName
}
】的【
${
row
.
poiTypeStr
}
】
POI信息吗?`
,
showCancelButton
:
true
,
showCancelButton
:
true
,
type
:
"warning"
,
type
:
"warning"
,
success
:
function
()
{
success
:
function
()
{
...
...
src/views/reportManage/informationDialog.vue
View file @
c51d933
...
@@ -167,6 +167,7 @@ export default {
...
@@ -167,6 +167,7 @@ export default {
},
},
// 监听文件上传成功
// 监听文件上传成功
onSuccess
(
response
,
file
,
fileList
)
{
onSuccess
(
response
,
file
,
fileList
)
{
let
_this
=
this
;
this
.
aloading
=
false
;
this
.
aloading
=
false
;
if
(
response
.
code
!=
200
)
{
if
(
response
.
code
!=
200
)
{
showToast
({
showToast
({
...
@@ -181,6 +182,9 @@ export default {
...
@@ -181,6 +182,9 @@ export default {
this
.
showResult
=
true
;
this
.
showResult
=
true
;
// this.getList(); 刷新表格
// this.getList(); 刷新表格
this
.
$emit
(
"successData"
,
true
);
this
.
$emit
(
"successData"
,
true
);
setTimeout
(
function
(){
_this
.
closeDialog
();
},
1500
)
},
},
// 确认上传文件
// 确认上传文件
saveFile
()
{
saveFile
()
{
...
...
src/views/vehicleManage/vehicleList.vue
View file @
c51d933
...
@@ -433,6 +433,8 @@
...
@@ -433,6 +433,8 @@
<el-input
<el-input
v-model=
"item.sn"
v-model=
"item.sn"
:disabled=
"item.disabled"
:disabled=
"item.disabled"
onkeyup=
"value = value.replace(/[^a-zA-Z0-9]/g,'')"
maxlength=
"20"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备型号:"
class=
"is-required"
>
<el-form-item
label=
"设备型号:"
class=
"is-required"
>
...
@@ -441,10 +443,14 @@
...
@@ -441,10 +443,14 @@
disabled
disabled
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<div
<div
class=
"icon_box"
class=
"icon_box"
v-if=
"dialogType == 'create' || (item.activeFlag == 1 && hasPermission('VEHICLE_LIST_ADD_BUTTON'))"
v-if=
"
dialogType == 'create' ||
(item.activeFlag == 1 &&
hasPermission('VEHICLE_LIST_ADD_BUTTON'))
"
>
>
<i
<i
v-show=
"!isViewMode && index != 0"
v-show=
"!isViewMode && index != 0"
...
@@ -468,9 +474,7 @@
...
@@ -468,9 +474,7 @@
>
编辑
</auth-button
>
编辑
</auth-button
>
>
<el-button
<el-button
v-show=
"
v-show=
"dialogType != 'create' && !item.edit"
dialogType != 'create' && !item.edit
"
class=
"btn"
class=
"btn"
@
click=
"editDevince(item, index)"
@
click=
"editDevince(item, index)"
>
取消
</el-button
>
取消
</el-button
...
@@ -2263,10 +2267,10 @@ export default {
...
@@ -2263,10 +2267,10 @@ export default {
// 编辑页面是否展示新增设备按钮
// 编辑页面是否展示新增设备按钮
showAddDeviceButton
()
{
showAddDeviceButton
()
{
let
list
=
this
.
snForm
.
deviceInfoDtos
||
[];
let
list
=
this
.
snForm
.
deviceInfoDtos
||
[];
let
idx
=
list
.
findIndex
((
k
)
=>
k
.
special
||
k
.
activeFlag
==
1
);
let
idx
=
list
.
findIndex
((
k
)
=>
k
.
special
||
k
.
activeFlag
==
1
);
let
_first
=
true
;
let
_first
=
true
;
if
(
!
_first
)
{
if
(
!
_first
)
{
return
false
;
return
false
;
}
}
if
(
idx
>=
0
)
{
if
(
idx
>=
0
)
{
...
...
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