dct 6 maanden geleden
bovenliggende
commit
54bfc06bf0

+ 3 - 3
src/views/systemSetting/product/DetailDialog.vue

@@ -136,11 +136,11 @@ export default {
     },
     async getInfo () {
       const { productItem } = this
-      const { projectId, projectName } = productItem
-      if (!projectId) return
+      const { otaProductId, projectName } = productItem
+      if (!otaProductId) return
       this.productInfo = []
       this.loading = true
-      const res = await getOtaProductById({ projectId, projectName })
+      const res = await getOtaProductById({ productId: otaProductId, projectName })
       this.productInfo = res.data || {}
       this.loading = false
     }

+ 2 - 5
src/views/systemSetting/project/DetailDialog.vue

@@ -1,12 +1,9 @@
 <template>
   <div>
-    <div class="tableBox">
-      <div class="block-title">
-        线下信息
-      </div>
-
+    <div style="padding: 20px;">
       <el-table
         v-loading="loading"
+        :max-height="600"
         :data="tableData">
         <el-table-column
           prop="projectName"