Compare commits
2 Commits
208d397236
...
a451726e52
| Author | SHA1 | Date | |
|---|---|---|---|
| a451726e52 | |||
| 9ecb392a41 |
5
.gitignore
vendored
5
.gitignore
vendored
@@ -22,7 +22,4 @@ logs/
|
||||
.idea/
|
||||
.vscode/
|
||||
.cache/
|
||||
sync_database.sqlite
|
||||
|
||||
//暂时忽略
|
||||
mappingsEditor.js
|
||||
sync_database.sqlite
|
||||
@@ -257,6 +257,23 @@
|
||||
(Transitions)</h3>
|
||||
<div class="bg-yellow-50 border border-yellow-200 rounded p-3 mb-3 text-xs text-yellow-800 hidden"
|
||||
id="transWarning"></div>
|
||||
|
||||
<!-- 手动扫描 Transition -->
|
||||
<div class="mb-4 p-3 bg-purple-50 border border-purple-200 rounded">
|
||||
<p class="text-xs text-purple-700 mb-2">输入工单 Key 扫描该工单当前可用的状态流转,扫描结果会追加到下拉菜单中</p>
|
||||
<div class="flex gap-2">
|
||||
<input type="text" id="transIssueKey" placeholder="例如: TEST-123"
|
||||
class="flex-1 border rounded px-3 py-2 text-sm focus:ring-2 focus:ring-purple-500 outline-none uppercase">
|
||||
<button onclick="scanTransitions()" id="scanTransBtn"
|
||||
class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded text-sm font-medium transition whitespace-nowrap">
|
||||
扫描流转
|
||||
</button>
|
||||
</div>
|
||||
<div id="transResult" class="mt-2 text-sm"></div>
|
||||
<div id="transError"
|
||||
class="hidden mt-2 bg-red-50 text-red-700 p-2 rounded text-xs border border-red-200"></div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 gap-3">
|
||||
<div class="flex items-center justify-between bg-gray-50 p-3 rounded border">
|
||||
<span class="font-mono text-sm font-medium text-gray-700">关闭 (Close)</span>
|
||||
|
||||
1124
public/mappingsEditor.js
Normal file
1124
public/mappingsEditor.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user