Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
I
IFS
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
Commits
e45207fc
Commit
e45207fc
authored
Jan 17, 2019
by
Tiank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待办列表添加内容预览
parent
af6e6022
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
77 additions
and
62 deletions
+77
-62
TodoViewController.swift
...FS/Main/Business/Todo/Controller/TodoViewController.swift
+0
-20
TodoTableViewCell.swift
IFS/IFS/Main/Business/Todo/View/TodoTableViewCell.swift
+3
-1
HomeTableViewController.swift
IFS/IFS/Main/Home/Controller/HomeTableViewController.swift
+3
-12
HomeTableViewCell.swift
IFS/IFS/Main/Home/View/HomeTableViewCell.swift
+3
-1
Function.storyboard
IFS/IFS/Main/Storyboards/Function.storyboard
+30
-9
Home.storyboard
IFS/IFS/Main/Storyboards/Home.storyboard
+36
-17
Info.plist
IFS/IFS/Resource/Info.plist
+2
-2
No files found.
IFS/IFS/Main/Business/Todo/Controller/TodoViewController.swift
View file @
e45207fc
...
@@ -90,34 +90,14 @@ class TodoViewController: BaseTableViewPullController {
...
@@ -90,34 +90,14 @@ class TodoViewController: BaseTableViewPullController {
let
lindanVC
=
HomeLinDanController
.
instantiateViewController
(
.
Function
)
as!
HomeLinDanController
let
lindanVC
=
HomeLinDanController
.
instantiateViewController
(
.
Function
)
as!
HomeLinDanController
lindanVC
.
model
=
model
lindanVC
.
model
=
model
pushVC
(
lindanVC
)
pushVC
(
lindanVC
)
// ShowAlertView(hint, "请确认是否领单?", [cancel,sure], .alert, {[weak self] (index) in
// if index == kZERO { return }
// self?.orderDetailViewModel.getChildBillAction(model.entityUuid).subscribe(onNext: { () in
// self?.loadDataWhenDraw()
// ShowMessage("领取成功")
// Network.request(target: Service.ChildOrderComplete(model.entityUuid, "drew"), success: { (json) in
//
// }, failure: { (error) in
//
// })
// }).disposed(by: self!.disposeBag)
// })
break
break
case
TODO_STATE
.
DREW
:
case
TODO_STATE
.
DREW
:
// if !PermissionsManager.saveChildPermissions() {
// ShowMessage("当前用户对此工单没有编辑权限!")
// return;
// }
let
childBillVc
=
RepairOrderEditSonOrderViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderEditSonOrderViewController
let
childBillVc
=
RepairOrderEditSonOrderViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderEditSonOrderViewController
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
pushVC
(
childBillVc
)
pushVC
(
childBillVc
)
break
break
case
TODO_STATE
.
PROCESSING
:
case
TODO_STATE
.
PROCESSING
:
// if !PermissionsManager.childViewPermissions() {
// ShowMessage("当前用户对此工单没有查看权限!")
// return;
// }
let
childBillVc
=
RepairOrderChildBillDetailViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderChildBillDetailViewController
let
childBillVc
=
RepairOrderChildBillDetailViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderChildBillDetailViewController
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
...
...
IFS/IFS/Main/Business/Todo/View/TodoTableViewCell.swift
View file @
e45207fc
...
@@ -10,7 +10,8 @@ import UIKit
...
@@ -10,7 +10,8 @@ import UIKit
class
TodoTableViewCell
:
UITableViewCell
{
class
TodoTableViewCell
:
UITableViewCell
{
/// 内容
@IBOutlet
weak
var
contentLabel
:
UILabel
!
/// 标题 + code
/// 标题 + code
@IBOutlet
weak
var
titleCodeLabel
:
UILabel
!
@IBOutlet
weak
var
titleCodeLabel
:
UILabel
!
/// 操作时间
/// 操作时间
...
@@ -34,6 +35,7 @@ class TodoTableViewCell: UITableViewCell {
...
@@ -34,6 +35,7 @@ class TodoTableViewCell: UITableViewCell {
}
}
operationDateLabel
.
text
=
String
(
format
:
"%@"
,
model
.
createTime
)
operationDateLabel
.
text
=
String
(
format
:
"%@"
,
model
.
createTime
)
todoStateLabel
.
text
=
model
.
workState
.
getStateString
()
todoStateLabel
.
text
=
model
.
workState
.
getStateString
()
contentLabel
.
text
=
model
.
content
}
}
}
}
IFS/IFS/Main/Home/Controller/HomeTableViewController.swift
View file @
e45207fc
...
@@ -72,9 +72,9 @@ class HomeTableViewController: BaseTableViewPullController {
...
@@ -72,9 +72,9 @@ class HomeTableViewController: BaseTableViewPullController {
return
todoViewModel
.
todoResultArray
.
count
return
todoViewModel
.
todoResultArray
.
count
}
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
//
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return
60
//
return 60
}
//
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
tableView
.
deselectRow
(
at
:
indexPath
,
animated
:
true
)
tableView
.
deselectRow
(
at
:
indexPath
,
animated
:
true
)
...
@@ -96,21 +96,12 @@ class HomeTableViewController: BaseTableViewPullController {
...
@@ -96,21 +96,12 @@ class HomeTableViewController: BaseTableViewPullController {
pushVC
(
lindanVC
)
pushVC
(
lindanVC
)
break
break
case
TODO_STATE
.
DREW
:
case
TODO_STATE
.
DREW
:
// if !PermissionsManager.saveChildPermissions() {
// ShowMessage("当前用户对此工单没有编辑权限!")
// return;
// }
let
childBillVc
=
RepairOrderEditSonOrderViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderEditSonOrderViewController
let
childBillVc
=
RepairOrderEditSonOrderViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderEditSonOrderViewController
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
pushVC
(
childBillVc
)
pushVC
(
childBillVc
)
break
break
case
TODO_STATE
.
PROCESSING
:
case
TODO_STATE
.
PROCESSING
:
// if !PermissionsManager.childViewPermissions() {
// ShowMessage("当前用户对此工单没有查看权限!")
// return;
// }
let
childBillVc
=
RepairOrderChildBillDetailViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderChildBillDetailViewController
let
childBillVc
=
RepairOrderChildBillDetailViewController
.
instantiateViewController
(
.
Function
)
as!
RepairOrderChildBillDetailViewController
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
=
BillDetailExecute
(
fromJson
:
JSON
(
model
.
toDictionary
()))
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
childBillVc
.
billModel
.
uuid
=
model
.
entityUuid
...
...
IFS/IFS/Main/Home/View/HomeTableViewCell.swift
View file @
e45207fc
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
import
UIKit
import
UIKit
class
HomeTableViewCell
:
UITableViewCell
{
class
HomeTableViewCell
:
UITableViewCell
{
/** 内容 */
@IBOutlet
weak
var
contentLabel
:
UILabel
!
/// 部门(代码)
/// 部门(代码)
@IBOutlet
weak
var
departmentLabel
:
UILabel
!
@IBOutlet
weak
var
departmentLabel
:
UILabel
!
/// 单据时间
/// 单据时间
...
@@ -28,6 +29,7 @@ class HomeTableViewCell: UITableViewCell {
...
@@ -28,6 +29,7 @@ class HomeTableViewCell: UITableViewCell {
departmentLabel
.
text
=
model
.
dept
.
name
+
titleString
departmentLabel
.
text
=
model
.
dept
.
name
+
titleString
}
}
orderTimeLabel
.
text
=
String
(
format
:
"创建时间:%@"
,
model
.
createTime
)
orderTimeLabel
.
text
=
String
(
format
:
"创建时间:%@"
,
model
.
createTime
)
contentLabel
.
text
=
model
.
content
}
}
}
}
IFS/IFS/Main/Storyboards/Function.storyboard
View file @
e45207fc
...
@@ -2664,14 +2664,14 @@
...
@@ -2664,14 +2664,14 @@
<rect
key=
"frame"
x=
"0.0"
y=
"20"
width=
"375"
height=
"647"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"20"
width=
"375"
height=
"647"
/>
<color
key=
"backgroundColor"
red=
"0.94901960780000005"
green=
"0.94901960780000005"
blue=
"0.94901960780000005"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.94901960780000005"
green=
"0.94901960780000005"
blue=
"0.94901960780000005"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<prototypes>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
preservesSuperviewLayoutMargins=
"YES"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"TodoTableViewCell"
rowHeight=
"11
0
"
id=
"63j-ih-N5J"
customClass=
"TodoTableViewCell"
customModule=
"IFS"
customModuleProvider=
"target"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
preservesSuperviewLayoutMargins=
"YES"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"TodoTableViewCell"
rowHeight=
"11
7
"
id=
"63j-ih-N5J"
customClass=
"TodoTableViewCell"
customModule=
"IFS"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"375"
height=
"11
0
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"375"
height=
"11
7
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"63j-ih-N5J"
id=
"8q0-dW-U83"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"63j-ih-N5J"
id=
"8q0-dW-U83"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"11
0
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"11
7
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
verticalHuggingPriority=
"251
"
text=
"工程部(111111122)"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nG6-k0-bxi"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"252"
verticalHuggingPriority=
"252
"
text=
"工程部(111111122)"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nG6-k0-bxi"
>
<rect
key=
"frame"
x=
"15"
y=
"25"
width=
"141.5"
height=
"18"
/>
<rect
key=
"frame"
x=
"15"
y=
"25"
width=
"141.5"
height=
"18"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<nil
key=
"textColor"
/>
<nil
key=
"textColor"
/>
...
@@ -2683,14 +2683,14 @@
...
@@ -2683,14 +2683,14 @@
<color
key=
"textColor"
red=
"0.21755459899999999"
green=
"0.53306800129999998"
blue=
"0.99824184179999997"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
key=
"textColor"
red=
"0.21755459899999999"
green=
"0.53306800129999998"
blue=
"0.99824184179999997"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"25
1
"
text=
"创建时间:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Lio-Mv-0vY"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"25
2"
verticalHuggingPriority=
"252
"
text=
"创建时间:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Lio-Mv-0vY"
>
<rect
key=
"frame"
x=
"15"
y=
"
58"
width=
"76.5"
height=
"37
"
/>
<rect
key=
"frame"
x=
"15"
y=
"
84"
width=
"76.5"
height=
"18
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<color
key=
"textColor"
white=
"0.33333333333333331"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"0.33333333333333331"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"2018年01月05日15:30:03"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"gke-J1-y5g"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"2018年01月05日15:30:03"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"gke-J1-y5g"
>
<rect
key=
"frame"
x=
"9
1.5"
y=
"67.5
"
width=
"176"
height=
"18"
/>
<rect
key=
"frame"
x=
"9
8.5"
y=
"84
"
width=
"176"
height=
"18"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<color
key=
"textColor"
white=
"0.33333333333333331"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"0.33333333333333331"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -2702,24 +2702,45 @@
...
@@ -2702,24 +2702,45 @@
<constraint
firstAttribute=
"height"
constant=
"10"
id=
"jfA-pu-8HN"
/>
<constraint
firstAttribute=
"height"
constant=
"10"
id=
"jfA-pu-8HN"
/>
</constraints>
</constraints>
</view>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"252"
text=
"报事内容:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hqO-wG-ZCt"
>
<rect
key=
"frame"
x=
"15"
y=
"53"
width=
"77"
height=
"18"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"77"
id=
"qsI-mi-xgM"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<color
key=
"textColor"
red=
"0.16078431372549018"
green=
"0.16078431372549018"
blue=
"0.16078431372549018"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"报事内容"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"r2T-XM-frN"
>
<rect
key=
"frame"
x=
"92"
y=
"53"
width=
"233"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<color
key=
"textColor"
red=
"0.16078431372549018"
green=
"0.16078431372549018"
blue=
"0.16078431372549018"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
</subviews>
<constraints>
<constraints>
<constraint
firstItem=
"hqO-wG-ZCt"
firstAttribute=
"top"
secondItem=
"r2T-XM-frN"
secondAttribute=
"top"
id=
"0Mp-Uh-Ade"
/>
<constraint
firstItem=
"r2T-XM-frN"
firstAttribute=
"top"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"bottom"
constant=
"10"
id=
"4C5-x6-YgJ"
/>
<constraint
firstItem=
"Bht-IH-sS1"
firstAttribute=
"centerY"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"centerY"
id=
"4rI-w5-knF"
/>
<constraint
firstItem=
"Bht-IH-sS1"
firstAttribute=
"centerY"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"centerY"
id=
"4rI-w5-knF"
/>
<constraint
firstItem=
"Lio-Mv-0vY"
firstAttribute=
"leading"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"leading"
id=
"64c-mu-7cm"
/>
<constraint
firstItem=
"Lio-Mv-0vY"
firstAttribute=
"leading"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"leading"
id=
"64c-mu-7cm"
/>
<constraint
firstItem=
"gke-J1-y5g"
firstAttribute=
"centerY"
secondItem=
"Lio-Mv-0vY"
secondAttribute=
"centerY"
id=
"9bS-Iw-xhW"
/>
<constraint
firstItem=
"gke-J1-y5g"
firstAttribute=
"centerY"
secondItem=
"Lio-Mv-0vY"
secondAttribute=
"centerY"
id=
"9bS-Iw-xhW"
/>
<constraint
firstItem=
"Lio-Mv-0vY"
firstAttribute=
"top"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"bottom"
constant=
"15"
id=
"F5M-MT-B9o"
/>
<constraint
firstItem=
"hqO-wG-ZCt"
firstAttribute=
"leading"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"leading"
id=
"DFm-Qr-yxp"
/>
<constraint
firstItem=
"r2T-XM-frN"
firstAttribute=
"leading"
secondItem=
"hqO-wG-ZCt"
secondAttribute=
"trailing"
id=
"F6I-QW-qfJ"
/>
<constraint
firstItem=
"nG6-k0-bxi"
firstAttribute=
"top"
secondItem=
"u9d-Fc-abI"
secondAttribute=
"bottom"
constant=
"15"
id=
"Fn2-DI-diK"
/>
<constraint
firstItem=
"nG6-k0-bxi"
firstAttribute=
"top"
secondItem=
"u9d-Fc-abI"
secondAttribute=
"bottom"
constant=
"15"
id=
"Fn2-DI-diK"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"u9d-Fc-abI"
secondAttribute=
"trailing"
id=
"GfI-Z1-KZR"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"u9d-Fc-abI"
secondAttribute=
"trailing"
id=
"GfI-Z1-KZR"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"r2T-XM-frN"
secondAttribute=
"trailing"
constant=
"50"
id=
"Hbd-B1-Oh7"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Lio-Mv-0vY"
secondAttribute=
"bottom"
constant=
"15"
id=
"NUP-Qs-rYd"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Lio-Mv-0vY"
secondAttribute=
"bottom"
constant=
"15"
id=
"NUP-Qs-rYd"
/>
<constraint
firstItem=
"nG6-k0-bxi"
firstAttribute=
"leading"
secondItem=
"8q0-dW-U83"
secondAttribute=
"leading"
constant=
"15"
id=
"bCV-yR-5Rx"
/>
<constraint
firstItem=
"nG6-k0-bxi"
firstAttribute=
"leading"
secondItem=
"8q0-dW-U83"
secondAttribute=
"leading"
constant=
"15"
id=
"bCV-yR-5Rx"
/>
<constraint
firstItem=
"Bht-IH-sS1"
firstAttribute=
"leading"
relation=
"greaterThanOrEqual"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"trailing"
constant=
"15"
id=
"bLy-3K-fZY"
/>
<constraint
firstItem=
"Bht-IH-sS1"
firstAttribute=
"leading"
relation=
"greaterThanOrEqual"
secondItem=
"nG6-k0-bxi"
secondAttribute=
"trailing"
constant=
"15"
id=
"bLy-3K-fZY"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"r2T-XM-frN"
secondAttribute=
"bottom"
constant=
"43"
id=
"dyT-Yz-IFb"
/>
<constraint
firstItem=
"u9d-Fc-abI"
firstAttribute=
"top"
secondItem=
"8q0-dW-U83"
secondAttribute=
"top"
id=
"lxa-wg-dIT"
/>
<constraint
firstItem=
"u9d-Fc-abI"
firstAttribute=
"top"
secondItem=
"8q0-dW-U83"
secondAttribute=
"top"
id=
"lxa-wg-dIT"
/>
<constraint
firstItem=
"gke-J1-y5g"
firstAttribute=
"leading"
secondItem=
"Lio-Mv-0vY"
secondAttribute=
"trailing"
id=
"xGG-tn-Rav"
/>
<constraint
firstItem=
"gke-J1-y5g"
firstAttribute=
"leading"
secondItem=
"Lio-Mv-0vY"
secondAttribute=
"trailing"
constant=
"7"
id=
"xGG-tn-Rav"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Bht-IH-sS1"
secondAttribute=
"trailing"
constant=
"15"
id=
"xu9-kd-aBe"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Bht-IH-sS1"
secondAttribute=
"trailing"
constant=
"15"
id=
"xu9-kd-aBe"
/>
<constraint
firstItem=
"u9d-Fc-abI"
firstAttribute=
"leading"
secondItem=
"8q0-dW-U83"
secondAttribute=
"leading"
id=
"zHp-YK-xQf"
/>
<constraint
firstItem=
"u9d-Fc-abI"
firstAttribute=
"leading"
secondItem=
"8q0-dW-U83"
secondAttribute=
"leading"
id=
"zHp-YK-xQf"
/>
</constraints>
</constraints>
</tableViewCellContentView>
</tableViewCellContentView>
<connections>
<connections>
<outlet
property=
"contentLabel"
destination=
"r2T-XM-frN"
id=
"Z66-m5-UDc"
/>
<outlet
property=
"operationDateLabel"
destination=
"gke-J1-y5g"
id=
"QOK-Yo-2ze"
/>
<outlet
property=
"operationDateLabel"
destination=
"gke-J1-y5g"
id=
"QOK-Yo-2ze"
/>
<outlet
property=
"titleCodeLabel"
destination=
"nG6-k0-bxi"
id=
"hBE-Cx-UN9"
/>
<outlet
property=
"titleCodeLabel"
destination=
"nG6-k0-bxi"
id=
"hBE-Cx-UN9"
/>
<outlet
property=
"todoStateLabel"
destination=
"Bht-IH-sS1"
id=
"6e6-Yl-upD"
/>
<outlet
property=
"todoStateLabel"
destination=
"Bht-IH-sS1"
id=
"6e6-Yl-upD"
/>
...
...
IFS/IFS/Main/Storyboards/Home.storyboard
View file @
e45207fc
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
377
1"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"U8b-dz-8KO"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
4460.3
1"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"U8b-dz-8KO"
>
<device
id=
"retina4_7"
orientation=
"portrait"
>
<device
id=
"retina4_7"
orientation=
"portrait"
>
<adaptation
id=
"fullscreen"
/>
<adaptation
id=
"fullscreen"
/>
</device>
</device>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"13772"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"14460.20"
/>
<capability
name=
"Constraints with non-1.0 multipliers"
minToolsVersion=
"5.1"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
</dependencies>
...
@@ -120,41 +119,61 @@
...
@@ -120,41 +119,61 @@
<rect
key=
"frame"
x=
"0.0"
y=
"20"
width=
"375"
height=
"647"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"20"
width=
"375"
height=
"647"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<prototypes>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
preservesSuperviewLayoutMargins=
"YES"
selectionStyle=
"default"
accessoryType=
"disclosureIndicator"
indentationWidth=
"10"
reuseIdentifier=
"HomeTableViewCell"
rowHeight=
"
50
"
id=
"vx2-Np-zvQ"
customClass=
"HomeTableViewCell"
customModule=
"IFS"
customModuleProvider=
"target"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
preservesSuperviewLayoutMargins=
"YES"
selectionStyle=
"default"
accessoryType=
"disclosureIndicator"
indentationWidth=
"10"
reuseIdentifier=
"HomeTableViewCell"
rowHeight=
"
84
"
id=
"vx2-Np-zvQ"
customClass=
"HomeTableViewCell"
customModule=
"IFS"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"375"
height=
"
50
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"375"
height=
"
84
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"vx2-Np-zvQ"
id=
"g4g-fu-0cg"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"vx2-Np-zvQ"
id=
"g4g-fu-0cg"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"342"
height=
"
49
.5"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"342"
height=
"
83
.5"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"转交时间:2018-01-02 14:14:23"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"uex-ay-Jmm"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"转交时间:2018-01-02 14:14:23"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"uex-ay-Jmm"
>
<rect
key=
"frame"
x=
"3
4"
y=
"28
"
width=
"181"
height=
"14.5"
/>
<rect
key=
"frame"
x=
"3
5"
y=
"59
"
width=
"181"
height=
"14.5"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<nil
key=
"textColor"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"feather"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"aT3-b3-i6F"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"feather"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"aT3-b3-i6F"
>
<rect
key=
"frame"
x=
"10"
y=
"
15
.5"
width=
"14"
height=
"19"
/>
<rect
key=
"frame"
x=
"10"
y=
"
32
.5"
width=
"14"
height=
"19"
/>
</imageView>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
verticalHuggingPriority=
"25
1
"
text=
"工程部(1009611)"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6BQ-s6-dc4"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
verticalHuggingPriority=
"25
3
"
text=
"工程部(1009611)"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6BQ-s6-dc4"
>
<rect
key=
"frame"
x=
"3
4"
y=
"6
"
width=
"114.5"
height=
"18"
/>
<rect
key=
"frame"
x=
"3
5"
y=
"10
"
width=
"114.5"
height=
"18"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<nil
key=
"textColor"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"252"
text=
"报事内容:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"dlU-OO-QcP"
>
<rect
key=
"frame"
x=
"35"
y=
"34"
width=
"77"
height=
"18"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"77"
id=
"9ui-c0-kd3"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<color
key=
"textColor"
red=
"0.16078431369999999"
green=
"0.16078431369999999"
blue=
"0.16078431369999999"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"报事内容"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"FbY-S9-crr"
>
<rect
key=
"frame"
x=
"112"
y=
"34"
width=
"220"
height=
"19.5"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<color
key=
"textColor"
red=
"0.16078431369999999"
green=
"0.16078431369999999"
blue=
"0.16078431369999999"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
</subviews>
<constraints>
<constraints>
<constraint
firstAttribute=
"trailing"
relation=
"greaterThanOrEqual"
secondItem=
"6BQ-s6-dc4"
secondAttribute=
"trailing"
constant=
"10"
id=
"26b-c9-SpL"
/>
<constraint
firstItem=
"6BQ-s6-dc4"
firstAttribute=
"top"
secondItem=
"g4g-fu-0cg"
secondAttribute=
"top"
constant=
"10"
id=
"3Gi-gU-dmr"
/>
<constraint
firstItem=
"uex-ay-Jmm"
firstAttribute=
"centerY"
secondItem=
"aT3-b3-i6F"
secondAttribute=
"centerY"
multiplier=
"1.4"
id=
"TVZ-MV-o8n"
/>
<constraint
firstItem=
"uex-ay-Jmm"
firstAttribute=
"leading"
secondItem=
"6BQ-s6-dc4"
secondAttribute=
"leading"
id=
"5uL-A4-PUF"
/>
<constraint
firstItem=
"uex-ay-Jmm"
firstAttribute=
"trailing"
relation=
"greaterThanOrEqual"
secondItem=
"6BQ-s6-dc4"
secondAttribute=
"trailing"
id=
"YPK-LJ-ICD"
/>
<constraint
firstItem=
"FbY-S9-crr"
firstAttribute=
"leading"
secondItem=
"dlU-OO-QcP"
secondAttribute=
"trailing"
id=
"GnB-WA-BYQ"
/>
<constraint
firstItem=
"uex-ay-Jmm"
firstAttribute=
"leading"
secondItem=
"6BQ-s6-dc4"
secondAttribute=
"leading"
id=
"YyS-Mf-eKS"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"FbY-S9-crr"
secondAttribute=
"trailing"
constant=
"10"
id=
"I2G-qy-sWw"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"uex-ay-Jmm"
secondAttribute=
"bottom"
constant=
"10"
id=
"Jic-4D-Wlj"
/>
<constraint
firstItem=
"dlU-OO-QcP"
firstAttribute=
"top"
secondItem=
"FbY-S9-crr"
secondAttribute=
"top"
id=
"Y9w-bV-q2F"
/>
<constraint
firstItem=
"aT3-b3-i6F"
firstAttribute=
"leading"
secondItem=
"g4g-fu-0cg"
secondAttribute=
"leading"
constant=
"10"
id=
"edv-P2-AfY"
/>
<constraint
firstItem=
"aT3-b3-i6F"
firstAttribute=
"leading"
secondItem=
"g4g-fu-0cg"
secondAttribute=
"leading"
constant=
"10"
id=
"edv-P2-AfY"
/>
<constraint
firstItem=
"6BQ-s6-dc4"
firstAttribute=
"leading"
secondItem=
"aT3-b3-i6F"
secondAttribute=
"trailing"
constant=
"10"
id=
"lV1-Gj-GZN"
/>
<constraint
firstItem=
"6BQ-s6-dc4"
firstAttribute=
"leading"
secondItem=
"g4g-fu-0cg"
secondAttribute=
"leading"
constant=
"35"
id=
"kmf-Jw-SHB"
/>
<constraint
firstItem=
"dlU-OO-QcP"
firstAttribute=
"leading"
secondItem=
"6BQ-s6-dc4"
secondAttribute=
"leading"
id=
"m8I-Fk-w47"
/>
<constraint
firstItem=
"aT3-b3-i6F"
firstAttribute=
"centerY"
secondItem=
"g4g-fu-0cg"
secondAttribute=
"centerY"
id=
"qUv-Pf-3K9"
/>
<constraint
firstItem=
"aT3-b3-i6F"
firstAttribute=
"centerY"
secondItem=
"g4g-fu-0cg"
secondAttribute=
"centerY"
id=
"qUv-Pf-3K9"
/>
<constraint
firstItem=
"6BQ-s6-dc4"
firstAttribute=
"centerY"
secondItem=
"aT3-b3-i6F"
secondAttribute=
"centerY"
multiplier=
"0.6"
id=
"z3F-95-dZE"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"FbY-S9-crr"
secondAttribute=
"bottom"
constant=
"30"
id=
"vKC-vz-3Ba"
/>
<constraint
firstItem=
"FbY-S9-crr"
firstAttribute=
"top"
secondItem=
"6BQ-s6-dc4"
secondAttribute=
"bottom"
constant=
"6"
id=
"zgS-Al-4UX"
/>
</constraints>
</constraints>
</tableViewCellContentView>
</tableViewCellContentView>
<connections>
<connections>
<outlet
property=
"contentLabel"
destination=
"FbY-S9-crr"
id=
"yLY-Wt-Dxt"
/>
<outlet
property=
"departmentLabel"
destination=
"6BQ-s6-dc4"
id=
"w3f-78-2Q0"
/>
<outlet
property=
"departmentLabel"
destination=
"6BQ-s6-dc4"
id=
"w3f-78-2Q0"
/>
<outlet
property=
"orderTimeLabel"
destination=
"uex-ay-Jmm"
id=
"oZG-i8-R9e"
/>
<outlet
property=
"orderTimeLabel"
destination=
"uex-ay-Jmm"
id=
"oZG-i8-R9e"
/>
</connections>
</connections>
...
@@ -181,6 +200,6 @@
...
@@ -181,6 +200,6 @@
</scene>
</scene>
</scenes>
</scenes>
<resources>
<resources>
<image
name=
"feather"
width=
"14"
height=
"19"
/>
<image
name=
"feather"
width=
"14"
height=
"19
.5
"
/>
</resources>
</resources>
</document>
</document>
IFS/IFS/Resource/Info.plist
View file @
e45207fc
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.1.
7
<
/string
>
<
string
>
1.1.
9
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.1.
7
<
/string
>
<
string
>
1.1.
9
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
...
...
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