From 9bb214ad71c6a7f4184c87c406297ded966c6ed0 Mon Sep 17 00:00:00 2001 From: lancer <1905818361@qq.com> Date: Wed, 13 Oct 2021 19:17:43 +0800 Subject: [PATCH] init --- src/api/admin/user.js | 2 +- src/api/modules/api.js | 8 + src/const/crud/admin/log.js | 4 +- src/page/check/chose.vue | 7 +- src/page/check/index.vue | 37 +++- src/page/index/top/index.vue | 9 +- src/views/admin/log/index.vue | 310 ++++++++++++++++++++++++++------- src/views/admin/log/log.vue | 307 +++++++++++++++++++++++++------- src/views/admin/user/index.vue | 122 ++++++++++--- src/views/building/index.vue | 29 ++- vue.config.js | 4 +- 11 files changed, 663 insertions(+), 176 deletions(-) diff --git a/src/api/admin/user.js b/src/api/admin/user.js index c9a9f80..69e61f4 100644 --- a/src/api/admin/user.js +++ b/src/api/admin/user.js @@ -50,7 +50,7 @@ export function delObj1(query) { return request({ url: '/admin/user/orgDel', method: 'delete', - params:query + data:query }) } diff --git a/src/api/modules/api.js b/src/api/modules/api.js index 37dc85d..ba85739 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -74,6 +74,14 @@ export function getUserMsg(query) { params: query }) } +// 组织用户禁用先用 +export function updateLockFlag(obj) { + return request({ + url: '/autoSR/cushouseuserrelationmid/updateLockFlag', + method: 'post', + data: obj + }) +} // 区域回显 export function userAreaFind(query) { return request({ diff --git a/src/const/crud/admin/log.js b/src/const/crud/admin/log.js index ddb44b8..c5668bf 100644 --- a/src/const/crud/admin/log.js +++ b/src/const/crud/admin/log.js @@ -24,7 +24,7 @@ export const tableOption = { prop: 'type', type: 'select', dicUrl: '/admin/dict/type/log_type', - search: true + // search: true }, { label: '标题', prop: 'title' @@ -51,7 +51,7 @@ export const tableOption = { rangeSeparator:"-", format: 'yyyy-MM-dd HH:mm', valueFormat: 'yyyy-MM-dd HH:mm:ss', - search: true, + // search: true, searchRange: true }] } diff --git a/src/page/check/chose.vue b/src/page/check/chose.vue index 580b8f5..e4db4ed 100644 --- a/src/page/check/chose.vue +++ b/src/page/check/chose.vue @@ -1,7 +1,7 @@