From 5b577b02b0c38c388a47d234ba23e1424f520c9c Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Fri, 9 Sep 2022 11:27:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 ++- hooks/project/useGetTasks.js | 1 + manifest.json | 18 +++++++----------- pages/project/project.vue | 12 ++++-------- 4 files changed, 14 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65abe94..7e91122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.0.0 (2022-07-29) +# 1.0.0 (2022-09-09) ### 🌟 新功能 范围|描述|commitId @@ -139,6 +139,7 @@ - | 工作台图片app端不显示 | [f267c72](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/f267c72) - | 广告页、引导页 | [b63ade5](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/b63ade5) - | 广告页不显示 | [d749dfb](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/d749dfb) + - | 获取任务接口参数 | [bfc9684](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/bfc9684) - | 获取c插件信息 | [7b02efc](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/7b02efc) - | 交付物未上传显示小红点 | [b07621e](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/b07621e) - | 交付物消息提示 | [880023a](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/880023a) diff --git a/hooks/project/useGetTasks.js b/hooks/project/useGetTasks.js index 6d84b0d..5a0be2b 100644 --- a/hooks/project/useGetTasks.js +++ b/hooks/project/useGetTasks.js @@ -90,6 +90,7 @@ export default function useGetTasks() { // 存储当前查询的真实任务 params.queryType === 0 ? store.commit('task/setUpRealTasks', data.list) : store.commit('task/setDownRealTasks', data.list); + params.queryType === 0 ? store.commit('socket/setCurrLocationTaskId', data.list[0].id) : store.commit('socket/setCurrLocationTaskId', data.list[data.list.length - 1].id); // 下一页 if (data.list.length < params.pageSize) { diff --git a/manifest.json b/manifest.json index 33f0ec2..e0209e8 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { - "name" : "时物链条2", - "appid" : "__UNI__3CBCFFF", + "name" : "时物链条", + "appid" : "__UNI__6207504", "description" : "", - "versionName" : "1.0.13", + "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, /* 5+App特有相关 */ @@ -43,17 +43,13 @@ ] }, /* ios打包配置 */ - "ios" : {}, + "ios" : { + "dSYMs" : false + }, /* SDK配置 */ "sdkConfigs" : { "ad" : {}, - "oauth" : { - "weixin" : { - "appid" : "", - "appsecret" : "", - "UniversalLinks" : "" - } - } + "oauth" : {} }, "icons" : { "android" : { diff --git a/pages/project/project.vue b/pages/project/project.vue index 316d07d..452d173 100644 --- a/pages/project/project.vue +++ b/pages/project/project.vue @@ -23,9 +23,6 @@ - - - @@ -47,13 +44,13 @@ const getTasksHook = useGetTasks(); const store = useStore(); const projectId = computed(() => store.getters['project/projectId']); const userInfo = computed(() => store.state.user.user); -const userId = computed(() => store.getters['user/userId']); +// const userId = computed(() => store.getters['user/userId']); const roleId = computed(() => store.state.role.roleId); // 当前展示查看的角色id const roleIndex = computed(() => store.state.role.roleIndex); // 时间轴角色索引 const visibleRoles = computed(() => store.state.role.visibleRoles); // 展示的角色信息 const timeNode = computed(() => store.state.task.timeNode); // 时间基准点 const timeUnit = computed(() => store.state.task.timeUnit); // 时间颗粒度 -const newProjectInfo = computed(() => store.state.task.newProjectInfo); +// const newProjectInfo = computed(() => store.state.task.newProjectInfo); const showScrollTo = computed(() => store.state.task.showScrollTo); // 是否可以设置时间轴自动滚动的位置 const allTasks = computed(() => store.state.task.allTasks); // 所有任务 const globals = computed(() => store.getters['task/globals']); // 所有的日常任务 永久 + 可变 日常任务 @@ -70,12 +67,11 @@ if (!userInfo.value) { store.commit('user/setUser', JSON.parse(res)); } } - +console.log('项目详情页打开了么'); onMounted(() => { const system = uni.getSystemInfoSync(); height.value = `${system.screenHeight}px`; - console.log('项目详情onMounted') - // initHook.init(); + console.log('项目详情onMounted'); }); onUnmounted(() => {