zm
2020-08-25 be0349706f03714009da050902751c42f7c8310d
附件管理功能开发
1 files modified
14 ■■■■■ changed files
src/web/Public/Scripts/PSI/Attachment/AttachmentList.js 14 ●●●●● patch | view | raw | blame | history
src/web/Public/Scripts/PSI/Attachment/AttachmentList.js
@@ -61,6 +61,18 @@
        dataIndex: "createOn",
        width: 170,
        menuDisabled: true
      },{
        header: "操作",
        dataIndex: "fullName",
        width: 110,
        menuDisabled: true,
        sortable: false,
        renderer: function (value, md, record) {
          return "<a href='"
            + PSI.Const.BASE_URL
            + record.get("fullName")
            + "' target='_blank'>下载</a>";
        }
      }]
    });
@@ -195,7 +207,7 @@
            userStore.add({
              id: item.id,
              fileName: item.file_name,
              fullName: item.full_Name,
              fullName: item.full_name,
              fileType: item.file_type,
              linkTableName:item.link_table_name,
              linkDataId:item.link_data_id,