feat:优化 bpm 相关代码,重点处理 back 逻辑,search 表单
This commit is contained in:
@@ -92,6 +92,7 @@ import { onLoad } from '@dcloudio/uni-app'
|
||||
import { computed, ref } from 'vue'
|
||||
import { getCategorySimpleList } from '@/api/bpm/category'
|
||||
import { getProcessDefinitionList } from '@/api/bpm/definition'
|
||||
import { navigateBackPlus } from '@/utils';
|
||||
|
||||
definePage({
|
||||
style: {
|
||||
@@ -148,7 +149,7 @@ const groupedDefinitions = computed<Record<string, ProcessDefinition[]>>(() => {
|
||||
|
||||
/** 返回上一页 */
|
||||
function handleBack() {
|
||||
uni.navigateBack()
|
||||
navigateBackPlus('/pages/bpm/index')
|
||||
}
|
||||
|
||||
/** 搜索 */
|
||||
|
||||
Reference in New Issue
Block a user