fix : 优化需求征集新增
This commit is contained in:
@@ -35,14 +35,14 @@
|
|||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="是否专项资金" prop="isSpecialFund">
|
<el-form-item label="是否专项资金" prop="isSpecialFund">
|
||||||
<el-select v-model="formData.isSpecialFund" placeholder="是否专项资金" clearable filterable>
|
<el-select v-model="formData.isSpecialFund" placeholder="是否专项资金" clearable filterable>
|
||||||
<el-option value="true" label="是"></el-option>
|
<el-option :value="true" label="是"></el-option>
|
||||||
<el-option value="false" label="否"></el-option>
|
<el-option :value="false" label="否"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="专项资金名称" prop="specialFundId">
|
<el-form-item label="专项资金名称" prop="specialFundId">
|
||||||
<el-select v-model="formData.specialFundId" placeholder="请选择专项资金名称" clearable filterable :disabled="formData.isSpecialFund==='false'">
|
<el-select v-model="formData.specialFundId" placeholder="请选择专项资金名称" clearable filterable :disabled="!formData.isSpecialFund">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in specialFundOption"
|
v-for="item in specialFundOption"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -149,15 +149,13 @@ const formData = ref({
|
|||||||
deadline: '',
|
deadline: '',
|
||||||
collectExplain: '',
|
collectExplain: '',
|
||||||
fileList: [],
|
fileList: [],
|
||||||
isSpecialFund: 'false'
|
isSpecialFund: false
|
||||||
})
|
})
|
||||||
const showTinymce = ref(true)
|
|
||||||
const routerName = ref(router.currentRoute.value.name)
|
const routerName = ref(router.currentRoute.value.name)
|
||||||
const processDiagramViewer = ref(false)
|
const processDiagramViewer = ref(false)
|
||||||
const companyOption = ref([])
|
const companyOption = ref([])
|
||||||
const specialFundOption = ref([])
|
const specialFundOption = ref([])
|
||||||
const form = ref(null)
|
const form = ref(null)
|
||||||
const expendClass = ref()
|
|
||||||
const fileList = ref([])
|
const fileList = ref([])
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const showTable = ref(false)
|
const showTable = ref(false)
|
||||||
@@ -423,12 +421,12 @@ const getDetailInfo = async () => {
|
|||||||
if (res.code === 1000) {
|
if (res.code === 1000) {
|
||||||
selectedCompanyList.value = getCompanyOptionItem(res.data.companyIds)
|
selectedCompanyList.value = getCompanyOptionItem(res.data.companyIds)
|
||||||
formData.value = res.data
|
formData.value = res.data
|
||||||
showTinymce.value = false
|
if(res.data.fileList.length!==0){
|
||||||
showTable.value = false
|
showTable.value = false
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
showTinymce.value = true
|
showTable.value = true
|
||||||
showTable.value = true
|
})
|
||||||
})
|
}
|
||||||
} else {
|
} else {
|
||||||
ElNotification({
|
ElNotification({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
|
|||||||
Reference in New Issue
Block a user