This commit is contained in:
2025-03-18 17:26:36 +08:00
parent 1c79e452d1
commit c9fd1b032c
12 changed files with 129 additions and 153 deletions

View File

@@ -196,7 +196,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -189,7 +189,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -216,7 +216,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
},
// 生成模板
addTempHandle (id) {

View File

@@ -154,7 +154,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -320,7 +320,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -193,7 +193,7 @@
})
}
})
})
}).catch(() => {})
},
// 删除
deleteHandle (id) {
@@ -223,7 +223,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -167,10 +167,12 @@
}
this.dataListLoading = false
})
},approveHandle(id){
},
approveHandle(id){
this.id = id
this.dialogVisible = true
},showFlowHandle(procInsId){
},
showFlowHandle(procInsId){
this.procInsId = procInsId
// 通过流程实例id查询对应的流转记录
this.$http({
@@ -183,7 +185,8 @@
this.hiTasks = data.data
}
})
},submitFlowComplete(){
},
submitFlowComplete(){
// 做审批通过的操作
this.$http({
url: this.$http.adornUrl(`/flw/instance/completeFlow/${this.id}`),
@@ -195,8 +198,8 @@
this.getDataList();
}
})
},claimHandle(id){
},
claimHandle(id){
this.$confirm('确定要拾取当前的任务吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -211,15 +214,9 @@
this.getDataList();
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
},unclaimHandle(id){
}).catch(() => {})
},
unclaimHandle(id){
this.$confirm('确定要归还当前的任务吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -234,12 +231,7 @@
this.getDataList();
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
}).catch(() => {})
},
// 每页数
sizeChangeHandle (val) {
@@ -284,7 +276,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -161,10 +161,12 @@
}
this.dataListLoading = false
})
},approveHandle(id){
},
approveHandle(id){
this.id = id
this.dialogVisible = true
},showFlowHandle(procInsId){
},
showFlowHandle(procInsId){
this.procInsId = procInsId
// 通过流程实例id查询对应的流转记录
this.$http({
@@ -177,7 +179,8 @@
this.hiTasks = data.data
}
})
},submitFlowComplete(){
},
submitFlowComplete(){
// 做审批通过的操作
this.$http({
url: this.$http.adornUrl(`/flw/instance/completeFlow/${this.id}`),
@@ -189,8 +192,8 @@
this.getDataList();
}
})
},claimHandle(id){
},
claimHandle(id){
this.$confirm('确定要拾取当前的任务吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -205,15 +208,9 @@
this.getDataList();
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
},unclaimHandle(id){
}).catch(() => {})
},
unclaimHandle(id){
this.$confirm('确定要归还当前的任务吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -228,12 +225,7 @@
this.getDataList();
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
}).catch(() => {})
},
// 每页数
sizeChangeHandle (val) {
@@ -278,7 +270,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -171,13 +171,16 @@
}
this.dataListLoading = false
})
},approveHandle(id){
},
approveHandle(id){
this.id = id
this.dialogVisible = true
},showFlowHandle(procInsId){
},
showFlowHandle(procInsId){
this.procInsId = procInsId
this.dialogActiveVisible = true
},submitFlowComplete(){
},
submitFlowComplete(){
// 做审批通过的操作
this.$http({
url: this.$http.adornUrl(`/flw/instance/completeFlow/${this.id}`),
@@ -189,8 +192,8 @@
this.getDataList();
}
})
},claimHandle(id){
},
claimHandle(id){
this.$confirm('确定要拾取当前的任务吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -205,15 +208,9 @@
this.getDataList();
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
},unclaimHandle(id){
}).catch(() => {})
},
unclaimHandle(id){
this.$confirm('确定要归还当前的任务吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -228,12 +225,7 @@
this.getDataList();
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
}).catch(() => {})
},
// 每页数
sizeChangeHandle (val) {
@@ -278,7 +270,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -190,7 +190,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -179,7 +179,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}

View File

@@ -239,7 +239,7 @@
this.$message.error(data.msg)
}
})
})
}).catch(() => {})
}
}
}