fix(project): 调整知识产权相关表述和附件表格样式

- 将"知识产权状况"修改为"知识产权归属"
- 优化附件上传和展示组件的样式- 统一知识产权归属相关的标签和提示信息
- 调整部分组件的显示逻辑和样式
This commit is contained in:
dj
2025-04-18 22:37:22 +08:00
parent 696921243e
commit b032903ed4
8 changed files with 37 additions and 16 deletions

View File

@@ -390,6 +390,7 @@ const getTagsOption = (flag) => {
if (!route.query.projectId) return
getTagList(route.query.projectId).then(res => {
if (res.code === 1000) {
tagsOption.value = res.data.rows
let list=[]
if(flag){
@@ -406,7 +407,29 @@ const getTagsOption = (flag) => {
})
console.log("🚀 otherAttachmentList.value", allFiles.value)
console.log("🚀 ~ file:\tagsOption.value ", tagsOption.value)
let defaultArray=[
{
tagId: 'd1',
fileTag: '合同(专项任务书)',
isClose: 2
},
{
tagId: 'd2',
fileTag: '周报',
isClose: 2
},
{
tagId: 'd3',
fileTag: '阶段性验收',
isClose: 2
},
{
tagId: 'd4',
fileTag: '科研成果',
isClose: 2
}
]
tagsOption.value=[...defaultArray,...tagsOption.value]
// if (!res.data.rows || res.data.rows.length == 0) return;
// activeName.value=res.data.rows[0].tagId
} else {