2023-06-27

This commit is contained in:
2023-06-27 23:00:34 +08:00
parent c9f7be6f21
commit 81ac82f854
7 changed files with 84 additions and 13 deletions
@@ -5,10 +5,10 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<title>
Spire.Office
</title>
<style>
@@ -130,12 +130,13 @@
type: 'post',
data: {
'UrlStr': url,
'PCUrl': <%=PCUrl%>,
'PCUrl': '<%=PCUrl%>',
},
dataType: 'json',
async: false,
success: function (json) {
if (json.code == 200 || json.code == '200') {
console.log(json)
if (json.code == 1 || json.code == '1') {
alert('保存成功');
} else {
this.error(json, '保存失败');
@@ -157,7 +158,8 @@
type = "mobile";
}
};
var urlString = <%=BLL.Funs.SGGLUrl%>+<%=PCUrl%>, ;
/*var urlString = "https://cloud.e-iceblue.cn/demo/sample.docx";*/
var urlString = "<%=BLL.Funs.SGGLUrl%>"+"<%=PCUrl%>";
var arrfn = urlString.split(".");
var strp = arrfn[arrfn.length - 1];
var documentTypeValue = null;
@@ -64,8 +64,10 @@ namespace FineUIPro.Web.AttachFile
if (!IsPostBack)
{
UserId = Request.Params["UserId"];
// UserId = "C4A62EC0-E5D3-4EBF-A5FA-E56AA89633C0";
CanSave = Request.Params["CanSave"];
PCUrl = Request.Params["PCUrl"];
// PCUrl = "https://sggl.sedin.com.cn/FileUpLoad/K350-ZBJH-001.doc";
UserName=BLL.Person_PersonsService.GetPersonsNameById(UserId);
CanSave = "true";
}