mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 14:26:45 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
@@ -858,12 +858,14 @@ export default {
|
|||||||
state.pathName = "";
|
state.pathName = "";
|
||||||
state.pathBg = "";
|
state.pathBg = "";
|
||||||
state.pathBgId = "";
|
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.pathIntro = "";
|
||||||
state.out = !state.out;
|
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 = () => {
|
const handleOut1 = () => {
|
||||||
state.pathName = "";
|
state.pathName = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user