Merge branch 'develop' of http://117.78.60.236:8000/csbr-daop/fe-data-asset-management into develop
Showing
3 changed files
with
22 additions
and
12 deletions
| ... | @@ -430,8 +430,8 @@ export const getApiDetail = (params) => request({ | ... | @@ -430,8 +430,8 @@ export const getApiDetail = (params) => request({ |
| 430 | 430 | ||
| 431 | // 跨服务调加工交付接口 获取API调用次数 | 431 | // 跨服务调加工交付接口 获取API调用次数 |
| 432 | export const getApiInvokeCount = (data) => request({ | 432 | export const getApiInvokeCount = (data) => request({ |
| 433 | // url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, | 433 | url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, |
| 434 | url: `http://192.168.6.22:29900/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, | 434 | //url: `http://192.168.6.22:29900/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, |
| 435 | method: 'post', | 435 | method: 'post', |
| 436 | data | 436 | data |
| 437 | }) | 437 | }) | ... | ... |
| ... | @@ -7,7 +7,7 @@ const routes: RouteRecordRaw[] = [ | ... | @@ -7,7 +7,7 @@ const routes: RouteRecordRaw[] = [ |
| 7 | path: '/data-asset-index', | 7 | path: '/data-asset-index', |
| 8 | component: Layout, | 8 | component: Layout, |
| 9 | meta: { | 9 | meta: { |
| 10 | title: '首页', | 10 | title: '数据资产看板', |
| 11 | icon: 'sidebar-videos', | 11 | icon: 'sidebar-videos', |
| 12 | }, | 12 | }, |
| 13 | children: [{ | 13 | children: [{ |
| ... | @@ -15,7 +15,7 @@ const routes: RouteRecordRaw[] = [ | ... | @@ -15,7 +15,7 @@ const routes: RouteRecordRaw[] = [ |
| 15 | name: 'assetIndex', | 15 | name: 'assetIndex', |
| 16 | component: () => import('@/views/indexNewBigScreen.vue'), | 16 | component: () => import('@/views/indexNewBigScreen.vue'), |
| 17 | meta: { | 17 | meta: { |
| 18 | title: '首页', | 18 | title: '数据资产看板', |
| 19 | sidebar: false, | 19 | sidebar: false, |
| 20 | breadcrumb: false, | 20 | breadcrumb: false, |
| 21 | cache: true | 21 | cache: true | ... | ... |
| ... | @@ -336,20 +336,30 @@ const financingTableInfo = ref({ | ... | @@ -336,20 +336,30 @@ const financingTableInfo = ref({ |
| 336 | { | 336 | { |
| 337 | label: "产品名称", | 337 | label: "产品名称", |
| 338 | field: "apiName", | 338 | field: "apiName", |
| 339 | width: 140, | 339 | width: 150, |
| 340 | // type: "text_btn", | 340 | // type: "text_btn", |
| 341 | // columClass: 'text_btn', | 341 | // columClass: 'text_btn', |
| 342 | // value: "detail", | 342 | // value: "detail", |
| 343 | }, | 343 | }, |
| 344 | { label: "调用数", field: "callApiNumber", width: 100, align: "right", }, | 344 | { label: "调用数", field: "callApiNumber", width: 130, align: "left", getName: (scope) => { |
| 345 | let callApiNumber = scope.row.callApiNumber; | ||
| 346 | if (!callApiNumber) { | ||
| 347 | return `调用数0` | ||
| 348 | } | ||
| 349 | return `调用数${changeNum(callApiNumber, 0)}` | ||
| 350 | } }, | ||
| 345 | { | 351 | { |
| 346 | label: "调用次数", | 352 | label: "调用次数", |
| 347 | field: "callApiCount", | 353 | field: "callApiCount", |
| 348 | width: 100, | 354 | minWidth: 120, |
| 349 | align: "right", | 355 | align: "left", |
| 350 | // getName: (scope) => { | 356 | getName: (scope) => { |
| 351 | // return changeNum(scope.row.creditGrantingMoney ?? 0, 2, true) + '万元'; | 357 | let callApiCount = scope.row.callApiCount; |
| 352 | // }, | 358 | if (!callApiCount) { |
| 359 | return `调用0次` | ||
| 360 | } | ||
| 361 | return `调用${changeNum(callApiCount, 0)}次` | ||
| 362 | }, | ||
| 353 | }, | 363 | }, |
| 354 | // { | 364 | // { |
| 355 | // label: "授信期限(月)", | 365 | // label: "授信期限(月)", |
| ... | @@ -360,7 +370,7 @@ const financingTableInfo = ref({ | ... | @@ -360,7 +370,7 @@ const financingTableInfo = ref({ |
| 360 | // return changeNum(scope.row.creditGrantingTerm ?? 0) + '月'; | 370 | // return changeNum(scope.row.creditGrantingTerm ?? 0) + '月'; |
| 361 | // }, | 371 | // }, |
| 362 | // }, | 372 | // }, |
| 363 | { label: "最近调用时间", field: "invokeStartTime", minWidth: 100 }, | 373 | // { label: "最近调用时间", field: "invokeStartTime", minWidth: 100 }, |
| 364 | ], | 374 | ], |
| 365 | data: [], | 375 | data: [], |
| 366 | showPage: false, | 376 | showPage: false, | ... | ... |
-
Please register or sign in to post a comment