修改问题
This commit is contained in:
parent
d2d201b550
commit
ee56af20ec
|
@ -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>
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -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'])
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue