mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-23 21:14:12 +08:00
fixed
This commit is contained in:
parent
d8915837aa
commit
0d13bb2fa3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,12 +1,194 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "E:\\Projects\\xinwangdao\\2024-yumaijian\\detect\\",
|
||||
"Documents": [],
|
||||
"WorkspaceRootPath": "D:\\xwd\\cnnc\\detect\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\api\\system\\detecttaskapi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\api\\system\\detecttaskapi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\vwms\\mainwindowmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\vwms\\mainwindowmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\api\\apiservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\api\\apiservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\app.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\app.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\views\\webviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\views\\webviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\vws\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\vws\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\api\\system\\deviceapi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\api\\system\\deviceapi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\views\\webbrowserwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\views\\webbrowserwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|d:\\xwd\\cnnc\\detect\\detect.gui\\vws\\mainwindow.axaml||{52A100FB-4151-3710-80C3-8B555898AD56}",
|
||||
"RelativeMoniker": "D:0:0:{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}|detect.gui\\detect.gui.csproj|solutionrelative:detect.gui\\vws\\mainwindow.axaml||{52A100FB-4151-3710-80C3-8B555898AD56}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": []
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 5,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{269a02dc-6af8-11d3-bdc4-00c04f688e50}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindowModel.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\VWMS\\MainWindowModel.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\VWMS\\MainWindowModel.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\VWMS\\MainWindowModel.cs",
|
||||
"RelativeToolTip": "detect.gui\\VWMS\\MainWindowModel.cs",
|
||||
"ViewState": "AQIAAEQAAAAAAAAAAAAjwFgAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T09:02:45.805Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "ApiService.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\Api\\ApiService.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\Api\\ApiService.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\Api\\ApiService.cs",
|
||||
"RelativeToolTip": "detect.gui\\Api\\ApiService.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAA0AAAAXAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T09:02:28.714Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "DetectTaskApi.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\Api\\System\\DetectTaskApi.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\Api\\System\\DetectTaskApi.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\Api\\System\\DetectTaskApi.cs",
|
||||
"RelativeToolTip": "detect.gui\\Api\\System\\DetectTaskApi.cs",
|
||||
"ViewState": "AQIAACUAAAAAAAAAAAApwD0AAAArAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T08:24:16.318Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "DeviceApi.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\Api\\System\\DeviceApi.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\Api\\System\\DeviceApi.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\Api\\System\\DeviceApi.cs",
|
||||
"RelativeToolTip": "detect.gui\\Api\\System\\DeviceApi.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAADwvwAAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T08:24:10.666Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "WebBrowserWindow.axaml.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\Views\\WebBrowserWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\Views\\WebBrowserWindow.axaml.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\Views\\WebBrowserWindow.axaml.cs",
|
||||
"RelativeToolTip": "detect.gui\\Views\\WebBrowserWindow.axaml.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAADwvwAAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T08:08:34.127Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "App.axaml.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\App.axaml.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\App.axaml.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\App.axaml.cs",
|
||||
"RelativeToolTip": "detect.gui\\App.axaml.cs",
|
||||
"ViewState": "AQIAAAMAAAAAAAAAAADwvwAAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T08:08:06.972Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "MainWindow.axaml.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\VWS\\MainWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\VWS\\MainWindow.axaml.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\VWS\\MainWindow.axaml.cs",
|
||||
"RelativeToolTip": "detect.gui\\VWS\\MainWindow.axaml.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAoAAAAMAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T08:07:39.095Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"Title": "MainWindow.axaml",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\VWS\\MainWindow.axaml",
|
||||
"RelativeDocumentMoniker": "detect.gui\\VWS\\MainWindow.axaml",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\VWS\\MainWindow.axaml",
|
||||
"RelativeToolTip": "detect.gui\\VWS\\MainWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-12-26T08:07:35.601Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "WebViewService.cs",
|
||||
"DocumentMoniker": "D:\\xwd\\cnnc\\detect\\detect.gui\\Views\\WebViewService.cs",
|
||||
"RelativeDocumentMoniker": "detect.gui\\Views\\WebViewService.cs",
|
||||
"ToolTip": "D:\\xwd\\cnnc\\detect\\detect.gui\\Views\\WebViewService.cs",
|
||||
"RelativeToolTip": "detect.gui\\Views\\WebViewService.cs",
|
||||
"ViewState": "AQIAAL8AAAAAAAAAAAApwNUAAAAEAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-26T08:04:34.618Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"DockedWidth": 1858,
|
||||
"SelectedChildIndex": -1,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:11:0:{e8034f19-ab72-4f06-83fd-f6832b41aa63}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -4,6 +4,15 @@ using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Splat;
|
||||
using System.IO;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Encodings.Web;
|
||||
using System.Text.Json;
|
||||
using System.Text.Unicode;
|
||||
using SystemDrawing = System.Drawing;
|
||||
using detect.gui.Models;
|
||||
using Tesseract;
|
||||
|
||||
namespace detect.gui.Api.System;
|
||||
|
||||
@ -33,5 +42,121 @@ public class DetectTaskApi
|
||||
// delete
|
||||
webApp?.MapDelete("/v1/data/task/{id:long}", ([FromRoute] long id) =>
|
||||
Locator.Current.GetService<DetectTaskService>()!.DeleteById(id));
|
||||
|
||||
// ocr
|
||||
webApp?.MapPost("/v1/data/task/ocr/", ([FromBody] string base64ImageString) => ImportImageOCR(base64ImageString));
|
||||
}
|
||||
|
||||
private ApiResponse<string?> ImportImageOCR(string base64ImageString)
|
||||
{
|
||||
var fileName = DateTime.Now.ToString("yyyyMMddHHmmss");
|
||||
fileName = GetImage(base64ImageString, fileName);
|
||||
var result = "";
|
||||
using (var ocrEngine = new TesseractEngine(@".", "chi_sim", EngineMode.Default))
|
||||
{
|
||||
using (var img = Pix.LoadFromFile(fileName))
|
||||
{
|
||||
using (var page = ocrEngine.Process(img))
|
||||
{
|
||||
var text = page.GetText().Replace("\n\n", "");
|
||||
var start = text.IndexOf('\n');
|
||||
if (start < 0) return new ApiResponse<string?>(0, "success", result);
|
||||
text = text.Substring(start).Replace("”", "").Replace("|", "");
|
||||
while (text.Contains(" "))
|
||||
{
|
||||
text = text.Replace(" ", " ");
|
||||
}
|
||||
|
||||
var lines = text.Split('\n');
|
||||
var data = new List<dynamic>();
|
||||
foreach (var line in lines)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(line)) continue;
|
||||
var items = line.Split(" ");
|
||||
try
|
||||
{
|
||||
data.Add(new
|
||||
{
|
||||
code = items[1],
|
||||
type = items[2],
|
||||
x = items[3],
|
||||
y = items[4],
|
||||
center = items[5],
|
||||
w = items[2].Split("x")[0],
|
||||
h = items[2].Split("x")[1],
|
||||
});
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (data.Count > 0)
|
||||
result = JsonSerializer.Serialize(data,
|
||||
new JsonSerializerOptions
|
||||
{ WriteIndented = true, Encoder = JavaScriptEncoder.Create(UnicodeRanges.All) });
|
||||
}
|
||||
}
|
||||
}
|
||||
return new ApiResponse<string?>(0, "success", result);
|
||||
}
|
||||
|
||||
private string GetImage(string base64ImageString, string fileName)
|
||||
{
|
||||
var imageType = SystemDrawing.Imaging.ImageFormat.Gif;
|
||||
if (base64ImageString.IndexOf("data:image/jpeg", StringComparison.Ordinal) >= 0)
|
||||
{
|
||||
imageType = SystemDrawing.Imaging.ImageFormat.Jpeg;
|
||||
base64ImageString = base64ImageString.Replace("data:image/jpeg;base64,", "");
|
||||
fileName += ".jpg";
|
||||
}
|
||||
|
||||
if (base64ImageString.IndexOf("data:image/png", StringComparison.Ordinal) >= 0)
|
||||
{
|
||||
imageType = SystemDrawing.Imaging.ImageFormat.Png;
|
||||
base64ImageString = base64ImageString.Replace("data:image/png;base64,", "");
|
||||
fileName += ".png";
|
||||
}
|
||||
|
||||
if (base64ImageString.IndexOf("data:image/bmp", StringComparison.Ordinal) >= 0)
|
||||
{
|
||||
imageType = SystemDrawing.Imaging.ImageFormat.Bmp;
|
||||
base64ImageString = base64ImageString.Replace("data:image/bmp;base64,", "");
|
||||
fileName += ".bmp";
|
||||
}
|
||||
|
||||
if (Equals(imageType, SystemDrawing.Imaging.ImageFormat.Gif))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var imageBytes = Convert.FromBase64String(base64ImageString.Replace("data:image/jpeg;base64,", ""));
|
||||
using var ms = new MemoryStream(imageBytes);
|
||||
var image = SystemDrawing.Image.FromStream(ms);
|
||||
using (var bmpStream = new MemoryStream())
|
||||
{
|
||||
image.Save(bmpStream, imageType);
|
||||
var bmpBytes = bmpStream.ToArray();
|
||||
File.WriteAllBytes(fileName, bmpBytes);
|
||||
}
|
||||
|
||||
image.Dispose();
|
||||
return fileName;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
// class ParamEntity
|
||||
// {
|
||||
// public string? code { get; set; }
|
||||
// public string? type { get; set; }
|
||||
// public string? x { get; set; }
|
||||
// public string? y { get; set; }
|
||||
// public string? center { get; set; }
|
||||
// }
|
||||
}
|
@ -1 +0,0 @@
|
||||
var V=Object.defineProperty,T=Object.defineProperties;var G=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var M=(e,t,r)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,C=(e,t)=>{for(var r in t||(t={}))L.call(t,r)&&M(e,r,t[r]);if($)for(var r of $(t))O.call(t,r)&&M(e,r,t[r]);return e},I=(e,t)=>T(e,G(t));var P=(e,t,r)=>new Promise((h,d)=>{var g=l=>{try{f(r.next(l))}catch(c){d(c)}},p=l=>{try{f(r.throw(l))}catch(c){d(c)}},f=l=>l.done?h(l.value):Promise.resolve(l.value).then(g,p);f((r=r.apply(e,t)).next())});import{d as z,f as F,S as X,h as Z,Z as _,_ as A,k as j,a5 as E,a1 as q,a6 as y,a4 as S,a8 as H,a0 as w,G as J}from"./vue-72a104e4.js";import{I as K,p as Q,u as U,A as W,k as Y,t as x,i as ee,R as te,a1 as ne,F as ae,aV as re,_ as se}from"./index.js";import{aX as D}from"./antd-029ed741.js";const oe=z({name:"LayoutBreadcrumb",components:{Icon:K,[D.name]:D},props:{theme:Q.oneOf(["dark","light"])},setup(){const e=F([]),{currentRoute:t}=X(),{prefixCls:r}=U("layout-breadcrumb"),{getShowBreadCrumbIcon:h}=W(),d=Y(),{t:g}=x();Z(()=>P(this,null,function*(){var k,B,R;if(t.value.name===te)return;const s=yield ne(),n=t.value.matched,a=n==null?void 0:n[n.length-1];let o=t.value.path;a&&((k=a==null?void 0:a.meta)!=null&&k.currentActiveMenu)&&(o=a.meta.currentActiveMenu);const u=ae(s,o),m=s.filter(N=>N.path===u[0]),i=p(m,u);if(!i||i.length===0)return;const v=f(i);(B=t.value.meta)!=null&&B.currentActiveMenu&&v.push(I(C({},t.value),{name:((R=t.value.meta)==null?void 0:R.title)||t.value.name})),e.value=v}));function p(s,n){const a=[];return s.forEach(o=>{var u,m;n.includes(o.path)&&a.push(I(C({},o),{name:((u=o.meta)==null?void 0:u.title)||o.name})),(m=o.children)!=null&&m.length&&a.push(...p(o.children,n))}),a}function f(s){return re(s,n=>{const{meta:a,name:o}=n;if(!a)return!!o;const{title:u,hideBreadcrumb:m,hideMenu:i}=a;return!(!u||m||i)}).filter(n=>{var a;return!((a=n.meta)!=null&&a.hideBreadcrumb)})}function l(s,n,a){a==null||a.preventDefault();const{children:o,redirect:u,meta:m}=s;if(o!=null&&o.length&&!u){a==null||a.stopPropagation();return}if(!(m!=null&&m.carryParam))if(u&&ee(u))d(u);else{let i="";n.length===1?i=n[0]:i=`${n.slice(1).pop()||""}`,i=/^\//.test(i)?i:`/${i}`,d(i)}}function c(s,n){return s.indexOf(n)!==s.length-1}function b(s){var n;return s.icon||((n=s.meta)==null?void 0:n.icon)}return{routes:e,t:g,prefixCls:r,getIcon:b,getShowBreadCrumbIcon:h,handleClick:l,hasRedirect:c}}});const ce={key:1};function ie(e,t,r,h,d,g){const p=y("Icon"),f=y("router-link"),l=y("a-breadcrumb");return _(),A("div",{class:q([e.prefixCls,`${e.prefixCls}--${e.theme}`])},[j(l,{routes:e.routes},{itemRender:E(({route:c,routes:b,paths:s})=>[e.getShowBreadCrumbIcon&&e.getIcon(c)?(_(),S(p,{key:0,icon:e.getIcon(c)},null,8,["icon"])):H("",!0),e.hasRedirect(b,c)?(_(),S(f,{key:2,to:"",onClick:n=>e.handleClick(c,s,n)},{default:E(()=>[J(w(e.t(c.name||c.meta.title)),1)]),_:2},1032,["onClick"])):(_(),A("span",ce,w(e.t(c.name||c.meta.title)),1))]),_:1},8,["routes"])],2)}const de=se(oe,[["render",ie]]);export{de as default};
|
@ -1 +0,0 @@
|
||||
import{I as i,p as s,_ as u}from"./index.js";import{q as d}from"./antd-029ed741.js";import{d as l,g as _,c as f,Z as I,a4 as y,a5 as k,a6 as a,$ as r,k as g,a0 as M}from"./vue-72a104e4.js";const $=l({name:"DropdownMenuItem",components:{MenuItem:d.Item,Icon:i},props:{key:s.string,text:s.string,icon:s.string},setup(e){const n=_();return{itemKey:f(()=>{var t,o;return e.key||((o=(t=n==null?void 0:n.vnode)==null?void 0:t.props)==null?void 0:o.key)})}}}),x={class:"flex items-center"};function C(e,n,c,t,o,h){const p=a("Icon"),m=a("MenuItem");return I(),y(m,{key:e.itemKey},{default:k(()=>[r("span",x,[g(p,{icon:e.icon,class:"mr-1"},null,8,["icon"]),r("span",null,M(e.text),1)])]),_:1})}const v=u($,[["render",C]]);export{v as default};
|
@ -1 +0,0 @@
|
||||
import{I as l,ba as m,t as d,v as _,_ as f}from"./index.js";import{d as g,S as E,c as C,Z as L,a4 as h,a5 as a,a6 as e,k as c}from"./vue-72a104e4.js";import{T,au as k}from"./antd-029ed741.js";const B=g({name:"ErrorAction",components:{Icon:l,Tooltip:T,Badge:k},setup(){const{t:o}=d(),{push:n}=E(),t=m(),r=C(()=>t.getErrorLogListCount);function s(){n(_.ERROR_LOG_PAGE).then(()=>{t.setErrorLogListCount(0)})}return{t:o,getCount:r,handleToErrorList:s}}});function I(o,n,t,r,s,R){const u=e("Icon"),i=e("Badge"),p=e("Tooltip");return L(),h(p,{title:o.t("layout.header.tooltipErrorLog"),placement:"bottom",mouseEnterDelay:.5,onClick:o.handleToErrorList},{default:a(()=>[c(i,{count:o.getCount,offset:[0,10],overflowCount:99},{default:a(()=>[c(u,{icon:"ion:bug-outline"})]),_:1},8,["count"])]),_:1},8,["title","onClick"])}const A=f(B,[["render",I]]);export{A as default};
|
@ -1 +0,0 @@
|
||||
import{E as e,k as R,q as N,t as O,u as S,v as m}from"./index.js";import{d as A,f as k,ai as G,c as _,u as s,k as r}from"./vue-72a104e4.js";import{B as h,V as P}from"./antd-029ed741.js";const v=""+new URL("no-data-f7e550cc.svg",import.meta.url).href,C=""+new URL("net-error-61b7e6df.svg",import.meta.url).href,B=A({name:"ErrorPage",props:{status:{type:Number,default:e.PAGE_NOT_FOUND},title:{type:String,default:""},subTitle:{type:String,default:""},full:{type:Boolean,default:!1}},setup(n){const o=k(new Map),{query:p}=G(),a=R(),c=N(),{t}=O(),{prefixCls:d}=S("app-exception-page"),E=_(()=>{const{status:l}=p,{status:i}=n;return Number(l)||i}),x=_(()=>s(o).get(s(E))),T=t("sys.exception.backLogin"),u=t("sys.exception.backHome");return s(o).set(e.PAGE_NOT_ACCESS,{title:"403",status:`${e.PAGE_NOT_ACCESS}`,subTitle:t("sys.exception.subTitle403"),btnText:n.full?T:u,handler:()=>n.full?a(m.BASE_LOGIN):a()}),s(o).set(e.PAGE_NOT_FOUND,{title:"404",status:`${e.PAGE_NOT_FOUND}`,subTitle:t("sys.exception.subTitle404"),btnText:n.full?T:u,handler:()=>n.full?a(m.BASE_LOGIN):a()}),s(o).set(e.ERROR,{title:"500",status:`${e.ERROR}`,subTitle:t("sys.exception.subTitle500"),btnText:u,handler:()=>a()}),s(o).set(e.PAGE_NOT_DATA,{title:t("sys.exception.noDataTitle"),subTitle:"",btnText:t("common.redo"),handler:()=>c(),icon:v}),s(o).set(e.NET_WORK_ERROR,{title:t("sys.exception.networkErrorTitle"),subTitle:t("sys.exception.networkErrorSubTitle"),btnText:t("common.redo"),handler:()=>c(),icon:C}),()=>{const{title:l,subTitle:i,btnText:b,icon:f,handler:g,status:y}=s(x)||{};return r(P,{class:d,status:y,title:n.title||l,"sub-title":n.subTitle||i},{extra:()=>b&&r(h,{type:"primary",onClick:g},{default:()=>b}),icon:()=>f?r("img",{src:f},null):null})}}});export{B as default};
|
@ -1 +0,0 @@
|
||||
import{u as r,_ as o}from"./index.js";import{b as p}from"./index-a4e9ab9a.js";import{d as m,Z as i,_ as u,$ as c,a0 as l,k as _,a9 as d,a1 as f,a6 as b}from"./vue-72a104e4.js";import{ac as g}from"./antd-029ed741.js";import"./index-e0942325.js";import"./index-fb47a899.js";import"./index-dee58fb5.js";import"./index-b210030c.js";import"./useContentViewHeight-f46e6f8d.js";import"./useWindowSizeFn-46f0db92.js";import"./lock-ba03254e.js";const C=m({name:"InputNumberItem",components:{InputNumber:g},props:{event:{type:Number},title:{type:String}},setup(e){const{prefixCls:t}=r("setting-input-number-item");function n(s){e.event&&p(e.event,s)}return{prefixCls:t,handleChange:n}}});function I(e,t,n,s,N,v){const a=b("InputNumber");return i(),u("div",{class:f(e.prefixCls)},[c("span",null,l(e.title),1),_(a,d(e.$attrs,{size:"small",class:`${e.prefixCls}-input-number`,onChange:e.handleChange}),null,16,["class","onChange"])],2)}const H=o(C,[["render",I],["__scopeId","data-v-7ccf252c"]]);export{H as default};
|
@ -1 +0,0 @@
|
||||
var f=(e,d,o)=>new Promise((p,r)=>{var m=s=>{try{a(o.next(s))}catch(n){r(n)}},t=s=>{try{a(o.throw(s))}catch(n){r(n)}},a=s=>s.done?p(s.value):Promise.resolve(s.value).then(m,t);a((o=o.apply(e,d)).next())});import{u as $,am as w,t as y,_ as F}from"./index.js";import{B as L,a as M}from"./index-5157bbb9.js";import{B as S,u as I}from"./useForm-9b8a2c16.js";import{u as N}from"./lock-ba03254e.js";import{h as R}from"./header-b90f4bbc.js";import{d as b,c as _,Z as P,a4 as U,a5 as g,a9 as V,a6 as u,$ as c,a1 as i,a0 as k,k as h,G as D}from"./vue-72a104e4.js";import"./antd-029ed741.js";import"./useWindowSizeFn-46f0db92.js";import"./copyTextToClipboard-8577151f.js";const G=b({name:"LockModal",components:{BasicModal:L,BasicForm:S},setup(){const{t:e}=y(),{prefixCls:d}=$("header-lock-modal"),o=w(),p=N(),r=_(()=>{var l;return(l=o.getUserInfo)==null?void 0:l.realName}),[m,{closeModal:t}]=M(),[a,{validateFields:s,resetFields:n}]=I({showActionButtonGroup:!1,schemas:[{field:"password",label:e("layout.header.lockScreenPassword"),colProps:{span:24},component:"InputPassword",required:!0}]});function v(){return f(this,null,function*(){const C=(yield s()).password;t(),p.setLockInfo({isLock:!0,pwd:C}),yield n()})}const B=_(()=>{const{avatar:l}=o.getUserInfo;return l||R});return{t:e,prefixCls:d,getRealName:r,register:m,registerForm:a,handleLock:v,avatar:B}}});const q=["src"];function z(e,d,o,p,r,m){const t=u("BasicForm"),a=u("a-button"),s=u("BasicModal");return P(),U(s,V({footer:null,title:e.t("layout.header.lockScreen")},e.$attrs,{class:e.prefixCls,onRegister:e.register}),{default:g(()=>[c("div",{class:i(`${e.prefixCls}__entry`)},[c("div",{class:i(`${e.prefixCls}__header`)},[c("img",{src:e.avatar,class:i(`${e.prefixCls}__header-img`)},null,10,q),c("p",{class:i(`${e.prefixCls}__header-name`)},k(e.getRealName),3)],2),h(t,{onRegister:e.registerForm},null,8,["onRegister"]),c("div",{class:i(`${e.prefixCls}__footer`)},[h(a,{type:"primary",block:"",class:"mt-2",onClick:e.handleLock},{default:g(()=>[D(k(e.t("layout.header.lockScreenBtn")),1)]),_:1},8,["onClick"])],2)],2)]),_:1},16,["title","class","onRegister"])}const W=F(G,[["render",z]]);export{W as default};
|
@ -1 +0,0 @@
|
||||
var q=Object.defineProperty,E=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var P=(l,a,e)=>a in l?q(l,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[a]=e,U=(l,a)=>{for(var e in a||(a={}))G.call(a,e)&&P(l,e,a[e]);if(N)for(var e of N(a))R.call(a,e)&&P(l,e,a[e]);return l},z=(l,a)=>E(l,F(a));var D=(l,a,e)=>new Promise((i,m)=>{var u=r=>{try{f(e.next(r))}catch(_){m(_)}},s=r=>{try{f(e.throw(r))}catch(_){m(_)}},f=r=>r.done?i(r.value):Promise.resolve(r.value).then(u,s);f((e=e.apply(l,a)).next())});import{r as Z,I as J,d as K,f as k,c as Q,a6 as W,Z as V,_ as j,m as h,A as g,$ as n,k as p,u as t,a0 as o,a1 as c,a5 as w,a8 as X,G as b,q as Y}from"./vue-72a104e4.js";import{an as ee,ao as te,ap as se,u as ae,am as ne,t as oe,_ as le}from"./index.js";import{u as re}from"./lock-ba03254e.js";import{h as ce}from"./header-b90f4bbc.js";import{w as ie,a8 as ue}from"./antd-029ed741.js";function de(l=!0){let a;const e=Z({year:0,month:0,week:"",day:0,hour:"",minute:"",second:0,meridiem:""}),i=()=>{const s=se(),f=s.format("HH"),r=s.format("mm"),_=s.get("s");e.year=s.get("y"),e.month=s.get("M")+1,e.week="星期"+["日","一","二","三","四","五","六"][s.day()],e.day=s.get("date"),e.hour=f,e.minute=r,e.second=_,e.meridiem=s.format("A")};function m(){i(),clearInterval(a),a=setInterval(()=>i(),1e3)}function u(){clearInterval(a)}return ee(()=>{l&&m()}),te(()=>{u()}),z(U({},J(e)),{start:m,stop:u})}const me={class:"flex w-screen h-screen justify-center items-center"},fe=["src"],_e={class:"absolute bottom-5 w-full text-gray-300 xl:text-xl 2xl:text-3xl text-center enter-y"},ve={class:"text-5xl mb-4 enter-x"},pe={class:"text-3xl"},xe={class:"text-2xl"},ye=K({__name:"LockPage",setup(l){const a=ie.Password,e=k(""),i=k(!1),m=k(!1),u=k(!0),{prefixCls:s}=ae("lock-page"),f=re(),r=ne(),{hour:_,month:B,minute:I,meridiem:C,year:M,day:O,week:T}=de(!0),{t:v}=oe(),L=Q(()=>r.getUserInfo||{});function A(){return D(this,null,function*(){if(!e.value)return;let x=e.value;try{i.value=!0;const d=yield f.unLock(x);m.value=!d}finally{i.value=!1}})}function H(){r.logout(!0),f.resetLockInfo()}function S(x=!1){u.value=x}return(x,d)=>{const $=W("a-button");return V(),j("div",{class:c([t(s),"fixed inset-0 flex h-screen w-screen bg-black items-center justify-center"])},[h(n("div",{class:c([`${t(s)}__unlock`,"absolute top-0 left-1/2 flex pt-5 h-16 items-center justify-center sm:text-md xl:text-xl text-white flex-col cursor-pointer transform translate-x-1/2"]),onClick:d[0]||(d[0]=y=>S(!1))},[p(t(ue)),n("span",null,o(t(v)("sys.lock.unlock")),1)],2),[[g,u.value]]),n("div",me,[n("div",{class:c([`${t(s)}__hour`,"relative mr-5 md:mr-20 w-2/5 h-2/5 md:h-4/5"])},[n("span",null,o(t(_)),1),h(n("span",{class:"meridiem absolute left-5 top-5 text-md xl:text-xl"},o(t(C)),513),[[g,u.value]])],2),n("div",{class:c(`${t(s)}__minute w-2/5 h-2/5 md:h-4/5 `)},[n("span",null,o(t(I)),1)],2)]),p(Y,{name:"fade-slide"},{default:w(()=>[h(n("div",{class:c(`${t(s)}-entry`)},[n("div",{class:c(`${t(s)}-entry-content`)},[n("div",{class:c(`${t(s)}-entry__header enter-x`)},[n("img",{src:L.value.avatar||t(ce),class:c(`${t(s)}-entry__header-img`)},null,10,fe),n("p",{class:c(`${t(s)}-entry__header-name`)},o(L.value.realName),3)],2),p(t(a),{placeholder:t(v)("sys.lock.placeholder"),class:"enter-x",value:e.value,"onUpdate:value":d[1]||(d[1]=y=>e.value=y)},null,8,["placeholder","value"]),m.value?(V(),j("span",{key:0,class:c(`${t(s)}-entry__err-msg enter-x`)},o(t(v)("sys.lock.alert")),3)):X("",!0),n("div",{class:c(`${t(s)}-entry__footer enter-x`)},[p($,{type:"link",size:"small",class:"mt-2 mr-2 enter-x",disabled:i.value,onClick:d[2]||(d[2]=y=>S(!0))},{default:w(()=>[b(o(t(v)("common.back")),1)]),_:1},8,["disabled"]),p($,{type:"link",size:"small",class:"mt-2 mr-2 enter-x",disabled:i.value,onClick:H},{default:w(()=>[b(o(t(v)("sys.lock.backToLogin")),1)]),_:1},8,["disabled"]),p($,{class:"mt-2",type:"link",size:"small",onClick:d[3]||(d[3]=y=>A()),loading:i.value},{default:w(()=>[b(o(t(v)("sys.lock.entry")),1)]),_:1},8,["loading"])],2)],2)],2),[[g,!u.value]])]),_:1}),n("div",_e,[h(n("div",ve,[b(o(t(_))+":"+o(t(I))+" ",1),n("span",pe,o(t(C)),1)],512),[[g,!u.value]]),n("div",xe,o(t(M))+"/"+o(t(B))+"/"+o(t(O))+" "+o(t(T)),1)])],2)}}});const Ie=le(ye,[["__scopeId","data-v-2d9ecb11"]]);export{Ie as default};
|
@ -1 +0,0 @@
|
||||
import{u as l,_ as i}from"./index.js";import{b as r}from"./index-a4e9ab9a.js";import{d,c as p,Z as m,_ as c,$ as u,a0 as f,k as _,a9 as g,a1 as y,a6 as C}from"./vue-72a104e4.js";import{ad as S}from"./antd-029ed741.js";import"./index-e0942325.js";import"./index-fb47a899.js";import"./index-dee58fb5.js";import"./index-b210030c.js";import"./useContentViewHeight-f46e6f8d.js";import"./useWindowSizeFn-46f0db92.js";import"./lock-ba03254e.js";const b=d({name:"SelectItem",components:{Select:S},props:{event:{type:Number},disabled:{type:Boolean},title:{type:String},def:{type:[String,Number]},initValue:{type:[String,Number]},options:{type:Array,default:()=>[]}},setup(e){const{prefixCls:t}=l("setting-select-item"),a=p(()=>e.def?{value:e.def,defaultValue:e.initValue||e.def}:{});function n(s){e.event&&r(e.event,s)}return{prefixCls:t,handleChange:n,getBindValue:a}}});function v(e,t,a,n,s,h){const o=C("Select");return m(),c("div",{class:y(e.prefixCls)},[u("span",null,f(e.title),1),_(o,g(e.getBindValue,{class:`${e.prefixCls}-select`,onChange:e.handleChange,disabled:e.disabled,size:"small",options:e.options}),null,16,["class","onChange","disabled","options"])],2)}const P=i(b,[["render",v],["__scopeId","data-v-d811fa90"]]);export{P as default};
|
@ -1 +0,0 @@
|
||||
import{Y as y,u as k,ag as b,am as h,z as O,t as R,ak as f,b4 as M,b5 as v,b6 as B,o as T,_ as A}from"./index.js";import{c as $}from"./copyTextToClipboard-8577151f.js";import{b0 as x,a4 as F}from"./antd-029ed741.js";import{d as N,u as P,Z as j,_ as w,k as o,a5 as c,a1 as z,a6 as i,G as u,a0 as d}from"./vue-72a104e4.js";const D=N({name:"SettingFooter",components:{CopyOutlined:x,RedoOutlined:F},setup(){const e=y(),{prefixCls:p}=k("setting-footer"),{t:s}=R(),{createSuccessModal:g,createMessage:a}=T(),m=b(),r=h(),t=O();function n(){$(JSON.stringify(P(t.getProjectConfig),null,2),null),g({title:s("layout.setting.operatingTitle"),content:s("layout.setting.operatingContent")})}function C(){try{t.setProjectConfig(f);const{colorWeak:l,grayMode:S}=f;M(),v(l),B(S),a.success(s("layout.setting.resetSuccess"))}catch(l){a.error(l)}}function _(){localStorage.clear(),t.resetAllState(),e.resetState(),m.resetState(),r.resetState(),location.reload()}return{prefixCls:p,t:s,handleCopy:n,handleResetSetting:C,handleClearAndRedo:_}}});function G(e,p,s,g,a,m){const r=i("CopyOutlined"),t=i("a-button"),n=i("RedoOutlined");return j(),w("div",{class:z(e.prefixCls)},[o(t,{type:"primary",block:"",onClick:e.handleCopy},{default:c(()=>[o(r,{class:"mr-2"}),u(" "+d(e.t("layout.setting.copyBtn")),1)]),_:1},8,["onClick"]),o(t,{color:"warning",block:"",onClick:e.handleResetSetting,class:"my-3"},{default:c(()=>[o(n,{class:"mr-2"}),u(" "+d(e.t("common.resetText")),1)]),_:1},8,["onClick"]),o(t,{color:"error",block:"",onClick:e.handleClearAndRedo},{default:c(()=>[o(n,{class:"mr-2"}),u(" "+d(e.t("layout.setting.clearBtn")),1)]),_:1},8,["onClick"])],2)}const J=A(D,[["render",G],["__scopeId","data-v-40d284fb"]]);export{J as default};
|
@ -1 +0,0 @@
|
||||
import{u as r,t as d,_ as l}from"./index.js";import{b as c}from"./index-a4e9ab9a.js";import{d as p,c as m,Z as f,_ as h,$ as u,a0 as _,k as C,a9 as g,a1 as b,a6 as y}from"./vue-72a104e4.js";import{af as k}from"./antd-029ed741.js";import"./index-e0942325.js";import"./index-fb47a899.js";import"./index-dee58fb5.js";import"./index-b210030c.js";import"./useContentViewHeight-f46e6f8d.js";import"./useWindowSizeFn-46f0db92.js";import"./lock-ba03254e.js";const v=p({name:"SwitchItem",components:{Switch:k},props:{event:{type:Number},disabled:{type:Boolean},title:{type:String},def:{type:Boolean}},setup(e){const{prefixCls:t}=r("setting-switch-item"),{t:n}=d(),a=m(()=>e.def?{checked:e.def}:{});function o(s){e.event&&c(e.event,s)}return{prefixCls:t,t:n,handleChange:o,getBindValue:a}}});function S(e,t,n,a,o,s){const i=y("Switch");return f(),h("div",{class:b(e.prefixCls)},[u("span",null,_(e.title),1),C(i,g(e.getBindValue,{onChange:e.handleChange,disabled:e.disabled,checkedChildren:e.t("layout.setting.on"),unCheckedChildren:e.t("layout.setting.off")}),null,16,["onChange","disabled","checkedChildren","unCheckedChildren"])],2)}const Z=l(v,[["render",S],["__scopeId","data-v-0f0bf616"]]);export{Z as default};
|
@ -1 +0,0 @@
|
||||
import{u as p,_ as m}from"./index.js";import{b as c}from"./index-a4e9ab9a.js";import{d,Z as n,_ as r,F as u,a7 as _,a1 as a,a6 as f,ad as C,k}from"./vue-72a104e4.js";import{al as h}from"./antd-029ed741.js";import"./index-e0942325.js";import"./index-fb47a899.js";import"./index-dee58fb5.js";import"./index-b210030c.js";import"./useContentViewHeight-f46e6f8d.js";import"./useWindowSizeFn-46f0db92.js";import"./lock-ba03254e.js";const v=d({name:"ThemeColorPicker",components:{CheckOutlined:h},props:{colorList:{type:Array,default:()=>[]},event:{type:Number},def:{type:String}},setup(e){const{prefixCls:o}=p("setting-theme-picker");function s(i){e.event&&c(e.event,i)}return{prefixCls:o,handleClick:s}}});const y=["onClick"];function $(e,o,s,i,g,b){const l=f("CheckOutlined");return n(),r("div",{class:a(e.prefixCls)},[(n(!0),r(u,null,_(e.colorList||[],t=>(n(),r("span",{key:t,onClick:L=>e.handleClick(t),class:a([`${e.prefixCls}__item`,{[`${e.prefixCls}__item--active`]:e.def===t}]),style:C({background:t})},[k(l)],14,y))),128))],2)}const E=m(v,[["render",$]]);export{E as default};
|
@ -1 +0,0 @@
|
||||
import{u as p,_ as l}from"./index.js";import{d,Z as s,_ as a,F as c,a7 as u,a1 as o,a6 as _,a4 as f,a5 as m,$ as r}from"./vue-72a104e4.js";import{T as y}from"./antd-029ed741.js";const C=d({name:"MenuTypePicker",components:{Tooltip:y},props:{menuTypeList:{type:Array,default:()=>[]},handler:{type:Function,default:()=>({})},def:{type:String,default:""}},setup(){const{prefixCls:e}=p("setting-menu-type-picker");return{prefixCls:e}}});const k=["onClick"];function $(e,n,v,T,g,b){const i=_("Tooltip");return s(),a("div",{class:o(e.prefixCls)},[(s(!0),a(c,null,u(e.menuTypeList||[],t=>(s(),f(i,{key:t.title,title:t.title,placement:"bottom"},{default:m(()=>[r("div",{onClick:x=>e.handler(t),class:o([`${e.prefixCls}__item`,`${e.prefixCls}__item--${t.type}`,{[`${e.prefixCls}__item--active`]:e.def===t.type}])},n[0]||(n[0]=[r("div",{class:"mix-sidebar"},null,-1)]),10,k)]),_:2},1032,["title"]))),128))],2)}const L=l(C,[["render",$],["__scopeId","data-v-e25c4abd"]]);export{L as default};
|
516
detect.gui/Embedded/dist/assets/antd-029ed741.js
vendored
516
detect.gui/Embedded/dist/assets/antd-029ed741.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{f as o}from"./antd-029ed741.js";function n(s,e="已成功复制到剪切板!"){navigator.clipboard.writeText(s).then(function(){e&&o.success(e)},function(t){o.error("复制失败!"+t.message)})}export{n as c};
|
@ -1 +0,0 @@
|
||||
import{d as D,ai as I,f as $,o as w,c as F,a6 as _,Z as r,a4 as c,a5 as l,k as i,u as a,G as y,_ as u,F as f,a7 as G,a0 as H}from"./vue-72a104e4.js";import{m as L,_ as N}from"./index.js";import{d as P}from"./schema-9d07929f.js";import{g as R}from"./authorityApi-b12c1221.js";import{G as S,H as v,U as V}from"./antd-029ed741.js";const A={key:0},E=D({__name:"detail",setup(M){var p;const m=I(),g=$((p=m.params)==null?void 0:p.id),k=m.meta.title,{state:d,isReady:b,isLoading:x,execute:C}=L(R(g.value).then(s=>s),null,{immediate:!1});w(()=>{C()});const B=F(()=>b.value?P.map(({title:e,dataIndex:o="",customRender:n})=>({key:o,title:e,value:n?n({text:d.value[o],record:d.value}):d.value[o]})):{});return(s,e)=>{const o=_("a-button"),n=_("Image");return r(),c(a(V),{bordered:!1,loading:a(x)},{default:l(()=>[i(a(S),{title:a(k),onBack:e[1]||(e[1]=()=>s.$router.go(-1))},{extra:l(()=>[i(o,{type:"primary",onClick:e[0]||(e[0]=t=>s.$router.go(-1))},{default:l(()=>e[2]||(e[2]=[y("返回上一页面")])),_:1})]),_:1},8,["title"]),i(a(v),{bordered:"",column:3},{default:l(()=>[(r(!0),u(f,null,G(B.value,t=>(r(),c(a(v).Item,{key:t.key,label:t.title,span:["avatar"].includes(t.key)?3:1},{default:l(()=>[t.key==="avatar"?(r(),u("span",A,[i(n,{style:{width:"100px"},src:t.value},null,8,["src"])])):(r(),u(f,{key:1},[y(H(t.value),1)],64))]),_:2},1032,["label","span"]))),128))]),_:1})]),_:1},8,["loading"])}}});const z=N(E,[["__scopeId","data-v-d041459a"]]);export{z as default};
|
@ -1 +0,0 @@
|
||||
import{d as D,ai as I,f as $,o as w,c as F,a6 as p,Z as l,a4 as _,a5 as n,k as i,u as a,G as y,_ as u,F as f,a7 as G,a0 as H}from"./vue-72a104e4.js";import{m as L,_ as N}from"./index.js";import{g as P,d as R}from"./userAuthorityApi-5e5c6315.js";import{G as S,H as v,U as V}from"./antd-029ed741.js";const A={key:0},E=D({__name:"detail",setup(M){var m;const c=I(),g=$((m=c.params)==null?void 0:m.id),k=c.meta.title,{state:d,isReady:b,isLoading:x,execute:C}=L(P(g.value).then(s=>s),null,{immediate:!1});w(()=>{C()});const B=F(()=>b.value?R.map(({title:e,dataIndex:o="",customRender:r})=>({key:o,title:e,value:r?r({text:d.value[o],record:d.value}):d.value[o]})):{});return(s,e)=>{const o=p("a-button"),r=p("Image");return l(),_(a(V),{bordered:!1,loading:a(x)},{default:n(()=>[i(a(S),{title:a(k),onBack:e[1]||(e[1]=()=>s.$router.go(-1))},{extra:n(()=>[i(o,{type:"primary",onClick:e[0]||(e[0]=t=>s.$router.go(-1))},{default:n(()=>e[2]||(e[2]=[y("返回上一页面")])),_:1})]),_:1},8,["title"]),i(a(v),{bordered:"",column:3},{default:n(()=>[(l(!0),u(f,null,G(B.value,t=>(l(),_(a(v).Item,{key:t.key,label:t.title,span:["avatar"].includes(t.key)?3:1},{default:n(()=>[t.key==="avatar"?(l(),u("span",A,[i(r,{style:{width:"100px"},src:t.value},null,8,["src"])])):(l(),u(f,{key:1},[y(H(t.value),1)],64))]),_:2},1032,["label","span"]))),128))]),_:1})]),_:1},8,["loading"])}}});const q=N(E,[["__scopeId","data-v-cd78e7b3"]]);export{q as default};
|
@ -1 +0,0 @@
|
||||
import{d as b,ai as C,f as x,o as B,c as D,a6 as $,Z as i,_ as p,k as l,a5 as r,u as a,G as m,F,a7 as G,a4 as H,a0 as L}from"./vue-72a104e4.js";import{m as N,_ as P}from"./index.js";import{g as R,d as S}from"./schema-149c1808.js";import{G as V,H as _,U as w}from"./antd-029ed741.js";import"./deviceApi-260fcde9.js";const A={class:"detail-container"},E=b({__name:"detail",setup(I){var u;const d=C(),c=x((u=d.params)==null?void 0:u.id),f=d.meta.title,{state:n,isReady:y,isLoading:v,execute:g}=N(R(c.value).then(o=>o),null,{immediate:!1});B(()=>{g()});const k=D(()=>y.value?S.map(({title:e,dataIndex:s="",customRender:t})=>({key:s,title:e,value:t?t({text:n.value[s],record:n.value}):n.value[s]})):{});return(o,e)=>{const s=$("a-button");return i(),p("div",A,[l(a(w),{bordered:!1,loading:a(v)},{default:r(()=>[l(a(V),{title:a(f),onBack:e[1]||(e[1]=()=>o.$router.go(-1))},{extra:r(()=>[l(s,{type:"primary",onClick:e[0]||(e[0]=t=>o.$router.go(-1))},{default:r(()=>e[2]||(e[2]=[m("返回上一页面")])),_:1})]),_:1},8,["title"]),l(a(_),{bordered:"",column:1},{default:r(()=>[(i(!0),p(F,null,G(k.value,t=>(i(),H(a(_).Item,{key:t.key,label:t.title},{default:r(()=>[m(L(t.value),1)]),_:2},1032,["label"]))),128))]),_:1})]),_:1},8,["loading"])])}}});const q=P(E,[["__scopeId","data-v-25dfbe97"]]);export{q as default};
|
@ -1 +0,0 @@
|
||||
import{d as D,ai as I,f as $,o as w,c as F,a6 as _,Z as l,a4 as c,a5 as n,k as i,u as a,G as y,_ as u,F as f,a7 as G,a0 as H}from"./vue-72a104e4.js";import{m as L,_ as N}from"./index.js";import{g as P,d as R}from"./schema-0004c8eb.js";import{G as S,H as v,U as V}from"./antd-029ed741.js";const A={key:0},E=D({__name:"detail",setup(M){var p;const m=I(),g=$((p=m.params)==null?void 0:p.id),k=m.meta.title,{state:d,isReady:b,isLoading:x,execute:C}=L(P(g.value).then(s=>s),null,{immediate:!1});w(()=>{C()});const B=F(()=>b.value?R.map(({title:e,dataIndex:o="",customRender:r})=>({key:o,title:e,value:r?r({text:d.value[o],record:d.value}):d.value[o]})):{});return(s,e)=>{const o=_("a-button"),r=_("Image");return l(),c(a(V),{bordered:!1,loading:a(x)},{default:n(()=>[i(a(S),{title:a(k),onBack:e[1]||(e[1]=()=>s.$router.go(-1))},{extra:n(()=>[i(o,{type:"primary",onClick:e[0]||(e[0]=t=>s.$router.go(-1))},{default:n(()=>e[2]||(e[2]=[y("返回上一页面")])),_:1})]),_:1},8,["title"]),i(a(v),{bordered:"",column:3},{default:n(()=>[(l(!0),u(f,null,G(B.value,t=>(l(),c(a(v).Item,{key:t.key,label:t.title,span:["avatar"].includes(t.key)?3:1},{default:n(()=>[t.key==="avatar"?(l(),u("span",A,[i(r,{style:{width:"100px"},src:t.value},null,8,["src"])])):(l(),u(f,{key:1},[y(H(t.value),1)],64))]),_:2},1032,["label","span"]))),128))]),_:1})]),_:1},8,["loading"])}}});const q=N(E,[["__scopeId","data-v-d6db8810"]]);export{q as default};
|
@ -1 +0,0 @@
|
||||
import{d as D,ai as I,f as $,o as w,c as F,a6 as p,Z as l,a4 as _,a5 as n,k as i,u as a,G as y,_ as u,F as f,a7 as G,a0 as H}from"./vue-72a104e4.js";import{m as L,_ as N}from"./index.js";import{g as P,d as R}from"./taskProgressApi-ab295ee1.js";import{G as S,H as v,U as V}from"./antd-029ed741.js";const A={key:0},E=D({__name:"detail",setup(M){var m;const c=I(),g=$((m=c.params)==null?void 0:m.id),k=c.meta.title,{state:d,isReady:b,isLoading:x,execute:C}=L(P(g.value).then(s=>s),null,{immediate:!1});w(()=>{C()});const B=F(()=>b.value?R.map(({title:e,dataIndex:o="",customRender:r})=>({key:o,title:e,value:r?r({text:d.value[o],record:d.value}):d.value[o]})):{});return(s,e)=>{const o=p("a-button"),r=p("Image");return l(),_(a(V),{bordered:!1,loading:a(x)},{default:n(()=>[i(a(S),{title:a(k),onBack:e[1]||(e[1]=()=>s.$router.go(-1))},{extra:n(()=>[i(o,{type:"primary",onClick:e[0]||(e[0]=t=>s.$router.go(-1))},{default:n(()=>e[2]||(e[2]=[y("返回上一页面")])),_:1})]),_:1},8,["title"]),i(a(v),{bordered:"",column:3},{default:n(()=>[(l(!0),u(f,null,G(B.value,t=>(l(),_(a(v).Item,{key:t.key,label:t.title,span:["avatar"].includes(t.key)?3:1},{default:n(()=>[t.key==="avatar"?(l(),u("span",A,[i(r,{style:{width:"100px"},src:t.value},null,8,["src"])])):(l(),u(f,{key:1},[y(H(t.value),1)],64))]),_:2},1032,["label","span"]))),128))]),_:1})]),_:1},8,["loading"])}}});const q=N(E,[["__scopeId","data-v-d1edec20"]]);export{q as default};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as o}from"./drawer.vue_vue_type_script_setup_true_lang-abc10727.js";import"./useForm-9b8a2c16.js";import"./vue-72a104e4.js";import"./index.js";import"./antd-029ed741.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./copyTextToClipboard-8577151f.js";import"./schema-9d07929f.js";import"./index-e0942325.js";import"./authorityApi-b12c1221.js";export{o as default};
|
@ -1 +0,0 @@
|
||||
import{_ as o}from"./drawer.vue_vue_type_script_setup_true_lang-7d4c7eb8.js";import"./useForm-9b8a2c16.js";import"./vue-72a104e4.js";import"./index.js";import"./antd-029ed741.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./copyTextToClipboard-8577151f.js";import"./schema-0004c8eb.js";import"./index-e0942325.js";export{o as default};
|
@ -1 +0,0 @@
|
||||
import{_ as o}from"./drawer.vue_vue_type_script_setup_true_lang-7673eac6.js";import"./useForm-9b8a2c16.js";import"./vue-72a104e4.js";import"./index.js";import"./antd-029ed741.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./copyTextToClipboard-8577151f.js";import"./userAuthorityApi-5e5c6315.js";import"./index-e0942325.js";export{o 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
@ -1 +0,0 @@
|
||||
var O=Object.defineProperty,j=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var x=(e,t,a)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,n=(e,t)=>{for(var a in t||(t={}))D.call(t,a)&&x(e,a,t[a]);if(m)for(var a of m(t))h.call(t,a)&&x(e,a,t[a]);return e},I=(e,t)=>j(e,L(t));var _=(e,t)=>{var a={};for(var o in e)D.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&m)for(var o of m(e))t.indexOf(o)<0&&h.call(e,o)&&(a[o]=e[o]);return a};var b=(e,t,a)=>new Promise((o,i)=>{var f=r=>{try{d(a.next(r))}catch(p){i(p)}},g=r=>{try{d(a.throw(r))}catch(p){i(p)}},d=r=>r.done?o(r.value):Promise.resolve(r.value).then(f,g);d((a=a.apply(e,t)).next())});import{u as U,B as N}from"./useForm-9b8a2c16.js";import{a as z,B as G}from"./index-e0942325.js";import{a as W,u as Z}from"./deviceApi-260fcde9.js";import{d as $,f as F,c as E,u as l,Z as H,a4 as J,a5 as K,k as Q,a9 as X}from"./vue-72a104e4.js";import{_ as ee}from"./index.js";const c={xs:{span:24},sm:{span:24},lg:{span:6}},te={span:24},u={model:"Device",viewInPage:!1,properties:[{field:"id",label:"ID系统自动生成",defaultValue:void 0,form:{componentProps:{allowClear:!1,placeholder:"ID系统自动生成"},colProps:c,component:"InputNumber",rules:[{required:!0,message:"请输入ID系统自动生成!"}]},table:{}},{field:"name",label:"设备名称",defaultValue:void 0,form:{componentProps:{allowClear:!1,placeholder:"设备名称"},colProps:c,component:"Input",rules:[{required:!0,message:"请输入设备名称!"}]},table:{}},{field:"deviceSn",label:"设备序列号",defaultValue:void 0,form:{componentProps:{allowClear:!0,placeholder:"设备序列号"},colProps:c,component:"Input"},table:{}},{field:"deviceIp",label:"设备IP地址",defaultValue:void 0,form:{componentProps:{allowClear:!0,placeholder:"设备IP地址"},colProps:c,component:"Input"},table:{}},{field:"createTime",label:"创建时间",defaultValue:void 0,form:{colProps:c,componentProps:{allowClear:!1,placeholder:["开始时间","结束时间"],format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",showTime:!1},component:"RangePicker",rules:[{required:!0,message:"请输入CreateTime!"}]},table:{}},{field:"updateTime",label:"更新时间",defaultValue:void 0,form:{colProps:c,componentProps:{allowClear:!1,placeholder:["开始时间","结束时间"],format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",showTime:!1},component:"RangePicker",rules:[{required:!0,message:"请输入UpdateTime!"}]},table:{}}]},y=["name","deviceSn","deviceIp"],B=["name","deviceSn","deviceIp"],S=["name","deviceSn","deviceIp","createTime","updateTime"],C=["name","deviceSn","deviceIp","createTime","updateTime"],M=new Map(y.map((e,t)=>[e,t])),pe=u.properties.filter(e=>y.includes(e.field)).map(o=>{var{field:e,label:t,form:i}=o,a=_(i,[]);return I(n({field:e,label:t,defaultValue:void 0},a),{required:!1,rules:[{required:!1}]})}).sort((e,t)=>{const a=M.get(e.field),o=M.get(t.field);return a-o}),P=new Map(B.map((e,t)=>[e,t])),ae=u.properties.filter(e=>B.includes(e.field)).map(({field:e,label:t,defaultValue:a,form:o})=>I(n({field:e,label:t,defaultValue:a},o),{colProps:te})).sort((e,t)=>{const a=P.get(e.field),o=P.get(t.field);return a-o}),Y=new Map(S.map((e,t)=>[e,t])),me=u.properties.filter(e=>S.includes(e.field)).map(({field:e,label:t,table:a})=>n({dataIndex:e,title:t},a)).sort((e,t)=>{const a=Y.get(e.dataIndex),o=Y.get(t.dataIndex);return a-o}),T=new Map(C.map((e,t)=>[e,t]));u.properties.filter(e=>C.includes(e.field)).map(({field:e,label:t,table:a})=>n({dataIndex:e,title:t},a)).sort((e,t)=>{const a=T.get(e.dataIndex),o=T.get(t.dataIndex);return a-o});const oe=$({__name:"drawer",emits:["success","register"],setup(e,{emit:t}){const a=t,o=F(!0),i=F(),[f,{resetFields:g,setFieldsValue:d,validate:r}]=U({labelWidth:100,schemas:ae,showActionButtonGroup:!1}),[p,{setDrawerProps:v,closeDrawer:V}]=z(s=>b(this,null,function*(){yield g(),v({confirmLoading:!1}),o.value=!!(s!=null&&s.isUpdate),i.value=s==null?void 0:s.record,l(o)&&(yield d(n({},s.record)))})),q=E(()=>l(o)?"编辑":"新增");function k(){return b(this,null,function*(){try{const s=yield r();v({confirmLoading:!0});const w=_(s,[]),R=l(o)?Z:W,A=l(o)?Object.assign({},n(n({},l(i)),w)):n({},w);yield R(A),V(),a("success")}finally{v({confirmLoading:!1})}})}return(s,w)=>(H(),J(l(G),X(s.$attrs,{onRegister:l(p),showFooter:"",title:q.value,width:"600px",onOk:k}),{default:K(()=>[Q(l(N),{onRegister:l(f)},null,8,["onRegister"])]),_:1},16,["onRegister","title"]))}});const se=ee(oe,[["__scopeId","data-v-c5c2ba79"]]),ue=Object.freeze(Object.defineProperty({__proto__:null,default:se},Symbol.toStringTag,{value:"Module"}));export{se as D,me as c,ue as d,pe as s};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as o}from"./drawer.vue_vue_type_script_setup_true_lang-f089fba1.js";import"./useForm-9b8a2c16.js";import"./vue-72a104e4.js";import"./index.js";import"./antd-029ed741.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./copyTextToClipboard-8577151f.js";import"./taskProgressApi-ab295ee1.js";import"./index-e0942325.js";export{o as default};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
var j=Object.defineProperty,x=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var h=(s,r,e)=>r in s?j(s,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[r]=e,u=(s,r)=>{for(var e in r||(r={}))_.call(r,e)&&h(s,e,r[e]);if(l)for(var e of l(r))B.call(r,e)&&h(s,e,r[e]);return s},D=(s,r)=>x(s,L(r));var y=(s,r)=>{var e={};for(var t in s)_.call(s,t)&&r.indexOf(t)<0&&(e[t]=s[t]);if(s!=null&&l)for(var t of l(s))r.indexOf(t)<0&&B.call(s,t)&&(e[t]=s[t]);return e};var g=(s,r,e)=>new Promise((t,n)=>{var f=a=>{try{c(e.next(a))}catch(m){n(m)}},p=a=>{try{c(e.throw(a))}catch(m){n(m)}},c=a=>a.done?t(a.value):Promise.resolve(a.value).then(f,p);c((e=e.apply(s,r)).next())});import{u as C,B as H}from"./useForm-9b8a2c16.js";import{f as M,a as O,u as P}from"./userAuthorityApi-5e5c6315.js";import{a as S,B as T}from"./index-e0942325.js";import{j as U}from"./antd-029ed741.js";import{d as V,f as F,u as i,c as A,Z as G,a4 as I,a5 as N,k as W,a9 as Z}from"./vue-72a104e4.js";const Q=V({__name:"drawer",emits:["success","register"],setup(s,{emit:r}){const e=r,t=F(!0),n=F(),[f,{resetFields:p,setFieldsValue:c,validate:a}]=C({labelWidth:120,schemas:M,showActionButtonGroup:!1}),[m,{setDrawerProps:d,closeDrawer:v}]=S(o=>g(this,null,function*(){yield p(),d({confirmLoading:!1}),t.value=!!(o!=null&&o.isUpdate),n.value=o==null?void 0:o.record,i(t)&&(yield c(u({},o.record)))})),k=A(()=>i(t)?"编辑":"新增");function R(){return g(this,null,function*(){try{const o=yield a();d({confirmLoading:!0});const w=y(o,[]),Y=i(t)?P:O,b=i(t)?Object.assign({},D(u(u({},i(n)),w),{updateTime:U().format("YYYY-MM-DD HH:mm:ss")})):u({},w);yield Y(b),v(),e("success")}finally{d({confirmLoading:!1})}})}return(o,w)=>(G(),I(i(T),Z(o.$attrs,{onRegister:i(m),showFooter:"",title:k.value,width:"600px",onOk:R}),{default:N(()=>[W(i(H),{onRegister:i(f)},null,8,["onRegister"])]),_:1},16,["onRegister","title"]))}});export{Q as _};
|
@ -1 +0,0 @@
|
||||
var x=Object.defineProperty;var l=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var h=(s,r,e)=>r in s?x(s,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[r]=e,u=(s,r)=>{for(var e in r||(r={}))_.call(r,e)&&h(s,e,r[e]);if(l)for(var e of l(r))B.call(r,e)&&h(s,e,r[e]);return s};var F=(s,r)=>{var e={};for(var t in s)_.call(s,t)&&r.indexOf(t)<0&&(e[t]=s[t]);if(s!=null&&l)for(var t of l(s))r.indexOf(t)<0&&B.call(s,t)&&(e[t]=s[t]);return e};var g=(s,r,e)=>new Promise((t,n)=>{var f=a=>{try{c(e.next(a))}catch(m){n(m)}},p=a=>{try{c(e.throw(a))}catch(m){n(m)}},c=a=>a.done?t(a.value):Promise.resolve(a.value).then(f,p);c((e=e.apply(s,r)).next())});import{u as L,B as C}from"./useForm-9b8a2c16.js";import{f as O,b as P,u as S}from"./schema-0004c8eb.js";import{a as U,B as V}from"./index-e0942325.js";import{d as j,f as v,c as A,u as i,Z as G,a4 as I,a5 as N,k as T,a9 as W}from"./vue-72a104e4.js";const H=j({__name:"drawer",emits:["success","register"],setup(s,{emit:r}){const e=r,t=v(!0),n=v(),[f,{resetFields:p,setFieldsValue:c,validate:a}]=L({labelWidth:120,schemas:O,showActionButtonGroup:!1}),[m,{setDrawerProps:w,closeDrawer:y}]=U(o=>g(this,null,function*(){yield p(),w({confirmLoading:!1}),t.value=!!(o!=null&&o.isUpdate),n.value=o==null?void 0:o.record,i(t)&&(yield c(u({},o.record)))})),D=A(()=>i(t)?"编辑":"新增");function b(){return g(this,null,function*(){try{const o=yield a();w({confirmLoading:!0});const d=F(o,[]),k=i(t)?S:P,R=i(t)?Object.assign({},u(u({},i(n)),d)):u({},d);yield k(R),y(),e("success")}finally{w({confirmLoading:!1})}})}return(o,d)=>(G(),I(i(V),W(o.$attrs,{onRegister:i(m),showFooter:"",title:D.value,width:"600px",onOk:b}),{default:N(()=>[T(i(C),{onRegister:i(f)},null,8,["onRegister"])]),_:1},16,["onRegister","title"]))}});export{H as _};
|
@ -1 +0,0 @@
|
||||
var j=Object.defineProperty,x=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var h=(s,r,e)=>r in s?j(s,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[r]=e,u=(s,r)=>{for(var e in r||(r={}))_.call(r,e)&&h(s,e,r[e]);if(l)for(var e of l(r))B.call(r,e)&&h(s,e,r[e]);return s},D=(s,r)=>x(s,L(r));var y=(s,r)=>{var e={};for(var t in s)_.call(s,t)&&r.indexOf(t)<0&&(e[t]=s[t]);if(s!=null&&l)for(var t of l(s))r.indexOf(t)<0&&B.call(s,t)&&(e[t]=s[t]);return e};var g=(s,r,e)=>new Promise((t,n)=>{var f=a=>{try{c(e.next(a))}catch(m){n(m)}},p=a=>{try{c(e.throw(a))}catch(m){n(m)}},c=a=>a.done?t(a.value):Promise.resolve(a.value).then(f,p);c((e=e.apply(s,r)).next())});import{u as C,B as H}from"./useForm-9b8a2c16.js";import{f as M}from"./schema-9d07929f.js";import{a as O,B as P}from"./index-e0942325.js";import{a as S,u as T}from"./authorityApi-b12c1221.js";import{j as U}from"./antd-029ed741.js";import{d as V,f as F,u as i,c as A,Z as G,a4 as I,a5 as N,k as W,a9 as Z}from"./vue-72a104e4.js";const X=V({__name:"drawer",emits:["success","register"],setup(s,{emit:r}){const e=r,t=F(!0),n=F(),[f,{resetFields:p,setFieldsValue:c,validate:a}]=C({labelWidth:120,schemas:M,showActionButtonGroup:!1}),[m,{setDrawerProps:d,closeDrawer:v}]=O(o=>g(this,null,function*(){yield p(),d({confirmLoading:!1}),t.value=!!(o!=null&&o.isUpdate),n.value=o==null?void 0:o.record,i(t)&&(yield c(u({},o.record)))})),k=A(()=>i(t)?"编辑":"新增");function R(){return g(this,null,function*(){try{const o=yield a();d({confirmLoading:!0});const w=y(o,[]),Y=i(t)?T:S,b=i(t)?Object.assign({},D(u(u({},i(n)),w),{updateTime:U().format("YYYY-MM-DD HH:mm:ss")})):u({},w);yield Y(b),v(),e("success")}finally{d({confirmLoading:!1})}})}return(o,w)=>(G(),I(i(P),Z(o.$attrs,{onRegister:i(m),showFooter:"",title:k.value,width:"600px",onOk:R}),{default:N(()=>[W(i(H),{onRegister:i(f)},null,8,["onRegister"])]),_:1},16,["onRegister","title"]))}});export{X as _};
|
@ -1 +0,0 @@
|
||||
var x=Object.defineProperty;var l=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var h=(s,r,e)=>r in s?x(s,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[r]=e,u=(s,r)=>{for(var e in r||(r={}))_.call(r,e)&&h(s,e,r[e]);if(l)for(var e of l(r))B.call(r,e)&&h(s,e,r[e]);return s};var F=(s,r)=>{var e={};for(var t in s)_.call(s,t)&&r.indexOf(t)<0&&(e[t]=s[t]);if(s!=null&&l)for(var t of l(s))r.indexOf(t)<0&&B.call(s,t)&&(e[t]=s[t]);return e};var g=(s,r,e)=>new Promise((t,n)=>{var f=a=>{try{c(e.next(a))}catch(m){n(m)}},p=a=>{try{c(e.throw(a))}catch(m){n(m)}},c=a=>a.done?t(a.value):Promise.resolve(a.value).then(f,p);c((e=e.apply(s,r)).next())});import{u as L,B as C}from"./useForm-9b8a2c16.js";import{f as O,e as P,u as S}from"./taskProgressApi-ab295ee1.js";import{a as U,B as V}from"./index-e0942325.js";import{d as j,f as v,u as i,c as A,Z as G,a4 as I,a5 as N,k as T,a9 as W}from"./vue-72a104e4.js";const H=j({__name:"drawer",emits:["success","register"],setup(s,{emit:r}){const e=r,t=v(!0),n=v(),[f,{resetFields:p,setFieldsValue:c,validate:a}]=L({labelWidth:120,schemas:O,showActionButtonGroup:!1}),[m,{setDrawerProps:w,closeDrawer:y}]=U(o=>g(this,null,function*(){yield p(),w({confirmLoading:!1}),t.value=!!(o!=null&&o.isUpdate),n.value=o==null?void 0:o.record,i(t)&&(yield c(u({},o.record)))})),D=A(()=>i(t)?"编辑":"新增");function k(){return g(this,null,function*(){try{const o=yield a();w({confirmLoading:!0});const d=F(o,[]),R=i(t)?S:P,b=i(t)?Object.assign({},u(u({},i(n)),d)):u({},d);yield R(b),y(),e("success")}finally{w({confirmLoading:!1})}})}return(o,d)=>(G(),I(i(V),W(o.$attrs,{onRegister:i(m),showFooter:"",title:D.value,width:"600px",onOk:k}),{default:N(()=>[T(i(C),{onRegister:i(f)},null,8,["onRegister"])]),_:1},16,["onRegister","title"]))}});export{H as _};
|
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
@ -1 +0,0 @@
|
||||
var C=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var Y=(a,d)=>{var i={};for(var t in a)H.call(a,t)&&d.indexOf(t)<0&&(i[t]=a[t]);if(a!=null&&C)for(var t of C(a))d.indexOf(t)<0&&I.call(a,t)&&(i[t]=a[t]);return i};import{j as P,k as $,l as j,_ as O}from"./index.js";import{u as E,B as N}from"./useTable-0c2ce3c4.js";import{T as U}from"./useForm-9b8a2c16.js";import{j as _}from"./antd-029ed741.js";import{s as V,r as F}from"./authorityApi-b12c1221.js";import{u as K}from"./index-e0942325.js";import{_ as z}from"./drawer.vue_vue_type_script_setup_true_lang-abc10727.js";import{c as G,s as w}from"./schema-9d07929f.js";import{d as W,a6 as Z,Z as x,_ as q,k as h,a5 as b,G as J,a4 as L,u as m,a8 as Q}from"./vue-72a104e4.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-8577151f.js";const X=W({name:"AUTH_SYSTEM_AUTHORITY",__name:"index",setup(a){P();const d=$(),[i,{openDrawer:t}]=K(),[D,{reload:g,setSelectedRowKeys:ee}]=E({title:"权限表",api:e=>V(T(e)),columns:G,formConfig:{labelWidth:120,schemas:w,showAdvancedButton:!1},useSearchForm:!0,showTableSetting:!1,bordered:!0,showIndexColumn:!1,canResize:!1,rowKey:e=>e.id,actionColumn:{width:170,title:"操作",dataIndex:"action",fixed:"right"}}),T=e=>{const y=e,{pageNum:l,pageSize:p,field:u="id",order:c="descend"}=y,B=Y(y,["pageNum","pageSize","field","order"]),n={pageNum:l,pageSize:p,orderByClause:`${u} ${c==="descend"?"desc":"asc"}`};return Object.keys(B).forEach(f=>{const r=w.find(M=>M.field===f),o=e[f],s=f;r?o!==void 0&&o!==""&&(r.component==="Input"?n[s]=`%${o.trim()}%`:["Select","ApiSelect","ApiTreeSelect"].includes(r.component)?n[s]=j(o)?o.value:o:r.component==="RangePicker"?(n[`${s}From`]=_(o[0]).startOf("d").format("YYYY-MM-DD HH:mm:ss"),n[`${s}To`]=_(o[1]).endOf("d").format("YYYY-MM-DD HH:mm:ss")):r.component==="DatePicker"?n[s]=_(o).format(r.componentProps.format||"YYYY-MM-DD"):n[s]=o):n[s]=o}),n},v=()=>{t(!0,{isUpdate:!1})},S=e=>{t(!0,{record:e,isUpdate:!0})},k=e=>{F(e.id).then(l=>{g()})},R=()=>{g()},A=e=>{d("/system/authority/detail/"+e.id)};return(e,l)=>{const p=Z("a-button");return x(),q("div",null,[h(m(N),{onRegister:m(D)},{toolbar:b(()=>[h(p,{type:"primary",onClick:v},{default:b(()=>l[0]||(l[0]=[J(" 新增")])),_:1})]),bodyCell:b(({column:u,record:c})=>[u.dataIndex==="action"?(x(),L(m(U),{key:0,actions:[{label:"编辑",icon:"clarity:note-edit-line",onClick:S.bind(null,c),divider:!0},{label:"详情",icon:"ant-design:eye-outlined",onClick:A.bind(null,c),divider:!0}],dropDownActions:[{label:"删除",icon:"ant-design:delete-outlined",color:"error",popConfirm:{title:"是否确认删除",confirm:k.bind(null,c),placement:"topRight"}}]},null,8,["actions","dropDownActions"])):Q("",!0)]),_:1},8,["onRegister"]),h(z,{onRegister:m(i),onSuccess:R},null,8,["onRegister"])])}}});const he=O(X,[["__scopeId","data-v-0e16eaba"]]);export{he as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as r}from"./index.js";import"./vue-72a104e4.js";import"./antd-029ed741.js";const t={};function e(n,c){return null}const f=r(t,[["render",e]]);export{f as default};
|
@ -1 +0,0 @@
|
||||
var w=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var C=(n,p)=>{var i={};for(var o in n)N.call(n,o)&&p.indexOf(o)<0&&(i[o]=n[o]);if(n!=null&&w)for(var o of w(n))p.indexOf(o)<0&&V.call(n,o)&&(i[o]=n[o]);return i};import{j as z,k as L,l as W,o as Z}from"./index.js";import{u as q,B as J}from"./useTable-0c2ce3c4.js";import{T as Q}from"./useForm-9b8a2c16.js";import{j as b,a7 as X,P as ee}from"./antd-029ed741.js";import{s as te,c as oe,a as E,r as se,b as ae}from"./taskProgressApi-ab295ee1.js";import{u as ne}from"./index-e0942325.js";import{_ as re}from"./drawer.vue_vue_type_script_setup_true_lang-f089fba1.js";import{d as ie,f as le,a6 as ce,n as de,Z as m,_ as v,k as S,a5 as c,u as a,F as me,$ as P,a0 as ue,G as x,a4 as k,a8 as Y,m as fe}from"./vue-72a104e4.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-8577151f.js";const pe={key:1},Ee=ie({name:"AUTH_DATA_TASK_PROGRESS",__name:"index",setup(n){const{createMessage:p}=Z(),{hasPermission:i}=z(),o=L(),u=le([]),B=e=>{u.value=e.filter(t=>typeof t!="undefined")},[H,{openDrawer:y}]=ne(),[K,{reload:A,setSelectedRowKeys:T}]=q({title:"任务检测过程数据表",api:e=>te(O(e)),columns:oe,formConfig:{labelWidth:120,schemas:E,showAdvancedButton:!1},rowSelection:{type:"checkbox",onChange:B},useSearchForm:!0,showTableSetting:!1,bordered:!1,showIndexColumn:!1,canResize:!1,rowKey:e=>e.id,actionColumn:{width:170,title:"操作",dataIndex:"action",fixed:"right"}}),O=e=>{const R=e,{pageNum:t,pageSize:h,field:g="id",order:_="descend"}=R,f=C(R,["pageNum","pageSize","field","order"]),r={pageNum:t,pageSize:h,orderByClause:`${g} ${_==="descend"?"desc":"asc"}`};return Object.keys(f).forEach(D=>{const d=E.find(I=>I.field===D),s=e[D],l=D;d?s!==void 0&&s!==""&&(d.component==="Input"?r[l]=`%${s.trim()}%`:["Select","ApiSelect","ApiTreeSelect"].includes(d.component)?r[l]=W(s)?s.value:s:d.component==="RangePicker"?(r[`${l}From`]=b(s[0]).startOf("d").format("YYYY-MM-DD HH:mm:ss"),r[`${l}To`]=b(s[1]).endOf("d").format("YYYY-MM-DD HH:mm:ss")):d.component==="DatePicker"?r[l]=b(s).format(d.componentProps.format||"YYYY-MM-DD"):r[l]=s):r[l]=s}),r},M=()=>{y(!0,{isUpdate:!1})},$=e=>{y(!0,{record:e,isUpdate:!0})},G=e=>{se(e.id).then(t=>{A(),T([])})},U=()=>{if(u.value.length===0){p.error("当前未选中任何项目!");return}ae(u.value).then(e=>{A(),T([])})},j=()=>{A()},F=e=>{o("/data/task-progress/detail/"+e.id)};return(e,t)=>{const h=ce("a-button"),g=de("auth");return m(),v("div",null,[S(a(J),{onRegister:a(K)},{headerTop:c(()=>[S(a(X),{type:"info","show-icon":""},{message:c(()=>[u.value.length>0?(m(),v(me,{key:0},[P("span",null,"已选中"+ue(u.value.length)+"条记录",1),S(h,{type:"link",onClick:t[0]||(t[0]=_=>a(T)([])),size:"small"},{default:c(()=>t[1]||(t[1]=[x("清空")])),_:1}),a(i)("AUTH_DATA_TASK_PROGRESS:DELETE")?(m(),k(a(ee),{key:0,class:"ml-4",title:"确定要全部删除吗?","ok-text":"是","cancel-text":"否",onConfirm:U},{default:c(()=>t[2]||(t[2]=[P("a",{href:"#",class:"text-red-500"},"删除",-1)])),_:1})):Y("",!0)],64)):(m(),v("span",pe,"未选中任何项目"))]),_:1})]),toolbar:c(()=>[fe((m(),k(h,{type:"primary",onClick:M},{default:c(()=>t[3]||(t[3]=[x(" 新增")])),_:1})),[[g,"AUTH_DATA_TASK_PROGRESS:ADD"]])]),bodyCell:c(({column:_,record:f})=>[_.dataIndex==="action"?(m(),k(a(Q),{key:0,actions:[{label:"编辑",icon:"clarity:note-edit-line",onClick:$.bind(null,f),ifShow:a(i)("AUTH_DATA_TASK_PROGRESS:EDIT"),divider:!0},{label:"详情",icon:"ant-design:eye-outlined",onClick:F.bind(null,f),divider:!0}],dropDownActions:[{label:"删除",icon:"ant-design:delete-outlined",color:"error",popConfirm:{title:"是否确认删除",confirm:G.bind(null,f),placement:"topRight"},ifShow:a(i)("AUTH_DATA_TASK_PROGRESS:DELETE")}]},null,8,["actions","dropDownActions"])):Y("",!0)]),_:1},8,["onRegister"]),S(re,{onRegister:a(H),onSuccess:j},null,8,["onRegister"])])}}});export{Ee as default};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
var w=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var x=(n,d)=>{var i={};for(var t in n)N.call(n,t)&&d.indexOf(t)<0&&(i[t]=n[t]);if(n!=null&&w)for(var t of w(n))d.indexOf(t)<0&&P.call(n,t)&&(i[t]=n[t]);return i};import{j as $,k as j,l as H,_ as I}from"./index.js";import{u as O,B as E}from"./useTable-0c2ce3c4.js";import{T as V}from"./useForm-9b8a2c16.js";import{j as _}from"./antd-029ed741.js";import{r as F,s as K,c as U,a as y}from"./schema-0004c8eb.js";import{u as z}from"./index-e0942325.js";import{_ as G}from"./drawer.vue_vue_type_script_setup_true_lang-7d4c7eb8.js";import{d as W,a6 as Z,Z as D,_ as q,k as b,a5 as h,G as J,a4 as L,u as m,a8 as Q}from"./vue-72a104e4.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-8577151f.js";const X=W({name:"AUTH_SYSTEM_CONSTANT",__name:"index",setup(n){$();const d=j(),[i,{openDrawer:t}]=z(),[S,{reload:g,setSelectedRowKeys:ee}]=O({title:"常量表",api:e=>K(T(e)),columns:U,formConfig:{labelWidth:120,schemas:y,showAdvancedButton:!1},useSearchForm:!0,showTableSetting:!1,bordered:!1,showIndexColumn:!1,canResize:!1,rowKey:e=>e.id,actionColumn:{width:170,title:"操作",dataIndex:"action",fixed:"right"}}),T=e=>{const C=e,{pageNum:l,pageSize:p,field:u="id",order:c="descend"}=C,B=x(C,["pageNum","pageSize","field","order"]),s={pageNum:l,pageSize:p,orderByClause:`${u} ${c==="descend"?"desc":"asc"}`};return Object.keys(B).forEach(f=>{const r=y.find(M=>M.field===f),o=e[f],a=f;r?o!==void 0&&o!==""&&(r.component==="Input"?s[a]=`%${o.trim()}%`:["Select","ApiSelect","ApiTreeSelect"].includes(r.component)?s[a]=H(o)?o.value:o:r.component==="RangePicker"?(s[`${a}From`]=_(o[0]).startOf("d").format("YYYY-MM-DD HH:mm:ss"),s[`${a}To`]=_(o[1]).endOf("d").format("YYYY-MM-DD HH:mm:ss")):r.component==="DatePicker"?s[a]=_(o).format(r.componentProps.format||"YYYY-MM-DD"):s[a]=o):s[a]=o}),s},Y=()=>{t(!0,{isUpdate:!1})},v=e=>{t(!0,{record:e,isUpdate:!0})},k=e=>{F(e.id).then(l=>{g()})},A=()=>{g()},R=e=>{d("/system/constant/detail/"+e.id)};return(e,l)=>{const p=Z("a-button");return D(),q("div",null,[b(m(E),{onRegister:m(S)},{toolbar:h(()=>[b(p,{type:"primary",onClick:Y},{default:h(()=>l[0]||(l[0]=[J(" 新增")])),_:1})]),bodyCell:h(({column:u,record:c})=>[u.dataIndex==="action"?(D(),L(m(V),{key:0,actions:[{label:"编辑",icon:"clarity:note-edit-line",onClick:v.bind(null,c),divider:!0},{label:"详情",icon:"ant-design:eye-outlined",onClick:R.bind(null,c),divider:!0}],dropDownActions:[{label:"删除",icon:"ant-design:delete-outlined",color:"error",popConfirm:{title:"是否确认删除",confirm:k.bind(null,c),placement:"topRight"}}]},null,8,["actions","dropDownActions"])):Q("",!0)]),_:1},8,["onRegister"]),b(G,{onRegister:m(i),onSuccess:A},null,8,["onRegister"])])}}});const _e=I(X,[["__scopeId","data-v-db988f1b"]]);export{_e as default};
|
@ -1 +0,0 @@
|
||||
var H=Object.defineProperty,N=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var x=(e,t,a)=>t in e?H(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,c=(e,t)=>{for(var a in t||(t={}))_.call(t,a)&&x(e,a,t[a]);if(m)for(var a of m(t))w.call(t,a)&&x(e,a,t[a]);return e},I=(e,t)=>N(e,O(t));var Y=(e,t)=>{var a={};for(var s in e)_.call(e,s)&&t.indexOf(s)<0&&(a[s]=e[s]);if(e!=null&&m)for(var s of m(e))t.indexOf(s)<0&&w.call(e,s)&&(a[s]=e[s]);return a};import{n as z,j as K,k as E,S as U,l as G,_ as L}from"./index.js";import{u as W,B as Z}from"./useTable-0c2ce3c4.js";import"./useForm-9b8a2c16.js";import{j as b}from"./antd-029ed741.js";import{d as J,Z as Q,_ as X,$ as M,k as D,u as h}from"./vue-72a104e4.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-8577151f.js";const ee="/v1/data/task-log",te=e=>z.get({url:`${ee}/search`,params:e}),i={xs:{span:24},sm:{span:24},lg:{span:6}},ae={span:24},u={model:"TaskLog",viewInPage:!1,properties:[{field:"id",label:"ID系统自动生成",defaultValue:void 0,form:{componentProps:{allowClear:!1,placeholder:"ID系统自动生成"},colProps:i,component:"InputNumber",rules:[{required:!0,message:"请输入ID系统自动生成!"}]},table:{}},{field:"taskId",label:"任务ID",defaultValue:void 0,form:{componentProps:{allowClear:!1,placeholder:"dat_detect_task.id"},colProps:i,component:"InputNumber",rules:[{required:!0,message:"请输入dat_detect_task.id!"}]},table:{width:140}},{field:"deviceSn",label:"设备序列号",defaultValue:void 0,form:{componentProps:{allowClear:!0,placeholder:"设备序列号"},colProps:i,component:"Input"},table:{width:200}},{field:"content",label:"处理信息",defaultValue:void 0,form:{componentProps:{allowClear:!0,placeholder:"处理信息"},colProps:i,component:"Input"},table:{ellipsis:!0}},{field:"createTime",label:"创建时间",defaultValue:void 0,form:{colProps:i,componentProps:{allowClear:!1,placeholder:["开始时间","结束时间"],format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",showTime:!1},component:"RangePicker",rules:[{required:!0,message:"请输入CreateTime!"}]},table:{width:150}},{field:"updateTime",label:"UpdateTime",defaultValue:void 0,form:{colProps:i,componentProps:{allowClear:!1,placeholder:["开始时间","结束时间"],format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",showTime:!1},component:"RangePicker",rules:[{required:!0,message:"请输入UpdateTime!"}]},table:{}}]},B=["deviceSn","createTime"],C=["taskId","deviceSn","content"],V=["taskId","deviceSn","content","createTime"],q=["taskId","deviceSn","content","createTime"],P=new Map(B.map((e,t)=>[e,t])),T=u.properties.filter(e=>B.includes(e.field)).map(s=>{var{field:e,label:t,form:f}=s,a=Y(f,[]);return I(c({field:e,label:t,defaultValue:void 0},a),{required:!1,rules:[{required:!1}]})}).sort((e,t)=>{const a=P.get(e.field),s=P.get(t.field);return a-s}),k=new Map(C.map((e,t)=>[e,t]));u.properties.filter(e=>C.includes(e.field)).map(({field:e,label:t,defaultValue:a,form:s})=>I(c({field:e,label:t,defaultValue:a},s),{colProps:ae})).sort((e,t)=>{const a=k.get(e.field),s=k.get(t.field);return a-s});const S=new Map(V.map((e,t)=>[e,t])),se=u.properties.filter(e=>V.includes(e.field)).map(({field:e,label:t,table:a})=>c({dataIndex:e,title:t},a)).sort((e,t)=>{const a=S.get(e.dataIndex),s=S.get(t.dataIndex);return a-s}),F=new Map(q.map((e,t)=>[e,t]));u.properties.filter(e=>q.includes(e.field)).map(({field:e,label:t,table:a})=>c({dataIndex:e,title:t},a)).sort((e,t)=>{const a=F.get(e.dataIndex),s=F.get(t.dataIndex);return a-s});const oe={class:"header"},le=J({__name:"index",setup(e){K(),E();const[t,{reload:a,setSelectedRowKeys:s}]=W({api:n=>te(f(n)),columns:se,formConfig:{labelWidth:0,schemas:T,showAdvancedButton:!1},useSearchForm:!0,showTableSetting:!1,bordered:!0,showIndexColumn:!1,canResize:!1,rowKey:n=>n.id}),f=n=>{const v=n,{pageNum:p,pageSize:y,field:A="id",order:R="descend"}=v,$=Y(v,["pageNum","pageSize","field","order"]),l={pageNum:p,pageSize:y,orderByClause:`${A} ${R==="descend"?"desc":"asc"}`};return Object.keys($).forEach(g=>{const d=T.find(j=>j.field===g),o=n[g],r=g;d?o!==void 0&&o!==""&&(d.component==="Input"?l[r]=`%${o.trim()}%`:["Select","ApiSelect","ApiTreeSelect"].includes(d.component)?l[r]=G(o)?o.value:o:d.component==="RangePicker"?(l[`${r}From`]=b(o[0]).startOf("d").format("YYYY-MM-DD HH:mm:ss"),l[`${r}To`]=b(o[1]).endOf("d").format("YYYY-MM-DD HH:mm:ss")):d.component==="DatePicker"?l[r]=b(o).format(d.componentProps.format||"YYYY-MM-DD"):l[r]=o):l[r]=o}),l};return(n,p)=>(Q(),X("div",null,[M("div",oe,[D(h(U),{size:"19",name:"list"}),p[0]||(p[0]=M("div",{class:"title"},"检测日志",-1))]),D(h(Z),{onRegister:h(t)},null,8,["onRegister"])]))}});const Ye=L(le,[["__scopeId","data-v-fdc90b07"]]);export{Ye as default};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
var D=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var x=(s,d)=>{var i={};for(var e in s)M.call(s,e)&&d.indexOf(e)<0&&(i[e]=s[e]);if(s!=null&&D)for(var e of D(s))d.indexOf(e)<0&&P.call(s,e)&&(i[e]=s[e]);return i};import{j as N,k as $,S as j,l as O,_ as V}from"./index.js";import{u as A,B as H}from"./useTable-0c2ce3c4.js";import{T as z}from"./useForm-9b8a2c16.js";import{N as E,j as h}from"./antd-029ed741.js";import{r as F,s as K}from"./deviceApi-260fcde9.js";import{u as G}from"./index-e0942325.js";import{D as U,c as W,s as C}from"./drawer-96b4dd57.js";import{d as L,o as Z,a6 as q,Z as S,_ as J,$ as w,k as u,u as c,a5 as b,l as Q,G as X,a4 as ee,a8 as te}from"./vue-72a104e4.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-8577151f.js";const oe={class:"header"},se=L({__name:"index",setup(s){N(),$();const[d,{openDrawer:i}]=G(),[e,{reload:v,setSelectedRowKeys:ae}]=A({api:t=>K(Y(t)),columns:W,formConfig:{labelWidth:0,schemas:C,showAdvancedButton:!1},useSearchForm:!0,showTableSetting:!1,bordered:!0,showIndexColumn:!1,canResize:!1,rowKey:t=>t.id,actionColumn:{width:180,title:"操作",dataIndex:"action",fixed:void 0}});Z(()=>{WebViewService.setIsLoading(!1).then(()=>{})});const Y=t=>{const g=t,{pageNum:n,pageSize:p,field:f="id",order:m="descend"}=g,R=x(g,["pageNum","pageSize","field","order"]),a={pageNum:n,pageSize:p,orderByClause:`${f} ${m==="descend"?"desc":"asc"}`};return Object.keys(R).forEach(_=>{const l=C.find(I=>I.field===_),o=t[_],r=_;l?o!==void 0&&o!==""&&(l.component==="Input"?a[r]=`%${o.trim()}%`:["Select","ApiSelect","ApiTreeSelect"].includes(l.component)?a[r]=O(o)?o.value:o:l.component==="RangePicker"?(a[`${r}From`]=h(o[0]).startOf("d").format("YYYY-MM-DD HH:mm:ss"),a[`${r}To`]=h(o[1]).endOf("d").format("YYYY-MM-DD HH:mm:ss")):l.component==="DatePicker"?a[r]=h(o).format(l.componentProps.format||"YYYY-MM-DD"):a[r]=o):a[r]=o}),a},y=()=>{i(!0,{isUpdate:!1})},k=t=>{i(!0,{record:t,isUpdate:!0})},T=t=>{F(t.id).then(n=>{v()})},B=()=>{v()};return(t,n)=>{const p=q("a-button");return S(),J("div",null,[w("div",oe,[u(c(j),{size:"19",name:"list"}),n[0]||(n[0]=w("div",{class:"title"},"设备列表",-1))]),u(c(H),{onRegister:c(e)},{toolbar:b(()=>[u(p,{type:"primary",onClick:y,icon:Q(c(E))},{default:b(()=>n[1]||(n[1]=[X("新增")])),_:1},8,["icon"])]),bodyCell:b(({column:f,record:m})=>[f.dataIndex==="action"?(S(),ee(c(z),{key:0,actions:[{label:"编辑",icon:"clarity:note-edit-line",onClick:k.bind(null,m),divider:!0},{label:"删除",icon:"ant-design:delete-outlined",color:"error",popConfirm:{title:"是否确认删除",confirm:T.bind(null,m),placement:"topRight"}}]},null,8,["actions"])):te("",!0)]),_:1},8,["onRegister"]),u(U,{onRegister:c(d),onSuccess:B},null,8,["onRegister"])])}}});const ge=V(se,[["__scopeId","data-v-53e00fd4"]]);export{ge as default};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
var C=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var Y=(n,d)=>{var i={};for(var t in n)H.call(n,t)&&d.indexOf(t)<0&&(i[t]=n[t]);if(n!=null&&C)for(var t of C(n))d.indexOf(t)<0&&I.call(n,t)&&(i[t]=n[t]);return i};import{j as P,k as $,l as j,_ as E}from"./index.js";import{u as O,B as U}from"./useTable-0c2ce3c4.js";import{T as N}from"./useForm-9b8a2c16.js";import{j as _}from"./antd-029ed741.js";import{s as V,c as F,b as w,r as K}from"./userAuthorityApi-5e5c6315.js";import{u as z}from"./index-e0942325.js";import{_ as G}from"./drawer.vue_vue_type_script_setup_true_lang-7673eac6.js";import{d as W,a6 as Z,Z as x,_ as q,k as h,a5 as b,G as J,a4 as L,u as m,a8 as Q}from"./vue-72a104e4.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-8577151f.js";const X=W({name:"AUTH_SYSTEM_USER_AUTHORITY",__name:"index",setup(n){P();const d=$(),[i,{openDrawer:t}]=z(),[D,{reload:g,setSelectedRowKeys:ee}]=O({title:"用户权限对应表",api:e=>V(S(e)),columns:F,formConfig:{labelWidth:120,schemas:w,showAdvancedButton:!1},useSearchForm:!0,showTableSetting:!1,bordered:!0,showIndexColumn:!1,canResize:!1,rowKey:e=>e.id,actionColumn:{width:170,title:"操作",dataIndex:"action",fixed:"right"}}),S=e=>{const y=e,{pageNum:l,pageSize:u,field:p="id",order:c="descend"}=y,B=Y(y,["pageNum","pageSize","field","order"]),s={pageNum:l,pageSize:u,orderByClause:`${p} ${c==="descend"?"desc":"asc"}`};return Object.keys(B).forEach(f=>{const r=w.find(M=>M.field===f),o=e[f],a=f;r?o!==void 0&&o!==""&&(r.component==="Input"?s[a]=`%${o.trim()}%`:["Select","ApiSelect","ApiTreeSelect"].includes(r.component)?s[a]=j(o)?o.value:o:r.component==="RangePicker"?(s[`${a}From`]=_(o[0]).startOf("d").format("YYYY-MM-DD HH:mm:ss"),s[`${a}To`]=_(o[1]).endOf("d").format("YYYY-MM-DD HH:mm:ss")):r.component==="DatePicker"?s[a]=_(o).format(r.componentProps.format||"YYYY-MM-DD"):s[a]=o):s[a]=o}),s},T=()=>{t(!0,{isUpdate:!1})},v=e=>{t(!0,{record:e,isUpdate:!0})},k=e=>{K(e.id).then(l=>{g()})},R=()=>{g()},A=e=>{d("/system/user-authority/detail/"+e.id)};return(e,l)=>{const u=Z("a-button");return x(),q("div",null,[h(m(U),{onRegister:m(D)},{toolbar:b(()=>[h(u,{type:"primary",onClick:T},{default:b(()=>l[0]||(l[0]=[J(" 新增")])),_:1})]),bodyCell:b(({column:p,record:c})=>[p.dataIndex==="action"?(x(),L(m(N),{key:0,actions:[{label:"编辑",icon:"clarity:note-edit-line",onClick:v.bind(null,c),divider:!0},{label:"详情",icon:"ant-design:eye-outlined",onClick:A.bind(null,c),divider:!0}],dropDownActions:[{label:"删除",icon:"ant-design:delete-outlined",color:"error",popConfirm:{title:"是否确认删除",confirm:k.bind(null,c),placement:"topRight"}}]},null,8,["actions","dropDownActions"])):Q("",!0)]),_:1},8,["onRegister"]),h(G,{onRegister:m(i),onSuccess:R},null,8,["onRegister"])])}}});const _e=E(X,[["__scopeId","data-v-dd25c025"]]);export{_e as default};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
.fullscreen-modal{overflow:hidden}.fullscreen-modal .ant-modal{top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%}.fullscreen-modal .ant-modal-content{height:100%}.fullscreen-modal .ant-modal-footer{margin-top:0}.vben-basic-modal-wrap .ant-modal{width:520px;padding-bottom:0}.vben-basic-modal-wrap .ant-modal .ant-modal-body>.scrollbar{padding:14px}.vben-basic-modal-wrap .ant-modal-title{font-size:16px;font-weight:700}.vben-basic-modal-wrap .ant-modal-title .base-title{cursor:move!important}.vben-basic-modal-wrap .ant-modal .ant-modal-body{padding:0}.vben-basic-modal-wrap .ant-modal .ant-modal-body>.scrollbar>.scrollbar__bar.is-horizontal{display:none}.vben-basic-modal-wrap .ant-modal-large{top:60px}.vben-basic-modal-wrap .ant-modal-large--mini{top:16px}.vben-basic-modal-wrap .ant-modal-header{padding:16px}.vben-basic-modal-wrap .ant-modal-content{padding:12px 8px!important;box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.vben-basic-modal-wrap .ant-modal-footer button+button{margin-left:10px}.vben-basic-modal-wrap .ant-modal-close{width:auto!important;outline:none;background:transparent!important;font-weight:400}.vben-basic-modal-wrap .ant-modal-close-x{display:inline-block;width:96px;height:56px;line-height:56px}.vben-basic-modal-wrap .ant-modal-confirm-body .ant-modal-confirm-content>*{color:#909399}.vben-basic-modal-wrap .ant-modal-confirm-confirm.error .ant-modal-confirm-body>.anticon{color:#ed6f6f}.vben-basic-modal-wrap .ant-modal-confirm-btns .ant-btn:last-child{margin-right:0}.vben-basic-modal-wrap .ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#efbd47}.vben-basic-modal-wrap .ant-modal-confirm-confirm.success .ant-modal-confirm-body>.anticon{color:#55d187}.ant-modal-confirm .ant-modal-body{padding:24px!important}@media screen and (max-height: 600px){.ant-modal{top:60px}}@media screen and (max-height: 540px){.ant-modal{top:30px}}@media screen and (max-height: 480px){.ant-modal{top:10px}}.vben-basic-modal-close{display:flex;align-items:center;height:95%}.vben-basic-modal-close>span{margin-left:48px;font-size:16px}.vben-basic-modal-close--can-full>span{margin-left:12px}.vben-basic-modal-close:not(.vben-basic-modal-close--can-full)>span:nth-child(1):hover{font-weight:700}.vben-basic-modal-close span:nth-child(1){display:inline-block;padding:10px}.vben-basic-modal-close span:nth-child(1):hover{color:#0960bd}.vben-basic-modal-close span:last-child:hover{color:#ed6f6f}
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{B as g,u as v}from"./useTable-0c2ce3c4.js";import{T as C}from"./useForm-9b8a2c16.js";import{S as w,r as S,o as T,s as B,_ as R}from"./index.js";import{u as k}from"./index-e0942325.js";import{R as D,c as y,s as I}from"./drawer-64f9dc5f.js";import{d as $,l as A,o as E,a6 as a,Z as _,_ as F,$ as h,k as r,a5 as m,G as N,a4 as V,a8 as x}from"./vue-72a104e4.js";import{N as M}from"./antd-029ed741.js";import"./index-5157bbb9.js";import"./useWindowSizeFn-46f0db92.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-8577151f.js";import"./authorityApi-b12c1221.js";const P=$({name:"UserPage",methods:{PlusOutlined:M,h:A},components:{SvgIcon:w,BasicTable:g,RoleDrawer:D,TableAction:C},setup(){const{createMessage:e}=T(),[o,{openDrawer:i}]=k(),[p,{reload:l}]=v({api:B,columns:y,formConfig:{labelWidth:0,schemas:I,showAdvancedButton:!1},useSearchForm:!0,showTableSetting:!1,bordered:!0,showIndexColumn:!1,canResize:!1,pagination:!1,actionColumn:{width:180,title:"操作",dataIndex:"action",fixed:void 0}});function f(){i(!0,{isUpdate:!1})}function c(n){i(!0,{record:n,isUpdate:!0})}function d(n){S(n.id).then(t=>{e.success("删除用户成功!"),l()},t=>{e.error(`删除用户失败:${t}`)})}function u(){l()}return E(()=>{WebViewService.setIsLoading(!1).then(()=>{})}),{registerTable:p,registerDrawer:o,handleCreate:f,handleEdit:c,handleDelete:d,handleSuccess:u}}});const U={class:"header"};function z(e,o,i,p,l,f){const c=a("SvgIcon"),d=a("a-button"),u=a("TableAction"),n=a("BasicTable"),t=a("RoleDrawer");return _(),F("div",null,[h("div",U,[r(c,{size:"19",name:"list"}),o[0]||(o[0]=h("div",{class:"title"},"用户列表",-1))]),r(n,{onRegister:e.registerTable},{toolbar:m(()=>[r(d,{type:"primary",onClick:e.handleCreate,icon:e.h(e.PlusOutlined)},{default:m(()=>o[1]||(o[1]=[N("新增")])),_:1},8,["onClick","icon"])]),bodyCell:m(({column:b,record:s})=>[b.key==="action"?(_(),V(u,{key:0,actions:[{label:"编辑",icon:"clarity:note-edit-line",onClick:e.handleEdit.bind(null,s),divider:!0,disabled:s.username==="admin"},{label:"删除",icon:"ant-design:delete-outlined",color:"error",popConfirm:{title:"是否确认删除",confirm:e.handleDelete.bind(null,s),placement:"topRight"},disabled:s.username==="admin"}]},null,8,["actions"])):x("",!0)]),_:1},8,["onRegister"]),r(t,{onRegister:e.registerDrawer,onSuccess:e.handleSuccess},null,8,["onRegister","onSuccess"])])}const ee=R(P,[["render",z],["__scopeId","data-v-f7c42dd7"]]);export{ee 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
@ -1 +0,0 @@
|
||||
import{Q as D,p as U,u as b,am as N,t as O,W as P,b9 as S,_ as x}from"./index.js";import{D as A}from"./siteSetting-efd6ab5b.js";import{c as v,u as E}from"./index-fb47a899.js";import{b as R}from"./index-5157bbb9.js";import{h as V}from"./header-b90f4bbc.js";import{D as B,q as L}from"./antd-029ed741.js";import{d as T,c as F,Z as l,_ as W,k as t,a5 as g,F as q,a6 as n,a4 as _,a8 as k,$ as a,a1 as s,a0 as I}from"./vue-72a104e4.js";import"./index-dee58fb5.js";import"./index-b210030c.js";import"./useContentViewHeight-f46e6f8d.js";import"./useWindowSizeFn-46f0db92.js";import"./lock-ba03254e.js";const z=T({name:"UserDropdown",components:{Dropdown:B,Menu:L,MenuItem:v(()=>D(()=>import("./DropMenuItem-7cc88c75.js"),["./DropMenuItem-7cc88c75.js","./index.js","./vue-72a104e4.js","./antd-029ed741.js","./index-226082c5.css"],import.meta.url)),MenuDivider:L.Divider,LockAction:v(()=>D(()=>import("./LockModal-9477c8a2.js"),["./LockModal-9477c8a2.js","./index.js","./vue-72a104e4.js","./antd-029ed741.js","./index-226082c5.css","./index-5157bbb9.js","./useWindowSizeFn-46f0db92.js","./index-7064e331.css","./useForm-9b8a2c16.js","./copyTextToClipboard-8577151f.js","./useForm-01d9c31d.css","./lock-ba03254e.js","./header-b90f4bbc.js","./LockModal-ca58db68.css"],import.meta.url))},props:{theme:U.oneOf(["dark","light"])},setup(){const{prefixCls:e}=b("header-user-dropdown"),{t:h}=O(),{getShowDoc:C,getUseLockPage:w}=E(),c=N(),y=F(()=>{const{realName:f="",avatar:M,tenant:$}=c.getUserInfo||{};return{realName:f,avatar:M||V,desc:"",tenant:$}}),[o,{openModal:p}]=R();function u(){p(!0)}function d(){c.confirmLoginOut()}function m(){P(A)}function r(){S.push("/change-password")}function i(f){switch(f.key){case"password":r();break;case"logout":d();break;case"doc":m();break;case"lock":u();break}}return{prefixCls:e,t:h,getUserInfo:y,handleMenuClick:i,getShowDoc:C,register:o,getUseLockPage:w}}});const H=["src"];function Q(e,h,C,w,c,y){const o=n("MenuItem"),p=n("MenuDivider"),u=n("Menu"),d=n("Dropdown"),m=n("LockAction");return l(),W(q,null,[t(d,{placement:"bottomLeft",overlayClassName:`${e.prefixCls}-dropdown-overlay`},{overlay:g(()=>[t(u,{onClick:e.handleMenuClick},{default:g(()=>[e.getShowDoc?(l(),_(o,{key:"doc",text:e.t("layout.header.dropdownItemDoc"),icon:"ion:document-text-outline"},null,8,["text"])):k("",!0),e.getShowDoc?(l(),_(p,{key:1})):k("",!0),e.getUseLockPage?(l(),_(o,{key:"lock",text:e.t("layout.header.tooltipLock"),icon:"ion:lock-closed-outline"},null,8,["text"])):k("",!0),t(o,{key:"password",text:e.t("layout.header.tooltipChangePassword"),icon:"ion:document-lock-outline"},null,8,["text"]),t(o,{key:"logout",text:e.t("layout.header.dropdownItemLoginOut"),icon:"ion:power-outline"},null,8,["text"])]),_:1},8,["onClick"])]),default:g(()=>{var r,i;return[a("span",{class:s([[e.prefixCls,`${e.prefixCls}--${e.theme}`],"flex"])},[a("span",{style:{"margin-right":"10px"},class:s(`${e.prefixCls}__name`)},I((i=(r=e.getUserInfo.tenant)==null?void 0:r.productList)==null?void 0:i[0].name),3),a("img",{class:s(`${e.prefixCls}__header`),src:e.getUserInfo.avatar},null,10,H),a("span",{class:s(`${e.prefixCls}__info hidden md:block`)},[a("span",{class:s([`${e.prefixCls}__name`,"truncate"])},I(e.getUserInfo.realName),3)],2)],2)]}),_:1},8,["overlayClassName"]),t(m,{onRegister:e.register},null,8,["onRegister"])],64)}const se=x(z,[["render",Q]]);export{se as default};
|
@ -1 +0,0 @@
|
||||
import{p as h,u as y,_ as v}from"./index.js";import{u as x}from"./useContentViewHeight-f46e6f8d.js";import{y as w}from"./antd-029ed741.js";import{d as H,f as a,c as S,u as e,Z as R,_ as k,k as z,a5 as C,ad as l,a1 as u,$}from"./vue-72a104e4.js";import{u as B}from"./useWindowSizeFn-46f0db92.js";const L=["src"],E=H({__name:"index",props:{frameSrc:h.string.def("")},setup(m){const n=a(!0),p=a(50),i=a(window.innerHeight),o=a(),{headerHeightRef:d}=x(),{prefixCls:r}=y("iframe-page");B(f,{wait:150,immediate:!0});const c=S(()=>({height:`${e(i)}px`}));function f(){const s=e(o);if(!s)return;const t=d.value;p.value=t,i.value=window.innerHeight-t;const g=document.documentElement.clientHeight-t;s.style.height=`${g}px`}function _(){n.value=!1,f()}return(s,t)=>(R(),k("div",{class:u(e(r)),style:l(c.value)},[z(e(w),{spinning:n.value,size:"large",style:l(c.value)},{default:C(()=>[$("iframe",{src:m.frameSrc,class:u(`${e(r)}__main`),ref_key:"frameRef",ref:o,onLoad:_},null,42,L)]),_:1},8,["spinning","style"])],6))}});const I=v(E,[["__scopeId","data-v-c7e0c85f"]]);export{I as default};
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{d as m,c as n,Z as a,a4 as s,a5 as c,q as i,a8 as p}from"./vue-72a104e4.js";import u from"./LockPage-b1d9ae83.js";import{u as f}from"./lock-ba03254e.js";import"./index.js";import"./antd-029ed741.js";import"./header-b90f4bbc.js";const C=m({__name:"index",setup(d){const o=f(),r=n(()=>{var e,t;return(t=(e=o==null?void 0:o.getLockInfo)==null?void 0:e.isLock)!=null?t:!1});return(e,t)=>(a(),s(i,{name:"fade-bottom",mode:"out-in"},{default:c(()=>[r.value?(a(),s(u,{key:0})):p("",!0)]),_:1}))}});export{C as default};
|
@ -1 +0,0 @@
|
||||
import M from"./index-b210030c.js";import{z as L,ag as C,_ as P,A as $,aa as A}from"./index.js";import{c as l,S as B,J as I,u as g,d as k,Z as m,_ as d,F as S,a7 as N,a8 as b,a6 as T,m as E,A as O,a4 as p,k as w,a5 as _,q as V,af as y,ak as j}from"./vue-72a104e4.js";import{a6 as K}from"./antd-029ed741.js";function R(){const e=L(),s=l(()=>e.getMultiTabsSetting.show),o=l(()=>e.getMultiTabsSetting.showQuick),r=l(()=>e.getMultiTabsSetting.showRedo),i=l(()=>e.getMultiTabsSetting.showFold);function u(t){e.setProjectConfig({multiTabsSetting:t})}return{setMultipleTabSetting:u,getShowMultipleTab:s,getShowQuick:o,getShowRedo:r,getShowFold:i}}function q(){const e=B(),{currentRoute:s}=e,{getShowMultipleTab:o}=R(),r=C(),i=l(()=>t(I(e.getRoutes()))||[]),u=l(()=>r.getTabList.reduce((n,c)=>(c.meta&&Reflect.has(c.meta,"frameSrc")&&n.push(c.name),n),[]));function t(n){let c=[];for(const F of n){const{meta:{frameSrc:v}={},children:h}=F;v&&c.push(F),h&&h.length&&c.push(...t(h))}return c=K(c,"name"),c}function a(n){return n.name===g(s).name}function f(n){return g(o)?g(u).includes(n):e.currentRoute.value.name===n}return{hasRenderFrame:f,getFramePages:i,showIframe:a,getAllFramePages:t}}const z=k({name:"FrameLayout",components:{FramePage:M},setup(){const{getFramePages:e,hasRenderFrame:s,showIframe:o}=q(),r=l(()=>g(e).length>0);return{getFramePages:e,hasRenderFrame:s,showIframe:o,showFrame:r}}}),D={key:0};function Q(e,s,o,r,i,u){const t=T("FramePage");return e.showFrame?(m(),d("div",D,[(m(!0),d(S,null,N(e.getFramePages,a=>(m(),d(S,{key:a.path},[a.meta.frameSrc&&e.hasRenderFrame(a.name)?E((m(),p(t,{key:0,frameSrc:a.meta.frameSrc},null,8,["frameSrc"])),[[O,e.showIframe(a)]]):b("",!0)],64))),128))])):b("",!0)}const J=P(z,[["render",Q]]);function Z({route:e,openCache:s,cacheTabs:o,enableTransition:r,def:i}){if(!r)return;const u=o.includes(e.name),t="fade-slide";let a=t;return s&&(a=u&&e.meta.loaded?t:void 0),a||e.meta.transitionName||i}const G=k({name:"PageLayout",components:{FrameLayout:J},setup(){const{getShowMultipleTab:e}=R(),s=C(),{getOpenKeepAlive:o,getCanEmbedIFramePage:r}=$(),{getBasicTransition:i,getEnableTransition:u}=A(),t=l(()=>g(o)&&g(e)),a=l(()=>g(o)?s.getCachedTabList:[]);return{getTransitionName:Z,openCache:t,getEnableTransition:u,getBasicTransition:i,getCaches:a,getCanEmbedIFramePage:r}}});function H(e,s,o,r,i,u){const t=T("RouterView"),a=T("FrameLayout");return m(),d(S,null,[w(t,null,{default:_(({Component:f,route:n})=>[w(V,{name:e.getTransitionName({route:n,openCache:e.openCache,enableTransition:e.getEnableTransition,cacheTabs:e.getCaches,def:e.getBasicTransition}),mode:"out-in",appear:""},{default:_(()=>[e.openCache?(m(),p(j,{key:0,include:e.getCaches},[(m(),p(y(f),{key:n.fullPath}))],1032,["include"])):(m(),p(y(f),{key:n.fullPath}))]),_:2},1032,["name"])]),_:1}),e.getCanEmbedIFramePage?(m(),p(a,{key:0})):b("",!0)],64)}const U=P(G,[["render",H]]),ee=Object.freeze(Object.defineProperty({__proto__:null,default:U},Symbol.toStringTag,{value:"Module"}));export{U as P,ee as i,R as u};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{D as C,G as _,S as y}from"./siteSetting-efd6ab5b.js";import{A as F,u as g,W as L,t as R,_ as $}from"./index.js";import{d as v,S as w,f as S,c as k,u as n,Z as U,a4 as h,a5 as D,a1 as u,a8 as G,a6 as m,$ as a,a0 as c,k as I}from"./vue-72a104e4.js";import{u as W}from"./useContentViewHeight-f46e6f8d.js";import{L as b,aW as B}from"./antd-029ed741.js";import"./useWindowSizeFn-46f0db92.js";const H=v({name:"LayoutFooter",components:{Footer:b.Footer,GithubFilled:B},setup(){const{t:o}=R(),{getShowFooter:e}=F(),{currentRoute:f}=w(),{prefixCls:p}=g("layout-footer"),r=S(null),{setFooterHeight:i}=W();return{getShowLayoutFooter:k(()=>{var s,t;if(n(e)){const l=(s=n(r))==null?void 0:s.$el;i((l==null?void 0:l.offsetHeight)||0)}else i(0);return n(e)&&!((t=n(f).meta)!=null&&t.hiddenFooter)}),prefixCls:p,t:o,DOC_URL:C,GITHUB_URL:_,SITE_URL:y,openWindow:L,footerRef:r}}});function T(o,e,f,p,r,i){const d=m("GithubFilled"),s=m("Footer");return o.getShowLayoutFooter?(U(),h(s,{key:0,class:u(o.prefixCls),ref:"footerRef"},{default:D(()=>[a("div",{class:u(`${o.prefixCls}__links`)},[a("a",{onClick:e[0]||(e[0]=t=>o.openWindow(o.SITE_URL))},c(o.t("layout.footer.onlinePreview")),1),I(d,{onClick:e[1]||(e[1]=t=>o.openWindow(o.GITHUB_URL)),class:u(`${o.prefixCls}__github`)},null,8,["class"]),a("a",{onClick:e[2]||(e[2]=t=>o.openWindow(o.DOC_URL))},c(o.t("layout.footer.onlineDocument")),1)],2),e[3]||(e[3]=a("div",null,"Copyright ©2020 Vben Admin",-1))]),_:1},8,["class"])):G("",!0)}const P=$(H,[["render",T],["__scopeId","data-v-0f5faecd"]]);export{P as default};
|
@ -1 +0,0 @@
|
||||
import{Q as _,A as B,a_ as T,u as y,a7 as l,_ as D}from"./index.js";import{c as d,u as L}from"./index-fb47a899.js";import{aV as P}from"./antd-029ed741.js";import{d as w,c as f,u as t,Z as s,_ as C,k as E,a4 as S,a8 as k,a1 as F,F as v,a6 as a}from"./vue-72a104e4.js";import"./index-dee58fb5.js";import"./index-b210030c.js";import"./useContentViewHeight-f46e6f8d.js";import"./useWindowSizeFn-46f0db92.js";import"./lock-ba03254e.js";const x=w({name:"LayoutFeatures",components:{BackTop:P,LayoutLockPage:d(()=>_(()=>import("./index-bdcd0247.js"),["./index-bdcd0247.js","./vue-72a104e4.js","./LockPage-b1d9ae83.js","./index.js","./antd-029ed741.js","./index-226082c5.css","./lock-ba03254e.js","./header-b90f4bbc.js","./LockPage-b0b08e00.css"],import.meta.url)),SettingDrawer:d(()=>_(()=>import("./index-a4e9ab9a.js").then(e=>e.i),["./index-a4e9ab9a.js","./index-e0942325.js","./index.js","./vue-72a104e4.js","./antd-029ed741.js","./index-226082c5.css","./index-ac2d527c.css","./index-fb47a899.js","./index-dee58fb5.js","./index-b210030c.js","./useContentViewHeight-f46e6f8d.js","./useWindowSizeFn-46f0db92.js","./index-054645fa.css","./lock-ba03254e.js","./index-fffcad33.css"],import.meta.url))},setup(){const{getUseOpenBackTop:e,getShowSettingButton:i,getSettingButtonPosition:u,getFullContent:c}=B(),p=T(),{prefixCls:m}=y("setting-drawer-feature"),{getShowHeader:o}=L(),n=f(()=>p.getSessionTimeout),r=f(()=>{if(!t(i))return!1;const g=t(u);return g===l.AUTO?!t(o)||t(c):g===l.FIXED});return{getTarget:()=>document.body,getUseOpenBackTop:e,getIsFixedSettingDrawer:r,prefixCls:m,getIsSessionTimeout:n}}});function I(e,i,u,c,p,m){const o=a("LayoutLockPage"),n=a("BackTop"),r=a("SettingDrawer");return s(),C(v,null,[E(o),e.getUseOpenBackTop?(s(),S(n,{key:0,target:e.getTarget},null,8,["target"])):k("",!0),e.getIsFixedSettingDrawer?(s(),S(r,{key:1,class:F(e.prefixCls)},null,8,["class"])):k("",!0)],64)}const b=D(x,[["render",I]]);export{b as default};
|
File diff suppressed because one or more lines are too long
14
detect.gui/Embedded/dist/assets/index.js
vendored
14
detect.gui/Embedded/dist/assets/index.js
vendored
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
2
detect.gui/Embedded/dist/index.html
vendored
2
detect.gui/Embedded/dist/index.html
vendored
@ -1 +1 @@
|
||||
<!doctype html><html lang="en" id="htmlRoot"><head><script crossorigin src="./_app.config.js"></script><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="renderer" content="webkit"/><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0"/><title>中核集团预埋件检测系统</title><link rel="icon" href="./favicon.ico"/><style>#app{background-color:#0d1540}</style><script type="module" crossorigin src="./assets/index.js"></script><link rel="modulepreload" crossorigin href="./assets/vue-72a104e4.js"><link rel="modulepreload" crossorigin href="./assets/antd-029ed741.js"><link rel="stylesheet" href="./assets/index-226082c5.css"></head><body><div id="app"><style>html[data-theme=dark] .app-loading{background-color:transparent}html[data-theme=dark] .app-loading .app-loading-title{color:transparent}.app-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background-color:transparent}.app-loading .app-loading-wrap{display:flex;position:absolute;top:50%;left:50%;flex-direction:column;align-items:center;justify-content:center;transform:translate3d(-50%,-50%,0)}.app-loading .dots{display:flex;align-items:center;justify-content:center;padding:98px}.app-loading .app-loading-title{display:flex;align-items:center;justify-content:center;margin-top:30px;color:rgb(0 0 0 / 85%);font-size:30px}.app-loading .app-loading-logo{display:block;width:90px;margin:0 auto;margin-bottom:20px}.dot{display:inline-block;position:relative;box-sizing:border-box;width:48px;height:48px;margin-top:30px;transform:rotate(45deg);animation:ant-rotate 1.2s infinite linear;font-size:32px}.dot i{display:block;position:absolute;width:20px;height:20px;transform:scale(.75);transform-origin:50% 50%;animation:ant-spin-move 1s infinite linear alternate;border-radius:100%;opacity:.3;background-color:#0065cc}.dot i:first-child{top:0;left:0}.dot i:nth-child(2){top:0;right:0;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;animation-delay:1.2s}@keyframes ant-rotate{to{transform:rotate(405deg)}}@keyframes ant-rotate{to{transform:rotate(405deg)}}@keyframes ant-spin-move{to{opacity:1}}@keyframes ant-spin-move{to{opacity:1}}</style><div class="app-loading"><div class="app-loading-wrap"></div></div></div></body></html>
|
||||
<!doctype html><html lang="en" id="htmlRoot"><head><script crossorigin src="./_app.config.js"></script><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="renderer" content="webkit"/><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0"/><title>中核集团预埋件检测系统</title><link rel="icon" href="./favicon.ico"/><style>#app{background-color:#0d1540}</style><script type="module" crossorigin src="./assets/index.js"></script><link rel="modulepreload" crossorigin href="./assets/vue-72a104e4.js"><link rel="modulepreload" crossorigin href="./assets/antd-5a8a8bf9.js"><link rel="stylesheet" href="./assets/index-226082c5.css"></head><body><div id="app"><style>html[data-theme=dark] .app-loading{background-color:transparent}html[data-theme=dark] .app-loading .app-loading-title{color:transparent}.app-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background-color:transparent}.app-loading .app-loading-wrap{display:flex;position:absolute;top:50%;left:50%;flex-direction:column;align-items:center;justify-content:center;transform:translate3d(-50%,-50%,0)}.app-loading .dots{display:flex;align-items:center;justify-content:center;padding:98px}.app-loading .app-loading-title{display:flex;align-items:center;justify-content:center;margin-top:30px;color:rgb(0 0 0 / 85%);font-size:30px}.app-loading .app-loading-logo{display:block;width:90px;margin:0 auto;margin-bottom:20px}.dot{display:inline-block;position:relative;box-sizing:border-box;width:48px;height:48px;margin-top:30px;transform:rotate(45deg);animation:ant-rotate 1.2s infinite linear;font-size:32px}.dot i{display:block;position:absolute;width:20px;height:20px;transform:scale(.75);transform-origin:50% 50%;animation:ant-spin-move 1s infinite linear alternate;border-radius:100%;opacity:.3;background-color:#0065cc}.dot i:first-child{top:0;left:0}.dot i:nth-child(2){top:0;right:0;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;animation-delay:1.2s}@keyframes ant-rotate{to{transform:rotate(405deg)}}@keyframes ant-rotate{to{transform:rotate(405deg)}}@keyframes ant-spin-move{to{opacity:1}}@keyframes ant-spin-move{to{opacity:1}}</style><div class="app-loading"><div class="app-loading-wrap"></div></div></div></body></html>
|
@ -77,7 +77,7 @@ public partial class MainWindow : Window
|
||||
WindowState = WindowState.Normal;
|
||||
}
|
||||
|
||||
private void CloseClick(object? sender, RoutedEventArgs e)
|
||||
private async void CloseClick(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
@ -27,11 +27,11 @@ public partial class WebBrowserWindow : Window
|
||||
Topmost = true;
|
||||
CanResize = false;
|
||||
|
||||
var webview = this.Get<WebView>("WebView");
|
||||
var service = Locator.Current.GetService<DeviceClientService>();
|
||||
webview.RegisterJavascriptObject("DeviceClientService", service);
|
||||
webview.RegisterJavascriptObject("WebViewService", new WebViewService(this));
|
||||
Log.Information("WebView Initialized.");
|
||||
// var webview = this.Get<WebView>("WebView");
|
||||
// var service = Locator.Current.GetService<DeviceClientService>();
|
||||
// webview.RegisterJavascriptObject("DeviceClientService", service);
|
||||
// webview.RegisterJavascriptObject("WebViewService", new WebViewService(this));
|
||||
// Log.Information("WebView Initialized.");
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
|
@ -17,9 +17,9 @@ using WebViewControl;
|
||||
|
||||
namespace detect.gui.Views;
|
||||
|
||||
public class WebViewService(Window? w)
|
||||
public class WebViewService(MainWindow? w)
|
||||
{
|
||||
public Window? Self { get; set; } = w;
|
||||
public MainWindow? Self { get; set; } = w;
|
||||
|
||||
[Obsolete("过时的")]
|
||||
public async Task<string?> ImportExcel()
|
||||
|
BIN
detect.gui/chi_sim.traineddata
Normal file
BIN
detect.gui/chi_sim.traineddata
Normal file
Binary file not shown.
@ -6,6 +6,7 @@
|
||||
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||
<Platforms>AnyCPU;x64</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -38,6 +39,7 @@
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.0.0" />
|
||||
<PackageReference Include="Tesseract" Version="5.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@ -67,6 +69,9 @@
|
||||
</None>
|
||||
<None Remove="dist\**" />
|
||||
<None Remove="Embedded\dist\**" />
|
||||
<None Update="chi_sim.traineddata">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
|
26
detect.sln
26
detect.sln
@ -1,28 +1,48 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "detect.gui", "detect.gui\detect.gui.csproj", "{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}"
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.10.35122.118
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "detect.gui", "detect.gui\detect.gui.csproj", "{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebViewControl.Avalonia", "WebViewControl.Avalonia\WebViewControl.Avalonia.csproj", "{A1D71632-FE48-4DF6-9884-4CF457E24CD2}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebViewControl.Avalonia", "WebViewControl.Avalonia\WebViewControl.Avalonia.csproj", "{A1D71632-FE48-4DF6-9884-4CF457E24CD2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "detect.device", "detect.device\detect.device.csproj", "{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "detect.device", "detect.device\detect.device.csproj", "{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Debug|x64.Build.0 = Debug|x64
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Release|x64.ActiveCfg = Release|x64
|
||||
{AE7AC6F7-AE7B-4F31-AA49-8E7C650D04EF}.Release|x64.Build.0 = Release|x64
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Debug|x64.Build.0 = Debug|x64
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Release|x64.ActiveCfg = Release|x64
|
||||
{A1D71632-FE48-4DF6-9884-4CF457E24CD2}.Release|x64.Build.0 = Release|x64
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{BF30B1F0-8CA3-48F2-BD0F-255B7A022685}.Release|x64.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
@ -6,14 +6,20 @@
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ACommonBrowserAdapter_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Ff4f16e8c3bfe1b303dac9ad0491e3142f9d145ffbd9eaf32f291d9bb6cb31f_003FCommonBrowserAdapter_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AControl_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Ff963a2a29ea2bb2d4ad8737293b45c4edbd94e55219dc42cf68343d6d91d9_003FControl_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AControl_002Ecs_002Fl_003AC_0021_003FUsers_003Fxiongwei_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Ff963a2a29ea2bb2d4ad8737293b45c4edbd94e55219dc42cf68343d6d91d9_003FControl_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AConvert_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fb2b917c507d64d0980727dbdd83b6585c8f8a0_003Fae_003F21158426_003FConvert_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADependencyResolverMixins_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fca0d4592dc494bbaa872fd9db942335922638_003Ff9_003Fb0105fc3_003FDependencyResolverMixins_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADispatcher_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fdca7348132fe2a808736081c225b26e395f2581aa576813f1316ca11ec2_003FDispatcher_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADispatcher_002EInvoke_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F9ccbb34bd4bc564563ddab271666e19199db565ed4a8b539c45faf7f7eb_003FDispatcher_002EInvoke_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADrawingContext_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fefe02e7c12db46bba83407931f39fa821b4000_003F70_003Fb1bff7c7_003FDrawingContext_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AEngineMode_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F34588703652c4d2782e7c04fa8ce17a81f600_003F1a_003F853341ab_003FEngineMode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AEngine_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F3b41e4748a1a4c81a128a41ac52b586e29600_003F92_003F583b4afa_003FEngine_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fbd1d5c50194fea68ff3559c160230b0ab50f5acf4ce3061bffd6d62958e2182_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExecutionContext_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F9eda537f15ea23cdfae523c19e87eb303a3ded88937ae7e55919387a43f70_003FExecutionContext_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFileDialogFilter_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F8c5be7826d6a434f911dfe811b698519eca00_003F96_003F3ad872d1_003FFileDialogFilter_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFilePickerFileType_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fba3ea9c1caf09c71e5e1a6f29cc110e55f6baaeffa8a3c2a8743035da53a0ce_003FFilePickerFileType_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFilePickerOpenOptions_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F64c077c15772bb4c699bdf49a561c536eb480867eabb4544519519e287c16_003FFilePickerOpenOptions_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AImageFormat_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fd1ec21c158d24a81b8f471a25a73c526ebfc0_003Ff0_003Fc49b87c7_003FImageFormat_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AImage_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fd1ec21c158d24a81b8f471a25a73c526ebfc0_003F16_003Ff4b3ef4b_003FImage_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AIMutableDependencyResolver_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F8b99e74e8ee64f66aa5cc8aff4c46fee71daf7d40bad1c7fe28b4c7487d74_003FIMutableDependencyResolver_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AIReadonlyDependencyResolver_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F18efc112e37199e67bda7b42bd6b28f86385c9c3ae7761a86d0c8b0cc5e9631_003FIReadonlyDependencyResolver_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AJsonSerializerInternalReader_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F29ea32a76b2a6b8eb246f247df6a6a86d887384b4c31db2a35effccdd86c24_003FJsonSerializerInternalReader_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
@ -30,6 +36,7 @@
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AStyledElement_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F409cbfc595ab24b2b1e4ef5d337095fd49bee59162968f6af6a45fb1feb9f287_003FStyledElement_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ATaskAwaiter_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F74e4c72cd3922ed61496931f33baf4a9b5950edddb6b78bc296241285f25c3_003FTaskAwaiter_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ATemplatedControl_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F93f617dea942b0e3779693f37efc14f8c19db2db1128c23c7f7473bdf208d_003FTemplatedControl_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ATesseractEngine_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F34588703652c4d2782e7c04fa8ce17a81f600_003F96_003F7512cfca_003FTesseractEngine_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AThrowHelper_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F2c8e7ca976f350cba9836d5565dac56b11e0b56656fa786460eb1395857a6fa_003FThrowHelper_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AWindowNotificationManager_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F99c50fdf786f8602b74ad1c24959792812e8e852274bf578e255ae78f9efca6_003FWindowNotificationManager_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AWindow_002Ecs_002Fl_003AC_0021_003FUsers_003FNick_0020Wang_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fb430e084ab33d5b318f28876dedabb8aa879f7f7b6e60df3a5da1dd196ecda2_003FWindow_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||
|
Loading…
Reference in New Issue
Block a user