修改隐藏

master
孙亮 5 months ago
parent 57c7da70ff
commit fc963301af

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8"/>
<link rel="icon" href="/DataUser/Icon/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>表单设计器</title>
<script type="module" crossorigin src="./assets/index-7877b66c.js"></script>
<link rel="stylesheet" href="./assets/index-987af491.css">
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="../../Scripts/config.js"></script>
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-f0601793.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-5a3ac9e7.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>

@ -5,8 +5,8 @@
<link rel="icon" href="/DataUser/Icon/favicon.ico"/> <link rel="icon" href="/DataUser/Icon/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>表单设计器</title> <title>表单设计器</title>
<script type="module" crossorigin src="./assets/index-7877b66c.js"></script> <script type="module" crossorigin src="./assets/index-0405623b.js"></script>
<link rel="stylesheet" href="./assets/index-987af491.css"> <link rel="stylesheet" href="./assets/index-77eb2fa2.css">
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script> <script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script> <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
</head> </head>
@ -15,7 +15,7 @@
<script type="text/javascript" src="../../Scripts/config.js"></script> <script type="text/javascript" src="../../Scripts/config.js"></script>
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script> <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-f0601793.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-bc6fb8fb.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-5a3ac9e7.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script> <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-a9cde092.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

@ -0,0 +1 @@
.preview[data-v-a2ecac73]{width:100%;height:100%}.preview .body[data-v-a2ecac73]{width:100%!important;height:100%!important}.preview .designer-wrapper[data-v-a2ecac73],.preview[data-v-a2ecac73] .dynamic-form{height:100%!important}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 92 KiB

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
import{X as a,_ as s}from"./DesignBody-278b8678.js";import{d as e,r as o,ao as t,ap as r,aq as d,K as i}from"./index-0405623b.js";const p={class:"preview"},c=s(e({setup(s){const e=o(!1);return i("editable",e),(s,e)=>(t(),r("div",p,[d(a)]))}}),[["__scopeId","data-v-a2ecac73"]]);export{c as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
System.register(["./DesignBody-legacy-b1102501.js","./index-legacy-a9cde092.js"],(function(e,t){"use strict";var a,c,i,r,d,n,s,o;return{setters:[e=>{a=e.X,c=e._},e=>{i=e.d,r=e.r,d=e.ao,n=e.ap,s=e.aq,o=e.K}],execute:function(){var t=document.createElement("style");t.textContent=".preview[data-v-a2ecac73]{width:100%;height:100%}.preview .body[data-v-a2ecac73]{width:100%!important;height:100%!important}.preview .designer-wrapper[data-v-a2ecac73],.preview[data-v-a2ecac73] .dynamic-form{height:100%!important}\n",document.head.appendChild(t);const p={class:"preview"};e("default",c(i({setup(e){const t=r(!1);return o("editable",t),(e,t)=>(d(),n("div",p,[s(a)]))}}),[["__scopeId","data-v-a2ecac73"]]))}}}));

File diff suppressed because one or more lines are too long

@ -17,6 +17,7 @@ using BP.WF.Template.SFlow;
using BP.WF.Template.Frm; using BP.WF.Template.Frm;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using System.Text.RegularExpressions;
namespace BP.WF.HttpHandler namespace BP.WF.HttpHandler
{ {
@ -667,9 +668,16 @@ namespace BP.WF.HttpHandler
{ {
if (gf.Lab.Equals("封面") == false) if (gf.Lab.Equals("封面") == false)
idx++; idx++;
if (rtfStr.Contains("<Group." + gf.OID + ">") == true) if (rtfStr.Contains("<Group." + gf.OID + ">") == true )
{ {
rtfStr = rtfStr.Replace("<Group." + gf.OID + ">", idx.ToString() + rtf.GetCode(gf.Lab)); if (!(wk.EnDesc.LastIndexOf("工艺卡") > 0))
{
rtfStr = rtfStr.Replace("<Group." + gf.OID + ">", idx.ToString() + rtf.GetCode(gf.Lab));
}
else {
rtfStr = rtfStr.Replace("<Group." + gf.OID + ">", "");
}
//递归获取下面的子级 //递归获取下面的子级
rtfStr = GetChildNodes(gf.OID, gfs, rtfStr, hidegroup, idx.ToString(), rtf,mapAttrs); rtfStr = GetChildNodes(gf.OID, gfs, rtfStr, hidegroup, idx.ToString(), rtf,mapAttrs);
} }
@ -780,7 +788,7 @@ namespace BP.WF.HttpHandler
foreach (FrmAttachment athDesc in aths) foreach (FrmAttachment athDesc in aths)
{ {
FrmAttachmentDBs athDBs = new FrmAttachmentDBs(); FrmAttachmentDBs athDBs = new FrmAttachmentDBs();
if (athDBs.Retrieve(FrmAttachmentDBAttr.FK_FrmAttachment, athDesc.MyPK, FrmAttachmentDBAttr.RefPKVal, newWorkID.ToString(), "RDT") == 0) if (athDBs.Retrieve(FrmAttachmentDBAttr.FK_FrmAttachment, athDesc.MyPK, FrmAttachmentDBAttr.RefPKVal, newWorkID.ToString(), "RDT") == 0 && Regex.IsMatch(hidegroup,@"\d+"))
{ {
rtfStr = GetRtfStr(rtfStr, "<Ath." + athDesc.NoOfObj + ".ImgAth>"); rtfStr = GetRtfStr(rtfStr, "<Ath." + athDesc.NoOfObj + ".ImgAth>");
rtfStr = GetRtfStr(rtfStr, "<Ath." + athDesc.NoOfObj + ">"); rtfStr = GetRtfStr(rtfStr, "<Ath." + athDesc.NoOfObj + ">");
@ -1039,6 +1047,11 @@ namespace BP.WF.HttpHandler
{ {
rtfStr = GetRtfStr(rtfStr, "<Group." + gf.OID + ">"); rtfStr = GetRtfStr(rtfStr, "<Group." + gf.OID + ">");
} }
//第一次没删干净,再删一次
if (rtfStr.Contains("<Group." + gf.OID + ">") == true)
{
rtfStr = GetRtfStr(rtfStr, "<Group." + gf.OID + ">");
}
//递归获取下面的子级 //递归获取下面的子级
rtfStr = GetChildNodes(gf.OID, gfs, rtfStr, hidegroup, parentIdx + "." + idx, rtf,mapAttrs); rtfStr = GetChildNodes(gf.OID, gfs, rtfStr, hidegroup, parentIdx + "." + idx, rtf,mapAttrs);
@ -1149,6 +1162,8 @@ namespace BP.WF.HttpHandler
{ {
row_start = rtfStr.Substring(0, pos_rowKey).LastIndexOf("\\row") + 5; row_start = rtfStr.Substring(0, pos_rowKey).LastIndexOf("\\row") + 5;
startStr = rtfStr.Substring( row_start, pos_rowKey); startStr = rtfStr.Substring( row_start, pos_rowKey);
//startStr = rtfStr.Substring(pos_rowKey, row_start);
if (startStr.Contains(gfName) == true || (DataType.IsNullOrEmpty(parentName)==false && startStr.Contains(parentName) == true)) if (startStr.Contains(gfName) == true || (DataType.IsNullOrEmpty(parentName)==false && startStr.Contains(parentName) == true))
{ {
row_start = rtfStr.Substring(0, pos_rowKey).LastIndexOf("\\par"); row_start = rtfStr.Substring(0, pos_rowKey).LastIndexOf("\\par");

Loading…
Cancel
Save