nanjingliujinyu 3 maanden geleden
bovenliggende
commit
505793e9ef

+ 6 - 6
ruoyi-ui/src/views/service/info/shenhe.vue

@@ -233,14 +233,14 @@
               </el-table-column>
               <el-table-column prop="audit" label="审核状态" width="100">
                 <template #default="scope">
-                  <div style="text-align: center;display: flex;" v-if="scope.row.audit=='4'">
-                    <el-tag class="ml-2" type="success">已审核</el-tag>
+                  <div style="text-align: center;display: flex;color:#67C23A" v-if="scope.row.state=='4'">
+                    已审核
                   </div>
-                  <div style="text-align: center;display: flex;" v-if="scope.row.audit=='3'||scope.row.audit==null">
-                    <el-tag class="ml-2" type="danger">未审核</el-tag>
+                  <div style="text-align: center;display: flex;color:#E6A23C" v-if="scope.row.state=='3'||scope.row.state==null">
+                    未审核
                   </div>
-                  <div style="text-align: center;display: flex;" v-if="scope.row.audit=='0'">
-                    <el-tag class="ml-2" type="warning">驳回</el-tag>
+                  <div style="text-align: center;display: flex;color:#F56C6C" v-if="scope.row.state=='0'">
+                    驳回
                   </div>
                 </template>
               </el-table-column>

+ 4 - 2
ruoyi-ui/src/views/service/info/test.vue

@@ -256,14 +256,16 @@
                 </el-table-column>
                 <el-table-column prop="audit" label="测试状态" width="100">
                   <template #default="scope">
-                    <div style="text-align: center;display: flex;color:#67C23A" v-if="scope.row.testRunNum>0">
+                    <div style="text-align: center;display: flex;color:#67C23A" v-if="scope.row.senState=='0'">
                       已测试
                     </div>
-                    <div style="text-align: center;display: flex;color:#F56C6C" v-if="scope.row.testRunNum==0||scope.row.testRunNum==null">
+                    <div style="text-align: center;display: flex;color:#F56C6C" v-if="scope.row.senState=='1'">
                       未测试
                     </div>
                   </template>
                 </el-table-column>
+                <el-table-column prop="errorMessage" label="错误信息" show-overflow-tooltip>
+                </el-table-column>
             </el-table>
           <template #footer>
               <span class="dialog-footer">

+ 3 - 3
ruoyi-ui/src/views/service/shenhe/index.vue

@@ -233,13 +233,13 @@
               </el-table-column>
               <el-table-column prop="audit" label="审核状态" width="100">
                 <template #default="scope">
-                  <div style="text-align: center;display: flex;color:#67C23A" v-if="scope.row.audit=='4'">
+                  <div style="text-align: center;display: flex;color:#67C23A" v-if="scope.row.state=='4'">
                     已审核
                   </div>
-                  <div style="text-align: center;display: flex;color:#E6A23C" v-if="scope.row.audit=='3'||scope.row.audit==null">
+                  <div style="text-align: center;display: flex;color:#E6A23C" v-if="scope.row.state=='3'||scope.row.state==null">
                     未审核
                   </div>
-                  <div style="text-align: center;display: flex;color:#F56C6C" v-if="scope.row.audit=='0'">
+                  <div style="text-align: center;display: flex;color:#F56C6C" v-if="scope.row.state=='0'">
                     驳回
                   </div>
                 </template>

+ 4 - 2
ruoyi-ui/src/views/service/test/index.vue

@@ -256,14 +256,16 @@
                 </el-table-column>
                 <el-table-column prop="audit" label="测试状态" width="100">
                   <template #default="scope">
-                    <div style="text-align: center;display: flex;color:#67C23A" v-if="scope.row.testRunNum>0">
+                    <div style="text-align: center;display: flex;color:#67C23A" v-if="scope.row.senState=='0'">
                       已测试
                     </div>
-                    <div style="text-align: center;display: flex;color:#F56C6C" v-if="scope.row.testRunNum==0||scope.row.testRunNum==null">
+                    <div style="text-align: center;display: flex;color:#F56C6C" v-if="scope.row.senState=='1'">
                       未测试
                     </div>
                   </template>
                 </el-table-column>
+                <el-table-column prop="errorMessage" label="错误信息" show-overflow-tooltip>
+                </el-table-column>
             </el-table>
           <template #footer>
               <span class="dialog-footer">