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({ return http({
url: '/act/task/claim', url: '/act/task/claim',
method: 'PUT', 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) { // export function sendMessageApi(config : object) { //
return http({ return http({
url: '/myAct/processInstance/sendMessage', url: '/myAct/processInstance/sendMessage',

View File

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

View File

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

View File

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

View File

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