Pārlūkot izejas kodu

复运权限修改

HD_wangm 4 mēneši atpakaļ
vecāks
revīzija
5011e3d09b

+ 1 - 1
ygtx-ui/src/views/gxt/gxtOrder/index.vue

@@ -271,7 +271,7 @@
 
           <!-- 已完成状态:显示复运按钮 -->
           <el-button link type="success" @click="handleRestart(scope.row)"
-                     v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'assigned' && scope.row.workOrderStatus != 'auto_suspend'"
+                     v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'to_issue' && scope.row.workOrderStatus != 'auto_suspend'"
                      v-hasPermi="['gxt:maintenance:order:restart']">
             <i class="fa fa-refresh"></i>复运
           </el-button>

+ 2 - 2
ygtx-ui/src/views/gxt/orderMyTodo/index.vue

@@ -211,7 +211,7 @@
             ><i class="fa fa-check-circle"></i>审批</el-button>
 
             <el-button
-                v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'assigned' && scope.row.workOrderStatus != 'auto_suspend' && scope.row.workOrderStatus != 'accept_return'"
+                v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'to_issue' && scope.row.workOrderStatus != 'auto_suspend' && scope.row.workOrderStatus != 'accept_return'"
                 type="success"
                 link
                 @click="handleRestart(scope.row)"
@@ -264,7 +264,7 @@
             <el-button
                 link type="success"
                 @click="handleRestart(scope.row)"
-                v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'assigned' && scope.row.workOrderStatus != 'auto_suspend'"
+                v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'to_issue' && scope.row.workOrderStatus != 'auto_suspend'"
                 v-hasPermi="['gxt:maintenance:order:restart']">
               <i class="fa fa-refresh"></i>复运
             </el-button>

+ 2 - 2
ygtx-ui/src/views/gxt/repairOrder/index.vue

@@ -356,7 +356,7 @@
 <!--              v-hasPermi="['gxt:repairOrder:rating']"-->
 <!--          ><i class="fa fa-star"></i>评分</el-button>-->
           <el-button
-              v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'assigned' && scope.row.workOrderStatus != 'auto_suspend' && scope.row.workOrderStatus != 'accept_return'"
+              v-if="scope.row.restartTime == null && scope.row.workOrderStatus != 'to_issue' && scope.row.workOrderStatus != 'auto_suspend' && scope.row.workOrderStatus != 'accept_return'"
               type="success"
               link
               @click="handleRestart(scope.row)"
@@ -3049,7 +3049,7 @@ function handleReturn(row) {
       returnForm.value.returnReason = undefined
     }
     returnDialogVisible.value = true
-
+    // proxy.resetForm("returnFormRef")
   })
 }