修改工程师岗位文字,优化接口、页面参数。

This commit is contained in:
monanxiao
2024-10-21 17:57:52 +08:00
parent 185429a94c
commit 7e255d6a66
9 changed files with 13 additions and 110 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import service from "../request.js";
const API_BASE_URL = '/user';
// 查询勘人员列表
// 查询勘人员列表
export function listSurveyorsUser(query) {
return service({
method: "get",
@@ -10,11 +10,11 @@ export function listSurveyorsUser(query) {
});
}
// 查询勘人员列表
// 查询勘人员列表
export function listMaintenanceUser(query) {
return service({
method: "get",
url: `${API_BASE_URL}/maintenance`,
params: query
});
}
}
+2 -2
View File
@@ -11,7 +11,7 @@ export function getUserList(query) {
});
}
// 获取勘人员列表
// 获取勘人员列表
export function getSurveyorsList(query) {
return service({
method: "get",
@@ -33,7 +33,7 @@ export function getMaintenanceList(query) {
export function deleteUser(ItemId) {
return service({
method: "delete",
url: `${API_BASE_URL}/${ItemId}`,
url: `/application/role/${ItemId}`,
data: query,
});
}
+1 -1
View File
@@ -49,7 +49,7 @@ export const menuListItem = [
icon: "Menu",
},
{
title: "勘人员",
title: "勘人员",
url: "/reconnaissanceList",
icon: "Menu",
},
+1 -1
View File
@@ -202,7 +202,7 @@ const statusFormater = (row, column, cellValue) => {
const postFormater = (row, column, cellValue) => {
if (cellValue === 2) {
return '勘工程师';
return '勘工程师';
} else if (cellValue === 3) {
return '维修工程师';
} else {
+1 -1
View File
@@ -200,7 +200,7 @@ const statusFormater = (row, column, cellValue) => {
const postFormater = (row, column, cellValue) => {
if (cellValue === 2) {
return '勘工程师';
return '勘工程师';
} else if (cellValue === 3) {
return '维修工程师';
} else {
+2 -2
View File
@@ -165,7 +165,7 @@ const scheduleForm = ref({
const direction = ref('rtl')
const drawer = ref(false)
const editStatus = ref(false)
const userList = ref([]); // 勘人员列表
const userList = ref([]); // 勘人员列表
// 日期列表
const dateList = ref([]);
@@ -259,7 +259,7 @@ const handleDateChange = (value) => {
return;
}
// 查询勘人员列表
// 查询勘人员列表
let params = {
date: formatDate(scheduleForm.value.date),
timeQuantumId: scheduleForm.value.timeQuantumId
-97
View File
@@ -1,97 +0,0 @@
export const options = [
{
userId: 1,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '高永建',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-11',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},
{
userId: 2,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '张三',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-11',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},
{
userId: 3,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '李四',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-11',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},
{
userId: 4,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '名称',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-11',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},{
userId: 5,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '名称',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-11',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},
{
userId: 6,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '李四',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-11',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},{
userId: 7,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '张三',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-11',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},{
userId: 8,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '名称',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-07',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},{
userId: 9,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '名称',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-08',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},{
userId: 10,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '名称',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-09',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},
{
userId: 11,
avatar: 'https://pic.qqans.com/up/2024-6/2024620113729773.jpg',
name: '名称',
nickname: '软件开发老高',
mobile: '19136448763',
date: '2024-10-10',
timeToTime: '14:00:00-15:00:00,15:00:00-16:00:00'
},
];
+2 -2
View File
@@ -165,7 +165,7 @@ const scheduleForm = ref({
const direction = ref('rtl')
const drawer = ref(false)
const editStatus = ref(false)
const userList = ref([]); // 勘人员列表
const userList = ref([]); // 勘人员列表
// 日期列表
const dateList = ref([]);
@@ -259,7 +259,7 @@ const handleDateChange = (value) => {
return;
}
// 查询勘人员列表
// 查询勘人员列表
let params = {
date: formatDate(scheduleForm.value.date),
timeQuantumId: scheduleForm.value.timeQuantumId
+1 -1
View File
@@ -156,7 +156,7 @@ const initData = () => {
queryData.value.roleld = 2;
// 获取勘工程师列表
// 获取勘工程师列表
getUserList(queryData.value).then((res) => {
tableData.value = res.data.records;