fix:消息跳转获取列表bug
This commit is contained in:
parent
f93550990f
commit
d28628f35a
|
@ -208,6 +208,7 @@
|
||||||
onBeforeUnmount,
|
onBeforeUnmount,
|
||||||
h,
|
h,
|
||||||
defineProps,
|
defineProps,
|
||||||
|
nextTick,
|
||||||
} from 'vue'
|
} from 'vue'
|
||||||
import {
|
import {
|
||||||
getMyProcessInstancePage,
|
getMyProcessInstancePage,
|
||||||
|
@ -252,16 +253,19 @@
|
||||||
typeList.value.push('设备申请')
|
typeList.value.push('设备申请')
|
||||||
}
|
}
|
||||||
const typeStrObj = {
|
const typeStrObj = {
|
||||||
能力上架: 'resourcemountapply',
|
'能力上架': 'resourcemountapply',
|
||||||
能力下架: 'resourcundercarriageapply',
|
'能力下架': 'resourcundercarriageapply',
|
||||||
能力需求: 'abilitydemandapply',
|
'能力需求': 'abilitydemandapply',
|
||||||
需求评论: 'comment_review',
|
'需求评论': 'comment_review',
|
||||||
}
|
}
|
||||||
let tabList = ref(['全部', '审核中', '审核完成'])
|
let tabList = ref(['全部', '审核中', '审核完成'])
|
||||||
const contentList = reactive({ data: [] })
|
const contentList = reactive({ data: [] })
|
||||||
let tabIndex = ref(0)
|
let tabIndex = ref(0)
|
||||||
let typeIndex = ref(0)
|
let typeIndex = ref(0)
|
||||||
let typeName = ref(typeList.value[0])
|
let typeName = ref(typeList.value[0])
|
||||||
|
if(router.currentRoute.value.query.tabTypeName) {
|
||||||
|
typeName.value = router.currentRoute.value.query.tabTypeName
|
||||||
|
}
|
||||||
const videoVisible = ref(false)
|
const videoVisible = ref(false)
|
||||||
const numFlag = ref(true)
|
const numFlag = ref(true)
|
||||||
const columns = ref([
|
const columns = ref([
|
||||||
|
@ -306,7 +310,7 @@
|
||||||
ended.value = ''
|
ended.value = ''
|
||||||
page.value = 1
|
page.value = 1
|
||||||
typeIndex.value = index
|
typeIndex.value = index
|
||||||
typeName.value = item
|
typeName.value = item;
|
||||||
getApplyList()
|
getApplyList()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -565,7 +569,6 @@
|
||||||
params.processDefinitionKey = processDefinitionKey.value
|
params.processDefinitionKey = processDefinitionKey.value
|
||||||
getMyProcessInstancePage(params).then((res) => {
|
getMyProcessInstancePage(params).then((res) => {
|
||||||
contentList.data = []
|
contentList.data = []
|
||||||
// initNum(name.value)
|
|
||||||
console.log(res.data.data.list)
|
console.log(res.data.data.list)
|
||||||
contentList.data = res.data.data.list
|
contentList.data = res.data.data.list
|
||||||
total.value = res.data.data.total
|
total.value = res.data.data.total
|
||||||
|
|
Loading…
Reference in New Issue