assignment-popup.html 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <div class="modal" ng-controller="KisBpmAssignmentPopupCtrl">
  2. <div class="modal-dialog">
  3. <div class="modal-content">
  4. <div class="modal-header">
  5. <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="close()">&times;
  6. </button>
  7. <h2 translate>PROPERTY.ASSIGNMENT.TITLE</h2>
  8. </div>
  9. <div class="modal-body">
  10. <div style="padding:0 20px">
  11. <div class="row row-no-gutter">
  12. <div class="form-group">
  13. <label for="assigneeField">{{'PROPERTY.ASSIGNMENT.ASSIGNEE' | translate}}</label>
  14. <input type="text" id="assigneeShowField" class="form-control" readonly
  15. ng-model="assignment.assigneeshowname"
  16. placeholder="{{'PROPERTY.ASSIGNMENT.ASSIGNEE_PLACEHOLDER' | translate}}"
  17. ng-click="choseAssignment('assignee')"
  18. ng-value="candidateUser.choseAssigneeShowname"/>
  19. <input type="text" id="assigneeField" class="form-control" ng-hide="true"
  20. ng-model="assignment.assignee"
  21. placeholder="{{'PROPERTY.ASSIGNMENT.ASSIGNEE_PLACEHOLDER' | translate}}"
  22. ng-value="candidateUser.choseAssignee"/>
  23. </div>
  24. </div>
  25. <div class="row row-no-gutter">
  26. <div class="form-group">
  27. <label for="userField">{{'PROPERTY.ASSIGNMENT.CANDIDATE_USERS' | translate}}</label>
  28. <div ng-repeat="candidateUser in assignment.candidateUsers">
  29. <input id="userNameField" class="form-control" type="text" readonly
  30. ng-model="candidateUser.nameValue" ng-click="choseAssignment('assignees')"
  31. ng-value="candidateUser.value"/>
  32. <input id="userField" class="form-control" type="text" ng-hide="true"
  33. ng-model="candidateUser.value" ng-value="candidateUser.value"/>
  34. <i class="glyphicon glyphicon-minus clickable-property"
  35. ng-click="removeCandidateUserValue($index)"></i>
  36. <i ng-if="$index == (assignment.candidateUsers.length - 1)"
  37. class="glyphicon glyphicon-plus clickable-property"
  38. ng-click="addCandidateUserValue($index)"></i>
  39. </div>
  40. </div>
  41. <div class="form-group">
  42. <label for="groupField">{{'PROPERTY.ASSIGNMENT.CANDIDATE_GROUPS' | translate}}</label>
  43. <div ng-repeat="candidateGroup in assignment.candidateGroups">
  44. <input id="groupNameField" class="form-control" type="text" readonly
  45. ng-model="candidateGroup.nameValue" ng-click="choseCandidateGroups()"/>
  46. <input id="groupField" class="form-control" type="text" ng-model="candidateGroup.value"
  47. ng-hide="true"/>
  48. <i class="glyphicon glyphicon-minus clickable-property"
  49. ng-click="removeCandidateGroupValue($index)"></i>
  50. <i ng-if="$index == (assignment.candidateGroups.length - 1)"
  51. class="glyphicon glyphicon-plus clickable-property"
  52. ng-click="addCandidateGroupValue($index)"></i>
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <div>
  57. <label for="groupField">动态代理人</label>
  58. </div>
  59. <div class="btn-group">
  60. <button ng-click="dynCandidateUser({name:'申请人',code:'applyUser'})"
  61. class="btn btn-default">申请人
  62. </button>
  63. <!-- <button ng-repeat="position in deptPositions" class="btn btn-default"
  64. ng-click="dynCandidateUser(position)"> {{position.name}}
  65. </button>
  66. <button ng-click="dynCandidateUser({name:'会签人员',code:'assignee'})"
  67. class="btn btn-default">会签人员
  68. </button>
  69. <button ng-click="dynCandidateUser({name:'信息审校人',code:'noticeReviewer'})"
  70. class="btn btn-default">信息审校人
  71. </button>
  72. <button ng-click="dynCandidateUser({name:'维修人',code:'repairsUser'})"
  73. class="btn btn-default">接单人
  74. </button>
  75. <button ng-click="dynCandidateUser({name:'采购员',code:'purchaser'})"
  76. class="btn btn-default">采购员
  77. </button>
  78. <button ng-click="dynCandidateUser({name:'采购部主任',code:'purchasingDirector'})"
  79. class="btn btn-default">采购部主任
  80. </button>
  81. <button ng-click="dynCandidateUser({name:'采购部分管领导',code:'procurementLeader'})"
  82. class="btn btn-default">采购部分管领导
  83. </button>
  84. <button ng-click="dynCandidateUser({name:'询价人',code:'repairsAskPerson'})"
  85. class="btn btn-default">询价人
  86. </button>
  87. <button ng-click="dynCandidateUser({name:'维修人',code:'repairsPerson'})"
  88. class="btn btn-default">维修人
  89. </button>
  90. <button ng-click="dynCandidateUser({name:'部门主任',code:'budgetDeptDto.deptDirectorId'})"
  91. class="btn btn-default">部门主任
  92. </button>
  93. <button ng-click="dynCandidateUser({name:'部门分管领导',code:'budgetDeptDto.deptLeaderId'})"
  94. class="btn btn-default">部门分管领导
  95. </button> -->
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. <div class="modal-footer">
  102. <button ng-click="close()" class="btn btn-primary" translate>ACTION.CANCEL</button>
  103. <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
  104. </div>
  105. </div>
  106. </div>
  107. </div>