Bläddra i källkod

电签监控-完成

duy 1 dag sedan
förälder
incheckning
8d6e516794
2 ändrade filer med 30 tillägg och 14 borttagningar
  1. 2 2
      src/config/index.json
  2. 28 12
      src/views/monitor/certificate.vue

+ 2 - 2
src/config/index.json

@@ -1,9 +1,9 @@
 {
-  "target33": "http://127.0.0.1:8090",
+  "target": "http://127.0.0.1:8090",
 
 
   "target22": "http://39.108.216.210:8090",
-  "target": "http://192.168.0.109:8090",
+  "target33": "http://192.168.0.109:8090",
   "target11": "http://219.151.181.73:8090",
   "target3": "http://183.247.216.148:28090",
   "dev": {

+ 28 - 12
src/views/monitor/certificate.vue

@@ -110,23 +110,36 @@
       </el-table-column>
       <el-table-column prop="taskName" label="任务名称">
         <template slot-scope="{ row }">
-          <span style="font-weight: bolder">{{ row.taskName }}</span>
+          <span style="font-weight: bolder; color: #000">
+            {{ row.taskName }}
+          </span>
         </template>
       </el-table-column>
       <el-table-column prop="userName" label="任务人" width="120">
-         <template slot-scope="{ row }">
-          <span style="font-weight: bolder">{{ row.userName }}</span>
+        <template slot-scope="{ row }">
+          <span style="font-weight: bolder; color: #000">
+            {{ row.userName }}
+          </span>
         </template>
       </el-table-column>
       <el-table-column prop="signType" label="任务类型" width="120">
         <template slot-scope="{ row }">
-          <span v-if="row.type == 1" class="task-tag">个人证书</span>
-          <span v-else class="task-tag">企业证书</span>
+          <div
+            class="task-tag"
+            :style="{ background: row.type == 1 ? '#DCEAFE' : '#DCFCE7',color: row.type == 1 ? '#3973ED' : '#16A34A' }"
+          >
+            {{ row.type == 1 ? "个人证书" : "企业证书" }}
+          </div>
         </template>
       </el-table-column>
       <el-table-column prop="createTime" label="任务开始时间" width="120">
       </el-table-column>
-      <el-table-column prop="startTime" label="电签开始时间" width="120">
+      <el-table-column
+        v-if="query.taskType == 1"
+        prop="startTime"
+        label="电签开始时间"
+        width="120"
+      >
       </el-table-column>
       <el-table-column prop="finishTime" label="预计完成时间" width="120">
       </el-table-column>
@@ -309,15 +322,18 @@ export default {
       align-items: center;
       gap: 10px;
     }
-
-    .task-tag{
-      background-color: #1369e9;
-      padding: 2px 10px;
-      border-radius: 4px;
-    }
   }
 }
 
+.task-tag {
+  width: 80px;
+  padding: 4px 4px;
+  border-radius: 30px;
+  color: #fff;
+  text-align: center;
+  font-size: 14px;
+}
+
 // .tableList {
 //   ::v-deep th.el-table__cell {
 //     font-size: 16px !important;