20260908170359
This commit is contained in:
1 parent
2f5eac079e
commit
8734b43a2a
14 files changed
+1956
-1063
No files matched your search
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN"><head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>FMS 权限中心 · 一屏授权</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script>
|
||||
tailwind.config = { theme: { extend: { fontFamily: { sans: ['Inter', 'Segoe UI', 'Microsoft YaHei', 'sans-serif'] } } } }
|
||||
</script>
|
||||
<style>
|
||||
[v-cloak]{display:none}
|
||||
::-webkit-scrollbar{width:9px;height:9px}
|
||||
::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}
|
||||
::-webkit-scrollbar-thumb:hover{background:#94a3b8}
|
||||
.mono{font-family:Consolas,Menlo,"Courier New",monospace}
|
||||
</style>
|
||||
<style>*, ::before, ::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}::after,::before{--tw-content:''}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:Inter, Segoe UI, Microsoft YaHei, sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.bottom-5{bottom:1.25rem}.left-1\/2{left:50%}.top-0{top:0px}.top-20{top:5rem}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[60\]{z-index:60}.mx-auto{margin-left:auto;margin-right:autLine truncated
|
||||
<body class="bg-slate-100 font-sans text-[13px] text-slate-700 antialiased">
|
||||
<div id="app" data-v-app=""><header class="sticky top-0 z-30 border-b border-slate-200 bg-white/95 backdrop-blur"><div class="flex h-14 items-center gap-4 px-5"><div class="flex items-center gap-2.5"><span class="grid h-8 w-8 place-items-center rounded-lg bg-teal-600 text-sm font-bold text-white">F</span><div class="leading-tight"><div class="text-sm font-semibold text-slate-800">FMS 权限中心</div><div class="text-[11px] text-slate-400">一客户一库 · 权限点自动生成</div></div></div><div class="ml-3 flex rounded-lg bg-slate-100 p-0.5"><button class="rounded-md px-3 py-1.5 text-[13px] transition bg-white font-medium text-teal-700 shadow-sm">权限分配</button><button class="rounded-md px-3 py-1.5 text-[13px] transition text-slate-500 hover:text-slate-700">IT 资源配置</button></div><div class="ml-auto flex items-center gap-2 border-l border-slate-200 pl-4"><span class="grid h-8 w-8 place-items-center rounded-full bg-teal-50 text-[12px] font-bold text-teal-700">IT</span><div class="leading-tight"><div class="text-[13px] font-medium text-slate-700">系统管理员</div><div class="text-[11px] text-slate-400">客户库:DEMO-FWD</div></div></div></div></header><div class="mx-auto max-w-[1560px] space-y-4 px-5 py-5"><div class="rounded-xl border border-slate-200 bg-white p-3.5"><div class="flex flex-wrap items-center gap-2"><span class="mr-1 text-[12px] text-slate-400">授权对象</span><button class="flex items-center gap-1.5 rounded-lg border py-1 pl-1.5 pr-2.5 transition border-teal-300 bg-teal-50 text-teal-700"><input type="checkbox" class="h-3 w-3 accent-teal-600"><span class="grid h-6 w-6 place-items-center rounded-full text-[11px] font-bold bg-teal-600 text-white">张</span><span class="text-[13px]">张三</span><span class="text-[11px] text-slate-400">费用会计</span><span class="rounded bg-amber-50 px-1 text-[10px] text-amber-700">9</span></button><button class="flex items-center gap-1.5 rounded-lg border py-1 pl-1.5 pr-2.5 transition border-slate-200 bg-white text-slate-600 hover:bg-slate-50"><input type="checkbox" class="h-3 w-3 accent-teal-600"><span class="grid h-6 w-6 place-items-center rounded-full text-[11px] font-bold bg-slate-100 text-slate-500">李</span><span class="text-[13px]">李四</span><span class="text-[11px] text-slate-400">财务经理</span><span class="rounded bg-amber-50 px-1 text-[10px] text-amber-700">16</span></button><button class="flex items-center gap-1.5 rounded-lg border py-1 pl-1.5 pr-2.5 transition border-slate-200 bg-white text-slate-600 hover:bg-slate-50"><input type="checkbox" class="h-3 w-3 accent-teal-600"><span class="grid h-6 w-6 place-items-center rounded-full text-[11px] font-bold bg-slate-100 text-slate-500">王</span><span class="text-[13px]">王五</span><span class="text-[11px] text-slate-400">海运操作</span><span class="rounded bg-amber-50 px-1 text-[10px] text-amber-700">11</span></button><button class="flex items-center gap-1.5 rounded-lg border py-1 pl-1.5 pr-2.5 transition border-slate-200 bg-white text-slate-600 hover:bg-slate-50"><input type="checkbox" class="h-3 w-3 accent-teal-600"><span class="grid h-6 w-6 place-items-center rounded-full text-[11px] font-bold bg-slate-100 text-slate-500">赵</span><span class="text-[13px]">赵六</span><span class="text-[11px] text-slate-400">客服专员</span><span class="rounded bg-amber-50 px-1 text-[10px] text-amber-700">2</span></button><button class="flex items-center gap-1.5 rounded-lg border py-1 pl-1.5 pr-2.5 transition border-slate-200 bg-white text-slate-600 hover:bg-slate-50"><input type="checkbox" class="h-3 w-3 accent-teal-600"><span class="grid h-6 w-6 place-items-center rounded-full text-[11px] font-bold bg-slate-100 text-slate-500">孙</span><span class="text-[13px]">孙七</span><span class="text-[11px] text-slate-400">销售代表</span><span class="rounded bg-amber-50 px-1 text-[10px] text-amber-700">2</span></button><button class="flex items-center gap-1.5 rounded-lg border py-1 pl-1.5 pr-2.5 transition border-slate-200 bg-white text-slate-600 hover:bg-slate-50"><input type="checkbox" class="h-3 w-3 accent-teal-600"><span class="grid h-6 w-6 place-items-center rounded-full text-[11px] font-bold bg-slate-100 text-slate-500">周</span><span class="text-[13px]">周八</span><span class="text-[11px] text-slate-400">销售经理</span><!----></button><div class="ml-auto flex items-center gap-2"><select class="h-8 rounded-lg border border-slate-200 bg-white px-2.5 text-[12px] outline-none focus:border-teal-500"><option value="">应用角色模板…</option><option value="fee_clerk">费用会计</option><option value="fee_mgr">财务经理</option><option value="operator">海运操作</option><option value="readonly">只读查询</option></select><button class="h-8 rounded-lg bg-teal-600 px-3 text-[12px] font-medium text-white hover:bg-teal-500">应用到当前用户</button></div></div></div><div class="grid gap-5 xl:grid-cols-[230px_minmax(0,1fr)_330px]"><aside class=Line truncated
|
||||
<span class="text-teal-300">from</span> cw_fee
|
||||
<span class="text-teal-300">where</span> 1 = 1
|
||||
<span class="text-teal-300">and</span> input_dept_id = @current_dept
|
||||
|
||||
<span class="text-slate-500">-- 已裁剪字段:internal_cost, gross_profit</span></div></div><div class="rounded-xl border border-slate-200 bg-white"><div class="border-b border-slate-100 px-4 py-3"><div class="text-[13px] font-semibold text-slate-800">将写入的表记录</div><div class="mt-0.5 text-[11px] text-slate-400">只存例外,没配的不落库</div></div><div class="max-h-72 space-y-2 overflow-auto p-3"><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_power</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan · menu.cw_fee.access · b_canuse = 1</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_power</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan · module.cw_fee.read · b_canuse = 1</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_power</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan · module.cw_fee.create · b_canuse = 1</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_power</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan · module.cw_fee.update · b_canuse = 1</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_power</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan · module.cw_fee.export · b_canuse = 1</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_power</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan · module.cw_fee.audit · b_canuse = 1</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_field_permission</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan / cw_fee / amount · mode = view · query = 1 · export = 0</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_field_permission</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan / cw_fee / internal_cost · mode = hidden · query = 0 · export = 0</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_field_permission</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan / cw_fee / gross_profit · mode = hidden · query = 0 · export = 0</div></div><div class="rounded-lg bg-slate-50 p-2.5"><div class="mono text-[10px] text-teal-700">s_user_data_scope</div><div class="mono mt-1 break-all text-[11px] text-slate-500">zhangsan / cw_fee / * / default / department</div></div><!----></div></div></aside></div></div><!----><!----><div class="pointer-events-none fixed left-1/2 top-20 z-[60] -translate-x-1/2 rounded-lg bg-slate-900 px-4 py-2 text-[13px] text-white shadow-xl transition-all -translate-y-2 opacity-0"></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in new issue
Block a user