CN116028135A - Project view management method, server, equipment and storage medium - Google Patents
Project view management method, server, equipment and storage medium Download PDFInfo
- Publication number
- CN116028135A CN116028135A CN202310020463.3A CN202310020463A CN116028135A CN 116028135 A CN116028135 A CN 116028135A CN 202310020463 A CN202310020463 A CN 202310020463A CN 116028135 A CN116028135 A CN 116028135A
- Authority
- CN
- China
- Prior art keywords
- view
- project
- work item
- global
- item
- 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.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 claims description 18
- 238000013524 data verification Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 5
- 230000009466 transformation Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a project view management method, which comprises the following steps: receiving a project opening instruction and a work item selection instruction sent by a client through a project management interface, opening a corresponding project interface according to the project opening instruction, and entering a view configuration interface of a corresponding work item in the project interface according to the work item selection instruction; judging whether the work item configures a local view according to the identification of the client and the relevance of the item and other items; if yes, acquiring a local view corresponding to the work item from the project database, and applying the local view to the work item; if not, acquiring the global view corresponding to the work item from the project database, and applying the global view to the work item. The invention can more flexibly manage the work items of the project, improves the project management efficiency and optimizes the work experience of project management personnel.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a project view management method, a server, a device, and a storage medium.
Background
In an application project, a worker operates on individual work items through a project view interface. At present, the configuration management mode of the attributes and views of the work items is mainly divided into the following two modes:
1. the local views of the following items, namely one item uses one set of views, do not interfere with each other. However, the management mode can cause conflict in an application scene of team multi-project global management because different projects adopt different views.
2. Template-type view management, wherein items are associated with templates, and multiple items can use the same set of templates at the same time. However, in this management method, the project is limited by the template, and the work item configuration cannot be customized according to the project requirement.
Disclosure of Invention
In view of the above, it is necessary to provide a project view management method for flexibly managing project work items.
To achieve the above object, the present invention provides a project view management method, the method comprising:
receiving a project opening instruction and a work item selection instruction sent by a client through a project management interface, opening a corresponding project interface according to the project opening instruction, and entering a view configuration interface of a corresponding work item in the project interface according to the work item selection instruction;
judging whether the work item configures a local view according to the identification of the client and the relevance of the item and other items;
if yes, acquiring a local view corresponding to the work item from a project database, and applying the local view to the work item, wherein the local view is automatically generated and stored in the project database when being created by the work item;
if not, acquiring a global view corresponding to the work item from a project database, and applying the global view to the work item, wherein the global view is automatically generated by converting the local view through a general view configuration template and is stored in the project database when the global view is created by the work item.
Optionally, the determining whether the work item configures a local view according to the identifier of the client and the association between the item and other items includes:
acquiring a client identifier according to the project opening instruction or the work item selection instruction, and identifying corresponding management rights according to the client identifier;
acquiring an item identifier according to the item opening instruction, and acquiring the association relation between the item and other items from an item database according to the item identifier;
and judging whether the work item configures a local view according to the management authority and the association relation.
Optionally, the determining whether the work item configures a local view according to the management authority and the association relationship includes:
judging whether the current work item is associated with other items according to the association relation;
if the management authority is a single project management authority and the current work item is not related to other projects, configuring a local view for the work item;
if the management authority is a multi-project management authority and the current work item is related to other projects, configuring a global view for the work item;
and if the management authority is a multi-project management authority or other projects related to the current work item, providing a view selection interface for receiving a view selection instruction, and configuring a corresponding view for the work item according to the received view selection instruction.
Optionally, the step of generating the global view by converting the local view through a generic view configuration template and storing the global view in the project database comprises:
generating a global view template based on a general view configuration template, and establishing a global database table for the global view template in the project database;
acquiring local data corresponding to the local view in the project database, and migrating the local data to the global database table;
realizing grammar blocks, layout and interfaces for the global view template according to the data in the global database table to obtain a global view;
and analyzing the layout architecture of the global view to generate a corresponding layout table, and storing the global view and the corresponding layout table into the project database.
Optionally, the obtaining a global view for the global view template according to the data in the global database table by implementing grammar blocks, layout and interfaces includes:
obtaining a layout attribute corresponding to a global view template, and dividing the global view template into a plurality of grammar blocks according to the layout attribute;
acquiring field data corresponding to each grammar block from the global database table, and filling the field data into the corresponding grammar block;
performing data verification on field data in the global view template;
and acquiring event data from the global database table, and realizing a corresponding event interface according to the event data as a checked global view template.
Optionally, the performing data verification on the field data in the global view template includes:
acquiring data types corresponding to filling fields in each grammar block in the global view template, and performing data type verification on field data filled in each grammar block according to the data types;
and correcting the field data which are not checked according to the data type.
Optionally, the project view management method further includes:
setting a project life cycle management scheme, and sorting and managing local views and global views corresponding to all work items of the project according to the project life cycle management scheme.
In addition, in order to achieve the above object, the present invention also provides an item view management apparatus including:
the view configuration module is used for receiving a project opening instruction and a work item selection instruction sent by a client through a project management interface, opening a corresponding project interface according to the project opening instruction, and entering a view configuration interface of a corresponding work item in the project interface according to the work item selection instruction;
the view selection module is used for judging whether the work item configures a local view according to the identification of the client and the relevance of the item and other items;
and the view acquisition module is used for acquiring a local view or a global view corresponding to the work item from the project database and applying the local view or the global view to the work item.
In addition, to achieve the above object, the present invention also provides an electronic device including:
a memory storing at least one computer program; and
And a processor executing the program stored in the memory to implement the project view management method described above.
Furthermore, to achieve the above object, the present invention also provides a computer-readable storage medium having stored therein at least one computer program that is executed by a processor in an electronic device to implement the above-described project view management method.
According to the invention, the corresponding local view and the global view are configured for each work item of the application program item, and the corresponding views are adopted according to the management authority and the item association relationship, so that the work items of the item can be managed more flexibly, the item management efficiency is improved, and the work experience of the item manager is optimized.
Drawings
FIG. 1 is a diagram of an exemplary system architecture in which the present invention may be applied;
FIG. 2 is a flowchart of a view switching method according to an embodiment of the project view management method of the present invention;
FIG. 3 is a flowchart of an embodiment of a project view management method according to the present invention;
FIG. 4 is a schematic diagram of an embodiment of an electronic device according to the present invention;
fig. 5 is a schematic diagram of an embodiment of an item view management device according to the present invention.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. 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. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the data query method provided in the embodiments of the present application is generally executed by a server/terminal device, and accordingly, the data query device is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring to FIG. 2, a flowchart of an embodiment of a project view management method of the present invention is shown, and the project view management method is applied to a project view management apparatus, and includes steps S1-S4.
S1, receiving an item opening instruction and a work item selection instruction sent by a client through an item management interface, opening a corresponding item interface according to the item opening instruction, and entering a view configuration interface of a corresponding work item in the item interface according to the work item selection instruction.
Specifically, the item opening instruction includes an item identifier, and the work item selection instruction includes a work item identifier.
In one embodiment, after receiving an item opening instruction sent by a client, acquiring a corresponding item in an item database according to an item identifier; opening a project interface of the project at a project management interface and entering a work item selection interface; and entering a view configuration interface of the work item corresponding to the work item identifier according to the work item selection instruction received by the work item selection interface.
S2, judging whether the work item configures a local view or not according to the identification of the client and the relevance of the item and other items; if yes, executing step S3; if not, go to step S4.
In an embodiment, the determining whether the work item configures a local view according to the identification of the client and the association of the item with other items includes:
acquiring a client identifier according to the project opening instruction or the work item selection instruction, and identifying corresponding management rights according to the client identifier;
acquiring an item identifier according to the item opening instruction, and acquiring the association relation between the item and other items from an item database according to the item identifier;
and judging whether the work item configures a local view according to the management authority and the association relation.
Specifically, the determining whether the work item configures the local view according to the management authority and the association relationship includes:
judging whether the current work item is associated with other items according to the association relation;
if the management authority is a single project management authority and the current work item is not related to other projects, configuring a local view for the work item;
if the management authority is a multi-project management authority and the current work item is related to other projects, configuring a global view for the work item;
and if the management authority is a multi-project management authority or other projects related to the current work item, providing a view selection interface for receiving a view selection instruction, and configuring a corresponding view for the work item according to the received view selection instruction.
S3, acquiring a local view corresponding to the work item from a project database, and applying the local view to the work item, wherein the local view is automatically generated and stored in the project database when being created by the work item.
In one embodiment, automatically generating the local view when creating the work item includes:
receiving a work item creation instruction through an item interface, inserting a new work item into a designated position of the item according to the work item creation instruction, and displaying a rule configuration interface corresponding to the new work item;
acquiring configuration information of the newly-built work item through the rule configuration interface, wherein the configuration information comprises rule information, flow information and view template selection information;
and setting rules and workflow of newly-built work items according to the configuration information, and selecting corresponding local view templates from a preset view template database according to the view template selection information to generate local views corresponding to the work items.
S4, acquiring a global view corresponding to the work item from a project database, and applying the global view to the work item, wherein the global view is automatically generated by converting the local view through a general view configuration template and is stored in the project database when the global view is created by the work item.
In one embodiment, the step of converting the local view into the global view through a universal view configuration template and storing the global view in the project database comprises:
generating a global view template based on a general view configuration template, and establishing a global database table for the global view template in the project database;
acquiring local data corresponding to the local view in the project database, and migrating the local data to the global database table;
realizing grammar blocks, layout and interfaces for the global view template according to the data in the global database table to obtain a global view;
and analyzing the layout architecture of the global view to generate a corresponding layout table, and storing the global view and the corresponding layout table into the project database.
Specifically, the obtaining a global view for the global view template according to the data in the global database table by implementing grammar blocks, layout and interfaces includes:
obtaining a layout attribute corresponding to a global view template, and dividing the global view template into a plurality of grammar blocks according to the layout attribute;
acquiring field data corresponding to each grammar block from the global database table, and filling the field data into the corresponding grammar block;
performing data verification on field data in the global view template;
and acquiring event data from the global database table, and realizing a corresponding event interface according to the event data as a full 5-office view template passing verification.
In an embodiment, the performing data verification on the field data in the global view template includes:
acquiring data types corresponding to filling fields in each grammar block in the global view template, and performing data type verification on field data filled in each grammar block according to the data types;
and correcting the field data which are not checked according to the data type.
0 in addition, the project view management method sorts and manages the local view and the global view corresponding to each work item of the project based on a preset project life cycle management scheme.
As can be seen from the above embodiments, the project view management method according to the present invention is implemented by configuring a local view and a global view for each work item of an application program project, and associating with the project according to management rights
The corresponding view is adopted for the relation, so that the work items of the project can be managed more flexibly, the project management efficiency 5 rate is improved, and the work experience of project management staff is optimized.
Fig. 3 is a flowchart of a view switching method according to an embodiment of the project view management method of the present invention.
In this embodiment of the invention, the project view management method further comprises the following steps S5-S8:
s5, receiving a view switching instruction sent by the client through the project management interface;
0S6, judging whether the current view of the work item is a local view or not; if yes, executing step S7; if not, the method comprises the steps of,
executing step S8;
s7, acquiring a global view corresponding to the work item from a project database according to the view switching instruction, and applying the global view to the work item;
s8, acquiring a local view 5 diagram corresponding to the work item from the project database according to the view switching instruction, and applying the local view to the work item.
Fig. 4 is a schematic diagram of an embodiment of an electronic device according to the present invention. The electronic apparatus 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with a preset or stored instruction. The electronic device 1 may be a computer, a single network server, a server group composed of a plurality of network servers, or a cloud based on cloud computing and composed of a plurality of hosts or network servers, wherein the cloud meter
The algorithm is a kind of distributed calculation, and is a super virtual computer 5 consisting of a group of loosely coupled computer sets.
In the present embodiment, the electronic device 1 includes, but is not limited to, a memory 11, a processor 12, and a network interface 13, which are communicably connected to each other via a system bus, and the memory 11 stores therein an item view management program 10, the item view management program 10 being executable by the processor 12. Fig. 3 only shows
The electronic device 1 with the components 11-13 and the project view management program 10, it will be appreciated by those skilled in the art that the configuration shown in FIG. 3 does not constitute a limitation of the electronic device 1 and may include more than illustrated
Fewer or more components, or certain components may be combined, or different arrangements of components.
Wherein the storage 11 comprises a memory and at least one type of readable storage medium. The memory provides a buffer for the operation of the electronic device 1; the readable storage medium may be volatile or nonvolatile.
Specifically, the readable storage medium may be a storage medium such as a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD5 or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1;
in other embodiments, the storage medium may also be an external storage device of the electronic device 1, such as a plug-in hard disk, smart memory card (SmartMediaCard, SMC), a security number, provided on the electronic device 1
Word (SecureDigital, SD) card, flash card (FlashCard), etc. In the present embodiment, the readable storage medium of the memory 11 mainly includes a storage program area and a storage data area, wherein the storage program area is generally used for storing an operating system and various application software installed in the electronic device 1, for example, storing an implementation of the present invention
Code of the project view management program 10 in the example, and the like; the storage data area may store data created according to use 5 of the blockchain node, etc., such as various types of data that have been output or are to be output.
The processor 12 may be a central processing unit in some embodiments,
CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 12 is typically used to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication with other devices, etc. In this embodiment, the processor 12 is configured to execute the program code or process data stored in the memory 11, such as the project view management program 10.
The network interface 13 may comprise a wireless network interface or a wired network interface, the network interface 13 being used for establishing a communication connection between the electronic device 1 and a client (not shown) as described in the 5.
Optionally, the electronic device 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display
A liquid crystal display, a touch-control type liquid crystal display, an organic light-emitting diode 0 (organic light-EmittingDiode, OLED) touch device, and the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual user interface.
In one embodiment of the invention, the project view management program 10, when executed by the processor 12, implements the following steps S1-S4.
5S1, receiving a project opening instruction and a work item selection instruction sent by a client through a project management interface,
and opening a corresponding project interface according to the project opening instruction, and entering a view configuration interface of a corresponding work item in the project interface according to the work item selection instruction.
S2, judging whether the work item configures a local view or not according to the identification of the client and the relevance of the item and other items; if yes, executing step S3; if not, go to step S4.
And 0S3, acquiring a local view corresponding to the work item from a project database, and applying the local view to the work item, wherein the local view is automatically generated and stored in the project database when being created by the work item.
S4, acquiring a global view corresponding to the work item from a project database, and applying the global view to the work item, wherein when the global view is created by the work item, the local view is generated through conversion by a universal view configuration 5 template and is stored in the project database.
The specific operation steps implemented in the steps S1 to S4 are substantially the same as those in an embodiment of the project view management method of the present invention, and will not be described herein.
In other embodiments, the project view management program 10 may be further divided into one or more modules, and one or more modules are stored in the memory 11 and executed by one or more processors (the processor 12 in this embodiment) to implement the present invention, where the modules refer to a series of instruction segments of a computer program capable of performing a specific function for describing the execution of the project view management program 10 in the electronic device 1.
Fig. 5 is a schematic diagram of an embodiment of the project view management apparatus according to the present invention.
In a first embodiment of the present invention, the project view management apparatus 10 includes a view configuration module 110, a view selection module 120, and a view acquisition module 130, illustratively:
the view configuration module 110 is configured to receive, through a project management interface, a project opening instruction and a work item selection instruction sent by a client, open a corresponding project interface according to the project opening instruction, and enter a view configuration interface of a corresponding work item in the project interface according to the work item selection instruction.
Specifically, the item opening instruction includes an item identifier, and the work item selection instruction includes a work item identifier.
In one embodiment, after receiving an item opening instruction sent by a client, the view configuration module firstly obtains a corresponding item in an item database according to an item identifier, then opens the item at an item management interface and enters a work item selection interface, and finally enters the view configuration interface of a work item corresponding to the work item identifier according to the work item selection instruction received by the work item selection interface.
The view selection module 120 is configured to determine whether the work item configures a local view according to the identifier of the client and the association between the item and other items;
in an embodiment, the view selection module obtains a client identifier according to the item opening instruction or the work item selection instruction, and identifies a corresponding management authority according to the client identifier; acquiring an item identifier according to the item opening instruction, and acquiring the association relation between the item and other items from an item database according to the item identifier; and judging whether the work item configures a local view according to the management authority and the association relation.
Specifically, the determining whether the work item configures the local view according to the management authority and the association relationship includes: judging whether the current work item is associated with other items according to the association relation; if the management authority is a single project management authority and the current work item is not related to other projects, configuring a local view for the work item; if the management authority is a multi-project management authority and the current work item is related to other projects, configuring a global view for the work item; and if the management authority is a multi-project management authority or other projects related to the current work item, providing a view selection interface for receiving a view selection instruction, and configuring a corresponding view for the work item according to the received view selection instruction.
The view obtaining module 130 is configured to obtain a local view or a global view corresponding to the work item from an item database, and apply the local view or the global view to the work item.
Specifically, if the view selection module determines that the work item configures a local view, the view acquisition module acquires the local view corresponding to the work item from the project database, and applies the local view to the work item, where the local view is automatically generated and stored in the project database when the local view is created by the work item. If the view selection module judges that the work item is not configured with the local view, the view acquisition module acquires a global view corresponding to the work item from the project database and applies the global view to the work item, and when the global view is created by the work item, the local view is automatically generated through conversion of a general view configuration template and is stored in the project database.
In one embodiment, automatically generating the local view when creating the work item includes: receiving a work item creation instruction through an item interface, inserting a new work item into a designated position of the item according to the work item creation instruction, and displaying a rule configuration interface corresponding to the new work item; acquiring configuration information of the newly-built work item through the rule configuration interface, wherein the configuration information comprises rule information, flow information and view template selection information; and setting rules and workflow of newly-built work items according to the configuration information, and selecting corresponding local view templates from a preset view template database according to the view template selection information to generate local views corresponding to the work items.
In one embodiment, the step of converting the local view into the global view through a universal view configuration template and storing the global view in the project database comprises: generating a global view template based on a general view configuration template, and establishing a global database table for the global view template in the project database; acquiring local data corresponding to the local view in the project database, and migrating the local data to the global database table; realizing grammar blocks, layout and interfaces for the global view template according to the data in the global database table to obtain a global view; and analyzing the layout architecture of the global view to generate a corresponding layout table, and storing the global view and the corresponding layout table into the project database.
Specifically, the obtaining a global view for the global view template according to the data in the global database table by implementing grammar blocks, layout and interfaces includes: obtaining a layout attribute corresponding to a global view template, and dividing the global view template into a plurality of grammar blocks according to the layout attribute; acquiring field data corresponding to each grammar block from the global database table, and filling the field data into the corresponding grammar block; performing data verification on field data in the global view template; and acquiring event data from the global database table, and realizing a corresponding event interface according to the event data as a checked global view template.
In an embodiment, the performing data verification on the field data in the global view template includes: acquiring data types corresponding to filling fields in each grammar block in the global view template, and performing data type verification on field data filled in each grammar block according to the data types; and correcting the field data which are not checked according to the data type.
In addition, the project view management method sorts and manages local views and global views corresponding to each work item of the project based on a preset project life cycle management scheme.
In an embodiment, the project view management method further includes: receiving a view switching instruction sent by a client through a project management interface; judging whether the current view of the work item is a local view or not; if yes, acquiring a global view corresponding to the work item from a project database according to the view switching instruction, and applying the global view to the work item; if not, acquiring a local view corresponding to the work item from the project database according to the view switching instruction, and applying the local view to the work item.
In addition, the embodiment of the invention also provides a computer readable storage medium, which can be volatile or nonvolatile. Specifically, the computer readable storage medium may be any one or any combination of several of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, and the like. The item view management program 10 is stored in a computer readable storage medium.
The project view management program 10, when executed by a processor, performs the following operations:
a1, receiving an item opening instruction and a work item selection instruction sent by a client through an item management interface, opening a corresponding item interface according to the item opening instruction, and entering a view configuration interface of a corresponding work item in the item interface according to the work item selection instruction.
A2, judging whether the work item configures a local view according to the identification of the client and the relevance of the item and other items; if yes, executing the step A3; if not, the step A4 is executed.
A3, acquiring a local view corresponding to the work item from a project database, and applying the local view to the work item, wherein the local view is automatically generated and stored in the project database when being created by the work item.
A4, acquiring a global view corresponding to the work item from a project database, and applying the global view to the work item, wherein the global view is automatically generated by converting the local view through a general view configuration template and is stored in the project database when the global view is created by the work item.
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.
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, item view management device, article, or method 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, item view management device, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude that an additional identical element is present in a process, item view management device, article, or method comprising the element.
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 (10)
1. A method of project view management, the method comprising:
receiving a project opening instruction and a work item selection instruction sent by a client through a project management interface, opening a corresponding project interface according to the project opening instruction, and entering a view configuration interface of a corresponding work item in the project interface according to the work item selection instruction;
judging whether the work item configures a local view according to the identification of the client and the relevance of the item and other items;
if yes, acquiring a local view corresponding to the work item from a project database, and applying the local view to the work item, wherein the local view is automatically generated and stored in the project database when being created by the work item;
if not, acquiring a global view corresponding to the work item from a project database, and applying the global view to the work item, wherein the global view is automatically generated by converting the local view through a general view configuration template and is stored in the project database when the global view is created by the work item.
2. The project view management method according to claim 1, wherein said determining whether the work item configures a local view according to the identification of the client and the association of the project with other projects comprises:
acquiring a client identifier according to the project opening instruction or the work item selection instruction, and identifying corresponding management rights according to the client identifier;
acquiring an item identifier according to the item opening instruction, and acquiring the association relation between the item and other items from an item database according to the item identifier;
and judging whether the work item configures a local view according to the management authority and the association relation.
3. The project view management method according to claim 2, wherein said determining whether the work item configures a local view according to the management authority and the association relation comprises:
judging whether the current work item is associated with other items according to the association relation;
if the management authority is a single project management authority and the current work item is not related to other projects, configuring a local view for the work item;
if the management authority is a multi-project management authority and the current work item is related to other projects, configuring a global view for the work item;
and if the management authority is a multi-project management authority or other projects related to the current work item, providing a view selection interface for receiving a view selection instruction, and configuring a corresponding view for the work item according to the received view selection instruction.
4. The project view management method of claim 1, wherein the step of generating the global view from the local view transformation by a generic view configuration template and storing it in the project database comprises:
generating a global view template based on a general view configuration template, and establishing a global database table for the global view template in the project database;
acquiring local data corresponding to the local view in the project database, and migrating the local data to the global database table;
realizing grammar blocks, layout and interfaces for the global view template according to the data in the global database table to obtain a global view;
and analyzing the layout architecture of the global view to generate a corresponding layout table, and storing the global view and the corresponding layout table into the project database.
5. The project view management method of claim 4, wherein said implementing the grammar blocks, layout and interface for the global view template based on the data in the global database table to obtain the global view comprises:
obtaining a layout attribute corresponding to a global view template, and dividing the global view template into a plurality of grammar blocks according to the layout attribute;
acquiring field data corresponding to each grammar block from the global database table, and filling the field data into the corresponding grammar block;
performing data verification on field data in the global view template;
and acquiring event data from the global database table, and realizing a corresponding event interface according to the event data as a checked global view template.
6. The project view management method of claim 5, wherein said data checking of field data in the global view template comprises:
acquiring data types corresponding to filling fields in each grammar block in the global view template, and performing data type verification on field data filled in each grammar block according to the data types;
and correcting the field data which are not checked according to the data type.
7. The item view management method of claim 1, wherein the item view management method further comprises:
setting a project life cycle management scheme, and sorting and managing local views and global views corresponding to all work items of the project according to the project life cycle management scheme.
8. An item view management apparatus, characterized in that the item view management apparatus comprises:
the view configuration module is used for receiving a project opening instruction and a work item selection instruction sent by a client through a project management interface, opening a corresponding project interface according to the project opening instruction, and entering a view configuration interface of a corresponding work item in the project interface according to the work item selection instruction;
the view selection module is used for judging whether the work item configures a local view according to the identification of the client and the relevance of the item and other items;
and the view acquisition module is used for acquiring a local view or a global view corresponding to the work item from the project database and applying the local view or the global view to the work item.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the project view management method of any one of claims 1 to 7.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the project view management method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310020463.3A CN116028135A (en) | 2023-01-06 | 2023-01-06 | Project view management method, server, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310020463.3A CN116028135A (en) | 2023-01-06 | 2023-01-06 | Project view management method, server, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116028135A true CN116028135A (en) | 2023-04-28 |
Family
ID=86081208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310020463.3A Pending CN116028135A (en) | 2023-01-06 | 2023-01-06 | Project view management method, server, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116028135A (en) |
-
2023
- 2023-01-06 CN CN202310020463.3A patent/CN116028135A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109947789B (en) | Method, device, computer equipment and storage medium for processing data of multiple databases | |
CN109816321A (en) | A kind of service management, device, equipment and computer readable storage medium | |
CN109522751B (en) | Access right control method and device, electronic equipment and computer readable medium | |
CN112631751A (en) | Task scheduling method and device, computer equipment and storage medium | |
CN113626223A (en) | Interface calling method and device | |
CN112464625A (en) | Receipt generation method and device, computer equipment and storage medium | |
CN111339098A (en) | Authority management method, data query method and device | |
CN112860662A (en) | Data blood relationship establishing method and device, computer equipment and storage medium | |
CN115712422A (en) | Form page generation method and device, computer equipment and storage medium | |
CN113254106B (en) | Task execution method and device based on Flink, computer equipment and storage medium | |
CN112685115A (en) | International cue language generating method, system, computer equipment and storage medium | |
CN116956326A (en) | Authority data processing method and device, computer equipment and storage medium | |
CN116661936A (en) | Page data processing method and device, computer equipment and storage medium | |
CN111475468A (en) | Log access method, device, equipment and storage medium of newly added system | |
CN109189728B (en) | Intelligent hardware device, magnetic disk data processing method and storage medium | |
CN116450723A (en) | Data extraction method, device, computer equipment and storage medium | |
CN116383787A (en) | Page creation method, page creation device, computer equipment and storage medium | |
CN115543428A (en) | Simulated data generation method and device based on strategy template | |
CN115756692A (en) | Method for automatically combining and displaying pages based on style attributes and related equipment thereof | |
CN116028135A (en) | Project view management method, server, equipment and storage medium | |
CN114637672A (en) | Automatic data testing method and device, computer equipment and storage medium | |
CN112685078A (en) | Interface document generation and query method, device and computer readable storage medium | |
CN114997450B (en) | Course guide matching method and device, electronic equipment and storage medium | |
CN113590085B (en) | Processing method of multi-source heterogeneous data, computer equipment and storage medium | |
CN115080045A (en) | Link generation method and device, computer equipment and storage medium |
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 |