Merge remote-tracking branch 'remotes/origin/master'

# Conflicts:
#	src/api/process/index.ts
#	src/pages-process/taskHandle.vue
This commit is contained in:
yangzhq68909 2025-05-28 15:05:00 +08:00
commit 6f4b3386d9
5 changed files with 14 additions and 9 deletions

View File

@ -19,7 +19,7 @@ export function taskHistoryListApi(config : Object) {
}
/*签收*/
export function claim(config : Object) {
export function claim(config : Object) {
return http({
url: '/act/task/claim',
method: 'PUT',
@ -112,6 +112,14 @@ export function callBackProcessApi(config : object) { // 取回流程
})
}
export function getHisProcessTaskTransInfo(config : object) { //
return http({
url: '/act/task/getHisProcessTaskTransInfo',
method: 'GET',
data: config
})
}
export function sendMessageApi(config : object) { //
return http({
url: '/myAct/processInstance/sendMessage',

View File

@ -46,7 +46,6 @@
compName.value = newVal+'/index'
}
}
console.log(compName.value)
//
const comp = modules[`/src/pages-bpm/${compName.value}.vue`]
comp().then((myModule) => {

View File

@ -92,7 +92,6 @@
pageNo,
pageSize
}).then((res) => {
console.log(res)
if (res.success) {
list.value = [...list.value,...res.result.records];
}
@ -111,7 +110,6 @@
const goToPage = (item)=>{
//
if(item.taskAssigneeName&&item.taskAssigneeName!=''){
console.log(item)
//
uni.navigateTo({
url:`/pages-process/taskHandle?data=history`,

View File

@ -83,7 +83,6 @@
pageNo,
pageSize
}).then((res) => {
console.log(res)
if (res.success) {
list.value = [...list.value, ...res.result.records];
}

View File

@ -68,6 +68,7 @@
getProcessNodeInfo,
getHisProcessNodeInfo,
getNodePositionInfo,
// getHisProcessTaskTransInfo,
getHisInfo
} from '@/api/process'
import {
@ -81,7 +82,6 @@
const { proxy } = getCurrentInstance()
const type = ref('');
const formData = ref({})
const useData = ref({})
const nodePositionInfo = ref({})
@ -91,6 +91,7 @@
const tab = ref(0)
const completedNum = ref(0);
const handleClickLeft = () => {
uni.navigateBack()
}
@ -137,7 +138,6 @@
vars: res.result.records
}
formData.value = data;//
console.log(res)
let tempFormUrl = res.result.formUrlMobile;
path.value = tempFormUrl; //url
}
@ -145,12 +145,13 @@
})
}
// getNodePositionInfo({processInstanceId:useData.value.processInstanceId}).then((res)=>{
// getNodePositionInfo({processInstanceId:useData.processInstanceId}).then((res)=>{
// if (res.success) {
// nodePositionInfo.value = res.result
// }
// })
// getHisProcessTaskTransInfo({ procInstId: useData.value.processInstanceId }).then(res => {
// })
getHisInfo({ processInstanceId: useData.value.processInstanceId }).then((res) => {
if (res.success) {
dataSource.value = res.result.records