能力广场
@@ -833,7 +835,7 @@ let select = router.currentRoute.value.query.select || DETAIL_PAGE_CONTENT_DEFAULT_TAB - console.log('select------------>', select) + let orderField =router.currentRoute.value.query.orderField // 例如:组件服务是大类型,selectSubType是组件服务的智能算法或图层服务等... let selectSubType = router.currentRoute.value.query.type || '' let queryName = ref('') @@ -926,7 +928,6 @@ ) { ;[title[0], title[2]] = [title[2], title[0]] } - debugger titleName.value = title } // 查询 @@ -1323,6 +1324,8 @@ globalData.data = [] } select = router.currentRoute.value.query.select + + if ( (select == '应用资源' && (paramsGetResources.orderField == '' || @@ -1619,19 +1622,23 @@ } // 青岛-西海岸处理 const getXiHaiAn = (res) => { - ;((res.data && res.data.data && res.data.data.list) || []).forEach( - (val) => { - val.id = val.serviceId // id - val.name = val.serviceName // 名字 - val.sjlCount = val.requestQuantity // 数据量 - val.applyCount = val.requestCount // 申请量 - val.deptName = val.departmentName // 部门 - val.createTime = val.createTime.split('.')[0] - val.createDate = val.createTime // 发布时间 - } - ) - resourceList.data = res.data.data.list || [] - resourceTotal.value = res.data.data.total || '' + const data = (res.data && res.data.data && res.data.data.list) || [] + const total = (res.data && res.data.data && res.data.data.total) || 0 + data.forEach((val) => { + val.id = val.serviceId // id + val.name = val.serviceName // 名字 + val.sjlCount = val.requestQuantity // 数据量 + val.applyCount = val.requestCount // 申请量 + val.deptName = val.departmentName // 部门 + val.createTime = val.createTime.split('.')[0] + val.createDate = val.createTime // 发布时间 + }) + + console.log('接口数据', data) + resourceList.data = data || [] + console.log('接口数据2', resourceList.data) + resourceTotal.value = total + console.log() } let shoppingCartList = ref([]) // 获取申购车列表 @@ -1779,6 +1786,10 @@ onMounted(() => { // 从本地读取查询条件,赋值 //西海岸基础设施放在最前面 + orderField= router.currentRoute.value.query.orderField //根据什么排序 + if(orderField){ + paramsGetResources.orderField=orderField + } setTitle() handleSetSearchData() listKey2.value++ @@ -1864,7 +1875,7 @@ query: newQuery, }) .then(() => { - tagFlag.value = false + // tagFlag.value = false chongzhi(true) getNewList() }) @@ -2454,7 +2465,7 @@ padding-top: 0.05rem; position: fixed; z-index: 10; - bottom: 1.56rem; + // bottom: 1.56rem; right: 0.1rem; cursor: pointer; background: #e3edfc; diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue index 32f66dff..6eda1c7c 100644 --- a/front/src/views/home/apply.vue +++ b/front/src/views/home/apply.vue @@ -812,7 +812,7 @@ console.log('res=====>', res.data.data) if (res.data.code == 0) { if (res.data.data.length == 0) { - message.warning('该关键词,暂无应用资源!') + // message.warning('该关键词,暂无应用资源!') } else { // 过滤本单位的应用系统 res.data.data.map((val) => { diff --git a/front/src/views/home/components/H5Player.vue b/front/src/views/home/components/H5Player.vue index 1d008d7f..89805674 100644 --- a/front/src/views/home/components/H5Player.vue +++ b/front/src/views/home/components/H5Player.vue @@ -2,7 +2,7 @@ 海康H5Player --> - + diff --git a/front/src/views/personalCenter/components/AbilityApplication.vue b/front/src/views/personalCenter/components/AbilityApplication.vue index 565eb9ac..e3d01f9c 100644 --- a/front/src/views/personalCenter/components/AbilityApplication.vue +++ b/front/src/views/personalCenter/components/AbilityApplication.vue @@ -152,6 +152,7 @@ > 查看详情 +- 审核结果:{{ item.ended ? '审核完成' : '审核中' }} + 审核结果:{{ + item.ended + ? '审核完成' + : item.backToFirst + ? '审核中(被驳回,请修改申请或终止流程)' + : '审核中' + }}
您已成功申请{{ - formName.demandSubject || '' + formName.demandSubject || '' }},请耐心等待审批结果,结果会第一时间通知您!