Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
I
IFS-iOS
Project
Project
Details
Activity
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
张杰
IFS-iOS
Commits
3641da40
Commit
3641da40
authored
Dec 25, 2018
by
Tiank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工单详情界面 添加领单人
parent
e14fb525
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
131 additions
and
93 deletions
+131
-93
Appdelegate+Extension.swift
IFS/IFS/Appdelegate+Extension.swift
+0
-2
RepairOrderDetailViewController.swift
...airOrder/Controller/RepairOrderDetailViewController.swift
+1
-0
RepairOrderDetailViewModel.swift
...ss/RepairOrder/ViewModel/RepairOrderDetailViewModel.swift
+9
-0
Function.storyboard
IFS/IFS/Main/Storyboards/Function.storyboard
+121
-91
No files found.
IFS/IFS/Appdelegate+Extension.swift
View file @
3641da40
...
...
@@ -33,8 +33,6 @@ extension AppDelegate:JPUSHRegisterDelegate{
guard
notification
.
userInfo
!=
nil
else
{
return
}
let
userInfo
=
notification
.
userInfo
!
[
"extras"
]
// SBSkipTool.share.skipViewController(parameters: userInfo as? [AnyHashable : Any])
}
func
registerPush
(
launchOptions
:
[
UIApplicationLaunchOptionsKey
:
Any
]?){
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
networkDidReceiveMessage(notification:)
)
,
name
:
NSNotification
.
Name
.
jpfNetworkDidReceiveMessage
,
object
:
nil
)
...
...
IFS/IFS/Main/Business/RepairOrder/Controller/RepairOrderDetailViewController.swift
View file @
3641da40
...
...
@@ -60,6 +60,7 @@ class RepairOrderDetailViewController: BaseTableViewController {
//条形码
@IBOutlet
weak
var
codeImageView
:
UIImageView
!
@IBOutlet
weak
var
codeLabel
:
UILabel
!
@IBOutlet
weak
var
drawOrderPerson
:
UILabel
!
/// 附件宽度
let
imageWidth
=
((
kWidth
-
90
)
-
CGFloat
((
3
+
kONE
)
*
5
))
/
3
/// 工单状态回调
...
...
IFS/IFS/Main/Business/RepairOrder/ViewModel/RepairOrderDetailViewModel.swift
View file @
3641da40
...
...
@@ -246,6 +246,15 @@ extension RepairOrderDetailViewModel {
}
controller
.
codeImageView
.
image
=
LBXScanWrapper
.
createCode128
(
codeString
:
billDetailModel
.
workNo
,
size
:
CGSize
(
width
:
kWidth
-
120
,
height
:
80
),
qrColor
:
UIColor
.
black
,
bkColor
:
UIColor
.
white
)
controller
.
codeLabel
.
text
=
billDetailModel
.
workNo
if
billDetailModel
.
executes
!=
nil
{
controller
.
drawOrderPerson
.
text
=
billDetailModel
.
executes
!.
map
{
(
model
)
->
String
in
if
model
.
owner
!=
nil
{
return
model
.
owner
.
name
}
else
{
return
""
}
}
.
joined
(
separator
:
","
)
}
}
// MARK: - 处理空数据
...
...
IFS/IFS/Main/Storyboards/Function.storyboard
View file @
3641da40
This diff is collapsed.
Click to expand it.
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