CN102819423B - The method of Dynamic controlling document showing interface and device - Google Patents
The method of Dynamic controlling document showing interface and device Download PDFInfo
- Publication number
- CN102819423B CN102819423B CN201110411348.6A CN201110411348A CN102819423B CN 102819423 B CN102819423 B CN 102819423B CN 201110411348 A CN201110411348 A CN 201110411348A CN 102819423 B CN102819423 B CN 102819423B
- Authority
- CN
- China
- Prior art keywords
- document
- document interface
- type
- interface
- interface type
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to a kind of method of Dynamic controlling document showing interface, the method specifically comprises step: build common controls list, universal field list and document interface type table; The document that reception client sends is checked and is asked and obtain document interface type, generates document interface logic according to document interface type; Document interface logic data are sent to client play up.The method of Dynamic controlling document showing interface provided by the invention and device, the document interface that request coupling is corresponding is checked according to different document interfaces, achieve according to the type of service Dynamic Display document interface on the different nodes of workflow, thus the secondary development avoided for different service types, improve efficiency while cost-saving.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of method of Dynamic controlling document showing interface and device.
Background technology
At present, there is a large amount of document in Enterprise Office System workflow, the display/hiding/editor/locking often related to document content waits operation.The operating right of the content that document relates to and each field is all different, and in the node that workflow is different, the part field of document needs to be hidden, to be set to the state that can edit or lock.Such as, in tune firewood approval process, the tune firewood that approver needs edit-modify concrete is detailed, and this tune firewood detail can not be demonstrated to applicant, and applicant can only see the total value result adjusting firewood.When business datum content changes, need to carry out secondary development with the individual demand such as interface configurations, flow startup condition caused after supporting business change, higher to the requirement of maintainer, and need device out of service to restart after deployment, the maintenance for Enterprise Office System brings great inconvenience.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method of Dynamic controlling document showing interface, can show coupling document showing interface content according to different service logics.
The technical solution adopted for the present invention to solve the technical problems is:
A method for Dynamic controlling document showing interface, the method comprising the steps of:
Build common controls list and document interface type table, wherein, described common controls list comprises control logic, and described document interface type table comprises the incidence relation of control type and coordinate, field type, field and control;
The document that reception client sends is checked and is asked and obtain described document interface type, generates document interface logic according to described document interface type;
Document interface logic data are sent to client play up.
Preferably, described common controls list each control logical record corresponding, is provided with control logical identifier; Described document interface type list each document interface type record corresponding, is provided with document interface type mark.
Preferably, the document that described reception client sends is checked and is asked and obtain described document interface type, and the step generating document interface logic according to described document interface type specifically comprises:
Acquisition request node control information is checked according to described document;
According to described node control acquisition of information to should node document interface type mark;
Document interface logic is generated after obtaining corresponding control and field according to described document interface type mark.
Preferably, field logical record in control logical record in described common controls list and described universal field list is data, JSON (JavaScriptObjectNotation, a kind of data interchange format) data or extensible markup language XML file in database.
A device for Dynamic controlling document showing interface, this device specifically comprises:
List Generating Module, for building common controls list, universal field list and document interface type table, wherein, described common controls list comprises control logic, and described document interface type table comprises the incidence relation of control type and coordinate, field type, control and field;
Type generation module, the document sent for receiving client is checked and is asked and obtain described document interface type, generates document interface logic according to described document interface type;
Sending module, plays up for document interface logic data are sent to client.
Preferably, described common controls list each control logical record corresponding, is provided with control logical identifier; Described document interface type list each document interface type record corresponding, is provided with document interface type mark.
Preferably, described type generation module specifically comprises:
First acquisition module, for checking acquisition request node control information according to described document;
Second acquisition module, for according to described node control acquisition of information to should node document interface type mark;
Interface generation module, generates document interface logic after obtaining corresponding control and field according to described document interface type mark.
Preferably, the control logical record in described common controls list and the field logical record in described universal field list are data, JSON data or the XML file in database.
The method of Dynamic controlling document showing interface provided by the invention and device, the document interface that request coupling is corresponding is checked according to different document interfaces, achieve according to the type of service Dynamic Display document interface on the different nodes of workflow, thus the secondary development avoided for different service types, improve efficiency while cost-saving.
Accompanying drawing explanation
Fig. 1 is the process flow diagram in method one embodiment of Dynamic controlling document showing interface provided by the invention;
Fig. 2 is the process flow diagram in another embodiment of method of Dynamic controlling document showing interface provided by the invention;
Fig. 3 is the structural representation in device one embodiment of Dynamic controlling document showing interface provided by the invention;
Fig. 4 is the structural representation of the type generation module in another embodiment of device of Dynamic controlling document showing interface provided by the invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The embodiment of the present invention provides a kind of method of Dynamic controlling document showing interface, and as shown in Figure 1, the method comprising the steps of:
S110: build common controls list and universal field list and document interface type table, wherein, common controls list comprises control logic, and document interface type table comprises the incidence relation of control type and coordinate, field type, control and field; In enterprise's office administration, the document interface type that different enterprises relates to is comparatively fixing, and there is document operation similar in a large number, such as preserve, submit to, revise, check, delete and need control the visible of document interface fields according to user right or can edit.For different document interface types, control wherein and field can be general, different unlike type of service, and back-end data table is different.In document interface type table, each document interface type corresponding comprises attribute: the incidence relation of control type and coordinate, field, control and field and the size etc. at document interface.Given this, in the present embodiment, first build common controls list and document interface type table, wherein common controls list comprises general control logical record; Document interface type table comprises the institute's documentary interface type related in business administration, and is defined each document interface type, includes the incidence relation of control type and coordinate, field, control and the field related in document interface.Record in this common controls list can be presented as the data in database.In other examples, the record in this common controls list also can be presented as JSON data or expandable mark language XML file.
S120: the document that reception client sends is checked and asked and obtain document interface type, generates document interface logic according to described document interface type; Request checked by the document receiving client transmission, which node that this document is positioned at workflow can be obtained from this request, obtain document according to the type of service of this node and check the document interface type that request is corresponding, according to document interface type generation document interface logic.
S130: document interface logic data are sent to client and play up; Client plays up the document interface logic data received.
By the method that above-described embodiment provides, the document interface that request coupling is corresponding is checked according to different document interfaces, achieve according to the type of service Dynamic Display document interface on the different nodes of workflow, thus the secondary development avoided for different service types, improve efficiency while cost-saving.
On the basis of previous embodiment, in common controls list, each control logical record corresponding, is provided with control logical identifier; At document interface type list each document interface type record corresponding, be provided with document interface type mark.When request is checked at the document interface receiving client, obtain corresponding control or document interface type by identification information, decrease quantity of information mutual between client and server and number of times, improve work efficiency.
On the basis of previous embodiment, in the present embodiment, as shown in Figure 2, step S120 specifically comprises:
S121: check acquisition request node control information according to document interface; Check that acquisition request is to node control information according to the document that client sends.
S122: according to this node control acquisition of information to should node document interface type mark; Corresponding different node, is provided with different document interface types, according to the node control acquisition of information got to should the document interface type mark of node.
S123: generate document interface logic after obtaining corresponding control and associate field according to document interface type mark; After getting document interface type mark, get the size etc. corresponding to the common controls type of this document interface type and the incidence relation of coordinate, control and field and document interface by document interface type table, generate document interface logic according to common controls type and the incidence relation of coordinate, receipt field and control and field thereof and the size at document interface.
The embodiment of the present invention also provides a kind of device of Dynamic controlling document showing interface, and as shown in Figure 3, this device comprises:
List Generating Module 210, for building common controls list, universal field list and document interface type table, wherein, common controls list comprises control logic, and document interface type table comprises the incidence relation of control type and coordinate, field type, control and field;
Type generation module 220, the document sent for receiving client is checked and is asked and obtain document interface type, generates document interface logic according to document interface type;
Sending module 230, plays up for document interface logic data are sent to client.
In enterprise's office administration, the document interface type that different enterprises relates to is comparatively fixing, and there is document operation similar in a large number, such as preserve, submit to, revise, check, delete and need control the visible of document interface fields according to user right or can edit.For different document interface types, control wherein and field can be general, different unlike type of service, and back-end data table is different.In document interface type table, each document interface type corresponding comprises attribute: the incidence relation of common controls type and coordinate, field, control and field and the size etc. at document interface.Given this, in the present embodiment, List Generating Module 210 first builds common controls list and document interface type table, and wherein common controls list comprises general control logical record; Document interface type table comprises the institute's documentary interface type related in business administration, and each document interface type is defined, include the incidence relation of control type and coordinate, field, control and the field related in document interface, also include the size at document interface.Record in this common controls list can be presented as the data in database.In other examples, the record in this common controls list also can be presented as JSON data or expandable mark language XML file.
Request checked by the document that type generation module 220 receives client transmission, which node that this document is positioned at workflow can be obtained from this request, type generation module 220 obtains document according to the type of service of this node and checks the document interface type that request is corresponding, according to document interface type generation document interface logic.
Document interface logic data are sent to client and play up by sending module 230, and client plays up the document interface logic data received.
The device of the Dynamic controlling document showing interface that the embodiment of the present invention provides, the document interface that request coupling is corresponding is checked according to different document interfaces, achieve according to the type of service Dynamic Display document interface on the different nodes of workflow, thus the secondary development avoided for different service types, improve efficiency while cost-saving.
On the basis of previous embodiment, in common controls list, each control logical record corresponding, is provided with control logical identifier; At document interface type list each document interface type record corresponding, be provided with document interface type mark.When request is checked at the document interface receiving client, obtain corresponding control or document interface type by identification information, decrease quantity of information mutual between client and server and number of times, improve work efficiency.
On the basis of previous embodiment, as shown in Figure 4, type generation module 220 specifically comprises:
First acquisition module 221, for checking acquisition request node control information according to described document;
Second acquisition module 222, for according to described node control acquisition of information to should node document interface type mark;
Interface generation module 223, generates document interface logic after obtaining corresponding control and associate field according to document interface type mark.
According to the document that client sends, first acquisition module 221 checks that acquisition request is to node control information.Corresponding different node, is provided with different document interface types, the second acquisition module 222 according to the node control acquisition of information got to should the document interface type mark of node.After getting document interface type mark, interface generation module 223 gets the size etc. corresponding to the common controls type of this document interface type and the incidence relation of coordinate, control and field and document interface by document interface type table, and interface generation module 223 generates document interface logic according to common controls type and the incidence relation of coordinate, field, control and field thereof and the size at document interface.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. a method for Dynamic controlling document showing interface, is characterized in that, comprising:
Build common controls list, universal field list and document interface type table, wherein, described common controls list comprises control logic, and described document interface type table comprises the incidence relation of control type and coordinate, field, control and field;
The document that reception client sends is checked and is asked and obtain described document interface type, generates document interface logic according to described document interface type;
Document interface logic data are sent to client play up;
The document that described reception client sends is checked and is asked and obtain described document interface type, and the step generating document interface logic according to described document interface type comprises:
Request checked by the document receiving client transmission, obtains the node that this document is arranged in workflow from this request, obtains the document interface type that request correspondence checked by document, generate document interface logic according to document interface type according to the type of service of this node.
2. the method for Dynamic controlling document showing interface according to claim 1, is characterized in that, described common controls list each control logical record corresponding, is provided with control logical identifier; Described document interface type list each document interface type record corresponding, is provided with document interface type mark.
3. the method for Dynamic controlling document showing interface according to claim 2, it is characterized in that, the document that described reception client sends is checked and is asked and obtain described document interface type, and the step generating document interface logic according to described document interface type specifically comprises:
Acquisition request node control information is checked according to described document;
According to described node control acquisition of information to should node document interface type mark;
Document interface logic is generated after obtaining corresponding control and associate field according to described document interface type mark.
4. the method for Dynamic controlling document showing interface according to claim 1, it is characterized in that, the field logical record in the control logical record in described common controls list and described universal field list is data, JSON data or extensible markup language XML file in database.
5. a device for Dynamic controlling document showing interface, is characterized in that, comprising:
List Generating Module, for building common controls list, document interface type table, wherein, described common controls list comprises control logic, and described document interface type table comprises the incidence relation of control type and coordinate, field and control and field;
Type generation module, the document sent for receiving client is checked and is asked and obtain described document interface type, generates document interface logic according to described document interface type;
Document interface logic data are sent to client and play up by sending module;
Described type generation module specifically for:
Request checked by the document receiving client transmission, obtains the node that this document is arranged in workflow from this request, obtains the document interface type that request correspondence checked by document, generate document interface logic according to document interface type according to the type of service of this node.
6. the device of Dynamic controlling document showing interface according to claim 5, is characterized in that, described common controls list each control logical record corresponding, is provided with control logical identifier; Described document interface type list each document interface type record corresponding, is provided with document interface type mark.
7. the device of Dynamic controlling document showing interface according to claim 6, is characterized in that, described type generation module specifically comprises:
First acquisition module, for checking acquisition request node control information according to described document;
Second acquisition module, for according to described node control acquisition of information to should node document interface type mark;
Interface generation module, generates document interface logic after obtaining corresponding control and field according to described document interface type mark.
8. the device of Dynamic controlling document showing interface according to claim 5, it is characterized in that, field logical record in control logical record in described common controls list and described universal field list is the data in database, JSON data or be XML file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110411348.6A CN102819423B (en) | 2011-12-12 | 2011-12-12 | The method of Dynamic controlling document showing interface and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110411348.6A CN102819423B (en) | 2011-12-12 | 2011-12-12 | The method of Dynamic controlling document showing interface and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102819423A CN102819423A (en) | 2012-12-12 |
CN102819423B true CN102819423B (en) | 2016-01-20 |
Family
ID=47303551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110411348.6A Active CN102819423B (en) | 2011-12-12 | 2011-12-12 | The method of Dynamic controlling document showing interface and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102819423B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105808540A (en) * | 2014-12-29 | 2016-07-27 | 金蝶软件(中国)有限公司 | Configuration data storage method and system |
CN104699488A (en) * | 2015-03-31 | 2015-06-10 | 北京奇虎科技有限公司 | Method, equipment and system for acquiring APP (application) interface control data dynamically |
CN106293804A (en) * | 2016-07-25 | 2017-01-04 | 深圳天珑无线科技有限公司 | A kind for the treatment of method and apparatus of public control |
CN107918548A (en) * | 2017-07-25 | 2018-04-17 | 平安科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium that business function is realized |
CN109711809B (en) * | 2018-12-28 | 2021-07-30 | 广东益萃网络科技有限公司 | Merchant attribute setting method and device, computer equipment and storage medium |
CN110032667A (en) * | 2019-04-17 | 2019-07-19 | 成都市审计局 | A kind of data assets management method for platform of auditing |
CN110543343B (en) * | 2019-06-13 | 2022-09-27 | 银联商务股份有限公司 | Financial interaction page generation method and device based on native android application |
CN111242567B (en) * | 2019-12-31 | 2024-03-01 | 深圳市创梦天地科技有限公司 | Authority control method of workflow node |
CN112464625B (en) * | 2020-11-30 | 2024-03-29 | 金蝶云科技有限公司 | Document generation method, device, computer equipment and storage medium |
CN114416235A (en) * | 2021-12-28 | 2022-04-29 | 云镝智慧科技有限公司 | Document display method and device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697123A (en) * | 2009-10-20 | 2010-04-21 | 金蝶软件(中国)有限公司 | Method and device for modifying interface layout in ERP system and ERP system |
CN101937463A (en) * | 2010-09-10 | 2011-01-05 | 西安交通大学 | Method for automatically generating form for workflow model |
CN102130916A (en) * | 2011-03-18 | 2011-07-20 | 深圳市深信服电子科技有限公司 | Authority control method and device for page content level |
-
2011
- 2011-12-12 CN CN201110411348.6A patent/CN102819423B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697123A (en) * | 2009-10-20 | 2010-04-21 | 金蝶软件(中国)有限公司 | Method and device for modifying interface layout in ERP system and ERP system |
CN101937463A (en) * | 2010-09-10 | 2011-01-05 | 西安交通大学 | Method for automatically generating form for workflow model |
CN102130916A (en) * | 2011-03-18 | 2011-07-20 | 深圳市深信服电子科技有限公司 | Authority control method and device for page content level |
Non-Patent Citations (2)
Title |
---|
《在VFP中使用表单设计应用软件界面》;陈言红;《职大学报》;20001231;第2000年卷(第4期);第40-42页 * |
《在Visual FoxPro7.0利用类来实现表单控件布局动态调整》;吴荣海 等;《大理学院学报》;20060228;第5卷(第2期);第17-19页 * |
Also Published As
Publication number | Publication date |
---|---|
CN102819423A (en) | 2012-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102819423B (en) | The method of Dynamic controlling document showing interface and device | |
CN106296378B (en) | XBRL-based intelligent financial cloud platform system, construction method and service implementation method | |
US8127237B2 (en) | Active business client | |
US10437584B2 (en) | Web client command infrastructure integration into a rich client application | |
US6763346B1 (en) | Document service integrated system | |
US20090006997A1 (en) | Workflow ui generating method and generator | |
US20030093403A1 (en) | System and method for implementing an event adapter | |
CN1925406B (en) | Method and server for managing heterogenous high availability cluster | |
CN102799690A (en) | Method for verifying page input by using database technology | |
CN106227742A (en) | Dynamic web page based on B/S pattern generates method, server and system | |
CN101819529A (en) | System and method for realizing visual development of workflow task interface | |
CN104360989A (en) | Method and system for converting business receipt into financial certificate | |
CN112668295A (en) | Management system and method based on user-defined form and Activiti workflow | |
CN106201501A (en) | A kind of configurableization construction method to mobile terminal form interface and system | |
CN103268226A (en) | Test script file generation method and device | |
CN102239502A (en) | Automatic discovery of alternate mailboxes | |
CN103020093A (en) | Method and system for recording and displaying extensible business reporting language (XBRL) information disclosure report | |
US20070097448A1 (en) | Print system and access control method thereof, access control program, information processing device, and storage medium | |
CN108989385A (en) | A kind of implementation method based on Zabbix monitoring collection automatic synchronization CMDB | |
CN108234607B (en) | File distribution method and system based on micro-service architecture mode | |
CN109389786A (en) | A kind of printing invoice method and device | |
JPH07146898A (en) | Equipment resource management system and graphical data base access system | |
CN101001212B (en) | Multisystem message interaction managing and control system and method | |
CN103139806B (en) | Method and base station of the webmaster with base station configuration data decoupling | |
CN103379155A (en) | Method and system for distributing contents and content management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |