CN109783748B - Display method, device and equipment for display field and readable storage medium - Google Patents

Display method, device and equipment for display field and readable storage medium Download PDF

Info

Publication number
CN109783748B
CN109783748B CN201811514007.XA CN201811514007A CN109783748B CN 109783748 B CN109783748 B CN 109783748B CN 201811514007 A CN201811514007 A CN 201811514007A CN 109783748 B CN109783748 B CN 109783748B
Authority
CN
China
Prior art keywords
display
field
page
displayed
modifying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811514007.XA
Other languages
Chinese (zh)
Other versions
CN109783748A (en
Inventor
宋斌
胡银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811514007.XA priority Critical patent/CN109783748B/en
Publication of CN109783748A publication Critical patent/CN109783748A/en
Application granted granted Critical
Publication of CN109783748B publication Critical patent/CN109783748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a display method, a device, equipment and a readable storage medium for a display field, wherein the method comprises the following steps: when a dragging instruction of a page label corresponding to a preset page layout control is detected, modifying a position parameter corresponding to the dragging instruction in a position attribute of the page layout control; determining the display position of the page tag in the page corresponding to the page layout control according to the position parameter; and after receiving a first modification instruction for modifying the data table corresponding to the page tag, modifying a field to be displayed in the data table according to the first modification instruction, and displaying the modified field to be displayed in the display position. According to the invention, through operation and maintenance, the operation flow of changing the display position of the page tag in the display page and the corresponding display field is simplified, and the efficiency of changing the display position of the page tag and the corresponding display field of the page tag is improved.

Description

Display method, device and equipment for display field and readable storage medium
Technical Field
The present invention relates to the field of operation and maintenance technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for displaying a display field.
Background
If the user wants to change the display position of each page label and change the display field corresponding to each page label, the user needs to modify the corresponding code to revise the display position of the page label and the display field corresponding to each page label again, and then the modified code corresponds to a new version to realize the change of the display position and the display field. Therefore, the change process of the page tag display position and the corresponding display field in the existing display page is complicated and has low efficiency.
Disclosure of Invention
The invention mainly aims to provide a display method, a device and equipment for a display field and a readable storage medium, and aims to solve the technical problems of complicated and complex display position of a page label and corresponding display field changing process in the existing display page and low efficiency.
In order to achieve the above object, the present invention provides a display method for a display field, the display method for a display field including the steps of:
when a dragging instruction of a page label corresponding to a preset page layout control is detected, modifying a position parameter corresponding to the dragging instruction in a position attribute of the page layout control;
determining the display position of the page tag in the page corresponding to the page layout control according to the position parameter;
and after receiving a first modification instruction for modifying the data table corresponding to the page tag, modifying a field to be displayed in the data table according to the first modification instruction, and displaying the modified field to be displayed in the display position.
Preferably, the step of determining the display position of the page tag in the page layout control corresponding to the display page according to the position parameter includes:
detecting whether the coordinate value corresponding to the position parameter is within a preset display range;
If the coordinate value is in the preset display range, determining that the position of the coordinate value is the display position of the page label in the page corresponding to the page layout control;
And if the coordinate value is not in the preset display range, determining a minimum distance value between the coordinate value and the preset display range, and determining a position corresponding to the minimum distance value as a display position of the page label in the page corresponding to the page layout control.
Preferably, after receiving a first modification instruction for modifying the data table corresponding to the page tag, the step of modifying a field to be displayed in the data table according to the first modification instruction, and displaying the modified field to be displayed in the display position includes:
After a first modification instruction for modifying the data table corresponding to the page tag is received, modifying a field to be displayed in the data table according to the first modification instruction, and acquiring the display color of the field to be displayed;
and if the display color is detected to be inconsistent with the preset color, displaying the modified field to be displayed in the display position in the display color.
Preferably, after receiving a first modification instruction for modifying the data table corresponding to the page tag, modifying a field to be displayed in the data table according to the first modification instruction, and obtaining a display color of the field to be displayed, the method further includes:
If the display color is detected to be consistent with the preset color, outputting prompt information to prompt a corresponding user to trigger a second modification instruction for modifying the display color;
After the second modification instruction is detected, modifying the display color according to the second modification instruction, obtaining the modified display color, and displaying the modified field to be displayed in the display position in the modified display color.
Preferably, after receiving a first modification instruction for modifying the data table corresponding to the page tag, modifying a field to be displayed in the data table according to the first modification instruction, and obtaining a display color of the field to be displayed, the method further includes:
and if the display color is detected to be consistent with the preset color, modifying the display color into a default color, and displaying the modified field to be displayed in the display position in the default color.
Preferably, the step of modifying the field to be displayed in the data table according to the first modification instruction after receiving the first modification instruction for modifying the data table corresponding to the page tag includes:
After a first modification instruction for modifying the page tag corresponding data table is received, detecting whether a modification authority exists in a user corresponding to the first modification instruction;
and if the first modification instruction corresponds to the user and has modification permission, modifying the field to be displayed in the data table according to the first modification instruction.
Preferably, after the step of determining the display position of the page tag in the page layout control corresponding to the display page according to the position parameter, the method further includes:
detecting whether a first modification instruction for modifying the page tag corresponding data table is received within a preset duration;
and if the first modification instruction is not received within the preset time, acquiring a default display field corresponding to the page tag, and displaying the default display field in the display position.
In addition, to achieve the above object, the present invention also provides a display device for displaying a field, the display device for displaying a field including:
The modification module is used for modifying the position parameter corresponding to the dragging instruction in the position attribute of the page layout control after detecting the dragging instruction of the page label corresponding to the preset page layout control;
the determining module is used for determining the display position of the page tag in the page corresponding to the page layout control according to the position parameter;
The modification module is further used for modifying a field to be displayed in the data table according to the first modification instruction after receiving the first modification instruction for modifying the data table corresponding to the page tag;
and the display module is used for displaying the modified field to be displayed in the display position.
In addition, in order to achieve the above object, the present invention also provides a display device for displaying a field, the display device for displaying a field including a memory, a processor, and a display program for displaying a field stored on the memory and executable on the processor, the display program for displaying a field implementing the steps of the display method for displaying a field as described above when executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a display program for a display field, which when executed by a processor, implements the steps of the display method for a display field as described above.
After a drag instruction of a page label corresponding to a preset page layout control is detected, modifying a position parameter corresponding to the drag instruction in a position attribute of the page layout control, determining a display position of the page label in a display page corresponding to the page layout control according to the position parameter, modifying a field to be displayed in a data table according to a first modification instruction of a data table corresponding to the modified page label, and displaying the modified field to be displayed in the display position. The method and the device realize the change of the display position of the page tag by setting the position attribute in the page layout control corresponding to the page tag, and store the display field corresponding to the page tag in the data table, associate the data table with the page tag, and when the display field corresponding to the page tag needs to be changed, modify the data table corresponding to the page tag without modifying the corresponding code of the page tag, thereby simplifying the operation flow of changing the display position of the page tag and the corresponding display field in the display page and improving the change efficiency of the display position of the page tag and the corresponding display field of the page tag.
Drawings
FIG. 1 is a flow chart of a display method of a display field according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of a refinement procedure of step S30 in the embodiment of the present invention;
FIG. 3 is a block diagram of a display device according to a preferred embodiment of the present invention;
FIG. 4 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a flow chart illustrating a preferred embodiment of a display method for displaying fields according to the present invention.
The embodiments of the present invention provide embodiments of a display method for displaying fields, it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than what is shown or described herein.
The display method of the display field is applied to a server or a terminal, and the terminal may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), and a fixed terminal such as a digital TV, a desktop computer, and the like. In various embodiments of a display method of a display field, an execution body is omitted to illustrate the various embodiments for convenience of description. The display method of the display field comprises the following steps:
Step S10, when a dragging instruction of a page label corresponding to a preset page layout control is detected, modifying a position parameter corresponding to the dragging instruction in a position attribute of the page layout control.
When a dragging instruction corresponding to a page label of a preset page layout control is detected, modifying a position parameter corresponding to the dragging instruction in the position attribute of the page layout control. It should be noted that, each page layout control has a corresponding page tag, and by dragging the page tag, the display position of the page layout control corresponding to the display page can be changed. In the process of setting the page layout control, a position attribute is added in the page layout control. If the page layout control is set in the terminal, the display page corresponding to the page layout control is the display page of the terminal. The drag instruction may be triggered by the user according to specific needs. In the display page, there is a corresponding coordinate for each point. If the lower left corner of the display page is taken as the origin, the lower boundary of the display page is taken as the horizontal axis, the left boundary of the display page is taken as the vertical axis, a rectangular coordinate system is established, and the point corresponding to the lower left corner of the page label or the central point of the page label is taken as the position of the page label. If the coordinate value of the center point of the page label on the display page is (1, 1) before the drag command is detected, and the drag command is to move the page label to the right by two units, the position parameter corresponding to the drag command is modified to be (3, 1) in the position attribute of the page layout control. It can be understood that after the position parameter corresponding to the drag instruction is modified in the position attribute of the page layout control, the position parameter in the position attribute of the page layout control is the display position of the page tag in the display page.
And step S20, determining the display position of the page tag in the corresponding display page of the page layout control according to the position parameter.
And after the position parameter corresponding to the dragging instruction is modified in the position attribute of the page layout control, determining the display position of the page label in the display page corresponding to the page layout control according to the position parameter.
Further, step S20 includes:
and a step a of detecting whether the coordinate value corresponding to the position parameter is in a preset display range.
Further, after modifying the position parameter corresponding to the drag instruction in the position attribute of the page layout control, whether the coordinate value corresponding to the position parameter is within the preset display range or not can be detected. It should be noted that the preset display range is preset, and the preset display range may also be represented by a coordinate value, for example, a horizontal axis corresponding range of a certain page label in the display page may be set to be greater than a, less than or equal to b, and a vertical axis corresponding range is greater than a, less than or equal to c, where a is less than b, and a is less than c, and the size relationship between b and c may be set according to specific needs. And in the process of detecting whether the coordinate value corresponding to the position parameter is in the preset display range, comparing the horizontal axis value of the coordinate value with the upper limit value and the lower limit value of the range corresponding to the horizontal axis, and comparing the vertical axis value of the coordinate value with the upper limit value and the lower limit value of the range corresponding to the vertical axis. When the detected value of the horizontal axis of the coordinate value is in the corresponding range of the horizontal axis and the value of the vertical axis of the coordinate value is in the corresponding range of the vertical axis, determining that the coordinate value is in the preset display range; and when the detected value of the horizontal axis of the coordinate value is not in the corresponding range of the horizontal axis and/or the value of the vertical axis of the coordinate value is not in the corresponding range of the vertical axis, determining that the coordinate value is not in the preset display range.
And b, if the coordinate value is in the preset display range, determining that the position of the coordinate value is the display position of the page label in the page corresponding to the page layout control.
If the coordinate value is detected to be in the preset display range, determining the position of the coordinate value as the display position of the page label in the page corresponding to the page layout control.
And c, if the coordinate value is not in the preset display range, determining a minimum distance value between the coordinate value and the preset display range, and determining a position corresponding to the minimum distance value as a display position of the page label in the page corresponding to the page layout control.
If the coordinate value is detected not to be in the preset display range, calculating the distance between the coordinate value and each coordinate point on the boundary in the preset display range, selecting a minimum distance value from the calculated distances, namely determining the minimum distance value between the coordinate value and the preset display range, and determining the coordinate value corresponding to the minimum distance value as the display position of the page label in the page corresponding to the page layout control. It can be understood that the coordinate value corresponding to the distance minimum value is the position corresponding to the distance minimum value.
Step S30, after receiving a first modification instruction for modifying the data table corresponding to the page tag, modifying a field to be displayed in the data table according to the first modification instruction, and displaying the modified field to be displayed in the display position.
After determining that the page tag is at the display position of the display page corresponding to the page layout control, detecting whether a modification instruction for modifying the page tag corresponding data table is received. In order to distinguish the modification instruction of the modification data table from the modification instruction of the modification color, in the embodiment of the present invention, the modification instruction of the modification data table is denoted as a first modification instruction, and the modification instruction of the modification color is denoted as a second modification instruction. The first modification can be triggered in the display interface by a user according to the need, and can also be sent by a terminal connected with the corresponding equipment of the display page. Wherein each page tag has an associated data table for storing data fields that the page tag can display.
When the first modification instruction is received, the field to be displayed in the data table is modified according to the first modification instruction, the modified field to be displayed is obtained, and the modified field to be displayed is displayed in the display position. In the data table, three storage positions are set, which are the position for storing the name of the field to be displayed, the display position of the field to be displayed in the page tag and the field to be displayed. Further, the field to be displayed in the data table may also be a data source of the field to be displayed, where the data source is an address of the database where the field to be displayed is located, so that the corresponding field to be displayed may be called from the corresponding database by the data source and displayed in the display page. At this time, the first modification instruction may be a data source for modifying the field to be displayed, so as to achieve the effect of modifying the field to be displayed.
It should be noted that, in one page tag, there may be a plurality of fields to be displayed, and thus, a display position of each field to be displayed in the page tag needs to be determined. The first modification instruction may modify a display position of each field to be displayed in the page tag, for example, modify a display position of the field to be displayed in which the page tag is displayed in the first position to be displayed in the third position; the first modification instruction may also be to modify a field to be displayed corresponding to the page tag, if a certain page tag originally has w fields to be displayed, the w fields to be displayed may be modified into y fields to be displayed according to the first modification instruction; the first modification instruction may also be to delete an existing field to be displayed of the page tag or add a new field to be displayed to the page tag, etc.
Further, in the process of displaying the modified field to be displayed in the display position, after the field to be displayed is detected to be successfully modified, the current display page is automatically refreshed, so that the modified field to be displayed is displayed on the display interface for a user to view.
Further, if the first modification instruction for modifying the page tag corresponding data table is not received, directly obtaining a default display field corresponding to the page tag, and displaying the default display field in a display position, wherein the default display field is a field displayed in a display page by the page tag before modifying the position parameter, and the default display field is a field to be displayed corresponding to the preset page tag. It can be understood that when the first modification instruction for modifying the page tag corresponding data table is not received, it indicates that the user only moves the original page tag in the display interface by the display position, and does not change the display content corresponding to the page tag.
In the embodiment, after a drag instruction of a page label corresponding to a preset page layout control is detected, modifying a position parameter corresponding to the drag instruction in a position attribute of the page layout control, determining a display position of the page label in a display page corresponding to the page layout control according to the position parameter, modifying a field to be displayed in a data table according to a first modification instruction of a data table corresponding to the modified page label, and displaying the modified field to be displayed in the display position. The method and the device realize the change of the display position of the page tag by setting the position attribute in the page layout control corresponding to the page tag, and store the display field corresponding to the page tag in the data table, associate the data table with the page tag, and when the display field corresponding to the page tag needs to be changed, modify the data table corresponding to the page tag without modifying the corresponding code of the page tag, thereby simplifying the operation flow of changing the display position of the page tag and the corresponding display field in the display page and improving the change efficiency of the display position of the page tag and the corresponding display field of the page tag.
Further, a second embodiment of the display method of the display field of the present invention is proposed.
The second embodiment of the display method of the display field is different from the first embodiment of the display method of the display field in that, referring to fig. 2, step S30 includes:
step S31, after receiving a first modification instruction for modifying the data table corresponding to the page tag, modifying a field to be displayed in the data table according to the first modification instruction, and obtaining the display color of the field to be displayed.
After a first modification instruction for modifying the data table corresponding to the page tag is received, modifying a field to be displayed in the data table according to the first modification instruction, and obtaining the display color of the field to be displayed. The display color of the field to be displayed is set by a user according to the needs. After the display color of the field to be displayed is obtained, detecting whether the display color of the field to be displayed is inconsistent with a preset color, wherein the preset color is a color which is preset and is unfavorable for a user to view or a color which is consistent with the color of the page to be displayed corresponding to the page tag.
And step S32, if the display color is detected to be inconsistent with the preset color, displaying the modified field to be displayed in the display position in the display color.
And if the display color of the field to be displayed is detected to be inconsistent with the preset color, displaying the modified field to be displayed in the display position according to the acquired display color.
Further, the display method of the display field further includes:
and d, if the display color is detected to be consistent with the preset color, outputting a prompt message to prompt a corresponding user to trigger a second modification instruction for modifying the display color.
If the display color of the field to be displayed is detected to be consistent with the preset color, outputting a prompt message to prompt a corresponding user to trigger a second modification instruction for modifying the display color. Specifically, the second modification instruction for triggering modification of the display color by the corresponding user can be output in the display page, the prompt information can be sent to other terminal devices held by the user, and the second modification instruction for triggering modification of the display color by the corresponding user can be output through the other terminal devices. The prompt information can be output in a text or voice mode.
And e, after the second modification instruction is detected, modifying the display color according to the second modification instruction to obtain the modified display color, and displaying the modified field to be displayed in the display position in the modified display color.
After a second modification instruction triggered by the user is detected, modifying the display color according to the second modification instruction, obtaining a modified display color, and displaying the modified field to be displayed in the display position in the modified display color.
Further, the display method of the display field further includes:
And f, if the display color is detected to be consistent with the preset color, modifying the display color into a default color, and displaying the modified field to be displayed in the display position in the default color.
Further, if the display color is detected to be consistent with the preset color, a preset default color is acquired, a color modification instruction is automatically triggered, the display color is modified to be the default color according to the color modification instruction, and the modified field to be displayed is displayed at the display position in the default color. The default color is a preset color which is convenient for a user to check. It will be appreciated that in the page layout control, font properties may also be set by which the font and text size of the field to be displayed may be changed.
After receiving a first modification instruction for modifying the data table corresponding to the page tag, the embodiment modifies the field to be displayed in the data table according to the first modification instruction, and when detecting that the display color of the field to be displayed is inconsistent with the preset color, displays the modified field to be displayed in the display position in the display color, avoids that the field to be displayed is displayed in the display page in the color which is unfavorable for the user to read, and is convenient for the user to check the content displayed on the display page.
Further, a third embodiment of the display method of the display field of the present invention is proposed.
The fourth embodiment of the display method for a display field is different from the second embodiment of the display method for a display field in that step S31 further includes:
And g, after receiving a first modification instruction for modifying the page tag corresponding data table, detecting whether a modification authority exists in a user corresponding to the first modification instruction.
After a first modification instruction corresponding to the data table of the modification page tag is received, whether a modification authority exists in a user corresponding to the first modification instruction is detected. Specifically, a login account of a user in a system corresponding to a display page is obtained, and whether the login account carries a permission identifier or not is detected. If the login account carries the permission identification, determining that the first modification instruction corresponds to the user and has modification permission; if the login account does not carry the permission identification, determining that the user corresponding to the first modification instruction does not have the modification permission. In the embodiment of the invention, the expression form of the permission identification is not limited, and the user can set the expression form of the permission identification according to the requirement.
Further, if the fact that the user corresponding to the first modification instruction is the provider of the data table is detected, determining that the user corresponding to the first modification instruction has modification permission; if the first modification instruction is detected not to be the provider of the data table, it can be determined that the modification authority does not exist for the user corresponding to the first modification instruction. The data table and the provider thereof have an association relationship, and whether the user is the provider of the data table can be determined by the identity information of the user corresponding to the first modification instruction. If the telephone number of the user corresponding to the first modification instruction is detected to be the same as the telephone number of the provider when the provider is represented by the telephone number of the user, determining that the user corresponding to the first modification instruction is the provider of the data table.
And h, if the first modification instruction corresponds to the user, modifying the field to be displayed in the data table according to the first modification instruction.
If the first modification instruction is detected to have modification permission corresponding to the user, modifying the field to be displayed in the data table according to the first modification instruction. Further, if it is detected that the first modification instruction corresponds to the user and does not have modification permission, prompt information is generated to prompt the first modification instruction to correspond to the user and does not have modification permission of a field to be displayed in the modification data table through the prompt information. It can be understood that when the first modification instruction corresponds to the user and the modification right does not exist, the page tag is in a frozen state, and modification of the field to be displayed corresponding to the page tag is not allowed.
According to the embodiment, after the first modification instruction for modifying the page tag corresponding data table is received, the field to be displayed in the data table is modified according to the first modification instruction only when the modification right exists for the user corresponding to the first modification instruction, so that the situation that the display of the page tag corresponding to the field to be displayed is disordered due to the fact that each user can modify the field to be displayed in the page tag corresponding data table is avoided, and the correctness of the content of the page tag corresponding to the field to be displayed is guaranteed.
Further, a fourth embodiment of the display method of the display field of the present invention is proposed.
The fourth embodiment of the display method for a display field is different from the first, second or third embodiment of the display method for a display field in that the display method for a display field further includes:
and i, detecting whether a first modification instruction for modifying the page tag corresponding data table is received within a preset duration.
After determining the display position of the page tag in the page layout control corresponding display page according to the position parameter, detecting whether a first modification instruction for modifying the page tag corresponding data table is received within a preset time length, wherein the preset time length can be set according to specific requirements, for example, the preset time length can be set to 0.5s (second), 1s or 2 seconds, and the like.
And j, if the first modification instruction is not received within the preset time, acquiring a default display field corresponding to the page tag, and displaying the default display field in the display position.
If the fact that the first modification instruction is not received within the preset time period is detected, acquiring a default display field corresponding to the page tag, and displaying the default display field in a display position. Further, if the first modification instruction is received within the preset time period, the field to be displayed in the data table is modified according to the first modification instruction.
According to the embodiment, when the first modification instruction for modifying the data table is not received within the preset time, the default display field corresponding to the page tag is obtained, and the default display field is displayed in the display position, so that after the position parameter is modified, the field content corresponding to the page tag is rapidly displayed in the display page.
In addition, referring to fig. 3, the present invention also provides a display device for displaying a field, the display device for displaying a field including:
the modification module 10 is configured to modify, when a drag instruction for a page tag corresponding to a preset page layout control is detected, a position parameter corresponding to the drag instruction in a position attribute of the page layout control;
The determining module 20 is configured to determine, according to the location parameter, a display location of the page tag in the page layout control corresponding to the display page;
The modification module 10 is further configured to modify a field to be displayed in the data table according to a first modification instruction after receiving the first modification instruction for modifying the data table corresponding to the page tag;
and a display module 30, configured to display the modified field to be displayed in the display position.
Further, the determining module 20 includes:
the first detection unit is used for detecting whether the coordinate value corresponding to the position parameter is in a preset display range or not;
The determining unit is used for determining that the position of the coordinate value is the display position of the page label in the page corresponding to the page layout control if the coordinate value is in the preset display range; and if the coordinate value is not in the preset display range, determining a minimum distance value between the coordinate value and the preset display range, and determining a position corresponding to the minimum distance value as a display position of the page label in the page corresponding to the page layout control.
Further, the modification module 10 is further configured to modify a field to be displayed in the data table according to a first modification instruction after receiving the first modification instruction for modifying the data table corresponding to the page tag;
The display device for displaying a field further includes:
The first acquisition module is used for acquiring the display color of the field to be displayed;
The display module 30 is further configured to display the modified field to be displayed in the display position with the display color if the display color is detected to be inconsistent with a preset color.
Further, the display device for displaying the field further includes:
The output module is used for outputting prompt information to prompt a corresponding user to trigger a second modification instruction for modifying the display color if the display color is detected to be consistent with the preset color;
The modification module 10 is further configured to modify the display color according to the second modification instruction after detecting the second modification instruction, so as to obtain the modified display color;
the display module 30 is further configured to display the modified field to be displayed in the display position with the modified display color.
Further, the modifying module 10 is further configured to modify the display color to a default color if the display color is detected to be consistent with the preset color;
The display module 30 is further configured to display the modified field to be displayed in the display position with the default color.
Further, the modification module 10 includes:
The second detection unit is used for detecting whether a modification authority exists in a user corresponding to the first modification instruction after receiving the first modification instruction for modifying the page tag corresponding data table;
And the modification unit is used for modifying the field to be displayed in the data table according to the first modification instruction if the first modification instruction has modification permission corresponding to the user.
Further, the display device for displaying the field further includes:
The detection module is used for detecting whether a first modification instruction for modifying the page tag corresponding data table is received within a preset duration;
the second acquisition module is used for acquiring a default display field corresponding to the page tag if the first modification instruction is not received within the preset time length;
The display module 30 is further configured to display the default display field in the display position.
It should be noted that, the embodiments of the display device for displaying the fields are substantially the same as the embodiments of the display method for displaying the fields, and are not described in detail herein.
In addition, the invention also provides a display device for displaying the fields. As shown in fig. 4, fig. 4 is a schematic structural diagram of a hardware running environment according to an embodiment of the present invention.
It should be noted that fig. 4 is a schematic structural diagram of a hardware running environment of the display device for displaying the fields. The display device for displaying the fields in the embodiment of the invention can be terminal devices such as a PC, a portable computer and the like.
As shown in fig. 4, the display device for displaying the field may include: a processor 1001, such as a CPU, memory 1005, user interface 1003, network interface 1004, communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the display device for displaying the field may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
It will be appreciated by those skilled in the art that the display device structure of the display field shown in fig. 4 does not constitute a limitation of the display device of the display field, and may include more or less components than illustrated, or may combine certain components, or may be arranged in different components.
As shown in fig. 4, an operating system, a network communication module, a user interface module, and a display program for displaying fields may be included in the memory 1005 as one type of computer storage medium. The operating system is a program for managing and controlling display equipment hardware and software resources of the display field, and supports the display program of the display field and other software or running of the program.
In the display device of the display field shown in fig. 4, the user interface 1003 may be used to receive a drag instruction, a first modification instruction, a second modification instruction, and the like; the network interface 1004 is mainly used for connecting a background server and carrying out data communication with the background server; the processor 1001 may be configured to call up a display program of a display field stored in the memory 1005 and execute the steps of the display method of the display field as described above.
The specific implementation manner of the display device for displaying the fields of the present invention is substantially the same as the embodiments of the display method for displaying the fields described above, and will not be described herein.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a display program of a display field, and the display program of the display field realizes the steps of the display method of the display field when being executed by a processor.
The specific implementation manner of the computer readable storage medium of the present invention is basically the same as the above embodiments of the display method of the display field, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A display method of a display field, characterized in that the display method of the display field comprises the following steps:
when a dragging instruction of a page label corresponding to a preset page layout control is detected, modifying a position parameter corresponding to the dragging instruction in a position attribute of the page layout control;
determining the display position of the page tag in the page corresponding to the page layout control according to the position parameter;
After a first modification instruction for modifying the data table corresponding to the page tag is received, modifying a field to be displayed in the data table according to the first modification instruction, and displaying the modified field to be displayed in the display position;
After receiving a first modification instruction for modifying the data table corresponding to the page tag, modifying a field to be displayed in the data table according to the first modification instruction, and displaying the modified field to be displayed in the display position includes:
After a first modification instruction for modifying the data table corresponding to the page tag is received, modifying a field to be displayed in the data table according to the first modification instruction, and acquiring the display color of the field to be displayed;
If the display color is detected to be inconsistent with the preset color, displaying the modified field to be displayed in the display position in the display color;
If the display color is detected to be consistent with the preset color, outputting prompt information to prompt a corresponding user to trigger a second modification instruction for modifying the display color;
after the second modification instruction is detected, modifying the display color according to the second modification instruction to obtain the modified display color, and displaying the modified field to be displayed in the display position in the modified display color;
The step of modifying the field to be displayed in the data table according to the first modification instruction includes:
Determining the field display position of each field to be displayed in the data table in the page tag;
And modifying the display position of each field, modifying each field to be displayed, deleting any field to be displayed in each field to be displayed, or adding a new field to be displayed according to the first modification instruction.
2. The method for displaying a display field according to claim 1, wherein the step of determining a display position of the page tag in the page layout control corresponding display page according to the position parameter includes:
detecting whether the coordinate value corresponding to the position parameter is within a preset display range;
If the coordinate value is in the preset display range, determining that the position of the coordinate value is the display position of the page label in the page corresponding to the page layout control;
And if the coordinate value is not in the preset display range, determining a minimum distance value between the coordinate value and the preset display range, and determining a position corresponding to the minimum distance value as a display position of the page label in the page corresponding to the page layout control.
3. The method for displaying a display field according to claim 1, wherein after receiving a first modification instruction for modifying the data table corresponding to the page tag, the method further comprises, after the step of modifying a field to be displayed in the data table according to the first modification instruction and obtaining a display color of the field to be displayed:
and if the display color is detected to be consistent with the preset color, modifying the display color into a default color, and displaying the modified field to be displayed in the display position in the default color.
4. The method for displaying a display field according to claim 1, wherein the step of modifying the field to be displayed in the data table according to the first modification instruction after receiving the first modification instruction for modifying the page tag corresponding data table comprises:
After a first modification instruction for modifying the page tag corresponding data table is received, detecting whether a modification authority exists in a user corresponding to the first modification instruction;
and if the first modification instruction corresponds to the user and has modification permission, modifying the field to be displayed in the data table according to the first modification instruction.
5. The method for displaying a display field according to any one of claims 1 to 4, wherein after the step of determining a display position of the page tag in the page layout control corresponding display page according to the position parameter, the method further comprises:
detecting whether a first modification instruction for modifying the page tag corresponding data table is received within a preset duration;
and if the first modification instruction is not received within the preset time, acquiring a default display field corresponding to the page tag, and displaying the default display field in the display position.
6. A display device for displaying a field, the display device for displaying a field comprising:
The modification module is used for modifying the position parameter corresponding to the dragging instruction in the position attribute of the page layout control after detecting the dragging instruction of the page label corresponding to the preset page layout control;
the determining module is used for determining the display position of the page tag in the page corresponding to the page layout control according to the position parameter;
The modification module is further configured to modify a field to be displayed in the data table according to a first modification instruction after receiving the first modification instruction for modifying the data table corresponding to the page tag;
The display module is used for displaying the modified field to be displayed in the display position;
the modification module is further configured to:
After a first modification instruction for modifying the data table corresponding to the page tag is received, modifying a field to be displayed in the data table according to the first modification instruction, and acquiring the display color of the field to be displayed;
If the display color is detected to be inconsistent with the preset color, displaying the modified field to be displayed in the display position in the display color;
If the display color is detected to be consistent with the preset color, outputting prompt information to prompt a corresponding user to trigger a second modification instruction for modifying the display color;
after the second modification instruction is detected, modifying the display color according to the second modification instruction to obtain the modified display color, and displaying the modified field to be displayed in the display position in the modified display color;
the modification module is further configured to:
Determining the field display position of each field to be displayed in the data table in the page tag;
And modifying the display position of each field, modifying each field to be displayed, deleting any field to be displayed in each field to be displayed, or adding a new field to be displayed according to the first modification instruction.
7. A display device for displaying fields, characterized in that the display device for displaying fields comprises a memory, a processor and a display program for displaying fields stored on the memory and executable on the processor, which display program for displaying fields, when being executed by the processor, implements the steps of the display method for displaying fields according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which a display program of display fields is stored, which when executed by a processor implements the steps of the display method of display fields according to any one of claims 1 to 5.
CN201811514007.XA 2018-12-10 2018-12-10 Display method, device and equipment for display field and readable storage medium Active CN109783748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811514007.XA CN109783748B (en) 2018-12-10 2018-12-10 Display method, device and equipment for display field and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811514007.XA CN109783748B (en) 2018-12-10 2018-12-10 Display method, device and equipment for display field and readable storage medium

Publications (2)

Publication Number Publication Date
CN109783748A CN109783748A (en) 2019-05-21
CN109783748B true CN109783748B (en) 2024-05-03

Family

ID=66496703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811514007.XA Active CN109783748B (en) 2018-12-10 2018-12-10 Display method, device and equipment for display field and readable storage medium

Country Status (1)

Country Link
CN (1) CN109783748B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609683B (en) * 2019-08-13 2022-01-28 平安国际智慧城市科技股份有限公司 Conversation robot configuration method and device, computer equipment and storage medium
CN111338520B (en) * 2020-02-11 2021-06-25 上海掌门科技有限公司 Label display method, device and computer readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971036A (en) * 2013-01-28 2014-08-06 鸿富锦精密工业(深圳)有限公司 Page field access control system and method
CN105373301A (en) * 2014-08-14 2016-03-02 中兴通讯股份有限公司 Control display method, control display apparatus, and terminal
CN105653644A (en) * 2015-12-28 2016-06-08 北京中电普华信息技术有限公司 Page constructor and page construction method
CN107391484A (en) * 2017-07-17 2017-11-24 深圳天珑无线科技有限公司 Page display method, mobile terminal and computer-readable recording medium
CN107886439A (en) * 2017-12-21 2018-04-06 中国平安财产保险股份有限公司 Insurance products development approach, device, equipment and computer-readable recording medium
CN108334534A (en) * 2017-10-27 2018-07-27 平安普惠企业管理有限公司 Operation system field configuration method, apparatus, server and readable storage medium storing program for executing
CN108762760A (en) * 2018-05-25 2018-11-06 中国平安人寿保险股份有限公司 Software interface customizing method, device, computer equipment and storage medium
CN108762758A (en) * 2018-05-23 2018-11-06 北京五八信息技术有限公司 A kind of display methods of page field, device, storage medium and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700800B (en) * 2014-11-27 2019-01-25 阿里巴巴集团控股有限公司 A kind of operating method of page info, device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971036A (en) * 2013-01-28 2014-08-06 鸿富锦精密工业(深圳)有限公司 Page field access control system and method
CN105373301A (en) * 2014-08-14 2016-03-02 中兴通讯股份有限公司 Control display method, control display apparatus, and terminal
CN105653644A (en) * 2015-12-28 2016-06-08 北京中电普华信息技术有限公司 Page constructor and page construction method
CN107391484A (en) * 2017-07-17 2017-11-24 深圳天珑无线科技有限公司 Page display method, mobile terminal and computer-readable recording medium
CN108334534A (en) * 2017-10-27 2018-07-27 平安普惠企业管理有限公司 Operation system field configuration method, apparatus, server and readable storage medium storing program for executing
CN107886439A (en) * 2017-12-21 2018-04-06 中国平安财产保险股份有限公司 Insurance products development approach, device, equipment and computer-readable recording medium
CN108762758A (en) * 2018-05-23 2018-11-06 北京五八信息技术有限公司 A kind of display methods of page field, device, storage medium and terminal
CN108762760A (en) * 2018-05-25 2018-11-06 中国平安人寿保险股份有限公司 Software interface customizing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109783748A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
US10187872B2 (en) Electronic device and method of providing notification by electronic device
US9930167B2 (en) Messaging application with in-application search functionality
CN109725975B (en) Method and device for prompting read state of message and electronic equipment
EP2924591A1 (en) Method and device for controlling page rollback
CN106716351B (en) Method and electronic equipment for displaying webpage
US9336326B2 (en) Browser based objects for copying and sending operations
US20150178253A1 (en) Method and apparatus for outputting digital content
EP2909751A2 (en) Person-based information aggregation
CN109688183B (en) Group control equipment identification method, device, equipment and computer readable storage medium
US20150113525A1 (en) Method for a Reader to Provide Service, Reader and Computer-Readable Storage Medium
US10970024B2 (en) Data processing method and electronic terminal
US20190213241A1 (en) Web page display method and apparatus, mobile terminal, and storage medium
US20140349627A1 (en) Displaying a group message
WO2015184736A1 (en) Method and terminal for transforming background picture of touchscreen device
CN109783748B (en) Display method, device and equipment for display field and readable storage medium
CN105808307B (en) Page display method and device
US10491730B2 (en) Method and apparatus for providing contact information
US20150234576A1 (en) Method and apparatus for displaying information and electronic device adapted to the method
US11210449B2 (en) Page display method and device and storage medium
CN112818259A (en) Content recommendation method, electronic device and computer-readable storage medium
CN114265653A (en) Interface display method, device, equipment, storage medium and program product
CN111381819A (en) List creation method and device, electronic equipment and computer-readable storage medium
CN107707602B (en) Data communication processing terminal, method and computer readable storage medium
US20150195401A1 (en) Method for managing email message of call application, user device using the same, and non-volatile medium recording thereon program for executing the method
KR20160104961A (en) Method for processing page and electronic device thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant