-
-
-
![]()
-
-
-
{{ title }}
-
-
+
+
+
+
+
+
+
+
- 登录
+
@@ -243,16 +243,16 @@
overflow:hidden;
left:50%;
top:50%;
- margin-left:-400px;
- margin-top:-220px;
- border:1px solid #889aa4;
- border-radius: 3px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
+ margin-left:-300px;
+ margin-top:-110px;
+ /*border:1px solid #889aa4;*/
+ /*border-radius: 3px;*/
+ /*box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);*/
}
.left-div{
width:60%;
float:left;
- background-color: #ffffffff;
+ background-color: rgba(255, 255, 255, 0);
}
.title-div{
margin:20px 30px 30px 30px;
@@ -264,8 +264,8 @@
}
.right-div{
width:40%;
- float:left;
- background-color:white
+ float:right;
+ background-color: rgba(255,255,255,0)
}
.clear-div{
clear:both;
@@ -275,8 +275,8 @@
padding: 15px 15px 5px 15px;
margin: auto;
overflow:hidden;
- border-radius: 3px;
- box-shadow: 0 5px 8px rgba(0, 0, 0, .12), 0 0 10px rgba(0, 0, 0, .04);
+ /*border-radius: 3px;*/
+ /*box-shadow: 0 5px 8px rgba(0, 0, 0, .12), 0 0 10px rgba(0, 0, 0, .04);*/
}
.tips {
font-size: 14px;
@@ -290,7 +290,7 @@
}
.svg-container {
padding: 0px 3px 0px 10px;
- color: $dark_gray;
+ color: #bdbdbd;
vertical-align: middle;
width: 30px;
display: inline-block;
diff --git a/src/views/staff/staffAdd.vue b/src/views/staff/staffAdd.vue
index 2da4ff3..574d6c5 100644
--- a/src/views/staff/staffAdd.vue
+++ b/src/views/staff/staffAdd.vue
@@ -39,7 +39,10 @@
-
+
+
+
+
@@ -138,12 +141,13 @@
import { getBirthdayByIdNO, getSexByIdNO } from '@/utils/dataAnalysis'
import { validateIDCard } from '@/utils/validate'
import CaptureIris from './captureIris'
-
+import { getDeptTreeList } from '@/api/dept'
export default {
name: 'StaffAdd',
components: { CaptureIris, DeptSelect },
data() {
return {
+ deptList: [],
isEditMode: false, // 是否为编辑模式,编辑模式部分字段不允许修改,且没有重置和虹膜注册功能
isKey: false, // 是否重点区域授权人员
personForm: {
@@ -204,7 +208,14 @@
this.resetForm()
this.fetchSexType()// 获取性别列表
this.fetchIrisRegions() // 获取虹膜设备关联区域的列表
-
+ getDeptTreeList().then(response => {
+ const list = response.data.list
+ for(var i=0;i
-
+
+
+
+
@@ -137,7 +140,7 @@
import { getIrisAreaList } from '@/api/area'
import { getBirthdayByIdNO, getSexByIdNO } from '@/utils/dataAnalysis'
import CaptureIris from './captureIris'
-
+import { getDeptTreeList } from '@/api/dept'
export default {
name: 'StaffEdit',
components: { CaptureIris, DeptSelect },
@@ -156,6 +159,7 @@
}
return {
+ deptList: [],
isEditMode: false, // 是否为编辑模式,编辑模式部分字段不允许修改,且没有重置和虹膜注册功能
isKey: false, // 是否重点区域授权人员
reCaptureIris: '0', // 是否重新采集了虹膜
@@ -214,6 +218,14 @@
}
},
mounted() {
+ getDeptTreeList().then(response => {
+ const list = response.data.list
+ for(var i=0;i
-
+
+
+
+
@@ -76,12 +79,13 @@
import DeptSelect from '@/components/DeptSelect'
import StaffDetail from '@/views/staff/staffDetail'
import { getStaffList, batchDelStaff } from '@/api/staff'
-
+import { getDeptTreeList } from '@/api/dept'
export default {
name: 'StaffList',
components: { StaffDetail, DeptSelect },
data() {
return {
+ deptList: [],
listQuery: {
keywords: '',
deptid: '',
@@ -127,6 +131,14 @@
}
},
activated() {
+ getDeptTreeList().then(response => {
+ const list = response.data.list
+ for(var i=0;i
-
+
+
+
+
@@ -107,7 +110,7 @@
import { getStaffByDept } from '@/api/staff'
import { addVisitorPerson } from '@/api/visitor'
import VisitorCheckIn from '@/views/visitor/visitorCheckIn'
-
+import { getDeptTreeList } from '@/api/dept'
const now = new Date()
export default {
@@ -142,6 +145,7 @@
deptShowTop: true, // 权属单位下拉是否显示顶级
deptShow: true,
formLoading: false,
+ deptList: [],
dialogFormVisible: false,
datePickerOptions: {
disabledDate(time) {
@@ -201,6 +205,14 @@
}
},
mounted() {
+ getDeptTreeList().then(response => {
+ const list = response.data.list
+ for(var i=0;i
-
+
+
+
+
@@ -142,7 +145,7 @@
import { getStaffByDept } from '@/api/staff'
import { addVisitorCarAndPerson } from '@/api/visitor'
import VisitorCarCheckIn from '@/views/visitor/visitorCarCheckIn'
-
+import { getDeptTreeList } from '@/api/dept'
const now = new Date()
export default {
@@ -175,6 +178,7 @@
authTimeList: [{ name: '当日', value: '1' }, { name: '本周', value: '2' }, { name: '本月', value: '3' }, { name: '自定义', value: '4' }],
authTimeType: '1',
timeRange: [],
+ deptList: [],
customTimeRange: false,
deptShowTop: true, // 权属单位下拉是否显示顶级
deptShow: true,
@@ -231,6 +235,14 @@
}
},
mounted() {
+ getDeptTreeList().then(response => {
+ const list = response.data.list
+ for(var i=0;i