Coder Social home page Coder Social logo

vue-hiprint-example's Introduction

常见问题


  1. 打印设计页面, 始化没有把之前模板清掉 ==> 直接 操作DOM $("#hiprint-printTemplate").html("");
  2. 内容全部都打印在了第一页 ==> 引入打印样式( html 中引入打印样式的css 复制一份 加上 media="print" 属性 );
  3. 页码不能设置隐藏 ==> 双击页码;
  4. 设计页面字段改成下拉选择 ==> new template 实例的时候传入 fields , 具体参数为 [{field:'name' ,text:'姓名' }, xxx]
  5. 远程打印 ==> 修改源码 # 5169 (2.5.3 版本) this.socket = io("http://192.168.102.166:17521", 改为自己的服务地址或者动态全局配置;

Vue Hiprint Example Project

hiprint project based on Vue Element-UI

Screenshots

Getting Started

This project is a starting point for a vue hiprint.

Step 1

> git clone https://github.com/peakcool/vue-hiprint-example.git

Step 2

> cd YOUR_PROJECT/vue-hiprint-example

Step 3

> npm install

or

> yarn

Step 4

> npm run dev

Resources

A few resources to get you started:

https://blog.csdn.net/byc233518/article/details/107705278#comments_16333108

vue-hiprint-example's People

Contributors

rubickecho avatar byc233518 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.