adtec-core-package 1.2.1 → 1.2.3

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": "adtec-core-package",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -5,7 +5,7 @@
5
5
  <template>
6
6
  <div
7
7
  @click.stop.prevent="displayClick"
8
- style="width: 100%; min-height: 35px;cursor: pointer"
8
+ style="width: 100%; min-height: 35px;cursor: pointer;display: flex;align-items: center;">
9
9
  ref="ref_divView"
10
10
  :id="guid"
11
11
  :class="getClass" >
@@ -252,6 +252,7 @@ const handleComplete = async () => {
252
252
  userId: userInfoStore().getUserInfo.id,
253
253
  comment: task.value.comment,
254
254
  targetKey: selectActivity.value,
255
+ isFirstActivity: returnData.value.find(x => x.taskKey === selectActivity.value)?.isFirstActivity
255
256
  }
256
257
  if (taskOperate.value?.backFunction) {
257
258
  await taskOperate.value.backFunction(askVo)
@@ -1,32 +1,8 @@
1
- import { ref, onMounted, onUnmounted, createApp } from 'vue'
2
- import FileView from '../components/upload/FileViewComponents.vue'
3
1
  import WujieVue from 'wujie-vue3'
4
2
  const useFileView = () => {
5
- // const ref_fileView = ref(null)
6
-
7
3
  const fileView = (id: string) => {
8
4
  WujieVue.bus.$emit('viewFile', id)
9
- // if (ref_fileView.value) {
10
- // //@ts-ignore
11
- // ref_fileView.value?.viewFile(id)
12
- // }
13
5
  }
14
-
15
- onMounted(() => {
16
- // const container = document.createElement('div')
17
- // document.body.appendChild(container)
18
- // //@ts-ignore
19
- // ref_fileView.value = createApp(FileView).mount(container)
20
- // onUnmounted(() => {
21
- // try {
22
- // //@ts-ignore
23
- // ref_fileView?.value.$destroy()
24
- // } catch {
25
- // /* empty */
26
- // }
27
- // document.body.removeChild(container)
28
- // })
29
- })
30
6
  return {
31
7
  fileView,
32
8
  }
@@ -12,4 +12,5 @@ export interface IWfReturnNodeVo {
12
12
  users?: ISysUserInfo[]
13
13
  startTime?: string
14
14
  endTime?: string
15
+ isFirstActivity?: string
15
16
  }
@@ -58,4 +58,8 @@ export interface IWfTaskAskVo {
58
58
  * 中止流程
59
59
  */
60
60
  stopWorkflow?: boolean
61
+ /**
62
+ * 是否是第一个节点
63
+ */
64
+ isFirstActivity?: string
61
65
  }