Merge branch 'hi-ucs-dev' of http://124.222.94.39:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
wuhongjian 2022-12-28 16:24:01 +08:00
commit b325940c23
6 changed files with 31 additions and 11 deletions

View File

@ -318,6 +318,9 @@ export default {
onRemove (file, fileList) { onRemove (file, fileList) {
this.$nextTick(() => { this.$nextTick(() => {
if (fileList.length == 0) { if (fileList.length == 0) {
this.ruleForm.pic =null
this.fileList = []
this.picImg =''
this.checkImgSuccess = false // this.checkImgSuccess = false //
// this.$refs.ruleForm.validate() //, // this.$refs.ruleForm.validate() //,
} }
@ -358,7 +361,7 @@ export default {
this.$http.get(`/meeting/${row.id}`).then(({ data: res }) => { this.$http.get(`/meeting/${row.id}`).then(({ data: res }) => {
this.dialogFormVisible = true this.dialogFormVisible = true
this.ruleForm = res.data this.ruleForm = res.data
if (res.data.pic != null) { if (res.data.pic != null && res.data.pic != '') {
// let imgUrl = { name: res.data.name, url: res.data.pic } // let imgUrl = { name: res.data.name, url: res.data.pic }
// this.fileList.push(imgUrl) // this.fileList.push(imgUrl)
this.picImg = res.data.pic this.picImg = res.data.pic

View File

@ -24,22 +24,26 @@
<span class="text" v-if="dataForm.content.applicationSystem">应用系统<span>{{ <span class="text" v-if="dataForm.content.applicationSystem">应用系统<span>{{
dataForm.content.applicationSystem || '--' dataForm.content.applicationSystem || '--'
}}</span></span> }}</span></span>
<span class="text"></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>
<p> <p>
<span v-if="dataForm.content.applicationSceneStr">应用场景<span> <span v-if="dataForm.content.applicationSceneStr">应用场景<span>
{{ dataForm.content.applicationSceneStr || '--' }}</span></span> {{ dataForm.content.applicationSceneStr || '--' }}</span></span>
</p> </p>
<p> <p>
<span> <span>
需求依据<span> 需求依据<span>
{{ dataForm.content.applicationBackground || '--' }}</span></span> {{ dataForm.content.applicationBackground || '--' }}</span></span>
</p> </p>
<!-- <p>
<div>
<el-button type="primary" v-if="dataForm.content.attachment" size="small" @click="download(dataForm.content)">附件下载</el-button>
</div>
</p> -->
<p> <p>
<div v-if="version == 'xihaian'"> <div v-if="version == 'xihaian'">
<el-button type="primary" size="small" @click="download(dataForm.content)">附件下载</el-button> <el-button type="primary" size="small" @click="download(dataForm.content)">附件下载</el-button>

View File

@ -73,7 +73,7 @@ export default {
}, },
// //
resourceData: [], resourceData: [],
resourceColor: ['#7b2cff', '#fd5151', , '#2ca1ff', '#0adbfa', '#febe13', '#65e5dd', '#f071ff', '#85f67a'], resourceColor: ['#7b2cff', '#fd5151' , '#2ca1ff', '#0adbfa', '#febe13', '#65e5dd', '#f071ff', '#85f67a'],
// //
applyData: [], applyData: [],
applyColor: ['#5085f2', '#e75fc3', '#f87be2', '#f2719a', '#fca4bb', '#f59a8f', '#fdb301', '#57e7ec', '#cf9ef1'], applyColor: ['#5085f2', '#e75fc3', '#f87be2', '#f2719a', '#fca4bb', '#f59a8f', '#fdb301', '#57e7ec', '#cf9ef1'],

View File

@ -388,7 +388,13 @@
} }
} }
const closeMain = () => { const closeMain = () => {
window.history.go(-1) const showKey = router.currentRoute.value.query.showKey
router.push({
path: '/demandCenter',
query: {
toShowKey:showKey
},
})
} }
onMounted(() => { onMounted(() => {
// const formData = computed(() => store.getters['home/demandDetailsData']) // const formData = computed(() => store.getters['home/demandDetailsData'])

View File

@ -187,6 +187,10 @@ const toView = () => {
} }
onMounted(() => { onMounted(() => {
const toShowKey = router.currentRoute.value.query.toShowKey
if(toShowKey){
selectedKeys.value=toShowKey
}
const params = { const params = {
page: pageNum.value, page: pageNum.value,
limit: pageSize.value, limit: pageSize.value,

View File

@ -405,6 +405,7 @@ const phoneVisible = ref(false)
// //
const changeType = (item, index) => { const changeType = (item, index) => {
debugger
contentList.data = [] contentList.data = []
formState.value.name = '' formState.value.name = ''
@ -1126,8 +1127,10 @@ const showPhoneModal = () => {
} }
mybus.on('closeModal', (obj) => { mybus.on('closeModal', (obj) => {
debugger
detailsVisible.value = false detailsVisible.value = false
changeType(obj.type, obj.index) obj.name=obj.type
changeType(obj, obj.index)
}) })
onBeforeUnmount(() => { onBeforeUnmount(() => {
mybus.off('closeModal') mybus.off('closeModal')