|
@@ -88,7 +88,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="loading"></div>
|
|
|
|
|
|
+ <img class="loading loading_sceen_pic" />
|
|
</div>
|
|
</div>
|
|
<div class="mask">
|
|
<div class="mask">
|
|
<div class="box-shear-plate"></div>
|
|
<div class="box-shear-plate"></div>
|
|
@@ -280,26 +280,13 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
function handleCopy(content) {
|
|
function handleCopy(content) {
|
|
- $.ajax({
|
|
|
|
- url: baseUrl + "/api/wsi/v1/config/cut",
|
|
|
|
- data: JSON.stringify({
|
|
|
|
- str: content,
|
|
|
|
- userCardId: form.userCardId
|
|
|
|
- }),
|
|
|
|
- headers: {
|
|
|
|
- 'Authorization': form.token
|
|
|
|
- },
|
|
|
|
- contentType: "application/json;charset=UTF-8",
|
|
|
|
- type: 'post',
|
|
|
|
- dataType: 'json',
|
|
|
|
- success: function (res) {
|
|
|
|
- if (res.status === 0) {
|
|
|
|
- $.toast('复制成功', "text");
|
|
|
|
- } else {
|
|
|
|
- $.toast(res.msg, "text");
|
|
|
|
- }
|
|
|
|
|
|
+ var cutting = {
|
|
|
|
+ "type":"cutting",
|
|
|
|
+ "data":{
|
|
|
|
+ "str": content
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ }
|
|
|
|
+ wsss.send(JSON.stringify(cutting));
|
|
}
|
|
}
|
|
// 删除剪贴板
|
|
// 删除剪贴板
|
|
function handleDelete(id) {
|
|
function handleDelete(id) {
|
|
@@ -687,9 +674,9 @@
|
|
if (input[0] == 0x68) {
|
|
if (input[0] == 0x68) {
|
|
if(input[23] == 0x5c){
|
|
if(input[23] == 0x5c){
|
|
if(CheckVerifyCode(input)) {
|
|
if(CheckVerifyCode(input)) {
|
|
- decodeWoker.postMessage(ConfigChannel('RK3923C1201900139'));
|
|
|
|
|
|
+ webSocketWorker.postMessage(ConfigChannel('RK3923C1201900139'));
|
|
var checkBuffer = GetScreenState();
|
|
var checkBuffer = GetScreenState();
|
|
- decodeWoker.postMessage(checkBuffer);
|
|
|
|
|
|
+ webSocketWorker.postMessage(checkBuffer);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
$.toast("画面异常,请重新进入", "text");
|
|
$.toast("画面异常,请重新进入", "text");
|