zxh vor 1 Jahr
Ursprung
Commit
6ec217d6ef

+ 1 - 0
src/widgets/MaintenanceManagerReport/Widget.ts

@@ -136,6 +136,7 @@ class MaintenanceManagerReport extends BaseWidget {
         getHtml.setDepartmentAndUser(this, Obj.conObj.find('.department'), Obj.conObj.find('.dispatchUserId'), dataInfo);
         if(!dataInfo){
             Obj.conObj.find(".voicegroup").hide();
+            Obj.conObj.find(".creatUserName-form-item").hide()
         }
         Obj.submitObj.off("click").on("click", function () {
             if (Obj.conObj.find('.contactPhone').val() == undefined || Obj.conObj.find('.contactPhone').val() == "") {

+ 6 - 0
src/widgets/MaintenancePageInfo/Widget.html

@@ -63,6 +63,12 @@ $$
             data-bv-trigger="blur" placeholder="联系电话">
     </div>
 </div>
+<div class="form-group form-inline creatUserName-form-item">
+    <div class='item'>
+        <label class=" control-label">上报人</label>
+        <input type="text" autocomplete="off" class="form-control creatUserName" name="creatUserName" disabled>
+    </div>
+</div>
 <div class="form-group form-inline">
     <div class='oneItem'>
         <label class=" control-label">详情描述</label>

+ 2 - 2
src/widgets/MaintenanceSearch/Widget.ts

@@ -263,8 +263,8 @@ class MaintenanceSearch extends BaseWidget {
         url: that.config.getRushList,
         isCheck: false,
         searchInfo: that.searchInfo,//条件在不断变化,故需要有全局的条件监听
-        displayTitle: ["工单编号", "工单来源", "工单类型", "地址", "联系人", "联系电话","状态", "描述"],
-        displayField: ["workOrderId", "workOrderSource", "workOrderTypeName", "address", "contact", "contactPhone", "workOrderStateName","description"],
+        displayTitle: ["工单编号", "工单来源", "上报人", "工单类型", "地址", "联系人", "联系电话","状态", "描述"],
+        displayField: ["workOrderId", "workOrderSource", "creatUserName", "workOrderTypeName", "address", "contact", "contactPhone", "workOrderStateName","description"],
         extentDisplayTitle: ['详情'],
         extentDisplayContent: [{
             field: "infoWrite",