Vue based drag and drop data report designer

Vue based drag and drop data report designer

2022-10-10 0 1,865
Resource Number 44933 Last Updated 2025-02-24
¥ 0USD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

This issue recommends a drag and drop data big screen designer based on VUE – Cola Redese

Vue based drag and drop data report designer插图

Cola Designer is a VUE based tool that generates large data screens through drag and drop and configuration, designed to simplify development and improve efficiency

Functional Features

  • Code: Implement fully drag and drop+configuration based generation of large screens, design as production. (Dynamic data requires API interface provided by the backend)
  • Rapid development& Deployment: The project adopts the popular industry architecture SpringBoot+Vue, which is convenient for development and deployment
  • Component rich: Built in excellent open-source report commonly used components such as element, dataV, echarts, etc., to meet basic design requirements
  • Customization: The designer supports custom components

Quick Start

Development Environment

Development version Recommended version

mysql

8.0

5.7 +

jdk

11

1.8 +

node

16.13.1

12 +

npm

8.2.0

6 +

vue-cli

4.5.15

2 +

Project Structure

Technologies used: SpringBoot+SpringSecurity+MySQL+MyBatis Plus+Redis+Vue+ElementUI

Front end directory:

Vue based drag and drop data report designer插图1

Backend directory:

Vue based drag and drop data report designer插图2

Run frontend

1. Pull project

2. Switch to the frontend project directory and execute: yarn install

3. After installation is complete, execute: yarn run dev

Precautions

  • Before running the backend project, you need to create your own database and run the database script, while modifying the relevant configurations of applicationy.yml
  • Default port for backend project: 6882
  • For detailed front-end configuration, please refer to vue.config.js

Project Address

https://github.com/colaiven/cola-designer

How to use

Login

Username: admin
Password: 0000

Vue based drag and drop data report designer插图3

Large screen management

Click the login button to enter the large screen list (as shown in the figure below). The large screen list displays all the large screens created by the current user. Placing the mouse on the large screen will bring up an operation bar, which includes: design, access, share, and delete. Click the button to continue the corresponding operation

Vue based drag and drop data report designer插图4

Design

Click the design button on the large screen list page to jump to the design interface of the clicked large screen, as shown in the following figure

Vue based drag and drop data report designer插图5

In the design interface, the left column is the component column. To use it, select the component you want to use, long press the left mouse button and drag it to the dark design area in the middle. After dropping the component, a configurable item form for this component will pop up in the lower right corner, such as font color, size, etc. Modifying the configuration item design area will cause corresponding changes to the component. Some components that are not deeply listening can be synchronized using the refresh button in the data column

Place the mouse over the component in the design interface, and two buttons will appear in the upper right corner of the component, which are copy and delete. Click the button to perform the corresponding operation

Configuration Bar

The configuration bar displays the configurable item form of the currently selected component. In the lower right corner of the design interface, after dragging and dropping the component, it will automatically pop up. You can click the “X” button in the upper right corner of the configuration bar to hide it, and then display the configuration button that needs to be clicked in the lower right corner again

Vue based drag and drop data report designer插图6

Dynamic Data

After dragging and dropping the

component, it defaults to displaying static data, which can be modified in the data column of the configuration bar in the bottom right corner. It temporarily provides static data, API interface, and SQL for data rendering. When using the API interface, the prefix of the proxy in vue.config.js needs to be added, as shown in the following figure

Vue based drag and drop data report designer插图7

vue.config.js:

module.exports = {
publicPath: './'</ span>,
outputDir: "docs",
devServer: {
disableHostCheck: true,
port: 8009,
open: true,
overlay: {
warnings: false,
errors: true
},
proxy: {
'/design': {
target: ' http://127.0.0.1:6882 ',
ws: false,
changeOrigin: true,
pathRewrite: {
'/design': ''
}
},
'/fileUrl': {
target: ' http://127.0.0.1:6882 ',
ws: false,
changeOrigin: true,
pathRewrite: {
'/fileUrl': ''
}
},
}
},
}

You can see that the/sign proxy has reached the localhost: 6882 address, and you can configure the proxy yourself to access the interfaces of other backend projects
When using SQL for rendering, you need to enter the corresponding SQL in the text box. Clicking the refresh button will initiate an API request to the backend, with the interface address of/sql/secureSelect, corresponding to the API in the SQL ExecuteController of the backend project. You can change the data source in this interface by yourself

  • Note: The data format returned by API interfaces and SQL must be consistent with the format of static data text, otherwise rendering cannot be successful
  • Extract fileURL for the convenience of separating resource servers. If there is no separation requirement, it can be consistent with the large screen proxy

Settings

The basic information settings for the large screen can be found in the design button located in the upper right corner of the interface. Users can set the name, background image, access code, and other information for the large screen. Clicking the save button will synchronize it to the database

Vue based drag and drop data report designer插图8

Import& Export

The import and export function is located in the corresponding button in the upper right operation bar of the design interface, which can be exported as images and design files. The exported design file has a. cd suffix, which is actually a JSON file containing basic information of the large screen, position coordinates of components on the large screen, and configurable data. The import currently only supports importing. cd files, and importing with inconsistent versions will not be successfu

Selected List

To view all the components added to the current large screen, click the list button in the upper right corner. Clicking on a single item component will highlight it, and you can perform copy and delete operations on the component

Vue based drag and drop data report designer插图9

Preview& Save

Clicking the preview button in the upper right corner will save the current design to the browser’s local storge, and the preview page will render the data from the local storge. Clicking the save button in the upper right corner will save the current design to the database

Resource Library Management

The resource library management manages the image resources that the designer may use. Corresponding to the image component selection function of the designer, designers can upload the cut image of the design to the resource library at once, and can directly select it when using it to avoid duplicate image uploads. When uploading resources, it is necessary to select the corresponding group. Currently, the system defaults to three groups: background library, image library, and material library, which correspond to the data in the database design_img_group table. Users can add or delete them themselves

Vue based drag and drop data report designer插图10

Vue based drag and drop data report designer插图11

—END—

Open source protocol: GPL-2.0

资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free source code Vue based drag and drop data report designer https://ictcoder.com/kyym/vue-based-drag-and-drop-data-report-designer.html

Share free open-source source code

Q&A
  • 1, automatic: after taking the photo, click the (download) link to download; 2. Manual: After taking the photo, contact the seller to issue it or contact the official to find the developer to ship.
View details
  • 1, the default transaction cycle of the source code: manual delivery of goods for 1-3 days, and the user payment amount will enter the platform guarantee until the completion of the transaction or 3-7 days can be issued, in case of disputes indefinitely extend the collection amount until the dispute is resolved or refunded!
View details
  • 1. Heptalon will permanently archive the process of trading between the two parties and the snapshots of the traded goods to ensure that the transaction is true, effective and safe! 2, Seven PAWS can not guarantee such as "permanent package update", "permanent technical support" and other similar transactions after the merchant commitment, please identify the buyer; 3, in the source code at the same time there is a website demonstration and picture demonstration, and the site is inconsistent with the diagram, the default according to the diagram as the dispute evaluation basis (except for special statements or agreement); 4, in the absence of "no legitimate basis for refund", the commodity written "once sold, no support for refund" and other similar statements, shall be deemed invalid; 5, before the shooting, the transaction content agreed by the two parties on QQ can also be the basis for dispute judgment (agreement and description of the conflict, the agreement shall prevail); 6, because the chat record can be used as the basis for dispute judgment, so when the two sides contact, only communicate with the other party on the QQ and mobile phone number left on the systemhere, in case the other party does not recognize self-commitment. 7, although the probability of disputes is very small, but be sure to retain such important information as chat records, mobile phone messages, etc., in case of disputes, it is convenient for seven PAWS to intervene in rapid processing.
View details
  • 1. As a third-party intermediary platform, Qichou protects the security of the transaction and the rights and interests of both buyers and sellers according to the transaction contract (commodity description, content agreed before the transaction); 2, non-platform online trading projects, any consequences have nothing to do with mutual site; No matter the seller for any reason to require offline transactions, please contact the management report.
View details

Related Article

make a comment
No comments available at the moment
Official customer service team

To solve your worries - 24 hours online professional service