修改任务包

This commit is contained in:
13684185576
2025-11-14 11:22:10 +08:00
parent ce2cc79be3
commit 7246f8f3a8
4 changed files with 22 additions and 22 deletions

View File

@ -597,9 +597,9 @@ export const privateRoutes = [{
{
path: "/taskPage/clockRecord",
component: () => import("@/views/backOfficeSystem/service/taskPage/clockRecord/index"),
name: "clockRecord",
name: "taskPage/clockRecord",
meta: {
title: '打卡情况',
title: '打卡记录',
icon: "article-ranking"
},
},

View File

@ -22,9 +22,9 @@ const pageData = reactive({
keyCount: 0,
tableConfiger: {
rowHieght: 61,
loading: false
loading: false,
haveControls:false,
},
haveControls:false,
total: 0,
pageConfiger: {
pageSize: 10,
@ -46,7 +46,7 @@ const pageData = reactive({
},
{
label: "打卡开始附件",
prop: "dkKsSj",
prop: "dkKsFj",
showSolt: true
},
{
@ -55,7 +55,7 @@ const pageData = reactive({
},
{
label: "打卡结束附件",
prop: "dkKsSj",
prop: "dkJsFj",
showSolt: true
}
]

View File

@ -215,7 +215,7 @@ const getListData = async (params = {}) => {
...item,
xfxz: item?.xfbb?.fzrXm ? `${item?.xfbb?.fzrXm}警组` : '',
bddListLabel: item?.bddList?.map((i, idx) => (`卡点${idx + 1}-${i?.xlghDkcs}`))?.join(',') || '',
fgJqtjXsLabel: JSON.parse(item?.fgJqtjXs)?.filter(i => (i?.count !== 0))?.map(i => (`${i?.hour}小时-${i?.count}`))?.join('、') || '',
fgJqtjXsLabel: item.fgJqtjXs?JSON.parse(item?.fgJqtjXs)?.filter(i => (i?.count !== 0))?.map(i => (`${i?.hour}小时-${i?.count}`))?.join('、'): '',
fgJqtjLx: parseAndJoinLx(item?.fgJqtjLx, 'lx')
})) || []
// pageData.tableData[2].rwRq = '2025-09-18'

View File

@ -189,21 +189,21 @@ const handleLogin = () => {
loading.value = true;
console.log(loginForm.value,'loginForm.value')
store.dispatch("user/login", loginForm.value).then((res) => {
// loading.value = false;
// // 登录后操作
// // return false //调试好后删除
// if (res.deptList.length === 1) {
// window.location.href = '/'
// } else {
// deptList.value = [...res.deptList];
// loginDialog.value = true;
// authorization.value = res.jwtToken;
// ElNotification({
// title: "提示",
// message: "请选择部门",
// duration: 3000
// });
// }
loading.value = false;
// 登录后操作
// return false //调试好后删除
if (res.deptList.length === 1) {
window.location.href = '/'
} else {
deptList.value = [...res.deptList];
loginDialog.value = true;
authorization.value = res.jwtToken;
ElNotification({
title: "提示",
message: "请选择部门",
duration: 3000
});
}
})
.catch(() => {
loading.value = false;