Showing
3 changed files
with
21 additions
and
17 deletions
@@ -690,23 +690,22 @@ export default { | @@ -690,23 +690,22 @@ export default { | ||
690 | props.fileIds.push(document.id); | 690 | props.fileIds.push(document.id); |
691 | } | 691 | } |
692 | // Start Wang 2022/3/8 10:43 在乙方运维中上传文件后不弹出授权框 | 692 | // Start Wang 2022/3/8 10:43 在乙方运维中上传文件后不弹出授权框 |
693 | - if(props.viewTypeId && props.viewTypeId != ''){ | ||
694 | - return; | 693 | + if(!props.viewTypeId && props.viewTypeId == ''){ |
694 | + // Start 上传成功后弹出授权弹框 LSQ 2022/1/12 | ||
695 | + setTimeout(function (){ | ||
696 | + if(dataList.value && dataList.value.length>0){ | ||
697 | + dataList.value.map(v=>{ | ||
698 | + if(v.id==document.id){ | ||
699 | + v.checked=true; | ||
700 | + } | ||
701 | + }) | ||
702 | + showUserDialog(true); | ||
703 | + } | ||
704 | + | ||
705 | + },1500) | ||
706 | + //End LSQ 2022/1/12 | ||
695 | } | 707 | } |
696 | // End Wang 2022/3/8 10:44 | 708 | // End Wang 2022/3/8 10:44 |
697 | - // Start 上传成功后弹出授权弹框 LSQ 2022/1/12 | ||
698 | - setTimeout(function (){ | ||
699 | - if(dataList.value && dataList.value.length>0){ | ||
700 | - dataList.value.map(v=>{ | ||
701 | - if(v.id==document.id){ | ||
702 | - v.checked=true; | ||
703 | - } | ||
704 | - }) | ||
705 | - showUserDialog(true); | ||
706 | - } | ||
707 | - | ||
708 | - },1500) | ||
709 | - //End LSQ 2022/1/12 | ||
710 | // 执行回调 | 709 | // 执行回调 |
711 | emit('callback', {document, fileInfo}); | 710 | emit('callback', {document, fileInfo}); |
712 | } | 711 | } |
@@ -66,6 +66,7 @@ export default { | @@ -66,6 +66,7 @@ export default { | ||
66 | personId: personId, | 66 | personId: personId, |
67 | code: code ? code : props.treeNode.map.nodeType.code | 67 | code: code ? code : props.treeNode.map.nodeType.code |
68 | } | 68 | } |
69 | + | ||
69 | proxy.$http.get('/api-web/bOpsFile/search', params, function (res) { | 70 | proxy.$http.get('/api-web/bOpsFile/search', params, function (res) { |
70 | if (res && res.code == 0 && res.data && res.data.length > 0) { | 71 | if (res && res.code == 0 && res.data && res.data.length > 0) { |
71 | 72 | ||
@@ -104,6 +105,7 @@ export default { | @@ -104,6 +105,7 @@ export default { | ||
104 | fileUrl: document.localPath, | 105 | fileUrl: document.localPath, |
105 | code: props.treeNode.map.nodeType.code | 106 | code: props.treeNode.map.nodeType.code |
106 | }; | 107 | }; |
108 | + | ||
107 | proxy.$http.post('/api-web/bOpsFile/fileSynchronization', params, function (res) { | 109 | proxy.$http.post('/api-web/bOpsFile/fileSynchronization', params, function (res) { |
108 | if (res && res.code == 0) { | 110 | if (res && res.code == 0) { |
109 | // proxy.$global.showMsg(""); | 111 | // proxy.$global.showMsg(""); |
@@ -128,7 +128,8 @@ export default { | @@ -128,7 +128,8 @@ export default { | ||
128 | componentName.value = "DOCUMENT"; | 128 | componentName.value = "DOCUMENT"; |
129 | docType.value = "THREE_PERSONAGE_NDA"; | 129 | docType.value = "THREE_PERSONAGE_NDA"; |
130 | docTypeName.value = "入场资料"; | 130 | docTypeName.value = "入场资料"; |
131 | - showDialog(true); | 131 | + props.parentNode.id = row.id; |
132 | + // showDialog(true); | ||
132 | }, | 133 | }, |
133 | render: function (row) { | 134 | render: function (row) { |
134 | if (row.personalSecrecyBook == "YES") { | 135 | if (row.personalSecrecyBook == "YES") { |
@@ -148,7 +149,9 @@ export default { | @@ -148,7 +149,9 @@ export default { | ||
148 | componentName.value = "DOCUMENT"; | 149 | componentName.value = "DOCUMENT"; |
149 | docType.value = "THREE_MONTHLY_SUMMARY"; | 150 | docType.value = "THREE_MONTHLY_SUMMARY"; |
150 | docTypeName.value = "月度总结"; | 151 | docTypeName.value = "月度总结"; |
151 | - showDialog(true); | 152 | + props.parentNode.id = row.id; |
153 | + | ||
154 | + // showDialog(true); | ||
152 | }, | 155 | }, |
153 | render: function (row) { | 156 | render: function (row) { |
154 | if (row.monthlySummary == "YES") { | 157 | if (row.monthlySummary == "YES") { |
-
Please register or login to post a comment