系统首页

master
lion 7 months ago
parent 0a2fac6cdb
commit 96d386d48b

@ -3,7 +3,7 @@ ENV = 'production'
# base api # base api
#http://192.168.60.99:9004/ #http://192.168.60.99:9004/
VUE_APP_BASE_API = VUE_APP_BASE_API = ''
VUE_APP_UPLOAD_API = /api/admin/upload-file VUE_APP_UPLOAD_API = /api/admin/upload-file
VUE_APP_OA_URL = http://192.168.60.18:2021 VUE_APP_OA_URL = http://192.168.60.18:2021
VUE_APP_OA_URL_TYPE = '{"领用":"37","处置":"38","应急":"39"}' VUE_APP_OA_URL_TYPE = '{"领用":"37","处置":"38","应急":"39"}'

@ -2,16 +2,36 @@
<div> <div>
<div style='display: flex;justify-content: space-between;'> <div style='display: flex;justify-content: space-between;'>
<div>当前登录人{{user.name}}</div> <div>当前登录人{{user.name}}</div>
<div class="chart-title"> </div>
<!-- <span>出入库统计</span> --> <!-- 待办工单 待运维设备 -->
<!-- <el-select placeholder="请选择仓库" style="margin-right:10px"></el-select> --> <div style='display: flex;justify-content: space-between;'>
<el-date-picker @change="changeDate" v-model="dateRange" value-format="yyyy-MM-dd" type="daterange" <div style="width:49%">
:picker-options="pickerOptions" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" <div style="font-size: 18px;">待办工单</div>
align="right"> <xy-table :list="todoList" :height="300" :isPage="false" :table-item="todoTable">
</el-date-picker> <template v-slot:btns>
<!-- <div></div> -->
<el-table-column align="center" label="操作" width="120" header-align="center">
<template slot-scope="scope">
</template>
</el-table-column>
</template>
</xy-table>
</div>
<div style="width:49%">
<div style="font-size: 18px;">待运维设备</div>
<xy-table :list="yunweiList" :height="300" :isPage="false" :table-item="yunweiTable">
<template v-slot:btns>
<!-- <div></div> -->
<el-table-column align="center" label="操作" width="120" header-align="center">
<template slot-scope="scope">
</template>
</el-table-column>
</template>
</xy-table>
</div> </div>
</div> </div>
<div class="statistics"> <div class="statistics">
<panel-group :totaldata="list" :curtotal='curTotal'/> <panel-group :totaldata="list" :curtotal='curTotal'/>
</div> </div>
@ -24,6 +44,20 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<!-- 设备记录 -->
<div style="width:100%;margin-bottom:20px">
<div style="font-size: 18px;margin:20px 0">设备记录</div>
<xy-table :list="shebeiList" :height="300" :isPage="false" :table-item="shebeiTable">
<template v-slot:btns>
<!-- <div></div> -->
<el-table-column align="center" label="操作" width="120" header-align="center">
<template slot-scope="scope">
</template>
</el-table-column>
</template>
</xy-table>
</div>
</div> </div>
@ -83,6 +117,72 @@
} }
}] }]
}, },
todoList:[],
todoTable:[
{
label: "接收日期",
width: 120,
prop: 'date',
align: 'center',
},
{
label: "工单名称",
prop: 'name',
align: 'left',
},
{
label: "状态",
width: 120,
prop: 'status',
align: 'center',
},
],
yunweiList:[],
yunweiTable:[
{
label: "计划运维日期",
width: 120,
prop: 'date',
align: 'center',
},
{
label: "设备名称",
prop: 'name',
align: 'left',
},
{
label: "所属仓库",
width: 120,
prop: 'status',
align: 'center',
},
],
shebeiList:[],
shebeiTable:[
{
label: "运维日期",
width: 120,
prop: 'date',
align: 'center',
},
{
label: "设备名称",
prop: 'name',
width:180,
align: 'left',
},
{
label: "运维类型",
prop: 'type',
align: 'left',
},
{
label: "所属仓库",
width: 120,
prop: 'status',
align: 'center',
},
],
list: {}, list: {},
curTotal:{ curTotal:{
ruku:0, ruku:0,

Loading…
Cancel
Save