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
af6e6022
Commit
af6e6022
authored
Dec 27, 2018
by
Tiank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片名
parent
3641da40
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
PhotoAttachmentModel.swift
...ain/Business/RepairOrder/Model/PhotoAttachmentModel.swift
+5
-0
Function.storyboard
IFS/IFS/Main/Storyboards/Function.storyboard
+9
-11
No files found.
IFS/IFS/Main/Business/RepairOrder/Model/PhotoAttachmentModel.swift
View file @
af6e6022
...
...
@@ -42,6 +42,11 @@ public struct UploadPhotoAttachmentModel {
init
(
_
fileName
:
String
,
_
fileUrl
:
String
,
_
entityType
:
String
,
_
entityUuid
:
String
)
{
self
.
fileName
=
fileName
if
fileUrl
.
contains
(
".jpg"
){
self
.
fileName
=
self
.
fileName
+
".jpg"
}
else
if
fileUrl
.
contains
(
".png"
){
self
.
fileName
=
self
.
fileName
+
".png"
}
self
.
fileUrl
=
fileUrl
self
.
entityType
=
entityType
self
.
entityUuid
=
entityUuid
...
...
IFS/IFS/Main/Storyboards/Function.storyboard
View file @
af6e6022
...
...
@@ -690,7 +690,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"664"
width=
"375"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"ELP-T0-LAZ"
id=
"Dtj-67-EFa"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
30
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
29.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"描述"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"P01-SN-vS4"
>
...
...
@@ -720,7 +720,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"694"
width=
"375"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"44E-jB-OlU"
id=
"7jE-Fn-xTB"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
30
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
29.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"照片描述"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"XvO-33-KYW"
>
...
...
@@ -740,7 +740,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"724"
width=
"375"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"O14-Cx-evp"
id=
"UDR-nG-Kfw"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
30
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
29.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"备注"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"jXM-8X-sCE"
>
...
...
@@ -770,7 +770,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"754"
width=
"375"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"Ap3-XH-i26"
id=
"Vz5-Oh-DEE"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
30
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
29.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"领单人"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"5PG-sv-ROn"
>
...
...
@@ -804,7 +804,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"803"
width=
"375"
height=
"29"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"IUa-aa-hAd"
id=
"J6d-Ag-3qs"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"2
9
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"2
8.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
</tableViewCellContentView>
</tableViewCell>
...
...
@@ -816,7 +816,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"851"
width=
"375"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"loi-eF-sJs"
id=
"mKu-Yo-W9j"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
30
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
29.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"是否解决"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"q3e-xL-CIB"
>
...
...
@@ -844,7 +844,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"881"
width=
"375"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"AlH-ca-Eok"
id=
"md0-YE-7LW"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
30
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
29.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"完成情况"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"xUy-aT-74a"
>
...
...
@@ -1026,7 +1026,7 @@
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"请选择"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Sob-Lb-FqV"
>
<rect
key=
"frame"
x=
"80"
y=
"13"
width=
"261"
height=
"17"
/>
<rect
key=
"frame"
x=
"80"
y=
"13
.5
"
width=
"261"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
...
...
@@ -1035,8 +1035,6 @@
<constraints>
<constraint
firstItem=
"Sob-Lb-FqV"
firstAttribute=
"centerY"
secondItem=
"9ZW-bA-L0N"
secondAttribute=
"centerY"
id=
"EPo-QI-Lt4"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Sob-Lb-FqV"
secondAttribute=
"trailing"
id=
"Hgf-5C-Mhi"
/>
<constraint
firstItem=
"Sob-Lb-FqV"
firstAttribute=
"top"
secondItem=
"9ZW-bA-L0N"
secondAttribute=
"top"
constant=
"13"
id=
"M1N-7u-1EL"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Sob-Lb-FqV"
secondAttribute=
"bottom"
constant=
"13.5"
id=
"Ndt-GM-D6K"
/>
<constraint
firstItem=
"Sob-Lb-FqV"
firstAttribute=
"leading"
secondItem=
"957-s8-NE2"
secondAttribute=
"trailing"
constant=
"15"
id=
"Vav-Wb-FPp"
/>
<constraint
firstItem=
"957-s8-NE2"
firstAttribute=
"leading"
secondItem=
"9ZW-bA-L0N"
secondAttribute=
"leading"
constant=
"15"
id=
"b20-cz-3Ro"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Sob-Lb-FqV"
secondAttribute=
"trailing"
id=
"uzy-oR-cSq"
/>
...
...
@@ -3667,6 +3665,6 @@
<image
name=
"todo_icon"
width=
"23.5"
height=
"24.5"
/>
</resources>
<inferredMetricsTieBreakers>
<segue
reference=
"
ui0-ve-aBK
"
/>
<segue
reference=
"
eK1-nw-kV4
"
/>
</inferredMetricsTieBreakers>
</document>
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