Browse Source

Merge remote-tracking branch 'origin/feature/phaseOne'

# Conflicts:
#	src/views/modules/workbench/workbench.vue
origin/feature/monitoring
liuchuang 4 years ago
parent
commit
6bf5b60d2e
  1. 2
      public/index.html
  2. 4
      src/views/modules/workbench/barOption.js
  3. 4
      src/views/modules/workbench/lineOption.js
  4. 20
      src/views/modules/workbench/workbench.vue

2
public/index.html

@ -35,7 +35,7 @@
<!-- 开发环境 --> <!-- 开发环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script> <script>
window.SITE_CONFIG['apiURL'] = 'http://localhost:9094/epdc-api' window.SITE_CONFIG['apiURL'] = 'https://epdc-yushan.elinkservice.cn/epdc-api'
// window.SITE_CONFIG['apiURL'] = 'https://epdc-yushan.elinkservice.cn/epdc-api' // window.SITE_CONFIG['apiURL'] = 'https://epdc-yushan.elinkservice.cn/epdc-api'
window.SITE_CONFIG['workLogURL'] = 'https://epmet-ext1.pingyin.gov.cn/plugin-wrf' //工作日志引用外链地址 window.SITE_CONFIG['workLogURL'] = 'https://epmet-ext1.pingyin.gov.cn/plugin-wrf' //工作日志引用外链地址
</script> </script>

4
src/views/modules/workbench/barOption.js

@ -44,13 +44,13 @@ export default function getBarOption (xdata, ydata1, ydata2) {
show: false, show: false,
realtime: true, realtime: true,
start: 0, start: 0,
end: 50 end: 8
}, },
{ {
type: 'inside', type: 'inside',
realtime: true, realtime: true,
start: 0, start: 0,
end: 50 end: 8
} }
], ],
series: [ series: [

4
src/views/modules/workbench/lineOption.js

@ -44,13 +44,13 @@ export default function getLineOption (xdata, ydata1, ydata2, ydata3) {
show: false, show: false,
realtime: true, realtime: true,
start: 0, start: 0,
end: 50 end: 7
}, },
{ {
type: 'inside', type: 'inside',
realtime: true, realtime: true,
start: 0, start: 0,
end: 50 end: 7
} }
], ],
series: [ series: [

20
src/views/modules/workbench/workbench.vue

@ -69,8 +69,8 @@
<div class="title"><span class="line"></span>数据排行</div> <div class="title"><span class="line"></span>数据排行</div>
</div> </div>
<div class="chart-box"> <div class="chart-box">
<div id="chart-bar" :style="{width: '45%', height: '400px'}"></div> <div id="chart-bar" :style="{width: '500px', height: '400px'}"></div>
<div id="chart-line" :style="{width: '45%', height: '400px'}"></div> <div id="chart-line" :style="{width: '500px', height: '400px'}"></div>
</div> </div>
</el-card> </el-card>
<el-card shadow="never" class="aui-card--fill"> <el-card shadow="never" class="aui-card--fill">
@ -87,15 +87,15 @@
<div class="data-table"> <div class="data-table">
<el-table v-loading="dataListLoading" :data="dataList" border style="width: 100%;"> <el-table v-loading="dataListLoading" :data="dataList" border style="width: 100%;">
<el-table-column prop="deptName" label="组织" align="center" min-width="200px"></el-table-column> <el-table-column prop="deptName" label="组织" align="center" min-width="200px"></el-table-column>
<el-table-column prop="topicNum" label="话题数" header-align="center" align="center" min-width="200px" show-overflow-tooltip></el-table-column> <el-table-column prop="topicNum" label="话题数" header-align="center" align="center" min-width="120px" show-overflow-tooltip></el-table-column>
<el-table-column prop="issueNum" label="议题数" header-align="center" min-width="200px" align="center"></el-table-column> <el-table-column prop="issueNum" label="议题数" header-align="center" min-width="120px" align="center"></el-table-column>
<el-table-column prop="itemNum" label="项目数" header-align="center" align="center" min-width="200px" show-overflow-tooltip></el-table-column> <el-table-column prop="itemNum" label="项目数" header-align="center" align="center" min-width="120px" show-overflow-tooltip></el-table-column>
<el-table-column prop="itemCaseClosedNum" label="项目结案数" header-align="center" align="center" min-width="200px"></el-table-column> <el-table-column prop="itemCaseClosedNum" label="项目结案数" header-align="center" align="center" min-width="120px"></el-table-column>
<el-table-column prop="superviseItemNum" label="督办项目数" header-align="center" min-width="200px" align="center"></el-table-column> <el-table-column prop="superviseItemNum" label="督办项目数" header-align="center" min-width="120px" align="center"></el-table-column>
</el-table> </el-table>
<el-pagination :current-page="page" <el-pagination :current-page="page"
:page-sizes="[10, 20, 50, 100]" :page-sizes="[10, 20, 50, 100]"
:page-size="page" :page-size="limit"
:total="total" :total="total"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@size-change="pageSizeChangeHandle" @size-change="pageSizeChangeHandle"
@ -163,6 +163,7 @@ export default {
}, },
onRadioChange () { onRadioChange () {
this.dataForm.dateType = this.radio this.dataForm.dateType = this.radio
this.page = 1
this.getDataList() this.getDataList()
}, },
onQuery () { onQuery () {
@ -289,10 +290,11 @@ export default {
margin: 20px 0; margin: 20px 0;
} }
.data-list .data-item { .data-list .data-item {
width: 270px; width: 17%;
height: 130px; height: 130px;
display: flex; display: flex;
align-items: center; align-items: center;
overflow: hidden;
} }
.data-list .data-item-bg-1 { .data-list .data-item-bg-1 {
background: url('~@/assets/img/topic.png') no-repeat center center; background: url('~@/assets/img/topic.png') no-repeat center center;

Loading…
Cancel
Save