|
@@ -109,7 +109,7 @@ function getAllList(currPageNum = 1) {
|
|
|
function getNodeList(node) {
|
|
|
let html = '';
|
|
|
for(const att of attData) {
|
|
|
- if (parseInt(node) === parseInt(att.lid)) {
|
|
|
+ if (node === att.lid) {
|
|
|
html += '<tr><td><a href="javascript:void(0)" file-id="'+ att.id +'">'+ att.filename + att.fileext +'</a></td><td>'+ att.username +'</td></tr>';
|
|
|
|
|
|
}
|
|
@@ -810,6 +810,7 @@ $(document).ready(() => {
|
|
|
if (node) {
|
|
|
const posData = stagePos.ledgerPos[itemsPre + node.id] || [];
|
|
|
SpreadJsObj.loadSheetData(spSpread.getActiveSheet(), 'data', posData);
|
|
|
+ console.log(node.id);
|
|
|
getNodeList(node.id);
|
|
|
} else {
|
|
|
SpreadJsObj.loadSheetData(spSpread.getActiveSheet(), 'data', []);
|