From d3c6646d3d2c7297a2f857bca63d23423c892b7c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 05 八月 2023 15:19:12 +0800
Subject: [PATCH] 回访单关联服务单

---
 docs/docs.go | 1623 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 1,616 insertions(+), 7 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 2630dba..181b30a 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -135,6 +135,36 @@
                 }
             }
         },
+        "/api/assign/assign": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Assign"
+                ],
+                "summary": "瀹℃牳",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.Assign"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/authority/add": {
             "post": {
                 "security": [
@@ -471,7 +501,7 @@
                 }
             }
         },
-        "/api/client/delete/{id}": {
+        "/api/client/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -482,11 +512,13 @@
                 "summary": "鍒犻櫎瀹㈡埛",
                 "parameters": [
                     {
-                        "type": "integer",
-                        "description": "瀹㈡埛ID",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteClient"
+                        }
                     }
                 ],
                 "responses": {
@@ -2042,6 +2074,250 @@
                 }
             }
         },
+        "/api/faq/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "甯歌闂绠$悊"
+                ],
+                "summary": "娣诲姞甯歌闂",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddFaq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/faq/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "甯歌闂绠$悊"
+                ],
+                "summary": "鍒犻櫎甯歌闂",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/faq/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "甯歌闂绠$悊"
+                ],
+                "summary": "鑾峰彇甯歌闂鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.Faq"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/faq/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "甯歌闂绠$悊"
+                ],
+                "summary": "鏇存柊甯歌闂",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateFaq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/faultType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏁呴殰绫诲埆绠$悊"
+                ],
+                "summary": "娣诲姞鏁呴殰绫诲埆",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddFaultType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/faultType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏁呴殰绫诲埆绠$悊"
+                ],
+                "summary": "鍒犻櫎鏁呴殰绫诲埆",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/faultType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏁呴殰绫诲埆绠$悊"
+                ],
+                "summary": "鑾峰彇鏁呴殰绫诲埆鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.FaultType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/faultType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏁呴殰绫诲埆绠$悊"
+                ],
+                "summary": "鏇存柊鏁呴殰绫诲埆",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateFaultType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/followRecord/add": {
             "post": {
                 "produces": [
@@ -2108,7 +2384,7 @@
                 "tags": [
                     "FollowRecord"
                 ],
-                "summary": "璺熻繘璁板綍鍒楄〃",
+                "summary": "鍥炶璁板綍鍒楄〃",
                 "parameters": [
                     {
                         "description": "鍙傛暟",
@@ -3220,6 +3496,128 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdatePossibilities"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/priorityLevel/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浼樺厛绾у埆绠$悊"
+                ],
+                "summary": "娣诲姞浼樺厛绾у埆",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddPriorityLevel"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/priorityLevel/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浼樺厛绾у埆绠$悊"
+                ],
+                "summary": "鍒犻櫎浼樺厛绾у埆",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/priorityLevel/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浼樺厛绾у埆绠$悊"
+                ],
+                "summary": "鑾峰彇浼樺厛绾у埆鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.PriorityLevel"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/priorityLevel/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浼樺厛绾у埆绠$悊"
+                ],
+                "summary": "鏇存柊浼樺厛绾у埆",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdatePriorityLevel"
                         }
                     }
                 ],
@@ -6254,6 +6652,372 @@
                 }
             }
         },
+        "/api/serviceOrder/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠鐞�"
+                ],
+                "summary": "娣诲姞鏈嶅姟鍗�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddServiceOrder"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceOrder/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠鐞�"
+                ],
+                "summary": "鍒犻櫎鏈嶅姟鍗�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceOrder/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠鐞�"
+                ],
+                "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.ServiceOrder"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceOrder/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鍗曠鐞�"
+                ],
+                "summary": "鏇存柊鏈嶅姟鍗�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateServiceOrder"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鏂瑰紡绠$悊"
+                ],
+                "summary": "娣诲姞鏈嶅姟鏂瑰紡",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddServiceType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鏂瑰紡绠$悊"
+                ],
+                "summary": "鍒犻櫎鏈嶅姟鏂瑰紡",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鏂瑰紡绠$悊"
+                ],
+                "summary": "鑾峰彇鏈嶅姟鏂瑰紡鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.ServiceType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏈嶅姟鏂瑰紡绠$悊"
+                ],
+                "summary": "鏇存柊鏈嶅姟鏂瑰紡",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateServiceType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/severity/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓ラ噸绋嬪害绠$悊"
+                ],
+                "summary": "娣诲姞涓ラ噸绋嬪害",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddSeverity"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/severity/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓ラ噸绋嬪害绠$悊"
+                ],
+                "summary": "鍒犻櫎涓ラ噸绋嬪害",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/severity/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓ラ噸绋嬪害绠$悊"
+                ],
+                "summary": "鑾峰彇涓ラ噸绋嬪害鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.Severity"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/severity/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓ラ噸绋嬪害绠$悊"
+                ],
+                "summary": "鏇存柊涓ラ噸绋嬪害",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateSeverity"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/solveRate/add": {
             "post": {
                 "produces": [
@@ -6597,6 +7361,128 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateSubOrder"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timeSpent/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鑺辫垂鏃堕棿绠$悊"
+                ],
+                "summary": "娣诲姞鑺辫垂鏃堕棿",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddTimeSpent"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timeSpent/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鑺辫垂鏃堕棿绠$悊"
+                ],
+                "summary": "鍒犻櫎鑺辫垂鏃堕棿",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timeSpent/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鑺辫垂鏃堕棿绠$悊"
+                ],
+                "summary": "鑾峰彇鑺辫垂鏃堕棿鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.TimeSpent"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timeSpent/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鑺辫垂鏃堕棿绠$悊"
+                ],
+                "summary": "鏇存柊鑺辫垂鏃堕棿",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateTimeSpent"
                         }
                     }
                 ],
@@ -7068,6 +7954,111 @@
                 "SalesStatusFail",
                 "SalesStatusLevelUptoClient",
                 "SalesStatusLevelUptoClientAndSalesChance"
+            ]
+        },
+        "constvar.ServiceContractKeywordType": {
+            "type": "string",
+            "enum": [
+                "鏈嶅姟鍚堝悓缂栧彿",
+                "瀹㈡埛鍚嶇О",
+                "绛剧害鏃ユ湡",
+                "鍚堝悓绫诲瀷",
+                "鍚堝悓鐘舵��",
+                "璐熻矗浜�",
+                "浜у搧鍚嶇О",
+                "鏈嶅姟寮�濮嬫棩",
+                "鏈嶅姟鍒版湡鏃�",
+                "浠风◣鍚堣"
+            ],
+            "x-enum-varnames": [
+                "ServiceContractKeywordContractNo",
+                "ServiceContractKeywordCustomerName",
+                "ServiceContractKeywordContractDate",
+                "ServiceContractKeywordContractType",
+                "ServiceContractKeywordContractStatus",
+                "ServiceContractKeywordPrincipal",
+                "ServiceContractKeywordProductName",
+                "ServiceContractKeywordServiceBeginDate",
+                "ServiceContractKeywordServiceEndDate",
+                "ServiceContractKeywordServiceTotalPrice"
+            ]
+        },
+        "constvar.ServiceContractQueryClass": {
+            "type": "string",
+            "enum": [
+                "30澶╁悗杩囨湡",
+                "60澶╁悗杩囨湡",
+                "宸茶繃鏈�15澶�",
+                "宸茶繃鏈�60澶�"
+            ],
+            "x-enum-varnames": [
+                "ServiceContractQueryClassExpireAfter30Day",
+                "ServiceContractQueryClassExpireAfter60Day",
+                "ServiceContractQueryClassExpiredBefore15Day",
+                "ServiceContractQueryClassExpiredBefore60Day"
+            ]
+        },
+        "constvar.ServiceFeeKeywordType": {
+            "type": "string",
+            "enum": [
+                "瀹㈡埛鍚嶇О",
+                "瀹㈡埛绫诲瀷",
+                "閿�鍞礋璐d汉",
+                "瀹㈡埛瑙勬ā",
+                "閲嶈绾у埆",
+                "瀹㈡埛缂栧彿",
+                "瀹㈡埛鐘舵��",
+                "浜у搧鍚嶇О",
+                "鏈嶅姟鍒版湡鏃�"
+            ],
+            "x-enum-varnames": [
+                "ServiceFeeKeywordCustomerName",
+                "ServiceFeeKeywordCustomerType",
+                "ServiceFeeKeywordSalesPrincipal",
+                "ServiceFeeKeywordCustomerScale",
+                "ServiceFeeKeywordClientLevel",
+                "ServiceFeeKeywordCustomerNo",
+                "ServiceFeeKeywordCustomerStatus",
+                "ServiceFeeKeywordProductName",
+                "ServiceFeeKeywordServiceEndDate"
+            ]
+        },
+        "constvar.ServiceFeeQueryClass": {
+            "type": "string",
+            "enum": [
+                "杩囨湡鏈弧60澶�",
+                "杩囨湡鏈弧30澶�",
+                "鍗冲皢杩囨湡60澶�",
+                "鍗冲皢杩囨湡30澶�",
+                "宸茶繃鏈�",
+                "鏃犳湇鍔�"
+            ],
+            "x-enum-varnames": [
+                "ServiceFeeQueryClassExpireLessThen60Days",
+                "ServiceFeeQueryClassExpireLessThen30Days",
+                "ServiceFeeQueryClassExpireAboutTo60Day",
+                "ServiceFeeQueryClassExpireAboutTo30Day",
+                "ServiceFeeQueryClassExpired",
+                "ServiceFeeQueryClassNoService"
+            ]
+        },
+        "constvar.ServiceFollowupKeywordType": {
+            "type": "string",
+            "enum": [
+                "鍥炶鍗曠紪鍙�",
+                "瀹㈡埛鍚嶇О",
+                "鑱旂郴浜哄鍚�",
+                "瀹㈡埛鏈嶅姟鍗�",
+                "鍥炶浜�",
+                "婊℃剰搴�"
+            ],
+            "x-enum-varnames": [
+                "ServiceFollowupKeywordFollowupNo",
+                "ServiceFollowupKeywordCustomerName",
+                "ServiceFollowupKeywordContactName",
+                "ServiceFollowupKeywordCustomerServiceNo",
+                "ServiceFollowupKeywordVisitor",
+                "ServiceFollowupKeywordSatisfactionDegree"
             ]
         },
         "constvar.UserType": {
@@ -7575,6 +8566,28 @@
                 }
             }
         },
+        "model.Faq": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.FaultType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.FollowRecord": {
             "type": "object",
             "properties": {
@@ -7811,6 +8824,17 @@
             }
         },
         "model.Possibility": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.PriorityLevel": {
             "type": "object",
             "properties": {
                 "id": {
@@ -8528,6 +9552,172 @@
                 }
             }
         },
+        "model.ServiceOrder": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "涓婇棬鍦板潃",
+                    "type": "string"
+                },
+                "appointmentTime": {
+                    "description": "棰勭害涓婇棬鏃堕棿",
+                    "type": "string"
+                },
+                "carFare": {
+                    "description": "浜ら�氳垂",
+                    "type": "number"
+                },
+                "chargeAmount": {
+                    "description": "鏀惰垂閲戦",
+                    "type": "number"
+                },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "contact": {
+                    "$ref": "#/definitions/model.Contact"
+                },
+                "contactId": {
+                    "description": "鑱旂郴浜篿d",
+                    "type": "integer"
+                },
+                "contract": {
+                    "$ref": "#/definitions/model.Contract"
+                },
+                "contractId": {
+                    "description": "鍚堝悓id",
+                    "type": "integer"
+                },
+                "expectTime": {
+                    "description": "甯屾湜澶勭悊鏃堕棿",
+                    "type": "string"
+                },
+                "faq": {
+                    "$ref": "#/definitions/model.Faq"
+                },
+                "faqId": {
+                    "description": "甯歌闂id",
+                    "type": "integer"
+                },
+                "faultType": {
+                    "$ref": "#/definitions/model.FaultType"
+                },
+                "faultTypeId": {
+                    "description": "鏁呴殰绫诲埆id",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "orderId": {
+                    "description": "閿�鍞鍗昳d",
+                    "type": "integer"
+                },
+                "orderManage": {
+                    "$ref": "#/definitions/model.OrderManage"
+                },
+                "priorityLevel": {
+                    "$ref": "#/definitions/model.PriorityLevel"
+                },
+                "priorityLevelId": {
+                    "description": "浼樺厛绾у埆id",
+                    "type": "integer"
+                },
+                "problemDesc": {
+                    "description": "闂鎻忚堪",
+                    "type": "string"
+                },
+                "product": {
+                    "$ref": "#/definitions/model.Product"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "integer"
+                },
+                "realTime": {
+                    "description": "瀹為檯澶勭悊鏃堕棿",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "saleChance": {
+                    "$ref": "#/definitions/model.SaleChance"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
+                },
+                "serviceManId": {
+                    "description": "鏈嶅姟浜哄憳",
+                    "type": "integer"
+                },
+                "serviceNumber": {
+                    "description": "鏈嶅姟鍗曠紪鍙�",
+                    "type": "string"
+                },
+                "serviceType": {
+                    "$ref": "#/definitions/model.ServiceType"
+                },
+                "serviceTypeId": {
+                    "description": "鏈嶅姟鏂瑰紡id",
+                    "type": "integer"
+                },
+                "severity": {
+                    "$ref": "#/definitions/model.Severity"
+                },
+                "solution": {
+                    "description": "瑙e喅鏂规硶",
+                    "type": "string"
+                },
+                "solutionRemark": {
+                    "description": "鍐呴儴澶囨敞",
+                    "type": "string"
+                },
+                "status": {
+                    "description": "澶勭悊鐘舵��",
+                    "type": "integer"
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "timeSpent": {
+                    "$ref": "#/definitions/model.TimeSpent"
+                },
+                "timeSpentId": {
+                    "description": "鑺辫垂鏃堕棿",
+                    "type": "integer"
+                }
+            }
+        },
+        "model.ServiceType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.Severity": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.SolveRate": {
             "type": "object",
             "properties": {
@@ -8576,6 +9766,17 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                }
+            }
+        },
+        "model.TimeSpent": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -8970,6 +10171,28 @@
                 }
             }
         },
+        "request.AddFaq": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddFaultType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddFollowRecord": {
             "type": "object",
             "required": [
@@ -9094,6 +10317,17 @@
                 "name"
             ],
             "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddPriorityLevel": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
                 "name": {
                     "type": "string"
                 }
@@ -9671,6 +10905,137 @@
                 }
             }
         },
+        "request.AddServiceOrder": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "涓婇棬鍦板潃",
+                    "type": "string"
+                },
+                "appointmentTime": {
+                    "description": "棰勭害涓婇棬鏃堕棿",
+                    "type": "string"
+                },
+                "carFare": {
+                    "description": "浜ら�氳垂",
+                    "type": "number"
+                },
+                "chargeAmount": {
+                    "description": "鏀惰垂閲戦",
+                    "type": "number"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "contactId": {
+                    "description": "鑱旂郴浜篿d",
+                    "type": "integer"
+                },
+                "contractId": {
+                    "description": "鍚堝悓id",
+                    "type": "integer"
+                },
+                "expectTime": {
+                    "description": "甯屾湜澶勭悊鏃堕棿",
+                    "type": "string"
+                },
+                "faqId": {
+                    "description": "甯歌闂id",
+                    "type": "integer"
+                },
+                "faultTypeId": {
+                    "description": "鏁呴殰绫诲埆id",
+                    "type": "integer"
+                },
+                "orderId": {
+                    "description": "閿�鍞鍗昳d",
+                    "type": "integer"
+                },
+                "priorityLevelId": {
+                    "description": "浼樺厛绾у埆id",
+                    "type": "integer"
+                },
+                "problemDesc": {
+                    "description": "闂鎻忚堪",
+                    "type": "string"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "integer"
+                },
+                "realTime": {
+                    "description": "瀹為檯澶勭悊鏃堕棿",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
+                },
+                "serviceManId": {
+                    "description": "鏈嶅姟浜哄憳",
+                    "type": "integer"
+                },
+                "serviceNumber": {
+                    "description": "鏈嶅姟鍗曠紪鍙�",
+                    "type": "string"
+                },
+                "serviceTypeId": {
+                    "description": "鏈嶅姟鏂瑰紡id",
+                    "type": "integer"
+                },
+                "severity": {
+                    "description": "涓ラ噸绋嬪害id",
+                    "type": "integer"
+                },
+                "solution": {
+                    "description": "瑙e喅鏂规硶",
+                    "type": "string"
+                },
+                "solutionRemark": {
+                    "description": "鍐呴儴澶囨敞",
+                    "type": "string"
+                },
+                "status": {
+                    "description": "澶勭悊鐘舵��",
+                    "type": "integer"
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "timeSpentId": {
+                    "description": "鑺辫垂鏃堕棿",
+                    "type": "integer"
+                }
+            }
+        },
+        "request.AddServiceType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddSeverity": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddSolveRate": {
             "type": "object",
             "required": [
@@ -9716,6 +11081,17 @@
                 }
             }
         },
+        "request.AddTimeSpent": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddTimelyRate": {
             "type": "object",
             "required": [
@@ -9751,6 +11127,20 @@
                 },
                 "vettingType": {
                     "type": "integer"
+                }
+            }
+        },
+        "request.Assign": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "member_id": {
+                    "type": "integer"
+                },
+                "type": {
+                    "type": "string"
                 }
             }
         },
@@ -9872,6 +11262,17 @@
                 "wechat": {
                     "description": "寰俊鍙�",
                     "type": "string"
+                }
+            }
+        },
+        "request.DeleteClient": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
                 }
             }
         },
@@ -10154,6 +11555,9 @@
                 "keyword": {
                     "type": "string"
                 },
+                "keywordType": {
+                    "$ref": "#/definitions/constvar.ServiceContractKeywordType"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -10161,6 +11565,9 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "queryClass": {
+                    "$ref": "#/definitions/constvar.ServiceContractQueryClass"
                 }
             }
         },
@@ -10170,6 +11577,9 @@
                 "keyword": {
                     "type": "string"
                 },
+                "keywordType": {
+                    "$ref": "#/definitions/constvar.ServiceFeeKeywordType"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -10177,6 +11587,9 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "queryClass": {
+                    "$ref": "#/definitions/constvar.ServiceFeeQueryClass"
                 }
             }
         },
@@ -10185,6 +11598,9 @@
             "properties": {
                 "keyword": {
                     "type": "string"
+                },
+                "keywordType": {
+                    "$ref": "#/definitions/constvar.ServiceFollowupKeywordType"
                 },
                 "page": {
                     "description": "椤电爜",
@@ -11023,6 +12439,28 @@
                 }
             }
         },
+        "request.UpdateFaq": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateFaultType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateFollowRecord": {
             "type": "object",
             "required": [
@@ -11245,6 +12683,17 @@
                 "id",
                 "name"
             ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdatePriorityLevel": {
+            "type": "object",
             "properties": {
                 "id": {
                     "type": "integer"
@@ -12114,6 +13563,140 @@
                 }
             }
         },
+        "request.UpdateServiceOrder": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "涓婇棬鍦板潃",
+                    "type": "string"
+                },
+                "appointmentTime": {
+                    "description": "棰勭害涓婇棬鏃堕棿",
+                    "type": "string"
+                },
+                "carFare": {
+                    "description": "浜ら�氳垂",
+                    "type": "number"
+                },
+                "chargeAmount": {
+                    "description": "鏀惰垂閲戦",
+                    "type": "number"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "contactId": {
+                    "description": "鑱旂郴浜篿d",
+                    "type": "integer"
+                },
+                "contractId": {
+                    "description": "鍚堝悓id",
+                    "type": "integer"
+                },
+                "expectTime": {
+                    "description": "甯屾湜澶勭悊鏃堕棿",
+                    "type": "string"
+                },
+                "faqId": {
+                    "description": "甯歌闂id",
+                    "type": "integer"
+                },
+                "faultTypeId": {
+                    "description": "鏁呴殰绫诲埆id",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "orderId": {
+                    "description": "閿�鍞鍗昳d",
+                    "type": "integer"
+                },
+                "priorityLevelId": {
+                    "description": "浼樺厛绾у埆id",
+                    "type": "integer"
+                },
+                "problemDesc": {
+                    "description": "闂鎻忚堪",
+                    "type": "string"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "integer"
+                },
+                "realTime": {
+                    "description": "瀹為檯澶勭悊鏃堕棿",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
+                },
+                "serviceManId": {
+                    "description": "鏈嶅姟浜哄憳",
+                    "type": "integer"
+                },
+                "serviceNumber": {
+                    "description": "鏈嶅姟鍗曠紪鍙�",
+                    "type": "string"
+                },
+                "serviceTypeId": {
+                    "description": "鏈嶅姟鏂瑰紡id",
+                    "type": "integer"
+                },
+                "severity": {
+                    "description": "涓ラ噸绋嬪害id",
+                    "type": "integer"
+                },
+                "solution": {
+                    "description": "瑙e喅鏂规硶",
+                    "type": "string"
+                },
+                "solutionRemark": {
+                    "description": "鍐呴儴澶囨敞",
+                    "type": "string"
+                },
+                "status": {
+                    "description": "澶勭悊鐘舵��",
+                    "type": "integer"
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "timeSpentId": {
+                    "description": "鑺辫垂鏃堕棿",
+                    "type": "integer"
+                }
+            }
+        },
+        "request.UpdateServiceType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateSeverity": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateSolveRate": {
             "type": "object",
             "required": [
@@ -12195,6 +13778,17 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                }
+            }
+        },
+        "request.UpdateTimeSpent": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -12702,6 +14296,21 @@
                 }
             }
         },
+        "response.ListResponse": {
+            "type": "object",
+            "properties": {
+                "code": {
+                    "type": "integer"
+                },
+                "count": {
+                    "type": "integer"
+                },
+                "data": {},
+                "msg": {
+                    "type": "string"
+                }
+            }
+        },
         "response.LoginResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0