Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
yuping
2023-01-17 14:38:27 +08:00
3 changed files with 10 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ export default defineComponent({
const store = useStore(); const store = useStore();
const isLogin = ref(false); const isLogin = ref(false);
// console.log("router", router.getRoutes(), route); // console.log("router", router.getRoutes(), route);
console.log("版本2.1.1------------"); console.log("版本2.1.2------------");
const routes = computed(() => { const routes = computed(() => {
return router.getRoutes().filter((e) => e.meta?.isLink); return router.getRoutes().filter((e) => e.meta?.isLink);
}); });

View File

@@ -302,6 +302,7 @@ export default {
? "投票" ? "投票"
: "-", : "-",
name: value.name, name: value.name,
projectTaskId: value.projectTaskId,
complete: complete:
value.status == -1 value.status == -1
? "未开始" ? "未开始"
@@ -316,6 +317,8 @@ export default {
}; };
array.push(obj); array.push(obj);
}); });
array.sort((a,b)=>{return a.projectTaskId - b.projectTaskId})
console.log('我排序了吗--------------------------》', array)
return array; return array;
}; };
const setStageList = (tableData) => { const setStageList = (tableData) => {

View File

@@ -858,12 +858,14 @@ export default {
state.pathName = ""; state.pathName = "";
state.pathBg = ""; state.pathBg = "";
state.pathBgId = ""; state.pathBgId = "";
state.pathIntro = "";
state.out = !state.out;
setTimeout(() => {
if(store.state.userInfo.departId && store.state.userInfo.departName){ if(store.state.userInfo.departId && store.state.userInfo.departName){
state.organizationSelectName = store.state.userInfo.departName; state.organizationSelectName = store.state.userInfo.departName;
state.organizationSelectId = store.state.userInfo.departId; state.organizationSelectId = store.state.userInfo.departId;
} }
state.pathIntro = ""; }, 2000);
state.out = !state.out;
}; };
const handleOut1 = () => { const handleOut1 = () => {
state.pathName = ""; state.pathName = "";