Hua 3 місяців тому
батько
коміт
2ee63fdaf6
1 змінених файлів з 5 додано та 2 видалено
  1. 5 2
      ruoyi-ui/src/views/service/info/fabu.vue

+ 5 - 2
ruoyi-ui/src/views/service/info/fabu.vue

@@ -190,7 +190,7 @@
             {{titleFabu}}
           </div>
           <el-table 
-          style="margin-top: 2%;width: 98%;min-height: 400px;"
+          style="margin-top: 2%;width: 98%;height: 400px;"
           :data="tableDataLog" 
           :cell-style="{ textAlign: 'center',padding:'2px 0' }"
           :header-cell-style="{ textAlign: 'center'}"
@@ -445,9 +445,10 @@ const copied = ref(false);
 const parShenhe = ref({})
 
 function showLog(row){
+  parMdid.value = row.mdid
   dialogVisibleLevel.value = true
   var par = {
-    proId:row.srvId,
+    proId:row.mdid,
     proType:'PUBLISH'
   }
   titleFabu.value = row.name
@@ -458,6 +459,7 @@ function showLog(row){
 function saveShenhe(){
   parShenhe.value.publish = publish.value
   parShenhe.value.auditRemark = auditRemark.value
+  parShenhe.value.mdid = parMdid.value
   publishModel(parShenhe.value).then(res=>{
     if(res.code===200){
       proxy.$modal.msgSuccess("已发布!");
@@ -467,6 +469,7 @@ function saveShenhe(){
   })
 }
 function shenhe(row){
+  parMdid.value = row.mdid
   dialogVisibleTest.value = true
   parShenhe.value = {
     srvId:row.srvId,