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
8f1e5d6d
Commit
8f1e5d6d
authored
Mar 25, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
safasfdas345234523adfasdf
parent
b1e798bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/店长审核/DZSH_Detail_ViewController.swift
...form/ViewController/店长审核/DZSH_Detail_ViewController.swift
+3
-4
GeliBusinessPlatform/ViewController/店长管理/DZGL_VC.swift
GeliBusinessPlatform/ViewController/店长管理/DZGL_VC.swift
+4
-3
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
8f1e5d6d
No preview for this file type
GeliBusinessPlatform/ViewController/店长审核/DZSH_Detail_ViewController.swift
View file @
8f1e5d6d
...
@@ -323,12 +323,14 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -323,12 +323,14 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
manger
.
requestWhenInUseAuthorization
()
manger
.
requestWhenInUseAuthorization
()
if
title_str
==
"店铺信息"
{
if
title_str
==
"店铺信息"
{
action
=
4
btm_action_view
.
removeFromSuperview
()
btm_action_view
.
removeFromSuperview
()
btm_action_bg
.
removeFromSuperview
()
btm_action_bg
.
removeFromSuperview
()
}
else
{
}
else
{
if
type
==
2
{
//已审核
if
type
==
2
{
//已审核
btm_action_view
.
removeFromSuperview
()
btm_action_view
.
removeFromSuperview
()
btm_action_bg
.
removeFromSuperview
()
btm_action_bg
.
removeFromSuperview
()
action
=
4
if
action
!=
3
{
if
action
!=
3
{
btm_h
.
constant
=
0
btm_h
.
constant
=
0
lbl_top
.
constant
=
0
lbl_top
.
constant
=
0
...
@@ -337,7 +339,7 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -337,7 +339,7 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
}
}
}
}
}
}
print
(
"action === "
,
action
)
hourArr
.
removeAll
()
hourArr
.
removeAll
()
minArr
.
removeAll
()
minArr
.
removeAll
()
...
@@ -794,10 +796,8 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -794,10 +796,8 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndTFCell"
)
as!
TitleAndTFCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndTFCell"
)
as!
TitleAndTFCell
return
cell
return
cell
}
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
switch
indexPath
.
section
{
switch
indexPath
.
section
{
...
@@ -991,7 +991,6 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -991,7 +991,6 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
saveFile
(
image
:
upLoadImg
,
[
"user_token"
:
user_token
as
Any
,
"path"
:
"shops"
as
Any
],
success
:
{
(
data
)
in
saveFile
(
image
:
upLoadImg
,
[
"user_token"
:
user_token
as
Any
,
"path"
:
"shops"
as
Any
],
success
:
{
(
data
)
in
let
dataM
=
data
as!
SaveFileModel
let
dataM
=
data
as!
SaveFileModel
if
dataM
.
code
==
1
{
if
dataM
.
code
==
1
{
print
(
"图片上传成功
\(
dataM
.
data
?
.
url
)
"
)
print
(
"图片上传成功
\(
dataM
.
data
?
.
url
)
"
)
switch
tag
{
switch
tag
{
case
21
:
case
21
:
...
...
GeliBusinessPlatform/ViewController/店长管理/DZGL_VC.swift
View file @
8f1e5d6d
...
@@ -57,8 +57,7 @@ class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, U
...
@@ -57,8 +57,7 @@ class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, U
let
alertView
=
GeliAlertView
(
frame
:
self
.
view
.
window
!.
bounds
)
let
alertView
=
GeliAlertView
(
frame
:
self
.
view
.
window
!.
bounds
)
alertView
.
delegate
=
self
;
alertView
.
delegate
=
self
;
alertView
.
tishiLbl
.
text
=
""
alertView
.
tishiLbl
.
text
=
""
let
model
=
dbt_datas
[
cell
.
tag
]
alertView
.
titileLbl
.
text
=
"确定删除?"
alertView
.
titileLbl
.
text
=
"确定删除 ‘
\(
model
.
shop_name
!
)
’?"
alertView
.
rightBtn
.
setAttributedTitle
(
NSAttributedString
(
string
:
"确定"
),
for
:
.
normal
)
alertView
.
rightBtn
.
setAttributedTitle
(
NSAttributedString
(
string
:
"确定"
),
for
:
.
normal
)
alertView
.
rightBtn
.
tag
=
cell
.
tag
alertView
.
rightBtn
.
tag
=
cell
.
tag
self
.
view
.
window
?
.
addSubview
(
alertView
)
self
.
view
.
window
?
.
addSubview
(
alertView
)
...
@@ -124,7 +123,9 @@ class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, U
...
@@ -124,7 +123,9 @@ class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, U
cell
.
tag
=
indexPath
.
row
cell
.
tag
=
indexPath
.
row
let
model
=
dbt_datas
[
indexPath
.
row
]
let
model
=
dbt_datas
[
indexPath
.
row
]
cell
.
name_lbl
.
text
=
model
.
shop_name
cell
.
name_lbl
.
text
=
model
.
shop_name
cell
.
img_view
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
shop_img_thumb
!
))
if
model
.
shop_img_thumb
!=
nil
{
cell
.
img_view
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
shop_img_thumb
!
))
}
cell
.
adr_lbl
.
text
=
model
.
address
cell
.
adr_lbl
.
text
=
model
.
address
cell
.
time_lbl
.
text
=
model
.
create_time
cell
.
time_lbl
.
text
=
model
.
create_time
var
status
=
"一对多"
var
status
=
"一对多"
...
...
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