mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-11-29 18:57:41 +08:00
feat: printer_barcode
This commit is contained in:
parent
1a7aae6205
commit
aa8d242f84
38
.ssh/id_rsa
38
.ssh/id_rsa
@ -1,38 +0,0 @@
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
|
||||
NhAAAAAwEAAQAAAYEAn+/58KcVc3FpVktd+ujO40bzluoKBRKX4yzEIFX/Nfm5ni/5Fin+
|
||||
uENBdjhb+fyEeE5zsHYkHXZiK6GIOsF6XJ1wcOoBwofYowRmznFQWTH9gD2tZ3OVhI3Hvz
|
||||
pLhhkkxCiTRajcNVBsz4Ls6GvsIZjKF+L/zqTKkPfJzLjCwLUjyIG7HpwEW/8t+DQFwMNd
|
||||
n7fuWcCcj3u4NJxkD2JeNq+y8kWbXI4+EjA5IKa5jbRBoaUzImLdYv2vThmSS8KSMuB6xd
|
||||
Z2dHSH2LUBqLoazoni0nfpUPs6p8/W9b7y8f51I2AoXwcqJkcdUvqyPFKI/TA7FoZfHjjA
|
||||
R6onNxVuVTb1jB7r1deapk5EECzehrKEsrrlf7rw0pLhEUHzqVtNTHvHYThTJdPIrLBJEo
|
||||
ZZPEGopvbhYNF4VkSMV8y30wuyUR9k4XmLfcsPCOTtoktvtxL4RH8p51kiVJ2E8iJmZiNU
|
||||
VDymAKTcQqvyDnS5GIw/alad1P1dJiV0glVdPSy7AAAFiM6GNxvOhjcbAAAAB3NzaC1yc2
|
||||
EAAAGBAJ/v+fCnFXNxaVZLXfrozuNG85bqCgUSl+MsxCBV/zX5uZ4v+RYp/rhDQXY4W/n8
|
||||
hHhOc7B2JB12YiuhiDrBelydcHDqAcKH2KMEZs5xUFkx/YA9rWdzlYSNx786S4YZJMQok0
|
||||
Wo3DVQbM+C7Ohr7CGYyhfi/86kypD3ycy4wsC1I8iBux6cBFv/Lfg0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t1i/a9OGZJLwpIy4HrF1nZ0dIfYtQGouhrOieLSd+lQ+zqnz9b1vvLx/nUjYChfByomRx1S+rI8Uoj9MDsWhl8eOMBHqic3FW5VNvWMHuvV15qmTkQQLN6GsoSyuuV/uvDSkuERQfOpW01Me8dhOFMl08issEkShlk8Qaim9uFg0XhWRIxXzLfTC7JRH2TheYt9yw8I5O2iS2+3EvhEfynnWSJUnYTyImZmI1RUPKYApNxCq/IOdLkYjD9qVp3U/V0mJXSCVV09LLs= 1209591330@qq.com
|
@ -1,3 +0,0 @@
|
||||
github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl
|
||||
github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
|
||||
github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
|
@ -1 +0,0 @@
|
||||
github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl
|
@ -19,6 +19,7 @@
|
||||
"id": "f9dddd0eeb_amisBMK8t",
|
||||
"name": "amis",
|
||||
"opacity": 0.75,
|
||||
"fontSize": 12,
|
||||
"draggable": true
|
||||
},
|
||||
"children": [],
|
||||
@ -26,7 +27,7 @@
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"x": 3,
|
||||
"x": 2,
|
||||
"y": 1,
|
||||
"id": "print_paper",
|
||||
"fill": "",
|
||||
@ -39,6 +40,7 @@
|
||||
"opacity": 0.75,
|
||||
"fontSize": 15,
|
||||
"draggable": true,
|
||||
"fontFamily": "宋体",
|
||||
"lineHeight": 0,
|
||||
"strokeWidth": 4
|
||||
},
|
||||
@ -115,12 +117,12 @@
|
||||
"fill": "rgba(0, 0, 0, 1)",
|
||||
"name": "printer",
|
||||
"text": "班次:",
|
||||
"fontSize": 12,
|
||||
"type": "label",
|
||||
"width": 300,
|
||||
"height": 20,
|
||||
"stroke": "",
|
||||
"opacity": 0.75,
|
||||
"fontSize": 12,
|
||||
"draggable": true,
|
||||
"fontFamily": "Calibri",
|
||||
"lineHeight": 0,
|
||||
@ -319,7 +321,7 @@
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"x": 10,
|
||||
"x": 9,
|
||||
"y": 210,
|
||||
"id": "596569e7b3_textaiToJ",
|
||||
"fill": "rgba(0, 0, 0, 1)",
|
||||
@ -327,7 +329,7 @@
|
||||
"text": "去向:",
|
||||
"type": "label",
|
||||
"width": 300,
|
||||
"height": 20,
|
||||
"height": 10,
|
||||
"stroke": "",
|
||||
"opacity": 0.75,
|
||||
"fontSize": 12,
|
||||
@ -613,14 +615,16 @@
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"x": 20,
|
||||
"y": 235,
|
||||
"id": "spunlace_id",
|
||||
"x": 61,
|
||||
"y": 270.00534412955466,
|
||||
"id": "spunlace_id_barcode",
|
||||
"fill": "rgba(0, 0, 0, 1)",
|
||||
"name": "printer",
|
||||
"text": "条码",
|
||||
"type": "scancode",
|
||||
"text": "1234567800jh",
|
||||
"type": "scancodetext",
|
||||
"align": 4,
|
||||
"width": 150,
|
||||
"format": 29,
|
||||
"height": 50,
|
||||
"stroke": "",
|
||||
"opacity": 0.75,
|
||||
@ -652,6 +656,28 @@
|
||||
"strokeWidth": 0.1
|
||||
},
|
||||
"className": "Text"
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"x": 25,
|
||||
"y": 229,
|
||||
"id": "spunlace_id",
|
||||
"fill": "rgba(170, 234, 213, 1)",
|
||||
"name": "printer",
|
||||
"text": "1334456456h",
|
||||
"type": "scancode",
|
||||
"align": 4,
|
||||
"width": 150,
|
||||
"format": 27,
|
||||
"height": 50,
|
||||
"stroke": "black",
|
||||
"opacity": 0.75,
|
||||
"fontSize": 12,
|
||||
"draggable": true,
|
||||
"fontFamily": "宋体",
|
||||
"strokeWidth": 4
|
||||
},
|
||||
"className": "Rect"
|
||||
}
|
||||
],
|
||||
"className": "Layer"
|
||||
|
@ -42,7 +42,8 @@ get_topo(#{<<"profile">> := Profile} = QueryData, ProductId) ->
|
||||
Acc ++ [V#{<<"text">> => Text}]
|
||||
end
|
||||
end, [], StageMap),
|
||||
QueryData#{<<"profile">> => #{<<"cmd">> => <<"printer">>, <<"data">> => NewProfile}};
|
||||
Cmd = maps:get(<<"cmd">>, Profile, <<"printer_barcode">>),
|
||||
QueryData#{<<"profile">> => #{<<"cmd">> => Cmd, <<"data">> => NewProfile}};
|
||||
_ ->
|
||||
QueryData
|
||||
end.
|
||||
@ -131,4 +132,4 @@ get_word(#{<<"id">> := TaskId, <<"cmd">> := Printer, <<"data">> := Data, <<"Home
|
||||
end;
|
||||
_Oth1 ->
|
||||
Profile
|
||||
end.
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user