|
@@ -0,0 +1,1055 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <title>安装服务工单接口文档</title>
|
|
|
+ <style>
|
|
|
+/* From extension vscode.github */
|
|
|
+/*---------------------------------------------------------------------------------------------
|
|
|
+ * Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
+ * Licensed under the MIT License. See License.txt in the project root for license information.
|
|
|
+ *--------------------------------------------------------------------------------------------*/
|
|
|
+
|
|
|
+.vscode-dark img[src$=\#gh-light-mode-only],
|
|
|
+.vscode-light img[src$=\#gh-dark-mode-only],
|
|
|
+.vscode-high-contrast:not(.vscode-high-contrast-light) img[src$=\#gh-light-mode-only],
|
|
|
+.vscode-high-contrast-light img[src$=\#gh-dark-mode-only] {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|
|
|
+
|
|
|
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/markdown.css">
|
|
|
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/highlight.css">
|
|
|
+<style>
|
|
|
+ body {
|
|
|
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 1.6;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+ <style>
|
|
|
+.task-list-item {
|
|
|
+ list-style-type: none;
|
|
|
+}
|
|
|
+
|
|
|
+.task-list-item-checkbox {
|
|
|
+ margin-left: -20px;
|
|
|
+ vertical-align: middle;
|
|
|
+ pointer-events: none;
|
|
|
+}
|
|
|
+</style>
|
|
|
+<style>
|
|
|
+:root {
|
|
|
+ --color-note: #0969da;
|
|
|
+ --color-tip: #1a7f37;
|
|
|
+ --color-warning: #9a6700;
|
|
|
+ --color-severe: #bc4c00;
|
|
|
+ --color-caution: #d1242f;
|
|
|
+ --color-important: #8250df;
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|
|
|
+<style>
|
|
|
+@media (prefers-color-scheme: dark) {
|
|
|
+ :root {
|
|
|
+ --color-note: #2f81f7;
|
|
|
+ --color-tip: #3fb950;
|
|
|
+ --color-warning: #d29922;
|
|
|
+ --color-severe: #db6d28;
|
|
|
+ --color-caution: #f85149;
|
|
|
+ --color-important: #a371f7;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|
|
|
+<style>
|
|
|
+.markdown-alert {
|
|
|
+ padding: 0.5rem 1rem;
|
|
|
+ margin-bottom: 16px;
|
|
|
+ color: inherit;
|
|
|
+ border-left: .25em solid #888;
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert>:first-child {
|
|
|
+ margin-top: 0
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert>:last-child {
|
|
|
+ margin-bottom: 0
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert .markdown-alert-title {
|
|
|
+ display: flex;
|
|
|
+ font-weight: 500;
|
|
|
+ align-items: center;
|
|
|
+ line-height: 1
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert .markdown-alert-title .octicon {
|
|
|
+ margin-right: 0.5rem;
|
|
|
+ display: inline-block;
|
|
|
+ overflow: visible !important;
|
|
|
+ vertical-align: text-bottom;
|
|
|
+ fill: currentColor;
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-note {
|
|
|
+ border-left-color: var(--color-note);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-note .markdown-alert-title {
|
|
|
+ color: var(--color-note);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-important {
|
|
|
+ border-left-color: var(--color-important);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-important .markdown-alert-title {
|
|
|
+ color: var(--color-important);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-warning {
|
|
|
+ border-left-color: var(--color-warning);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-warning .markdown-alert-title {
|
|
|
+ color: var(--color-warning);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-tip {
|
|
|
+ border-left-color: var(--color-tip);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-tip .markdown-alert-title {
|
|
|
+ color: var(--color-tip);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-caution {
|
|
|
+ border-left-color: var(--color-caution);
|
|
|
+}
|
|
|
+
|
|
|
+.markdown-alert.markdown-alert-caution .markdown-alert-title {
|
|
|
+ color: var(--color-caution);
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|
|
|
+
|
|
|
+ </head>
|
|
|
+ <body class="vscode-body vscode-light">
|
|
|
+ <h1 id="安装服务工单接口文档">安装服务工单接口文档</h1>
|
|
|
+<h2 id="目录">目录</h2>
|
|
|
+<ul>
|
|
|
+<li><a href="#1-%E5%B7%A5%E5%8D%95%E7%AE%A1%E7%90%86">1. 工单管理</a>
|
|
|
+<ul>
|
|
|
+<li><a href="#11-%E8%8E%B7%E5%8F%96%E5%B7%A5%E5%8D%95%E5%88%97%E8%A1%A8">1.1 获取工单列表</a></li>
|
|
|
+<li><a href="#12-%E5%AF%BC%E5%87%BA%E5%B7%A5%E5%8D%95">1.2 导出工单</a></li>
|
|
|
+<li><a href="#13-%E5%88%A0%E9%99%A4%E5%B7%A5%E5%8D%95">1.3 删除工单</a></li>
|
|
|
+<li><a href="#14-%E9%A9%B3%E5%9B%9E%E5%B7%A5%E5%8D%95">1.4 驳回工单</a></li>
|
|
|
+<li><a href="#15-%E6%8E%A5%E5%8D%95%E5%A4%84%E7%90%86">1.5 接单处理</a></li>
|
|
|
+<li><a href="#16-%E6%AF%8F%E6%97%A5%E5%A1%AB%E5%86%99">1.6 每日填写</a></li>
|
|
|
+<li><a href="#17-%E5%AE%8C%E6%88%90%E5%B7%A5%E5%8D%95">1.7 完成工单</a></li>
|
|
|
+<li><a href="#18-%E9%AA%8C%E6%94%B6%E5%B7%A5%E5%8D%95">1.8 验收工单</a></li>
|
|
|
+</ul>
|
|
|
+</li>
|
|
|
+<li><a href="#2-%E5%9F%BA%E7%A1%80%E6%95%B0%E6%8D%AE">2. 基础数据</a>
|
|
|
+<ul>
|
|
|
+<li><a href="#21-%E8%8E%B7%E5%8F%96%E4%B8%8B%E6%8B%89%E9%80%89%E9%A1%B9">2.1 获取下拉选项</a></li>
|
|
|
+<li><a href="#22-%E8%8E%B7%E5%8F%96%E5%AE%A2%E6%88%B7%E8%81%94%E7%B3%BB%E4%BA%BA">2.2 获取客户联系人</a></li>
|
|
|
+<li><a href="#23-%E8%8E%B7%E5%8F%96%E5%AE%A2%E6%88%B7%E5%88%97%E8%A1%A8">2.3 获取客户列表</a></li>
|
|
|
+<li><a href="#24-%E8%8E%B7%E5%8F%96%E4%BA%A7%E5%93%81%E5%88%97%E8%A1%A8">2.4 获取产品列表</a></li>
|
|
|
+</ul>
|
|
|
+</li>
|
|
|
+<li><a href="#3-%E6%96%B0%E5%A2%9E%E5%B7%A5%E5%8D%95">3. 新增工单</a>
|
|
|
+<ul>
|
|
|
+<li><a href="#31-%E6%96%B0%E5%A2%9E%E6%9C%8D%E5%8A%A1%E5%B7%A5%E5%8D%95">3.1 新增服务工单</a></li>
|
|
|
+<li><a href="#32-%E8%8E%B7%E5%8F%96%E5%8F%91%E8%B4%A7%E5%8D%95%E4%BF%A1%E6%81%AF">3.2 获取发货单信息</a></li>
|
|
|
+</ul>
|
|
|
+</li>
|
|
|
+<li><a href="#4-%E7%BC%96%E8%BE%91%E5%B7%A5%E5%8D%95">4. 编辑工单</a>
|
|
|
+<ul>
|
|
|
+<li><a href="#41-%E8%8E%B7%E5%8F%96%E5%B7%A5%E5%8D%95%E8%AF%A6%E6%83%85">4.1 获取工单详情</a></li>
|
|
|
+<li><a href="#42-%E6%9B%B4%E6%96%B0%E5%B7%A5%E5%8D%95%E4%BF%A1%E6%81%AF">4.2 更新工单信息</a></li>
|
|
|
+</ul>
|
|
|
+</li>
|
|
|
+<li><a href="#5-%E5%B7%A5%E5%8D%95%E6%B4%BE%E5%8D%95">5. 工单派单</a>
|
|
|
+<ul>
|
|
|
+<li><a href="#51-%E6%B4%BE%E5%8D%95%E5%A4%84%E7%90%86">5.1 派单处理</a></li>
|
|
|
+</ul>
|
|
|
+</li>
|
|
|
+<li><a href="#6-%E6%AF%8F%E6%97%A5%E5%A1%AB%E5%86%99">6. 每日填写</a>
|
|
|
+<ul>
|
|
|
+<li><a href="#61-%E8%8E%B7%E5%8F%96%E6%AF%8F%E6%97%A5%E5%A1%AB%E5%86%99%E8%AE%B0%E5%BD%95">6.1 获取每日填写记录</a></li>
|
|
|
+<li><a href="#62-%E6%8F%90%E4%BA%A4%E6%AF%8F%E6%97%A5%E5%A1%AB%E5%86%99">6.2 提交每日填写</a></li>
|
|
|
+</ul>
|
|
|
+</li>
|
|
|
+<li><a href="#7-%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0">7. 文件上传</a></li>
|
|
|
+</ul>
|
|
|
+<h2 id="1-工单管理">1. 工单管理</h2>
|
|
|
+<h3 id="11-获取工单列表">1.1 获取工单列表</h3>
|
|
|
+<h4 id="接口说明">接口说明</h4>
|
|
|
+<p>获取安装服务工单列表数据</p>
|
|
|
+<h4 id="请求信息">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByName</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数示例">请求参数示例</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getInstallationOrderList"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"page"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"returntype"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"Map"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffIds"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"customerName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"222"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"statusName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"未接单"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"projectId"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">371</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"orderNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0002"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"orderStartTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2025-02-01"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"orderEndTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2025-02-15"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"completeStartTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2025-02-05"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"completeEndTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2025-02-20"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"contractNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2222"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"deliveryNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2222"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h4 id="响应示例">响应示例</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"code"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"code"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"contractNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">""</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"createId"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">161</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"createName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"乔灏"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"customerId"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2057</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"customerName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"定边县滩羊场 (陕西携农1牧、携农2牧)"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"deliveryNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">""</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"dispatcherId"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">161</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"dispatcherName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"乔灏"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"estimatedCompleteTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2025-02-11 16:00:00"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"1"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"智能脖环(含配重,带子)"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"id"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">110</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"installedQuantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"orderNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"FW250218002"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"orderTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"2025-02-18 14:23:39"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"projectId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"370"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"projectName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"脖环佩戴"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remainingTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">-8</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remark"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">""</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffIds"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"149"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffNames"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"李锦全"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"statusName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"未接单"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"totalQuantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"uninstalledQuantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"message"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"ok"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pageNum"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pageSize"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pages"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"total"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"msg"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"ok"</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="12-导出工单">1.2 导出工单</h3>
|
|
|
+<h4 id="接口说明-1">接口说明</h4>
|
|
|
+<p>导出安装服务工单数据</p>
|
|
|
+<h4 id="请求信息-1">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: /api/installation/export</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数">请求参数</h4>
|
|
|
+<p>同获取工单列表的请求参数</p>
|
|
|
+<h4 id="响应格式">响应格式</h4>
|
|
|
+<p>Excel 文件流</p>
|
|
|
+<h3 id="13-删除工单">1.3 删除工单</h3>
|
|
|
+<h4 id="接口说明-2">接口说明</h4>
|
|
|
+<p>删除安装服务工单</p>
|
|
|
+<h4 id="请求信息-2">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-1">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"deleteInstallationOrderById"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderProcessLog"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationType"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"delete"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"beforeStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作前状态"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"afterStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作前状态"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationContent"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"删除服务工单"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="14-驳回工单">1.4 驳回工单</h3>
|
|
|
+<h4 id="接口说明-3">接口说明</h4>
|
|
|
+<p>驳回安装服务工单</p>
|
|
|
+<h4 id="请求信息-3">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-2">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"rejectInstallationOrder"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"rejectReason"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"驳回原因"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderProcessLog"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationType"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"reject"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"beforeStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作前状态"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"afterStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"接单驳回"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationContent"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"驳回原因:xxx"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="15-接单处理">1.5 接单处理</h3>
|
|
|
+<h4 id="接口说明-4">接口说明</h4>
|
|
|
+<p>接单处理安装服务工单</p>
|
|
|
+<h4 id="请求信息-4">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-3">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"acceptInstallationOrder"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"acceptId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"接单人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"acceptName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"接单人姓名"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderProcessLog"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationType"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"accept"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"beforeStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作前状态"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"afterStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"处理中"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationContent"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"接单处理"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="16-每日填写">1.6 每日填写</h3>
|
|
|
+<h4 id="接口说明-5">接口说明</h4>
|
|
|
+<p>填写每日安装进度</p>
|
|
|
+<h4 id="请求信息-5">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-4">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"deleteInstallationDailyWriteByDates"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"datas"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"日期列表"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"submitInstallationDailyWrite"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"resultmaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"installDate"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"安装日期"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品名称"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"todayQuantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"当日数量"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remark"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"备注"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"children"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationDailyWrite"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"installUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"安装人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"installUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"安装人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.goodsName"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"installDate"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.installDate"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.goodsId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"todayQuantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.todayQuantity"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remark"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.remark"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"refreshInstallationOrderDetailQuantity"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"refreshInstallationOrderProcessByOrderId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="17-完成工单">1.7 完成工单</h3>
|
|
|
+<h4 id="接口说明-6">接口说明</h4>
|
|
|
+<p>完成安装服务工单</p>
|
|
|
+<h4 id="请求信息-6">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-5">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"completeInstallationOrder"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderProcessLog"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationType"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"complete"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"beforeStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作前状态"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"afterStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"已完成未验收"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationContent"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"完成服务工单"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="18-验收工单">1.8 验收工单</h3>
|
|
|
+<h4 id="接口说明-7">接口说明</h4>
|
|
|
+<p>验收安装服务工单</p>
|
|
|
+<h4 id="请求信息-7">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-6">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertContacts"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"customerId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"客户ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"contactName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"联系人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"telephone"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"联系电话"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderImages"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"resultmaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"imageId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"图片ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"imageType"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"check_image"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"children"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderImages"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"imageId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderImages.imageId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"imageType"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderImages.imageType"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"checkInstallationOrder"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"checkUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"验收人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"checkUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"验收人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"contactId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"联系人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"checkDate"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"验收日期"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h2 id="2-基础数据">2. 基础数据</h2>
|
|
|
+<h3 id="21-获取下拉选项">2.1 获取下拉选项</h3>
|
|
|
+<h4 id="接口说明-8">接口说明</h4>
|
|
|
+<p>获取服务人员、项目等下拉选项数据</p>
|
|
|
+<h4 id="请求信息-8">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByNames</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-7">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getUsersSelect"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"enable"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"1"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getDictListSelect"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"pid"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"79"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getInstallationOrderToDoNum"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="22-获取客户联系人">2.2 获取客户联系人</h3>
|
|
|
+<h4 id="接口说明-9">接口说明</h4>
|
|
|
+<p>获取客户联系人列表</p>
|
|
|
+<h4 id="请求信息-9">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByName</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-8">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getContacts"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"returntype"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"Map"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"customerId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"客户ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="23-获取客户列表">2.3 获取客户列表</h3>
|
|
|
+<h4 id="接口说明-10">接口说明</h4>
|
|
|
+<p>搜索获取客户列表数据</p>
|
|
|
+<h4 id="请求信息-10">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByName</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数示例-1">请求参数示例</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getCustomerNameFuzzy"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"returntype"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"Map"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"inputvalue"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"5"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h4 id="响应示例-1">响应示例</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"code"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"code"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"id"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2092</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"广东省惠州市龙门县龙城街道甘乡甘南路50-1号"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"id"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1590</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"长富5牧"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"message"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"ok"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pageSize"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"total"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"msg"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"ok"</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="24-获取产品列表">2.4 获取产品列表</h3>
|
|
|
+<h4 id="接口说明-11">接口说明</h4>
|
|
|
+<p>搜索获取产品列表数据</p>
|
|
|
+<h4 id="请求信息-11">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByName</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数示例-2">请求参数示例</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getGoodsListByCode"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"returntype"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"Map"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"goodsCode"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">""</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h4 id="响应示例-2">响应示例</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"code"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"code"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"categoryId"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">14</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsModel"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"KI"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"智能脖环(含配重,带子)"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsUnit"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"套"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"id"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"label"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"套"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"message"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"ok"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pageSize"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"total"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"msg"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"ok"</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h2 id="3-新增工单">3. 新增工单</h2>
|
|
|
+<h3 id="31-新增服务工单">3.1 新增服务工单</h3>
|
|
|
+<h4 id="接口说明-12">接口说明</h4>
|
|
|
+<p>新增安装服务工单</p>
|
|
|
+<h4 id="请求信息-12">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-9">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrder"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"ordererId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"下单人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"ordererName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"下单人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"projectId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"项目ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffIds"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"服务人员ID列表"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffNames"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"服务人员姓名列表"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"estimatedCompleteTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"预计完成时间"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"deliveryNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"发货单号"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"contractNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"合同号"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"customerId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"客户ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"customerName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"客户名称"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remark"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"备注"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderDetail"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"resultmaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsCode"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品编号"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品名称"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsSpecification"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品规格"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsModel"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品型号"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsUnit"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品单位"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"quantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"数量"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"children"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderDetail"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrder.LastInsertId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsCode"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsCode"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsName"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsSpecification"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsSpecification"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsModel"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsModel"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsUnit"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsUnit"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"quantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.quantity"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="32-获取发货单信息">3.2 获取发货单信息</h3>
|
|
|
+<h4 id="接口说明-13">接口说明</h4>
|
|
|
+<p>根据发货单号获取发货单信息</p>
|
|
|
+<h4 id="请求信息-13">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByName</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-10">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getDeliveryOrderByNo"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"deliveryNo"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"发货单号"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h2 id="4-编辑工单">4. 编辑工单</h2>
|
|
|
+<h3 id="41-获取工单详情">4.1 获取工单详情</h3>
|
|
|
+<h4 id="接口说明-14">接口说明</h4>
|
|
|
+<p>获取工单详细信息</p>
|
|
|
+<h4 id="请求信息-14">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByNames</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-11">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getInstallationOrderById"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getInstallationOrderDetailByOrderId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="42-更新工单信息">4.2 更新工单信息</h3>
|
|
|
+<h4 id="接口说明-15">接口说明</h4>
|
|
|
+<p>更新工单基本信息和产品明细</p>
|
|
|
+<h4 id="请求信息-15">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-12">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"updateInstallationOrder"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"projectId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"项目ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffIds"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"服务人员ID列表"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffNames"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"服务人员姓名列表"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"estimatedCompleteTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"预计完成时间"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"customerId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"客户ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"customerName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"客户名称"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remark"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"备注"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"deleteInstallationOrderDetailByOrderId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderDetail"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"resultmaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsCode"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品编号"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品名称"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsSpecification"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品规格"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsModel"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品型号"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsUnit"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品单位"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"quantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"数量"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"children"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderDetail"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsCode"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsCode"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsName"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsSpecification"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsSpecification"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsModel"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsModel"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsUnit"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.goodsUnit"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"quantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@insertInstallationOrderDetail.quantity"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h2 id="5-工单派单">5. 工单派单</h2>
|
|
|
+<h3 id="51-派单处理">5.1 派单处理</h3>
|
|
|
+<h4 id="接口说明-16">接口说明</h4>
|
|
|
+<p>派单给服务人员处理</p>
|
|
|
+<h4 id="请求信息-16">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-13">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"dispatchInstallationOrder"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"dispatcherId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"派单人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"dispatcherName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"派单人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffIds"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"服务人员ID列表"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"serviceStaffNames"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"服务人员姓名列表"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationOrderProcessLog"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationType"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"dispatch"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"beforeStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"操作前状态"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"afterStatus"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"未接单"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"operationContent"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"派单处理"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h2 id="6-每日填写">6. 每日填写</h2>
|
|
|
+<h3 id="61-获取每日填写记录">6.1 获取每日填写记录</h3>
|
|
|
+<h4 id="接口说明-17">接口说明</h4>
|
|
|
+<p>获取工单每日填写记录</p>
|
|
|
+<h4 id="请求信息-17">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: GetDataByName</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-14">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"getInstallationDailyWriteByOrderId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"offset"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"pagecount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h3 id="62-提交每日填写">6.2 提交每日填写</h3>
|
|
|
+<h4 id="接口说明-18">接口说明</h4>
|
|
|
+<p>提交每日安装进度</p>
|
|
|
+<h4 id="请求信息-18">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: ExecDataByConfig</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-15">请求参数</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"common"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"returnmap"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"0"</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"deleteInstallationDailyWriteByDates"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"datas"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"日期列表"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"submitInstallationDailyWrite"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"resultmaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"list"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"installDate"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"安装日期"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品名称"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"产品ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"todayQuantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"当日数量"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remark"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"备注"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"children"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"insertInstallationDailyWrite"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"installUserId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"安装人ID"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"installUserName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"安装人姓名"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsName"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.goodsName"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"installDate"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.installDate"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"goodsId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.goodsId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"todayQuantity"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.todayQuantity"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"remark"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"@submitInstallationDailyWrite.remark"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"refreshInstallationOrderDetailQuantity"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"name"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"refreshInstallationOrderProcessByOrderId"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"type"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"e"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"parammaps"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"orderId"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"工单ID"</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">]</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+<h2 id="7-文件上传">7. 文件上传</h2>
|
|
|
+<h4 id="接口说明-19">接口说明</h4>
|
|
|
+<p>上传图片文件</p>
|
|
|
+<h4 id="请求信息-19">请求信息</h4>
|
|
|
+<ul>
|
|
|
+<li>接口名: /authdata/uploaderimage</li>
|
|
|
+<li>请求方式: POST</li>
|
|
|
+<li>Content-Type: multipart/form-data</li>
|
|
|
+</ul>
|
|
|
+<h4 id="请求参数-16">请求参数</h4>
|
|
|
+<table>
|
|
|
+<thead>
|
|
|
+<tr>
|
|
|
+<th>参数名</th>
|
|
|
+<th>类型</th>
|
|
|
+<th>说明</th>
|
|
|
+</tr>
|
|
|
+</thead>
|
|
|
+<tbody>
|
|
|
+<tr>
|
|
|
+<td>file</td>
|
|
|
+<td>File</td>
|
|
|
+<td>图片文件</td>
|
|
|
+</tr>
|
|
|
+</tbody>
|
|
|
+</table>
|
|
|
+<h4 id="响应示例-3">响应示例</h4>
|
|
|
+<pre><code class="language-json"><span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"execresult"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"LastInsertId"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">15625</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"RowsAffected"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"result"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
|
+ <span class="hljs-attr">"Locker"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span>
|
|
|
+ <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"filename"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"186569a22092815a3e84c3dd22681b9f.jpg"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"hash"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"186569a22092815a3e84c3dd22681b9f"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"origin"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"8dc780517656a754a174becb9a44f63.jpg"</span><span class="hljs-punctuation">,</span>
|
|
|
+ <span class="hljs-attr">"size"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">113678</span>
|
|
|
+<span class="hljs-punctuation">}</span>
|
|
|
+</code></pre>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </body>
|
|
|
+ </html>
|