123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <div class="modal" ng-controller="KisBpmAssignmentPopupCtrl">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="close()">×
- </button>
- <h2 translate>PROPERTY.ASSIGNMENT.TITLE</h2>
- </div>
- <div class="modal-body">
- <div style="padding:0 20px">
- <div class="row row-no-gutter">
- <div class="form-group">
- <label for="assigneeField">{{'PROPERTY.ASSIGNMENT.ASSIGNEE' | translate}}</label>
- <input type="text" id="assigneeShowField" class="form-control" readonly
- ng-model="assignment.assigneeshowname"
- placeholder="{{'PROPERTY.ASSIGNMENT.ASSIGNEE_PLACEHOLDER' | translate}}"
- ng-click="choseAssignment('assignee')"
- ng-value="candidateUser.choseAssigneeShowname"/>
- <input type="text" id="assigneeField" class="form-control" ng-hide="true"
- ng-model="assignment.assignee"
- placeholder="{{'PROPERTY.ASSIGNMENT.ASSIGNEE_PLACEHOLDER' | translate}}"
- ng-value="candidateUser.choseAssignee"/>
- </div>
- </div>
- <div class="row row-no-gutter">
- <div class="form-group">
- <label for="userField">{{'PROPERTY.ASSIGNMENT.CANDIDATE_USERS' | translate}}</label>
- <div ng-repeat="candidateUser in assignment.candidateUsers">
- <input id="userNameField" class="form-control" type="text" readonly
- ng-model="candidateUser.nameValue" ng-click="choseAssignment('assignees')"
- ng-value="candidateUser.value"/>
- <input id="userField" class="form-control" type="text" ng-hide="true"
- ng-model="candidateUser.value" ng-value="candidateUser.value"/>
- <i class="glyphicon glyphicon-minus clickable-property"
- ng-click="removeCandidateUserValue($index)"></i>
- <i ng-if="$index == (assignment.candidateUsers.length - 1)"
- class="glyphicon glyphicon-plus clickable-property"
- ng-click="addCandidateUserValue($index)"></i>
- </div>
- </div>
- <div class="form-group">
- <label for="groupField">{{'PROPERTY.ASSIGNMENT.CANDIDATE_GROUPS' | translate}}</label>
- <div ng-repeat="candidateGroup in assignment.candidateGroups">
- <input id="groupNameField" class="form-control" type="text" readonly
- ng-model="candidateGroup.nameValue" ng-click="choseCandidateGroups()"/>
- <input id="groupField" class="form-control" type="text" ng-model="candidateGroup.value"
- ng-hide="true"/>
- <i class="glyphicon glyphicon-minus clickable-property"
- ng-click="removeCandidateGroupValue($index)"></i>
- <i ng-if="$index == (assignment.candidateGroups.length - 1)"
- class="glyphicon glyphicon-plus clickable-property"
- ng-click="addCandidateGroupValue($index)"></i>
- </div>
- </div>
- <div class="form-group">
- <div>
- <label for="groupField">动态代理人</label>
- </div>
- <div class="btn-group">
- <button ng-click="dynCandidateUser({name:'申请人',code:'applyUser'})"
- class="btn btn-default">申请人
- </button>
- <!-- <button ng-repeat="position in deptPositions" class="btn btn-default"
- ng-click="dynCandidateUser(position)"> {{position.name}}
- </button>
- <button ng-click="dynCandidateUser({name:'会签人员',code:'assignee'})"
- class="btn btn-default">会签人员
- </button>
- <button ng-click="dynCandidateUser({name:'信息审校人',code:'noticeReviewer'})"
- class="btn btn-default">信息审校人
- </button>
- <button ng-click="dynCandidateUser({name:'维修人',code:'repairsUser'})"
- class="btn btn-default">接单人
- </button>
- <button ng-click="dynCandidateUser({name:'采购员',code:'purchaser'})"
- class="btn btn-default">采购员
- </button>
- <button ng-click="dynCandidateUser({name:'采购部主任',code:'purchasingDirector'})"
- class="btn btn-default">采购部主任
- </button>
- <button ng-click="dynCandidateUser({name:'采购部分管领导',code:'procurementLeader'})"
- class="btn btn-default">采购部分管领导
- </button>
- <button ng-click="dynCandidateUser({name:'询价人',code:'repairsAskPerson'})"
- class="btn btn-default">询价人
- </button>
- <button ng-click="dynCandidateUser({name:'维修人',code:'repairsPerson'})"
- class="btn btn-default">维修人
- </button>
- <button ng-click="dynCandidateUser({name:'部门主任',code:'budgetDeptDto.deptDirectorId'})"
- class="btn btn-default">部门主任
- </button>
- <button ng-click="dynCandidateUser({name:'部门分管领导',code:'budgetDeptDto.deptLeaderId'})"
- class="btn btn-default">部门分管领导
- </button> -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button ng-click="close()" class="btn btn-primary" translate>ACTION.CANCEL</button>
- <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
- </div>
- </div>
- </div>
- </div>
|