|
|
@@ -8,13 +8,13 @@ |
|
|
|
<bar-label :width="'95%'" :height="'500px'"></bar-label> |
|
|
|
<div style="margin-top: 20px;"> |
|
|
|
<span class="sta_iterm">统计周期:</span> |
|
|
|
<button type="button" class='btn' id ="yesterday" v-bind:class="{colorChange:1==dynamic}" @click="resetPage(),getAllProList('yesterday',1)">昨天</button> |
|
|
|
<button type="button" class='btnFirst' id ="yesterday" v-bind:class="{colorChange:1==dynamic}" @click="resetPage(),getAllProList('yesterday',1)">昨天</button> |
|
|
|
<button type="button" class='btn' id = "current_week" v-bind:class="{colorChange:2==dynamic}" @click="resetPage(),getAllProList('current_week',2)">本周</button> |
|
|
|
<button type="button" class='btn' id = "current_month" v-bind:class="{colorChange:3==dynamic}" @click="resetPage(),getAllProList('current_month',3)">本月</button> |
|
|
|
<button type="button" class='btn' id = "last_month" v-bind:class="{colorChange:4==dynamic}" @click="resetPage(),getAllProList('last_month',4)">上月</button> |
|
|
|
<button type="button" class='btn' id = "monthly" v-bind:class="{colorChange:5==dynamic}" @click="resetPage(),getAllProList('monthly',5)">近30天</button> |
|
|
|
<button type="button" class='btn' id = "current_year" v-bind:class="{colorChange:6==dynamic}" @click="resetPage(),getAllProList('current_year',6)">今年</button> |
|
|
|
<button type="button" class='btn' id = "all" v-bind:class="{colorChange:7==dynamic}" @click="resetPage(),getAllProList('all',7)">所有</button> |
|
|
|
<button type="button" class='btnLast' id = "all" v-bind:class="{colorChange:7==dynamic}" @click="resetPage(),getAllProList('all',7)">所有</button> |
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
<el-date-picker |
|
|
|
v-model="value_time" |
|
|
@@ -160,7 +160,7 @@ |
|
|
|
</div> |
|
|
|
<div id ="pro_detail" style="display:none;width: 100%;"> |
|
|
|
<div style="margin-top: 10px;"> |
|
|
|
<b class="pro_item">{{this.ownerName}} / {{this.pro_name}}</b> <span class="update_time">数据更新时间:</span><span style="font-size: 12px;">{{tableDataIDTotal.lastUpdatedTime}} / 从{{tableDataIDTotal.recordBeginTime}}开始统计</span> |
|
|
|
<a class="pro_item" :href="'../../../'+this.ownerName+'/'+this.pro_name">{{this.ownerName}} / {{this.pro_name}}</a> <span class="update_time">数据更新时间:</span><span style="font-size: 12px;">{{tableDataIDTotal.lastUpdatedTime}} / 从{{tableDataIDTotal.recordBeginTime}}开始统计</span> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 10px;"> |
|
|
|
项目描述:{{tableDataIDTotal.description | discriptionFun}} |
|
|
@@ -207,7 +207,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span=6 > |
|
|
|
<div class="item_r"> |
|
|
|
<div style="font-size:14px;color:rgb(0,0,0);margin:20px 5px;">贡献者TOP10</div> |
|
|
|
<div style="font-size:14px;color:rgb(0,0,0);margin:20px 0px">贡献者TOP10</div> |
|
|
|
<div> |
|
|
|
<el-table |
|
|
|
:data="tableDataContTop10" |
|
|
@@ -220,7 +220,7 @@ |
|
|
|
align="left" |
|
|
|
prop="user"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a v-if="scope.row.mode!=-1" :href="AppSubUrl +'../../../'+ scope.row.user"><img class="ui avatar s16 image js-popover-card" :src="scope.row.relAvatarLink">{{scope.row.user}} </a> |
|
|
|
<a v-if="scope.row.relAvatarLink!=''" :href="AppSubUrl +'../../../'+ scope.row.user"><img class="ui avatar s16 image js-popover-card" :src="scope.row.relAvatarLink">{{scope.row.user}} </a> |
|
|
|
<a v-else :href="'mailto:'+ scope.row.email "> <img class="ui avatar s16 image js-popover-card" :avatar="scope.row.email"> {{scope.row.user}}</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@@ -252,13 +252,13 @@ |
|
|
|
</div> |
|
|
|
<div style="margin-top: 20px;"> |
|
|
|
<span class="sta_iterm">统计周期:</span> |
|
|
|
<button type="button" class='btn' id ="yesterday_pro" v-bind:class="{colorChange:1==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'yesterday',false,1)">昨天</button> |
|
|
|
<button type="button" class='btnFirst' id ="yesterday_pro" v-bind:class="{colorChange:1==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'yesterday',false,1)">昨天</button> |
|
|
|
<button type="button" class='btn' id = "current_week_pro" v-bind:class="{colorChange:2==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'current_week',false,2)">本周</button> |
|
|
|
<button type="button" class='btn' id = "current_month_pro" v-bind:class="{colorChange:3==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'current_month',false,3)">本月</button> |
|
|
|
<button type="button" class='btn' id = "last_month_pro" v-bind:class="{colorChange:4==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'last_month',false,4)">上月</button> |
|
|
|
<button type="button" class='btn' id = "monthly_pro" v-bind:class="{colorChange:5==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'monthly',false,5)">近30天</button> |
|
|
|
<button type="button" class='btn' id = "current_year_pro" v-bind:class="{colorChange:6==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'current_year',false,6)">今年</button> |
|
|
|
<button type="button" class='btn' id = "all_pro" v-bind:class="{colorChange:7==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'all',false,7)">所有</button> |
|
|
|
<button type="button" class='btnLast' id = "all_pro" v-bind:class="{colorChange:7==dynamic_pro}" @click="resetCurrentPage(),getOneProList(pro_id,'all',false,7)">所有</button> |
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
<el-date-picker |
|
|
|
v-model="create_time_pro" |
|
|
@@ -788,6 +788,10 @@ |
|
|
|
}, |
|
|
|
slpitNumber:5, |
|
|
|
center: ['50%', '50%'], |
|
|
|
splitArea: { // 坐标轴在 grid 区域中的分隔区域 |
|
|
|
show: false, |
|
|
|
}, |
|
|
|
|
|
|
|
indicator: [{ |
|
|
|
name: '社区影响力', |
|
|
|
max: 100 |
|
|
@@ -1170,15 +1174,37 @@ |
|
|
|
color:rgba(187, 187, 187, 100); |
|
|
|
margin-left: 10px; |
|
|
|
} |
|
|
|
.btnFirst{ |
|
|
|
line-height: 1.5; |
|
|
|
margin: -3.5px; |
|
|
|
border: 1px solid #409eff; |
|
|
|
border-right: none; |
|
|
|
background: #FFFF; |
|
|
|
color: #409eff; |
|
|
|
width: 60px; |
|
|
|
height: 30px; |
|
|
|
border-radius:4px 0px 0px 4px; |
|
|
|
} |
|
|
|
.btn{ |
|
|
|
line-height: 1.5; |
|
|
|
margin: -3px; |
|
|
|
margin: -3.5px; |
|
|
|
border: 1px solid #409eff; |
|
|
|
border-right: none; |
|
|
|
background: #FFFF; |
|
|
|
color: #409eff; |
|
|
|
width: 60px; |
|
|
|
height: 30px; |
|
|
|
} |
|
|
|
.btnLast{ |
|
|
|
line-height: 1.5; |
|
|
|
margin: -3.5px; |
|
|
|
border: 1px solid #409eff; |
|
|
|
/* border-right: none; */ |
|
|
|
background: #FFFF; |
|
|
|
color: #409eff; |
|
|
|
width: 60px; |
|
|
|
height: 30px; |
|
|
|
border-radius:4px ; |
|
|
|
border-radius:0px 4px 4px 0px; |
|
|
|
} |
|
|
|
/* |
|
|
|
.btn:focus, |
|
|
|