Commit 33a7f1b7 authored by lujunye's avatar lujunye

5

parent 4bc32ab5
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import UIKit import UIKit
class SY_GYS_GL_VC: BaseViewController , UISearchBarDelegate, SearchBarViewDelegate,UITableViewDelegate,UITableViewDataSource { class SY_GYS_GL_VC: BaseViewController , UISearchBarDelegate, SearchBarViewDelegate,UITableViewDelegate,UITableViewDataSource {
var titleStr = ""
let UserToken = UserDefaults.standard.value(forKey: "user_token") let UserToken = UserDefaults.standard.value(forKey: "user_token")
var keyword = "" var keyword = ""
...@@ -27,7 +27,7 @@ class SY_GYS_GL_VC: BaseViewController , UISearchBarDelegate, SearchBarViewDeleg ...@@ -27,7 +27,7 @@ class SY_GYS_GL_VC: BaseViewController , UISearchBarDelegate, SearchBarViewDeleg
} }
@IBOutlet weak var list_view: UITableView! @IBOutlet weak var list_view: UITableView!
@IBOutlet weak var contentV: UIView! @IBOutlet weak var contentV: UIView!
var titleStr = ""
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = titleStr navbar.title = titleStr
......
...@@ -13,7 +13,7 @@ class XY_DZ_GL_VC: BaseViewController, UISearchBarDelegate, SearchBarViewDelegat ...@@ -13,7 +13,7 @@ class XY_DZ_GL_VC: BaseViewController, UISearchBarDelegate, SearchBarViewDelegat
print("del \(cell.tag)") print("del \(cell.tag)")
} }
var titleStr = ""
let UserToken = UserDefaults.standard.value(forKey: "user_token") let UserToken = UserDefaults.standard.value(forKey: "user_token")
var keyword = "" var keyword = ""
...@@ -41,7 +41,7 @@ class XY_DZ_GL_VC: BaseViewController, UISearchBarDelegate, SearchBarViewDelegat ...@@ -41,7 +41,7 @@ class XY_DZ_GL_VC: BaseViewController, UISearchBarDelegate, SearchBarViewDelegat
@IBOutlet weak var contentV: UIView! @IBOutlet weak var contentV: UIView!
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = "下游店长管理" navbar.title = titleStr
navbar.rightTitle = "新增店铺" navbar.rightTitle = "新增店铺"
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrame(view: contentV, height: 45) SetTopFrame(view: contentV, height: 45)
......
...@@ -10,6 +10,9 @@ import UIKit ...@@ -10,6 +10,9 @@ import UIKit
import Parchment import Parchment
class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UITableViewDelegate,UITableViewDataSource{ class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UITableViewDelegate,UITableViewDataSource{
var titleStr = ""
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return centersArr.count return centersArr.count
} }
...@@ -60,7 +63,7 @@ class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UI ...@@ -60,7 +63,7 @@ class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UI
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = "供应商分销商品管理" navbar.title = titleStr
// navbar.rightImg = UIImage(named: "ss_dark") // navbar.rightImg = UIImage(named: "ss_dark")
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrameView(view: contentV, btmView: self.view) SetTopFrameView(view: contentV, btmView: self.view)
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
import UIKit import UIKit
class FXYGL_ViewController: BaseViewController, UISearchBarDelegate, SearchBarViewDelegate,UITableViewDelegate,UITableViewDataSource,FXYGL_CellDelegate, ADD_FXY_ViewDelegate, GeliAlertViewDelegate { class FXYGL_ViewController: BaseViewController, UISearchBarDelegate, SearchBarViewDelegate,UITableViewDelegate,UITableViewDataSource,FXYGL_CellDelegate, ADD_FXY_ViewDelegate, GeliAlertViewDelegate {
var titleStr = ""
func ADD_FXY_ViewFinish(name: String) { func ADD_FXY_ViewFinish(name: String) {
isAdd = true isAdd = true
let alertView = GeliAlertView(frame: self.view.window!.bounds) let alertView = GeliAlertView(frame: self.view.window!.bounds)
...@@ -184,7 +185,7 @@ class FXYGL_ViewController: BaseViewController, UISearchBarDelegate, SearchBarVi ...@@ -184,7 +185,7 @@ class FXYGL_ViewController: BaseViewController, UISearchBarDelegate, SearchBarVi
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = "分销员管理" navbar.title = titleStr
navbar.rightTitle = "新增" navbar.rightTitle = "新增"
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrame(view: search_view, height: 46) SetTopFrame(view: search_view, height: 46)
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
import UIKit import UIKit
class DistributorSettingViewController: BaseViewController { class DistributorSettingViewController: BaseViewController {
var titleStr = ""
@IBOutlet weak var topView: UIView! @IBOutlet weak var topView: UIView!
@IBAction func select_ac(_ sender: UIButton) { @IBAction func select_ac(_ sender: UIButton) {
if sender.tag == 2 { if sender.tag == 2 {
...@@ -62,7 +63,7 @@ class DistributorSettingViewController: BaseViewController { ...@@ -62,7 +63,7 @@ class DistributorSettingViewController: BaseViewController {
super.viewDidLoad() super.viewDidLoad()
leftBtn.backgroundColor = UIColor.white leftBtn.backgroundColor = UIColor.white
navbar.title = "分销商分账设置" navbar.title = titleStr
self.view.addSubview(navbar) self.view.addSubview(navbar)
self.view.backgroundColor = .white self.view.backgroundColor = .white
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<action selector="submitAction:" destination="-1" eventType="valueChanged" id="9Tx-Bb-shE"/> <action selector="submitAction:" destination="-1" eventType="valueChanged" id="9Tx-Bb-shE"/>
</connections> </connections>
</view> </view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="分账方式:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M3H-QL-Wkh"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="分账方式:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M3H-QL-Wkh">
<rect key="frame" x="39" y="111" width="56" height="19"/> <rect key="frame" x="39" y="111" width="56" height="19"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/> <color key="textColor" name="标题字颜色"/>
...@@ -116,8 +116,8 @@ ...@@ -116,8 +116,8 @@
<constraint firstAttribute="height" constant="1" id="O4O-5A-JCd"/> <constraint firstAttribute="height" constant="1" id="O4O-5A-JCd"/>
</constraints> </constraints>
</view> </view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="提成结算:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Yp-84-pY1"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="提成结算:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Yp-84-pY1">
<rect key="frame" x="39.5" y="217.5" width="55.5" height="19"/> <rect key="frame" x="39" y="217.5" width="56" height="19"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/> <color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
...@@ -300,11 +300,13 @@ ...@@ -300,11 +300,13 @@
<constraint firstItem="M3H-QL-Wkh" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="95" id="EVC-OV-tyg"/> <constraint firstItem="M3H-QL-Wkh" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="95" id="EVC-OV-tyg"/>
<constraint firstItem="d69-zx-Q5Q" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="Emc-tI-Nbp"/> <constraint firstItem="d69-zx-Q5Q" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="Emc-tI-Nbp"/>
<constraint firstAttribute="bottom" secondItem="UWP-yu-lmR" secondAttribute="bottom" id="F6D-M7-Wbb"/> <constraint firstAttribute="bottom" secondItem="UWP-yu-lmR" secondAttribute="bottom" id="F6D-M7-Wbb"/>
<constraint firstItem="2Yp-84-pY1" firstAttribute="leading" secondItem="M3H-QL-Wkh" secondAttribute="leading" id="Fc3-8Q-Fbz"/>
<constraint firstItem="cd1-Ru-T4p" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="95" id="GCd-AU-ePi"/> <constraint firstItem="cd1-Ru-T4p" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="95" id="GCd-AU-ePi"/>
<constraint firstItem="sJn-mb-uqO" firstAttribute="centerY" secondItem="2Yp-84-pY1" secondAttribute="centerY" id="GKg-Mv-1S7"/> <constraint firstItem="sJn-mb-uqO" firstAttribute="centerY" secondItem="2Yp-84-pY1" secondAttribute="centerY" id="GKg-Mv-1S7"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="U8z-0Z-8lJ" secondAttribute="bottom" id="KTe-2w-5Fj"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="U8z-0Z-8lJ" secondAttribute="bottom" id="KTe-2w-5Fj"/>
<constraint firstItem="UAI-CC-pCg" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="KeO-19-pWV"/> <constraint firstItem="UAI-CC-pCg" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="KeO-19-pWV"/>
<constraint firstItem="cd1-Ru-T4p" firstAttribute="top" secondItem="abH-an-xUL" secondAttribute="bottom" constant="20" id="Kes-eI-MPy"/> <constraint firstItem="cd1-Ru-T4p" firstAttribute="top" secondItem="abH-an-xUL" secondAttribute="bottom" constant="20" id="Kes-eI-MPy"/>
<constraint firstItem="M3H-QL-Wkh" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="39" id="KzE-xS-mdh"/>
<constraint firstItem="rdF-Hk-QO2" firstAttribute="leading" secondItem="1Jz-fi-X6W" secondAttribute="leading" id="LmN-2g-637"/> <constraint firstItem="rdF-Hk-QO2" firstAttribute="leading" secondItem="1Jz-fi-X6W" secondAttribute="leading" id="LmN-2g-637"/>
<constraint firstItem="120-wO-RM3" firstAttribute="leading" secondItem="kUr-sL-blR" secondAttribute="leading" id="NgH-9B-pnd"/> <constraint firstItem="120-wO-RM3" firstAttribute="leading" secondItem="kUr-sL-blR" secondAttribute="leading" id="NgH-9B-pnd"/>
<constraint firstItem="d69-zx-Q5Q" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="NtI-cO-ILe"/> <constraint firstItem="d69-zx-Q5Q" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="NtI-cO-ILe"/>
......
...@@ -10,7 +10,7 @@ import UIKit ...@@ -10,7 +10,7 @@ import UIKit
class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDataSource, UISearchBarDelegate, SearchBarViewDelegate,GYS_FX_ProductCellDelegate ,SelectContentViewDelegate,HeaderSelectViewDelegate,DistributorSettingAlertViewDelegate{ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDataSource, UISearchBarDelegate, SearchBarViewDelegate,GYS_FX_ProductCellDelegate ,SelectContentViewDelegate,HeaderSelectViewDelegate,DistributorSettingAlertViewDelegate{
var titleStr = ""
@IBOutlet weak var all_select_btn: UIButton! @IBOutlet weak var all_select_btn: UIButton!
@IBAction func select_mode_Action(_ sender: UIButton) { @IBAction func select_mode_Action(_ sender: UIButton) {
if selectItem.count == 0 { if selectItem.count == 0 {
...@@ -278,7 +278,7 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat ...@@ -278,7 +278,7 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
SetTopFrame(view: search_view, height: 44) SetTopFrame(view: search_view, height: 44)
navbar.title = "分销商品管理" navbar.title = titleStr
self.view.addSubview(navbar) self.view.addSubview(navbar)
navbar.rightTitle = "编辑商品" navbar.rightTitle = "编辑商品"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
import UIKit import UIKit
class KHXQ_ViewController: BaseViewController, TimeShowDownViewDeleagte, UISearchBarDelegate, SearchBarViewDelegate ,UITableViewDelegate,UITableViewDataSource,KHXQ_CellDelegate, GeliAlertViewDelegate{ class KHXQ_ViewController: BaseViewController, TimeShowDownViewDeleagte, UISearchBarDelegate, SearchBarViewDelegate ,UITableViewDelegate,UITableViewDataSource,KHXQ_CellDelegate, GeliAlertViewDelegate{
var titleStr = ""
func sureGeliAlertViewAction(sender: UIButton) { func sureGeliAlertViewAction(sender: UIButton) {
let model = dataArr[sender.tag] let model = dataArr[sender.tag]
let dic = [ let dic = [
...@@ -175,7 +176,7 @@ class KHXQ_ViewController: BaseViewController, TimeShowDownViewDeleagte, UISearc ...@@ -175,7 +176,7 @@ class KHXQ_ViewController: BaseViewController, TimeShowDownViewDeleagte, UISearc
@IBOutlet weak var search_view: UIView! @IBOutlet weak var search_view: UIView!
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = "客户详情" navbar.title = titleStr
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrame(view: top_view, height: 46) SetTopFrame(view: top_view, height: 46)
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
......
...@@ -701,34 +701,42 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD ...@@ -701,34 +701,42 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
return return
case 149://店长审核管理 case 149://店长审核管理
let vc = DZSH_Mg_ViewController() let vc = DZSH_Mg_ViewController()
vc.titleStr = "店长审核管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 150://下游店长管理 case 150://下游店长管理
let vc = DZGL_VC() let vc = DZGL_VC()
vc.titleStr = "下游店长管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 151://分销员审核管理 case 151://分销员审核管理
let vc = DSHFXY_ViewController() let vc = DSHFXY_ViewController()
vc.titleStr = "分销员审核管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 152://分销员管理 case 152://分销员管理
let vc = FXYGL_ViewController() let vc = FXYGL_ViewController()
vc.titleStr = "分销员管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 153://设置分销商品 case 153://设置分销商品
let vc = FX_Product_GuanLiVC() let vc = FX_Product_GuanLiVC()
vc.titleStr = "设置分销商品"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 154://设置代理商品 case 154://设置代理商品
let vc = FX_Product_GuanLiVC() let vc = FX_Product_GuanLiVC()
vc.titleStr = "设置代理商品"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 155://分销分账管理 case 155://分销分账管理
let vc = DistributorSettingViewController() let vc = DistributorSettingViewController()
vc.titleStr = "分销分账管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 156://分销客户管理 case 156://分销客户管理
let vc = KHXQ_ViewController() let vc = KHXQ_ViewController()
vc.titleStr = "分销客户管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 157://分销订单管理 case 157://分销订单管理
...@@ -743,10 +751,12 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD ...@@ -743,10 +751,12 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
return return
case 160://下游店长管理 case 160://下游店长管理
let vc = XY_DZ_GL_VC() let vc = XY_DZ_GL_VC()
vc.titleStr = "下游店长管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 161://上游代理商商品 case 161://上游代理商商品
let vc = GYS_FX_Product_ListVc() let vc = GYS_FX_Product_ListVc()
vc.titleStr = "上游代理商商品"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 162://代理订单管理 case 162://代理订单管理
...@@ -761,18 +771,22 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD ...@@ -761,18 +771,22 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
return return
case 165://上游代理商管理 case 165://上游代理商管理
let vc = SY_GYS_GL_VC() let vc = SY_GYS_GL_VC()
vc.titleStr = "上游代理商管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 166://上游供应商商品 case 166://上游供应商商品
let vc = GYS_FX_Product_ListVc() let vc = GYS_FX_Product_ListVc()
vc.titleStr = "上游供应商商品"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 167://上游代理商商品管理 case 167://上游代理商商品管理
let vc = FX_Product_GuanLiVC() let vc = FX_Product_GuanLiVC()
vc.titleStr = "上游代理商商品管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 168://店长订单管理 case 168://店长订单管理
let vc = RetailListMgVC() let vc = RetailListMgVC()
vc.titleStr = "店长订单管理"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
default: default:
......
...@@ -12,7 +12,7 @@ import Parchment ...@@ -12,7 +12,7 @@ import Parchment
class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate, UISearchBarDelegate, SearchBarViewDelegate ,HeaderSelectViewDelegate ,SelectContentViewDelegate,TimeShowDownViewDeleagte{ class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate, UISearchBarDelegate, SearchBarViewDelegate ,HeaderSelectViewDelegate ,SelectContentViewDelegate,TimeShowDownViewDeleagte{
var titleStr = ""
@IBOutlet weak var contentV: UIView! @IBOutlet weak var contentV: UIView!
fileprivate let cities = [ fileprivate let cities = [
"待审核列表", "待审核列表",
...@@ -28,7 +28,7 @@ class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate, ...@@ -28,7 +28,7 @@ class DZSH_Mg_ViewController: BaseViewController ,PagingViewControllerDelegate,
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = "待审核店长" navbar.title = titleStr
navbar.lineView.isHidden = true navbar.lineView.isHidden = true
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrameView(view: contentV, btmView: self.view) SetTopFrameView(view: contentV, btmView: self.view)
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
import UIKit import UIKit
class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate, SearchBarViewDelegate ,DZGL_Cell_Delegate,GeliAlertViewDelegate,DZSH_Detail_ViewController_Delegate { class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate, SearchBarViewDelegate ,DZGL_Cell_Delegate,GeliAlertViewDelegate,DZSH_Detail_ViewController_Delegate {
var titleStr = ""
func DZSH_Detail_ViewController_refresh() { func DZSH_Detail_ViewController_refresh() {
tableView.mj_header?.beginRefreshing() tableView.mj_header?.beginRefreshing()
} }
...@@ -203,7 +204,7 @@ class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, U ...@@ -203,7 +204,7 @@ class DZGL_VC: BaseViewController, UITableViewDelegate, UITableViewDataSource, U
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = "店长管理" navbar.title = titleStr
navbar.rightTitle = "新增店铺" navbar.rightTitle = "新增店铺"
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrame(view: search_view, height: 44) SetTopFrame(view: search_view, height: 44)
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
import UIKit import UIKit
class DSHFXY_ViewController: BaseViewController, HeaderSelectViewDelegate, TimeShowDownViewDeleagte, SelectContentViewDelegate, UISearchBarDelegate, SearchBarViewDelegate, UITableViewDelegate, UITableViewDataSource,DSHFXY_CellDelegate, GeliAlertViewDelegate { class DSHFXY_ViewController: BaseViewController, HeaderSelectViewDelegate, TimeShowDownViewDeleagte, SelectContentViewDelegate, UISearchBarDelegate, SearchBarViewDelegate, UITableViewDelegate, UITableViewDataSource,DSHFXY_CellDelegate, GeliAlertViewDelegate {
var titleStr = ""
func sureGeliAlertViewAction(sender: UIButton) { func sureGeliAlertViewAction(sender: UIButton) {
let model = dataArr[sender.tag] let model = dataArr[sender.tag]
let dic = [ let dic = [
...@@ -172,7 +174,7 @@ class DSHFXY_ViewController: BaseViewController, HeaderSelectViewDelegate, TimeS ...@@ -172,7 +174,7 @@ class DSHFXY_ViewController: BaseViewController, HeaderSelectViewDelegate, TimeS
let UserToken = UserDefaults.standard.value(forKey: "user_token") let UserToken = UserDefaults.standard.value(forKey: "user_token")
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
navbar.title = "待审核分销员" navbar.title = titleStr
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrame(view: search_view, height: 46) SetTopFrame(view: search_view, height: 46)
initHeaderSelectView() initHeaderSelectView()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment