Bläddra i källkod

feat: clarify data product navigation names

马小龙 2 dagar sedan
förälder
incheckning
8a0e8049c0

+ 8 - 8
frontend/src/router/routes.js

@@ -1751,7 +1751,7 @@ export default {
           icon: '',
           remark: '',
           type: 1,
-          title: '数据产品',
+          title: '数据产品目录',
           local: '',
           path: '/dataService/dataProduct',
           urls: '',
@@ -1762,7 +1762,7 @@ export default {
           level: 2,
           openPath: '',
           active: '',
-          label: '数据产品',
+          label: '数据产品目录',
           sort: 7,
           parentId: 972,
           effectiveStatus: true,
@@ -1775,7 +1775,7 @@ export default {
             enName: 'data Product',
             icon: '',
             editModules: false,
-            title: '数据产品',
+            title: '数据产品目录',
             fullScreen: false,
             target: false,
             effectiveStatus: true
@@ -1783,7 +1783,7 @@ export default {
           name: 'dataProduct',
           style: '',
           alwaysShow: 0,
-          metastr: '{"keepAlive":false,"allowClick":false,"enName":"data Product","editModules":false,"title":"数据产品","fullScreen":false,"target":false}',
+          metastr: '{"keepAlive":false,"allowClick":false,"enName":"data Product","editModules":false,"title":"数据产品目录","fullScreen":false,"target":false}',
           open: null
         },
         {
@@ -1794,7 +1794,7 @@ export default {
           icon: '',
           remark: '',
           type: 1,
-          title: '数据产品治理',
+          title: '产品治理与运营',
           local: '',
           path: '/dataService/productGovernance',
           urls: '',
@@ -1805,7 +1805,7 @@ export default {
           level: 2,
           openPath: '',
           active: '',
-          label: '数据产品治理',
+          label: '产品治理与运营',
           sort: 8,
           parentId: 972,
           effectiveStatus: true,
@@ -1819,7 +1819,7 @@ export default {
             enName: 'data product governance',
             icon: '',
             editModules: false,
-            title: '数据产品治理',
+            title: '产品治理与运营',
             fullScreen: false,
             target: false,
             effectiveStatus: true
@@ -1827,7 +1827,7 @@ export default {
           name: 'productGovernance',
           style: '',
           alwaysShow: 0,
-          metastr: '{"keepAlive":false,"allowClick":false,"permissions":["data-products:read"],"enName":"data product governance","editModules":false,"title":"数据产品治理","fullScreen":false,"target":false}',
+          metastr: '{"keepAlive":false,"allowClick":false,"permissions":["data-products:read"],"enName":"data product governance","editModules":false,"title":"产品治理与运营","fullScreen":false,"target":false}',
           open: null
         }
       ],

+ 4 - 0
frontend/src/views/dataService/dataProduct/index.vue

@@ -1,6 +1,10 @@
 <template>
   <!-- 数据产品 -->
   <div class="pa-3 white">
+    <div class="mb-4">
+      <h1 class="text-h4 font-weight-bold mb-2">数据产品目录</h1>
+      <p class="mb-0 grey--text text--darken-1">查看和使用数据工厂产出的数据产品。</p>
+    </div>
     <m-filter :option="filter" @search="handleSearch" />
     <table-list
       class="mt-3"

+ 1 - 1
frontend/src/views/dataService/productGovernance/index.vue

@@ -3,7 +3,7 @@
     <section class="hero pa-5 mb-4">
       <div>
         <div class="eyebrow mb-2">DATA PRODUCT OPERATIONS</div>
-        <h1 class="text-h4 font-weight-bold mb-2">数据产品治理</h1>
+        <h1 class="text-h4 font-weight-bold mb-2">产品治理与运营</h1>
         <p class="mb-0">围绕责任人、申请审批、数据合同、产品合格证和用户反馈管理产品全生命周期。</p>
       </div>
       <div class="hero-actions">

+ 1 - 1
tests/test_product_governance_contract.py

@@ -94,7 +94,7 @@ def test_api_and_frontend_cover_the_complete_product_governance_surface():
     ):
         assert operation in client
     for capability in (
-        "数据产品治理",
+        "产品治理与运营",
         "通用申请",
         "数据合同",
         "产品合格证",