修改
This commit is contained in:
1 parent
9ac9c0634c
commit
f0bb087f31
4 files changed
+95
-94
No files matched your search
@@ -133,8 +133,8 @@
|
||||
<!-- 右侧抽屉 -->
|
||||
<taskDrawer
|
||||
v-model="taskDrawerVisible"
|
||||
:process-id="currentData?.processId"
|
||||
:current-data="currentData"
|
||||
:current-open-flow-form="currentOpenFlowForm"
|
||||
@task-submit-event="taskSubmitEvent"
|
||||
/>
|
||||
</div>
|
||||
@@ -146,7 +146,6 @@ import * as walletRechargeApplyApi from "/@/api/wallet/wallet-recharge-apply"
|
||||
import { useMessage, useMessageBox } from "/@/hooks/message"
|
||||
import { useDict } from "/@/hooks/dict"
|
||||
import { ElLoading } from "element-plus"
|
||||
import { queryTask } from "/@/api/flow/task"
|
||||
import taskDrawer from "/@/components/taskDrawer/index.vue"
|
||||
|
||||
const { push } = useRouter()
|
||||
@@ -166,7 +165,6 @@ const selectObjs = ref([]) as any
|
||||
const multiple = ref(true)
|
||||
const taskDrawerVisible = ref<boolean>()
|
||||
const currentData = ref()
|
||||
const currentOpenFlowForm = ref()
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {},
|
||||
@@ -244,10 +242,7 @@ const handleDelete = async (ids: string[]) => {
|
||||
*/
|
||||
const deal = (row: any) => {
|
||||
currentData.value = row
|
||||
queryTask(row.processId, false).then((res) => {
|
||||
currentOpenFlowForm.value = res.data.formItems
|
||||
taskDrawerVisible.value = true
|
||||
})
|
||||
taskDrawerVisible.value = true
|
||||
}
|
||||
|
||||
// 任务提交事件
|
||||
|
||||
Reference in new issue
Block a user