Commit 2c8489eb authored by Steven杜宇's avatar Steven杜宇

// 消息新增资料递交UI及交互逻辑

parent 2ea8f489
......@@ -228,6 +228,10 @@ extension YHMessageDetailListVC: UITableViewDelegate, UITableViewDataSource {
vc.orderId = orderId
navigationController?.pushViewController(vc)
}
} else if self.type == YHMessageType.infoSubmit.rawValue { // 资料递交
self.navigationController?.popToRootViewController(animated: false)
goTabBarBy(tabType: .service)
}
}
}
......
......@@ -15,6 +15,7 @@ enum YHMessageType: Int {
case cerUpload = 2 // 证件上传
case draft = 3 // 文书定稿
case fileSign = 4 // 文件签字
case infoSubmit = 5 // 资料递交
}
class YHMessageInfoModel: SmartCodable {
......@@ -46,6 +47,9 @@ class YHMessageInfoModel: SmartCodable {
} else if type == YHMessageType.fileSign.rawValue {
return "文件签字"
} else if type == YHMessageType.infoSubmit.rawValue {
return "资料递交"
}
return ""
}
......
......@@ -52,6 +52,9 @@ class YHDetailMessageCell: UITableViewCell {
} else if type == YHMessageType.fileSign.rawValue {
bottomBtn.setTitle("去签字".local, for: .normal)
} else if type == YHMessageType.infoSubmit.rawValue {
bottomBtn.setTitle("去查看".local, for: .normal)
}
}
......
......@@ -45,6 +45,9 @@ class YHMessageSessionCell: UITableViewCell {
} else if model.type == YHMessageType.fileSign.rawValue {
self.iconImgView.image = UIImage(named: "msg_icon_file_sign")
} else if model.type == YHMessageType.infoSubmit.rawValue {
self.iconImgView.image = UIImage(named: "msg_icon_info_submit")
}
self.badgeLabel.isHidden = model.unreadCount <= 0
......
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ziliaodijiao(2).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
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