人脸识别领料
This commit is contained in:
@@ -117,15 +117,35 @@
|
||||
}
|
||||
else {
|
||||
// window.location.href = 'UsingMat.aspx?welderQRCode=' + data.d ;
|
||||
window.open('UsingMat.aspx?welderCode=' + data.d , '_blank');
|
||||
//window.open('UsingMat.aspx?welderCode=' + data.d , '_blank');
|
||||
//var activeWindow = F.getActiveWindow();
|
||||
//activeWindow.window.backData(data.d);
|
||||
//activeWindow.hide();
|
||||
|
||||
var node = {
|
||||
|
||||
iframeUrl: '~\\WeldMat\\UsingSentMat\\UsingMat.aspx?welderCode=' + data.d,
|
||||
title: "焊材领用",
|
||||
id: "UsingMat" + getFormattedDate()
|
||||
};
|
||||
|
||||
window.parent.addExampleTab(node);
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function getFormattedDate() {
|
||||
const now = new Date();
|
||||
const year = now.getFullYear();
|
||||
const month = String(now.getMonth() + 1).padStart(2, '0');
|
||||
const day = String(now.getDate()).padStart(2, '0');
|
||||
const hours = String(now.getHours()).padStart(2, '0');
|
||||
const minutes = String(now.getMinutes()).padStart(2, '0');
|
||||
const seconds = String(now.getSeconds()).padStart(2, '0');
|
||||
|
||||
return year + month + day + hours + minutes + seconds;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using SgManager.AI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
@@ -13,8 +14,7 @@ namespace FineUIPro.Web.WeldMat.UsingSentMat
|
||||
public partial class FaceRecognition : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
{
|
||||
}
|
||||
[WebMethod]
|
||||
public static string UploadData(string data)
|
||||
|
||||
Reference in New Issue
Block a user