Explorar o código

增加状态码标签样式

pixel %!s(int64=4) %!d(string=hai) anos
pai
achega
3af98e01a8
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      web/src/view/superAdmin/operation/sysOperationRecord.vue

+ 7 - 1
web/src/view/superAdmin/operation/sysOperationRecord.vue

@@ -44,6 +44,13 @@
       <el-table-column label="日期" width="180">
         <template slot-scope="scope">{{scope.row.CreatedAt|formatDate}}</template>
       </el-table-column>
+      <el-table-column label="状态码" prop="status" width="120">
+        <template slot-scope="scope">
+          <div>
+            <el-tag type="success">{{ scope.row.status }}</el-tag>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="请求ip" prop="ip" width="120"></el-table-column>
       <el-table-column label="请求方法" prop="method" width="120"></el-table-column>
       <el-table-column label="请求路径" prop="path" width="240"></el-table-column>
@@ -74,7 +81,6 @@
           </div>
         </template>
       </el-table-column>
-      <el-table-column label="error_message" prop="error_message" width="120"></el-table-column>
       <el-table-column label="按钮组">
         <template slot-scope="scope">
           <el-popover placement="top" v-model="scope.row.visible" width="160">