three-trees-ui 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-trees-ui",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "publicPath": "/ui",
5
5
  "author": "hotent",
6
6
  "private": false,
@@ -25,6 +25,12 @@ export default {
25
25
  return SubPagination.getPageOffset(datapath, this)
26
26
  }
27
27
  },
28
+ // 是否为待办单
29
+ isTodoForm() {
30
+ const types = ['MyDelegate', 'done', 'LeaderDone', 'request']
31
+ const type = this.$route.query.type || ''
32
+ return types.includes(type) || this.$route.query.readId
33
+ },
28
34
  },
29
35
  mounted() {
30
36
  // 如果当前表单的element为Comment说明表单加载失败了。