gaoshp
2024-04-17 ca3903e09980b98a1a46af0c339e9ca00fa04ccd
src/views/setting/task/logs.vue
@@ -14,7 +14,8 @@
            <el-table-column label="执行时间" prop="time" width="200"></el-table-column>
            <el-table-column label="执行结果" prop="state" width="100">
               <template #default="scope">
                  <span v-if="scope.row.state==200" style="color: #67C23A;"><el-icon><el-icon-success-filled /></el-icon></span>
                  <span v-if="scope.row.state == 200"
                     style="color: #67C23A;"><el-icon><el-icon-success-filled /></el-icon></span>
                  <span v-else style="color: #F56C6C;"><el-icon><el-icon-circle-close-filled /></el-icon></span>
               </template>
            </el-table-column>
@@ -29,7 +30,9 @@
   <el-drawer title="日志" v-model="logsVisible" :size="500" direction="rtl" destroy-on-close>
      <el-main  style="padding:0 20px 20px 20px;">
         <pre style="font-size: 12px;color: #999;padding:20px;background: #333;font-family: consolas;line-height: 1.5;overflow: auto;">{{demoLog}}</pre>
         <pre
            style="font-size: 12px;color: #999;padding:20px;background: #333;font-family: consolas;line-height: 1.5;overflow: auto;">
         {{ demoLog }}</pre>
      </el-main>
   </el-drawer>
</template>
@@ -104,5 +107,4 @@
   }
</script>
<style>
</style>
<style></style>