From ee56af20ecc72db440376a5037fd2fc7b6f771f5 Mon Sep 17 00:00:00 2001
From: gongjiale <942894820@qq.com>
Date: Wed, 28 Dec 2022 15:32:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../myAgent/demo/competency-application.vue | 18 +++++++++++-------
back/src/views/modules/workBench/workBench.vue | 2 +-
front/src/views/demandCenter/demandDetails.vue | 8 +++++++-
front/src/views/demandCenter/index.vue | 4 ++++
.../personalCenter/components/MyApply.vue | 5 ++++-
5 files changed, 27 insertions(+), 10 deletions(-)
diff --git a/back/src/views/modules/myAgent/demo/competency-application.vue b/back/src/views/modules/myAgent/demo/competency-application.vue
index 098deeab..ef349dbd 100644
--- a/back/src/views/modules/myAgent/demo/competency-application.vue
+++ b/back/src/views/modules/myAgent/demo/competency-application.vue
@@ -24,22 +24,26 @@
应用系统:{{
dataForm.content.applicationSystem || '--'
}}
-
+
+ 申请期限:
+ {{
+ dataForm.content.expireDate || '--'}}
+
+
+
+
+
+
应用场景:
{{ dataForm.content.applicationSceneStr || '--' }}
-
+
需求依据:
{{ dataForm.content.applicationBackground || '--' }}
-
附件下载
diff --git a/back/src/views/modules/workBench/workBench.vue b/back/src/views/modules/workBench/workBench.vue
index db89b9e5..d0555de2 100644
--- a/back/src/views/modules/workBench/workBench.vue
+++ b/back/src/views/modules/workBench/workBench.vue
@@ -73,7 +73,7 @@ export default {
},
// 部门申请
resourceData: [],
- resourceColor: ['#7b2cff', '#fd5151', , '#2ca1ff', '#0adbfa', '#febe13', '#65e5dd', '#f071ff', '#85f67a'],
+ resourceColor: ['#7b2cff', '#fd5151' , '#2ca1ff', '#0adbfa', '#febe13', '#65e5dd', '#f071ff', '#85f67a'],
// 部门申请
applyData: [],
applyColor: ['#5085f2', '#e75fc3', '#f87be2', '#f2719a', '#fca4bb', '#f59a8f', '#fdb301', '#57e7ec', '#cf9ef1'],
diff --git a/front/src/views/demandCenter/demandDetails.vue b/front/src/views/demandCenter/demandDetails.vue
index 535c36ab..78f196be 100644
--- a/front/src/views/demandCenter/demandDetails.vue
+++ b/front/src/views/demandCenter/demandDetails.vue
@@ -388,7 +388,13 @@
}
}
const closeMain = () => {
- window.history.go(-1)
+ const showKey = router.currentRoute.value.query.showKey
+ router.push({
+ path: '/demandCenter',
+ query: {
+ toShowKey:showKey
+ },
+ })
}
onMounted(() => {
// const formData = computed(() => store.getters['home/demandDetailsData'])
diff --git a/front/src/views/demandCenter/index.vue b/front/src/views/demandCenter/index.vue
index 91f6230b..22b0e3d5 100644
--- a/front/src/views/demandCenter/index.vue
+++ b/front/src/views/demandCenter/index.vue
@@ -187,6 +187,10 @@ const toView = () => {
}
onMounted(() => {
+ const toShowKey = router.currentRoute.value.query.toShowKey
+ if(toShowKey){
+ selectedKeys.value=toShowKey
+ }
const params = {
page: pageNum.value,
limit: pageSize.value,
diff --git a/front/src/views/personalCenter/components/MyApply.vue b/front/src/views/personalCenter/components/MyApply.vue
index d2ce67c7..d08e1a21 100644
--- a/front/src/views/personalCenter/components/MyApply.vue
+++ b/front/src/views/personalCenter/components/MyApply.vue
@@ -405,6 +405,7 @@ const phoneVisible = ref(false)
// 选择类型
const changeType = (item, index) => {
+ debugger
contentList.data = []
formState.value.name = ''
@@ -1126,8 +1127,10 @@ const showPhoneModal = () => {
}
mybus.on('closeModal', (obj) => {
+ debugger
detailsVisible.value = false
- changeType(obj.type, obj.index)
+ obj.name=obj.type
+ changeType(obj, obj.index)
})
onBeforeUnmount(() => {
mybus.off('closeModal')