jsreport

    0热度

    2回答

    我需要从HTML和CSS代码生成Node.js服务器中的PDF文件。 我在本地主机Nginx服务器上安装了JSreport,它似乎做我想做的事情:我进入网络软件,它接收HTML和CSS代码并生成PDF文件。 现在的Node.js服务器接收参数(如人名),然后它必须调用JSreport产生从HTML文件,我所做的PDF文件。

    0热度

    1回答

    我正在使用jsreport(通过npm)使用phantom-pdf配方从HTML呈现PDF。 渲染是通过HTTPS调用开始: https://127.0.0.1/api/report ...和POST数据是这样的一个字符串: { "template": { "content": /*...my HTML content template to render...*/, "re

    0热度

    1回答

    我正在将JSReport集成到Node JSApplication中。 JSReport使用多个第三方api来显示图表等。当我单独运行JSReporn时,它完美地工作。 enter image description here 当我运行这与节点JS应用程序,它不显示图形。 enter image description here 在这里,我附上了我的代码是关于jsreport工作室 模板是: <h

    0热度

    1回答

    我使用jsreport和phantom pdf recipe在ASP.NET Core中呈现视图为pdf。该项目作为App Service在Azure中运行。这在我的本地机器上正常工作,但是当我发布到Azure时,出现以下错误消息。 Exception: Call to Node module failed with error: ReferenceError: e is not defined

    2热度

    2回答

    在我的代码中,我有两个类 - 第一个“Foo”启动第二个“Bar”...我想要做的是找到使用父函数和变量的一些方法。 class Bar { function __construct() { /* * From within this function, how do I access either the returnName() function

    0热度

    1回答

    我正尝试从连接到jsreport的角度应用程序生成pdf报告。我的客户端应用程序通过以这种方式将示例数据传递到报表服务器来进行POST调用。 $http.post('http://localhost:5488/api/report', { 'template': { 'shortid': 'SypJSv75e', "data": {"name": "John D

    0热度

    1回答

    我使用jsreport兼容Mac和的NodeJS我收到以下错误 我已经修改文件夹权限和跑了作为根,但它不工作时出错。示例代码复制字面上它,它直接从官方网站粘贴https://jsreport.net/learn/pdf-reports-in-nodejs server.js var http = require('http'); var jsreport = require('jsreport'

    0热度

    1回答

    Html Code: <h3>Hello Welcome</h3> <div>{{jsonData}}</div> Script Code: function beforeRender(req, res, done) { require('request')({ url:'http://samples.openweathermap

    0热度

    2回答

    我试图创建一个使用jsreport STUDIO的报告,但我得到了像下面的错误 Error occured - Error during rendering report: Unsupported module in scripts: request. To enable require on particular module, you need to update the configurat

    1热度

    1回答

    我想用Jquery SheepIT plugin来制作一个计算器。 SheepIT克隆输入字段,我工作正常。产生这些领域后,我想用这样的事情后共领域的使用jQuery: [SheepIT generated fields with names and values] <script> function calc() { $.post('process/ca