diff --git a/src/layout/components/Navbar/index.vue b/src/layout/components/Navbar/index.vue index 5da3745..9de932c 100644 --- a/src/layout/components/Navbar/index.vue +++ b/src/layout/components/Navbar/index.vue @@ -52,7 +52,7 @@ - + diff --git a/src/views/system/DashboardComponents/toDo.vue b/src/views/system/DashboardComponents/toDo.vue index a3d4d37..0d68b91 100644 --- a/src/views/system/DashboardComponents/toDo.vue +++ b/src/views/system/DashboardComponents/toDo.vue @@ -39,10 +39,12 @@ :align="item.align" :formatter="item.formatter" /> - + @@ -211,6 +213,22 @@ export default { this.loading = false } }, + showhandle(row){ + try { + const data = row.data + console.log("row",data) + if (data.from === 'ht') { + this.modalUrl = `/${data.from}/#/contract/contractList?auth_token=${window.encodeURIComponent(getToken())}&module_name=${data.from}&flow_id=${data.other?.flow_id}&isSinglePage=1` + } else if (data.from === 'oa') { + this.modalUrl = `/${data.from}/#/flow/detail?auth_token=${window.encodeURIComponent(getToken())}&module_name=${data.from}&flow_id=${data.other?.flow_id}&isSinglePage=1` + } + console.log(this.modalUrl) + this.isShowModal = true + } catch (err) { + this.$message.warning('未找到流程') + console.error(err) + } + }, handle(row) { try { const data = row.data