Commit 80b34594 authored by 哈南's avatar 哈南

更新

parent 85ccf26f
......@@ -1134,6 +1134,7 @@
"${BUILT_PRODUCTS_DIR}/SwiftyJSON/SwiftyJSON.framework",
"${BUILT_PRODUCTS_DIR}/YXAlertController/YXAlertController.framework",
"${BUILT_PRODUCTS_DIR}/YXKit/YXKit.framework",
"${BUILT_PRODUCTS_DIR}/swiftScan/swiftScan.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
......@@ -1158,6 +1159,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftyJSON.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YXAlertController.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YXKit.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/swiftScan.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
......
......@@ -17,3 +17,6 @@ public let UPDATE_BILL_DETAIL_LIST: String = "UPDATE_BILL_DETAIL_LIST"
/// 更新新建工单列表
public let UPDATE_REPAIRORDER_ADD_LIST: String = "UPDATE_REPAIRORDER_ADD_LIST"
/// 更新新建工单列表
public let UPDATE_RECEIVE_ORDER_LIST: String = "UPDATE_RECEIVE_ORDER_LIST"
......@@ -14,8 +14,8 @@ import Foundation
//public let BaseAttachmentUrl: String = "http://192.168.1.176:9030"
//重庆IFS测试环境
//public let BaseUrl: String="http://222.180.250.18:7080/ifs-server/rest/"
//public let BaseAttachmentUrl: String="http://222.180.250.18:7080"
public let BaseUrl: String="http://222.180.250.18:7080/ifs-server/rest/"
public let BaseAttachmentUrl: String="http://222.180.250.18:7080"
//成都IFS测试环境
//public let BaseUrl: String="http://183.221.125.236:7080/ifs-server/rest/"
//public let BaseAttachmentUrl: String="http://183.221.125.236:7080"
......@@ -32,8 +32,8 @@ import Foundation
//public let BaseAttachmentUrl: String = "http://183.221.125.236:7080"
//外网开发环境
public let BaseUrl: String = "http://dev.gomoretech.com/ifs-server/rest"
public let BaseAttachmentUrl: String = "http://dev.gomoretech.com"
//public let BaseUrl: String = "http://dev.gomoretech.com/ifs-server/rest"
//public let BaseAttachmentUrl: String = "http://dev.gomoretech.com"
/// 登录
public let loginUrl: String = "/user/login/%@"
......@@ -42,7 +42,7 @@ public let updateUrl = "/ipapk?type=ipa";
/// 修改密码
public let changePassword = "/user/change_password/%@?time=%@&operId=%@&operName=%@";
/// 待办事项
public let todoUrl: String = "/todo/workExecute/query"
public let todoUrl: String = "/todo/messageRemind/query"
/// 新建工单来源
public let sourceUrl: String = "/config/getValue/source"
/// 新建工单服务类型
......
......@@ -284,8 +284,10 @@ extension Service: TargetType {
let data = MultipartFormData(provider: .file(URL(fileURLWithPath: attachmentModel.fileUrl)), name: "file", fileName: attachmentModel.fileName, mimeType: "image/jpeg")
return .uploadMultipart([data])
case .SaveChildBill(let model):
print(model.toDictionary())
return .requestParameters(parameters: model.toDictionary(), encoding: JSONEncoding.default)
case .FinishChildBill(let model):
print(model.toDictionary())
return .requestParameters(parameters: model.toDictionary(), encoding: JSONEncoding.default)
case .QueryProjectOption(let model):
return .requestParameters(parameters: model.toDictionary(), encoding: JSONEncoding.default)
......
......@@ -116,6 +116,7 @@ extension PhotoAttachmentViewController: UICollectionViewDelegate,UICollectionVi
if attachment.attachmentType == .ATTACHMENT_ADD {
let imagePickerController = ImagePickerController()
imagePickerController.delegate = self
imagePickerController.galleryView.isHidden = true
let count = attachmentViewModel.photoAttachments.count
if count - kONE >= imageCount {
ShowMessage(String(format: "最多只能拍摄%d张照片", imageCount))
......@@ -163,7 +164,8 @@ extension PhotoAttachmentViewController: ImagePickerDelegate {
}
func doneButtonDidPress(_ imagePicker: ImagePickerController, images: [UIImage]) {
for image in images {
let remarkImages = imageAddRemark(images: images)
for image in remarkImages {
attachmentViewModel.photoAttachments.insert(PhotoAttachmentModel(image, .ATTACHMENT_LOCAL), at: kZERO)
dismiss(animated: true, completion: {[weak self] ()->() in
let count = self?.attachmentViewModel.photoAttachments.count
......@@ -179,6 +181,17 @@ extension PhotoAttachmentViewController: ImagePickerDelegate {
func cancelButtonDidPress(_ imagePicker: ImagePickerController) {
dismiss(animated: true, completion: nil)
}
func imageAddRemark(images:[UIImage]) -> [UIImage]{
var remarkImages = [UIImage]()
let dic = [NSAttributedStringKey.foregroundColor : UIColor.yellow,NSAttributedStringKey.font:UIFont.systemFont(ofSize: 17)]
let timeString = Date().toString(dateStyle: DateFormatter.Style.medium, timeStyle: DateFormatter.Style.medium)
for image in images {
let waterImage = image.imageWaterMark(with: timeString, point: CGPoint(x: 20, y: image.size.height - 20), attribute: dic) ?? UIImage()
remarkImages.append(waterImage)
}
return remarkImages
}
}
// MARK: - 删除附件
......
......@@ -15,11 +15,14 @@ class PublicFilterModel: NSObject {
// 0 表示为选中
// 1 表示选中
@objc var isSelected: String!
var index = 0
init(uuid: String, title: String, isSelected: String) {
self.uuid = uuid
self.title = title
self.isSelected = isSelected
}
convenience init(uuid: String, title: String, isSelected: String,index: Int) {
self.init(uuid: uuid, title: title, isSelected: isSelected)
self.index = index
}
}
......@@ -22,6 +22,7 @@ class FunctionViewController: BaseViewController {
override func viewDidLoad() {
super.viewDidLoad()
functionViewModel.updateItemArray()
setupCollectionView()
}
......
......@@ -23,7 +23,14 @@ class FunctionViewModel: BaseViewModel {
return itemImgArrays
}()
func updateItemArray(){
if !PermissionsManager.todoViewPermissions() {
itemArrays.removeFirst()
}
if !PermissionsManager.billViewPermissions() {
itemArrays.removeLast()
}
}
}
extension FunctionViewModel {
......
......@@ -93,6 +93,7 @@ class RepairOrderAddTableViewController: BaseTableViewController {
}
self?.tableView.reloadData()
}).disposed(by: disposeBag)
repairOrderAddViewModel.repairOrderinit(controller: self)
}
// MARK: - 提交工单--上传附件
......
......@@ -50,6 +50,10 @@ class RepairOrderChildBillDetailViewController: BaseTableViewController {
@IBOutlet weak var describeLabel: UILabel!
/// 设备名称
@IBOutlet weak var deviceNameLabel: UILabel!
/// 条形码 ImageView
@IBOutlet weak var codeImageView: UIImageView!
/// 条形码 Label
@IBOutlet weak var codeLabel: UILabel!
/// 附件宽度
let imageWidth = ((kWidth - 90) - CGFloat((3 + kONE) * 5)) / 3
......
......@@ -57,7 +57,9 @@ class RepairOrderDetailViewController: BaseTableViewController {
@IBOutlet weak var completionLabel: UILabel!
/// 备注
@IBOutlet weak var remarkLabel: UILabel!
//条形码
@IBOutlet weak var codeImageView: UIImageView!
@IBOutlet weak var codeLabel: UILabel!
/// 附件宽度
let imageWidth = ((kWidth - 90) - CGFloat((3 + kONE) * 5)) / 3
/// 工单状态回调
......@@ -124,7 +126,7 @@ class RepairOrderDetailViewController: BaseTableViewController {
}
// MARK: - 前往子工单完成界面
fileprivate func gotoEditingSonOrderVc(_ indexPath: IndexPath) {
fileprivate func gotoEditingSonOrderVc(_ indexPath: IndexPath,isEditable:Bool = true){
self.performSegue(withIdentifier: RepairOrderEditSonOrderViewController.name(), sender: indexPath)
}
......@@ -297,14 +299,14 @@ extension RepairOrderDetailViewController {
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SUBORDER.rawValue {
return orderDetailViewModel.dequeueChildBillReusableCell(RepairOrderSubOrderTableViewCell.name(), indexPath, tableView)
}
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 9 {
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 10 {
let attachmentCell = tableView.dequeueReusableCell(withIdentifier: RepairOrderAttachmentTableViewCell.name(), for: indexPath) as! RepairOrderAttachmentTableViewCell
attachmentCell.titleLabel.text = "位置图"
locationAttVc.view.frame = CGRect(x: 80, y: 5, width: kWidth - 90, height: locationAttHeight)
attachmentCell.contentView.addSubview(locationAttVc.view)
return attachmentCell
}
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 14 {
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 15 {
let attachmentCell = tableView.dequeueReusableCell(withIdentifier: RepairOrderAttachmentTableViewCell.name(), for: indexPath) as! RepairOrderAttachmentTableViewCell
attachmentCell.titleLabel.text = "照片描述"
attachmentVc.view.frame = CGRect(x: 80, y: 5, width: kWidth - 90, height: attachmentHeight)
......@@ -353,19 +355,19 @@ extension RepairOrderDetailViewController {
}
return childBillCellHeight
}
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 9 {
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 10 {
return locationAttHeight + 20
}
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 13 {
return orderDetailViewModel.billDetailModel.descriptionFieldHeight + 20
}
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 14 {
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 15 {
return attachmentHeight + 20
}
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 15 {
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.SOURCE.rawValue && indexPath.row == 16 {
return orderDetailViewModel.billDetailModel.noteHeight + 20
}
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.COMPLETED.rawValue && indexPath.row == 1 {
if indexPath.section == REPAIR_ORDER_DETAIL_SECTION.COMPLETED.rawValue && indexPath.row == 2 {
return orderDetailViewModel.billDetailModel.finishNoteHeight + 20
}
return super.tableView(tableView, heightForRowAt: indexPath)
......@@ -402,28 +404,28 @@ extension RepairOrderDetailViewController {
break
case SUBMIT_REPAIR_ORDER_STATE.DREW.rawValue:
if orderDetailViewModel.billDetailModel.state == SUBMIT_REPAIR_ORDER_STATE.FINISHED.rawValue || orderDetailViewModel.billDetailModel.state == SUBMIT_REPAIR_ORDER_STATE.CANCLED.rawValue || orderDetailViewModel.billDetailModel.state == SUBMIT_REPAIR_ORDER_STATE.DELETED.rawValue {
if !PermissionsManager.childViewPermissions() {
ShowMessage("当前用户对此工单没有查看权限!")
return;
}
// if !PermissionsManager.childViewPermissions() {
// ShowMessage("当前用户对此工单没有查看权限!")
// return;
// }
self.performSegue(withIdentifier: RepairOrderChildBillDetailViewController.name(), sender: indexPath)
return
}
if !model.isEditable && !PermissionsManager.childViewPermissions() {
ShowMessage("当前用户对此工单没有操作权限!")
return;
}
if !model.isEditable && PermissionsManager.childViewPermissions() {
// if !model.isEditable && !PermissionsManager.childViewPermissions() {
// ShowMessage("当前用户对此工单没有操作权限!")
// return;
// }
if !model.isEditable && !PermissionsManager.finishChildPermissions() {
self.performSegue(withIdentifier: RepairOrderChildBillDetailViewController.name(), sender: indexPath)
return;
}
gotoEditingSonOrderVc(indexPath)
break
case SUBMIT_REPAIR_ORDER_STATE.DONE.rawValue,SUBMIT_REPAIR_ORDER_STATE.CANCLED.rawValue:
if !PermissionsManager.childViewPermissions() {
ShowMessage("当前用户对此工单没有查看权限!")
return;
}
// if !PermissionsManager.childViewPermissions() {
// ShowMessage("当前用户对此工单没有查看权限!")
// return;
// }
self.performSegue(withIdentifier: RepairOrderChildBillDetailViewController.name(), sender: indexPath)
break
default:
......
......@@ -43,6 +43,11 @@ class RepairOrderEditSonOrderViewController: BaseTableViewController {
@IBOutlet weak var materialCostLabel: UILabel!
/// 描述
@IBOutlet weak var describeTextView: IQTextView!
@IBOutlet weak var codeImageView: UIImageView!
@IBOutlet weak var codeLabel: UILabel!
/// 维修前图片附件
lazy final var beforAttachmentVc: PhotoAttachmentViewController = {
var attachmentVc = PhotoAttachmentViewController.instantiateViewController(.Function) as! PhotoAttachmentViewController
......@@ -107,9 +112,15 @@ class RepairOrderEditSonOrderViewController: BaseTableViewController {
childBillViewModel.queryChildBillDetailAction(billModel.uuid).subscribe {[weak self] (event) in
self?.childBillViewModel.childBillDetailAssignment(self!)
self?.disposeAttachment()
self?.updateUI()
}.disposed(by: disposeBag)
}
func updateUI(){
if self.childBillViewModel.childBillDetailData.isEditable && PermissionsManager.saveChildPermissions() {
navigationItem.rightBarButtonItem = createButtonItem("保存", nil, self, #selector(RepairOrderEditSonOrderViewController.saveButtonClickAction))
}
}
// MARK: - 获取图片附件通过entity uuid
fileprivate func disposeAttachment() {
if !childBillViewModel.childBillDetailData.beginAttachmentId.isEmpty {
......@@ -163,26 +174,24 @@ class RepairOrderEditSonOrderViewController: BaseTableViewController {
if PermissionsManager.finishChildPermissions() {
tableView.tableFooterView = completeView
}
if PermissionsManager.saveChildPermissions() {
navigationItem.rightBarButtonItem = createButtonItem("保存", nil, self, #selector(RepairOrderEditSonOrderViewController.saveButtonClickAction))
}
// if self.billModel.isEditable {
// navigationItem.rightBarButtonItem = createButtonItem("保存", nil, self, #selector(RepairOrderEditSonOrderViewController.saveButtonClickAction))
// }
}
func backUP(){
Network.request(target: Service.ChildOrderComplete(self.childBillViewModel.childBillDetailData.uuid, "done"), success: { (json) in
}, failure: { (error) in
})
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.2, execute: {
self.popVC()
Network.request(target: Service.ChildOrderComplete(self.childBillViewModel.childBillDetailData.uuid, "done"), success: {[weak self] (json) in
NotificationCenter.default.post(name: NSNotification.Name(UPDATE_RECEIVE_ORDER_LIST), object: nil)
self?.popVC()
}, failure: {[weak self] (error) in
self?.popVC()
})
}
// MARK: - 提交、保存子工单
@objc fileprivate func saveButtonClickAction() {
if !PermissionsManager.saveChildPermissions() {
ShowMessage("当前用户对此工单没有保存权限!")
return;
}
// if !PermissionsManager.saveChildPermissions() {
// ShowMessage("当前用户对此工单没有保存权限!")
// return;
// }
ShowAlertView(hint, "确定保存此子工单吗?", [cancel,sure], .alert) {[weak self] (index) in
if index == kZERO { return }
self?.uploadActtachmentAction().subscribe(onNext: { (result) in
......
......@@ -7,6 +7,133 @@
import Foundation
import SwiftyJSON
class ChildBillWorkPeople:NSObject{
var uuid: String!
var login: String!
var name: String!
var password: String!
var mobile: String!
var email: String!
var enabled: Bool!
var position: String!
var address: String!
var belongOrg: String!
var remark: String!
var state: String!
var businessType: String!
var thirdLogin: String!
var jobGrade: String!
var jobLeavel: String!
var jobPost: String!
var positions:[String]!
init(model:InitiatorResultData){
self.uuid = model.uuid
self.login = model.login
self.name = model.name
self.password = model.password
self.mobile = model.mobile
self.email = model.email
self.enabled = model.enabled
self.position = model.position
self.address = model.address
self.belongOrg = model.belongOrg
self.remark = model.remark
self.state = model.state
self.businessType = model.businessType
self.thirdLogin = model.thirdLogin
self.jobGrade = model.jobGrade
self.jobLeavel = model.jobLeavel
self.jobPost = model.jobPost
self.positions = model.positions
}
init(fromJson json: JSON!){
if json.isEmpty{
return
}
self.uuid = json["uuid"].stringValue
self.login = json["login"].stringValue
self.name = json["name"].stringValue
self.password = json["password"].stringValue
self.mobile = json["mobile"].stringValue
self.email = json["email"].stringValue
self.enabled = json["enabled"].boolValue
self.position = json["position"].stringValue
self.address = json["address"].stringValue
self.belongOrg = json["belongOrg"].stringValue
self.remark = json["remark"].stringValue
self.state = json["state"].stringValue
self.businessType = json["businessType"].stringValue
self.thirdLogin = json["thirdLogin"].stringValue
self.jobGrade = json["jobGrade"].stringValue
self.jobLeavel = json["jobLeavel"].stringValue
self.jobPost = json["jobPost"].stringValue
positions = [String]()
let positionsArray = json["positions"].arrayValue
for positionsJson in positionsArray{
positions.append(positionsJson.stringValue)
}
}
func toDictionary() -> [String:Any]
{
var dictionary = [String:Any]()
if address != nil{
dictionary["address"] = address
}
if belongOrg != nil{
dictionary["belongOrg"] = belongOrg
}
if businessType != nil{
dictionary["businessType"] = businessType
}
if email != nil{
dictionary["email"] = email
}
if enabled != nil{
dictionary["enabled"] = enabled
}
if jobGrade != nil{
dictionary["jobGrade"] = jobGrade
}
if jobLeavel != nil{
dictionary["jobLeavel"] = jobLeavel
}
if jobPost != nil{
dictionary["jobPost"] = jobPost
}
if login != nil{
dictionary["login"] = login
}
if mobile != nil{
dictionary["mobile"] = mobile
}
if name != nil{
dictionary["name"] = name
}
if password != nil{
dictionary["password"] = password
}
if position != nil && position != ""{
dictionary["position"] = position
}
if positions != nil{
dictionary["positions"] = positions
}
if remark != nil{
dictionary["remark"] = remark
}
if state != nil{
dictionary["state"] = state
}
if thirdLogin != nil{
dictionary["thirdLogin"] = thirdLogin
}
if uuid != nil{
dictionary["uuid"] = uuid
}
return dictionary
}
}
class ChildBillDetailResultModel : NSObject{
......@@ -74,6 +201,7 @@ open class ChildBillDetailData : NSObject{
var processBegin : String!
var processEnd : String!
var processMode : String!
var processors : [ChildBillWorkPeople] = [ChildBillWorkPeople]()
var processor : String!
var property1 : String!
var property2 : String!
......@@ -82,8 +210,7 @@ open class ChildBillDetailData : NSObject{
var uuid : String!
var version : Int!
var workid : String!
var isEditable: Bool!
init(_ state: String) {
self.state = state
......@@ -130,6 +257,14 @@ open class ChildBillDetailData : NSObject{
if !ownerJson.isEmpty{
owner = UCN(fromJson: ownerJson)
}
let workerJson = json["processors"].arrayValue
if !workerJson.isEmpty{
var workPeoples : [ChildBillWorkPeople] = [ChildBillWorkPeople]()
for json in workerJson{
workPeoples.append(ChildBillWorkPeople(fromJson: json))
}
processors = workPeoples
}
ownerTime = json["ownerTime"].stringValue
processBegin = json["processBegin"].stringValue
processEnd = json["processEnd"].stringValue
......@@ -142,6 +277,7 @@ open class ChildBillDetailData : NSObject{
uuid = json["uuid"].stringValue
version = json["version"].intValue
workid = json["workid"].stringValue
isEditable = json["isEditable"].boolValue
}
/**
......@@ -216,9 +352,9 @@ open class ChildBillDetailData : NSObject{
if processMode != nil{
dictionary["processMode"] = processMode
}
if processor != nil{
dictionary["processor"] = processor
}
// if processor != nil{
// dictionary["processor"] = processor
// }
if property1 != nil{
dictionary["property1"] = property1
}
......@@ -240,6 +376,15 @@ open class ChildBillDetailData : NSObject{
if workid != nil{
dictionary["workid"] = workid
}
if isEditable != nil{
dictionary["isEditable"] = isEditable
}
if processors.count > 0{
let array = processors.map({ (model) -> [String:Any] in
return model.toDictionary()
})
dictionary["processors"] = array
}
return dictionary
}
}
......
......@@ -21,6 +21,7 @@ class RepairOrderDetailSuspendView: UIView {
/// 转交时间
@IBOutlet weak var operationTimeLab: UILabel!
@IBOutlet weak var buttonWidth: NSLayoutConstraint!
/// 数据源
var model: BillDetailExecute!
......@@ -54,6 +55,9 @@ class RepairOrderDetailSuspendView: UIView {
case SUBMIT_REPAIR_ORDER_STATE.DREW.rawValue:
operationOrderBtn.setTitle(SUSPEND_BUTTON_TYPE.COMPLETED.rawValue, for: .normal)
operationOrderBtn.backgroundColor = kYellowColor
if !PermissionsManager.finishChildPermissions(){
buttonWidth.constant = 0
}
break
default:
break
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13527"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......@@ -82,6 +82,7 @@
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
<connections>
<outlet property="buttonWidth" destination="hwM-34-dPe" id="58i-Rz-RZ5"/>
<outlet property="contentBgView" destination="Mq2-FF-B2L" id="4Ue-ir-jtf"/>
<outlet property="departmentLab" destination="9hT-Fx-col" id="MzW-Dg-7Kj"/>
<outlet property="operationOrderBtn" destination="4Ae-kJ-XQN" id="vln-FL-YrN"/>
......
......@@ -29,6 +29,29 @@ class RepairOrderAddViewModel: BaseViewModel {
extension RepairOrderAddViewModel {
func repairOrderinit(controller: RepairOrderAddTableViewController){
filterViewModel.queryProjectType().subscribe(onNext: {[weak self] (result) in
if result.isEmpty {
ShowMessage("无数据")
return
}
if result.count == 1{
let model = result[0]
controller.projectLabel.text = model.name
controller.projectLabel.textColor = kBlackColor
let user = UCN(model.code, model.name, model.uuid)
self?.saveOrderModel.store = user
}
}).disposed(by: disposeBag)
controller.originatorLabel.text = kUser().userName
controller.originatorLabel.textColor = kBlackColor
let user = UCN(kUser().userCode, kUser().userName, kUser().userUuid)
self.saveOrderModel.reportUser = user
}
// MARK: - 是否允许提交工单
func repairOrderAvailable(_ sender: UISwitch) ->Bool {
guard saveOrderModel.store != nil else {
......@@ -47,10 +70,10 @@ extension RepairOrderAddViewModel {
// ShowMessage("请选择工单优先级")
// return false
// }
// guard saveOrderModel.reportUser != nil else {
// ShowMessage("请选择工单报事人")
// return false
// }
guard saveOrderModel.reportUser != nil else {
ShowMessage("请选择工单报事人")
return false
}
// guard saveOrderModel.receiveTime != nil else {
// ShowMessage("请选择工单接报时间")
// return false
......@@ -59,18 +82,22 @@ extension RepairOrderAddViewModel {
// ShowMessage("请选择工单指定时间")
// return false
// }
// guard NSString(string: saveOrderModel.reporterPhone).isTelephone() != false else {
// ShowMessage("报事人电话格式不正确")
// return false
// }
// guard saveOrderModel.position != nil else {
// ShowMessage("请选择工单指定位置")
// return false
// }
guard NSString(string: saveOrderModel.reporterPhone).isTelephone() != false else {
ShowMessage("报事人电话格式不正确")
return false
}
// guard saveOrderModel.position != nil else {
// ShowMessage("请选择工单指定位置")
// return false
// }
guard saveOrderModel.position != nil else {
ShowMessage("请选择工单指定位置")
return false
}
guard saveOrderModel.descriptionField != nil && saveOrderModel.descriptionField != "" else {
ShowMessage("请填写工单描述")
return false
}
// if sender.isOn {
// guard saveOrderModel.device != nil else {
// ShowMessage("请选择故障设施")
......@@ -113,6 +140,9 @@ extension RepairOrderAddViewModel {
ShowMessage("无数据")
return
}
guard controller.projectLabel.text == "选择项目" && result.count != 1 else{
return
}
let publicFilterVc = FilterViewController.instantiateViewController(.Function) as! FilterViewController
for model in result {
let filterModel: PublicFilterModel?
......
......@@ -10,6 +10,7 @@ import UIKit
import RxSwift
import Moya
import SwiftyJSON
import swiftScan
class RepairOrderDetailViewModel: BaseViewModel {
......@@ -245,6 +246,8 @@ extension RepairOrderDetailViewModel {
if billDetailModel.store != nil {
controller.projectLabel.text = disposeEmpty(billDetailModel.store.name)
}
controller.codeImageView.image = LBXScanWrapper.createCode128(codeString: billDetailModel.workNo, size: CGSize(width: kWidth - 120, height: 80), qrColor: UIColor.black, bkColor: UIColor.white)
controller.codeLabel.text = billDetailModel.workNo
}
// MARK: - 处理空数据
......
......@@ -10,6 +10,7 @@ import UIKit
import RxSwift
import RxCocoa
import Moya
import swiftScan
class ReparirChildBillViewModel: BaseViewModel {
......@@ -200,21 +201,31 @@ extension ReparirChildBillViewModel {
// MARK: - 子工单赋值.编辑
func childBillDetailAssignment(_ controller: RepairOrderEditSonOrderViewController) {
controller.toolOptionLabel.text = disposeEmpty(childBillDetailData.property1)
controller.protectOptionLabel.text = disposeEmpty(childBillDetailData.property2)
controller.workPersonLabel.text = disposeEmpty(childBillDetailData.processor)
controller.placeTimeLabel.text = disposeEmpty(childBillDetailData.processBegin)
controller.leaveTimeLabel.text = disposeEmpty(childBillDetailData.processEnd)
controller.failureCauseLabel.text = disposeEmpty(childBillDetailData.reason)
controller.processModeLabel.text = disposeEmpty(childBillDetailData.processMode)
let workers = childBillDetailData.processors.map { (model) -> String in
return model.name
}.joined(separator: ",")
disposeEmpty(label: controller.workPersonLabel, string: workers)
disposeEmpty(label: controller.toolOptionLabel, string: childBillDetailData.property1)
disposeEmpty(label: controller.protectOptionLabel, string: childBillDetailData.property2)
disposeEmpty(label: controller.placeTimeLabel, string: childBillDetailData.processBegin)
disposeEmpty(label: controller.leaveTimeLabel, string: childBillDetailData.processEnd)
disposeEmpty(label: controller.failureCauseLabel, string: childBillDetailData.reason)
disposeEmpty(label: controller.processModeLabel, string: childBillDetailData.processMode)
controller.costLaborText.text = childBillDetailData.labourfee.isEmpty ? nil : childBillDetailData.labourfee
controller.materialCostLabel.text = disposeEmpty(childBillDetailData.materielfee)
disposeEmpty(label: controller.materialCostLabel, string: childBillDetailData.materielfee)
controller.describeTextView.text = childBillDetailData.note.isEmpty ? nil : childBillDetailData.note
disposeEmpty(label: controller.workPersonLabel, string: workers)
disposeEmpty(label: controller.workPersonLabel, string: workers)
controller.codeImageView.image = LBXScanWrapper.createCode128(codeString: childBillDetailData.executeNo, size: CGSize(width: kWidth - 120, height: 80), qrColor: UIColor.black, bkColor: UIColor.white)
controller.codeLabel.text = childBillDetailData.executeNo
}
// MARK: - 子工单赋值.查看
func childBillDetailAssignment(_ controller: RepairOrderChildBillDetailViewController) {
controller.workPersonLabel.text = disposeEmpty2(childBillDetailData.processor)
let workers = childBillDetailData.processors.map { (model) -> String in
return model.name
}.joined(separator: ",")
controller.workPersonLabel.text = disposeEmpty2(workers)
controller.placeTimeLabel.text = disposeEmpty2(childBillDetailData.processBegin)
controller.leaveTimeLabel.text = disposeEmpty2(childBillDetailData.processEnd)
controller.failureCauseLabel.text = disposeEmpty2(childBillDetailData.reason)
......@@ -229,14 +240,21 @@ extension ReparirChildBillViewModel {
controller.backupsToolLabel.text = disposeEmpty2(childBillDetailData.property1)
controller.billNumberTimeLabel.text = disposeEmpty2(childBillDetailData.ownerTime)
controller.billNumberLab.text = disposeEmpty2(childBillDetailData.executeNo)
controller.codeImageView.image = LBXScanWrapper.createCode128(codeString: childBillDetailData.executeNo, size: CGSize(width: kWidth - 120, height: 80), qrColor: UIColor.black, bkColor: UIColor.white)
controller.codeLabel.text = childBillDetailData.executeNo
controller.tableView.reloadData()
}
// MARK: - 处理空数据
func disposeEmpty(_ string: String) ->String? {
func disposeEmpty(label:UILabel, string: String){
if string.isEmpty {
return "请选择"
label.text = "请选择"
label.textColor = UIColor.lightGray
return
}else{
label.text = string
label.textColor = UIColor.black
}
return string
}
// MARK: - 处理空数据
......@@ -302,7 +320,7 @@ extension ReparirChildBillViewModel {
/// 完成部门工单界面item对应事件
func didSelectRowAtIndexPath(_ indexPath: IndexPath, _ controller: RepairOrderEditSonOrderViewController) {
switch indexPath {
case IndexPath(row: 0, section: 0):
case IndexPath(row: 1, section: 0):
filterViewModel.queryToolOption().subscribe(onNext: {[weak self] (result) in
if result.isEmpty {
ShowMessage("无数据")
......@@ -315,7 +333,7 @@ extension ReparirChildBillViewModel {
}, cancel: nil)
}).disposed(by: disposeBag)
break
case IndexPath(row: 1, section: 0):
case IndexPath(row: 2, section: 0):
filterViewModel.queryProtectOption().subscribe(onNext: {[weak self] (result) in
if result.isEmpty {
ShowMessage("无数据")
......@@ -328,7 +346,7 @@ extension ReparirChildBillViewModel {
}, cancel: nil)
}).disposed(by: disposeBag)
break
case IndexPath(row: 2, section: 0):
case IndexPath(row: 3, section: 0):
let model = QueryModel()
model.storeUuidEquals = childBillDetailData.dept.uuid
filterViewModel.queryInitiator(model).subscribe(onNext: {[weak self] (result) in
......@@ -337,21 +355,30 @@ extension ReparirChildBillViewModel {
return
}
let publicFilterVc = FilterViewController.instantiateViewController(.Function) as! FilterViewController
for model in result {
let filterModel = PublicFilterModel(uuid: model.uuid, title: model.name, isSelected: "\(kZERO)")
for (index,model) in result.enumerated(){
let uuidS = self?.childBillDetailData.processors.map({ (model) -> String in
return model.uuid
})
let isSelect = (uuidS?.contains(model.uuid) ?? false) ? kONE : kZERO
let filterModel = PublicFilterModel(uuid: model.uuid, title: model.name, isSelected: "\(isSelect)",index:index)
publicFilterVc.publicViewModel.filterArray.add(filterModel)
}
controller.pushVC(publicFilterVc)
publicFilterVc.setNavigationTitle("选择出工人",.SINGLE, { (choices, index) in
let choiceModel = choices.first!
controller.workPersonLabel.text = choiceModel.title
publicFilterVc.setNavigationTitle("选择出工人",.MULTIPLE, { (choices, index) in
let nameTitle = choices.map({ (model) -> String in
return model.title
}).joined(separator: ",")
controller.workPersonLabel.text = nameTitle
controller.workPersonLabel.textColor = kBlackColor
let model = result[index!]
self?.childBillDetailData.processor = model.name
controller.tableView.reloadRow(at: indexPath, with: UITableViewRowAnimation.none)
let workModels = choices.map({ (model) -> ChildBillWorkPeople in
return ChildBillWorkPeople(model: result[model.index])
})
self?.childBillDetailData.processors = workModels
})
}).disposed(by: disposeBag)
break
case IndexPath(row: 3, section: 0):
case IndexPath(row: 4, section: 0):
let defaultDate = controller.placeTimeLabel.text == "请选择" ? NSDate().httpParameterString() : controller.placeTimeLabel.text
var date: Date?
if !childBillDetailData.processEnd.isEmpty {
......@@ -363,7 +390,7 @@ extension ReparirChildBillViewModel {
self?.childBillDetailData.processBegin = time
}, cancel: nil)
break
case IndexPath(row: 4, section: 0):
case IndexPath(row: 5, section: 0):
let defaultDate = controller.leaveTimeLabel.text == "请选择" ? NSDate().httpParameterString() : controller.leaveTimeLabel.text
var date = Date()
if !childBillDetailData.processBegin.isEmpty {
......@@ -375,7 +402,7 @@ extension ReparirChildBillViewModel {
self?.childBillDetailData.processEnd = time
}, cancel: nil)
break
case IndexPath(row: 5, section: 0):
case IndexPath(row: 6, section: 0):
filterViewModel.queryBrokenOption().subscribe(onNext: {[weak self] (result) in
if result.isEmpty {
ShowMessage("无数据")
......@@ -388,7 +415,7 @@ extension ReparirChildBillViewModel {
}, cancel: nil)
}).disposed(by: disposeBag)
break
case IndexPath(row: 6, section: 0):
case IndexPath(row: 7, section: 0):
filterViewModel.queryProcessMethods().subscribe(onNext: {[weak self] (result) in
if result.isEmpty {
ShowMessage("无数据")
......
......@@ -97,20 +97,20 @@ class TodoViewController: BaseTableViewPullController {
})
break
case TODO_STATE.DREW:
if !PermissionsManager.saveChildPermissions() {
ShowMessage("当前用户对此工单没有编辑权限!")
return;
}
// if !PermissionsManager.saveChildPermissions() {
// ShowMessage("当前用户对此工单没有编辑权限!")
// return;
// }
let childBillVc = RepairOrderEditSonOrderViewController.instantiateViewController(.Function) as! RepairOrderEditSonOrderViewController
childBillVc.billModel = BillDetailExecute(fromJson: JSON(model.toDictionary()))
childBillVc.billModel.uuid = model.entityUuid
pushVC(childBillVc)
break
case TODO_STATE.PROCESSING:
if !PermissionsManager.childViewPermissions() {
ShowMessage("当前用户对此工单没有查看权限!")
return;
}
// if !PermissionsManager.childViewPermissions() {
// ShowMessage("当前用户对此工单没有查看权限!")
// return;
// }
let childBillVc = RepairOrderChildBillDetailViewController.instantiateViewController(.Function) as! RepairOrderChildBillDetailViewController
childBillVc.billModel = BillDetailExecute(fromJson: JSON(model.toDictionary()))
childBillVc.billModel.uuid = model.entityUuid
......
......@@ -19,7 +19,6 @@ class TodoViewModel: BaseViewModel {
queryModel.userId = kUser().userUuid
return queryModel
}()
/// 待办事项结果
lazy final var todoResultArray: Array<TodoData> = {
var todoResultArray = Array<TodoData>()
......
......@@ -33,11 +33,13 @@ class HomeTableViewController: BaseTableViewPullController {
override func viewDidLoad() {
super.viewDidLoad()
if todoState == TODO_STATE.DREW{
NotificationCenter.default.addObserver(self, selector: #selector(loadWebDataSource), name: Notification.Name(UPDATE_RECEIVE_ORDER_LIST), object: nil)
}
}
// MARK: - 获取数据
override func loadWebDataSource() {
@objc override func loadWebDataSource() {
if !PermissionsManager.todoViewPermissions() {
endRefresh()
tableView.reloadData()
......@@ -57,12 +59,6 @@ class HomeTableViewController: BaseTableViewPullController {
self?.reloadData()
}.disposed(by: disposeBag)
}
func delyLoadData(){
ShowLoadingView()
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 3) {
self.loadWebDataSource()
}
}
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
return todoViewModel.dequeueReusableHomeCell(HomeTableViewCell.name(), indexPath, tableView)
}
......@@ -95,30 +91,31 @@ class HomeTableViewController: BaseTableViewPullController {
self?.orderDetailViewModel.getChildBillAction(model.entityUuid).subscribe(onNext: { () in
self?.loadWebDataSource()
Network.request(target: Service.ChildOrderComplete(model.entityUuid, "drew"), success: { (json) in
self?.loadWebDataSource()
}, failure: { (error) in
self?.loadWebDataSource()
})
ShowMessage("领取成功")
self?.delyLoadData()
}).disposed(by: self!.disposeBag)
})
break
case TODO_STATE.DREW:
if !PermissionsManager.saveChildPermissions() {
ShowMessage("当前用户对此工单没有编辑权限!")
return;
}
// if !PermissionsManager.saveChildPermissions() {
// ShowMessage("当前用户对此工单没有编辑权限!")
// return;
// }
let childBillVc = RepairOrderEditSonOrderViewController.instantiateViewController(.Function) as! RepairOrderEditSonOrderViewController
childBillVc.billModel = BillDetailExecute(fromJson: JSON(model.toDictionary()))
childBillVc.billModel.uuid = model.entityUuid
pushVC(childBillVc)
break
case TODO_STATE.PROCESSING:
if !PermissionsManager.childViewPermissions() {
ShowMessage("当前用户对此工单没有查看权限!")
return;
}
// if !PermissionsManager.childViewPermissions() {
// ShowMessage("当前用户对此工单没有查看权限!")
// return;
// }
let childBillVc = RepairOrderChildBillDetailViewController.instantiateViewController(.Function) as! RepairOrderChildBillDetailViewController
childBillVc.billModel = BillDetailExecute(fromJson: JSON(model.toDictionary()))
childBillVc.billModel.uuid = model.entityUuid
......
......@@ -296,8 +296,43 @@
</tableViewSection>
<tableViewSection id="lbb-2h-yd4">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" rowHeight="100" id="q0O-4f-GGI">
<rect key="frame" x="0.0" y="174" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="q0O-4f-GGI" id="rJx-UI-WAM">
<rect key="frame" x="0.0" y="0.0" width="375" height="100"/>
<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="6Z6-H4-d1L">
<rect key="frame" x="15" y="42" width="66.5" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="aM1-vN-ARb">
<rect key="frame" x="101.5" y="0.0" width="253.5" height="80"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="---" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ou2-Ea-EYm">
<rect key="frame" x="220.5" y="81.5" width="16" height="13.5"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="aM1-vN-ARb" secondAttribute="bottom" constant="20" id="BcK-Z6-q8T"/>
<constraint firstItem="6Z6-H4-d1L" firstAttribute="centerY" secondItem="rJx-UI-WAM" secondAttribute="centerY" id="Doj-gv-H0J"/>
<constraint firstItem="6Z6-H4-d1L" firstAttribute="leading" secondItem="rJx-UI-WAM" secondAttribute="leading" constant="15" id="RNL-Av-FKA"/>
<constraint firstAttribute="trailing" secondItem="aM1-vN-ARb" secondAttribute="trailing" constant="20" id="UOD-e1-PRI"/>
<constraint firstItem="ou2-Ea-EYm" firstAttribute="centerX" secondItem="aM1-vN-ARb" secondAttribute="centerX" id="cAg-qW-ht4"/>
<constraint firstItem="aM1-vN-ARb" firstAttribute="leading" secondItem="6Z6-H4-d1L" secondAttribute="trailing" constant="20" id="jkG-Ja-6Mu"/>
<constraint firstItem="aM1-vN-ARb" firstAttribute="top" secondItem="rJx-UI-WAM" secondAttribute="top" id="kxJ-bc-T0M"/>
<constraint firstAttribute="bottom" secondItem="ou2-Ea-EYm" secondAttribute="bottom" constant="5" id="x5D-3Q-UOM"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="X9t-dI-7pV">
<rect key="frame" x="0.0" y="174" width="375" height="30"/>
<rect key="frame" x="0.0" y="274" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="X9t-dI-7pV" id="68H-5D-N4t">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -325,7 +360,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="Nbk-B7-4Bv">
<rect key="frame" x="0.0" y="204" width="375" height="30"/>
<rect key="frame" x="0.0" y="304" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Nbk-B7-4Bv" id="1UT-DG-glD">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -353,7 +388,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="nNc-Hf-3Mg">
<rect key="frame" x="0.0" y="234" width="375" height="30"/>
<rect key="frame" x="0.0" y="334" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="nNc-Hf-3Mg" id="Gjb-1f-JJd">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -381,7 +416,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="06q-mV-qcO">
<rect key="frame" x="0.0" y="264" width="375" height="30"/>
<rect key="frame" x="0.0" y="364" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="06q-mV-qcO" id="vkT-Yz-rMU">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -409,7 +444,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="40J-dm-hf0">
<rect key="frame" x="0.0" y="294" width="375" height="30"/>
<rect key="frame" x="0.0" y="394" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="40J-dm-hf0" id="Lku-v6-EUO">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -437,7 +472,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="qy0-Id-6cc">
<rect key="frame" x="0.0" y="324" width="375" height="30"/>
<rect key="frame" x="0.0" y="424" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qy0-Id-6cc" id="wnL-a7-350">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -465,7 +500,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="Xnj-fU-f50">
<rect key="frame" x="0.0" y="354" width="375" height="30"/>
<rect key="frame" x="0.0" y="454" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Xnj-fU-f50" id="R9B-8u-RYc">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -493,7 +528,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="vLQ-AS-5Fe">
<rect key="frame" x="0.0" y="384" width="375" height="30"/>
<rect key="frame" x="0.0" y="484" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="vLQ-AS-5Fe" id="eQa-Qg-D43">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -521,7 +556,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="l2y-gs-GSi">
<rect key="frame" x="0.0" y="414" width="375" height="30"/>
<rect key="frame" x="0.0" y="514" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="l2y-gs-GSi" id="tGI-n3-Qhb">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -549,7 +584,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="e2h-6Q-QZ1">
<rect key="frame" x="0.0" y="444" width="375" height="30"/>
<rect key="frame" x="0.0" y="544" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="e2h-6Q-QZ1" id="xnx-TC-3ck">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -569,7 +604,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="Jdx-Ql-rJL">
<rect key="frame" x="0.0" y="474" width="375" height="30"/>
<rect key="frame" x="0.0" y="574" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Jdx-Ql-rJL" id="veQ-ID-Kbm">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -597,7 +632,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="cy7-GC-V1M">
<rect key="frame" x="0.0" y="504" width="375" height="30"/>
<rect key="frame" x="0.0" y="604" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="cy7-GC-V1M" id="peE-yT-Wpr">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -625,7 +660,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="GLx-X6-bCX">
<rect key="frame" x="0.0" y="534" width="375" height="30"/>
<rect key="frame" x="0.0" y="634" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="GLx-X6-bCX" id="rNY-h7-Gkf">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -653,7 +688,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="ELP-T0-LAZ">
<rect key="frame" x="0.0" y="564" width="375" height="30"/>
<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"/>
......@@ -683,7 +718,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="44E-jB-OlU">
<rect key="frame" x="0.0" y="594" width="375" height="30"/>
<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"/>
......@@ -703,7 +738,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="O14-Cx-evp">
<rect key="frame" x="0.0" y="624" width="375" height="30"/>
<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"/>
......@@ -737,7 +772,7 @@
<tableViewSection id="akT-8B-cQA">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="29" id="IUa-aa-hAd">
<rect key="frame" x="0.0" y="673" width="375" height="29"/>
<rect key="frame" x="0.0" y="773" 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="29"/>
......@@ -749,7 +784,7 @@
<tableViewSection id="V4Z-o2-h72">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="loi-eF-sJs">
<rect key="frame" x="0.0" y="721" width="375" height="30"/>
<rect key="frame" x="0.0" y="821" 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"/>
......@@ -777,7 +812,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="AlH-ca-Eok">
<rect key="frame" x="0.0" y="751" width="375" height="30"/>
<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="AlH-ca-Eok" id="md0-YE-7LW">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -815,6 +850,8 @@
<connections>
<outlet property="billNumberLab" destination="7vL-mk-KIW" id="NEB-cu-PiE"/>
<outlet property="brokenTimeLab" destination="571-vu-O8H" id="EJO-vK-ka4"/>
<outlet property="codeImageView" destination="aM1-vN-ARb" id="gJK-yJ-Ji8"/>
<outlet property="codeLabel" destination="ou2-Ea-EYm" id="Hri-lF-s3s"/>
<outlet property="completedStateImg" destination="1Vg-nO-Rsk" id="XUC-YU-ase"/>
<outlet property="completedStateLab" destination="ybu-pP-YQz" id="1jw-GC-oCS"/>
<outlet property="completionLabel" destination="dci-Ku-RAk" id="pCq-yt-8Qm"/>
......@@ -855,8 +892,42 @@
<sections>
<tableViewSection headerTitle="基本信息" id="nt3-HH-3Vn">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" rowHeight="100" id="Z5W-dV-HdP">
<rect key="frame" x="0.0" y="55.5" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Z5W-dV-HdP" id="05Z-Lb-S5T">
<rect key="frame" x="0.0" y="0.0" width="375" height="99.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="WeG-fd-nfQ">
<rect key="frame" x="15" y="40.5" width="76.5" height="18"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="---" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ql9-3l-jUR">
<rect key="frame" x="225.5" y="81" width="16" height="13.5"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="f1M-94-bAn">
<rect key="frame" x="106.5" y="0.0" width="253.5" height="79.5"/>
</imageView>
</subviews>
<constraints>
<constraint firstItem="f1M-94-bAn" firstAttribute="leading" secondItem="WeG-fd-nfQ" secondAttribute="trailing" constant="15" id="0cj-2B-Bnd"/>
<constraint firstItem="Ql9-3l-jUR" firstAttribute="centerX" secondItem="f1M-94-bAn" secondAttribute="centerX" id="2GM-Nl-1Xe"/>
<constraint firstItem="WeG-fd-nfQ" firstAttribute="leading" secondItem="05Z-Lb-S5T" secondAttribute="leading" constant="15" id="33u-wk-uFc"/>
<constraint firstAttribute="bottom" secondItem="Ql9-3l-jUR" secondAttribute="bottom" constant="5" id="4Pp-xb-aRH"/>
<constraint firstAttribute="trailing" secondItem="f1M-94-bAn" secondAttribute="trailing" constant="15" id="PFo-RW-Uv2"/>
<constraint firstItem="f1M-94-bAn" firstAttribute="top" secondItem="05Z-Lb-S5T" secondAttribute="top" id="gvR-7U-QVj"/>
<constraint firstAttribute="bottom" secondItem="f1M-94-bAn" secondAttribute="bottom" constant="20" id="oET-dD-HwS"/>
<constraint firstItem="WeG-fd-nfQ" firstAttribute="centerY" secondItem="05Z-Lb-S5T" secondAttribute="centerY" id="sxl-Qe-9Mw"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="n7j-Sb-dMV">
<rect key="frame" x="0.0" y="55.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="155.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="n7j-Sb-dMV" id="1hK-gI-MeN">
<rect key="frame" x="0.0" y="0.0" width="341" height="43.5"/>
......@@ -883,7 +954,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="gvl-gf-m7q">
<rect key="frame" x="0.0" y="99.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="199.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="gvl-gf-m7q" id="ZRw-eF-kGc">
<rect key="frame" x="0.0" y="0.0" width="341" height="43.5"/>
......@@ -910,19 +981,22 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="JCC-zz-5nh">
<rect key="frame" x="0.0" y="143.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="243.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="JCC-zz-5nh" id="9ZW-bA-L0N">
<rect key="frame" x="0.0" y="0.0" width="341" height="43.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="957-s8-NE2">
<rect key="frame" x="15" y="13" width="46" height="18"/>
<rect key="frame" x="15" y="13" width="50" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="50" id="qaD-Fl-aGz"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请选择" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sob-Lb-FqV">
<rect key="frame" x="298" y="13" width="43" height="17"/>
<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"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
......@@ -930,6 +1004,10 @@
</subviews>
<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"/>
<constraint firstItem="957-s8-NE2" firstAttribute="centerY" secondItem="9ZW-bA-L0N" secondAttribute="centerY" id="xQJ-yq-WrM"/>
......@@ -937,7 +1015,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="1IQ-vh-5Ne">
<rect key="frame" x="0.0" y="187.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="287.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="1IQ-vh-5Ne" id="zY5-yn-Nu8">
<rect key="frame" x="0.0" y="0.0" width="341" height="43.5"/>
......@@ -964,7 +1042,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="HGH-NU-pGQ">
<rect key="frame" x="0.0" y="231.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="331.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="HGH-NU-pGQ" id="rGh-9K-qUR">
<rect key="frame" x="0.0" y="0.0" width="341" height="43.5"/>
......@@ -991,7 +1069,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="Uxw-5m-1Bh">
<rect key="frame" x="0.0" y="275.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="375.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Uxw-5m-1Bh" id="xkt-vD-5U5">
<rect key="frame" x="0.0" y="0.0" width="341" height="43.5"/>
......@@ -1018,7 +1096,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="dpa-zM-XA2">
<rect key="frame" x="0.0" y="319.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="419.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="dpa-zM-XA2" id="FCC-Bj-5JJ">
<rect key="frame" x="0.0" y="0.0" width="341" height="43.5"/>
......@@ -1045,7 +1123,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="G5Q-eW-Rem">
<rect key="frame" x="0.0" y="363.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="463.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="G5Q-eW-Rem" id="O3C-Ed-MVo">
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
......@@ -1076,7 +1154,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="io0-XT-kHc">
<rect key="frame" x="0.0" y="407.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="507.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="io0-XT-kHc" id="gyg-sg-h2j">
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
......@@ -1107,7 +1185,7 @@
<tableViewSection headerTitle="费用信息" id="Oo2-KM-37J">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="Lz8-Qj-hD9">
<rect key="frame" x="0.0" y="490.5" width="375" height="30"/>
<rect key="frame" x="0.0" y="590.5" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Lz8-Qj-hD9" id="78e-7c-7gf">
<rect key="frame" x="0.0" y="0.0" width="375" height="29.5"/>
......@@ -1139,7 +1217,7 @@
<tableViewSection headerTitle="借用信息" id="hNy-Kf-o4G">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="pzG-Ef-kys">
<rect key="frame" x="0.0" y="559.5" width="375" height="30"/>
<rect key="frame" x="0.0" y="659.5" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="pzG-Ef-kys" id="8vB-M3-t6N">
<rect key="frame" x="0.0" y="0.0" width="375" height="29.5"/>
......@@ -1171,7 +1249,7 @@
<tableViewSection id="cvP-te-yqy">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="100" id="6dU-Yd-LFr">
<rect key="frame" x="0.0" y="608.5" width="375" height="100"/>
<rect key="frame" x="0.0" y="708.5" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="6dU-Yd-LFr" id="h0x-1k-gXc">
<rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
......@@ -1205,7 +1283,7 @@
<tableViewSection headerTitle="维修前照片" id="C0j-Xq-zD3">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="100" id="drC-5R-qld">
<rect key="frame" x="0.0" y="747.5" width="375" height="100"/>
<rect key="frame" x="0.0" y="847.5" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="drC-5R-qld" id="lIy-rt-yW2">
<rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
......@@ -1217,7 +1295,7 @@
<tableViewSection headerTitle="维修后照片" id="n5s-jX-DgQ">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="100" id="V7L-D9-XKX">
<rect key="frame" x="0.0" y="886.5" width="375" height="100"/>
<rect key="frame" x="0.0" y="986.5" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="V7L-D9-XKX" id="qlg-vC-gGa">
<rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
......@@ -1233,6 +1311,8 @@
</connections>
</tableView>
<connections>
<outlet property="codeImageView" destination="f1M-94-bAn" id="LBu-aS-Z8H"/>
<outlet property="codeLabel" destination="Ql9-3l-jUR" id="Kyk-eX-ZED"/>
<outlet property="costLaborText" destination="3KE-0X-ywN" id="P9a-2V-nNY"/>
<outlet property="describeTextView" destination="8Xk-Sh-DYj" id="wfA-ag-Rxy"/>
<outlet property="failureCauseLabel" destination="nlm-KX-6Dt" id="D5l-5p-eoG"/>
......@@ -1342,8 +1422,43 @@
</tableViewSection>
<tableViewSection id="eh2-o7-1Ju">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" rowHeight="100" id="50b-gx-l3V">
<rect key="frame" x="0.0" y="174" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="50b-gx-l3V" id="blx-ES-sR7">
<rect key="frame" x="0.0" y="0.0" width="375" height="100"/>
<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="CAS-hg-J0Z">
<rect key="frame" x="15" y="42" width="66.5" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="---" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="i4s-G9-wqs">
<rect key="frame" x="220.5" y="81.5" width="16" height="13.5"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="T6y-uT-67j">
<rect key="frame" x="101.5" y="0.0" width="253.5" height="80"/>
</imageView>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="T6y-uT-67j" secondAttribute="trailing" constant="20" id="0jT-EA-3wg"/>
<constraint firstAttribute="bottom" secondItem="T6y-uT-67j" secondAttribute="bottom" constant="20" id="6UZ-s3-wfz"/>
<constraint firstItem="T6y-uT-67j" firstAttribute="top" secondItem="blx-ES-sR7" secondAttribute="top" id="HMz-52-o2g"/>
<constraint firstItem="CAS-hg-J0Z" firstAttribute="leading" secondItem="blx-ES-sR7" secondAttribute="leading" constant="15" id="bJV-m8-Uub"/>
<constraint firstItem="i4s-G9-wqs" firstAttribute="centerX" secondItem="T6y-uT-67j" secondAttribute="centerX" id="iDt-Qb-ULs"/>
<constraint firstItem="CAS-hg-J0Z" firstAttribute="centerY" secondItem="blx-ES-sR7" secondAttribute="centerY" id="nWz-JY-n22"/>
<constraint firstItem="T6y-uT-67j" firstAttribute="leading" secondItem="CAS-hg-J0Z" secondAttribute="trailing" constant="20" id="uw7-pf-DMA"/>
<constraint firstAttribute="bottom" secondItem="i4s-G9-wqs" secondAttribute="bottom" constant="5" id="y4c-NE-OWP"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="U4x-fq-nxk">
<rect key="frame" x="0.0" y="174" width="375" height="30"/>
<rect key="frame" x="0.0" y="274" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="U4x-fq-nxk" id="HhL-hB-LpT">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1371,7 +1486,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="s49-29-bbv">
<rect key="frame" x="0.0" y="204" width="375" height="30"/>
<rect key="frame" x="0.0" y="304" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="s49-29-bbv" id="l5K-KR-Zg1">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1399,7 +1514,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="K3Z-nf-aWa">
<rect key="frame" x="0.0" y="234" width="375" height="30"/>
<rect key="frame" x="0.0" y="334" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="K3Z-nf-aWa" id="kdN-zD-fPT">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1427,7 +1542,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="IE4-WF-ajl">
<rect key="frame" x="0.0" y="264" width="375" height="30"/>
<rect key="frame" x="0.0" y="364" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="IE4-WF-ajl" id="XSH-bY-z1u">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1454,36 +1569,37 @@
</constraints>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="0HA-76-1Ca">
<rect key="frame" x="0.0" y="294" width="375" height="30"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="0HA-76-1Ca">
<rect key="frame" x="0.0" y="394" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="0HA-76-1Ca" id="YRe-PE-cvc">
<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="44"/>
<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="YOr-PX-hJu">
<rect key="frame" x="15" y="7" width="40" height="16"/>
<rect key="frame" x="15" y="14" width="40" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="---" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SrG-rS-RAr">
<rect key="frame" x="90" y="7" width="19" height="16"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="---" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SrG-rS-RAr">
<rect key="frame" x="90" y="7" width="270" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="SrG-rS-RAr" secondAttribute="trailing" constant="15" id="33t-2D-zvg"/>
<constraint firstItem="SrG-rS-RAr" firstAttribute="leading" secondItem="YRe-PE-cvc" secondAttribute="leading" constant="90" id="34t-ca-J7U"/>
<constraint firstItem="SrG-rS-RAr" firstAttribute="top" secondItem="YRe-PE-cvc" secondAttribute="top" constant="7" id="67D-2C-RbA"/>
<constraint firstItem="YOr-PX-hJu" firstAttribute="centerY" secondItem="YRe-PE-cvc" secondAttribute="centerY" id="KdK-9k-HFU"/>
<constraint firstItem="SrG-rS-RAr" firstAttribute="centerY" secondItem="YOr-PX-hJu" secondAttribute="centerY" id="MWh-XA-lo2"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="SrG-rS-RAr" secondAttribute="trailing" constant="15" id="R3m-qK-dKC"/>
<constraint firstItem="YOr-PX-hJu" firstAttribute="leading" secondItem="YRe-PE-cvc" secondAttribute="leading" constant="15" id="c5x-PB-6nL"/>
<constraint firstAttribute="bottom" secondItem="SrG-rS-RAr" secondAttribute="bottom" constant="7" id="s4P-fk-Z4J"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="TLb-se-nRO">
<rect key="frame" x="0.0" y="324" width="375" height="30"/>
<rect key="frame" x="0.0" y="438" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TLb-se-nRO" id="yiQ-4B-kNm">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1511,7 +1627,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="DMh-zZ-tDZ">
<rect key="frame" x="0.0" y="354" width="375" height="30"/>
<rect key="frame" x="0.0" y="468" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DMh-zZ-tDZ" id="1ae-cN-kuu">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1539,7 +1655,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="St7-Cf-iqd">
<rect key="frame" x="0.0" y="384" width="375" height="30"/>
<rect key="frame" x="0.0" y="498" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="St7-Cf-iqd" id="LPr-Oz-mko">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1567,7 +1683,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="tPL-pw-7u7">
<rect key="frame" x="0.0" y="414" width="375" height="30"/>
<rect key="frame" x="0.0" y="528" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="tPL-pw-7u7" id="qwu-iS-WjC">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1595,7 +1711,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="i2H-lC-pry">
<rect key="frame" x="0.0" y="444" width="375" height="30"/>
<rect key="frame" x="0.0" y="558" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="i2H-lC-pry" id="5Fo-GJ-e9K">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1623,7 +1739,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="ftb-NT-3dc">
<rect key="frame" x="0.0" y="474" width="375" height="30"/>
<rect key="frame" x="0.0" y="588" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ftb-NT-3dc" id="HN1-1u-UZ7">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1651,7 +1767,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="2BS-nB-4gf">
<rect key="frame" x="0.0" y="504" width="375" height="30"/>
<rect key="frame" x="0.0" y="618" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="2BS-nB-4gf" id="gF6-Mw-LPB">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1683,7 +1799,7 @@
<tableViewSection id="Ho6-pu-T5d">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="efL-P2-VKU">
<rect key="frame" x="0.0" y="553" width="375" height="30"/>
<rect key="frame" x="0.0" y="667" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="efL-P2-VKU" id="YxL-XB-DEk">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1715,7 +1831,7 @@
<tableViewSection id="pdP-Ij-qiq">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="4hD-dy-731">
<rect key="frame" x="0.0" y="602" width="375" height="30"/>
<rect key="frame" x="0.0" y="716" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="4hD-dy-731" id="a8C-4e-dbO">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1747,7 +1863,7 @@
<tableViewSection id="QlA-Ra-uct">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="7Fp-0f-IYI">
<rect key="frame" x="0.0" y="651" width="375" height="30"/>
<rect key="frame" x="0.0" y="765" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7Fp-0f-IYI" id="Jfz-sF-9Tl">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1775,7 +1891,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="Yi0-b3-qsy">
<rect key="frame" x="0.0" y="681" width="375" height="30"/>
<rect key="frame" x="0.0" y="795" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Yi0-b3-qsy" id="NbB-bS-p55">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1795,7 +1911,7 @@
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="30" id="pSt-Qa-R0r">
<rect key="frame" x="0.0" y="711" width="375" height="30"/>
<rect key="frame" x="0.0" y="825" width="375" height="30"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="pSt-Qa-R0r" id="7vk-cD-b7I">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -1826,6 +1942,8 @@
<outlet property="backupsToolLabel" destination="Fq2-wn-UKp" id="mqO-26-h0k"/>
<outlet property="billNumberLab" destination="46I-IX-sou" id="JW6-Xg-GRo"/>
<outlet property="billNumberTimeLabel" destination="S6q-Tg-714" id="mtG-p0-B95"/>
<outlet property="codeImageView" destination="T6y-uT-67j" id="sDD-P6-jCT"/>
<outlet property="codeLabel" destination="i4s-G9-wqs" id="kRe-7A-oT0"/>
<outlet property="completedStateImg" destination="b3d-A7-D4l" id="MOg-vN-hOA"/>
<outlet property="completedStateLab" destination="uvD-Va-VzJ" id="MgL-h7-nGR"/>
<outlet property="costLaborLabel" destination="Ax7-D6-3nc" id="ecM-hb-OZO"/>
......
......@@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.6</string>
<string>1.0.5</string>
<key>CFBundleVersion</key>
<string>1.0.6</string>
<string>1.0.5</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
......
......@@ -23,4 +23,5 @@ target ‘IFS’ do
pod 'SVProgressHUD', '~> 2.2.2'
pod 'UMengAnalytics'
pod 'JPush'
pod 'swiftScan'
end
......@@ -25,6 +25,7 @@ PODS:
- SKPhotoBrowser (5.0.3)
- SnapKit (4.0.0)
- SVProgressHUD (2.2.2)
- swiftScan (1.1.3)
- SwiftyJSON (4.0.0)
- UMengAnalytics (4.2.4)
- YXAlertController (1.0.8)
......@@ -48,6 +49,7 @@ DEPENDENCIES:
- SKPhotoBrowser (~> 5.0.0)
- SnapKit
- SVProgressHUD (~> 2.2.2)
- swiftScan
- SwiftyJSON
- UMengAnalytics
- YXAlertController
......@@ -75,6 +77,7 @@ SPEC REPOS:
- SKPhotoBrowser
- SnapKit
- SVProgressHUD
- swiftScan
- SwiftyJSON
- UMengAnalytics
- YXAlertController
......@@ -101,11 +104,12 @@ SPEC CHECKSUMS:
SKPhotoBrowser: 6de77f7004442e79059f19d86e2e7e6a03b43a13
SnapKit: a42d492c16e80209130a3379f73596c3454b7694
SVProgressHUD: 59b2d3dabacbd051576d21d32293ca7228dc18b0
swiftScan: ad753846f4292c19a376dd159db035d62b689458
SwiftyJSON: 070dabdcb1beb81b247c65ffa3a79dbbfb3b48aa
UMengAnalytics: ef8d45f94c0e5771dc364cf6a5731d9d3b101da2
YXAlertController: 37a54642cb8e8b43b79004fe9148bb8ff2fab814
YXKit: 73d6ffbcf7530f1159e030460207286e9153b080
PODFILE CHECKSUM: f129d1e18957ae13e839f8aa18e676cc404743df
PODFILE CHECKSUM: ca2deb99f65138a0ea1c4a431cc195f523594330
COCOAPODS: 1.5.0
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