zzs 3 mēneši atpakaļ
vecāks
revīzija
2d162d7640
1 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. 7 1
      ruoyi-ui/src/views/bank/tenderquery/index.vue

+ 7 - 1
ruoyi-ui/src/views/bank/tenderquery/index.vue

@@ -92,7 +92,13 @@
       <el-table-column label="客户端交易的唯一标志" align="center" prop="rtnTrnuid" />
       <el-table-column label="交易处理状态" align="center" prop="rtnStatus" />
       <el-table-column label="处理结果码" align="center" prop="rtnCode" />
-      <el-table-column label="处理结果等级(info/warn/error)" align="center" prop="rtnSeverity" />
+      <el-table-column label="处理结果等级(info/warn/error)" align="center" prop="rtnSeverity">
+        <template slot-scope="scope">
+          <el-tag type="info" v-if="scope.row.rtnSeverity.toLowerCase() === 'info'">info</el-tag>
+          <el-tag type="warning" v-if="scope.row.rtnSeverity.toLowerCase() === 'warn'">warn</el-tag>
+          <el-tag type="danger" v-if="scope.row.rtnSeverity.toLowerCase() === 'error'">error</el-tag>
+        </template>
+      </el-table-column>
       <el-table-column label="处理信息描述" align="center" prop="rtnMessage" />
       <el-table-column label="报文节点" align="center" prop="rtnRsbody" />
       <el-table-column label="产品编号" align="center" prop="rtnPdno" />