fix : 修复项目实施-归档列表页附件项目实施/验收展示及上传附件功能,修复需求上报资金名称传参
This commit is contained in:
@@ -105,7 +105,7 @@ const handleSearch = () => {
|
||||
const loading = ElLoading.service({fullscreen: true})
|
||||
let params = {
|
||||
targetId: route.query.projectId,
|
||||
targetState: "40"
|
||||
targetState: "30"
|
||||
}
|
||||
if (attachmentParam.tag) {
|
||||
tagsOption.value.forEach(item => {
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<el-form-item label="名称" prop="fileName">
|
||||
<el-input v-model="attachment.fileName" placeholder="请输入文件名查询" clearable filterable style="width: 300px"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="标签" prop="tag" v-if="type==='40'">
|
||||
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable remote filterable style="width: 300px">
|
||||
<el-form-item label="标签" prop="tag" v-if="type==='30'">
|
||||
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable filterable style="width: 300px">
|
||||
<el-option
|
||||
v-for="item in tagsOption"
|
||||
:key="item.value"
|
||||
@@ -179,12 +179,12 @@ watch(() => props.fileList, (val) => {
|
||||
})
|
||||
props.fileList = val
|
||||
})
|
||||
if (props.type === '40') {
|
||||
if (props.type === '30') {
|
||||
getTagsOption()
|
||||
}
|
||||
|
||||
onActivated(()=>{
|
||||
if (props.type === '40') {
|
||||
if (props.type === '30') {
|
||||
getTagsOption()
|
||||
}
|
||||
handleSearch()
|
||||
|
||||
Reference in New Issue
Block a user