CN-121981096-A - Contract drafting method, device, equipment and medium
Abstract
The application provides a contract drafting method, device, equipment and medium, relates to the technical field of contract management, and aims to solve the problem of how to write a complete and standard contract efficiently. The contract drafting method comprises the steps of responding to a received contract drafting request, displaying a contract editing interface, wherein the contract editing interface comprises a contract display area and a field editing area, synchronously modifying display content of a target field editing control and field content of a keyword position corresponding to the target field editing control based on the editing operation in response to receiving the editing operation for the target field editing control, or synchronously modifying field content of the target keyword position and display content of the field editing control corresponding to the target keyword position based on the editing operation in response to receiving the editing operation for the target keyword position.
Inventors
- ZHAO HAIXIN
- YU BIN
- JIANG XIAODONG
- GU YANSONG
- SUN ZHONGYI
- PU RUIYING
- WANG XIAOLEI
- JIA HONGBO
Assignees
- 中国联合网络通信集团有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260119
Claims (10)
- 1. A method of contract drafting comprising: The method comprises the steps of responding to a received contract drafting request, displaying a contract editing interface, wherein the contract editing interface comprises a contract display area and a field editing area, the contract display area is used for displaying a contract template corresponding to the contract drafting request, the contract template comprises a plurality of preset keyword positions, and the field editing area comprises a field editing control corresponding to each preset keyword position in the preset keyword positions; In response to receiving an editing operation for a target field editing control, synchronously modifying presentation content of the target field editing control and field content of a keyword position corresponding to the target field editing control based on the editing operation, or, And in response to receiving the editing operation aiming at the target keyword position, synchronously modifying the field content of the target keyword position and the display content of the field editing control corresponding to the target keyword position based on the editing operation.
- 2. The method of claim 1, wherein the preset keyword location is displayed in a different manner in the contract display area than other fields in the contract template.
- 3. The method of claim 1, wherein the synchronously modifying the presentation content of the target field editing control and the field content of the keyword location corresponding to the target field editing control based on the editing operation comprises: and under the condition that the input content corresponding to the editing operation meets a preset rule, synchronously modifying the display content of the target field editing control and the field content of the keyword position corresponding to the target field editing control based on the editing operation.
- 4. A method according to claim 3, characterized in that the method further comprises: and marking the keyword position corresponding to the target field editing control in the contract display area and outputting error prompt information under the condition that the input content does not meet the preset rule, wherein the error prompt information is used for prompting the preset rule violated by the input content.
- 5. The method of claim 1, wherein each of the preset keyword locations is associated with a preset field, the exposing a contract editing interface comprising: Acquiring a contract template corresponding to the contract drafting request; Determining a preset field sequence corresponding to the contract template based on all preset keyword positions in the contract template; Displaying a field editing control corresponding to each preset field in a field editing area of the contract editing interface sequentially based on the field sequence in the preset field sequence, wherein the field editing control comprises a field name of the preset field and an input box determined based on the field type of the preset field; and displaying the contract template in a contract display area of the contract editing interface.
- 6. The method of claim 1, wherein each of the preset keyword locations is associated with a preset field, the method further comprising: In response to receiving a contract storage instruction, determining field contents filled in the preset keyword positions and the preset fields as target key value pairs; And storing the target key value pair and the contract template in an associated mode.
- 7. The method of claim 6, wherein prior to said determining the field contents filled in the preset key locations and the preset fields as target key value pairs, the method further comprises: And under the condition that the field content of the preset keyword position in the contract template is empty, filling the empty preset keyword position into a null value placeholder.
- 8. The contract drafting device is characterized by comprising an interface display unit and a content editing unit; The interface display unit is used for responding to the received contract drafting request and displaying a contract editing interface, wherein the contract editing interface comprises a contract display area and a field editing area, the contract display area is used for displaying a contract template corresponding to the contract drafting request, the contract template comprises a plurality of preset keyword positions, and the field editing area comprises a field editing control corresponding to each preset keyword position in the preset keyword positions; The content editing unit is used for synchronously modifying the display content of the target field editing control and the field content of the keyword position corresponding to the target field editing control based on the editing operation in response to receiving the editing operation for the target field editing control, or, The content editing unit is further used for synchronously modifying field content of the target keyword position and display content of a field editing control corresponding to the target keyword position based on the editing operation in response to receiving the editing operation aiming at the target keyword position.
- 9. An electronic device is characterized by comprising a processor and a memory; the memory is configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform the methods of any of claims 1-7.
- 10. A computer readable storage medium, characterized in that, when computer-executable instructions stored in the computer readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method of any one of claims 1 to 7.
Description
Contract drafting method, device, equipment and medium Technical Field The application relates to the technical field of contract management, in particular to a contract drafting method, a device, equipment and a medium. Background The related art generally makes standard text based on text fields of local text editing software by a user, and further forms a contract text by editing the text fields. Therefore, the text editing software needs to be downloaded and interacted with the local client frequently, and the problems of difficult text editing and low efficiency exist. In this regard, the online editor solves the problem of downloading text editing software, but most of the online editor is also focused on online editing functions, focuses on realizing use experience similar to that of local text editing software, and although the editing process of a contract is facilitated to a certain extent, the corresponding position to be edited still needs to be searched in a text paragraph of a contract template, so that the efficiency of writing the contract is low, sometimes even filling omission or filling errors of key texts can occur, the problem that the writing of the contract is missed, and the context is not in line with the problem that the rule of writing the contract is violated. Disclosure of Invention The embodiment of the disclosure provides a contract drafting method, device, equipment and medium, which aim to solve the problem of how to write a complete standard contract efficiently. In order to achieve the above purpose, the application adopts the following technical scheme: In a first aspect, a contract drafting method is provided, which comprises the steps of responding to a received contract drafting request, displaying a contract editing interface, wherein the contract editing interface comprises a contract displaying area and a field editing area, the contract displaying area is used for displaying a contract template corresponding to the contract drafting request, the contract template comprises a plurality of preset keyword positions, the field editing area comprises a field editing control corresponding to each preset keyword position in the plurality of preset keyword positions, responding to the receiving of an editing operation for a target field editing control, synchronously modifying display content of the target field editing control and field content of a keyword position corresponding to the target field editing control based on the editing operation, or responding to the receiving of the editing operation for the target keyword position, synchronously modifying field content of the target keyword position and display content of the field editing control corresponding to the target keyword position based on the editing operation. Therefore, the method can flexibly select whether to edit in the field editing area or edit in the contract display area by dividing the contract editing interface into the contract display area and the field editing area and associating the contract display area and the field editing area. When editing is performed in the field editing control of the field editing area, as each preset keyword position corresponds to one field editing control, the data required to be edited for completing the contract template can be efficiently filled without missing only the complete data is filled in the control. Meanwhile, when the data in the contract display area is edited, the data in the field editing area is synchronously updated, and when the data in the operation field editing area is edited, the data in the contract display area is synchronously updated, so that the real-time accurate unification of the data is further ensured. In summary, by the method provided by the application, the complete standard contract can be written efficiently without traversing the contract template to fill in keywords. In some embodiments, in the contract display area, the display manner of the preset keyword position is different from the display manner of other fields in the contract template. In some embodiments, synchronously modifying the presentation content of the target field editing control and the field content of the keyword position corresponding to the target field editing control based on the editing operation includes synchronously modifying the presentation content of the target field editing control and the field content of the keyword position corresponding to the target field editing control based on the editing operation when the input content corresponding to the editing operation satisfies the preset rule. In some embodiments, the method for drafting the contract further comprises marking a keyword position corresponding to the target field editing control in the contract display area and outputting error prompt information for prompting the preset rule violated by the input content under the condition that the input content does not meet the preset rule