Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
5ff9014e
Commit
5ff9014e
authored
Mar 16, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暗杀了可得劲了;阿就是领导;放
parent
0579bab7
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
159 additions
and
26 deletions
+159
-26
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/AppDelegate.swift
GeliBusinessPlatform/AppDelegate.swift
+4
-3
GeliBusinessPlatform/ViewController/店长审核/DZSHViewController.swift
...nessPlatform/ViewController/店长审核/DZSHViewController.swift
+21
-7
GeliBusinessPlatform/ViewController/店长审核/DZSHViewController.xib
...sinessPlatform/ViewController/店长审核/DZSHViewController.xib
+3
-3
GeliBusinessPlatform/ViewController/店长审核/DZSH_Detail_ViewController.swift
...form/ViewController/店长审核/DZSH_Detail_ViewController.swift
+124
-4
GeliBusinessPlatform/ViewController/店长审核/DZSH_Mg_ViewController.swift
...Platform/ViewController/店长审核/DZSH_Mg_ViewController.swift
+5
-9
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.swift
...ssPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.swift
+1
-0
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.xib
...nessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.xib
+1
-0
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
5ff9014e
No preview for this file type
GeliBusinessPlatform/AppDelegate.swift
View file @
5ff9014e
...
@@ -282,11 +282,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate,loginDelegate,UITabBarCont
...
@@ -282,11 +282,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate,loginDelegate,UITabBarCont
let
v1
=
OrderListViewController
()
let
v1
=
OrderListViewController
()
//
let v2 = GoodsManageListVC()
let
v2
=
GoodsManageListVC
()
let
v2
=
DZSH_Detail_ViewController
()
let
v3
=
DZSH_Mg_ViewController
()
// let v3 = WorkCViewController()1234
let
v3
=
WorkCViewController
()
let
v4
=
WarehoseMangementListVC
()
let
v4
=
WarehoseMangementListVC
()
let
v5
=
PersonCenterViewController
()
let
v5
=
PersonCenterViewController
()
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSHViewController.swift
View file @
5ff9014e
...
@@ -9,6 +9,14 @@
...
@@ -9,6 +9,14 @@
import
UIKit
import
UIKit
class
DZSHViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
class
DZSHViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
//MARK: - 跳转详情
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
model
=
dataArr
[
indexPath
.
row
]
let
vc
=
DZSH_Detail_ViewController
()
vc
.
shop_id
=
model
.
shop_id
!
vc
.
user_token
=
UserToken
as!
String
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
//MARK: - tableview_delegate
//MARK: - tableview_delegate
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
178.5
return
178.5
...
@@ -36,10 +44,20 @@ class DZSHViewController: BaseViewController, UITableViewDelegate, UITableViewDa
...
@@ -36,10 +44,20 @@ class DZSHViewController: BaseViewController, UITableViewDelegate, UITableViewDa
cell
.
resultImg
.
isHidden
=
true
cell
.
resultImg
.
isHidden
=
true
cell
.
action_btn
.
setTitle
(
"审核"
,
for
:
.
normal
)
cell
.
action_btn
.
setTitle
(
"审核"
,
for
:
.
normal
)
}
}
cell
.
name_lbl
.
text
=
model
.
user_name
!
+
"(
\(
model
.
phone
!
)
)"
cell
.
action_btn
.
isUserInteractionEnabled
=
false
cell
.
name_lbl
.
text
=
"-"
if
model
.
phone
!=
nil
&&
model
.
user_name
!=
nil
{
cell
.
name_lbl
.
text
=
model
.
user_name
!
+
" "
+
model
.
phone
!
}
else
{
if
model
.
user_name
!=
nil
{
cell
.
name_lbl
.
text
=
model
.
user_name
!
}
if
model
.
phone
!=
nil
{
cell
.
name_lbl
.
text
=
model
.
phone
!
}
}
cell
.
from_lbl
.
text
=
model
.
from
cell
.
from_lbl
.
text
=
model
.
from
cell
.
date_lbl
.
text
=
model
.
create_time
cell
.
date_lbl
.
text
=
model
.
create_time
return
cell
return
cell
}
}
...
@@ -62,7 +80,7 @@ class DZSHViewController: BaseViewController, UITableViewDelegate, UITableViewDa
...
@@ -62,7 +80,7 @@ class DZSHViewController: BaseViewController, UITableViewDelegate, UITableViewDa
var
startTime
:
Int
?
=
0
var
startTime
:
Int
?
=
0
var
endTime
:
Int
?
=
0
var
endTime
:
Int
?
=
0
var
type
:
Int
?
=
0
//1为待审核列表查询,2为已审核列表查询
var
type
:
Int
?
=
0
//1为待审核列表查询,2为已审核列表查询
var
from
=
0
//来源:1:小程序,2:格利食品网
var
from
=
100
//来源:1:小程序,2:格利食品网,100全部
var
audit_type
=
0
//审核类型 1审核通过 2审核不通过 3审核通过待补齐资料 100全部
var
audit_type
=
0
//审核类型 1审核通过 2审核不通过 3审核通过待补齐资料 100全部
...
@@ -91,10 +109,6 @@ class DZSHViewController: BaseViewController, UITableViewDelegate, UITableViewDa
...
@@ -91,10 +109,6 @@ class DZSHViewController: BaseViewController, UITableViewDelegate, UITableViewDa
listView
.
mj_footer
=
footerMJ
listView
.
mj_footer
=
footerMJ
listView
.
mj_header
?
.
beginRefreshing
()
listView
.
mj_header
?
.
beginRefreshing
()
}
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
vc
=
DZSH_Detail_ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
//MARK:--loadData
//MARK:--loadData
//MARK:--列表数据源
//MARK:--列表数据源
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSHViewController.xib
View file @
5ff9014e
...
@@ -31,14 +31,14 @@
...
@@ -31,14 +31,14 @@
</constraints>
</constraints>
</view>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bHR-an-pKl"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bHR-an-pKl"
>
<rect
key=
"frame"
x=
"0.0"
y=
"94"
width=
"414"
height=
"
4
5"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"94"
width=
"414"
height=
"5"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"
4
5"
id=
"drv-W6-3xI"
/>
<constraint
firstAttribute=
"height"
constant=
"5"
id=
"drv-W6-3xI"
/>
</constraints>
</constraints>
</view>
</view>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
showsHorizontalScrollIndicator=
"NO"
showsVerticalScrollIndicator=
"NO"
style=
"grouped"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"18"
sectionFooterHeight=
"18"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"lSX-9b-cFw"
>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
showsHorizontalScrollIndicator=
"NO"
showsVerticalScrollIndicator=
"NO"
style=
"grouped"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"18"
sectionFooterHeight=
"18"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"lSX-9b-cFw"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
139"
width=
"414"
height=
"75
7"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
99"
width=
"414"
height=
"79
7"
/>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<color
key=
"backgroundColor"
name=
"app底色"
/>
</tableView>
</tableView>
</subviews>
</subviews>
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSH_Detail_ViewController.swift
View file @
5ff9014e
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
import
UIKit
import
UIKit
class
DZSH_Detail_ViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
GeliAlertTextViewDelegate
{
class
DZSH_Detail_ViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
GeliAlertTextViewDelegate
{
var
shop_id
=
-
1
var
user_token
=
""
var
title_arr
=
[
"公司信息"
,
"负责人信息"
,
"营业执照信息"
,
"入驻协议"
]
var
title_arr
=
[
"公司信息"
,
"负责人信息"
,
"营业执照信息"
,
"入驻协议"
]
var
part1
=
[
"公司名称"
,
"公司详细地址"
,
"公司电话"
,
"公司规模"
,
"公司简介"
,
"店铺类型"
,
"公司logo"
]
var
part1
=
[
"公司名称"
,
"公司详细地址"
,
"公司电话"
,
"公司规模"
,
"公司简介"
,
"店铺类型"
,
"公司logo"
]
...
@@ -33,24 +36,31 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -33,24 +36,31 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
var
ruzhu_url_str
=
""
//入驻连接
var
ruzhu_url_str
=
""
//入驻连接
var
action
=
-
1
//1为审核通过,2为审核不通过,3为审核通过待补齐资料
@IBOutlet
weak
var
list_view
:
UITableView
!
@IBOutlet
weak
var
list_view
:
UITableView
!
@IBAction
func
btm_action
(
_
sender
:
UIButton
)
{
@IBAction
func
btm_action
(
_
sender
:
UIButton
)
{
switch
sender
.
tag
{
switch
sender
.
tag
{
case
0
:
//通过
case
0
:
//通过
action
=
1
break
break
case
1
:
//补资料
case
1
:
//补资料
action
=
3
break
break
default
:
//不通过
default
:
//不通过
action
=
2
let
alterView
=
GeliAlertTextView
(
frame
:
self
.
view
.
window
!.
bounds
)
let
alterView
=
GeliAlertTextView
(
frame
:
self
.
view
.
window
!.
bounds
)
alterView
.
tag
=
2
alterView
.
tag
=
2
alterView
.
delegate
=
self
alterView
.
delegate
=
self
alterView
.
titleLbl
.
text
=
"请填写不通过原因"
alterView
.
titleLbl
.
text
=
"请填写不通过原因"
alterView
.
placerLbl
.
text
=
"请填写不通过原因(必填)"
alterView
.
placerLbl
.
text
=
"请填写不通过原因(必填)"
alterView
.
content
=
jing_ying_fan_wei_str
self
.
view
.
window
?
.
addSubview
(
alterView
)
self
.
view
.
window
?
.
addSubview
(
alterView
)
break
break
}
}
if
action
==
2
{
return
}
}
}
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
...
@@ -62,6 +72,60 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -62,6 +72,60 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
list_view
.
register
(
UINib
(
nibName
:
"TitleAndTFCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndTFCell"
)
list_view
.
register
(
UINib
(
nibName
:
"TitleAndTFCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndTFCell"
)
list_view
.
register
(
UINib
(
nibName
:
"TitleAndLblCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndLblCell"
)
list_view
.
register
(
UINib
(
nibName
:
"TitleAndLblCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndLblCell"
)
list_view
.
register
(
UINib
(
nibName
:
"DZSH_UPLOAD_IMG_CELL"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"DZSH_UPLOAD_IMG_CELL"
)
list_view
.
register
(
UINib
(
nibName
:
"DZSH_UPLOAD_IMG_CELL"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"DZSH_UPLOAD_IMG_CELL"
)
storeInfo
([
"user_token"
:
user_token
as
Any
,
"shop_id"
:
shop_id
as
Any
])
{[
self
]
(
data
)
in
let
dataModel
=
data
as!
storeInfo_model
let
model
=
dataModel
.
data
if
model
?
.
shop_name
!=
nil
{
name
=
(
model
?
.
shop_name
)
!
}
if
model
?
.
shop_img
!=
nil
{
logo_url_str
=
(
model
?
.
shop_img
)
!
}
if
model
?
.
addr_str
!=
nil
{
adr_str
=
(
model
?
.
addr_str
)
!
}
if
model
?
.
shop_tel
!=
nil
{
phone_str
=
(
model
?
.
shop_tel
)
!
}
if
model
?
.
shop_intro
!=
nil
{
intro_str
=
(
model
?
.
shop_intro
)
!
}
if
model
?
.
shop_scale
!=
nil
{
size_str
=
(
model
?
.
shop_scale
)
!
}
if
model
?
.
contacts_phone
!=
nil
{
conect_num_str
=
(
model
?
.
contacts_phone
)
!
}
if
model
?
.
contacts_name
!=
nil
{
conect_name
=
(
model
?
.
contacts_name
)
!
}
if
model
?
.
identity_card_front
!=
nil
{
conect_id_url_str
=
(
model
?
.
identity_card_front
)
!
}
if
model
?
.
business_licence_number
!=
nil
{
zhizhao_str
=
(
model
?
.
business_licence_number
)
!
}
if
model
?
.
business_sphere
!=
nil
{
jing_ying_fan_wei_str
=
(
model
?
.
business_sphere
)
!
}
if
model
?
.
zhizhao
!=
nil
{
zhizhao_url_str
=
(
model
?
.
zhizhao
)
!
}
if
model
?
.
food_production_license
!=
nil
{
xuke_url_str
=
(
model
?
.
food_production_license
)
!
}
if
model
?
.
agreement
!=
nil
{
ruzhu_url_str
=
(
model
?
.
agreement
)
!
}
self
.
list_view
.
reloadData
()
}
failture
:
{
(
err
)
in
}
}
}
//MARK: - tableviewdelegate
//MARK: - tableviewdelegate
...
@@ -85,7 +149,6 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -85,7 +149,6 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
switch
indexPath
.
section
{
switch
indexPath
.
section
{
case
0
:
case
0
:
if
indexPath
.
row
==
4
{
if
indexPath
.
row
==
4
{
print
(
"abc == "
,
UITableView
.
automaticDimension
)
return
UITableView
.
automaticDimension
return
UITableView
.
automaticDimension
}
}
if
indexPath
.
row
==
6
{
if
indexPath
.
row
==
6
{
...
@@ -117,6 +180,25 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -117,6 +180,25 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
switch
indexPath
.
section
{
switch
indexPath
.
section
{
case
0
:
//公司信息
case
0
:
//公司信息
cell
.
nameLbl
.
text
=
part1
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
part1
[
indexPath
.
row
]
switch
indexPath
.
row
{
case
0
:
cell
.
textTF
.
text
=
name
break
case
1
:
cell
.
textTF
.
text
=
adr_str
break
case
2
:
cell
.
textTF
.
text
=
phone_str
break
case
3
:
cell
.
textTF
.
text
=
size_str
break
case
5
:
cell
.
textTF
.
text
=
type_str
break
default
:
break
}
if
indexPath
.
row
==
4
{
if
indexPath
.
row
==
4
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
cell
.
imgRight
.
constant
=
0
cell
.
imgRight
.
constant
=
0
...
@@ -136,22 +218,40 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -136,22 +218,40 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
cell
.
img_height
.
constant
=
110
cell
.
img_height
.
constant
=
110
cell
.
img_width
.
constant
=
110
cell
.
img_width
.
constant
=
110
cell
.
bottom_lbl
.
isHidden
=
false
cell
.
bottom_lbl
.
isHidden
=
false
if
logo_url_str
.
count
>
0
{
cell
.
img_view
?
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
logo_url_str
))
}
else
{
cell
.
img_view
.
image
=
UIImage
(
named
:
"shangchuantupian"
)
}
return
cell
return
cell
}
}
case
1
:
case
1
:
cell
.
nameLbl
.
text
=
part2
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
part2
[
indexPath
.
row
]
if
indexPath
.
row
==
1
{
cell
.
textTF
.
text
=
conect_num_str
}
if
indexPath
.
row
==
0
{
cell
.
textTF
.
text
=
conect_name
}
if
indexPath
.
row
==
2
{
if
indexPath
.
row
==
2
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"DZSH_UPLOAD_IMG_CELL"
)
as!
DZSH_UPLOAD_IMG_CELL
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"DZSH_UPLOAD_IMG_CELL"
)
as!
DZSH_UPLOAD_IMG_CELL
cell
.
nameLbl
.
text
=
part2
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
part2
[
indexPath
.
row
]
cell
.
bottom_lbl
.
isHidden
=
true
cell
.
bottom_lbl
.
isHidden
=
true
cell
.
img_height
.
constant
=
125
cell
.
img_height
.
constant
=
125
cell
.
img_width
.
constant
=
225
cell
.
img_width
.
constant
=
225
if
(
conect_id_url_str
.
count
>
0
)
{
cell
.
img_view
?
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
conect_id_url_str
))
}
else
{
cell
.
img_view
.
image
=
UIImage
(
named
:
"shangchuantupian"
)
}
return
cell
return
cell
}
}
break
break
case
2
:
case
2
:
cell
.
nameLbl
.
text
=
part3
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
part3
[
indexPath
.
row
]
if
indexPath
.
row
==
0
{
cell
.
textTF
.
text
=
zhizhao_str
}
if
indexPath
.
row
==
1
{
if
indexPath
.
row
==
1
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
cell
.
imgRight
.
constant
=
0
cell
.
imgRight
.
constant
=
0
...
@@ -171,6 +271,15 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -171,6 +271,15 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
cell
.
bottom_lbl
.
isHidden
=
true
cell
.
bottom_lbl
.
isHidden
=
true
cell
.
img_height
.
constant
=
125
cell
.
img_height
.
constant
=
125
cell
.
img_width
.
constant
=
225
cell
.
img_width
.
constant
=
225
var
url
=
zhizhao_url_str
if
indexPath
.
row
==
3
{
url
=
xuke_url_str
}
if
url
.
count
>
0
{
cell
.
img_view
?
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
url
))
}
else
{
cell
.
img_view
.
image
=
UIImage
(
named
:
"shangchuantupian"
)
}
return
cell
return
cell
}
}
break
break
...
@@ -180,6 +289,11 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -180,6 +289,11 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
cell
.
bottom_lbl
.
isHidden
=
true
cell
.
bottom_lbl
.
isHidden
=
true
cell
.
img_height
.
constant
=
125
cell
.
img_height
.
constant
=
125
cell
.
img_width
.
constant
=
225
cell
.
img_width
.
constant
=
225
if
ruzhu_url_str
.
count
>
0
{
cell
.
img_view
?
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
ruzhu_url_str
))
}
else
{
cell
.
img_view
.
image
=
UIImage
(
named
:
"shangchuantupian"
)
}
return
cell
return
cell
}
}
...
@@ -241,6 +355,12 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -241,6 +355,12 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
func
sureGeliAlertTextViewAction
(
sender
:
String
,
view
:
GeliAlertTextView
)
{
func
sureGeliAlertTextViewAction
(
sender
:
String
,
view
:
GeliAlertTextView
)
{
switch
view
.
tag
{
switch
view
.
tag
{
case
2
:
//不通过原因
case
2
:
//不通过原因
if
sender
.
count
==
0
{
HUD
.
flash
(
.
label
(
"请填写不通过原因"
),
delay
:
1.2
)
return
}
return
return
case
4
:
//公司简介
case
4
:
//公司简介
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSH_Mg_ViewController.swift
View file @
5ff9014e
...
@@ -252,14 +252,6 @@ class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate,
...
@@ -252,14 +252,6 @@ class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate,
//MARK:--SelectContentViewDelegate
//MARK:--SelectContentViewDelegate
func
didselectCell
(
sender
:
Int
,
SelectContentView
:
SelectContentView
)
{
func
didselectCell
(
sender
:
Int
,
SelectContentView
:
SelectContentView
)
{
// selectIndexArr[showSelectvIndex] = sender
// selectV.colseBytitleArr(arr: [], index:showSelectvIndex)
// viewControllers.forEach { (vc) in
// // vc.dbt_type = selectIndexArr[0]
// vc.isUpData = false
// }
// let vc = viewControllers[selectIndex]
// vc.listView.mj_header?.beginRefreshing()
selectIndexArr
[
showSelectvIndex
]
=
sender
selectIndexArr
[
showSelectvIndex
]
=
sender
var
arr
:[
String
]
=
[]
var
arr
:[
String
]
=
[]
...
@@ -274,7 +266,11 @@ class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate,
...
@@ -274,7 +266,11 @@ class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate,
viewControllers
.
forEach
{
(
vc
)
in
viewControllers
.
forEach
{
(
vc
)
in
if
selectIndexArr
.
first
!=
-
1
{
if
selectIndexArr
.
first
!=
-
1
{
vc
.
from
=
selectIndexArr
.
first
!
var
from
=
selectIndexArr
.
first
!
if
from
==
0
{
from
=
100
}
vc
.
from
=
from
}
}
if
selectIndexArr
.
last
!=
-
1
{
if
selectIndexArr
.
last
!=
-
1
{
vc
.
audit_type
=
selectIndexArr
.
last
!
vc
.
audit_type
=
selectIndexArr
.
last
!
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.swift
View file @
5ff9014e
...
@@ -10,6 +10,7 @@ import UIKit
...
@@ -10,6 +10,7 @@ import UIKit
class
DZSH_UPLOAD_IMG_CELL
:
UITableViewCell
{
class
DZSH_UPLOAD_IMG_CELL
:
UITableViewCell
{
@IBOutlet
weak
var
img_view
:
UIImageView
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
@IBOutlet
weak
var
bottom_lbl
:
UILabel
!
@IBOutlet
weak
var
bottom_lbl
:
UILabel
!
@IBOutlet
weak
var
img_height
:
NSLayoutConstraint
!
@IBOutlet
weak
var
img_height
:
NSLayoutConstraint
!
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.xib
View file @
5ff9014e
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
<connections>
<connections>
<outlet
property=
"bottom_lbl"
destination=
"gSK-kC-eaq"
id=
"yHZ-XC-5Yb"
/>
<outlet
property=
"bottom_lbl"
destination=
"gSK-kC-eaq"
id=
"yHZ-XC-5Yb"
/>
<outlet
property=
"img_height"
destination=
"FQn-Tj-OvW"
id=
"ykE-1f-Oxn"
/>
<outlet
property=
"img_height"
destination=
"FQn-Tj-OvW"
id=
"ykE-1f-Oxn"
/>
<outlet
property=
"img_view"
destination=
"8TI-5w-kaC"
id=
"uYD-QZ-k2g"
/>
<outlet
property=
"img_width"
destination=
"OS5-6D-LA5"
id=
"Nv0-tK-sSc"
/>
<outlet
property=
"img_width"
destination=
"OS5-6D-LA5"
id=
"Nv0-tK-sSc"
/>
<outlet
property=
"nameLbl"
destination=
"zbd-li-RCQ"
id=
"K4j-av-sos"
/>
<outlet
property=
"nameLbl"
destination=
"zbd-li-RCQ"
id=
"K4j-av-sos"
/>
</connections>
</connections>
...
...
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