Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
中通客车项目
zhongtong-avi-web
Commits
919d5834
Commit
919d5834
authored
Mar 12, 2020
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(报工点补扫): 报工点补扫弹窗逻辑修改
parent
e5e6d35d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
DutyStationMakeUpDialog.vue
src/views/DutyStation/components/DutyStationMakeUpDialog.vue
+7
-1
list.vue
src/views/DutyStation/list.vue
+6
-1
No files found.
src/views/DutyStation/components/DutyStationMakeUpDialog.vue
View file @
919d5834
...
...
@@ -106,6 +106,12 @@
default
:
()
=>
{
return
{}
}
},
id
:
{
type
:
Number
,
default
:
()
=>
{
return
{}
}
}
},
watch
:
{
...
...
@@ -211,7 +217,7 @@
this
.
loadingToggle
=
true
;
// 获取当前登录人名称
let
loginUserName
=
window
.
sessionStorage
.
getItem
(
'Admin-Name'
);
let
params
=
{
...
this
.
formData
,
createBy
:
loginUserName
};
let
params
=
{
...
this
.
formData
,
createBy
:
loginUserName
,
id
:
this
.
id
};
let
response
=
await
this
.
$service
(
'POST'
,
'/pass/savePassInfo'
,
params
);
if
(
Array
.
isArray
(
response
))
{
this
.
loadingToggle
=
false
;
...
...
src/views/DutyStation/list.vue
View file @
919d5834
...
...
@@ -72,6 +72,7 @@
ref=
"DutyStationMakeUpDialog"
:vin=
"vin"
:stationName=
"stationName"
:id=
"id"
@
doDutyStationMakeUpConfirmClick=
"doDutyStationMakeUpConfirmClick"
>
</DutyStationMakeUpDialog>
...
...
@@ -124,7 +125,9 @@
// 工单号
vin
:
''
,
// 报工点
stationName
:
''
stationName
:
''
,
// 记录id
id
:
null
}
},
methods
:
{
...
...
@@ -219,9 +222,11 @@
},
// 点击编辑按钮
doEditClick
(
dutyStation
)
{
console
.
log
(
dutyStation
);
this
.
$refs
.
DutyStationMakeUpDialog
.
dialogToggle
=
true
;
this
.
vin
=
dutyStation
.
vin
;
this
.
stationName
=
dutyStation
.
stationName
;
this
.
id
=
dutyStation
.
id
;
},
// 点击报工点补扫弹窗确认按钮
doDutyStationMakeUpConfirmClick
()
{
...
...
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