fix : 修改征集类型为字典、直接上报时详情专项资金回显、项目归档-需求征集文件回显、重大项目前置流程必填

This commit is contained in:
2024-06-18 20:43:02 +08:00
parent df513a91fe
commit 5100281c1f
9 changed files with 61 additions and 49 deletions

View File

@@ -43,26 +43,26 @@ const schema = computed(() => {
]
})
const baseForm = ref()
const paneList=ref([
const paneList = ref([
{
label:'需求征集',
name:'00'
label: '需求征集',
name: '00'
},
{
label:'需求上报',
name:'10'
label: '需求上报',
name: '10'
},
{
label:'项目立项',
name:'20'
label: '项目立项',
name: '20'
},
{
label:'项目实施',
name:'40'
label: '项目实施',
name: '40'
},
{
label:'项目归档',
name:'50'
label: '项目归档',
name: '50'
}
])
const getBaseInfo = async () => {
@@ -75,16 +75,19 @@ const getBaseInfo = async () => {
getBaseInfo()
const handleClick = (tab) => {
activeName.value=tab.props.name
loading.value=true
activeName.value = tab.props.name
loading.value = true
search({})
}
const search = async (param) => {
param.targetState = activeName.value
if (activeName.value === '00') {
param.requirementId = requirementId.value
}
param.targetId = projectId.value
param.targetState = activeName.value
searchFileList(param).then(res => {
loading.value=false
loading.value = false
changeFileList(res)
})
}

View File

@@ -44,6 +44,7 @@
:formData="detailData.formData"/>
</template>
</steps>
<div style="width: 100%;height: 30px"></div>
<opinion v-if="detailData.taskId" :formData="detailData.formData" :taskId="detailData.taskId"
v-model:value="auditOpinion"/>
</template>