Browse Source

fix: 检查交付物传参修改

pull/1/head
song 4 years ago
parent
commit
ebe0031f34
  1. 1
      CHANGELOG.md
  2. 7
      src/plugins/p-delivery-history/p-delivery-history.vue
  3. 2
      src/plugins/p-upload-deliverable/p-upload-deliverable.vue

1
CHANGELOG.md

@ -138,6 +138,7 @@
- | 时间轴无任务时时间刻度加载修改 | [4921672](https://dd.tall.wiki/gitea/wally/tall-mui-3-project/commits/4921672)
- | 时间轴滚动位置修改 | [551da63](https://dd.tall.wiki/gitea/wally/tall-mui-3-project/commits/551da63)
- | 时间轴骨架屏修改 | [ca78d02](https://dd.tall.wiki/gitea/wally/tall-mui-3-project/commits/ca78d02)
- | 检查交付物传参修改 | [37b51bc](https://dd.tall.wiki/gitea/wally/tall-mui-3-project/commits/37b51bc)
- | 滚动id函数优化 | [b351b67](https://dd.tall.wiki/gitea/wally/tall-mui-3-project/commits/b351b67)
- | 监听时间基本点 | [033fca0](https://dd.tall.wiki/gitea/wally/tall-mui-3-project/commits/033fca0)
- | 角色显示状态修改 | [7d3b906](https://dd.tall.wiki/gitea/wally/tall-mui-3-project/commits/7d3b906)

7
src/plugins/p-delivery-history/p-delivery-history.vue

@ -12,8 +12,9 @@
<a :href="list.content" class="text-blue-500" target="_blank" v-if="CheckUrl(list.content)">{{ list.content }}</a>
<span v-else>{{ list.content }}</span>
</view>
<view :key="checker.checkerId" class="flex justify-between" v-for="checker in list.checkerList">
<view>
<view :key="checker.checkerId" v-for="checker in list.checkerList">
<view class="flex justify-between">
<view class="font-bold">
{{ checker.checkerName }}
<span v-if="checker.isMine">()</span>
</view>
@ -28,6 +29,8 @@
</view>
</view>
</view>
<view class="text-gray-400 text-xs mt-1">{{ checker.remark }}</view>
</view>
</view>
</view>
</view>

2
src/plugins/p-upload-deliverable/p-upload-deliverable.vue

@ -90,6 +90,8 @@ export default {
const params = { content, checkerList, projectId, taskSubId: task.id };
await this.$u.api.saveDeliver(params);
this.$t.ui.showToast('交付物提交成功');
this.content = '';
this.checkerList = [];
} catch (error) {
console.error('p-upload-deliverable.vue submit error: ', error);
this.$t.ui.showToast('交付物提交失败,请稍后重试');

Loading…
Cancel
Save