diff --git a/src/api/login.js b/src/api/login.js index 2625395..4a3d0d1 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -1,14 +1,16 @@ import request from '@/utils/request' // 登录方法 -export function login(encrypt, code, uuid) { +export function login(username, password, code, uuid) { +// export function login(encrypt, code, uuid) { return request({ url: '/auth/login', headers: { isToken: false }, method: 'post', - data: { encrypt, code, uuid } + // data: { encrypt, code, uuid } + data: { username, password, code, uuid } }) } diff --git a/src/store/modules/user.js b/src/store/modules/user.js index b173c36..3f7fba2 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -43,10 +43,10 @@ const user = { username: username, password: password, }; - const encryptData = encrypt(JSON.stringify(data)); + // const encryptData = encrypt(JSON.stringify(data)); return new Promise((resolve, reject) => { - // login(username, password, code, uuid).then(res => { - login(encryptData, code, uuid).then(res => { + login(username, password, code, uuid).then(res => { + // login(encryptData, code, uuid).then(res => { let data = res.data setToken(data.access_token) commit('SET_TOKEN', data.access_token) diff --git a/src/views/visCarryStuff/record/index.vue b/src/views/visCarryStuff/record/index.vue new file mode 100644 index 0000000..46fa074 --- /dev/null +++ b/src/views/visCarryStuff/record/index.vue @@ -0,0 +1,458 @@ + + + + + + + + + + + 搜索 + 重置 + + + + + + 删除 + + + + + + + + + + + + + {{ parseTime(scope.row.startTime, '{y}-{m}-{d} {h}:{i}:{s}') }} + + + + + {{ parseTime(scope.row.endTime, '{y}-{m}-{d} {h}:{i}:{s}') }} + + + + + + 删除 + + + + + + + + + + + + diff --git a/src/views/visCarryStuff/visCarryStuff/index.vue b/src/views/visCarryStuff/visCarryStuff/index.vue new file mode 100644 index 0000000..58443b8 --- /dev/null +++ b/src/views/visCarryStuff/visCarryStuff/index.vue @@ -0,0 +1,1283 @@ + + + + 自动刷新 + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + + 删除 + + + 导出 + + + + + + + + + + + {{ scope.row.exitPermitNo }} + + + + + + {{ scope.row.phone }} + + + + + {{ scope.row.deptName }} + + + + + {{scope.row.people.name}} + + + + + + {{ parseTime(scope.row.startTime) }} + + + + + {{ parseTime(scope.row.inTime) }} + + + + + {{ parseTime(scope.row.outTime) }} + + + + + 审核中 + + 通过 + 驳回 + + + + + + 查看 + + 删除 + + + + + + + + + + + + + + + + + + + + + 1、确保照片是正脸,且足够清晰,同一个人最多3张注册照。 + 2、照片格式支持JPG\JPEG\PNG + 3、小于2M + 4、面部区域像素不低于128x128 + 5、人像大小占整张照片1/3以上 + + + + + + + + + + + + {{ form.name }} + + + + + + + + + + + + {{ form.visitingUnit }} + + + + + + + + + + + + {{ form.phone }} + + + + + + + + + + + + + + + 保密 + + + + + + + + + + + + + + + + {{ form.idcard }} + + 未填 + + + + + + + + + + + + + {{ form.carNo }} + + 未填 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ form.peopleName }} + + + + + + + + + + + + + + + + + + {{ form.startTime }} + + 未填 + + + + + + + + + + + + + + {{ form.endTime }} + + 未填 + + + + + + + + + + + + + + + + 未填 + + + + + + + + + + + + + + + + {{ form.res }} + + 未填 + + + + + + + + + + + + + {{ ele.fileName }} + + + + + + + + + + + + + + + + {{ form.remark }} + + 未填 + + + + + + + + + + + {{ form.rejectReason }} + + + + + 随访人员信息 + 添加 + + + + + + + + + + + + + + + + + + {{ scope.row.name }} + + + + + + + + + + {{ scope.row.phone }} + + + + + + + + + 移除 + + + + + + 审批流程 + + + + + + + 暂无审批 + + + + + + + + +