Commit bf07f95f authored by xinzhedeai's avatar xinzhedeai

add:bug修改

parent ceb46584
......@@ -177,7 +177,11 @@ export default {
// 表单参数
form: {},
// 表单校验
rules: {},
rules: {
cardId: [
{ required: true, message: "请输入定位卡号", trigger: "blur" },
],
},
};
},
created() {
......
......@@ -121,6 +121,7 @@
>历史轨迹</el-button
>
<el-button
v-if="scope.row.visitorStatus == 1"
size="small"
type="primary"
icon="el-icon-edit"
......
......@@ -60,7 +60,7 @@
<el-table-column label="姓名" align="center" prop="realName" />
<el-table-column label="性别" align="center" prop="sex" />
<el-table-column label="联系方式" align="center" prop="phone" />
<el-table-column label="身份证号" align="center" prop="idCard" />
<el-table-column label="身份证号" align="center" prop="idNumber" />
<el-table-column label="所在部门" align="center" prop="deptName" />
<el-table-column label="岗位名称" align="center" prop="positionName" />
<el-table-column label="定位卡号" align="center" prop="cardId" />
......@@ -73,7 +73,7 @@
>
<template slot-scope="scope">
<el-button
type="primary"
type="success"
size="small"
icon="el-icon-link"
v-if="!scope.row.cardId"
......@@ -81,7 +81,7 @@
>定位卡绑定</el-button
>
<el-button
type="primary"
type="warning"
size="small"
icon="el-icon-unlock"
v-if="scope.row.cardId"
......
......@@ -57,7 +57,7 @@
</div>
<div
class="stat-value"
style="font-size: 18px; font-weight: 400; color: #2196f3"
style="font-size: 18px; font-weight: 400; color: #ff0000"
>
{{ sumObj.today_count }}
</div>
......@@ -83,7 +83,7 @@
</div>
<div
class="stat-value"
style="font-size: 18px; font-weight: 400; color: #2196f3"
style="font-size: 18px; font-weight: 400; color: #ff0000"
>
{{ sumObj.month_count }}
</div>
......
......@@ -168,7 +168,7 @@
<el-table-column label="部门名称" align="center" prop="deptName" />
<el-table-column label="岗位名称" align="center" prop="positionName" />
<el-table-column label="定位卡号" align="center" prop="cardId" />
<el-table-column label="日期" align="center" prop="cardId" />
<el-table-column label="日期" align="center" prop="trackTime" />
</el-table>
<pagination
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment