fix: 初始化
10
packages/icpx-file/.env
Normal file
@ -0,0 +1,10 @@
|
||||
VUE_APP_PUBLIC_PATH=/
|
||||
VUE_APP_PREVIEW=true
|
||||
VUE_APP_API_BASE_URL=/api
|
||||
|
||||
VITE_ENV_THEME_DEFAULT=default
|
||||
VITE_APP_PUBLIC_PATH=/
|
||||
VITE_APP_PREVIEW=true
|
||||
VITE_APP_API_BASE_URL=/api
|
||||
|
||||
VITE_REMOTE_ICPX_PLATFORM = http://localhost:4000
|
2
packages/icpx-file/.env.analyz
Normal file
@ -0,0 +1,2 @@
|
||||
NODE_ENV=production
|
||||
IS_ANALYZ=true
|
11
packages/icpx-file/.env.development
Normal file
@ -0,0 +1,11 @@
|
||||
VUE_APP_PREVIEW=true
|
||||
VUE_APP_API_BASE_URL=/api
|
||||
MOCK=true
|
||||
HTTP_MOCK=true
|
||||
VUE_APP_SOCKET_URL=ws://10.0.65.251:59211/
|
||||
|
||||
VITE_APP_PREVIEW=true
|
||||
VITE_APP_API_BASE_URL=/api
|
||||
VITE_MOCK=true
|
||||
VITE_HTTP_MOCK=true
|
||||
VITE_APP_SOCKET_URL=ws://10.0.65.251:59211/
|
6
packages/icpx-file/.env.preview
Normal file
@ -0,0 +1,6 @@
|
||||
NODE_ENV=production
|
||||
VUE_APP_PUBLIC_PATH=/pro/preview/
|
||||
VUE_APP_API_URL=/api
|
||||
|
||||
VITE_APP_PUBLIC_PATH=/pro/preview/
|
||||
VITE_APP_API_URL=/api
|
9
packages/icpx-file/.env.production
Normal file
@ -0,0 +1,9 @@
|
||||
NODE_ENV=production
|
||||
VUE_APP_PREVIEW=false
|
||||
VUE_APP_API_URL=/api
|
||||
VUE_APP_SOCKET_URL=ws://10.0.88.239:59211/
|
||||
|
||||
|
||||
VITE_APP_PREVIEW=false
|
||||
VITE_APP_API_URL=/api
|
||||
VITE_APP_SOCKET_URL=ws://10.0.88.239:59211/
|
24
packages/icpx-file/.gitignore
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
3
packages/icpx-file/.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"recommendations": ["Vue.volar"]
|
||||
}
|
9
packages/icpx-file/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
#### 1.拉取自定义镜像名称
|
||||
FROM 10.0.88.243/icpx/base_frontend:0.0.9
|
||||
|
||||
# 2.将打包后的代码复制到运行位置
|
||||
COPY ./dist /var/www
|
||||
|
||||
# 3.启动nginx
|
||||
ENTRYPOINT ["nginx","-g","daemon off;"]
|
||||
|
16
packages/icpx-file/README.md
Normal file
@ -0,0 +1,16 @@
|
||||
# Vue 3 + TypeScript + Vite
|
||||
|
||||
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
||||
|
||||
## Recommended IDE Setup
|
||||
|
||||
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
|
||||
|
||||
## Type Support For `.vue` Imports in TS
|
||||
|
||||
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's Take Over mode by following these steps:
|
||||
|
||||
1. Run `Extensions: Show Built-in Extensions` from VS Code's command palette, look for `TypeScript and JavaScript Language Features`, then right click and select `Disable (Workspace)`. By default, Take Over mode will enable itself if the default TypeScript extension is disabled.
|
||||
2. Reload the VS Code window by running `Developer: Reload Window` from the command palette.
|
||||
|
||||
You can learn more about Take Over mode [here](https://github.com/johnsoncodehk/volar/discussions/471).
|
23
packages/icpx-file/build/env.ts
Normal file
@ -0,0 +1,23 @@
|
||||
import { loadEnv as _loadEnv } from 'vite';
|
||||
|
||||
export interface IEnv {
|
||||
DEV: boolean;
|
||||
PROD: boolean;
|
||||
VITE_ENV_THEME_DEFAULT: string;
|
||||
}
|
||||
|
||||
export const loadEnv = (options: { command: string; mode: string }) => {
|
||||
const { command, mode } = options;
|
||||
const isDev = command === 'serve';
|
||||
const env: IEnv = Object.assign(
|
||||
{
|
||||
DEV: isDev,
|
||||
PROD: !isDev,
|
||||
VITE_ENV_THEME_DEFAULT: '',
|
||||
},
|
||||
_loadEnv(isDev ? 'development' : 'production', process.cwd(), ''),
|
||||
_loadEnv(mode, process.cwd(), ''),
|
||||
);
|
||||
|
||||
return env;
|
||||
};
|
4
packages/icpx-file/build/index.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { loadEnv } from './env';
|
||||
import { addThemeConfig } from './theme-config';
|
||||
|
||||
export { loadEnv, addThemeConfig };
|
166
packages/icpx-file/build/theme-config.ts
Normal file
@ -0,0 +1,166 @@
|
||||
import fs, { readdirSync } from 'fs';
|
||||
import path from 'path';
|
||||
import type { UserConfig, PluginOption } from 'vite';
|
||||
import { themePreprocessorPlugin } from '@crami/vite-plugin-theme-preprocessor';
|
||||
import { defaultsDeep } from 'lodash-es';
|
||||
import colors from 'colors';
|
||||
|
||||
const ADDITIONALFILENAME = 'app.less';
|
||||
const THEMEVARIABLESFILENAME = 'variables.less';
|
||||
const PATHRESOLVETO = '../src/theme/';
|
||||
const uuid = `.${new Date().getTime()}`;
|
||||
|
||||
type IThemeUserConfig = {
|
||||
env: IThemeEnvConfig;
|
||||
userConfig: UserConfig;
|
||||
};
|
||||
|
||||
type IThemeConfig = {
|
||||
additionalDataName: string;
|
||||
themesName: string[];
|
||||
defaultThemeName: string;
|
||||
rootPath: string;
|
||||
};
|
||||
|
||||
type IThemeLoadConfigOptions = {
|
||||
defaultThemeName: string;
|
||||
};
|
||||
|
||||
type IThemeEnvConfig = {
|
||||
VITE_ENV_THEME_DEFAULT: string;
|
||||
};
|
||||
|
||||
const loadConfig = (options: IThemeLoadConfigOptions) => {
|
||||
const dirname = __dirname;
|
||||
const { defaultThemeName } = options;
|
||||
const config: IThemeConfig = {
|
||||
additionalDataName: '',
|
||||
themesName: [],
|
||||
defaultThemeName: '',
|
||||
rootPath: '',
|
||||
};
|
||||
|
||||
const themeRootPath = path.resolve(dirname, PATHRESOLVETO);
|
||||
let dir;
|
||||
try {
|
||||
dir = readdirSync(themeRootPath);
|
||||
} catch (e) {
|
||||
console.log(
|
||||
colors.red.underline('project file directory not exist the "src/theme/default" folder!'),
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
||||
if (dir.includes(ADDITIONALFILENAME)) {
|
||||
config.additionalDataName = ADDITIONALFILENAME;
|
||||
}
|
||||
|
||||
dir.forEach(name => {
|
||||
const themePath = path.resolve(themeRootPath, `./${name}`);
|
||||
const stats = fs.statSync(themePath);
|
||||
|
||||
if (stats.isDirectory()) {
|
||||
const dir = readdirSync(themePath);
|
||||
if (dir.includes(THEMEVARIABLESFILENAME)) {
|
||||
config.themesName.push(name);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
config.defaultThemeName = defaultThemeName || config.themesName[0] || 'default';
|
||||
config.rootPath = themeRootPath;
|
||||
|
||||
return config;
|
||||
};
|
||||
|
||||
const addCssAdditionalDataConfig = (themeConfig: IThemeConfig, userConfig: UserConfig) => {
|
||||
const _config: UserConfig = {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
less: {
|
||||
additionalData: (content, filePath) => {
|
||||
const srcAppLess =
|
||||
path.resolve(themeConfig.rootPath, '..').replace(/\\/g, '/') + '/app.less';
|
||||
|
||||
if (filePath === srcAppLess) {
|
||||
const _content = `${content} \n @import "./theme/app.less";`;
|
||||
return _content;
|
||||
}
|
||||
|
||||
return content;
|
||||
},
|
||||
javascriptEnabled: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
defaultsDeep(userConfig, _config);
|
||||
};
|
||||
|
||||
interface IUserConfig extends UserConfig {
|
||||
plugins: PluginOption[];
|
||||
optimizeDeps: {
|
||||
exclude: string[];
|
||||
};
|
||||
}
|
||||
|
||||
const addThemePreprocessorPluginConfig = (themeConfig: IThemeConfig, userConfig: UserConfig) => {
|
||||
const pluginConfig: UserConfig = {
|
||||
plugins: [],
|
||||
optimizeDeps: {
|
||||
exclude: [],
|
||||
},
|
||||
};
|
||||
defaultsDeep(userConfig, pluginConfig);
|
||||
|
||||
const config = userConfig as IUserConfig;
|
||||
|
||||
config.plugins = [
|
||||
...config.plugins,
|
||||
themePreprocessorPlugin({
|
||||
less: {
|
||||
// 是否启用任意主题色模式,这里不启用
|
||||
arbitraryMode: false,
|
||||
// 提供多组变量文件
|
||||
multipleScopeVars: themeConfig.themesName.map(name => {
|
||||
const _path = path.resolve(themeConfig.rootPath, `./${name}/${THEMEVARIABLESFILENAME}`);
|
||||
//console.log(_path);
|
||||
return {
|
||||
scopeName: name,
|
||||
path: _path,
|
||||
};
|
||||
}),
|
||||
defaultScopeName: themeConfig.defaultThemeName,
|
||||
// 在生产模式是否抽取独立的主题css文件,extract为true以下属性有效
|
||||
// !!!【注意】这里必须是true
|
||||
extract: true,
|
||||
customThemeCssFileName: scopeName => scopeName + uuid,
|
||||
removeCssScopeName: true,
|
||||
},
|
||||
}),
|
||||
];
|
||||
|
||||
config.optimizeDeps.exclude = [
|
||||
...config.optimizeDeps.exclude,
|
||||
//【注意】 排除 import { toggleTheme } from "@crami/vite-plugin-theme-preprocessor/dist/browser-utils"; 在vite的缓存依赖
|
||||
// 否则会造成切换失效
|
||||
'@crami/vite-plugin-theme-preprocessor/dist/browser-utils',
|
||||
];
|
||||
};
|
||||
|
||||
const addThemeConfig = (options: IThemeUserConfig) => {
|
||||
const { env, userConfig } = options;
|
||||
const { VITE_ENV_THEME_DEFAULT: defaultThemeName } = env;
|
||||
const themeConfig = loadConfig({ defaultThemeName });
|
||||
if (!themeConfig) {
|
||||
return;
|
||||
}
|
||||
if (themeConfig.additionalDataName) {
|
||||
addCssAdditionalDataConfig(themeConfig, userConfig);
|
||||
}
|
||||
if (themeConfig.themesName && themeConfig.themesName.length > 0) {
|
||||
addThemePreprocessorPluginConfig(themeConfig, userConfig);
|
||||
}
|
||||
};
|
||||
|
||||
export { addThemeConfig };
|
13
packages/icpx-file/index.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="./src/assets/login-top-logo-square.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>ICP9.2</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
23
packages/icpx-file/package.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "file",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"vite:build": "vite build",
|
||||
"build:icons": "node ./build/svg-icons/index.js",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"crypto-js": "^4.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
},
|
||||
"pnpm":{
|
||||
"overrides":{
|
||||
"vue": "3.2.37"
|
||||
}
|
||||
}
|
||||
}
|
1
packages/icpx-file/public/vite.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
After Width: | Height: | Size: 1.5 KiB |
168
packages/icpx-file/src/App.vue
Normal file
@ -0,0 +1,168 @@
|
||||
<template>
|
||||
<h-b-config-provider
|
||||
:locale="locale"
|
||||
:component-size="sizeType"
|
||||
:pro-table="proTableGlobalConfig"
|
||||
:form="formGlobalConfig"
|
||||
>
|
||||
<h-props-provider :datePicker="datePickerGlobalConfig">
|
||||
<router-view />
|
||||
</h-props-provider>
|
||||
</h-b-config-provider>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { computed, defineComponent, provide, watch, h, reactive, isRef, isShallow } from 'vue';
|
||||
import { useI18n, setI18nLanguage } from '@crami/locale';
|
||||
import { Icon } from '@crami/ui';
|
||||
import { defaultLang, langMap } from './locales';
|
||||
import type { ConfigProviderProps } from 'ant-design-vue/lib/config-provider';
|
||||
import { baseInfo } from '@/store/baseInfo';
|
||||
// 模块联邦:远程引入的多语言设置方法
|
||||
import { setLanguage, baseInfoHandle } from '@remote/icpx-platform/utils';
|
||||
|
||||
// import { locales } from '@remote/icpx-platform/lang';
|
||||
|
||||
// import { setLanguage } from '@/utils/localeUtils';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'App',
|
||||
setup() {
|
||||
// 多语言
|
||||
const { t } = useI18n();
|
||||
const i18n = useI18n();
|
||||
|
||||
// 设置模块联邦引入的多语言
|
||||
const setGlobleLang = async (lang = defaultLang) => {
|
||||
const i18n = useI18n();
|
||||
// 获取远程模块的多语言
|
||||
let getLangObj = await import('@remote/icpx-platform/lang');
|
||||
const langObj = await getLangObj.default(langMap[lang]);
|
||||
// 合并多远程模块的多语言
|
||||
i18n.mergeLocaleMessage(langMap[lang], langObj.default);
|
||||
};
|
||||
|
||||
// 基座应用的数据处理
|
||||
baseInfoHandle(baseInfo);
|
||||
setLanguage(baseInfo.lang);
|
||||
// 多语言多时区处理
|
||||
setGlobleLang(baseInfo.lang);
|
||||
localStorage.setItem('TIME_ZONE', baseInfo.timeZone);
|
||||
|
||||
const getLocal = computed(() => {
|
||||
const local = i18n.locale;
|
||||
if (isRef(local) || isShallow(local)) {
|
||||
return local.value;
|
||||
}
|
||||
return local;
|
||||
});
|
||||
const locale = computed(() => {
|
||||
return i18n.getLocaleMessage(getLocal.value).antd as ConfigProviderProps['locale'];
|
||||
});
|
||||
|
||||
// 多时区
|
||||
const datePickerGlobalConfig = reactive({
|
||||
timeZone: baseInfo.timeZone,
|
||||
});
|
||||
// const sizeType = computed(() => store.getters['app/sizeType']);
|
||||
const sizeType = computed(() => 'default');
|
||||
|
||||
// 全局表格配置
|
||||
const proTableGlobalConfig = reactive({
|
||||
toolbar: {
|
||||
showSelectionTitle: true,
|
||||
settingIcon: () => h(Icon, { name: 'icp-table-setting', width: '16px', height: '16px' }),
|
||||
},
|
||||
stripe: true,
|
||||
showHeaderLine: true,
|
||||
settingShowColumn: {
|
||||
valueType: 'action',
|
||||
},
|
||||
headerAlign: 'start', // 排序图标跟随表头文字
|
||||
pagination: {
|
||||
showSizeChanger: true, // 显示可改变每页数量
|
||||
showQuickJumper: true, //是否可以快速跳转至某页
|
||||
pageSizeOptions: ['10', '20', '50', '100'], // 每页数量选项
|
||||
// showTotal: (total, range) => `第 ${range[0]}~${range[1]} 条 / 共 ${total} 条`, // 显示总数
|
||||
showTotal: (total, range) =>
|
||||
t('pages.table.pagination', {
|
||||
total,
|
||||
number1: range[0],
|
||||
number2: range[1],
|
||||
}), // 显示总数
|
||||
},
|
||||
});
|
||||
|
||||
// 全局form配置,仅在dev分支使用
|
||||
const formGlobalConfig = reactive({
|
||||
// layout: 'vertical', // horizontal vertical
|
||||
// title: '查询',
|
||||
// submitter: {
|
||||
// actionButtonGroupPosition: 'top',
|
||||
// // 是否显示展开收起按钮
|
||||
// showAdvancedButton: true,
|
||||
// // 如果 showAdvancedButton 为 true,超过指定行数行默认折叠
|
||||
// autoAdvancedLine: 1,
|
||||
// // 折叠时始终保持显示的行数
|
||||
// alwaysShowLines: 1,
|
||||
// },
|
||||
// 真对于查询全局配置
|
||||
queryFormProps: {
|
||||
layout: 'horizontal',
|
||||
title: '',
|
||||
labelCol: { style: { width: '150px' } }, //标签
|
||||
// submitter: {
|
||||
// showActionButtonGroup: true,
|
||||
// actionButtonGroupPosition: 'bottom',
|
||||
// showAdvancedButton: true,
|
||||
// autoAdvancedLine: 2,
|
||||
// alwaysShowLines: 1,
|
||||
// },
|
||||
},
|
||||
});
|
||||
|
||||
// 监听多语言的变化
|
||||
watch(
|
||||
() => baseInfo.lang,
|
||||
async () => {
|
||||
await setGlobleLang(baseInfo.lang);
|
||||
setLanguage(baseInfo.lang);
|
||||
},
|
||||
);
|
||||
|
||||
// 监听时区的变化的变化
|
||||
watch(
|
||||
() => baseInfo.timeZone,
|
||||
() => {
|
||||
datePickerGlobalConfig.timeZone = baseInfo.timeZone;
|
||||
localStorage.setItem('TIME_ZONE', baseInfo.timeZone);
|
||||
},
|
||||
);
|
||||
|
||||
return {
|
||||
t,
|
||||
i18n,
|
||||
locale,
|
||||
sizeType,
|
||||
proTableGlobalConfig,
|
||||
formGlobalConfig,
|
||||
datePickerGlobalConfig,
|
||||
baseInfo,
|
||||
setGlobleLang,
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
will-change: filter;
|
||||
}
|
||||
.logo:hover {
|
||||
filter: drop-shadow(0 0 2em #646cffaa);
|
||||
}
|
||||
.logo.vue:hover {
|
||||
filter: drop-shadow(0 0 2em #42b883aa);
|
||||
}
|
||||
</style>
|
41
packages/icpx-file/src/api/README.md
Normal file
@ -0,0 +1,41 @@
|
||||
## Axios Typescript 使用说明
|
||||
|
||||
目前推荐封装请求方法直接使用 `src/utils/request.ts`
|
||||
使用案例如下:
|
||||
|
||||
#### GET
|
||||
|
||||
```ts
|
||||
async function getUser(id: number) {
|
||||
return request.get<id, UserInfo>(`/user/${id}`);
|
||||
}
|
||||
// 返回结果为
|
||||
// Promise<UserInfo>
|
||||
```
|
||||
|
||||
#### POST / PUT
|
||||
|
||||
```ts
|
||||
async function saveUser(user: UserInfo) {
|
||||
// 定义用于得知是 新增 还是 修改
|
||||
// 可根据自己业务自定义逻辑判断
|
||||
const isNewRecord = user.id > 0;
|
||||
return request<UserInfo, boolean>({
|
||||
url: isNewRecord ? `/user/${id}` : `/user/`,
|
||||
method: isNewRecord ? 'POST' : 'PUT',
|
||||
data: user,
|
||||
});
|
||||
}
|
||||
// 返回结果为
|
||||
// Promise<boolean>
|
||||
```
|
||||
|
||||
#### DELETE
|
||||
|
||||
```ts
|
||||
async function deleteUser(id: number) {
|
||||
return request.delete<number, boolean>(`/user/${id}`);
|
||||
}
|
||||
// 返回结果为
|
||||
// Promise<boolean>
|
||||
```
|
135
packages/icpx-file/src/api/commonApi/index.ts
Normal file
@ -0,0 +1,135 @@
|
||||
import type { APIMethod } from '@crami/bui-types';
|
||||
//通用接口参数处理
|
||||
import { getInfo, ICP_CONFIG } from '@remote/icpx-platform/utils';
|
||||
import { computed, reactive } from 'vue';
|
||||
|
||||
export const commonApi = () => {
|
||||
const commonParams = computed(() => {
|
||||
return getInfo(ICP_CONFIG);
|
||||
});
|
||||
|
||||
const studioCacheParam = reactive({
|
||||
//产品线
|
||||
productLine: commonParams.value?.project,
|
||||
//语言
|
||||
lang: commonParams.value?.lang,
|
||||
//视图名称
|
||||
// name: commonParams.value?.listView,
|
||||
//行政组
|
||||
// userDept: commonParams.value?.userDept,
|
||||
// //用户组
|
||||
// userGroup: commonParams.value?.userGroup,
|
||||
//项目实例
|
||||
projectCode: commonParams.value?.projectCode,
|
||||
// 多时区
|
||||
timeZone: commonParams.value?.TIME_ZONE,
|
||||
});
|
||||
const systemParam = reactive({
|
||||
// viewName: commonParams.value?.listViewName,
|
||||
lang: commonParams.value?.lang,
|
||||
//数据库连接
|
||||
connect: commonParams.value?.connect,
|
||||
//所属租户
|
||||
companyId: commonParams.value?.companyId,
|
||||
//行政组
|
||||
userDept: commonParams.value?.userDept,
|
||||
//用户组
|
||||
userGroup: commonParams.value?.userGroup,
|
||||
projectCode: commonParams.value?.projectCode,
|
||||
// 多时区
|
||||
timeZone: commonParams.value?.TIME_ZONE,
|
||||
});
|
||||
const paraList = {
|
||||
loadAllStructure: false,
|
||||
lang: commonParams.value?.lang,
|
||||
connect: commonParams.value?.connect,
|
||||
companyId: commonParams.value?.companyId,
|
||||
userGroup: commonParams.value?.userGroup,
|
||||
projectCode: commonParams.value?.projectCode,
|
||||
userDept: commonParams.value?.userDept,
|
||||
};
|
||||
return {
|
||||
studioCache: {
|
||||
getMetaInfo: {
|
||||
url: '/api/studio-cache/page/getMetaInfo',
|
||||
params: studioCacheParam,
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
getByProjectAndType: {
|
||||
url: '/api/studio-cache/metaData/getByProjectAndType',
|
||||
params: {
|
||||
productLine: commonParams.value?.project,
|
||||
projectCode: commonParams.value?.projectCode,
|
||||
timeZone: commonParams.value?.TIME_ZONE,
|
||||
},
|
||||
method: 'get' as APIMethod,
|
||||
},
|
||||
},
|
||||
system: {
|
||||
getData: {
|
||||
url: '/api/system/view/getData',
|
||||
params: systemParam,
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
getGetOnePageGridDataList: {
|
||||
url: '/api/system/model/getGetOnePageGridDataList',
|
||||
params: {
|
||||
...systemParam,
|
||||
objectType: '',
|
||||
},
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
getGetOnePageGridDataListByTenant: {
|
||||
url: '/api/system/tenant/getGetOnePageGridDataList',
|
||||
params: {
|
||||
...systemParam,
|
||||
objectType: '',
|
||||
},
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
getSltData: {
|
||||
url: '/api/system/model/getSltData',
|
||||
params: {
|
||||
...systemParam,
|
||||
userId: commonParams.value?.user_id,
|
||||
},
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
getGetTreeRootDataList: {
|
||||
url: '/api/system/model/getGetTreeRootDataList',
|
||||
params: {
|
||||
...systemParam,
|
||||
paraList: JSON.stringify(paraList),
|
||||
type: 'tree',
|
||||
loadAllStructure: false,
|
||||
},
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
getGetTreeChildDataList: {
|
||||
url: '/api/system/model/getGetTreeChildDataList',
|
||||
params: {
|
||||
...systemParam,
|
||||
type: 'treeChildren',
|
||||
loadAllStructure: false,
|
||||
},
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
getObjectDataTestList: {
|
||||
url: '/api/system/model/GetObjectDataTestList',
|
||||
params: {
|
||||
...systemParam,
|
||||
userId: commonParams.value?.user_id,
|
||||
},
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
saveObjectData: {
|
||||
url: '/api/msg/sender/saveOrEditMsgSender',
|
||||
params: {
|
||||
...systemParam,
|
||||
userId: commonParams.value?.user_id,
|
||||
},
|
||||
method: 'post' as APIMethod,
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
71
packages/icpx-file/src/api/platform/ImpExp/Export.ts
Normal file
@ -0,0 +1,71 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface saveData {
|
||||
ObjectType: string;
|
||||
companyId: string;
|
||||
connect: string;
|
||||
data: {
|
||||
ECODE: string;
|
||||
EID: string;
|
||||
ENAME: string;
|
||||
EXPORTTYPE: string;
|
||||
FILETYPE: string;
|
||||
MAXCOUNT: string;
|
||||
SETTING: string;
|
||||
STATE: string;
|
||||
TEMPLATE: string;
|
||||
};
|
||||
lang: string;
|
||||
mode: string;
|
||||
modelName: string;
|
||||
newObject: string;
|
||||
objectID: string;
|
||||
productLine: string;
|
||||
projectCode: string;
|
||||
type: string;
|
||||
userId: string;
|
||||
}
|
||||
export async function saveDataAPI(data: any) {
|
||||
return await useHttp({
|
||||
url: '/system/model/saveObjectData',
|
||||
method: 'post',
|
||||
data,
|
||||
headers: {
|
||||
//根据接扣文档需要加的请求头
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
export interface editData {
|
||||
companyId: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
objectID: string;
|
||||
// projectCode: string;
|
||||
// userDept: string;
|
||||
// userGroup: string;
|
||||
// userId: string;
|
||||
}
|
||||
export async function editDataAPI(data: editData) {
|
||||
return await useHttp({
|
||||
url: '/system/model/GetObjectDataTestList',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export interface deleteRule {
|
||||
companyId: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
eidstr: string[];
|
||||
}
|
||||
export async function deleteRuleAPI(data: deleteRule) {
|
||||
return await useHttp({
|
||||
url: '/exportservice/exportMaintain/deleteRule',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
152
packages/icpx-file/src/api/platform/ImpExp/Import.ts
Normal file
@ -0,0 +1,152 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface saveData {
|
||||
ObjectType: string;
|
||||
companyId: string;
|
||||
connect: string;
|
||||
data: {
|
||||
ECODE: string;
|
||||
EID: string;
|
||||
ENAME: string;
|
||||
ERROPTION: string;
|
||||
FILETYPE: string;
|
||||
MAXCOUNT: string;
|
||||
SETTING: string;
|
||||
STATEID: string;
|
||||
TEMPLATE: string;
|
||||
};
|
||||
lang: string;
|
||||
mode: string;
|
||||
modelName: string;
|
||||
newObject: string;
|
||||
objectID: string;
|
||||
productLine: string;
|
||||
projectCode: string;
|
||||
type: string;
|
||||
userId: string;
|
||||
}
|
||||
export async function saveDataAPI(data: saveData) {
|
||||
return await useHttp({
|
||||
url: '/system/model/saveObjectData',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export interface editData {
|
||||
companyId: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
objectID: string;
|
||||
// userId: string;
|
||||
}
|
||||
export async function editDataAPI(data: editData) {
|
||||
return await useHttp({
|
||||
url: '/system/model/GetObjectDataTestList',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// sheet页
|
||||
export interface analysis {
|
||||
dataList: any;
|
||||
dataCache: string; //可以为空
|
||||
companyId: string;
|
||||
objectID: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
userId: string;
|
||||
}
|
||||
export async function analysisTableAPI(data: analysis) {
|
||||
return await useHttp({
|
||||
url: '/importservice/importMaintain/getSheetNameTab',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
//校验
|
||||
export interface analysis2 {
|
||||
dataList: any;
|
||||
dataCache: string; //可以为空
|
||||
companyId: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
userId: string;
|
||||
}
|
||||
export async function verifyDataAPI(data: analysis2) {
|
||||
return await useHttp({
|
||||
url: '/importservice/import/checkData',
|
||||
method: 'post',
|
||||
data,
|
||||
timeout: 999999999,
|
||||
});
|
||||
}
|
||||
|
||||
//解析
|
||||
export interface analysisData {
|
||||
fileId: string;
|
||||
dataList: any;
|
||||
companyId: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
userId: string;
|
||||
}
|
||||
export async function analysisDataAPI(data: analysisData) {
|
||||
return await useHttp({
|
||||
url: '/importservice/import/extractData',
|
||||
method: 'post',
|
||||
data,
|
||||
timeout: 999999999,
|
||||
});
|
||||
}
|
||||
|
||||
//下载获取文件id
|
||||
export async function getFileId(data: analysis) {
|
||||
return await useHttp({
|
||||
url: '/importservice/importMaintain/getFileId',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
//导入
|
||||
export interface importErrList {
|
||||
ecode: string; //编码 导入按钮上默认配置
|
||||
dataCache: string; //数据缓存key
|
||||
customValid: [];
|
||||
companyId: string;
|
||||
connect: string;
|
||||
userId: string;
|
||||
lang: string;
|
||||
}
|
||||
export async function importErrListAPI(data: importErrList) {
|
||||
return await useHttp({
|
||||
url: '/importservice/import/saveData',
|
||||
method: 'post',
|
||||
data,
|
||||
timeout: 999999999,
|
||||
});
|
||||
}
|
||||
|
||||
export interface ExpRule {
|
||||
companyId: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
objectType: string;
|
||||
dataRoute: string;
|
||||
dataCache: string;
|
||||
viewName: string;
|
||||
isAll: string;
|
||||
eids: [];
|
||||
}
|
||||
|
||||
export async function ExpDataAPI(data: ExpRule) {
|
||||
return await useHttp({
|
||||
url: '/exportservice/export/exportGridData',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
29
packages/icpx-file/src/api/platform/ImpExp/expGuide.ts
Normal file
@ -0,0 +1,29 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface ExpRule {
|
||||
companyId: string;
|
||||
connect: string;
|
||||
filter: [
|
||||
{
|
||||
andOrFlag: string;
|
||||
field: string;
|
||||
operation: string;
|
||||
value: string;
|
||||
},
|
||||
];
|
||||
lang: string;
|
||||
objectType: string;
|
||||
page: number;
|
||||
pageNo: number;
|
||||
pageSize: number;
|
||||
data: any;
|
||||
}
|
||||
|
||||
export async function ExpDataAPI(data: ExpRule) {
|
||||
return await useHttp({
|
||||
url: '/exportservice/export/exportGridData',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
44
packages/icpx-file/src/api/platform/ImpExp/upload.ts
Normal file
@ -0,0 +1,44 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface fileUpload {
|
||||
file: string;
|
||||
filePath: string;
|
||||
fileShowName: string;
|
||||
}
|
||||
export async function FileUploadAPI(data: any) {
|
||||
return await useHttp({
|
||||
url: '/api/file/applicationFile/upload',
|
||||
method: 'post',
|
||||
data,
|
||||
timeout: 999999999,
|
||||
});
|
||||
}
|
||||
|
||||
export interface downloadUrl {
|
||||
fileId: string;
|
||||
}
|
||||
export async function downloadUrlAPI(fileId: string) {
|
||||
return await useHttp({
|
||||
url: `/api/file/applicationFile/template/downloadUrl/${fileId}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export interface soleData {
|
||||
Data: {
|
||||
coding: string;
|
||||
};
|
||||
NewObject: boolean;
|
||||
connect: string;
|
||||
lang: string;
|
||||
objectID: string;
|
||||
objectType: string;
|
||||
}
|
||||
export async function soleDataAPI(data: soleData) {
|
||||
return await useHttp({
|
||||
url: '/api/system/model/CheckObjectUnique',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
30
packages/icpx-file/src/api/platform/auth/index.ts
Normal file
@ -0,0 +1,30 @@
|
||||
import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
interface SaveMenu {
|
||||
lang: string;
|
||||
connect: string;
|
||||
companyId: string;
|
||||
objectId: string;
|
||||
appId: string;
|
||||
permissionType: string; // PC/MOBILE/API
|
||||
userId: string;
|
||||
data: Array<any>;
|
||||
}
|
||||
|
||||
// 获取授权应用
|
||||
export async function getApplication() {
|
||||
return request.request<any, any>({
|
||||
url: '/system/fun/getApplication',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
// 授权菜单保存
|
||||
export async function saveMenu(data: SaveMenu) {
|
||||
return await useHttp({
|
||||
url: '/api/menupermission/menuPer/saveMenuPer',
|
||||
method: 'post',
|
||||
params: data,
|
||||
});
|
||||
}
|
52
packages/icpx-file/src/api/platform/demo/demoList.ts
Normal file
@ -0,0 +1,52 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
interface MetaData {
|
||||
EID: string;
|
||||
ECODE: string;
|
||||
ENAME: string;
|
||||
PUBLISHER: string;
|
||||
PUBLISHDATE: string;
|
||||
}
|
||||
|
||||
export interface RegisterResp {
|
||||
data: Record<any, any>;
|
||||
success: boolean;
|
||||
}
|
||||
|
||||
interface deleteData {
|
||||
EID: string;
|
||||
}
|
||||
|
||||
// 新增
|
||||
export async function addList(data: MetaData) {
|
||||
return request.request<MetaData, RegisterResp>({
|
||||
url: '/practice/tclBook/add',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询
|
||||
export async function searchList(data: MetaData) {
|
||||
return request.request<MetaData, RegisterResp>({
|
||||
url: '/practice/tclBook/list ',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteList(data: deleteData) {
|
||||
return request.request<deleteData, RegisterResp>({
|
||||
url: '/practice/tclBook/delete',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export async function updateList(data: MetaData) {
|
||||
return request.request<MetaData, RegisterResp>({
|
||||
url: '/practice/tclBook/update',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
15
packages/icpx-file/src/api/platform/dict/dict.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export interface MetaData {
|
||||
type: string;
|
||||
project: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export async function getByProjectAndType(data: MetaData) {
|
||||
return request.request<MetaData, any>({
|
||||
url: '/studio-cache/page/getMetaInfo',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
87
packages/icpx-file/src/api/platform/fileService/convert.ts
Normal file
@ -0,0 +1,87 @@
|
||||
import { useHttp } from '@crami/http';
|
||||
//获取转换服务左侧树
|
||||
export async function getConvertTreeData() {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/conversion/console/clusterTree',
|
||||
});
|
||||
}
|
||||
interface TableParams {
|
||||
clusterName: string;
|
||||
conversionDeal: string;
|
||||
endPointName: string;
|
||||
pageNumber: number;
|
||||
pageSize: number;
|
||||
}
|
||||
//获取未完成列表
|
||||
export async function getNoFinishList(params: TableParams) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/conversion/console/listUnfinished',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//获取已完成列表
|
||||
export async function getFinishedList(params: TableParams) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/conversion/console/listFinished',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//已完成列表-删除
|
||||
interface DeleteParams {
|
||||
commandIds: string[];
|
||||
}
|
||||
export async function batchDelete(params: DeleteParams) {
|
||||
return await useHttp({
|
||||
method: 'delete',
|
||||
url: '/api/file/conversion/console/batchDelete',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
interface CommandTextParams {
|
||||
commandId: string;
|
||||
}
|
||||
//已完成列表--重新转换
|
||||
export async function reConvert(params: CommandTextParams) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/conversion/console/reCovert',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//日志详情--获取命令正文
|
||||
export async function getCommandText(params: CommandTextParams) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/conversion/console/commandInfo',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
interface LogParams {
|
||||
commandId: string;
|
||||
//conversionId: string;
|
||||
pageNumber: number;
|
||||
pageSize: number;
|
||||
}
|
||||
//日志详情--转换服务日志
|
||||
export async function getServiceLog(params: LogParams) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/conversion/console/commandLog',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//日志详情--转换程序日志
|
||||
export async function getProgramLog(params: LogParams) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/conversion/console/covertLog',
|
||||
params,
|
||||
});
|
||||
}
|
17
packages/icpx-file/src/api/platform/fileService/dict.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { commonApi } from '@remote/icpx-platform/commonApi';
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface MetaData {
|
||||
type: string;
|
||||
productLine: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export async function getByProjectAndType(params: MetaData) {
|
||||
return useHttp({
|
||||
url: commonApi().studioCache.getMetaInfo.url,
|
||||
method: commonApi().studioCache.getMetaInfo.method,
|
||||
params,
|
||||
});
|
||||
}
|
91
packages/icpx-file/src/api/platform/fileService/expand.ts
Normal file
@ -0,0 +1,91 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
interface saveTransfer {
|
||||
transferStrategyName: string;
|
||||
transferStrategyDescription: string;
|
||||
transferStrategyCode: string;
|
||||
inUse: string;
|
||||
eid: string;
|
||||
strategyList: Array<any>;
|
||||
companyId: string;
|
||||
}
|
||||
|
||||
interface deleteTransferr {
|
||||
eidList: Array<any>;
|
||||
}
|
||||
|
||||
interface getOneTransfer {
|
||||
eid: string;
|
||||
}
|
||||
|
||||
//替换当前版本
|
||||
|
||||
export async function getPluginList() {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/transfer/getPluginList',
|
||||
});
|
||||
}
|
||||
|
||||
// 传输策略新增
|
||||
|
||||
export async function saveTransfer(params: saveTransfer) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/transfer/saveTransfer',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 传输策略编辑
|
||||
|
||||
export async function editTransfer(params: saveTransfer) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/transfer/editTransfer',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 传输策略编辑回显
|
||||
|
||||
export async function getOneTransfer(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/transfer/getOneTransfer?eid=' + eid,
|
||||
});
|
||||
}
|
||||
|
||||
// 删除
|
||||
|
||||
export async function deleteTransferr(params: deleteTransferr) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/transfer/deleteTransfer',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getList() {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/transfer/getPluginList',
|
||||
});
|
||||
}
|
||||
|
||||
// 拓展插件删除
|
||||
|
||||
export async function deleteExtensions(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/transfer/deleteExtensions?eid=' + eid,
|
||||
});
|
||||
}
|
||||
|
||||
// 1.查看插件详情
|
||||
export async function getExtensionsDetail(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/transfer/getExtensionsDetail/${eid}`,
|
||||
});
|
||||
}
|
353
packages/icpx-file/src/api/platform/fileService/operation.ts
Normal file
@ -0,0 +1,353 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
interface createFileVolume {
|
||||
appCode: string;
|
||||
volumeCode: string;
|
||||
volumeName: string;
|
||||
volumeDescription: string;
|
||||
storageCode: string;
|
||||
fileLimitType: string; //文件类型
|
||||
singleFileLimit: string; //单文件大小限制(KB)
|
||||
volumeCapacityLimit: string; //文件卷容量上限(GB)
|
||||
volumeUsedCapacity: string; //文件卷已使用容量(GB)
|
||||
volumeCapacityWarning: string; //文件卷容量预警值(GB)
|
||||
typeLimit: string; //类型限制
|
||||
}
|
||||
interface editFileVolume {
|
||||
eid: string;
|
||||
appCode: string;
|
||||
volumeCode: string;
|
||||
volumeName: string;
|
||||
volumeDescription: string;
|
||||
storageCode: string;
|
||||
fileLimitType: string; //文件类型
|
||||
singleFileLimit: string; //单文件大小限制(KB)
|
||||
volumeCapacityLimit: string; //文件卷容量上限(GB)
|
||||
volumeUsedCapacity: string; //文件卷已使用容量(GB)
|
||||
volumeCapacityWarning: string; //文件卷容量预警值(GB)
|
||||
typeLimit: string; //类型限制
|
||||
}
|
||||
|
||||
interface editApplication {
|
||||
eid: string;
|
||||
appCode: string;
|
||||
appName: string;
|
||||
appDescription: string;
|
||||
}
|
||||
|
||||
interface createApplication {
|
||||
appCode: string;
|
||||
appName: string;
|
||||
appDescription: string;
|
||||
}
|
||||
|
||||
interface deleteFileVolume {
|
||||
EID: string;
|
||||
}
|
||||
|
||||
interface fileList {
|
||||
eid: string;
|
||||
appCode: string;
|
||||
volumeCode: string;
|
||||
filePath: string;
|
||||
fileShowName: string;
|
||||
fileDescription: string;
|
||||
versionCode: string;
|
||||
metaInfo: string;
|
||||
expiresOn: string;
|
||||
isgeneralfile: string;
|
||||
fileSize: string;
|
||||
fileType: string;
|
||||
}
|
||||
|
||||
interface createExtensions {
|
||||
eid: string;
|
||||
extensionName: string; //插件名称
|
||||
extensionDescription: string; //插件描述
|
||||
extensionId: string; //插string;件标识
|
||||
serviceCode: string; //服务标识
|
||||
inUse: string; //是否启用
|
||||
fileTypes: string; //文件类型
|
||||
}
|
||||
|
||||
interface createStorage {
|
||||
eid: string;
|
||||
storageName: string; //存储名称
|
||||
storageDescription: string; //存储描述
|
||||
states: string; //状态
|
||||
accAddress: string; //地址
|
||||
accUser: string; //用户
|
||||
accPwd: string; //密码
|
||||
capacityWarning: BigInt;
|
||||
usedCapacity: BigInt;
|
||||
}
|
||||
|
||||
/*
|
||||
新建文件卷
|
||||
*/
|
||||
|
||||
export async function createFileVolume(params: createFileVolume) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/fileVolume/createFileVolume',
|
||||
params,
|
||||
});
|
||||
}
|
||||
/*
|
||||
编辑文件卷
|
||||
*/
|
||||
|
||||
export async function editFileVolume(params: editFileVolume) {
|
||||
return await useHttp({
|
||||
method: 'put',
|
||||
url: '/api/file/fileVolume/editFileVolume',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
删除文件卷
|
||||
*/
|
||||
|
||||
export async function deleteFileVolume(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/fileVolume/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
新建文件卷获取主存储集群数据
|
||||
*/
|
||||
|
||||
export async function duplicationStrategy() {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/storage/getOtherStrategy',
|
||||
});
|
||||
}
|
||||
/*
|
||||
编辑文件卷回显主集群数据
|
||||
*/
|
||||
|
||||
export async function getDetail(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/fileVolume/getDetailMsg/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
//删除历史版本
|
||||
|
||||
export async function deleteHistory(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'delete',
|
||||
url: `/api/file/applicationFile/deleteHistoryFile/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
//替换当前版本
|
||||
|
||||
export async function updateHistory(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/applicationFile/changeHistoryVersion/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
// 新增应用仓库
|
||||
|
||||
export async function createApplication(params: createApplication) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/applications/createApplication',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 编辑应用仓库
|
||||
|
||||
export async function editApplication(params: editApplication) {
|
||||
return await useHttp({
|
||||
method: 'put',
|
||||
url: '/api/file/applications/editApplication',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 删除应用仓库
|
||||
export async function deleteApplication(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'delete',
|
||||
url: `/api/file/applications/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
// 新建文件信息保存
|
||||
|
||||
export async function createApplicationFile(params: fileList) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/applicationFile/createApplicationFile',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 编辑文件信息保存
|
||||
|
||||
export async function editApplicationFile(params: fileList) {
|
||||
return await useHttp({
|
||||
method: 'put',
|
||||
url: '/api/file/applicationFile/editApplicationFile',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 删除文件信息列表
|
||||
|
||||
export async function applicationFile(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'delete',
|
||||
url: `/api/file/applicationFile/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
// 存储结构禁用
|
||||
|
||||
export async function changeStateDisable(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/storage/changeStateDisable/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
// 存储结构启用
|
||||
export async function changeStateEnable(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/storage/changeStateEnable/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
// 传输策略启用
|
||||
export async function transferEnable(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/transfer/changeStateEnable/${eid}`,
|
||||
});
|
||||
}
|
||||
// 传输策略禁用
|
||||
export async function transferDisable(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/transfer/changeStateDisable/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
// 插件管理新增保存
|
||||
export async function createExtensions(params: createExtensions) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/transfer/createExtensions',
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 插件管理编辑保存
|
||||
|
||||
export async function editExtensions(params: createExtensions) {
|
||||
return await useHttp({
|
||||
method: 'put',
|
||||
url: '/api/file/transfer/editExtensions',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 存储结构新增保存
|
||||
|
||||
export async function createStorage(params: createStorage) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/storage/createStorage',
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 存储结构编辑保存
|
||||
export async function editStorage(params: createStorage) {
|
||||
return await useHttp({
|
||||
method: 'put',
|
||||
url: '/api/file/storage/editStorage',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 存储结构管理删除
|
||||
export async function deleteStorage(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'delete',
|
||||
url: `/api/file/storage/Storage/${eid}`,
|
||||
});
|
||||
}
|
||||
//文件同步服务--删除
|
||||
interface DeleteParams {
|
||||
eidstr: Array<string>;
|
||||
}
|
||||
|
||||
|
||||
export async function deleteFileSync(params: DeleteParams) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/system/model/deleteObjectData',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//重试同步
|
||||
export async function reTrySync(params: DeleteParams) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/syncRecord/retryFileSync',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// interface eidArr {
|
||||
// eid: Array;
|
||||
// }
|
||||
interface storageIds {
|
||||
storageIds: Array<string>;
|
||||
}
|
||||
export async function getResetAlert(params: storageIds) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/storage/getResetAlert',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//文件卷容量预警
|
||||
interface volumeIds {
|
||||
volumeIds: Array<string>;
|
||||
}
|
||||
export async function resetWarn(params: volumeIds) {
|
||||
return await useHttp({
|
||||
method: 'post',
|
||||
url: '/api/file/fileVolume/resetWarn',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//存储集群详情
|
||||
export async function getStorageByData(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/storage/getStorageByData/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
//查看文件信息列表
|
||||
export async function getFileByData(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/applicationFile/getFileByData/${eid}`,
|
||||
});
|
||||
}
|
92
packages/icpx-file/src/api/platform/fileService/preview.ts
Normal file
@ -0,0 +1,92 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
//保存批注
|
||||
interface savaAnnotationFile {
|
||||
fileCode: string;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
export async function savaAnnotationFile(fileCode, params, userId) {
|
||||
return await useHttp({
|
||||
url: '/api/file/fileAnnotation/savaAnnotationFile?fileCode=' + fileCode + '&&userId=' + userId,
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//获取用户id
|
||||
export async function getFileCreateUser(fileCode) {
|
||||
return await useHttp({
|
||||
url: `/api/file/fileAnnotation/getFileCreateUser/${fileCode}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
//获取批注参数化树数据
|
||||
export async function getAnnotationTree(fileCode) {
|
||||
return await useHttp({
|
||||
url: `/api/file/fileAnnotation/getAnnotationTree/${fileCode}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
//编辑批注
|
||||
export async function updateAnnotationFile(params) {
|
||||
return await useHttp({
|
||||
url: '/api/file/fileAnnotation/updateAnnotationFile',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//根据id查询批注
|
||||
interface getAnnotationFileByList {
|
||||
fileCode: string;
|
||||
userId: string;
|
||||
state: number;
|
||||
}
|
||||
|
||||
export async function getAnnotationFileByList(params: getAnnotationFileByList) {
|
||||
return await useHttp({
|
||||
url: `/api/file/fileAnnotation/getAnnotationFileByList`,
|
||||
method: 'get',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//根据id删除批注
|
||||
interface deleteAnnotation {
|
||||
eid: string;
|
||||
preview: number;
|
||||
}
|
||||
|
||||
export async function deleteAnnotation(eid: string) {
|
||||
return await useHttp({
|
||||
url: `/api/file/fileAnnotation/deleteAnnotation/${eid}`,
|
||||
method: 'delete',
|
||||
});
|
||||
}
|
||||
|
||||
//预览
|
||||
export async function download(eid: string, preview: number) {
|
||||
return await useHttp({
|
||||
url: `/api/file/applicationFile/download?eid=` + eid + '&&preview=' + preview,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
//批注权限
|
||||
interface accessControl {
|
||||
objId: string;
|
||||
objType: string;
|
||||
action: string; //( DOWNLOAD 下载 PRINT 打印)
|
||||
}
|
||||
export async function accessControl(params: accessControl) {
|
||||
return await useHttp({
|
||||
url: '/api/file/fileAnnotation/accessControl',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
102
packages/icpx-file/src/api/platform/fileService/select.ts
Normal file
@ -0,0 +1,102 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
import { commonApi } from '@remote/icpx-platform/commonApi';
|
||||
|
||||
export interface MetaData {
|
||||
type: string;
|
||||
productLine: string;
|
||||
name: string;
|
||||
mode: string;
|
||||
}
|
||||
|
||||
export interface treeData {
|
||||
type: string;
|
||||
productLine: string;
|
||||
// name: string;
|
||||
loadAll: boolean;
|
||||
objectType: string;
|
||||
treeViewName: string;
|
||||
userDept: string;
|
||||
userGroup: string;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
export async function getSelectData(params: MetaData) {
|
||||
return await useHttp({
|
||||
url: commonApi().studioCache.getMetaInfo.url,
|
||||
method: commonApi().studioCache.getMetaInfo.method,
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function storageListAPI() {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: '/api/file/storage/getVolumeAcquireDuplicationStrategy',
|
||||
});
|
||||
}
|
||||
|
||||
export async function storageChildListAPI(eid: string) {
|
||||
return await useHttp({
|
||||
method: 'get',
|
||||
url: `/api/file/storage/getOtherStorage/${eid}`,
|
||||
});
|
||||
}
|
||||
|
||||
export interface saveData {
|
||||
eid: string;
|
||||
mainStorageName: string;
|
||||
mainStorageId: string; //主存储集群标识
|
||||
duplicationParam: string; //调度参数
|
||||
duplicationMode: string; //启动方式
|
||||
inUse: string; //启用中
|
||||
expiresMode: string; //过期策略
|
||||
blockMode: string; //阻塞模式
|
||||
expiresTimeLong: string; //任务超时时间
|
||||
mayFailTime: string; //默认重试次数
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
sequenceList: {};
|
||||
}
|
||||
|
||||
export async function saveDataAPI(params: saveData) {
|
||||
return await useHttp({
|
||||
url: '/api/file/duplicationStrategy/saveDuplicationStrategy',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function showListAPI(storageId) {
|
||||
return await useHttp({
|
||||
url: `/api/file/orgStorage/${storageId}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export interface saveList {
|
||||
storageId: string;
|
||||
organizationIds: string[];
|
||||
}
|
||||
|
||||
export async function saveDataListAPI(params: saveList) {
|
||||
return await useHttp({
|
||||
url: '/api/file/orgStorage/saveOrgStorage',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getDuplicationAPI() {
|
||||
return await useHttp({
|
||||
url: '/api/file/duplicationStrategy/getDuplicationStrategy',
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function getByProjectAndType(params: treeData) {
|
||||
return useHttp({
|
||||
url: commonApi().studioCache.getMetaInfo.url,
|
||||
method: commonApi().studioCache.getMetaInfo.method,
|
||||
params,
|
||||
});
|
||||
}
|
80
packages/icpx-file/src/api/platform/fileService/upload.ts
Normal file
@ -0,0 +1,80 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
import { commonApi } from '@remote/icpx-platform/commonApi';
|
||||
|
||||
interface uploadFile {
|
||||
eid?: string;
|
||||
filePath: string;
|
||||
fileShowName: string;
|
||||
fileDescription: string;
|
||||
versionCode?: string;
|
||||
metaInfo?: string;
|
||||
volumeCode?: string;
|
||||
fileSize: string;
|
||||
fileType: string;
|
||||
}
|
||||
|
||||
interface uploadFinished {
|
||||
eid?: string;
|
||||
storageId: string;
|
||||
bucketCode: string;
|
||||
objectCode: string;
|
||||
fileId: string;
|
||||
templateUrl: string;
|
||||
fileShowName: string;
|
||||
versionCode?: string;
|
||||
fileSize: string;
|
||||
fileType: string;
|
||||
volumeCode?:string;
|
||||
}
|
||||
|
||||
interface downloadUrl {
|
||||
fileId: string;
|
||||
}
|
||||
|
||||
export interface MetaData {
|
||||
type: string;
|
||||
productLine: string;
|
||||
name: string;
|
||||
mode: string;
|
||||
}
|
||||
|
||||
export async function getByProjectAndType(params: MetaData) {
|
||||
return await useHttp({
|
||||
url: commonApi().studioCache.getMetaInfo.url,
|
||||
method: commonApi().studioCache.getMetaInfo.method,
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function uploadFile(params: uploadFile) {
|
||||
return await useHttp({
|
||||
url: '/api/file/applicationFile/template/uploadUrl',
|
||||
method: 'post',
|
||||
timeout: 999999999,
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function uploadFinished(params: uploadFinished) {
|
||||
return await useHttp({
|
||||
url: '/api/file/applicationFile/template/uploadFinished',
|
||||
timeout: 999999999,
|
||||
method: 'put',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function downloadUrl(fileId: string) {
|
||||
return await useHttp({
|
||||
url: `/api/file/applicationFile/template/downloadUrl/${fileId}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function uploadMessage(eid: string) {
|
||||
return await useHttp({
|
||||
url: `/api/file/applicationFile/getOneFile/${eid}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
144
packages/icpx-file/src/api/platform/lifeCycle/index.ts
Normal file
@ -0,0 +1,144 @@
|
||||
//import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
import { commonApi } from '@remote/icpx-platform/commonApi';
|
||||
|
||||
export interface MetaData {
|
||||
type: string;
|
||||
productLine: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export async function getLifeCycleData(params: MetaData) {
|
||||
return useHttp({
|
||||
url: commonApi().studioCache.getMetaInfo.url,
|
||||
method: commonApi().studioCache.getMetaInfo.method,
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取生命周期状态分组
|
||||
export async function getLiftStatusList(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/getLifeStatusList',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取生命周期详情
|
||||
export async function getLiftCycleInfo(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeCycle/getLifeCircleById',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取使用对象数据
|
||||
export async function getModelList(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeCycle/getModelList',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 保存生命周期
|
||||
export async function saveLifeCircleData(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeCycle/saveLifeCircleData',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 删除生命周期
|
||||
export async function deleteLifeCircleDatas(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeCycle/deleteLifeCircleData',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 删除生命周期校验
|
||||
export async function deleteLifeCircleCheck(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeCycle/deleteLifeCircleCheck',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//删除状态列表
|
||||
export async function deleteState(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/deleteLifeStatus',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
//删除状态列表校验
|
||||
export async function checkDeleteState(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/checkDelete',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取节点插件数据
|
||||
export async function getLifeCyclePlugins(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/getLifeCyclePlugins',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//获取状态分类下拉列表
|
||||
export async function getStateTypeList(params: any) {
|
||||
return useHttp({
|
||||
//commonApi().system.getSltData.url
|
||||
url: commonApi().system.getSltData.url,
|
||||
method: commonApi().system.getSltData.method,
|
||||
params,
|
||||
});
|
||||
}
|
||||
//保存生命周期状态
|
||||
export async function saveState(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/saveLifeStatus',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//获取多语言列表
|
||||
export async function getLangList(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/getMutilLanuageList',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//上传文件
|
||||
export async function uploadFile(data: any) {
|
||||
return useHttp({
|
||||
url: '/api/file/applicationFile/upload',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
//获取单条数据
|
||||
export async function getData(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/getSingleData',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
//ID唯一性校验
|
||||
export async function checkIDUnique(params: any) {
|
||||
return useHttp({
|
||||
url: '/api/lifecycle/lifeStatus/checkObjectUnique',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
//import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
import { commonApi } from '@remote/icpx-platform/commonApi';
|
||||
|
||||
export interface MetaData {
|
||||
type: string;
|
||||
productLine: string;
|
||||
name: string;
|
||||
}
|
||||
export interface UserData {
|
||||
lang: string;
|
||||
connect: string;
|
||||
companyId: string;
|
||||
data: { id: string; ids: string };
|
||||
}
|
||||
|
||||
export async function getByProjectAndType(params: MetaData) {
|
||||
return useHttp({
|
||||
url: commonApi().studioCache.getMetaInfo.url,
|
||||
method: commonApi().studioCache.getMetaInfo.method,
|
||||
params,
|
||||
});
|
||||
}
|
||||
export async function saveUser(params: UserData) {
|
||||
return useHttp({
|
||||
url: '/system/dept/saveUser',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface deleteConditionTag {
|
||||
companyId: string;
|
||||
connect: string;
|
||||
lang: string;
|
||||
eid: string;
|
||||
}
|
||||
export async function deleteConditionTag(data: deleteConditionTag) {
|
||||
return await useHttp({
|
||||
url: '/api/seniorquery/seniorQuery/delSeniorQueryByEid',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
52
packages/icpx-file/src/api/platform/setting/personnalSet.ts
Normal file
@ -0,0 +1,52 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export interface getUserSetData {
|
||||
}
|
||||
|
||||
export interface UserSetData {
|
||||
// ENAME: string;
|
||||
// USER_EMAIL: string;
|
||||
// POST_IDS: string;
|
||||
// USER_PHONE: string;
|
||||
// USER_ADDRESS: string;
|
||||
// AVATAR: string;
|
||||
// PREFER:boolean;
|
||||
// data:any;
|
||||
// NewObject:boolean;
|
||||
// ObjectType:string;
|
||||
}
|
||||
|
||||
export interface UserSetResp {
|
||||
data: Record<any, any>;
|
||||
success: boolean;
|
||||
}
|
||||
|
||||
export interface UpdateUserPassword {
|
||||
|
||||
|
||||
}
|
||||
|
||||
//获取用户设置信息
|
||||
export async function getUserSetting() {
|
||||
return request.request<getUserSetData, UserSetResp>({
|
||||
url: '/system/user/getUseInfo',
|
||||
method: 'GET',
|
||||
data: {},
|
||||
});
|
||||
}
|
||||
//更新用户信息,更新用户偏好选择
|
||||
export async function updateUserSetting(data: UserSetData) {
|
||||
return request.request<UserSetData, UserSetResp>({
|
||||
url: '/system/user/saveUserData',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
//更新登录密码
|
||||
export async function updateUserPassword(data: UpdateUserPassword) {
|
||||
return request.request<UpdateUserPassword, UserSetResp>({
|
||||
url: '/system/user/updatePwd',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
18
packages/icpx-file/src/api/platform/setting/systemSetting.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
// export async function getLoginPageInfo() {
|
||||
// return request.get<any, any>('/system/loginPageElement/GetLoginPageInfo');
|
||||
// }
|
||||
|
||||
export async function getLoginPageInfo() {
|
||||
return useHttp({
|
||||
url: '/system/loginPageElement/GetLoginPageInfo',
|
||||
method: 'get',
|
||||
});
|
||||
// return request.get<any, any>('/system/loginPageElement/GetLoginPageInfo');
|
||||
}
|
||||
|
||||
export async function saveLoginPageInfo(params) {
|
||||
return request.post<any, any>('/system/loginPageElement/saveLoginPageInfo', params);
|
||||
}
|
43
packages/icpx-file/src/api/platform/setting/upload.ts
Normal file
@ -0,0 +1,43 @@
|
||||
// import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface fileUpload {
|
||||
file: string;
|
||||
filePath: string;
|
||||
fileShowName: string;
|
||||
}
|
||||
export async function FileUploadAPI(data: any) {
|
||||
return await useHttp({
|
||||
url: '/api/file/applicationFile/upload',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export interface downloadUrl {
|
||||
fileId: string;
|
||||
}
|
||||
export async function downloadUrlAPI(fileId: string) {
|
||||
return await useHttp({
|
||||
url: `/api/file/applicationFile/template/downloadUrl/${fileId}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export interface soleData {
|
||||
Data: {
|
||||
coding: string;
|
||||
};
|
||||
NewObject: boolean;
|
||||
connect: string;
|
||||
lang: string;
|
||||
objectID: string;
|
||||
objectType: string;
|
||||
}
|
||||
export async function soleDataAPI(data: soleData) {
|
||||
return await useHttp({
|
||||
url: '/api/system/model/CheckObjectUnique',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
19
packages/icpx-file/src/api/platform/user/log.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
interface MenuLog {
|
||||
uniqueId?: string;
|
||||
title?: string;
|
||||
operUrl?: string;
|
||||
status?: string;
|
||||
msg?: string;
|
||||
companyId?: string;
|
||||
}
|
||||
|
||||
// 菜单日志发送
|
||||
export async function openMenuLog(data: MenuLog) {
|
||||
return await useHttp({
|
||||
url: '/api/log/operMenuLog/save',
|
||||
method: 'post',
|
||||
params: data,
|
||||
});
|
||||
}
|
148
packages/icpx-file/src/api/platform/user/login.ts
Normal file
@ -0,0 +1,148 @@
|
||||
import request from '@/utils/request';
|
||||
import { useHttp } from '@crami/http';
|
||||
export type LoginData = 'account' | 'telephone';
|
||||
export type LoginStatus = 'ok' | 'error';
|
||||
import { commonApi } from '@remote/icpx-platform/commonApi';
|
||||
|
||||
export interface LoginParams {
|
||||
username: string;
|
||||
password: string;
|
||||
code: string;
|
||||
uuid: string;
|
||||
loginMode?: string;
|
||||
}
|
||||
|
||||
export interface LoginResp {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: {
|
||||
[key: string]: any;
|
||||
};
|
||||
// currentAuthority: string;
|
||||
}
|
||||
|
||||
export interface UserInfo {
|
||||
companyId: string;
|
||||
connect: string;
|
||||
avatar: string;
|
||||
lang: string;
|
||||
user_id: string;
|
||||
user_name: string;
|
||||
email: string;
|
||||
group: string;
|
||||
name: string;
|
||||
phone: string;
|
||||
signature: string;
|
||||
user_type: string;
|
||||
role: {
|
||||
[key: string]: any;
|
||||
};
|
||||
}
|
||||
|
||||
export interface CaptchaResp {
|
||||
captcha: number;
|
||||
}
|
||||
|
||||
export interface SmsCaptchaRequest {
|
||||
mobile: string;
|
||||
}
|
||||
|
||||
// 后端的结构体定义
|
||||
export type RouteItem = {
|
||||
id: number | string;
|
||||
parentId: number | string;
|
||||
name: string;
|
||||
path: string;
|
||||
redirect: string;
|
||||
component: string;
|
||||
meta: {
|
||||
title: string | false;
|
||||
icon?: string;
|
||||
target?: '_blank' | '_self';
|
||||
hideInMenu?: boolean;
|
||||
hideChildrenInMenu?: boolean;
|
||||
authority?: string | string[];
|
||||
[key: string]: any;
|
||||
};
|
||||
};
|
||||
|
||||
export interface PermissionRequest {
|
||||
lang: string;
|
||||
objectId: string;
|
||||
productLine: string;
|
||||
companyId: string;
|
||||
connect: string;
|
||||
userType: string;
|
||||
userName: string;
|
||||
orgId: string;
|
||||
projectCode: string;
|
||||
permissionType: string;
|
||||
}
|
||||
|
||||
export async function getLoginCode() {
|
||||
return request.get<any, any>('/code');
|
||||
}
|
||||
|
||||
export async function getTenant() {
|
||||
return request.get<any, any>('/system/tenant/getTenant');
|
||||
}
|
||||
|
||||
export async function postAccountLogin(params: LoginParams) {
|
||||
return request.post<LoginParams, LoginResp>('/auth/login', params);
|
||||
}
|
||||
|
||||
// 获取组织列表接口
|
||||
export async function getOrgByUserName(params) {
|
||||
return request.post<any, any>('/system/org/getOrgByUserName', params);
|
||||
}
|
||||
|
||||
export async function getLoginOrg() {
|
||||
return request.get<any, any>('/system/org/getOrg');
|
||||
}
|
||||
|
||||
export async function getCurrentUser(info: any) {
|
||||
return request.get<any, UserInfo>('/system/user/getUseInfo', { params: info });
|
||||
}
|
||||
|
||||
export async function getProjectRoutes(info: any) {
|
||||
const method = commonApi().studioCache.getByProjectAndType.method;
|
||||
const url = commonApi().studioCache.getByProjectAndType.url;
|
||||
return request[method]<any, any>(url.replace('/api', ''), { params: info });
|
||||
}
|
||||
|
||||
export async function getCurrentUserNav() {
|
||||
return request.get<any, RouteItem[]>('/currentUserNav');
|
||||
}
|
||||
|
||||
// export async function postLogout() {
|
||||
// return request.delete<any, any>('/auth/logout');
|
||||
// }
|
||||
|
||||
export async function postLogout(isClear) {
|
||||
const url = isClear ? '/api/auth/logout/1' : '/api/auth/logout/0';
|
||||
return await useHttp({
|
||||
method: 'delete',
|
||||
url: url,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getSmsCaptcha(params: SmsCaptchaRequest) {
|
||||
return request.get<SmsCaptchaRequest, CaptchaResp>('/message/captcha/sms', {
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取当前用户的导航和menu权限
|
||||
export async function getPermissionData(params: PermissionRequest) {
|
||||
return request.post<any, any>('/menuperservice/function/getPermissionData', params);
|
||||
}
|
||||
|
||||
// 获取当前用户的导航和menu权限
|
||||
export async function changeOrgIdOfUserInRedis(params: any) {
|
||||
return request.post<any, any>('/auth/changeOrgIdOfUserInRedis', params);
|
||||
}
|
||||
|
||||
// 根据当前用户获取默认的登录方式
|
||||
export async function getLoginModeByUserName(params: any) {
|
||||
return request.post<any, any>('/system/org/getLoginModeByUserName', params);
|
||||
}
|
27
packages/icpx-file/src/api/platform/user/notice.ts
Normal file
@ -0,0 +1,27 @@
|
||||
import request from '@/utils/request';
|
||||
import type { CSSProperties } from 'vue';
|
||||
|
||||
export type NoticeIconData = {
|
||||
avatar?: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
datetime?: string;
|
||||
extra?: string;
|
||||
style?: CSSProperties;
|
||||
key?: string | number;
|
||||
read?: boolean;
|
||||
};
|
||||
|
||||
export type NoticeItem = {
|
||||
id: string;
|
||||
type: string;
|
||||
status: string;
|
||||
} & NoticeIconData;
|
||||
|
||||
export async function queryNotices() {
|
||||
return request.get<any, NoticeItem[]>('/notices');
|
||||
}
|
||||
|
||||
export async function changeNoticeReadState(notices: any[]): Promise<any> {
|
||||
return request.post('/change-notices-read', notices);
|
||||
}
|
30
packages/icpx-file/src/api/platform/user/register.ts
Normal file
@ -0,0 +1,30 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export interface RegisterData {
|
||||
lang: string;
|
||||
connect: string;
|
||||
project: string;
|
||||
companyId: string;
|
||||
orgId: string;
|
||||
roleId: string;
|
||||
username: string;
|
||||
password: string;
|
||||
password2: string;
|
||||
userPhone: string;
|
||||
code: string;
|
||||
}
|
||||
|
||||
export interface RegisterResp {
|
||||
data: Record<any, any>;
|
||||
success: boolean;
|
||||
code?: number | undefined;
|
||||
msg?: string | undefined;
|
||||
}
|
||||
|
||||
export async function postRegister(data: RegisterData) {
|
||||
return request.request<RegisterData, RegisterResp>({
|
||||
url: '/auth/register',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
130
packages/icpx-file/src/api/platform/workbench/page.ts
Normal file
@ -0,0 +1,130 @@
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface MetaData {
|
||||
connect: string;
|
||||
lang: string;
|
||||
companyId: string;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
export interface BoardMetaData extends MetaData {
|
||||
boardId: string,
|
||||
}
|
||||
|
||||
export interface TreeMetaData extends MetaData {
|
||||
cardGroup: string,
|
||||
}
|
||||
|
||||
export interface SimplifyCardData {
|
||||
// 虽然属性名为cardId,其实是指卡片编码属性
|
||||
cardId: string,
|
||||
cardName: string,
|
||||
abscissa: number | string,
|
||||
ordinate: number | string,
|
||||
width: number | string,
|
||||
height: number | string,
|
||||
}
|
||||
|
||||
export interface CardData extends SimplifyCardData {
|
||||
boardId: string,
|
||||
}
|
||||
|
||||
export interface AddPageMetaData extends MetaData {
|
||||
boardName: string,
|
||||
boardDefault: 'YSE' | 'NO',
|
||||
workBenchParas: SimplifyCardData[],
|
||||
}
|
||||
|
||||
export interface EditPageMetaData extends AddPageMetaData {
|
||||
boardId: string,
|
||||
stateID: string,
|
||||
boardType: string,
|
||||
// stateID: 'ENABLE',
|
||||
// boardType: 'CUSTOM_CARD',
|
||||
}
|
||||
|
||||
export interface BoardDetailMetaData {
|
||||
code: number,
|
||||
msg: string,
|
||||
data: {
|
||||
boardId: string,
|
||||
boardName: string,
|
||||
// 看板状态
|
||||
stateID: 'ENABLE',
|
||||
// 是否默认看板
|
||||
boardDefault: 'NO',
|
||||
// 看板类型
|
||||
boardType: 'CUSTOM_CARD',
|
||||
createUid: string,
|
||||
createTime: string,
|
||||
updateUid: string,
|
||||
updateTime: string,
|
||||
// 租户
|
||||
companyId: string,
|
||||
workBenchs: CardData[],
|
||||
}
|
||||
}
|
||||
|
||||
// 新增、编辑看板
|
||||
export async function saveBoard(params: AddPageMetaData | EditPageMetaData | any) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/board/saveBoard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询看板详情
|
||||
export async function queryBoardDetail(params: BoardMetaData): Promise<BoardDetailMetaData> {
|
||||
return useHttp({
|
||||
url: '/api/workbench/board/queryBoard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 停用看板
|
||||
export async function disableBoard(params: BoardMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/board/disableBoard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 启用看板
|
||||
export async function enableBoard(params: BoardMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/board/enableBoard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询卡片分类/卡片树接口
|
||||
export async function getBoardCardTypeListTree(params: TreeMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/cardType/getBoardCardTypeListTree',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 看板设为默认
|
||||
export async function setDefaultBoard(params: BoardMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/board/setDefaultBoard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询我的看板列表
|
||||
export async function getMyBoardList(params: MetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/board/getMyBoardList',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
67
packages/icpx-file/src/api/platform/workbench/widget.ts
Normal file
@ -0,0 +1,67 @@
|
||||
import { useHttp } from '@crami/http';
|
||||
|
||||
export interface MetaData {
|
||||
connect: string;
|
||||
lang: string;
|
||||
companyId: string;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
export interface CardMetaData extends MetaData {
|
||||
// 虽然属性名为cardId,其实是指卡片编码属性
|
||||
cardId: string;
|
||||
}
|
||||
|
||||
// 卡片管理-删除卡片
|
||||
export async function deleteCard(params: CardMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/card/deleteCard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 卡片管理-校验卡片是否在使用
|
||||
export async function checkCardUsed(params: CardMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/card/checkCardUsed',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 卡片管理-启用卡片
|
||||
export async function enableCard(params: CardMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/card/enableCard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 卡片管理-停用卡片
|
||||
export async function disableCard(params: CardMetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/card/disableCard',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询卡片分类树接口
|
||||
export async function getCardTypeListTree(params: MetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/cardType/getCardTypeListTree',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询卡片列表
|
||||
export async function getCardList(params: MetaData) {
|
||||
return useHttp({
|
||||
url: '/api/workbench/card/getCardList',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
21
packages/icpx-file/src/api/typing.ts
Normal file
@ -0,0 +1,21 @@
|
||||
export interface ResponseBody<T = any> {
|
||||
message: string;
|
||||
code: number;
|
||||
data?: T | T[];
|
||||
}
|
||||
|
||||
/** 统一返回结构体 */
|
||||
|
||||
export interface PageResult<T = any> {
|
||||
data: T[];
|
||||
current?: number;
|
||||
pageSize?: number;
|
||||
total?: number;
|
||||
success: boolean;
|
||||
}
|
||||
|
||||
export interface RequestResult<T = any> {
|
||||
data: T;
|
||||
success: boolean;
|
||||
errorMessage: string;
|
||||
}
|
130
packages/icpx-file/src/api/workflow/workflow.ts
Normal file
@ -0,0 +1,130 @@
|
||||
import request from '@/utils/request';
|
||||
import { commonApi } from '@remote/icpx-platform/commonApi';
|
||||
|
||||
export interface MetaData {
|
||||
type: string;
|
||||
project: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface ProcessInfoData {
|
||||
processDefinitionName?: string;
|
||||
processState?: string;
|
||||
nodeTime?: string;
|
||||
remainderTime?: string;
|
||||
operationList?: string;
|
||||
routerName?: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface ApproverDataItem {
|
||||
key: string;
|
||||
[key: string]: any;
|
||||
approverType: string;
|
||||
approverName: string;
|
||||
approvalUserList: Array<any>;
|
||||
// users: UserItem[];
|
||||
}
|
||||
export interface MakerItemDataItem {
|
||||
key: string;
|
||||
[key: string]: any;
|
||||
ccType: string;
|
||||
ccName: string;
|
||||
makeUserList: Array<any>;
|
||||
}
|
||||
export interface ParameterDataItem {
|
||||
name: string;
|
||||
value: string;
|
||||
}
|
||||
export interface ProcessDataBase {
|
||||
processDefinitionName: string;
|
||||
processDefinitionKey: string;
|
||||
categoryId: string;
|
||||
processDesc: string;
|
||||
launchDisplay: string;
|
||||
}
|
||||
export interface ProcessCopyListMember {
|
||||
makeType?: string; // "user",
|
||||
makeTypeName?: string; // "用户"
|
||||
optionList?: Array<any> | string;
|
||||
key?: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
export interface ProcessDataCopyList {
|
||||
makeTimeType?: string; // "抄送时间类型", 1、流程结束(默认)。0、流程发起
|
||||
makeList?: Array<ProcessCopyListMember>;
|
||||
}
|
||||
// 发起人范围信息
|
||||
export interface ProcessDataSpon {
|
||||
sponType: string;
|
||||
sponTypeName: string;
|
||||
sponUsers: Array<any> | string;
|
||||
key: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
export interface ProcessDataFormInfo {
|
||||
bindFormType?: string; // '绑定表单类型';
|
||||
defaultFormId?: string; // '在线表单Id';
|
||||
pageCode?: string; // '表单编码';
|
||||
defaultRouterName?: string; // '在线表单的缺省路由名称';
|
||||
}
|
||||
export interface ProcessNodeModel {
|
||||
nodeKey?: string; //"节点编码",
|
||||
nodeName?: string; //"节点名称",
|
||||
allowUpdate?: string; //"允许修改", 1允许/0禁止。
|
||||
acceptanceEmpty?: string; //"验收手动指定为空" 1允许/0不允许
|
||||
}
|
||||
export interface PlugItem {
|
||||
id: string;
|
||||
name: string;
|
||||
page: string;
|
||||
}
|
||||
export interface ProcessData extends ProcessDataBase, ProcessDataFormInfo {
|
||||
sponScope?: string; //发起人范围 1无限制/0限制范围
|
||||
flowSponDtoList?: Array<ProcessDataSpon>;
|
||||
// [{
|
||||
// sponType:string;
|
||||
// sponTypeName:string;
|
||||
// "sponUsers": [{
|
||||
// "sponId":string;
|
||||
// "sponName":string;
|
||||
// }]
|
||||
// }],
|
||||
modelScope?: string; //"适用模型是否限制", 1无限制/0适用模型限制范围
|
||||
flowApplyModelDtoList?: Array<any>;
|
||||
// [{
|
||||
// "processApplyModelId"?: string;//"流程适用模型对象id",
|
||||
// "processApplyModelName"?: string;//"流程适用模型对象名称"
|
||||
// }];
|
||||
sponRetreat?: string; //"发起人是否可撤回", 1允许/0禁止
|
||||
flowNodes?: Array<string>; // ['', ''];
|
||||
updateApprover?: string; //"能否修改执行人", 1允许/0禁止
|
||||
flowNodeModel?: {
|
||||
modifier_type?: Array<string>; //["sponsor","executor"],
|
||||
flowNodeModels?: Array<ProcessNodeModel>;
|
||||
};
|
||||
canUrge?: string; //"能否催办", 1允许/0禁止
|
||||
flowMakeUp?: ProcessDataCopyList; //抄送人
|
||||
pluginData?: Array<PlugItem>;
|
||||
bpmnXml?: string; // '流程定义的xml';
|
||||
}
|
||||
export async function getByProjectAndType(data: MetaData) {
|
||||
return request.request<MetaData, any>({
|
||||
url: '/studio-cache/page/getMetaInfo',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
export async function getFlowCategory() {
|
||||
return request.request<MetaData, any>({
|
||||
url: '/system/model/getSltData',
|
||||
method: commonApi().system.getSltData.method,
|
||||
data: {
|
||||
...commonApi().system.getSltData.params,
|
||||
paraList: '{}',
|
||||
type: 'tree',
|
||||
// userId: 'P_SYS_USER_0162a3c2c85c45f2b4fa3baffc350d6d',
|
||||
viewName: 'P_FLOW_CLASSIFYPULL_LISTVIEW',
|
||||
},
|
||||
});
|
||||
}
|
677
packages/icpx-file/src/app.less
Normal file
@ -0,0 +1,677 @@
|
||||
// @import './components/header-dropdown.less';
|
||||
// @import './components/table/pro-table.less';
|
||||
@import '../src/theme/default/variables.less';
|
||||
|
||||
body::-webkit-scrollbar {
|
||||
width: 0 !important;
|
||||
}
|
||||
body {
|
||||
width: 100% !important;
|
||||
-ms-overflow-style: none;
|
||||
overflow: -moz-scrollbars-none;
|
||||
}
|
||||
|
||||
#app {
|
||||
height: 100%;
|
||||
}
|
||||
.slide-fadein-up-enter-active,
|
||||
.slide-fadein-up-leave-active {
|
||||
transition: opacity 0.3s, transform 0.4s;
|
||||
}
|
||||
|
||||
.slide-fadein-up-enter-from {
|
||||
transform: translateY(20px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.slide-fadein-up-leave-to {
|
||||
transform: translateY(-20px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.slide-fadein-right-enter-active,
|
||||
.slide-fadein-right-leave-active {
|
||||
transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
|
||||
}
|
||||
|
||||
.slide-fadein-right-enter-from {
|
||||
transform: translateX(-20px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.slide-fadein-right-leave-to {
|
||||
transform: translateX(20px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.zoom-fadein-enter-active,
|
||||
.zoom-fadein-leave-active {
|
||||
transition: transform 0.3s, opacity 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.zoom-fadein-enter-from {
|
||||
transform: scale(0.99);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.zoom-fadein-leave-to {
|
||||
transform: scale(1.01);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.fadein-enter-active,
|
||||
.fadein-leave-active {
|
||||
transition: opacity 0.3s ease-in-out !important;
|
||||
}
|
||||
|
||||
.fadein-enter-from,
|
||||
.fadein-leave-to {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.pro-components-header-dropdown-index-container {
|
||||
width: 100% !important;
|
||||
}
|
||||
.ant-table {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.ant-table-tbody > tr > td,
|
||||
.ant-table-tbody > tr > th,
|
||||
.ant-table-thead > tr > td,
|
||||
.ant-table-thead > tr > th {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.ant-table-tbody > tr > td > span,
|
||||
.ant-table-tbody > tr > th > span,
|
||||
.ant-table-thead > tr > td > span,
|
||||
.ant-table-thead > tr > th > span {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.pb10 {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
[data-pro-theme='antdv-pro-theme-dark'] {
|
||||
&,
|
||||
* {
|
||||
color-scheme: dark !important;
|
||||
}
|
||||
}
|
||||
// 隐藏树的连接线
|
||||
.ant-tree-indent {
|
||||
.ant-tree-indent-unit::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
// 账号设置页面专属tabs-left布局
|
||||
.setPage {
|
||||
.ant-tabs.ant-tabs-left {
|
||||
& > .ant-tabs-nav {
|
||||
// height: 120px !important;
|
||||
.ant-tabs-tab {
|
||||
margin: 0 !important;
|
||||
padding: 0 34px !important;
|
||||
padding-bottom: 0;
|
||||
line-height: 40px;
|
||||
}
|
||||
.ant-tabs-tab-active {
|
||||
background: #1890ff;
|
||||
border-left: 0 solid #eee;
|
||||
.ant-tabs-tab-btn {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// table操作列更多按钮字体颜色样式
|
||||
.surely-table-cell-inner .surely-table-cell-content .ant-space .ant-space-item .ant-btn-text {
|
||||
color: #1890ff;
|
||||
}
|
||||
|
||||
.surely-table-cell-text-ellipsis,
|
||||
.surely-table-cell-ellipsis,
|
||||
.ant-select-item-option-content span,
|
||||
.ant-select-selection-item,
|
||||
.crami-hbtree-tree-title-text {
|
||||
white-space: pre !important;
|
||||
}
|
||||
|
||||
// 修改InputNumber宽度
|
||||
.ant-input-number {
|
||||
width: 100% !important;
|
||||
}
|
||||
//树列表菜单按钮背景色
|
||||
#h-context-menu .ant-menu-light .ant-menu-item-active {
|
||||
background: #e8f0fd !important;
|
||||
color: #3979f9 !important;
|
||||
}
|
||||
.cron-div .ant-input-number {
|
||||
width: 58px !important;
|
||||
}
|
||||
.cron-div .ant-tabs-nav {
|
||||
margin: 0 !important;
|
||||
}
|
||||
.cron-div .ant-tabs-tab {
|
||||
border-radius: 0 !important;
|
||||
background: #fafafa !important;
|
||||
}
|
||||
// .file-application .ant-input-affix-wrapper{
|
||||
// height: 40px;
|
||||
// }
|
||||
.cron-div .ant-tabs-nav .ant-tabs-tab-active {
|
||||
background: none !important;
|
||||
color: #1890ff !important;
|
||||
}
|
||||
.cron-div .fas-icon-list-checked {
|
||||
background: #3979f9 !important;
|
||||
}
|
||||
|
||||
.app-custom-edit-form-header {
|
||||
height: 36px;
|
||||
padding: 0 20px;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 36px;
|
||||
background-color: #f5f6f7;
|
||||
}
|
||||
|
||||
.app-custom-edit-form-operation {
|
||||
text-align: right;
|
||||
.ant-form-item {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
.app-custom-edit-form-body {
|
||||
// padding: 0 5px 0 20px;
|
||||
.ant-form-item {
|
||||
width: 90%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
& > .ant-row {
|
||||
padding: 0 5px 0 20px;
|
||||
}
|
||||
& > .ant-row:nth-of-type(2n) {
|
||||
background: #f9f9f9;
|
||||
}
|
||||
& > .ant-row:nth-last-child(1) {
|
||||
width: 100% !important;
|
||||
padding-right: 15px;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
.ant-pagination {
|
||||
.ant-pagination-item,
|
||||
.ant-pagination-item > a,
|
||||
.ant-pagination-item-active,
|
||||
.ant-pagination-item:hover {
|
||||
overflow: hidden;
|
||||
border-radius: 4px !important;
|
||||
}
|
||||
.ant-pagination-prev .ant-pagination-item-link,
|
||||
.ant-pagination-next .ant-pagination-item-link {
|
||||
border-radius: 4px !important;
|
||||
}
|
||||
}
|
||||
.workflow_content {
|
||||
height: calc(100vh - 159px) !important;
|
||||
}
|
||||
//选中项得菜单导航背景色
|
||||
.ant-menu-vertical .ant-menu-submenu-selected,
|
||||
.ant-menu-vertical-left .ant-menu-submenu-selected,
|
||||
.ant-menu-vertical-right .ant-menu-submenu-selected {
|
||||
background: @menu-item-active-bg;
|
||||
}
|
||||
//菜单收起时2级菜单隐藏滚动条
|
||||
.ant-menu-vertical.ant-menu-sub::-webkit-scrollbar {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
// 查看样式
|
||||
.platform-b-description-form {
|
||||
// 此处修改不更新HT-TCL,只用于平台
|
||||
.ant-form-item-label.ant-col-12 {
|
||||
// width: 100% !important;
|
||||
flex: inherit;
|
||||
}
|
||||
.hoteam-b-form-col-item {
|
||||
overflow: hidden;
|
||||
}
|
||||
.crami-form-item-body {
|
||||
margin-right: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.hoteam-b-form-col-item-divider {
|
||||
padding: 0 !important;
|
||||
border: none !important;
|
||||
.hoteam-b-form-divider {
|
||||
margin: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
&:nth-of-type(n + 2) {
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
.ant-form-item-label {
|
||||
.hoteam-b-form-item-label-break {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
.ant-form-item-control .ant-form-item-control-input-content {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ant-form-item-control .ant-form-item-control-input-content .hoteam-b-form-item-content {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
//工作流-设计器样式 右侧选项栏更改
|
||||
.process-design-wrapper {
|
||||
.process-design-options {
|
||||
.process-panel__container.process-panel {
|
||||
.process-panel__container-button {
|
||||
.process-panel__container-form {
|
||||
.ant-tabs-content.ant-tabs-content-top {
|
||||
padding: 1px 20px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.h-color-picker-div {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
// rule 红色提示语样式
|
||||
.ant-form-item-with-help .ant-form-item-explain {
|
||||
min-height: 18px;
|
||||
line-height: 18px;
|
||||
font-size: 12px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
//布局调整相关class
|
||||
//页面最外层的padding
|
||||
.main-content-padding {
|
||||
padding: @main-content-padding;
|
||||
}
|
||||
//所有页面统一得class
|
||||
.main-content {
|
||||
}
|
||||
//盒子间的margin(统一使用margin-right 和 margin-bottom)
|
||||
.margin-left {
|
||||
margin-left: @margin-left;
|
||||
}
|
||||
.margin-right {
|
||||
margin-right: @margin-right;
|
||||
}
|
||||
.margin-top {
|
||||
margin-top: @margin-top;
|
||||
}
|
||||
.margin-bottom {
|
||||
margin-bottom: @margin-bottom;
|
||||
}
|
||||
.margin-all {
|
||||
margin: @margin-all;
|
||||
}
|
||||
|
||||
//flex布局(页面排列方式横向时用,例如左树右表结构)
|
||||
.flex-content {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
//固定宽度(一般用于左侧树)
|
||||
.width-fixed {
|
||||
width: @width-fixed;
|
||||
}
|
||||
//右侧计算宽度(一般用于右侧表格)
|
||||
.width-computed {
|
||||
width: calc(100% - @margin-right - @width-fixed);
|
||||
}
|
||||
//无card-header时的card-body(左侧是树组件或其他时用)
|
||||
.no-card-head {
|
||||
.ant-card-body {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
//有card-header时的card-body(左侧是树组件或其他时用)
|
||||
.has-card-head {
|
||||
.ant-card-body {
|
||||
height: calc(100% - 65px);
|
||||
}
|
||||
}
|
||||
//根据组件模块划分得class(加载包裹组件的card上)
|
||||
//页面
|
||||
//查询表单
|
||||
.list-query-form {
|
||||
//修改查询表单的padding-bottom:
|
||||
.ant-card-body {
|
||||
// padding-bottom: 0;
|
||||
padding: 12px 24px 0;
|
||||
//修改标题得样式
|
||||
.hoteam-b-form {
|
||||
.hoteam-b-form-title {
|
||||
//颜色#333
|
||||
color: @heading-color;
|
||||
//字重600
|
||||
font-weight: 600;
|
||||
//字号16
|
||||
font-size: 16px;
|
||||
//行高22
|
||||
line-height: 34px;
|
||||
}
|
||||
//分割线样式
|
||||
.ant-row .ant-divider-horizontal {
|
||||
margin: 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
//输入框label与属于框得间距
|
||||
.hoteam-b-form-col-item {
|
||||
.hoteam-b-form-item-break {
|
||||
// margin-bottom: 24px;
|
||||
.ant-form-item-label {
|
||||
padding: 0 0 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//树
|
||||
.list-tree {
|
||||
}
|
||||
//表格
|
||||
.list-table {
|
||||
> .ant-card-body {
|
||||
padding: 0 24px;
|
||||
}
|
||||
//统一修改list-table的标题
|
||||
.hoteam-b-table-list-toolbar-container {
|
||||
height: auto;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
line-height: 32px;
|
||||
}
|
||||
.hoteam-b-table-list-toolbar-title {
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
.list-table-not-hb {
|
||||
> .ant-card-body {
|
||||
padding: 15px 24px 0 24px;
|
||||
}
|
||||
}
|
||||
//tab页(纯table)
|
||||
.list-tab-box {
|
||||
.ant-card-body {
|
||||
padding: 0 24px 0 46px;
|
||||
.ant-tabs-top > .ant-tabs-nav,
|
||||
.ant-tabs-bottom > .ant-tabs-nav,
|
||||
.ant-tabs-top > div > .ant-tabs-nav,
|
||||
.ant-tabs-bottom > div > .ant-tabs-nav {
|
||||
margin: 0;
|
||||
}
|
||||
.ant-tabs-tab {
|
||||
padding: 16px 0;
|
||||
color: #999;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-weight: 500;
|
||||
}
|
||||
.ant-tabs-tab + .ant-tabs-tab {
|
||||
margin: 0 0 0 28px;
|
||||
}
|
||||
.ant-space-item span {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
//tab页(内有其他内容)
|
||||
.list-tab-box-has-content {
|
||||
> .ant-card-body {
|
||||
padding: 0 24px 0;
|
||||
.ant-tabs-top > .ant-tabs-nav,
|
||||
.ant-tabs-bottom > .ant-tabs-nav,
|
||||
.ant-tabs-top > div > .ant-tabs-nav,
|
||||
.ant-tabs-bottom > div > .ant-tabs-nav {
|
||||
margin: 0;
|
||||
}
|
||||
.ant-tabs-tab {
|
||||
padding: 16px 0;
|
||||
color: #999;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-weight: 500;
|
||||
}
|
||||
.ant-tabs-tab + .ant-tabs-tab {
|
||||
margin: 0 0 0 24px;
|
||||
}
|
||||
.ant-space-item span {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
//switch开关样式重写
|
||||
.list-switch,
|
||||
.ant-switch {
|
||||
width: 45px;
|
||||
height: 18px;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
|
||||
.ant-switch-handle {
|
||||
top: -3px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
border-radius: 24px;
|
||||
}
|
||||
.ant-switch-handle::before {
|
||||
right: 3px;
|
||||
left: -3px;
|
||||
border: 1px solid #e1e2e6;
|
||||
border-radius: 24px;
|
||||
}
|
||||
}
|
||||
//项目上发现新的通用组件的时可以加在这里;
|
||||
//增加一个class主要给租户页面和工作流中卡片类型的页面 该类的card-body的上下间距是一致的,如果有标题,标题的间距
|
||||
.list-card-form {
|
||||
.ant-card-head {
|
||||
//间距20
|
||||
padding: 0 20px;
|
||||
//增加下边框
|
||||
.ant-card-head-wrapper {
|
||||
//标题样式
|
||||
.ant-card-head-title {
|
||||
color: #000;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
//额外按钮样式
|
||||
.ant-card-extra {
|
||||
//padding0
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-card-body {
|
||||
padding: 16px 24px;
|
||||
}
|
||||
}
|
||||
//重置包裹组件得card得边框为0
|
||||
.list-query-form.ant-card-bordered,
|
||||
.list-tree.ant-card-bordered,
|
||||
.list-table.ant-card-bordered,
|
||||
.list-tab-box.ant-card-bordered,
|
||||
.list-table-has-card-head.ant-card,
|
||||
.list-form-has-card-head.ant-card,
|
||||
.list-form-has-card-head-normal.ant-card,
|
||||
.list-card-form.ant-card,
|
||||
.list-tab-box-has-content.ant-card,
|
||||
.list-table-no-bottom.ant-card,
|
||||
.list-descriptions.ant-card {
|
||||
border: 0;
|
||||
}
|
||||
//统一修改card组件包裹时的圆角
|
||||
.list-query-form.ant-card,
|
||||
.list-tree.ant-card,
|
||||
.list-table.ant-card,
|
||||
.list-tab-box.ant-card,
|
||||
.list-table-has-card-head.ant-card,
|
||||
.list-form-has-card-head.ant-card,
|
||||
.list-form-has-card-head-normal.ant-card,
|
||||
.list-card-form.ant-card,
|
||||
.list-tab-box-has-content.ant-card,
|
||||
.list-table-no-bottom.ant-card,
|
||||
.list-descriptions.ant-card {
|
||||
border-radius: 8px;
|
||||
}
|
||||
//统一修改list-tree的样式
|
||||
//带标题的
|
||||
.has-card-head.list-tree {
|
||||
.ant-card-head {
|
||||
//间距20
|
||||
padding: 0 20px;
|
||||
//下边框0
|
||||
border-bottom: 0;
|
||||
//增加下边框
|
||||
.ant-card-head-wrapper {
|
||||
border-bottom: 1px dashed #e9e9e9;
|
||||
//标题样式
|
||||
.ant-card-head-title {
|
||||
color: #000;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
//额外按钮样式
|
||||
.ant-card-extra {
|
||||
//padding0
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-card-body {
|
||||
padding: 15px 20px 24px;
|
||||
}
|
||||
}
|
||||
//不带标题的
|
||||
.no-card-head.list-tree {
|
||||
.ant-card-body {
|
||||
padding: 16px 20px 24px;
|
||||
}
|
||||
}
|
||||
//统一修改list-table-has-card-head得样式
|
||||
.list-table-has-card-head,
|
||||
.list-table-no-bottom {
|
||||
.ant-card-head {
|
||||
//下边框0
|
||||
border-bottom: 0;
|
||||
//增加下边框
|
||||
.ant-card-head-wrapper {
|
||||
border-bottom: 1px dashed #e9e9e9;
|
||||
//标题样式
|
||||
.ant-card-head-title {
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
//额外按钮样式
|
||||
.ant-card-extra {
|
||||
//padding0
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.list-table-has-card-head {
|
||||
> .ant-card-body {
|
||||
padding: 15px 24px 24px;
|
||||
}
|
||||
}
|
||||
.list-table-no-bottom {
|
||||
> .ant-card-body {
|
||||
padding: 15px 24px 0 24px;
|
||||
}
|
||||
}
|
||||
//统一修改list-form-has-card-head,.list-form-has-card-head-normal(此class与list-form-has-card-head的区别为card-padding 不同) 得样式
|
||||
.list-form-has-card-head,
|
||||
.list-form-has-card-head-normal {
|
||||
.ant-card-head {
|
||||
//下边框0
|
||||
border-bottom: 0;
|
||||
//增加下边框
|
||||
.ant-card-head-wrapper {
|
||||
border-bottom: 1px dashed #e9e9e9;
|
||||
//标题样式
|
||||
.ant-card-head-title {
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
//额外按钮样式
|
||||
.ant-card-extra {
|
||||
//padding0
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.list-form-has-card-head-normal {
|
||||
.ant-card-body {
|
||||
padding: 16px 24px;
|
||||
}
|
||||
}
|
||||
.list-form-has-card-head {
|
||||
.ant-card-body {
|
||||
padding: 15px 24px 0;
|
||||
}
|
||||
}
|
||||
//弹框下的card的边框,间距都为0
|
||||
.ant-modal-body {
|
||||
> .ant-card.ant-card-bordered {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
//解决HBTable自定义展开icon换行问题
|
||||
.hoteam-b-table {
|
||||
.surely-table-append-node {
|
||||
display: contents;
|
||||
}
|
||||
}
|
||||
// 调整工作流自定义表单浏览模式下样式
|
||||
.formbuilder-view-workspace {
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
// TODO: 去掉行内按钮的padding
|
||||
.surely-table-cell-inner .surely-table-cell-content .ant-space.ant-space-horizontal.ant-space-align-center .ant-space-item .ant-btn { padding: 0
|
||||
}
|
13
packages/icpx-file/src/assets/ICP/general-hidde.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>收起(1)</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="收起(1)" fill-rule="nonzero">
|
||||
<rect id="矩形" fill="#D8D8D8" opacity="0" x="0" y="0" width="12" height="12"></rect>
|
||||
<g id="编组-8" transform="translate(2.414214, 1.433607)" fill="#999999">
|
||||
<path d="M1.70710678,0.773499349 L5.22650065,4.29289322 C5.61702494,4.68341751 5.61702494,5.31658249 5.22650065,5.70710678 L1.70710678,9.22650067 C1.31658249,9.61702497 0.683417511,9.61702497 0.292893219,9.22650067 C0.10535684,9.03896427 4.4408921e-16,8.78461036 4.4408921e-16,8.51939387 L4.4408921e-16,1.48060613 C4.4408921e-16,0.928321379 0.44771525,0.480606129 1,0.480606129 C1.26521649,0.480606129 1.5195704,0.585962969 1.70710678,0.773499349 Z" id="路径" transform="translate(2.759697, 5.000000) scale(-1, 1) translate(-2.759697, -5.000000) "></path>
|
||||
<rect id="矩形" x="6.58578587" y="-4.4408921e-16" width="1" height="10" rx="0.5"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
13
packages/icpx-file/src/assets/ICP/general-show.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>展开(1)</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="展开(1)" fill-rule="nonzero">
|
||||
<rect id="矩形" fill="#D8D8D8" opacity="0" x="0" y="0" width="12" height="12"></rect>
|
||||
<g id="编组-8" transform="translate(5.792893, 6.433607) scale(-1, 1) translate(-5.792893, -6.433607) translate(2.000000, 1.433607)" fill="#999999">
|
||||
<path d="M1.70710678,0.773499349 L5.22650065,4.29289322 C5.61702494,4.68341751 5.61702494,5.31658249 5.22650065,5.70710678 L1.70710678,9.22650067 C1.31658249,9.61702497 0.683417511,9.61702497 0.292893219,9.22650067 C0.10535684,9.03896427 4.4408921e-16,8.78461036 4.4408921e-16,8.51939387 L4.4408921e-16,1.48060613 C4.4408921e-16,0.928321379 0.44771525,0.480606129 1,0.480606129 C1.26521649,0.480606129 1.5195704,0.585962969 1.70710678,0.773499349 Z" id="路径" transform="translate(2.759697, 5.000000) scale(-1, 1) translate(-2.759697, -5.000000) "></path>
|
||||
<rect id="矩形" x="6.58578587" y="-4.4408921e-16" width="1" height="10" rx="0.5"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M13.4,11.6A5.8,5.8,0,0,0,14,9a6.2,6.2,0,0,0-4-5.7V3A2,2,0,0,0,6,3v.3A6.2,6.2,0,0,0,2,9a5.8,5.8,0,0,0,.6,2.6A1.7,1.7,0,0,0,2,13a2,2,0,0,0,2,2,1.7,1.7,0,0,0,1.4-.6,5.9,5.9,0,0,0,5.2,0A1.7,1.7,0,0,0,12,15a2,2,0,0,0,2-2A1.7,1.7,0,0,0,13.4,11.6ZM8,2A.9.9,0,0,1,9,3,.9.9,0,0,1,8,4,.9.9,0,0,1,7,3,.9.9,0,0,1,8,2ZM4,14a1,1,0,0,1,0-2,1,1,0,0,1,0,2Zm1.9-.5A.7.7,0,0,0,6,13a2,2,0,0,0-2-2H3.5A5.4,5.4,0,0,1,3,9,4.8,4.8,0,0,1,6.5,4.3a2,2,0,0,0,3,0A4.8,4.8,0,0,1,13,9a5.4,5.4,0,0,1-.5,2.1H12a2,2,0,0,0-2,2,.7.7,0,0,0,.1.5A5.1,5.1,0,0,1,5.9,13.5ZM12,14a1,1,0,1,1,1-1A.9.9,0,0,1,12,14Z"/></svg>
|
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M8,1H8L2.1,2.9H2V9.2c0,2.7,4.3,5,5.7,5.6L8,15l.3-.2c1.4-.6,5.7-2.9,5.7-5.6V2.9Zm5,8c0,2.6-4.5,4.8-5,5S3,11.6,3,9V3.7L8,2l5,1.7Z"/><path class="cls-1" d="M5.8,5.9a2.1,2.1,0,0,0,1.5,2v3.7a.6.6,0,0,0,.6.5c.4,0,.6-.2.6-.5V9.8H9.6a.6.6,0,0,0,.6-.6.6.6,0,0,0-.6-.5H8.5V7.9h0a2.1,2.1,0,0,0,1.5-2,2.1,2.1,0,0,0-2.1-2A2,2,0,0,0,5.8,5.9ZM9,5.9a1.1,1.1,0,0,1-2.2,0,1,1,0,0,1,1.1-1A1,1,0,0,1,9,5.9Z"/></svg>
|
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M6.6,6.9a2.7,2.7,0,0,0,1.6.4,3.1,3.1,0,0,0,3.2-3.1A3.3,3.3,0,0,0,8.2,1,3.3,3.3,0,0,0,4.9,4.2,3.3,3.3,0,0,0,6.6,6.9ZM8.2,2a2.2,2.2,0,0,1,2.2,2.2A2.2,2.2,0,0,1,9.3,6,2.4,2.4,0,0,1,7,6,2.2,2.2,0,0,1,5.9,4.2,2.2,2.2,0,0,1,8.2,2Z"/><path class="cls-1" d="M8.8,8H7.5a4.8,4.8,0,0,0-4.9,4.8A2.3,2.3,0,0,0,5,15h6.4a2.3,2.3,0,0,0,2.3-2.2A4.8,4.8,0,0,0,8.8,8Zm2.6,6H5a1.3,1.3,0,0,1-1.4-1.2A3.9,3.9,0,0,1,7.5,9H8.8a3.8,3.8,0,0,1,3.9,3.8A1.2,1.2,0,0,1,11.4,14Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-add-child-node.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M10.5,6a4.4,4.4,0,0,0-4.4,4H4.5A1.5,1.5,0,0,1,3,8.5V3H9.1a1.4,1.4,0,0,0,1.4,1A1.5,1.5,0,0,0,12,2.5,1.5,1.5,0,0,0,10.5,1,1.4,1.4,0,0,0,9.1,2H1.5a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.5H2V8.5A2.5,2.5,0,0,0,4.5,11H6.1a4.5,4.5,0,1,0,4.4-5Zm0-4a.5.5,0,0,1,.5.5.5.5,0,0,1-1,0A.5.5,0,0,1,10.5,2Zm0,12A3.5,3.5,0,1,1,14,10.5,3.5,3.5,0,0,1,10.5,14Z"/><path class="cls-1" d="M12.5,10H11V8.5a.5.5,0,0,0-1,0V10H8.5a.5.5,0,0,0,0,1H10v1.5a.5.5,0,0,0,1,0V11h1.5a.5.5,0,0,0,0-1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-add-location.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M10,5.5H8.5V4a.5.5,0,0,0-1,0V5.5H6a.5.5,0,0,0,0,1H7.5V8a.5.5,0,0,0,1,0V6.5H10a.5.5,0,0,0,0-1Z"/><path class="cls-1" d="M8,1A4.9,4.9,0,0,0,3,5.9c-.1,2.3,1.8,5.7,4.6,8.7a.6.6,0,0,0,.8,0c2.7-2.9,4.7-6.4,4.6-8.7A4.9,4.9,0,0,0,8,1ZM7.6,12.9a9.5,9.5,0,0,1-1.5-2,8.3,8.3,0,0,1-2-5,3.9,3.9,0,0,1,7.8,0c.1,1.9-1.3,4.5-3.5,7A.5.5,0,0,1,7.6,12.9Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-add-user.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M12,5A4,4,0,0,0,4,5,3.9,3.9,0,0,0,6,8.4a6.7,6.7,0,0,0-4,6.1.5.5,0,0,0,.5.5.5.5,0,0,0,.5-.5C3,11.6,5.4,9,8,9A4,4,0,0,0,12,5ZM8,8A2.9,2.9,0,0,1,5,5,2.9,2.9,0,0,1,8,2a2.9,2.9,0,0,1,3,3A2.9,2.9,0,0,1,8,8Z"/><path class="cls-1" d="M13.5,12H12V10.5a.5.5,0,0,0-1,0V12H9.5a.5.5,0,0,0,0,1H11v1.5a.5.5,0,0,0,1,0V13h1.5a.5.5,0,0,0,0-1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-add.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M10.7,1.5A7.1,7.1,0,0,0,3,3,7.4,7.4,0,0,0,1,8a7,7,0,0,0,7,7,7,7,0,0,0,7-7A7.1,7.1,0,0,0,10.7,1.5ZM8,14A5.9,5.9,0,0,1,2.1,8,5.5,5.5,0,0,1,3.8,3.8,6,6,0,0,1,14,8,6,6,0,0,1,8,14Z"/><path class="cls-1" d="M11.5,7.5h-3v-3a.5.5,0,0,0-1,0v3h-3a.5.5,0,0,0,0,1h3v3a.5.5,0,0,0,1,0v-3h3a.5.5,0,0,0,0-1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-aim.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M14.6,7.5H13.5a5.7,5.7,0,0,0-5-5V1.3A.5.5,0,0,0,8,.8a.5.5,0,0,0-.5.5V2.5A5.5,5.5,0,0,0,2.6,7.4H1.4a.5.5,0,0,0,0,1H2.5a5.6,5.6,0,0,0,5,5.1v1a.5.5,0,0,0,1,0v-1a5.5,5.5,0,0,0,5-5h1.1a.5.5,0,0,0,.5-.5A.5.5,0,0,0,14.6,7.5Zm-6.1,5v-.7a.5.5,0,0,0-1,0v.7a4.7,4.7,0,0,1-4-4.1h.6a.5.5,0,0,0,0-1H3.6A4.5,4.5,0,0,1,7.5,3.6V4a.5.5,0,0,0,.5.5A.5.5,0,0,0,8.5,4V3.6a4.5,4.5,0,0,1,4,3.9h-.6a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.5h.6A4.5,4.5,0,0,1,8.5,12.5Z"/><path class="cls-1" d="M8,6.5A1.5,1.5,0,0,0,6.6,8,1.5,1.5,0,0,0,8,9.5a1.5,1.5,0,0,0,0-3Zm0,2A.5.5,0,0,1,7.6,8,.5.5,0,0,1,8,7.5a.5.5,0,0,1,0,1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-align-left.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M2.3,3.9H9.4a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H2.3a.5.5,0,0,0-.5.5A.5.5,0,0,0,2.3,3.9Z"/><path class="cls-1" d="M2.3,7H14.4a.5.5,0,0,0,0-1H2.3a.5.5,0,1,0,0,1Z"/><path class="cls-1" d="M2.3,10H9.4a.6.6,0,0,0,.5-.5A.5.5,0,0,0,9.4,9H2.3a.5.5,0,0,0-.5.5A.5.5,0,0,0,2.3,10Z"/><path class="cls-1" d="M14.4,12.1H2.3a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.5H14.4a.5.5,0,0,0,.5-.5A.5.5,0,0,0,14.4,12.1Z"/></svg>
|
14
packages/icpx-file/src/assets/ICP/icp-application-more.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>icon/通用/16px/更多</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图组件" transform="translate(-814.000000, -607.000000)">
|
||||
<g id="icon/通用/16px/更多" transform="translate(814.000000, 607.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<circle id="椭圆形" fill="#3979F9" cx="3" cy="8" r="1"></circle>
|
||||
<circle id="椭圆形" fill="#3979F9" cx="8" cy="8" r="1"></circle>
|
||||
<circle id="椭圆形" fill="#3979F9" cx="13" cy="8" r="1"></circle>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 856 B |
1
packages/icpx-file/src/assets/ICP/icp-arrow-down.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><polygon class="cls-1" points="12.6 5 8.3 9.9 3.4 5 2.6 5.7 8.3 11.4 13.4 5.7 12.6 5"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-arrow-left.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><polygon class="cls-1" points="11 3.4 10.3 2.6 4.6 8.3 10.3 13.4 11 12.6 6.1 8.3 11 3.4"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-arrow-right.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><polygon class="cls-1" points="5.7 2.6 5 3.4 9.9 8.3 5 12.6 5.7 13.4 11.4 8.3 5.7 2.6"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-arrow-up.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><polygon class="cls-1" points="8.3 4.6 2.6 10.3 3.4 11 8.3 6.1 12.6 11 13.4 10.3 8.3 4.6"/></svg>
|
13
packages/icpx-file/src/assets/ICP/icp-arrow.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="10px" height="8px" viewBox="0 0 10 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>形状结合</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="权限管理-数据权限参数-编辑" transform="translate(-278.000000, -639.000000)" fill="#999999">
|
||||
<g id="编组-9" transform="translate(248.000000, 350.000000)">
|
||||
<g id="编组-2" transform="translate(30.000000, 287.000000)">
|
||||
<path d="M0,2 L10,6 L0,10 L2.86756332,6 L0,2 Z" id="形状结合"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 733 B |
1
packages/icpx-file/src/assets/ICP/icp-back.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M13.5,8H3.7L5.9,5.9a1.1,1.1,0,0,0,0-.8H5.1l-3,3v.8l3,3h.8a1.1,1.1,0,0,0,0-.8L3.7,9h9.8a.5.5,0,0,0,0-1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-bell.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M6.6,14.1a1.6,1.6,0,0,0,2.8,0l.3-.6H6.3Z"/><path class="cls-1" d="M14.5,10.8a1.4,1.4,0,0,1-1.4-1.4V6.1A5,5,0,0,0,8,1.1a5,5,0,0,0-5.1,5V9.4a1.4,1.4,0,0,1-1.4,1.4.5.5,0,0,0,0,1h13a.5.5,0,0,0,0-1Zm-10.9,0A2.3,2.3,0,0,0,4,9.4V6.1a4,4,0,0,1,8,0V9.4a2.3,2.3,0,0,0,.4,1.4Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-bmp.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M14.9,5.5h0L11.4,1.9H3.2A1.8,1.8,0,0,0,1.4,3.7V12a1.9,1.9,0,0,0,1.8,1.9h9.9A1.9,1.9,0,0,0,14.9,12ZM11.4,3.1l2.3,2.3H12.2a.9.9,0,0,1-.8-.8Zm1.7,9.7H3.2a.7.7,0,0,1-.7-.8V3.7a.8.8,0,0,1,.7-.8h7.2a7.8,7.8,0,0,0,0,1.7,1.8,1.8,0,0,0,1.8,1.8h1.7V12A.8.8,0,0,1,13.1,12.8Z"/><path class="cls-1" d="M5.4,9.3h0A.9.9,0,0,0,6,8.5c0-.7-.6-1-1.4-1H3.4v3.7H4.7c.8,0,1.4-.3,1.4-1A.9.9,0,0,0,5.4,9.3ZM4.1,8.1h.5c.4,0,.6.1.6.5s-.2.5-.6.5H4.1Zm.5,2.6H4.1V9.6h.5c.6,0,.8.2.8.5S5.1,10.7,4.6,10.7Z"/><path class="cls-1" d="M8.5,9.3l-.3.7h0c-.1-.2-.1-.5-.2-.7L7.4,7.5H6.5v3.7h.7V9.7c0-.3-.1-.9-.1-1.2h0l.3.9L8,10.9h.4L9,9.4l.3-.9h0c0,.3-.1.9-.1,1.2v1.5h.7V7.5H9.1Z"/><path class="cls-1" d="M11.8,7.5H10.6v3.7h.7V9.9h.5c.8,0,1.4-.3,1.4-1.2S12.6,7.5,11.8,7.5Zm-.1,1.8h-.4V8.1h.4c.5,0,.8.2.8.6S12.3,9.3,11.7,9.3Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-bold.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M12.5,9A2.3,2.3,0,0,0,11,7.8h0a2.2,2.2,0,0,0,.9-.7l.6-.7a4.5,4.5,0,0,0,.3-1.6A4.1,4.1,0,0,0,11.9,2,3.7,3.7,0,0,0,9.2,1H4V15H9.6A3,3,0,0,0,12,13.9,3.9,3.9,0,0,0,13,11,4.6,4.6,0,0,0,12.5,9ZM6,2.9H9a1.8,1.8,0,0,1,1.5.6A2,2,0,0,1,11,4.9a2.2,2.2,0,0,1-.5,1.4A1.8,1.8,0,0,1,9,6.9H6Zm4.7,9.4h0a1.7,1.7,0,0,1-1.5.7H6V8.8H9.2a1.9,1.9,0,0,1,1.5.6,2.4,2.4,0,0,1,.4,1.5A2.1,2.1,0,0,1,10.7,12.3Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-bom-structure.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M8.8,10.2h5.3a.9.9,0,0,0,.8-1v-2c0-.6-.3-1-.8-1H8.8a.9.9,0,0,0-.9,1v1h-3v-3H7.1a.9.9,0,0,0,.8-1v-2c0-.6-.3-1-.8-1H1.8a.9.9,0,0,0-.9,1v2a1,1,0,0,0,.9,1H3.9v9h4a1,1,0,0,0,.9,1h5.3a.9.9,0,0,0,.8-1v-2c0-.6-.3-1-.8-1H8.8a.9.9,0,0,0-.9,1v1h-3v-4h3A1,1,0,0,0,8.8,10.2Zm.1-2.5a.5.5,0,0,1,.4-.5h4.3c.2,0,.3.2.3.5v1c0,.3-.1.5-.3.5H9.3a.5.5,0,0,1-.4-.5ZM2.3,4.2a.5.5,0,0,1-.4-.5v-1a.5.5,0,0,1,.4-.5H6.6c.2,0,.3.2.3.5v1c0,.3-.1.5-.3.5H2.3Zm6.6,8.5a.5.5,0,0,1,.4-.5h4.3c.2,0,.3.2.3.5v1c0,.3-.1.5-.3.5H9.3a.5.5,0,0,1-.4-.5Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-bom.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><defs></defs><path class="cls-1" d="M23.8,4.2a2.2,2.2,0,0,1,2,2.2v4.8h1.1V4.1A1.1,1.1,0,0,0,25.8,3H10.3A1.1,1.1,0,0,0,9.2,4.1H23.8Z"/><path class="cls-1" d="M12,8.2a3.4,3.4,0,0,1,2.6,1.2L16,11.1h7.8V7.2a1.1,1.1,0,0,0-1.1-1.1H6.2A1.1,1.1,0,0,0,5.1,7.2v1H12Z"/><path class="cls-1" d="M15.5,19.6c-.7,0-1.1.6-1.1,1.5s.4,1.6,1.1,1.6,1-.6,1-1.6S16.1,19.6,15.5,19.6Z"/><path class="cls-1" d="M26.8,13.3h-12l-1.4-1.8a3.2,3.2,0,0,0-2.6-1.2H5.2A2.2,2.2,0,0,0,3,12.5V26.8A2.2,2.2,0,0,0,5.2,29H26.8A2.2,2.2,0,0,0,29,26.8V15.4A2.1,2.1,0,0,0,26.8,13.3Zm-16,10.3H9V18.7h1.7c1,0,1.8.3,1.8,1.2a1.2,1.2,0,0,1-.7,1.1h0a1.1,1.1,0,0,1,.9,1.1C12.7,23.1,11.8,23.6,10.8,23.6Zm4.7.1c-1.3,0-2.2-1-2.2-2.6a2.1,2.1,0,0,1,2.2-2.4,2.2,2.2,0,0,1,2.2,2.4C17.7,22.7,16.8,23.7,15.5,23.7Zm7.7-.1H22.1V21.9a9.9,9.9,0,0,1,.2-1.7h-.1l-.4,1.2-.6,1.8h-.7l-.6-1.8-.4-1.2h0c0,.5.1,1.2.1,1.7v1.7h-1V18.7h1.2l.8,2.1.3.9h0l.3-.9.7-2.1h1.3Z"/><path class="cls-1" d="M11.3,20.1c0-.3-.2-.5-.7-.5h-.5v1.1h.5C11.1,20.7,11.3,20.4,11.3,20.1Z"/><path class="cls-1" d="M10.7,21.5h-.6v1.2h.6c.6,0,.8-.2.8-.6S11.3,21.5,10.7,21.5Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-bottom.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M11.9,10.1h-.8L9,12.3V2.5a.5.5,0,0,0-1,0v9.8L5.9,10.1H5.1a1.1,1.1,0,0,0,0,.8l3,3h.8l3-3A1.1,1.1,0,0,0,11.9,10.1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-calculator.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M12.5,15h-9A2.5,2.5,0,0,1,1,12.5v-9A2.5,2.5,0,0,1,3.5,1h9A2.5,2.5,0,0,1,15,3.5v9A2.5,2.5,0,0,1,12.5,15ZM3.5,2A1.5,1.5,0,0,0,2,3.5v9A1.5,1.5,0,0,0,3.5,14h9A1.5,1.5,0,0,0,14,12.5v-9A1.5,1.5,0,0,0,12.5,2Z"/><path class="cls-1" d="M6.5,6h-2A.5.5,0,0,1,4,5.5.5.5,0,0,1,4.5,5h2a.5.5,0,0,1,.5.5A.5.5,0,0,1,6.5,6Z"/><path class="cls-1" d="M5.5,7A.5.5,0,0,1,5,6.5v-2A.5.5,0,0,1,5.5,4a.5.5,0,0,1,.5.5v2A.5.5,0,0,1,5.5,7Z"/><path class="cls-1" d="M11.5,6h-2A.5.5,0,0,1,9,5.5.5.5,0,0,1,9.5,5h2a.5.5,0,0,1,.5.5A.5.5,0,0,1,11.5,6Z"/><path class="cls-1" d="M4.5,12H4.1a1.1,1.1,0,0,1,0-.8l2-2h.8a1.1,1.1,0,0,1,0,.8l-2,2Z"/><path class="cls-1" d="M6.5,12H6.1l-2-2a1.1,1.1,0,0,1,0-.8h.8l2,2a1.1,1.1,0,0,1,0,.8Z"/><path class="cls-1" d="M11.5,11h-2a.5.5,0,0,1,0-1h2a.5.5,0,0,1,0,1Z"/><circle class="cls-1" cx="10.5" cy="9.5" r="0.5"/><circle class="cls-1" cx="10.5" cy="11.5" r="0.5"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-calendar.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M12.7,2.6H11.6V1.9a.5.5,0,0,0-.5-.5.5.5,0,0,0-.5.5v.7h-5V1.9a.5.5,0,0,0-.5-.5.5.5,0,0,0-.5.5v.7H3.4A2.3,2.3,0,0,0,1,4.9v7.3a2.4,2.4,0,0,0,2.4,2.4h9.3A2.3,2.3,0,0,0,15,12.2V4.9A2.3,2.3,0,0,0,12.7,2.6ZM14,12.2a1.3,1.3,0,0,1-1.3,1.4H3.4A1.4,1.4,0,0,1,2,12.2V6.1H14Zm0-7.1H2V4.9A1.3,1.3,0,0,1,3.4,3.6H4.6V4a.5.5,0,0,0,.5.5A.5.5,0,0,0,5.6,4V3.6h5V4a.5.5,0,0,0,.5.5.5.5,0,0,0,.5-.5V3.6h1.1A1.3,1.3,0,0,1,14,4.9Z"/><path class="cls-1" d="M3.8,9.3H5.2a.5.5,0,0,0,0-1H3.8a.5.5,0,0,0,0,1Z"/><path class="cls-1" d="M7.4,9.3H8.8a.5.5,0,0,0,0-1H7.4a.5.5,0,0,0,0,1Z"/><path class="cls-1" d="M11,9.3h1.4a.5.5,0,1,0,0-1H11a.5.5,0,0,0,0,1Z"/><path class="cls-1" d="M3.8,11.3H5.2a.5.5,0,0,0,0-1H3.8a.5.5,0,0,0,0,1Z"/><path class="cls-1" d="M7.4,11.3H8.8a.5.5,0,0,0,0-1H7.4a.5.5,0,0,0,0,1Z"/><path class="cls-1" d="M11,11.3h1.4a.5.5,0,1,0,0-1H11a.5.5,0,0,0,0,1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-camera.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M12.6,3h-.3l-.6-1.2A1.6,1.6,0,0,0,10.4,1H5.6a1.6,1.6,0,0,0-1.3.8L3.7,3H3.4A2.4,2.4,0,0,0,1,5.4v7.2A2.4,2.4,0,0,0,3.4,15h9.2A2.4,2.4,0,0,0,15,12.6V5.4A2.4,2.4,0,0,0,12.6,3ZM5.2,2.3A.5.5,0,0,1,5.6,2h4.8a.5.5,0,0,1,.4.3l.3.6H4.9ZM14,12.6A1.4,1.4,0,0,1,12.6,14H3.4A1.4,1.4,0,0,1,2,12.6V5.4A1.4,1.4,0,0,1,3.4,4h9.2A1.4,1.4,0,0,1,14,5.4Z"/><path class="cls-1" d="M8,5.5a3.5,3.5,0,0,0,0,7,3.5,3.5,0,0,0,0-7Zm0,6A2.5,2.5,0,1,1,10.5,9,2.5,2.5,0,0,1,8,11.5Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-center.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M4.7,3.9h7.2a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H4.7a.6.6,0,0,0-.5.5A.5.5,0,0,0,4.7,3.9Z"/><path class="cls-1" d="M2.2,7H14.4a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H2.2a.5.5,0,0,0-.5.5A.5.5,0,0,0,2.2,7Z"/><path class="cls-1" d="M4.8,9a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.5h7.1a.6.6,0,0,0,.5-.5.5.5,0,0,0-.5-.5Z"/><path class="cls-1" d="M14.4,12.1H2.2a.5.5,0,0,0-.5.5.6.6,0,0,0,.5.5H14.4a.6.6,0,0,0,.5-.5A.5.5,0,0,0,14.4,12.1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-chart.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M13.1,8.1a.5.5,0,0,0-.5.5A5.3,5.3,0,1,1,7.4,3.3a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5,6.3,6.3,0,1,0,6.2,6.3A.5.5,0,0,0,13.1,8.1Z"/><path class="cls-1" d="M9.5,1a.5.5,0,0,0-.5.5v5a.5.5,0,0,0,.5.5h5a.5.5,0,0,0,.5-.5A5.5,5.5,0,0,0,9.5,1ZM10,6V2a4.7,4.7,0,0,1,4,4Z"/></svg>
|
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M8,5.9a1,1,0,0,0-1,1,.9.9,0,0,0,1,1,.9.9,0,0,0,1-1A1,1,0,0,0,8,5.9Z"/><path class="cls-1" d="M4,5.9a1,1,0,0,0-1,1,.9.9,0,0,0,1,1,.9.9,0,0,0,1-1A1,1,0,0,0,4,5.9Z"/><path class="cls-1" d="M12,5.9a1,1,0,0,0-1,1,1,1,0,0,0,2,0A1,1,0,0,0,12,5.9Z"/><path class="cls-1" d="M13.2,1.6H2.8A1.5,1.5,0,0,0,1.3,3.1v7.7a1.5,1.5,0,0,0,1.5,1.5H3.9v2.2c0,.2.1.4.3.4h.5l4.1-2.6h4.4a1.5,1.5,0,0,0,1.5-1.5V3.1A1.5,1.5,0,0,0,13.2,1.6Zm.5,9.2a.5.5,0,0,1-.5.5H8.4L4.9,13.6V11.8a.5.5,0,0,0-.5-.5H2.8a.5.5,0,0,1-.5-.5V3.1a.5.5,0,0,1,.5-.5H13.2a.5.5,0,0,1,.5.5Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-check.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><polygon class="cls-1" points="13.1 4.7 7.2 10.3 3.8 7 3.1 7.7 7.2 11.7 13.8 5.4 13.1 4.7"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-circle-check.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><polygon class="cls-1" points="11.8 5.5 7.1 9.9 4.4 7.3 3.7 8 7.1 11.3 12.5 6.2 11.8 5.5"/><path class="cls-1" d="M8,1A7,7,0,0,0,1,8a7,7,0,0,0,7,7,7,7,0,0,0,7-7A7,7,0,0,0,8,1ZM8,14a6,6,0,1,1,6-6A6,6,0,0,1,8,14Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-circle-close.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M8,1a7,7,0,1,0,7,7A7,7,0,0,0,8,1ZM8,14a6,6,0,1,1,6-6A6,6,0,0,1,8,14Z"/><path class="cls-1" d="M10.9,5.1h-.8L8,7.3,5.9,5.1H5.1a1.1,1.1,0,0,0,0,.8L7.3,8,5.1,10.1a1.1,1.1,0,0,0,0,.8h.8L8,8.7l2.1,2.2h.8a1.1,1.1,0,0,0,0-.8L8.7,8l2.2-2.1A1.1,1.1,0,0,0,10.9,5.1Z"/></svg>
|
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M9.3,8.2a1,1,0,0,1-.5.8l.8.8.6-.8Zm-2.6.2L5.6,7.2V8A2.3,2.3,0,0,0,8,10.3h.6l-1.1-1A2,2,0,0,1,6.7,8.4ZM8,1A2.5,2.5,0,0,0,5.6,3L6.7,4V3.3A1.3,1.3,0,0,1,8,2,1.3,1.3,0,0,1,9.4,3.3V6.8l1.1,1.1V3.3A2.4,2.4,0,0,0,8,1ZM5.6,4.4V5.8L6.7,6.9V5.5Z"/><path class="cls-1" d="M11.1,14.5a.6.6,0,0,1-.6.5h-5a.5.5,0,1,1,0-1h2V12.6A4.8,4.8,0,0,1,3,8V6.8a.5.5,0,0,1,.5-.5.6.6,0,0,1,.6.5V8A3.8,3.8,0,0,0,8,11.7a4.7,4.7,0,0,0,1.7-.4l.7.7a4.2,4.2,0,0,1-1.9.6V14h2A.6.6,0,0,1,11.1,14.5Z"/><path class="cls-1" d="M11.2,10l.8.8-.7.7-.8-.7A2.7,2.7,0,0,0,11.2,10Z"/><path class="cls-1" d="M13,6.8V8a4.1,4.1,0,0,1-.5,1.9l-.8-.8A3.6,3.6,0,0,0,11.9,8V6.8a.6.6,0,0,1,.6-.5A.5.5,0,0,1,13,6.8Z"/><path class="cls-1" d="M14.8,14.4h-.6l-2.9-2.9-.8-.7-.9-1L8.8,9,6.7,6.9,5.6,5.8,2.2,2.3a.5.5,0,0,1,0-.7c0-.1.2-.1.3-.1s.3,0,.3.1L5.6,4.4,6.7,5.5,9.3,8.2l.9.8,1,1,.8.8,2.8,2.9A.5.5,0,0,1,14.8,14.4Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-close.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M8.7,8l3.2-3.2a.5.5,0,1,0-.7-.7L8,7.3,4.8,4.1a.5.5,0,1,0-.7.7L7.3,8,4.1,11.2a.5.5,0,0,0,0,.7h.7L8,8.7l3.2,3.2h.7a.5.5,0,0,0,0-.7Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-cloud-storage.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M9.5,9h-3a.5.5,0,0,0-.5.5v4a.5.5,0,0,0,.5.5h3a.5.5,0,0,0,.5-.5v-4A.5.5,0,0,0,9.5,9ZM9,10v1H7V10ZM7,13V12H9v1Z"/><path class="cls-2" d="M4.6,7c.5,0,.5-.6.4-1,0-3.9,6-3.9,6,0,0,.3-.1.6.1.8l.4.2a2.5,2.5,0,0,1,.4,5,.5.5,0,0,0,.2,1A3.6,3.6,0,0,0,12,6C12,.7,4.1.7,4,6c-3.9.5-4,6.3-.1,7a.5.5,0,0,0,.2-1,2.5,2.5,0,0,1,.4-5"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-cloud.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M11.5,13h-7A3.5,3.5,0,0,1,4,6H4a4,4,0,0,1,8,0h0a3.5,3.5,0,0,1-.5,7Zm-7-6c-3.3,0-3.3,5,0,5h7a2.5,2.5,0,0,0,0-5c-.4.1-.6-.2-.5-.6.5-4.1-6-4.6-6-.4.1.4.1,1-.4,1m-.1-.5Z"/></svg>
|
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>首页</title>
|
||||
<defs>
|
||||
<polygon id="path-1" points="0 1.94099479e-15 0 13.9863244 13.9853 13.9863244 13.9853 0"></polygon>
|
||||
</defs>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="1.11编码管理-编码方案列表-操作编辑" transform="translate(-809.000000, -497.000000)">
|
||||
<g id="编组" transform="translate(277.000000, 299.000000)">
|
||||
<g id="编组-2" transform="translate(463.000000, 159.000000)">
|
||||
<g id="首页" transform="translate(69.000000, 39.000000)">
|
||||
<rect id="矩形" fill="#333333" fill-rule="nonzero" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="Group-9" opacity="0.449999988">
|
||||
<rect id="Rectangle-3" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="info-cirlce-o" transform="translate(1.001024, 1.013659)">
|
||||
<g id="Group-3">
|
||||
<mask id="mask-2" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
<g id="Clip-2"></g>
|
||||
<path d="M6.99218049,0 C3.12949512,0 -0.00102439024,3.13051951 -0.00102439024,6.99320488 C-0.00102439024,10.8558049 3.12949512,13.9863244 6.99218049,13.9863244 C10.8547805,13.9863244 13.9853,10.8558049 13.9853,6.99320488 C13.9853,3.13051951 10.8547805,0 6.99218049,0 Z M11.2413171,11.2423415 C10.6895122,11.7941634 10.0461951,12.2284537 9.33047073,12.5303756 C8.59017805,12.8444878 7.80348049,13.002961 6.99218049,13.002961 C6.18079512,13.002961 5.39409756,12.8444878 4.65382195,12.5317073 C3.93808049,12.2284537 3.29616341,11.7954951 2.74295854,11.2436902 C2.19113659,10.6918683 1.75684634,10.0485683 1.45499268,9.33289512 C1.1408122,8.59120244 0.98242439,7.80450488 0.98242439,6.99320488 C0.98242439,6.18181951 1.1408122,5.39512195 1.45359268,4.65484634 C1.75684634,3.93910488 2.18980488,3.2971878 2.74162683,2.74398293 C3.29343171,2.19216098 3.93674878,1.75787073 4.65242195,1.45601707 C5.39409756,1.14183659 6.18079512,0.98344878 6.99218049,0.98344878 C7.80348049,0.98344878 8.59017805,1.14183659 9.33047073,1.45461707 C10.0461951,1.75787073 10.6881122,2.19082927 11.2413171,2.74265122 C11.793139,3.2944561 12.2274293,3.93777317 12.5293512,4.65344634 C12.8434634,5.39512195 13.0019366,6.18181951 13.0019366,6.99320488 C13.0019366,7.80450488 12.8434634,8.59120244 12.5306829,9.33149512 C12.2274293,10.0472195 11.7944707,10.6905366 11.2413171,11.2423415 Z" id="Fill-1" fill="#333333" mask="url(#mask-2)"></path>
|
||||
</g>
|
||||
<path d="M7.35897561,9.11834146 L7.62297561,4.36634146 L7.64697561,3.01034146 L6.35097561,3.01034146 L6.37497561,4.36634146 L6.65097561,9.11834146 L7.35897561,9.11834146 Z M6.99897561,11.7743415 C7.49097561,11.7743415 7.91097561,11.4383415 7.91097561,10.8743415 C7.91097561,10.3343415 7.49097561,9.98634146 6.99897561,9.98634146 C6.50697561,9.98634146 6.08697561,10.3343415 6.08697561,10.8743415 C6.08697561,11.4383415 6.50697561,11.7743415 6.99897561,11.7743415 Z" id="!" fill="#333333" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.6 KiB |
29
packages/icpx-file/src/assets/ICP/icp-code-alert-enable.svg
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>首页</title>
|
||||
<defs>
|
||||
<polygon id="path-1" points="0 1.94099479e-15 0 13.9863244 13.9853 13.9863244 13.9853 0"></polygon>
|
||||
</defs>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="1.11编码管理-编码方案列表-操作编辑" transform="translate(-932.000000, -497.000000)">
|
||||
<g id="编组" transform="translate(277.000000, 299.000000)">
|
||||
<g id="编组-2" transform="translate(463.000000, 159.000000)">
|
||||
<g id="首页" transform="translate(192.000000, 39.000000)">
|
||||
<rect id="矩形" fill="#3979F9" fill-rule="nonzero" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="Group-9">
|
||||
<rect id="Rectangle-3" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="Group-3" transform="translate(1.001024, 1.013659)">
|
||||
<mask id="mask-2" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
<g id="Clip-2"></g>
|
||||
<path d="M6.99218049,0 C3.12949512,0 -0.00102439024,3.13051951 -0.00102439024,6.99320488 C-0.00102439024,10.8558049 3.12949512,13.9863244 6.99218049,13.9863244 C10.8547805,13.9863244 13.9853,10.8558049 13.9853,6.99320488 C13.9853,3.13051951 10.8547805,0 6.99218049,0 Z M11.2413171,11.2423415 C10.6895122,11.7941634 10.0461951,12.2284537 9.33047073,12.5303756 C8.59017805,12.8444878 7.80348049,13.002961 6.99218049,13.002961 C6.18079512,13.002961 5.39409756,12.8444878 4.65382195,12.5317073 C3.93808049,12.2284537 3.29616341,11.7954951 2.74295854,11.2436902 C2.19113659,10.6918683 1.75684634,10.0485683 1.45499268,9.33289512 C1.1408122,8.59120244 0.98242439,7.80450488 0.98242439,6.99320488 C0.98242439,6.18181951 1.1408122,5.39512195 1.45359268,4.65484634 C1.75684634,3.93910488 2.18980488,3.2971878 2.74162683,2.74398293 C3.29343171,2.19216098 3.93674878,1.75787073 4.65242195,1.45601707 C5.39409756,1.14183659 6.18079512,0.98344878 6.99218049,0.98344878 C7.80348049,0.98344878 8.59017805,1.14183659 9.33047073,1.45461707 C10.0461951,1.75787073 10.6881122,2.19082927 11.2413171,2.74265122 C11.793139,3.2944561 12.2274293,3.93777317 12.5293512,4.65344634 C12.8434634,5.39512195 13.0019366,6.18181951 13.0019366,6.99320488 C13.0019366,7.80450488 12.8434634,8.59120244 12.5306829,9.33149512 C12.2274293,10.0472195 11.7944707,10.6905366 11.2413171,11.2423415 Z" id="Fill-1" fill="#3979F9" mask="url(#mask-2)"></path>
|
||||
</g>
|
||||
<path d="M8.36,10.132 L8.624,5.38 L8.648,4.024 L7.352,4.024 L7.376,5.38 L7.652,10.132 L8.36,10.132 Z M8,12.788 C8.492,12.788 8.912,12.452 8.912,11.888 C8.912,11.348 8.492,11 8,11 C7.508,11 7.088,11.348 7.088,11.888 C7.088,12.452 7.508,12.788 8,12.788 Z" id="!" fill="#3979F9" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.2 KiB |
17
packages/icpx-file/src/assets/ICP/icp-code-import.svg
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="26px" height="23px" viewBox="0 0 26 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>编组</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="导航-后台-帮助中心管理-新增子级" transform="translate(-489.000000, -491.000000)" fill="#3979F9" fill-rule="nonzero">
|
||||
<g id="编组-3" transform="translate(277.000000, 39.000000)">
|
||||
<g id="编组-9" transform="translate(24.000000, 390.000000)">
|
||||
<g id="编组-2" transform="translate(32.000000, 38.000000)">
|
||||
<g id="编组" transform="translate(156.000000, 24.000000)">
|
||||
<path d="M24.9166667,12.9374214 C25.5149751,12.9374214 26,13.4201182 26,14.0155548 L26,21.9218666 C26,22.4606254 25.6003274,22.9166663 25.064,22.9899374 L24.9166667,23 L1.08333333,23 C0.485024854,23 0,22.5173032 0,21.9218666 L0,14.0155548 C0,13.4201182 0.485024854,12.9374214 1.08333333,12.9374214 C1.68164181,12.9374214 2.16666667,13.4201182 2.16666667,14.0155548 L2.16666667,20.8422957 L23.8333333,20.8437332 L23.8333333,14.0155548 C23.8333333,13.4201182 24.3183582,12.9374214 24.9166667,12.9374214 L24.9166667,12.9374214 Z M13.3885555,0.13207134 L13.4824445,0.218322014 L20.0228889,7.35412776 C20.152581,7.49884313 20.2236216,7.68635083 20.2222622,7.88025687 C20.2222622,8.24538471 19.981,8.55013711 19.6632222,8.61338759 L19.5404445,8.62488771 L15.1666667,8.62488771 L15.1666667,14.3749326 C15.1666667,14.5655585 15.0905756,14.7483768 14.9551327,14.8831696 C14.8196898,15.0179624 14.6359897,15.0936882 14.4444445,15.0936882 L11.5555555,15.0936882 C11.3640103,15.0936882 11.1803102,15.0179624 11.0448673,14.8831696 C10.9094244,14.7483768 10.8333333,14.5655585 10.8333333,14.3749326 L10.8333333,8.62488771 L6.45955554,8.62488771 C6.3138311,8.62395929 6.17274864,8.57377833 6.05944446,8.4825741 L5.97711112,8.40638598 C5.74821486,8.14635382 5.71324588,7.76934159 5.89044446,7.47200369 L5.97711112,7.35412776 L12.5175555,0.218322014 C12.7544444,-0.0404300081 13.1213333,-0.0691802215 13.3885555,0.13207134 L13.3885555,0.13207134 Z" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
12
packages/icpx-file/src/assets/ICP/icp-code-left.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>code</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图组件" transform="translate(-845.000000, -2764.000000)" fill="#666666" fill-rule="nonzero">
|
||||
<g id="code" transform="translate(845.000000, 2764.000000)">
|
||||
<rect id="矩形" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M7,14 L10.9928283,4.02467993 C10.9964142,4.01696745 10.9982071,4.00771248 11,4 L7,14 Z M10.8714286,3 L9.8,3 C9.74603175,3 9.6968254,3.03517953 9.67936508,3.08634976 L6.00634921,13.8304986 C6.0015873,13.8432912 6,13.8576828 6,13.8720744 C6,13.9424335 6.05714286,14 6.12698413,14 L7.2031746,14 C7.25714286,14 7.30634921,13.9648205 7.32380952,13.9136502 L7.33492063,13.8800698 L10.8761905,3.51330135 L10.9936508,3.17110045 C10.9984127,3.15830789 11,3.14391627 11,3.12952464 C10.9984127,3.05756651 10.9428571,3 10.8714286,3 L10.8714286,3 Z M14.9425201,8.8398531 C14.9290759,8.82368866 14.9139511,8.80914067 14.8971458,8.79620912 L11.2167882,6.02724153 C11.1579697,5.98359756 11.0739433,5.99329622 11.028569,6.04987174 C11.0100832,6.07250194 11,6.09998148 11,6.12907746 L11,7.44324597 C11,7.48365706 11.0184858,7.52083526 11.0520964,7.54508191 L12.9847043,8.99988099 L11.0520964,10.4546801 C11.0201663,10.4789267 11,10.5161049 11,10.556516 L11,11.8706845 C11,11.941808 11.060499,12 11.1344423,12 C11.1646918,12 11.1932608,11.9903013 11.2167882,11.9725205 L14.8971458,9.20355287 C15.0131023,9.11626492 15.0349492,8.95300414 14.9425201,8.8398531 L14.9425201,8.8398531 Z M4.78317322,6.02724153 L1.10216047,8.79620912 C1.08535219,8.80914067 1.07022474,8.82368866 1.05677812,8.8398531 C0.966013419,8.95300414 0.986183352,9.11464848 1.10216047,9.20355287 L4.78317322,11.9725205 C4.80670481,11.9903013 4.83527888,12 4.86553378,12 C4.9394902,12 5,11.941808 5,11.8706845 L5,10.556516 C5,10.5161049 4.98151089,10.4789267 4.94789434,10.4546801 L3.01494244,8.99988099 L4.94789434,7.54508191 C4.97983007,7.52083526 5,7.48365706 5,7.44324597 L5,6.12907746 C5,6.09998148 4.98991503,6.07250194 4.97142593,6.04987174 C4.92604358,5.99329622 4.84200219,5.98359756 4.78317322,6.02724153 L4.78317322,6.02724153 Z" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
14
packages/icpx-file/src/assets/ICP/icp-code-top.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>编组 34备份</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图组件" transform="translate(-1086.000000, -460.000000)">
|
||||
<g id="icon/通用/16px/文件夹打开" transform="translate(1086.000000, 460.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="编组" transform="translate(1.000000, 2.000000)" fill="#4E5A70" fill-rule="nonzero">
|
||||
<path d="M13.2497778,0 C13.664,0 14,0.310175055 14,0.692560172 L14,11.3074398 C14,11.6899302 13.6641141,12 13.2497778,12 L0.750222219,12 C0.336232814,12 0.000490509734,11.6904303 0,11.3082604 L0,0.692560172 C0,0.310175055 0.336,0 0.750222219,0 L13.2497778,0 Z M8.19333355,4.23008708 C7.93364255,4.13594843 7.64679313,4.27003285 7.55244466,4.52966311 L5.55244466,10.0295947 C5.48200992,10.1995822 5.51052646,10.394513 5.62670214,10.5371974 C5.74287783,10.6798818 5.92797421,10.7473056 6.10869581,10.71277 C6.2894174,10.6782344 6.4366149,10.5473098 6.49200022,10.3718404 L8.49200022,4.87101978 C8.58563575,4.61182404 8.45211909,4.32569735 8.19333355,4.23097602 L8.19333355,4.23008708 Z M3.62622269,4.86568651 L1.65022269,7.06317009 C1.47960127,7.25333439 1.47960127,7.54149596 1.65022269,7.73166025 L3.62622269,9.93003279 C3.74562879,10.0627859 3.92678267,10.1217481 4.10144541,10.0847088 C4.27610815,10.0476696 4.41774433,9.92025607 4.47300097,9.75046374 C4.52825761,9.5806714 4.48873991,9.39429573 4.3693338,9.26154264 L2.69466715,7.39830413 L4.3693338,5.53506561 C4.49742371,5.4036584 4.54332753,5.21268219 4.48895211,5.03741088 C4.43457668,4.86213957 4.28864367,4.73068613 4.10867305,4.69486338 C3.92870244,4.65904063 3.74356094,4.72459442 3.62622269,4.86568651 Z M10.0057782,4.70034229 L9.91866705,4.71100967 C9.74397841,4.74834159 9.60243241,4.87596312 9.54726515,5.04587523 C9.4920979,5.21578733 9.53167506,5.40222418 9.65111148,5.53506602 L11.3257782,7.39830455 L9.65022259,9.26154306 C9.52266714,9.393183 9.47727913,9.58402866 9.53191358,9.75900398 C9.58654802,9.9339793 9.73246223,10.0650844 9.91225555,10.1007444 C10.0920489,10.1364044 10.2769505,10.0709128 10.3942226,9.9300332 L12.3693337,7.73166067 C12.5403634,7.5416529 12.5403634,7.25317827 12.3693337,7.06317051 L10.3942226,4.86568692 C10.2746708,4.73294011 10.0934288,4.6739901 9.91866705,4.71100967 L10.0057782,4.70034229 Z M13,1.00006838 L1,1.00006838 L1,3.00006838 L13,3.00006838 L13,1.00006838 Z" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
14
packages/icpx-file/src/assets/ICP/icp-code.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>编组 34</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图组件" transform="translate(-1144.000000, -461.000000)">
|
||||
<g id="编组" transform="translate(1144.000000, 461.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<g transform="translate(1.000000, 2.000000)" fill="#4E5A70" fill-rule="nonzero" id="形状">
|
||||
<path d="M13.2497778,0 C13.664,0 14,0.310175055 14,0.692560172 L14,11.3074398 C14,11.6899302 13.6641141,12 13.2497778,12 L0.750222219,12 C0.336232814,12 0.000490509734,11.6904303 0,11.3082604 L0,0.692560172 C0,0.310175055 0.336,0 0.750222219,0 L13.2497778,0 Z M8.19333355,2.73008708 C7.93364255,2.63594843 7.64679313,2.77003285 7.55244466,3.02966311 L5.55244466,8.52959474 C5.48200992,8.69958221 5.51052646,8.89451302 5.62670214,9.03719741 C5.74287783,9.1798818 5.92797421,9.24730562 6.10869581,9.21277002 C6.2894174,9.17823442 6.4366149,9.04730978 6.49200022,8.87184036 L8.49200022,3.37101978 C8.58563575,3.11182404 8.45211909,2.82569735 8.19333355,2.73097602 L8.19333355,2.73008708 Z M3.62622269,3.36568651 L1.65022269,5.56317009 C1.47960127,5.75333439 1.47960127,6.04149596 1.65022269,6.23166025 L3.62622269,8.43003279 C3.74562879,8.56278589 3.92678267,8.62174805 4.10144541,8.58470881 C4.27610815,8.54766958 4.41774433,8.42025607 4.47300097,8.25046374 C4.52825761,8.0806714 4.48873991,7.89429573 4.3693338,7.76154264 L2.69466715,5.89830413 L4.3693338,4.03506561 C4.49742371,3.9036584 4.54332753,3.71268219 4.48895211,3.53741088 C4.43457668,3.36213957 4.28864367,3.23068613 4.10867305,3.19486338 C3.92870244,3.15904063 3.74356094,3.22459442 3.62622269,3.36568651 Z M10.0057782,3.20034229 L9.91866705,3.21100967 C9.74397841,3.24834159 9.60243241,3.37596312 9.54726515,3.54587523 C9.4920979,3.71578733 9.53167506,3.90222418 9.65111148,4.03506602 L11.3257782,5.89830455 L9.65022259,7.76154306 C9.52266714,7.893183 9.47727913,8.08402866 9.53191358,8.25900398 C9.58654802,8.4339793 9.73246223,8.56508442 9.91225555,8.60074438 C10.0920489,8.63640435 10.2769505,8.5709128 10.3942226,8.4300332 L12.3693337,6.23166067 C12.5403634,6.0416529 12.5403634,5.75317827 12.3693337,5.56317051 L10.3942226,3.36568692 C10.2746708,3.23294011 10.0934288,3.1739901 9.91866705,3.21100967 L10.0057782,3.20034229 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
1
packages/icpx-file/src/assets/ICP/icp-collection-tag.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M11.5,1h-8a.5.5,0,0,0-.5.5v13a.5.5,0,0,0,.3.5h.5l3.8-3.6,3.5,3.6h.6a.5.5,0,0,0,.3-.5V1.5A.5.5,0,0,0,11.5,1ZM11,13.3,7.9,10.2a.5.5,0,0,0-.7,0L4,13.3V2h7Z"/><path class="cls-1" d="M5.5,5h4a.5.5,0,0,0,.5-.5A.5.5,0,0,0,9.5,4h-4a.5.5,0,0,0-.5.5A.5.5,0,0,0,5.5,5Z"/><path class="cls-1" d="M5.5,8H9.6a.5.5,0,1,0,0-1H5.5a.5.5,0,0,0,0,1Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-collection.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M15,6.3c-.1-.2-.2-.3-.4-.3l-4.3-.7L8.4,1.2a.5.5,0,0,0-.8,0L5.7,5.3,1.4,6c-.2,0-.3.1-.4.3a.9.9,0,0,0,.1.5L4.2,10l-.7,4.5a.4.4,0,0,0,.2.4h.5L8,12.8l3.8,2.1h.5a.4.4,0,0,0,.2-.4L11.8,10l3.1-3.2A.9.9,0,0,0,15,6.3ZM10.9,9.5c-.1.1-.1.2-.1.4l.6,3.8L8.2,11.9H7.8L4.6,13.7l.6-3.8c0-.2,0-.3-.1-.4L2.4,6.8l3.7-.6L6.4,6,8,2.5,9.6,6l.3.2,3.7.6Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-colour.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M12.9,8,7.8,2.9h0L6.1,1.1a.9.9,0,0,0-.7,0,.6.6,0,0,0,0,.8L6.8,3.3,1.4,8.7A1.5,1.5,0,0,0,1,9.8H1a.4.4,0,0,0,.1.3l.3.5,3.8,3.9a1.2,1.2,0,0,0,1,.4,1.1,1.1,0,0,0,.9-.4l5.8-5.9A.9.9,0,0,0,12.9,8ZM6.4,13.9H5.9L2.5,10.4H9.8Zm4.4-4.5H2.1L7.5,4h.1l4.2,4.4Z"/><path class="cls-1" d="M14.9,10.5h0L14,9l-.8,1.5a.8.8,0,0,0-.2.5,1,1,0,0,0,2,0C15,10.8,14.9,10.7,14.9,10.5Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-compare.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><polygon class="cls-1" points="1.1 14.5 6.1 14.5 6.1 13.5 2.1 13.5 2.1 2.5 6.1 2.5 6.1 1.5 1.1 1.5 1.1 14.5"/><rect class="cls-1" x="10.1" y="1.5" width="1" height="1"/><rect class="cls-1" x="12.1" y="1.5" width="1" height="1"/><rect class="cls-1" x="14.1" y="1.5" width="1" height="1"/><rect class="cls-1" x="14.1" y="3.5" width="1" height="1"/><rect class="cls-1" x="14.1" y="5.5" width="1" height="1"/><rect class="cls-1" x="14.1" y="7.5" width="1" height="1"/><rect class="cls-1" x="14.1" y="9.5" width="1" height="1"/><rect class="cls-1" x="14.1" y="11.5" width="1" height="1"/><rect class="cls-1" x="14.1" y="13.5" width="1" height="1"/><rect class="cls-1" x="12.1" y="13.5" width="1" height="1"/><rect class="cls-1" x="10.1" y="13.5" width="1" height="1"/><rect class="cls-1" x="7.6" y="1.7" width="1" height="12.94"/></svg>
|
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M15,8h0L13,2.3a.7.7,0,0,0-.5-.4h-9a.7.7,0,0,0-.5.4L1,7.9H1v4.3A1.6,1.6,0,0,0,2.5,14h11A1.6,1.6,0,0,0,15,12.4V8.1ZM3.8,2.9h8.4l1.7,4.7H9.7l-.3.2a.5.5,0,0,0-.2.4c.1,0,.1.1.1.2A1.4,1.4,0,0,1,7.9,9.8,1.3,1.3,0,0,1,6.6,8.4V8.2c0-.2,0-.3-.1-.4l-.3-.2H2.1Zm10.3,9.5a.6.6,0,0,1-.6.6H2.5a.6.6,0,0,1-.6-.6V8.6H5.7a2.3,2.3,0,0,0,2.2,2.2,2.3,2.3,0,0,0,2.3-2.2h3.9Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-coordinate.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M12,10.5H9.6V8a3.4,3.4,0,0,0,1.9-3A3.5,3.5,0,0,0,8,1.5,3.5,3.5,0,0,0,4.5,5a3.5,3.5,0,0,0,2,3.1v2.4H4A2.5,2.5,0,0,0,1.5,13v1a.5.5,0,0,0,.5.5H14a.5.5,0,0,0,.5-.5V13A2.5,2.5,0,0,0,12,10.5Zm1.5,3H2.5V13A1.5,1.5,0,0,1,4,11.5H7a.5.5,0,0,0,.5-.5V7.7c0-.2-.1-.4-.3-.4A2.6,2.6,0,0,1,5.5,5a2.5,2.5,0,0,1,5,0A2.6,2.6,0,0,1,8.9,7.3c-.2,0-.3.2-.3.4V11a.5.5,0,0,0,.5.5H12A1.5,1.5,0,0,1,13.5,13Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-copy.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M14.7,8.7h-.2a.5.5,0,0,0-.5.5c0,.2.1.4.3.4h.2a.5.5,0,0,0,.5-.5c0-.2-.1-.3-.1-.4Z"/><path class="cls-1" d="M14.5,10.5h-.2c-.2,0-.3.2-.3.4v1.2a.9.9,0,0,1-.6.8H3a1.1,1.1,0,0,1-.9-.5.8.8,0,0,1-.1-.4V3.8c0-.2.1-.3.2-.5L2.6,3H6.5L7.8,5H13a.9.9,0,0,1,.7.3.9.9,0,0,1,.3.6V7.3c0,.1.1.3.2.3l.3.2h0a.5.5,0,0,0,.5-.5h0V6.1a1.9,1.9,0,0,0-1.7-1.8H8.5L7.2,2.2A.4.4,0,0,0,6.8,2H2.5l-.6.2-.3.2A1.8,1.8,0,0,0,1,3.9v8.2a1.5,1.5,0,0,0,.1.7l.2.2c0,.1,0,.2.1.2A1.8,1.8,0,0,0,3,14H13.8A2,2,0,0,0,15,12.1V11h0A.5.5,0,0,0,14.5,10.5Z"/><path class="cls-1" d="M9,11.7h.7l2.1-2h.1a.5.5,0,0,0,0-.7L9.7,7.1H9.6a.5.5,0,0,0-.6.1H9c-.2.2-.2.5,0,.6l.8.7.5.5H4.5a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.4h5.8L9,11A.5.5,0,0,0,9,11.7Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-cpu.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M10,4.8H6A1.2,1.2,0,0,0,4.8,6v4A1.2,1.2,0,0,0,6,11.2h4A1.2,1.2,0,0,0,11.2,10V6A1.2,1.2,0,0,0,10,4.8Zm.2,5.2-.2.2H6L5.8,10V6L6,5.8h4a.2.2,0,0,1,.2.2Z"/><path class="cls-1" d="M14.5,8.5a.5.5,0,0,0,0-1H13.3V6.2h1.2a.5.5,0,0,0,0-1H13.3V3.9a1.2,1.2,0,0,0-1.2-1.2H10.8V1.5a.5.5,0,0,0-1,0V2.7H8.5V1.5a.5.5,0,0,0-1,0V2.7H6.2V1.5a.5.5,0,0,0-1,0V2.7H3.9A1.2,1.2,0,0,0,2.7,3.9V5.2H1.5a.5.5,0,0,0,0,1H2.7V7.5H1.5a.5.5,0,0,0,0,1H2.7V9.8H1.5a.5.5,0,0,0,0,1H2.7v1.3a1.2,1.2,0,0,0,1.2,1.2H5.2v1.2a.5.5,0,0,0,1,0V13.3H7.5v1.2a.5.5,0,0,0,1,0V13.3H9.8v1.2a.5.5,0,0,0,1,0V13.3h1.3a1.2,1.2,0,0,0,1.2-1.2V10.8h1.2a.5.5,0,0,0,0-1H13.3V8.5Zm-2.2,3.6-.2.2H3.9a.2.2,0,0,1-.2-.2V3.9a.2.2,0,0,1,.2-.2h8.2a.2.2,0,0,1,.2.2Z"/></svg>
|
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M10.5,6a4.4,4.4,0,0,0-4.4,4H4.5A1.5,1.5,0,0,1,3,8.5V3H9.1a1.4,1.4,0,0,0,1.4,1A1.5,1.5,0,0,0,12,2.5,1.5,1.5,0,0,0,10.5,1,1.4,1.4,0,0,0,9.1,2H1.5a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.5H2V8.5A2.5,2.5,0,0,0,4.5,11H6.1a4.5,4.5,0,1,0,4.4-5Zm0-4a.5.5,0,0,1,.5.5.5.5,0,0,1-1,0A.5.5,0,0,1,10.5,2Zm0,12A3.5,3.5,0,1,1,14,10.5,3.5,3.5,0,0,1,10.5,14Z"/><path class="cls-1" d="M13,10.3v-.2l-2-2h-.8a1.1,1.1,0,0,0,0,.8L11.3,10H8.5a.5.5,0,0,0,0,1h2.8l-1.2,1.1a1.1,1.1,0,0,0,0,.8h.8l2-2v-.6Z"/></svg>
|
1
packages/icpx-file/src/assets/ICP/icp-cycle-time.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs></defs><path class="cls-1" d="M13.1,13.5H11.5V9a.7.7,0,0,0-.4-.5L9.5,8l1.6-.6a.4.4,0,0,0,.4-.4V2.5h1.6a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H3a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.5H4.5V7c0,.2.1.4.3.4L6.5,8l-1.7.5a.5.5,0,0,0-.3.5v4.5H3a.5.5,0,0,0,0,1H13.1a.5.5,0,1,0,0-1ZM5.5,2.5h5V6.6L8,7.4,5.5,6.6ZM8,8.5l2.5.9v1.1h-5V9.4Zm-2.5,3h5v2h-5Z"/></svg>
|