修改问题

This commit is contained in:
gongjiale 2022-12-28 15:32:12 +08:00
parent d2d201b550
commit ee56af20ec
5 changed files with 27 additions and 10 deletions

View File

@ -24,7 +24,16 @@
<span class="text" v-if="dataForm.content.applicationSystem">应用系统<span>{{
dataForm.content.applicationSystem || '--'
}}</span></span>
<template v-if="version == 'xihaian'">
<span class="text" v-if="version == 'xihaian'">申请期限:<span>
{{
dataForm.content.expireDate || '--'}}</span></span>
</template>
<template v-else>
<span class="text"></span>
</template>
</p>
<p>
<span v-if="dataForm.content.applicationSceneStr">应用场景<span>
@ -35,11 +44,6 @@
需求依据<span>
{{ dataForm.content.applicationBackground || '--' }}</span></span>
</p>
<!-- <p>
<div>
<el-button type="primary" v-if="dataForm.content.attachment" size="small" @click="download(dataForm.content)">附件下载</el-button>
</div>
</p> -->
<p>
<div v-if="version == 'xihaian'">
<el-button type="primary" size="small" @click="download(dataForm.content)">附件下载</el-button>

View File

@ -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'],

View File

@ -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'])

View File

@ -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,

View File

@ -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')