|
@@ -1209,7 +1209,7 @@ const fileListData = ref([])
|
|
const uploadData = ref({})
|
|
const uploadData = ref({})
|
|
//上传附件
|
|
//上传附件
|
|
const uploadClick = (items, index) => {
|
|
const uploadClick = (items, index) => {
|
|
- const { pkeyId, isTableForm, isTableRender } = items
|
|
|
|
|
|
+ const { pkeyId, isTableForm, isTableRender, isBussShow } = items
|
|
const keyName = `item-${index}-${pkeyId}`
|
|
const keyName = `item-${index}-${pkeyId}`
|
|
if (pkeyId) {
|
|
if (pkeyId) {
|
|
if (isTableForm) {
|
|
if (isTableForm) {
|
|
@@ -1224,8 +1224,23 @@ const uploadClick = (items, index) => {
|
|
//获取文件列表
|
|
//获取文件列表
|
|
getBussFileList(pkeyId)
|
|
getBussFileList(pkeyId)
|
|
} else if (!isTableRender) {
|
|
} else if (!isTableRender) {
|
|
- CollapseChange(keyName)
|
|
|
|
- window?.$message?.warning('请再次点击上传')
|
|
|
|
|
|
+ if (isBussShow !== 2) {
|
|
|
|
+ CollapseChange(keyName)
|
|
|
|
+ window?.$message?.warning('请再次点击上传')
|
|
|
|
+ } else {
|
|
|
|
+ console.log('隐藏表点击')
|
|
|
|
+ uploadModal.value = true
|
|
|
|
+ uploadData.value = {
|
|
|
|
+ projectId: projectId.value,
|
|
|
|
+ contractId: contract_id.value,
|
|
|
|
+ classify: classifys.value,
|
|
|
|
+ pkeyId: pkeyId,
|
|
|
|
+ nodeId: treeId.value,
|
|
|
|
+ }
|
|
|
|
+ //获取文件列表
|
|
|
|
+ getBussFileList(pkeyId)
|
|
|
|
+ }
|
|
|
|
+
|
|
} else if (!isTableForm) {
|
|
} else if (!isTableForm) {
|
|
window?.$message?.warning('暂无表单数据')
|
|
window?.$message?.warning('暂无表单数据')
|
|
}
|
|
}
|