duizhaopin_ui
13507605001 2 years ago
parent d7a1322ab4
commit 817c92e833

@ -0,0 +1,6 @@
# just a flag
ENV = 'development'
# base api
VUE_APP_BASE_API = 'http://127.0.0.1:9001'
VUE_APP_FACE_API = 'http://192.168.0.120:5000'

@ -1,6 +1,7 @@
import request from '@/utils/request'
export function login(data) {
console.log(1111111111111111111111111111111111, data)
return request({
url: '/api/user/login',
method: 'post',

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

@ -185,7 +185,7 @@
</el-table-column>
<el-table-column align="center" property="status" label="操作类型">
<template slot-scope="scope">
<el-tag :type="statusColorMap[scope.row.status-1]">{{ recodeStatusMap[scope.row.status-1] }}</el-tag>
<el-tag :type="statusColorMap[scope.row.record_type-1]">{{ recodeStatusMap[scope.row.record_type-1] }}</el-tag>
</template>
</el-table-column>
<el-table-column align="center" property="create_date" label="操作时间" width="150" />

@ -120,6 +120,23 @@
</div>
<div class="consume">
<el-card class="box-card">
<div slot="header" class="clearfix" @click="$router.push(`/${$store.getters.classification}/report/userconsuminfo`)">
<span class="text">人员用量消耗</span>
<i style="float: right; padding: 3px 0" class="el-icon-arrow-right" />
</div>
<div style="display: flex;justify-content: center;overflow-y: auto">
<div v-for="(user,index) in userData.slice(0,3)" :key="user.create_user_id" class="user-item">
<el-avatar
:size="50"
:src="user.avatar_url || circleUrl"
/>
<div class="order">top{{ index + 1 }}</div>
<div class="name">{{ user.create_user_name || "程小红" }}</div>
<div class="count">{{ user.count_number }}</div>
</div>
</div>
</el-card>
<!-- <el-card class="box-card">
<div slot="header" class="clearfix" @click="$router.push(`/${$store.getters.classification}/report/userconsuminfo`)">
<span class="text">人员用量消耗</span>
<i style="float: right; padding: 3px 0" class="el-icon-arrow-right" />
@ -133,7 +150,7 @@
<div class="name">{{ user.create_user_name || "程小红" }}</div>
<div class="count">{{ user.count_number }}</div>
</div>
</el-card>
</el-card> -->
</div>
</div>
</div>
@ -175,7 +192,8 @@ export default {
count_number: 0
},
use_avg_info: {},
userData: []
userData: [],
circleUrl: require('@/assets/rms/header.jpeg')
}
},
created() {

Loading…
Cancel
Save