bug修改

This commit is contained in:
gaoyuanwei 2022-08-23 18:02:00 +08:00
parent 0c4015cb5c
commit 17bc4877f2
3 changed files with 7 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<div class="fixedmount"> <div class="fixedmount">
<div @click="toView()"> <div @click="toView()">
<p></p> <p></p>
<p>需求申请</p> <p>需求</p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -86,7 +86,8 @@
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
import { pinyin } from 'pinyin-pro' import { pinyin } from 'pinyin-pro'
import { message } from 'ant-design-vue' import { message } from 'ant-design-vue'
const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let flag = ref(true) let flag = ref(true)
let dataFrom = ref({ let dataFrom = ref({
title: '使用方式', title: '使用方式',
@ -218,6 +219,7 @@
() => props.dataList, () => props.dataList,
(val) => { (val) => {
if (val) { if (val) {
approveStatus.value = val.approveStatus
let obj = val.infoList.filter((item) => item.attrType === '组件地址')[0] let obj = val.infoList.filter((item) => item.attrType === '组件地址')[0]
dataFrom.value.content[0].childrenContent[1].attrValue = dataFrom.value.content[0].childrenContent[1].attrValue =
props.dataList.deptContacts || '--' props.dataList.deptContacts || '--'

View File

@ -181,6 +181,8 @@
import { message } from 'ant-design-vue' import { message } from 'ant-design-vue'
import { pinyin } from 'pinyin-pro' import { pinyin } from 'pinyin-pro'
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
link: '', link: '',
title: '使用方式', title: '使用方式',
@ -251,6 +253,7 @@
if (!obj) { if (!obj) {
flag.value = false flag.value = false
} else { } else {
approveStatus.value = val.approveStatus
dataFrom.value.content[0].link.value = val.apiUrl || '--' dataFrom.value.content[0].link.value = val.apiUrl || '--'
dataFrom.value.content[0].facilitator.value = val.deptName || '--' dataFrom.value.content[0].facilitator.value = val.deptName || '--'
dataFrom.value.content[0].people.value = val.deptContacts || '--' dataFrom.value.content[0].people.value = val.deptContacts || '--'