|
@@ -357,52 +357,6 @@ paths:
|
|
|
summary: 单个合同详情和项目节详情
|
|
|
tags:
|
|
|
- 合同管理
|
|
|
- /api/contract/folder:
|
|
|
- get:
|
|
|
- consumes:
|
|
|
- - application/json
|
|
|
- description: 获得合同目录和标段
|
|
|
- produces:
|
|
|
- - application/json
|
|
|
- responses:
|
|
|
- "200":
|
|
|
- description: '{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}'
|
|
|
- schema:
|
|
|
- $ref: '#/definitions/viewmodels.FolderContract'
|
|
|
- security:
|
|
|
- - ApiKeyAuth: []
|
|
|
- summary: 获得合同目录和标段
|
|
|
- tags:
|
|
|
- - 合同管理
|
|
|
- /api/contract/income:
|
|
|
- get:
|
|
|
- consumes:
|
|
|
- - application/json
|
|
|
- description: 获得合同详情和项目节详情
|
|
|
- parameters:
|
|
|
- - description: 项目节ID
|
|
|
- in: path
|
|
|
- name: id
|
|
|
- required: true
|
|
|
- type: string
|
|
|
- - description: 标段ID
|
|
|
- in: path
|
|
|
- name: bidsectionId
|
|
|
- required: true
|
|
|
- type: string
|
|
|
- produces:
|
|
|
- - application/json
|
|
|
- responses:
|
|
|
- "200":
|
|
|
- description: '{code:0成功,-1参数类错误,isContract:是否有合同(包含孩子们),section:viewmodels.TreeSectionContract,msg:错误信息}'
|
|
|
- schema:
|
|
|
- $ref: '#/definitions/viewmodels.TreeSectionContract'
|
|
|
- security:
|
|
|
- - ApiKeyAuth: []
|
|
|
- summary: 单个合同详情和项目节详情
|
|
|
- tags:
|
|
|
- - 合同管理
|
|
|
-<<<<<<< .mine
|
|
|
/api/contract/income/create:
|
|
|
post:
|
|
|
consumes:
|
|
@@ -476,81 +430,6 @@ paths:
|
|
|
summary: 编辑合同
|
|
|
tags:
|
|
|
- 合同管理
|
|
|
-=======
|
|
|
- /api/contract/income/create:
|
|
|
- post:
|
|
|
- consumes:
|
|
|
- - application/json
|
|
|
- description: 新增合同
|
|
|
- parameters:
|
|
|
- - description: 项目节ID
|
|
|
- in: path
|
|
|
- name: treeId
|
|
|
- required: true
|
|
|
- type: string
|
|
|
- - description: 标段ID
|
|
|
- in: path
|
|
|
- name: bidsectionId
|
|
|
- required: true
|
|
|
- type: string
|
|
|
- - description: 合同编号
|
|
|
- in: path
|
|
|
- name: code
|
|
|
- required: true
|
|
|
- type: string
|
|
|
- - description: 合同名称
|
|
|
- in: path
|
|
|
- name: name
|
|
|
- required: true
|
|
|
- type: string
|
|
|
- - description: 合同类型(1)
|
|
|
- in: path
|
|
|
- name: contractsType
|
|
|
- required: true
|
|
|
- type: integer
|
|
|
- - description: 合同金额
|
|
|
- in: path
|
|
|
- name: price
|
|
|
- required: true
|
|
|
- type: string
|
|
|
- produces:
|
|
|
- - application/json
|
|
|
- responses:
|
|
|
- "200":
|
|
|
- description: '{code:0成功,-1参数类错误,msg:错误信息}'
|
|
|
- schema:
|
|
|
- $ref: '#/definitions/viewmodels.TreeSectionContract'
|
|
|
- security:
|
|
|
- - ApiKeyAuth: []
|
|
|
- summary: 新增合同
|
|
|
- tags:
|
|
|
- - 合同管理
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
->>>>>>> .theirs
|
|
|
/api/contract/income/section/all:
|
|
|
get:
|
|
|
consumes:
|