Merge remote-tracking branch 'remotes/origin/master'
# Conflicts: # src/api/process/index.ts # src/pages-process/taskHandle.vue
This commit is contained in:
commit
6f4b3386d9
@ -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',
|
||||||
|
@ -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) => {
|
||||||
|
@ -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`,
|
||||||
|
@ -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];
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user