Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/project-demand/requirement/detail.vue
This commit is contained in:
clay
2024-06-02 17:39:20 +08:00
23 changed files with 150 additions and 89 deletions

View File

@@ -6,7 +6,7 @@
<el-input v-model="formData.name" placeholder="请输入专项资金名称" clearable></el-input>
</el-form-item>
<el-form-item label="金额(元)" prop="fundAmount">
<el-input v-model="formData.fundAmount" placeholder="请输入金额" clearable></el-input>
<el-input-number v-model="formData.fundAmount" placeholder="请输入金额" :controls="false"/>
</el-form-item>
</el-form>
<baseTitle title="介绍"></baseTitle>
@@ -14,7 +14,7 @@
v-model:value="formData.introduce"/>
<baseTitle title="申请文件"></baseTitle>
<file-upload @getFile="getFile"/>
<fvTable style="width: 100%;max-height: 650px;" v-if="showTable"
<fvTable style="width: 100%;max-height: 300px;" v-if="showTable"
:tableConfig="tableConfig" :data="formData.files"
:isSettingCol="false" :pagination="false">
<template #empty>
@@ -170,7 +170,7 @@ const handleSubmit = async (instance) => {
const handleResubmit = () => {
if (!route.query.id) return
let params = {
id: route.query.id,
specialFundId: route.query.id,
...submitParam(formData.value)
}
resubmitFund(params).then(res => {
@@ -190,11 +190,6 @@ const handleResubmit = () => {
const init = async () => {
processDiagramViewer.value = false
getFundProcess().then(res => {
ElNotification({
title: '提示',
message: res.msg,
type: res.code === 1000 ? 'success' : 'error'
})
if (res.code === 1000) {
let data = res.data
processInstanceData.value = data
@@ -207,6 +202,12 @@ const init = async () => {
nextTick(() => {
processDiagramViewer.value = true
})
}else {
ElNotification({
title: '提示',
message: msg,
type:'error'
})
}
})
}
@@ -238,6 +239,8 @@ onMounted(async () => {
})
</script>
<style scoped>
<style scoped lang="scss">
:deep(.el-table--fit ){
height: 300px!important;
}
</style>