feat:合并

This commit is contained in:
lixg
2022-12-19 20:45:54 +08:00
4 changed files with 11 additions and 7 deletions

View File

@@ -241,7 +241,7 @@ const {
loading: stuLoading, loading: stuLoading,
total: stuTotal total: stuTotal
} = useBoeApiPage(USER_LIST, nameSearch.value, { } = useBoeApiPage(USER_LIST, nameSearch.value, {
init: true, init: false,
result: res => res.result.userInfoList, result: res => res.result.userInfoList,
totalPage: res => res.result.totalPage, totalPage: res => res.result.totalPage,
total: res => res.result.totalElement total: res => res.result.totalElement
@@ -260,7 +260,7 @@ const {
loading: audiLoading, loading: audiLoading,
total: audiTotal total: audiTotal
} = useBoeApiPage(AUDIENCE_LIST, audienceName.value, { } = useBoeApiPage(AUDIENCE_LIST, audienceName.value, {
init: true, init: false,
result: res => res.result.audienceList.map(e => ({...e, id: e.id + ''})), result: res => res.result.audienceList.map(e => ({...e, id: e.id + ''})),
totalPage: res => res.result.totalPage, totalPage: res => res.result.totalPage,
total: res => res.result.totalElement total: res => res.result.totalElement
@@ -478,7 +478,7 @@ const resetAudienceInfo = () => {
// }; // };
//确定添加授权 //确定添加授权
const submitAuth = () => { const submitAuth = () => {
if (props.type !== 3) { if (props.type === 2) {
stageVisible.value = true stageVisible.value = true
} else { } else {
handleStageOk() handleStageOk()

View File

@@ -357,7 +357,6 @@ export default {
...res.data.data.projectInfo, ...res.data.data.projectInfo,
...state.projectInfo, ...state.projectInfo,
}; };
state.projectInfo.name = ''
state.projectInfo.rangeTime = [ state.projectInfo.rangeTime = [
state.projectInfo.beginTime, state.projectInfo.beginTime,
state.projectInfo.endTime, state.projectInfo.endTime,

View File

@@ -973,7 +973,7 @@ export default {
return; return;
} */ } */
const offName = await validateName({ const offName = await validateName({
name: state.qdms_inputV1, name: state.projectInfo.name,
type: 1, type: 1,
id: state.projectInfo.projectId, id: state.projectInfo.projectId,
}).then((res) => { }).then((res) => {

View File

@@ -1735,11 +1735,16 @@ export default {
align: "center", align: "center",
className: "h", className: "h",
ellipsis: true, ellipsis: true,
customRender: ({ record }) => (
<div>
{record.finishTaskNum}/{record.totalTaskNum}
</div>
),
}, },
{ {
title: "最近学习时间", title: "最近学习时间",
dataIndex: "stutime", dataIndex: "lastStudyTime",
key: "stutime", key: "lastStudyTime",
width: 80, width: 80,
align: "center", align: "center",
className: "h", className: "h",