Kaynağa Gözat

优化 下一步 时不带过去组织ID问题

wuxw 6 yıl önce
ebeveyn
işleme
d9ff0e4ce7

+ 2 - 0
WebService/src/main/resources/components/ownerRepairPackage/repairDispatchStep/repairDispatchStep.js

@@ -139,6 +139,8 @@
                 }else if(vc.component.repairDispatchStepInfo.index == 1){
                     vc.component.repairDispatchStepInfo.departmemtOrgInfo.parentOrgId = vc.component.repairDispatchStepInfo.branchOrgInfo.orgId;
                     vc.emit('viewOrgInfo', '_initInfo',vc.component.repairDispatchStepInfo.departmemtOrgInfo);
+                }else{
+                    vc.emit('viewStaffInfo', '_initInfo',vc.component.repairDispatchStepInfo.departmemtOrgInfo);
                 }
             }
         }

+ 0 - 2
WebService/src/main/resources/components/staffPackage/search-staff/searchStaff.html

@@ -33,7 +33,6 @@
                                         <th>员工名称</th>
                                         <th>手机号</th>
                                         <th>性别</th>
-                                        <th>创建时间</th>
                                         <th>操作</th>
                                     </tr>
                                     </thead>
@@ -43,7 +42,6 @@
                                         <td>{{staff.name}}</td>
                                         <td>{{staff.tel}}</td>
                                         <td>{{staff.sex == 0 ? '男' : (staff.sex == 1 ?'女':'')}}</td>
-                                        <td>{{vc.dateFormat(staff.createTime)}}</td>
                                         <td>
                                             <button class="btn btn-primary btn-xs" v-on:click="chooseStaff(staff)">选择</button>
                                         </td>

+ 1 - 1
WebService/src/main/resources/components/staffPackage/view-staff-info/viewStaffInfo.html

@@ -52,6 +52,6 @@
 
     <vc:create name="searchStaff"
                emitChooseOrg="viewStaffInfo"
-               emitLoadData="viewStaffInfo"
+               emitLoadData="chooseStaff"
     ></vc:create>
 </div>