diff --git a/src/api/admin/log.js b/src/api/admin/log.js index e9edb54..6a87270 100644 --- a/src/api/admin/log.js +++ b/src/api/admin/log.js @@ -1,25 +1,17 @@ -/* - * Copyright (c) 2018-2025, lengleng All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the pig4cloud.com developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: lengleng (wangiegie@gmail.com) - */ + import request from '@/router/axios' export function fetchList(query) { return request({ - url: '/admin/log/page', + url: '/admin/log/loginLogPage', + method: 'get', + params: query + }) +} +export function fetchList1(query) { + return request({ + url: '/admin/log/operateLogPage', method: 'get', params: query }) diff --git a/src/api/modules/api.js b/src/api/modules/api.js index 893229a..4b82c9a 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -275,6 +275,14 @@ export function areamanagerList(query) { params:query }) } +// 获取当前登录人的区域 +export function findArea(query) { + return request({ + url: 'autoSR/cushouseuserrelationmid/findArea ', + method:'get', + params:query + }) +} // 通过地区串获取省市 export function getParentAndKidList(query) { return request({ @@ -310,3 +318,69 @@ export function rolePage(query) { params:query }) } + + +// 楼盘管理,获取公司列表 +export function getCompanyList(query) { + return request({ + url: '/autoSR/zkorg/findMyOrg', + method:'get', + params:query + }) +} +// 获取楼盘管理列表 +export function zkhousePage(query) { + return request({ + url: '/autoSR/zkhouse/page', + method:'get', + params:query + }) +} + +// 获取省市 +export function getAreaList(query) { + return request({ + url: '/autoSR/zksysarea/list', + method:'get', + params:query + }) +} +// 获取当前人的区域的楼盘 +export function findHouseByArea(query) { + return request({ + url: 'autoSR/cushouseuserrelationmid/findHouseByArea', + method:'get', + params:query + }) +} +// 获取运营人员 +export function getAllOperationsStaff(query) { + return request({ + url: '/admin/user/getAllOperationsStaff', + method:'get', + params:query + }) +} +// 添加楼盘 +export function addZkhouse(data) { + return request({ + url: '/autoSR/zkhouse', + method:'post', + data + }) +} +export function editZkhouse(data) { + return request({ + url: '/autoSR/zkhouse', + method:'put', + data + }) +} +// 更换账号 +export function updateManagerPhone(data) { + return request({ + url: '/autoSR/zkhouse/updateManagerPhone', + method:'post', + data + }) +} diff --git a/src/const/crud/admin/log.js b/src/const/crud/admin/log.js index b807404..ddb44b8 100644 --- a/src/const/crud/admin/log.js +++ b/src/const/crud/admin/log.js @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2018-2025, lengleng All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the pig4cloud.com developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: lengleng (wangiegie@gmail.com) - */ export const tableOption = { border: true, index: true, @@ -21,11 +5,13 @@ export const tableOption = { stripe: true, menuAlign: 'center', menuWidth: 150, + align: 'center', refreshBtn: true, showClomnuBtn: false, searchSize: 'mini', searchMenuSpan: 6, + delBtn:false, addBtn: false, editBtn: false, viewBtn: true, @@ -51,18 +37,22 @@ export const tableOption = { }, { label: '客户端', prop: 'serviceId' - }, { - width: 80, - label: '请求时间', - prop: 'time' - }, { + }, + // { + // width: 80, + // label: '请求时间', + // prop: 'time' + // }, + { width: 150, - label: '创建时间', + label: '登录时间', prop: 'createTime', type: 'datetime', + rangeSeparator:"-", format: 'yyyy-MM-dd HH:mm', valueFormat: 'yyyy-MM-dd HH:mm:ss', search: true, searchRange: true }] } + diff --git a/src/page/check/chose.vue b/src/page/check/chose.vue index c066fb3..41e1f8d 100644 --- a/src/page/check/chose.vue +++ b/src/page/check/chose.vue @@ -27,7 +27,12 @@ >
-
+
{{ item.agentName }}
服务状态: @@ -69,7 +74,7 @@
-->
-