Merge branch 'hi-ucs-dev' of http://124.222.94.39:3000/wuhongjian/hi-ucs into hi-ucs-dev
This commit is contained in:
commit
b325940c23
|
@ -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
|
||||||
|
|
|
@ -24,7 +24,16 @@
|
||||||
<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>
|
||||||
|
<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>
|
<span class="text"></span>
|
||||||
|
</template>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span v-if="dataForm.content.applicationSceneStr">应用场景:<span>
|
<span v-if="dataForm.content.applicationSceneStr">应用场景:<span>
|
||||||
|
@ -35,11 +44,6 @@
|
||||||
需求依据:<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>
|
||||||
|
|
|
@ -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'],
|
||||||
|
|
|
@ -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'])
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue