From 61634f10d31d1e1d7af7be0cb62ebd173ab8b414 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期五, 28 七月 2023 10:20:05 +0800
Subject: [PATCH] 提交文件

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

diff --git a/src/pages/show/showIndex/IndexMoudleBlock/IndexMoudleForm.vue b/src/pages/show/showIndex/IndexMoudleBlock/IndexMoudleForm.vue
index ec83cf2..6267b55 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"
@@ -50,7 +50,7 @@
 </template>
 
 <script>
-import {getTaskInfoById} from '@/api/daping'
+import {getHostInfo} from '@/api/daping'
 export default {
   name: "YunweiBlockForm",
   data() {
@@ -70,26 +70,25 @@
     }
   },
   methods: {
-    init(id) {
+    init() {
       this.dialogVisible = true
-      //this.getTaskInfoById(id)
     },
-    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