|
|
@@ -520,7 +520,9 @@
|
|
|
apiCert.backStatus(this.formData.CertId, params, this.$axios).then(res => {
|
|
|
this.dialogVisibleBack = false
|
|
|
this.initDatas()
|
|
|
- this.$refs['WfHistory'].$forceUpdate()
|
|
|
+ if (this.$refs['WfHistory']) {
|
|
|
+ this.$refs['WfHistory'].getHistoryTask()
|
|
|
+ }
|
|
|
console.log('已强制刷新历史审批流程')
|
|
|
if (res.data.code === 0) {
|
|
|
this.$message({
|
|
|
@@ -607,7 +609,9 @@
|
|
|
tepApi.updateIsStorage(this.certId, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
this.initDatas()
|
|
|
- this.$refs['WfHistory'].$forceUpdate()
|
|
|
+ if (this.$refs['WfHistory']) {
|
|
|
+ this.$refs['WfHistory'].getHistoryTask()
|
|
|
+ }
|
|
|
console.log('已强制刷新历史审批流程')
|
|
|
this.$message({
|
|
|
type: 'success',
|