Просмотр исходного кода

docs(mode_workflow): 为流程示例表格新增指令列并调整配置

新增指令对应的数据单元格,调整表格列宽配置并修正表头合并单元格数目
刘文武 2 дней назад
Родитель
Сommit
61f425c513
1 измененных файлов с 5 добавлено и 4 удалено
  1. 5 4
      examples/mode_workflow/index.html

+ 5 - 4
examples/mode_workflow/index.html

@@ -3587,7 +3587,8 @@
             rows += ioCell(ins[i], "in");
             rows += ioCell(ins[i], "in");
             if (i === 0) {
             if (i === 0) {
               rows += `<td rowspan="${n}">${s.via ? `<span class="pill teal">${esc(s.via)}</span>` : ""}</td>
               rows += `<td rowspan="${n}">${s.via ? `<span class="pill teal">${esc(s.via)}</span>` : ""}</td>
-          <td rowspan="${n}" class="vtxt">${esc(s.action || "")}</td>`;
+          <td rowspan="${n}" class="vtxt">${esc(s.action || "")}</td>
+          <td rowspan="${n}" class="vtxt">${esc(s.directive || "")}</td>`;
             }
             }
             rows += ioCell(outs[i], "out");
             rows += ioCell(outs[i], "out");
             rows += "</tr>";
             rows += "</tr>";
@@ -3598,15 +3599,15 @@
       <col style="width:44px"><col style="width:200px"><col style="width:92px">
       <col style="width:44px"><col style="width:200px"><col style="width:92px">
       <col style="width:180px"><col style="width:168px">
       <col style="width:180px"><col style="width:168px">
       <col style="width:112px"><col style="width:330px"><col style="width:92px">
       <col style="width:112px"><col style="width:330px"><col style="width:92px">
-      <col style="width:118px"><col style="width:130px">
+      <col style="width:118px"><col style="width:130px"><col style="width:130px">
       <col style="width:112px"><col style="width:360px"><col style="width:110px">
       <col style="width:112px"><col style="width:360px"><col style="width:110px">
     </colgroup>
     </colgroup>
     <thead>
     <thead>
-      <tr><th class="h-req" colspan="5">需 求</th><th class="h-in" colspan="3">输 入</th><th class="h-im" colspan="2">实 现</th><th class="h-out" colspan="3">输 出</th></tr>
+      <tr><th class="h-req" colspan="5">需 求</th><th class="h-in" colspan="3">输 入</th><th class="h-im" colspan="3">实 现</th><th class="h-out" colspan="3">输 出</th></tr>
       <tr>
       <tr>
         <th class="h-req2">#</th><th class="h-req2">目的</th><th class="h-req2">作用</th><th class="h-req2">实质</th><th class="h-req2">形式</th>
         <th class="h-req2">#</th><th class="h-req2">目的</th><th class="h-req2">作用</th><th class="h-req2">实质</th><th class="h-req2">形式</th>
         <th class="h-in2">类型</th><th class="h-in2">值</th><th class="h-in2">来源</th>
         <th class="h-in2">类型</th><th class="h-in2">值</th><th class="h-in2">来源</th>
-        <th class="h-im2">外部工具</th><th class="h-im2">动作</th>
+        <th class="h-im2">外部工具</th><th class="h-im2">动作</th><th class="h-im2">指令</th>
         <th class="h-out2">类型</th><th class="h-out2">值</th><th class="h-out2">去处</th>
         <th class="h-out2">类型</th><th class="h-out2">值</th><th class="h-out2">去处</th>
       </tr>
       </tr>
     </thead><tbody>${rows}</tbody></table></div>`;
     </thead><tbody>${rows}</tbody></table></div>`;