diff --git a/sub-operation-service/src/apis/brand.js b/sub-operation-service/src/apis/brand.js index 6f01572..8c264f9 100644 --- a/sub-operation-service/src/apis/brand.js +++ b/sub-operation-service/src/apis/brand.js @@ -39,6 +39,12 @@ export function authList(params) { params, }); } +export function usageList(params) { + return request('brand/applicationrecord/pageByGoodsStatus', { + method: 'GET', + params, + }); +} export function authDetail(id, params) { return request(`brand/brandbase/detail/${id}`, { method: 'GET', @@ -51,6 +57,18 @@ export function getStatisticsData(id, params) { params, }); } +export function brandUsingSystem(params) { + return request('brand/brandUsingSystem/viewPage', { + method: 'GET', + params, + }); +} +export function brandUsingSystemDetail(id, params) { + return request(`brand/brandUsingSystem/detail/${id}`, { + method: 'GET', + params, + }); +} export function saveRecords(data) { return request('brand/applicationrecord/save', { diff --git a/sub-operation-service/src/router/index.js b/sub-operation-service/src/router/index.js index bbf008b..da763f3 100644 --- a/sub-operation-service/src/router/index.js +++ b/sub-operation-service/src/router/index.js @@ -502,6 +502,21 @@ export const constantRoutes = [ }, ], }, + { + path: 'monitor', + component: BrandLayout, + meta: { title: '使用监管' }, + name: 'authUse', + redirect: '/sub-operation-service/brand/monitor', + children: [ + { + path: '', + component: () => import('@/views/brand/components/Monitor.vue'), + meta: { title: '使用监管', hideInBread: true }, + name: 'brandMonitor', + }, + ], + }, ], }, diff --git a/sub-operation-service/src/views/brand/components/Auth.vue b/sub-operation-service/src/views/brand/components/Auth.vue index 93df1d4..cb6909e 100644 --- a/sub-operation-service/src/views/brand/components/Auth.vue +++ b/sub-operation-service/src/views/brand/components/Auth.vue @@ -62,7 +62,7 @@
- product + product
{{ product.productName }}
@@ -99,8 +99,8 @@ > 授权证书 - 溯源报告 - 取消授权 + +
diff --git a/sub-operation-service/src/views/brand/components/BrandSystem.vue b/sub-operation-service/src/views/brand/components/BrandSystem.vue index 6f06922..3a4fd35 100644 --- a/sub-operation-service/src/views/brand/components/BrandSystem.vue +++ b/sub-operation-service/src/views/brand/components/BrandSystem.vue @@ -4,24 +4,17 @@
-
+
{{ item.title }}
-
发布日期: {{ item.effectiveDate }}
- - - +
发布日期: {{ item.createTime ? item.createTime.split(' ')[0] : '' }}
-

{{ item.desc }}

+

{{ item.descStr }}

- - - -
@@ -34,7 +27,7 @@

{{ currentDetail.title }}

- {{ currentDetail.status }} +
@@ -45,7 +38,16 @@
-
+ +
+ +