mahao 1 year ago
parent
commit
07a4777721
  1. 7
      code/WebApp/vanilla/.vscode/settings.json
  2. 314
      code/WebApp/vanilla/resize-detector/index.js
  3. 234
      code/WebApp/vanilla/router/routes.js
  4. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/.gitignore
  5. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Controllers/HomeController.cs
  6. 4
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs
  7. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.eslintrc.json
  8. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.gitignore
  9. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.prettierrc.json
  10. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.vscode/extensions.json
  11. 9
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.vscode/settings.json
  12. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/api/site.js
  13. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/api/user.js
  14. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/app.js
  15. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/docs/test.md
  16. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/create.svg
  17. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/delete.svg
  18. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/details.svg
  19. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/export.svg
  20. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/file.svg
  21. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/fold.svg
  22. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/folder.svg
  23. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/fullscreen-exit.svg
  24. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/fullscreen.svg
  25. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/home.svg
  26. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/import.svg
  27. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/index.svg
  28. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/lang.svg
  29. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/loading.svg
  30. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/unfold.svg
  31. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/update.svg
  32. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/logo.svg
  33. BIN
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/导入模版.zip
  34. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/chart/index.js
  35. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-input.js
  36. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js
  37. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js
  38. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/icon/index.js
  39. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js
  40. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/markdown/index.js
  41. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/config/settings.js
  42. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/favicon.ico
  43. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/index.html
  44. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/jsconfig.json
  45. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/footer.js
  46. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/header.js
  47. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/index.js
  48. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/locale.js
  49. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/logo.js
  50. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/menu-item.js
  51. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/menu.js
  52. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/tabs.js
  53. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@element-plus/icons-vue/index.js
  54. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@microsoft/signalr/signalr.esm.js
  55. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vue-office/excel/index.css
  56. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vue-office/excel/vue-office-excel.mjs
  57. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vue/devtools-api/shim.js
  58. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vueuse/core/index.mjs
  59. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vueuse/shared/index.mjs
  60. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/async-validator/index.min.js
  61. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/better-mock/mock.browser.esm.js
  62. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/detect-it/detect-it.esm.js
  63. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/echarts/echarts.esm.min.js
  64. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/index.css
  65. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/index.full.min.mjs
  66. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/index.full.mjs
  67. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/locale/en.min.mjs
  68. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/locale/zh-cn.min.mjs
  69. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/theme-chalk/dark/css-vars.css
  70. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/github-markdown-css/github-markdown.min.css
  71. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/highlightjs/highlight.css
  72. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/highlightjs/highlight.min.js
  73. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/jwt-decode/jwt-decode.esm.js
  74. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/linq/linq.min.js
  75. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/lodash/lodash.esm.js
  76. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/marked/marked.esm.js
  77. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/mermaid/mermaid.esm.min.mjs
  78. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/nprogress/nprogress.css
  79. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/nprogress/nprogress.vite-esm.js
  80. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/pinia/pinia.esm-browser.js
  81. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/pubsub-js/pubsub.esm.js
  82. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/qs/shim.js
  83. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/resize-detector/index.js
  84. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/tailwindcss/tailwind.min.css
  85. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-demi/shim.js
  86. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-echarts/index.esm.min.js
  87. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-i18n/vue-i18n.esm-browser.prod.js
  88. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-router/vue-router.esm-browser.js
  89. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue/vue.esm-browser.js
  90. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue/vue.esm-browser.prod.js
  91. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/locale/index.js
  92. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/main.css
  93. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/main.js
  94. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/mixins/style.js
  95. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/centralized-control.js
  96. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/code-setting.js
  97. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/login.js
  98. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/role.js
  99. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/user.js
  100. 0
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/request/index.js

7
code/WebApp/vanilla/.vscode/settings.json

@ -1,7 +0,0 @@
{
"search.exclude": {
"lib": true
},
"editor.formatOnSave": true,
"liveServer.settings.port": 9527
}

314
code/WebApp/vanilla/resize-detector/index.js

@ -1,314 +0,0 @@
var raf = null;
function requestAnimationFrame (callback) {
if (!raf) {
raf = (
window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
function (callback) {
return setTimeout(callback, 16)
}
).bind(window);
}
return raf(callback)
}
var caf = null;
function cancelAnimationFrame (id) {
if (!caf) {
caf = (
window.cancelAnimationFrame ||
window.webkitCancelAnimationFrame ||
window.mozCancelAnimationFrame ||
function (id) {
clearTimeout(id);
}
).bind(window);
}
caf(id);
}
function createStyles (styleText) {
var style = document.createElement('style');
if (style.styleSheet) {
style.styleSheet.cssText = styleText;
} else {
style.appendChild(document.createTextNode(styleText));
}
(document.querySelector('head') || document.body).appendChild(style);
return style
}
function createElement (tagName, props) {
if ( props === void 0 ) props = {};
var elem = document.createElement(tagName);
Object.keys(props).forEach(function (key) {
elem[key] = props[key];
});
return elem
}
function getComputedStyle (elem, prop, pseudo) {
// for older versions of Firefox, `getComputedStyle` required
// the second argument and may return `null` for some elements
// when `display: none`
var computedStyle = window.getComputedStyle(elem, pseudo || null) || {
display: 'none'
};
return computedStyle[prop]
}
function getRenderInfo (elem) {
if (!document.documentElement.contains(elem)) {
return {
detached: true,
rendered: false
}
}
var current = elem;
while (current !== document) {
if (getComputedStyle(current, 'display') === 'none') {
return {
detached: false,
rendered: false
}
}
current = current.parentNode;
}
return {
detached: false,
rendered: true
}
}
var css_248z = ".resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:\"\";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}";
var total = 0;
var style = null;
function addListener (elem, callback) {
if (!elem.__resize_mutation_handler__) {
elem.__resize_mutation_handler__ = handleMutation.bind(elem);
}
var listeners = elem.__resize_listeners__;
if (!listeners) {
elem.__resize_listeners__ = [];
if (window.ResizeObserver) {
var offsetWidth = elem.offsetWidth;
var offsetHeight = elem.offsetHeight;
var ro = new ResizeObserver(function () {
if (!elem.__resize_observer_triggered__) {
elem.__resize_observer_triggered__ = true;
if (elem.offsetWidth === offsetWidth && elem.offsetHeight === offsetHeight) {
return
}
}
runCallbacks(elem);
});
// initially display none won't trigger ResizeObserver callback
var ref = getRenderInfo(elem);
var detached = ref.detached;
var rendered = ref.rendered;
elem.__resize_observer_triggered__ = detached === false && rendered === false;
elem.__resize_observer__ = ro;
ro.observe(elem);
} else if (elem.attachEvent && elem.addEventListener) {
// targeting IE9/10
elem.__resize_legacy_resize_handler__ = function handleLegacyResize () {
runCallbacks(elem);
};
elem.attachEvent('onresize', elem.__resize_legacy_resize_handler__);
document.addEventListener('DOMSubtreeModified', elem.__resize_mutation_handler__);
} else {
if (!total) {
style = createStyles(css_248z);
}
initTriggers(elem);
elem.__resize_rendered__ = getRenderInfo(elem).rendered;
if (window.MutationObserver) {
var mo = new MutationObserver(elem.__resize_mutation_handler__);
mo.observe(document, {
attributes: true,
childList: true,
characterData: true,
subtree: true
});
elem.__resize_mutation_observer__ = mo;
}
}
}
elem.__resize_listeners__.push(callback);
total++;
}
function removeListener (elem, callback) {
var listeners = elem.__resize_listeners__;
if (!listeners) {
return
}
if (callback) {
listeners.splice(listeners.indexOf(callback), 1);
}
// no listeners exist, or removing all listeners
if (!listeners.length || !callback) {
// targeting IE9/10
if (elem.detachEvent && elem.removeEventListener) {
elem.detachEvent('onresize', elem.__resize_legacy_resize_handler__);
document.removeEventListener('DOMSubtreeModified', elem.__resize_mutation_handler__);
return
}
if (elem.__resize_observer__) {
elem.__resize_observer__.unobserve(elem);
elem.__resize_observer__.disconnect();
elem.__resize_observer__ = null;
} else {
if (elem.__resize_mutation_observer__) {
elem.__resize_mutation_observer__.disconnect();
elem.__resize_mutation_observer__ = null;
}
elem.removeEventListener('scroll', handleScroll);
elem.removeChild(elem.__resize_triggers__.triggers);
elem.__resize_triggers__ = null;
}
elem.__resize_listeners__ = null;
}
if (!--total && style) {
style.parentNode.removeChild(style);
}
}
function getUpdatedSize (elem) {
var ref = elem.__resize_last__;
var width = ref.width;
var height = ref.height;
var offsetWidth = elem.offsetWidth;
var offsetHeight = elem.offsetHeight;
if (offsetWidth !== width || offsetHeight !== height) {
return {
width: offsetWidth,
height: offsetHeight
}
}
return null
}
function handleMutation () {
// `this` denotes the scrolling element
var ref = getRenderInfo(this);
var rendered = ref.rendered;
var detached = ref.detached;
if (rendered !== this.__resize_rendered__) {
if (!detached && this.__resize_triggers__) {
resetTriggers(this);
this.addEventListener('scroll', handleScroll, true);
}
this.__resize_rendered__ = rendered;
runCallbacks(this);
}
}
function handleScroll () {
var this$1 = this;
// `this` denotes the scrolling element
resetTriggers(this);
if (this.__resize_raf__) {
cancelAnimationFrame(this.__resize_raf__);
}
this.__resize_raf__ = requestAnimationFrame(function () {
var updated = getUpdatedSize(this$1);
if (updated) {
this$1.__resize_last__ = updated;
runCallbacks(this$1);
}
});
}
function runCallbacks (elem) {
if (!elem || !elem.__resize_listeners__) {
return
}
elem.__resize_listeners__.forEach(function (callback) {
callback.call(elem, elem);
});
}
function initTriggers (elem) {
var position = getComputedStyle(elem, 'position');
if (!position || position === 'static') {
elem.style.position = 'relative';
}
elem.__resize_old_position__ = position;
elem.__resize_last__ = {};
var triggers = createElement('div', {
className: 'resize-triggers'
});
var expand = createElement('div', {
className: 'resize-expand-trigger'
});
var expandChild = createElement('div');
var contract = createElement('div', {
className: 'resize-contract-trigger'
});
expand.appendChild(expandChild);
triggers.appendChild(expand);
triggers.appendChild(contract);
elem.appendChild(triggers);
elem.__resize_triggers__ = {
triggers: triggers,
expand: expand,
expandChild: expandChild,
contract: contract
};
resetTriggers(elem);
elem.addEventListener('scroll', handleScroll, true);
elem.__resize_last__ = {
width: elem.offsetWidth,
height: elem.offsetHeight
};
}
function resetTriggers (elem) {
var ref = elem.__resize_triggers__;
var expand = ref.expand;
var expandChild = ref.expandChild;
var contract = ref.contract;
// batch read
var csw = contract.scrollWidth;
var csh = contract.scrollHeight;
var eow = expand.offsetWidth;
var eoh = expand.offsetHeight;
var esw = expand.scrollWidth;
var esh = expand.scrollHeight;
// batch write
contract.scrollLeft = csw;
contract.scrollTop = csh;
expandChild.style.width = eow + 1 + 'px';
expandChild.style.height = eoh + 1 + 'px';
expand.scrollLeft = esw;
expand.scrollTop = esh;
}
export { addListener, removeListener };

234
code/WebApp/vanilla/router/routes.js

@ -1,234 +0,0 @@
export default [
{
path: "home",
meta: {
type: "page",
title: "首页",
icon: "home",
public: true,
},
},
{
path: "base-data",
meta: {
type: "group",
title: "基础数据",
icon: "folder",
},
children: [
{
path: "user",
meta: {
type: "page",
title: "用户管理",
icon: "file",
permission: "AbpIdentity.Users",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "create",
meta: {
type: "button",
title: "新建",
icon: "file",
permission: "AbpIdentity.Users.Create",
isTop: true,
},
},
{
path: "update",
meta: {
type: "button",
title: "编辑",
icon: "file",
htmlClass: "el-button--primary",
permission: "AbpIdentity.Users.Update",
},
},
{
path: "delete",
meta: {
type: "button",
title: "删除",
icon: "file",
permission: "AbpIdentity.Users.Delete",
disabled: "o=>o.userName==='admin'",
},
},
{
path: "%s/reset-password",
meta: {
type: "button",
title: "重置密码",
icon: "file",
permission: "reset-password?",
method: "PUT",
},
},
],
},
// {
// path: "role",
// meta: {
// type: "page",
// title: "角色管理",
// icon: "file",
// permission: "AbpIdentity.Users",
// },
// children: [
// {
// path: "create",
// meta: {
// type: "button",
// title: "新建",
// icon: "file",
// permission: "AbpIdentity.Users.Create",
// isTop: true,
// },
// },
// {
// path: "update",
// meta: {
// type: "button",
// title: "编辑",
// icon: "file",
// htmlClass: "el-button--primary",
// permission: "AbpIdentity.Users.Update",
// disabled: `(o) => o.isStatic`,
// },
// },
// {
// path: "delete",
// meta: {
// type: "button",
// title: "删除",
// icon: "file",
// permission: "AbpIdentity.Users.Delete",
// disabled: `(o) => o.isStatic`,
// },
// },
// ],
// },
{
path: "centralized-control",
meta: {
type: "page",
title: "期间设置",
icon: "file",
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "create",
meta: {
type: "button",
title: "新建",
icon: "file",
isTop: true,
},
},
{
path: "open-version",
meta: {
type: "button",
title: "启用",
icon: "file",
isTop: true,
},
},
{
path: "closed-version",
meta: {
type: "button",
title: "停用",
icon: "file",
isTop: true,
},
},
{
path: "delete",
meta: {
type: "button",
title: "删除",
icon: "file",
isTop: true,
},
},
],
},
},
{
path: "code-setting",
meta: {
type: "page",
title: "通用代码",
icon: "file",
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "create",
meta: {
type: "button",
title: "新建",
icon: "file",
isTop: true,
},
},
{
path: "delete",
meta: {
type: "button",
title: "删除",
icon: "file",
isTop: true,
},
},
{
path: "import",
meta: {
type: "button",
title: "导入",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
],
},
},
],
},
];

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/.gitignore

@ -1,2 +1 @@
wwwroot/files/ appsettings.Development.json
appsettings.Development.json

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Controllers/HomeController.cs

@ -5,9 +5,10 @@ namespace Win.Sfs.SettleAccount.Controllers
{ {
public class HomeController : AbpController public class HomeController : AbpController
{ {
[ResponseCache(NoStore = true)]
public ActionResult Index() public ActionResult Index()
{ {
return Redirect("~/swagger"); return File("~/index.html", "text/html");
} }
} }
} }

4
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs

@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
@ -31,6 +32,9 @@ namespace Win.Sfs.SettleAccount
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory)
{ {
var contentTypeProvider = new FileExtensionContentTypeProvider();
contentTypeProvider.Mappings.Add(".mjs", "text/javascript");
app.UseStaticFiles(new StaticFileOptions { ContentTypeProvider = contentTypeProvider });
app.InitializeApplication(); app.InitializeApplication();
} }

0
code/WebApp/vanilla/.eslintrc.json → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.eslintrc.json

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.gitignore

@ -0,0 +1,3 @@
files/
btsecsummary/
secsummary/

0
code/WebApp/vanilla/.prettierrc.json → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.prettierrc.json

0
code/WebApp/vanilla/.vscode/extensions.json → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.vscode/extensions.json

9
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.vscode/settings.json

@ -0,0 +1,9 @@
{
"editor.formatOnSave": true,
"liveServer.settings.port": 9527,
"explorer.excludeGitIgnore": true,
"search.followSymlinks": false,
"search.exclude": {
"lib/**": true
}
}

0
code/WebApp/vanilla/api/site.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/api/site.js

0
code/WebApp/vanilla/api/user.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/api/user.js

0
code/WebApp/vanilla/app.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/app.js

0
code/WebApp/vanilla/assets/docs/test.md → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/docs/test.md

0
code/WebApp/vanilla/assets/icons/create.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/create.svg

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 237 B

0
code/WebApp/vanilla/assets/icons/delete.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/delete.svg

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 471 B

0
code/WebApp/vanilla/assets/icons/details.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/details.svg

Before

Width:  |  Height:  |  Size: 500 B

After

Width:  |  Height:  |  Size: 500 B

0
code/WebApp/vanilla/assets/icons/export.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/export.svg

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 283 B

0
code/WebApp/vanilla/assets/icons/file.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/file.svg

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
code/WebApp/vanilla/assets/icons/fold.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/fold.svg

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 595 B

0
code/WebApp/vanilla/assets/icons/folder.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/folder.svg

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 287 B

0
code/WebApp/vanilla/assets/icons/fullscreen-exit.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/fullscreen-exit.svg

Before

Width:  |  Height:  |  Size: 942 B

After

Width:  |  Height:  |  Size: 942 B

0
code/WebApp/vanilla/assets/icons/fullscreen.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/fullscreen.svg

Before

Width:  |  Height:  |  Size: 945 B

After

Width:  |  Height:  |  Size: 945 B

0
code/WebApp/vanilla/assets/icons/home.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/home.svg

Before

Width:  |  Height:  |  Size: 463 B

After

Width:  |  Height:  |  Size: 463 B

0
code/WebApp/vanilla/assets/icons/import.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/import.svg

Before

Width:  |  Height:  |  Size: 282 B

After

Width:  |  Height:  |  Size: 282 B

0
code/WebApp/vanilla/assets/icons/index.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/index.svg

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 279 B

0
code/WebApp/vanilla/assets/icons/lang.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/lang.svg

Before

Width:  |  Height:  |  Size: 558 B

After

Width:  |  Height:  |  Size: 558 B

0
code/WebApp/vanilla/assets/icons/loading.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/loading.svg

Before

Width:  |  Height:  |  Size: 856 B

After

Width:  |  Height:  |  Size: 856 B

0
code/WebApp/vanilla/assets/icons/unfold.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/unfold.svg

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 594 B

0
code/WebApp/vanilla/assets/icons/update.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/icons/update.svg

Before

Width:  |  Height:  |  Size: 577 B

After

Width:  |  Height:  |  Size: 577 B

0
code/WebApp/vanilla/assets/logo.svg → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/logo.svg

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/导入模版.zip

Binary file not shown.

0
code/WebApp/vanilla/components/chart/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/chart/index.js

0
code/WebApp/vanilla/components/form/form-input.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-input.js

0
code/WebApp/vanilla/components/form/form-item.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js

0
code/WebApp/vanilla/components/form/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js

0
code/WebApp/vanilla/components/icon/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/icon/index.js

0
code/WebApp/vanilla/components/list/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js

0
code/WebApp/vanilla/components/markdown/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/markdown/index.js

2
code/WebApp/vanilla/config/settings.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/config/settings.js

@ -1,5 +1,5 @@
export default { export default {
enableLocale: false, enableLocale: false,
//baseURL: "http://dev.ccwin-in.com:10582/api", //baseURL: "http://dev.ccwin-in.com:10582/api",
baseURL: "http://localhost:44378/api", baseURL: "/api",
}; };

0
code/WebApp/vanilla/favicon.ico → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/favicon.ico

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

0
code/WebApp/vanilla/index.html → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/index.html

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/jsconfig.json

@ -0,0 +1,3 @@
{
"exclude": ["node_modules", "files", "btsecsummary", "secsummary"]
}

0
code/WebApp/vanilla/layouts/footer.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/footer.js

0
code/WebApp/vanilla/layouts/header.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/header.js

0
code/WebApp/vanilla/layouts/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/index.js

0
code/WebApp/vanilla/layouts/locale.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/locale.js

0
code/WebApp/vanilla/layouts/logo.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/logo.js

0
code/WebApp/vanilla/layouts/menu-item.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/menu-item.js

0
code/WebApp/vanilla/layouts/menu.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/menu.js

0
code/WebApp/vanilla/layouts/tabs.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/layouts/tabs.js

0
code/WebApp/vanilla/lib/@element-plus/icons-vue/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@element-plus/icons-vue/index.js

0
code/WebApp/vanilla/lib/@microsoft/signalr/signalr.esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@microsoft/signalr/signalr.esm.js

0
code/WebApp/vanilla/lib/@vue-office/excel/index.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vue-office/excel/index.css

0
code/WebApp/vanilla/lib/@vue-office/excel/vue-office-excel.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vue-office/excel/vue-office-excel.mjs

0
code/WebApp/vanilla/lib/@vue/devtools-api/shim.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vue/devtools-api/shim.js

0
code/WebApp/vanilla/lib/@vueuse/core/index.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vueuse/core/index.mjs

0
code/WebApp/vanilla/lib/@vueuse/shared/index.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/@vueuse/shared/index.mjs

0
code/WebApp/vanilla/lib/async-validator/index.min.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/async-validator/index.min.js

0
code/WebApp/vanilla/lib/better-mock/mock.browser.esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/better-mock/mock.browser.esm.js

0
code/WebApp/vanilla/lib/detect-it/detect-it.esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/detect-it/detect-it.esm.js

0
code/WebApp/vanilla/lib/echarts/echarts.esm.min.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/echarts/echarts.esm.min.js

0
code/WebApp/vanilla/lib/element-plus/index.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/index.css

0
code/WebApp/vanilla/lib/element-plus/index.full.min.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/index.full.min.mjs

0
code/WebApp/vanilla/lib/element-plus/index.full.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/index.full.mjs

0
code/WebApp/vanilla/lib/element-plus/locale/en.min.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/locale/en.min.mjs

0
code/WebApp/vanilla/lib/element-plus/locale/zh-cn.min.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/locale/zh-cn.min.mjs

0
code/WebApp/vanilla/lib/element-plus/theme-chalk/dark/css-vars.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/element-plus/theme-chalk/dark/css-vars.css

0
code/WebApp/vanilla/lib/github-markdown-css/github-markdown.min.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/github-markdown-css/github-markdown.min.css

0
code/WebApp/vanilla/lib/highlightjs/highlight.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/highlightjs/highlight.css

0
code/WebApp/vanilla/lib/highlightjs/highlight.min.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/highlightjs/highlight.min.js

0
code/WebApp/vanilla/lib/jwt-decode/jwt-decode.esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/jwt-decode/jwt-decode.esm.js

0
code/WebApp/vanilla/lib/linq/linq.min.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/linq/linq.min.js

0
code/WebApp/vanilla/lib/lodash/lodash.esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/lodash/lodash.esm.js

0
code/WebApp/vanilla/lib/marked/marked.esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/marked/marked.esm.js

0
code/WebApp/vanilla/lib/mermaid/mermaid.esm.min.mjs → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/mermaid/mermaid.esm.min.mjs

0
code/WebApp/vanilla/lib/nprogress/nprogress.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/nprogress/nprogress.css

0
code/WebApp/vanilla/lib/nprogress/nprogress.vite-esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/nprogress/nprogress.vite-esm.js

0
code/WebApp/vanilla/lib/pinia/pinia.esm-browser.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/pinia/pinia.esm-browser.js

0
code/WebApp/vanilla/lib/pubsub-js/pubsub.esm.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/pubsub-js/pubsub.esm.js

0
code/WebApp/vanilla/lib/qs/shim.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/qs/shim.js

0
code/WebApp/vanilla/lib/resize-detector/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/resize-detector/index.js

0
code/WebApp/vanilla/lib/tailwindcss/tailwind.min.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/tailwindcss/tailwind.min.css

0
code/WebApp/vanilla/lib/vue-demi/shim.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-demi/shim.js

0
code/WebApp/vanilla/lib/vue-echarts/index.esm.min.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-echarts/index.esm.min.js

0
code/WebApp/vanilla/lib/vue-i18n/vue-i18n.esm-browser.prod.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-i18n/vue-i18n.esm-browser.prod.js

0
code/WebApp/vanilla/lib/vue-router/vue-router.esm-browser.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue-router/vue-router.esm-browser.js

0
code/WebApp/vanilla/lib/vue/vue.esm-browser.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue/vue.esm-browser.js

0
code/WebApp/vanilla/lib/vue/vue.esm-browser.prod.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/lib/vue/vue.esm-browser.prod.js

0
code/WebApp/vanilla/locale/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/locale/index.js

0
code/WebApp/vanilla/main.css → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/main.css

0
code/WebApp/vanilla/main.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/main.js

0
code/WebApp/vanilla/mixins/style.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/mixins/style.js

0
code/WebApp/vanilla/models/centralized-control.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/centralized-control.js

0
code/WebApp/vanilla/models/code-setting.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/code-setting.js

0
code/WebApp/vanilla/models/login.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/login.js

0
code/WebApp/vanilla/models/role.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/role.js

0
code/WebApp/vanilla/models/user.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/user.js

0
code/WebApp/vanilla/request/index.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/request/index.js

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save