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 isLogin = ref(false);
// console.log("router", router.getRoutes(), route);
console.log("版本2.1.1------------");
console.log("版本2.1.2------------");
const routes = computed(() => {
return router.getRoutes().filter((e) => e.meta?.isLink);
});

View File

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

View File

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