diff --git a/back/src/views/modules/ability/IntegratedServices.vue b/back/src/views/modules/ability/IntegratedServices.vue new file mode 100644 index 00000000..dcff9365 --- /dev/null +++ b/back/src/views/modules/ability/IntegratedServices.vue @@ -0,0 +1,450 @@ + + + + diff --git a/back/src/views/modules/workBench/api.js b/back/src/views/modules/workBench/api.js index da7c16a2..38aad1e9 100644 --- a/back/src/views/modules/workBench/api.js +++ b/back/src/views/modules/workBench/api.js @@ -116,7 +116,8 @@ export const getFrequence = (data, success, fail) => { export const getResourceByDept = (data, success, fail) => { Request({ methods: 'get', - url: '/resource/getByDept', + // url: '/resource/getByDept', + url: '/workdynamics/getDeptWork', data }).then(res => { success && success(res) diff --git a/back/src/views/modules/workBench/components/bottom-view.vue b/back/src/views/modules/workBench/components/bottom-view.vue index cf6da540..98acdc7a 100644 --- a/back/src/views/modules/workBench/components/bottom-view.vue +++ b/back/src/views/modules/workBench/components/bottom-view.vue @@ -1,53 +1,132 @@ \ No newline at end of file diff --git a/back/src/views/modules/workBench/components/dept-todo-view.vue b/back/src/views/modules/workBench/components/dept-todo-view.vue index 2ee0baca..3864a583 100644 --- a/back/src/views/modules/workBench/components/dept-todo-view.vue +++ b/back/src/views/modules/workBench/components/dept-todo-view.vue @@ -22,7 +22,7 @@ -
+
查看更多 >
@@ -51,7 +51,12 @@ export default { methods: { formatNum(num) { return num || num === 0 ? num : '--' - } + }, + goPage(url) { + this.$router.push({ + path: url + }); + }, } } diff --git a/back/src/views/modules/workBench/components/dynamic-view.vue b/back/src/views/modules/workBench/components/dynamic-view.vue deleted file mode 100644 index fea8cda8..00000000 --- a/back/src/views/modules/workBench/components/dynamic-view.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - - \ No newline at end of file diff --git a/back/src/views/modules/workBench/components/frequency-top5-view.vue b/back/src/views/modules/workBench/components/frequency-top5-view.vue index 9764f74e..49938ded 100644 --- a/back/src/views/modules/workBench/components/frequency-top5-view.vue +++ b/back/src/views/modules/workBench/components/frequency-top5-view.vue @@ -4,15 +4,22 @@
-
{{ no2Obj.name || '--' }}
+ +
{{ no2Obj.name || '--' }}
+
{{ formatCount(no2Obj.count) }}
-
{{ no1Obj.name || '--' }}
+ +
{{ no1Obj.name || '--' }}
+
{{ formatCount(no1Obj.count) }}
-
{{ no3Obj.name || '--' }}
+ +
{{ no3Obj.name || '--' }}
+
+
{{ formatCount(no3Obj.count) }}
@@ -174,6 +181,7 @@ export default { margin-bottom: 10px; margin-top: 70px; width: 150px; + text-align: center; } .count { diff --git a/back/src/views/modules/workBench/components/recommend-view.vue b/back/src/views/modules/workBench/components/recommend-view.vue deleted file mode 100644 index c07032b0..00000000 --- a/back/src/views/modules/workBench/components/recommend-view.vue +++ /dev/null @@ -1,98 +0,0 @@ - - - - - \ No newline at end of file diff --git a/back/src/views/modules/workBench/workBench.vue b/back/src/views/modules/workBench/workBench.vue index 95b6f0f8..95f5bca3 100644 --- a/back/src/views/modules/workBench/workBench.vue +++ b/back/src/views/modules/workBench/workBench.vue @@ -54,7 +54,8 @@ export default { textColor: '#f86f01', num: 0, list: [], - nameStr: 'taskName' + nameStr: 'taskName', + url: 'activiti-my-todo-task' }, // 部门已办 hasToDodoData: { @@ -66,7 +67,8 @@ export default { textColor: '#21b107', num: 0, list: [], - nameStr: 'processDefinitionName' + nameStr: 'processDefinitionName', + url: 'activiti-my-join-task' }, // 部门申请 resourceData: [], @@ -212,6 +214,7 @@ export default { } .work-brnch-box { + .top { height: 284px; margin-bottom: 16px; diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index 4003bd3b..f2dd031d 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -180,7 +180,11 @@ callTheTrendPort(start, end, 86400).then((res) => { if (res.data.data.result) { // res.data.data.result.splice(0, 1) + callTheTrendData.value.snum = [] res.data.data.result[0].values.map((item) => { + callTheTrendData.value.snum.push( + moment(item[0] * 1000).format('MM-DD') + ) callTheTrendData.value.snum.push(parseInt(item[1])) }) callTheTrend(callTheTrendData.value) diff --git a/front/src/views/capabilityCloud/components/DataResources.vue b/front/src/views/capabilityCloud/components/DataResources.vue index 77d4e9eb..b4dba74f 100644 --- a/front/src/views/capabilityCloud/components/DataResources.vue +++ b/front/src/views/capabilityCloud/components/DataResources.vue @@ -144,7 +144,11 @@ const object = res.data.data.filter((item) => item.type === val.name)[0] console.log('object', object) if (object) { - val.num = object.amount + if (object.type == '满足率') { + val.num = object.amount * 100 + '%' + } else { + val.num = object.amount + } } }) const arr = res.data.data.filter((item) => item.resourceTop5)[0] diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 6efd0f0c..57c911cb 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -109,6 +109,12 @@ v-model:value="item.note1" :options="item.options" /> +

+ {{ abilityToType }} +

+

+ {{ componentTypeValue }} +

+ + 请选择来源应用 +