From 2abce925663c0c044c9b5421eab9881e4dbe9f18 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 31 七月 2023 14:58:06 +0800
Subject: [PATCH] 提交文件

---
 src/pages/show/showIndex/IndexMoudleBlock/IndexMoudleForm.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/pages/show/showIndex/IndexMoudleBlock/IndexMoudleForm.vue b/src/pages/show/showIndex/IndexMoudleBlock/IndexMoudleForm.vue
index ec83cf2..e5122f4 100644
--- a/src/pages/show/showIndex/IndexMoudleBlock/IndexMoudleForm.vue
+++ b/src/pages/show/showIndex/IndexMoudleBlock/IndexMoudleForm.vue
@@ -2,7 +2,7 @@
   <div class="YunweiBlockForm-wrap">
     <el-dialog
       custom-class="YunweiBlockForm-dialog"
-      title="杩愮淮璇︽儏"
+      title="涓绘満璇︽儏"
       :visible.sync="dialogVisible"
       width="600px"
       :close-on-click-modal="false"
@@ -22,7 +22,7 @@
         </el-table-column>
         <el-table-column
           prop="runDate"
-          label="涓婃杩愯鏃堕棿"
+          label="杩愯鏃堕棿"
           show-overflow-tooltip
           align="left"
           header-align="left"
@@ -50,7 +50,7 @@
 </template>
 
 <script>
-import {getTaskInfoById} from '@/api/daping'
+import {getHostInfo} from '@/api/daping'
 export default {
   name: "YunweiBlockForm",
   data() {
@@ -70,26 +70,26 @@
     }
   },
   methods: {
-    init(id) {
+    init() {
       this.dialogVisible = true
-      //this.getTaskInfoById(id)
+      this.getTaskInfoById()
     },
-    getTaskInfoById(id) {
-      getTaskInfoById({id:id}).then(res => {
+    getTaskInfoById() {
+      getHostInfo().then(res => {
         if(res.code == 0) {
           this.tableData = res.data
         }
       })
     },
     isRunformat(row) {
-      if(row.isRun == 0 || row.isRun == null) {
+      if(row.isRun == 1 || row.isRun == null) {
         return '姝e父'
-      }else if(row.isRun == 1){
+      }else if(row.isRun == 2){
         return '寮傚父'
       }
     },
     handleClickRowName({row, column, rowIndex, columnIndex}) {
-      if(row.isRun == 1 && column.label == '鏄惁姝e父杩愯') {
+      if(row.isRun == 2 && column.label == '鏄惁姝e父杩愯') {
         return 'yichangStyle'
       }else {
         return ''

--
Gitblit v1.9.1