首次创建
This commit is contained in:
commit
2ada974f80
|
@ -0,0 +1,22 @@
|
|||
# 告诉EditorConfig插件,这是根文件,不用继续往上查找
|
||||
root = true
|
||||
|
||||
# 匹配全部文件
|
||||
[*]
|
||||
# 设置字符集
|
||||
charset = utf-8
|
||||
# 缩进风格,可选space、tab
|
||||
indent_style = space
|
||||
# 缩进的空格数
|
||||
indent_size = 2
|
||||
# 结尾换行符,可选lf、cr、crlf
|
||||
end_of_line = lf
|
||||
# 在文件结尾插入新行
|
||||
insert_final_newline = true
|
||||
# 删除一行中的前后空格
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# 匹配md结尾的文件
|
||||
[*.md]
|
||||
insert_final_newline = false
|
||||
trim_trailing_whitespace = false
|
|
@ -0,0 +1,11 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 用安数智中台
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 袋鼠数智中台/开发环境
|
||||
VUE_APP_BASE_API = '/'
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
|
@ -0,0 +1,8 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 用安数智中台
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 袋鼠数智中台/生产环境
|
||||
VUE_APP_BASE_API = '/prod-api'
|
|
@ -0,0 +1,10 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 用安数智中台
|
||||
|
||||
NODE_ENV = production
|
||||
|
||||
# 测试环境配置
|
||||
ENV = 'staging'
|
||||
|
||||
# 袋鼠数智中台/测试环境
|
||||
VUE_APP_BASE_API = '/'
|
|
@ -0,0 +1,10 @@
|
|||
# 忽略build目录下类型为js的文件的语法检查
|
||||
build/*.js
|
||||
# 忽略src/assets目录下文件的语法检查
|
||||
src/assets
|
||||
# 忽略public目录下文件的语法检查
|
||||
public
|
||||
# 忽略当前目录下为js的文件的语法检查
|
||||
*.js
|
||||
# 忽略当前目录下为vue的文件的语法检查
|
||||
*.vue
|
|
@ -0,0 +1,199 @@
|
|||
// ESlint 检查配置
|
||||
module.exports = {
|
||||
root: true,
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint',
|
||||
sourceType: 'module'
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
node: true,
|
||||
es6: true,
|
||||
},
|
||||
extends: ['plugin:vue/recommended', 'eslint:recommended'],
|
||||
|
||||
// add your custom rules here
|
||||
//it is base on https://github.com/vuejs/eslint-config-vue
|
||||
rules: {
|
||||
"vue/max-attributes-per-line": [2, {
|
||||
"singleline": 10,
|
||||
"multiline": {
|
||||
"max": 1,
|
||||
"allowFirstLine": false
|
||||
}
|
||||
}],
|
||||
"vue/singleline-html-element-content-newline": "off",
|
||||
"vue/multiline-html-element-content-newline":"off",
|
||||
"vue/name-property-casing": ["error", "PascalCase"],
|
||||
"vue/no-v-html": "off",
|
||||
'accessor-pairs': 2,
|
||||
'arrow-spacing': [2, {
|
||||
'before': true,
|
||||
'after': true
|
||||
}],
|
||||
'block-spacing': [2, 'always'],
|
||||
'brace-style': [2, '1tbs', {
|
||||
'allowSingleLine': true
|
||||
}],
|
||||
'camelcase': [0, {
|
||||
'properties': 'always'
|
||||
}],
|
||||
'comma-dangle': [2, 'never'],
|
||||
'comma-spacing': [2, {
|
||||
'before': false,
|
||||
'after': true
|
||||
}],
|
||||
'comma-style': [2, 'last'],
|
||||
'constructor-super': 2,
|
||||
'curly': [2, 'multi-line'],
|
||||
'dot-location': [2, 'property'],
|
||||
'eol-last': 2,
|
||||
'eqeqeq': ["error", "always", {"null": "ignore"}],
|
||||
'generator-star-spacing': [2, {
|
||||
'before': true,
|
||||
'after': true
|
||||
}],
|
||||
'handle-callback-err': [2, '^(err|error)$'],
|
||||
'indent': [2, 2, {
|
||||
'SwitchCase': 1
|
||||
}],
|
||||
'jsx-quotes': [2, 'prefer-single'],
|
||||
'key-spacing': [2, {
|
||||
'beforeColon': false,
|
||||
'afterColon': true
|
||||
}],
|
||||
'keyword-spacing': [2, {
|
||||
'before': true,
|
||||
'after': true
|
||||
}],
|
||||
'new-cap': [2, {
|
||||
'newIsCap': true,
|
||||
'capIsNew': false
|
||||
}],
|
||||
'new-parens': 2,
|
||||
'no-array-constructor': 2,
|
||||
'no-caller': 2,
|
||||
'no-console': 'off',
|
||||
'no-class-assign': 2,
|
||||
'no-cond-assign': 2,
|
||||
'no-const-assign': 2,
|
||||
'no-control-regex': 0,
|
||||
'no-delete-var': 2,
|
||||
'no-dupe-args': 2,
|
||||
'no-dupe-class-members': 2,
|
||||
'no-dupe-keys': 2,
|
||||
'no-duplicate-case': 2,
|
||||
'no-empty-character-class': 2,
|
||||
'no-empty-pattern': 2,
|
||||
'no-eval': 2,
|
||||
'no-ex-assign': 2,
|
||||
'no-extend-native': 2,
|
||||
'no-extra-bind': 2,
|
||||
'no-extra-boolean-cast': 2,
|
||||
'no-extra-parens': [2, 'functions'],
|
||||
'no-fallthrough': 2,
|
||||
'no-floating-decimal': 2,
|
||||
'no-func-assign': 2,
|
||||
'no-implied-eval': 2,
|
||||
'no-inner-declarations': [2, 'functions'],
|
||||
'no-invalid-regexp': 2,
|
||||
'no-irregular-whitespace': 2,
|
||||
'no-iterator': 2,
|
||||
'no-label-var': 2,
|
||||
'no-labels': [2, {
|
||||
'allowLoop': false,
|
||||
'allowSwitch': false
|
||||
}],
|
||||
'no-lone-blocks': 2,
|
||||
'no-mixed-spaces-and-tabs': 2,
|
||||
'no-multi-spaces': 2,
|
||||
'no-multi-str': 2,
|
||||
'no-multiple-empty-lines': [2, {
|
||||
'max': 1
|
||||
}],
|
||||
'no-native-reassign': 2,
|
||||
'no-negated-in-lhs': 2,
|
||||
'no-new-object': 2,
|
||||
'no-new-require': 2,
|
||||
'no-new-symbol': 2,
|
||||
'no-new-wrappers': 2,
|
||||
'no-obj-calls': 2,
|
||||
'no-octal': 2,
|
||||
'no-octal-escape': 2,
|
||||
'no-path-concat': 2,
|
||||
'no-proto': 2,
|
||||
'no-redeclare': 2,
|
||||
'no-regex-spaces': 2,
|
||||
'no-return-assign': [2, 'except-parens'],
|
||||
'no-self-assign': 2,
|
||||
'no-self-compare': 2,
|
||||
'no-sequences': 2,
|
||||
'no-shadow-restricted-names': 2,
|
||||
'no-spaced-func': 2,
|
||||
'no-sparse-arrays': 2,
|
||||
'no-this-before-super': 2,
|
||||
'no-throw-literal': 2,
|
||||
'no-trailing-spaces': 2,
|
||||
'no-undef': 2,
|
||||
'no-undef-init': 2,
|
||||
'no-unexpected-multiline': 2,
|
||||
'no-unmodified-loop-condition': 2,
|
||||
'no-unneeded-ternary': [2, {
|
||||
'defaultAssignment': false
|
||||
}],
|
||||
'no-unreachable': 2,
|
||||
'no-unsafe-finally': 2,
|
||||
'no-unused-vars': [2, {
|
||||
'vars': 'all',
|
||||
'args': 'none'
|
||||
}],
|
||||
'no-useless-call': 2,
|
||||
'no-useless-computed-key': 2,
|
||||
'no-useless-constructor': 2,
|
||||
'no-useless-escape': 0,
|
||||
'no-whitespace-before-property': 2,
|
||||
'no-with': 2,
|
||||
'one-var': [2, {
|
||||
'initialized': 'never'
|
||||
}],
|
||||
'operator-linebreak': [2, 'after', {
|
||||
'overrides': {
|
||||
'?': 'before',
|
||||
':': 'before'
|
||||
}
|
||||
}],
|
||||
'padded-blocks': [2, 'never'],
|
||||
'quotes': [2, 'single', {
|
||||
'avoidEscape': true,
|
||||
'allowTemplateLiterals': true
|
||||
}],
|
||||
'semi': [2, 'never'],
|
||||
'semi-spacing': [2, {
|
||||
'before': false,
|
||||
'after': true
|
||||
}],
|
||||
'space-before-blocks': [2, 'always'],
|
||||
'space-before-function-paren': [2, 'never'],
|
||||
'space-in-parens': [2, 'never'],
|
||||
'space-infix-ops': 2,
|
||||
'space-unary-ops': [2, {
|
||||
'words': true,
|
||||
'nonwords': false
|
||||
}],
|
||||
'spaced-comment': [2, 'always', {
|
||||
'markers': ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ',']
|
||||
}],
|
||||
'template-curly-spacing': [2, 'never'],
|
||||
'use-isnan': 2,
|
||||
'valid-typeof': 2,
|
||||
'wrap-iife': [2, 'any'],
|
||||
'yield-star-spacing': [2, 'both'],
|
||||
'yoda': [2, 'never'],
|
||||
'prefer-const': 2,
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
||||
'object-curly-spacing': [2, 'always', {
|
||||
objectsInObjects: false
|
||||
}],
|
||||
'array-bracket-spacing': [2, 'never']
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
.DS_Store
|
||||
node_modules/
|
||||
dist/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
**/*.log
|
||||
|
||||
tests/**/coverage/
|
||||
tests/e2e/reports
|
||||
selenium-debug.log
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.local
|
||||
|
||||
package-lock.json
|
||||
yarn.lock
|
|
@ -0,0 +1,30 @@
|
|||
## 开发
|
||||
|
||||
```bash
|
||||
# 克隆项目
|
||||
git clone https://gitee.com/y_project/RuoYi-Vue
|
||||
|
||||
# 进入项目目录
|
||||
cd ruoyi-ui
|
||||
|
||||
# 安装依赖
|
||||
npm install
|
||||
|
||||
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
|
||||
npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
# 启动服务
|
||||
npm run dev
|
||||
```
|
||||
|
||||
浏览器访问 http://localhost:80
|
||||
|
||||
## 发布
|
||||
|
||||
```bash
|
||||
# 构建测试环境
|
||||
npm run build:stage
|
||||
|
||||
# 构建生产环境
|
||||
npm run build:prod
|
||||
```
|
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
'env': {
|
||||
'development': {
|
||||
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
|
||||
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
|
||||
'plugins': ['dynamic-import-node']
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
echo.
|
||||
echo [信息] 打包Web工程,生成dist文件。
|
||||
echo.
|
||||
|
||||
%~d0
|
||||
cd %~dp0
|
||||
|
||||
cd ..
|
||||
npm run build:prod
|
||||
|
||||
pause
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
echo.
|
||||
echo [信息] 安装Web工程,生成node_modules文件。
|
||||
echo.
|
||||
|
||||
%~d0
|
||||
cd %~dp0
|
||||
|
||||
cd ..
|
||||
npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
pause
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
echo.
|
||||
echo [信息] 使用 Vue CLI 命令运行 Web 工程。
|
||||
echo.
|
||||
|
||||
%~d0
|
||||
cd %~dp0
|
||||
|
||||
cd ..
|
||||
npm run dev
|
||||
|
||||
pause
|
|
@ -0,0 +1,35 @@
|
|||
const { run } = require('runjs')
|
||||
const chalk = require('chalk')
|
||||
const config = require('../vue.config.js')
|
||||
const rawArgv = process.argv.slice(2)
|
||||
const args = rawArgv.join(' ')
|
||||
|
||||
if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
|
||||
const report = rawArgv.includes('--report')
|
||||
|
||||
run(`vue-cli-service build ${args}`)
|
||||
|
||||
const port = 9526
|
||||
const publicPath = config.publicPath
|
||||
|
||||
var connect = require('connect')
|
||||
var serveStatic = require('serve-static')
|
||||
const app = connect()
|
||||
|
||||
app.use(
|
||||
publicPath,
|
||||
serveStatic('./dist', {
|
||||
index: ['index.html', '/']
|
||||
})
|
||||
)
|
||||
|
||||
app.listen(port, function () {
|
||||
console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
|
||||
if (report) {
|
||||
console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
|
||||
}
|
||||
|
||||
})
|
||||
} else {
|
||||
run(`vue-cli-service build ${args}`)
|
||||
}
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"name": "ruoyi",
|
||||
"version": "3.8.3",
|
||||
"description": "用安数智中台",
|
||||
"author": "若依",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "vue-cli-service serve",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"build:stage": "vue-cli-service build --mode staging",
|
||||
"preview": "node build/index.js --preview",
|
||||
"lint": "eslint --ext .js,.vue src"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{js,vue}": [
|
||||
"eslint --fix",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"vue",
|
||||
"admin",
|
||||
"dashboard",
|
||||
"element-ui",
|
||||
"boilerplate",
|
||||
"admin-template",
|
||||
"management-system"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitee.com/y_project/RuoYi-Vue.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"-": "^0.0.1",
|
||||
"@babel/parser": "^7.7.4",
|
||||
"@riophae/vue-treeselect": "0.4.0",
|
||||
"axios": "0.24.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"clipboard": "2.0.8",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dayjs": "^1.11.9",
|
||||
"echarts": "4.9.0",
|
||||
"element-resize-detector": "^1.2.4",
|
||||
"element-ui": "2.15.10",
|
||||
"exec-mathexpress": "^1.0.15",
|
||||
"file-saver": "^2.0.5",
|
||||
"fish-crontab": "^0.1.5",
|
||||
"fuse.js": "6.4.3",
|
||||
"highlight.js": "9.18.5",
|
||||
"js-beautify": "1.13.0",
|
||||
"js-cookie": "3.0.1",
|
||||
"jsencrypt": "3.0.0-rc.1",
|
||||
"less": "^2.7.2",
|
||||
"less-loader": "^4.0.6",
|
||||
"nprogress": "0.2.0",
|
||||
"print-js": "^1.6.0",
|
||||
"quill": "1.3.7",
|
||||
"quill-image-resize-module": "^3.0.0",
|
||||
"screenfull": "5.0.2",
|
||||
"sortablejs": "^1.10.2",
|
||||
"throttle-debounce": "^2.1.0",
|
||||
"uuid": "^9.0.0",
|
||||
"vue": "2.6.12",
|
||||
"vue-color": "^2.8.1",
|
||||
"vue-count-to": "1.0.13",
|
||||
"vue-cropper": "0.5.5",
|
||||
"vue-json-editor": "^1.4.3",
|
||||
"vue-json-views": "^1.3.0",
|
||||
"vue-meta": "2.4.0",
|
||||
"vue-quill-editor": "^3.0.6",
|
||||
"vue-router": "3.4.9",
|
||||
"vuedraggable": "2.24.3",
|
||||
"vuex": "3.6.0",
|
||||
"xlsx": "^0.17.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "4.4.6",
|
||||
"@vue/cli-plugin-eslint": "4.4.6",
|
||||
"@vue/cli-service": "4.4.6",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-plugin-dynamic-import-node": "2.3.3",
|
||||
"chalk": "4.1.0",
|
||||
"compression-webpack-plugin": "5.0.2",
|
||||
"connect": "3.6.6",
|
||||
"eslint": "7.15.0",
|
||||
"eslint-plugin-vue": "7.2.0",
|
||||
"lint-staged": "10.5.3",
|
||||
"runjs": "4.4.2",
|
||||
"sass": "1.32.13",
|
||||
"sass-loader": "10.1.1",
|
||||
"script-ext-html-webpack-plugin": "2.1.5",
|
||||
"svg-sprite-loader": "5.1.1",
|
||||
"vue-template-compiler": "2.6.12"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.9",
|
||||
"npm": ">= 3.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": [
|
||||
{
|
||||
"columnId": "1090",
|
||||
"showType": "1",
|
||||
"showName": "预计采购总费用",
|
||||
"columnName": "planProcurementTotalMoney",
|
||||
"columnType": "Double",
|
||||
"fixedDownBoxValue": ""
|
||||
},
|
||||
{
|
||||
"columnId": "1092",
|
||||
"showType": "3",
|
||||
"showName": "采购类型",
|
||||
"columnName": "procurementType",
|
||||
"columnType": "String",
|
||||
"fixedDownBoxValue": "{\"1\":{\"key\":\"1\",\"value\":\"新开园区集中采购\",\"column\":\"\",\"type\":\"1\"}}"
|
||||
},
|
||||
{
|
||||
"columnId": "1093",
|
||||
"showType": "1",
|
||||
"showName": "园区面积",
|
||||
"columnName": "parkArea",
|
||||
"columnType": "Double",
|
||||
"fixedDownBoxValue": ""
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
export default {
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": [
|
||||
{
|
||||
//条件id columnId == 0 为发起人
|
||||
"columnId": "1090",
|
||||
//columnType == "String" && showType == "3"为多选 columnType == "Double"为区间
|
||||
"showType": "1",
|
||||
"showName": "预计采购总费用",
|
||||
//columnName 条件自定义字段
|
||||
"columnName": "planProcurementTotalMoney",
|
||||
"columnType": "Double",
|
||||
//fixedDownBoxValue 匹配 columnType == "String" && showType == "3"时子选项内容
|
||||
"fixedDownBoxValue": ""
|
||||
},
|
||||
{
|
||||
"columnId": "1092",
|
||||
"showType": "3",
|
||||
"showName": "采购类型",
|
||||
"columnName": "procurementType",
|
||||
"columnType": "String",
|
||||
"fixedDownBoxValue": "{\"1\":{\"key\":\"1\",\"value\":\"新开园区集中采购\",\"column\":\"\",\"type\":\"1\"}}"
|
||||
},
|
||||
{
|
||||
"columnId": "1093",
|
||||
"showType": "1",
|
||||
"showName": "园区面积",
|
||||
"columnName": "parkArea",
|
||||
"columnType": "Double",
|
||||
"fixedDownBoxValue": ""
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,
|
||||
"workFlowDef": {
|
||||
"name": "合同审批"
|
||||
},
|
||||
"directorMaxLevel": 4,
|
||||
"flowPermission": [],
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",
|
||||
"type": 0,
|
||||
"priorityLevel": "",
|
||||
"settype": "",
|
||||
"selectMode": "",
|
||||
"selectRange": "",
|
||||
"directorLevel": "",
|
||||
"examineMode": "",
|
||||
"noHanderAction": "",
|
||||
"examineEndDirectorLevel": "",
|
||||
"ccSelfSelectFlag": "",
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "路由",
|
||||
"type": 4,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": {
|
||||
"nodeName": "抄送人",
|
||||
"type": 2,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"childNode": null,
|
||||
"nodeUserList": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [{
|
||||
"nodeName": "条件1",
|
||||
"type": 3,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [{
|
||||
"columnId": 0,
|
||||
"type": 1,
|
||||
"conditionEn": "",
|
||||
"conditionCn": "",
|
||||
"optType": "",
|
||||
"zdy1": "",
|
||||
"zdy2": "",
|
||||
"opt1": "",
|
||||
"opt2": "",
|
||||
"columnDbname": "",
|
||||
"columnType": "",
|
||||
"showType": "",
|
||||
"showName": "",
|
||||
"fixedDownBoxValue": ""
|
||||
}],
|
||||
"nodeUserList": [{
|
||||
"targetId": 85,
|
||||
"type": 1,
|
||||
"name": "天旭"
|
||||
}],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"type": 1,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [{
|
||||
"targetId": 2515744,
|
||||
"type": 1,
|
||||
"name": "哈哈哈哈"
|
||||
}],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}, {
|
||||
"nodeName": "条件2",
|
||||
"type": 3,
|
||||
"priorityLevel": 2,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}]
|
||||
},
|
||||
"nodeUserList": []
|
||||
},
|
||||
"conditionNodes": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,137 @@
|
|||
export default {
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,//审批id
|
||||
"workFlowDef": {
|
||||
"name": "合同审批",//审批名称
|
||||
},
|
||||
"directorMaxLevel": 4,//审批主管最大层级
|
||||
"flowPermission": [],//发起人
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",//节点名称
|
||||
"type": 0,// 0 发起人 1审批 2抄送 3条件 4路由
|
||||
"priorityLevel": "",// 条件优先级
|
||||
"settype": "",// 审批人设置 1指定成员 2主管 4发起人自选 5发起人自己 7连续多级主管
|
||||
"selectMode": "", //审批人数 1选一个人 2选多个人
|
||||
"selectRange": "", //选择范围 1.全公司 2指定成员 2指定角色
|
||||
"directorLevel": "", //审批终点 最高层主管数
|
||||
"examineMode": "", //多人审批时采用的审批方式 1依次审批 2会签
|
||||
"noHanderAction": "",//审批人为空时 1自动审批通过/不允许发起 2转交给审核管理员
|
||||
"examineEndDirectorLevel": "", //审批终点 第n层主管
|
||||
"ccSelfSelectFlag": "", //允许发起人自选抄送人
|
||||
"conditionList": [], //当审批单同时满足以下条件时进入此流程
|
||||
"nodeUserList": [], //操作人
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false, //当前审批是否通过校验
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "路由",
|
||||
"type": 4,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": {
|
||||
"nodeName": "抄送人",
|
||||
"type": 2,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"childNode": null,
|
||||
"nodeUserList": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [{ //条件节点
|
||||
"nodeName": "条件1",
|
||||
"type": 3,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [{ //当前条件
|
||||
"columnId": 0, //发起人
|
||||
"type": 1, //1 发起人 2其他
|
||||
"optType": "", //["", "<", ">", "≤", "=", "≥"][optType]
|
||||
"zdy1": "",//左侧自定义内容
|
||||
"zdy2": "",//右侧自定义内容
|
||||
"opt1": "",//左侧符号 < ≤
|
||||
"opt2": "",//右侧符号 < ≤
|
||||
"columnDbname": "",//条件字段名称
|
||||
"columnType": "",//条件字段类型
|
||||
"showType": "",//3多选 其他
|
||||
"showName": "",//展示名
|
||||
"fixedDownBoxValue": ""//多选数组
|
||||
}],
|
||||
"nodeUserList": [{
|
||||
"targetId": 85,
|
||||
"type": 1,
|
||||
"name": "天旭"
|
||||
}],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"type": 1,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [{
|
||||
"targetId": 2515744,
|
||||
"type": 1,
|
||||
"name": "哈哈哈哈"
|
||||
}],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}, {
|
||||
"nodeName": "条件2",
|
||||
"type": 3,
|
||||
"priorityLevel": 2,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}]
|
||||
},
|
||||
"nodeUserList": []
|
||||
},
|
||||
"conditionNodes": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"issuccess": "true",
|
||||
"code": 0,
|
||||
"msg": "",
|
||||
"count": 2,
|
||||
"data": [{
|
||||
"P_PostID": null,
|
||||
"P_OrganID": 15,
|
||||
"P_PersonID": 6,
|
||||
"P_PersonCode": "1",
|
||||
"P_PersonName": "系统管理员",
|
||||
"o_OrganName": "浙江集智机电",
|
||||
"P_MoiblePhone": "123456",
|
||||
"ddk_DataDicKindName": null,
|
||||
"sex": "女",
|
||||
"P_Email": "",
|
||||
"P_Telphone": "",
|
||||
"ddd_DicDetailsName": null,
|
||||
"P_Isdelete": null,
|
||||
"BirthDay": "1996-04-19",
|
||||
"EntryTime": "2018-04-03",
|
||||
"CreatedTime": null,
|
||||
"isuser": "已分配",
|
||||
"ROWSTAT": null
|
||||
},
|
||||
{
|
||||
"P_PostID": 25,
|
||||
"P_OrganID": 15,
|
||||
"P_PersonID": 7,
|
||||
"P_PersonCode": "0001",
|
||||
"P_PersonName": "任广龙",
|
||||
"o_OrganName": "浙江集智机电",
|
||||
"P_MoiblePhone": "15167171716",
|
||||
"ddk_DataDicKindName": null,
|
||||
"sex": "男",
|
||||
"P_Email": "",
|
||||
"P_Telphone": "",
|
||||
"ddd_DicDetailsName": null,
|
||||
"P_Isdelete": null,
|
||||
"BirthDay": "2021-04-26",
|
||||
"EntryTime": "2021-05-12",
|
||||
"CreatedTime": "2021-05-12",
|
||||
"isuser": "已分配",
|
||||
"ROWSTAT": null
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [{
|
||||
"departmentKey": "RLXZB_V2",
|
||||
"departmentName": "人力行政部",
|
||||
"id": "150",
|
||||
"parentId": "0",
|
||||
"departmentNames": "人力行政部"
|
||||
}, {
|
||||
"departmentKey": "ZNBN",
|
||||
"departmentName": "法务部",
|
||||
"id": "324",
|
||||
"parentId": "0",
|
||||
"departmentNames": "法务部"
|
||||
}],
|
||||
"employees": [{
|
||||
"id": "53128111",
|
||||
"employeeName": "亚nan",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": []
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [{
|
||||
"departmentKey": "RLXZB_V2",
|
||||
"departmentName": "人力行政部",
|
||||
"id": "150",
|
||||
"parentId": "0",
|
||||
"departmentNames": "人力行政部"
|
||||
}, {
|
||||
"departmentKey": "ZNBN",
|
||||
"departmentName": "法务部",
|
||||
"id": "324",
|
||||
"parentId": "0",
|
||||
"departmentNames": "法务部"
|
||||
}],
|
||||
"employees": [{
|
||||
"id": "53128111",
|
||||
"employeeName": "亚nan",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": []
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [],
|
||||
"employees": [{
|
||||
"id": "53128112",
|
||||
"employeeName": "测试1",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
},{
|
||||
"id": "53128113",
|
||||
"employeeName": "测试2",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": [{
|
||||
"departmentId": "150",
|
||||
"departmentKey": "RLXZB_V2",
|
||||
"departmentName": "人力行政部",
|
||||
"departmentNames": "人力行政部",
|
||||
"id": "150",
|
||||
"parentId": "0"
|
||||
}]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [],
|
||||
"employees": [{
|
||||
"id": "53128133",
|
||||
"employeeName": "测试3",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": [{
|
||||
"departmentId": "324",
|
||||
"departmentKey": "ZNBN",
|
||||
"departmentName": "法务部",
|
||||
"departmentNames": "法务部",
|
||||
"id": "324",
|
||||
"parentId": "0"
|
||||
}]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"navigatepageNums": ["1"],
|
||||
"startRow": "1",
|
||||
"hasNextPage": "false",
|
||||
"prePage": "0",
|
||||
"nextPage": "0",
|
||||
"endRow": "3",
|
||||
"pageSize": "30",
|
||||
"list": [{
|
||||
"departmentName": "招商事业部",
|
||||
"employeeName": "111111",
|
||||
"employeeDepartmentId": "121",
|
||||
"id": "5312",
|
||||
"departmentNames": "招商事业部"
|
||||
}, {
|
||||
"departmentName": "111",
|
||||
"employeeName": "东亚-测试",
|
||||
"employeeDepartmentId": "139",
|
||||
"id": "2515638",
|
||||
"departmentNames": "111"
|
||||
}, {
|
||||
"departmentName": "招商事业部",
|
||||
"employeeName": "1111",
|
||||
"employeeDepartmentId": "121",
|
||||
"id": "2515746",
|
||||
"departmentNames": "招商事业部"
|
||||
}],
|
||||
"pageNum": "1",
|
||||
"navigatePages": "8",
|
||||
"navigateFirstPage": "1",
|
||||
"total": "3",
|
||||
"pages": "1",
|
||||
"size": "3",
|
||||
"isLastPage": "true",
|
||||
"hasPreviousPage": "false",
|
||||
"navigateLastPage": "1",
|
||||
"isFirstPage": "true"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,
|
||||
"workFlowDef": {
|
||||
"name": ""
|
||||
},
|
||||
"directorMaxLevel": 4,
|
||||
"flowPermission": [],
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",
|
||||
"type": 0,
|
||||
"priorityLevel": "",
|
||||
"settype": "",
|
||||
"selectMode": "",
|
||||
"selectRange": "",
|
||||
"directorLevel": "",
|
||||
"examineMode": "",
|
||||
"noHanderAction": "",
|
||||
"examineEndDirectorLevel": "",
|
||||
"ccSelfSelectFlag": "",
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"conditionNodes": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,
|
||||
"workFlowDef": {
|
||||
"name": "123"
|
||||
},
|
||||
"directorMaxLevel": 4,
|
||||
"flowPermission": [],
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",
|
||||
"type": 0,
|
||||
"priorityLevel": "",
|
||||
"settype": "",
|
||||
"selectMode": "",
|
||||
"selectRange": "",
|
||||
"directorLevel": "",
|
||||
"examineMode": "",
|
||||
"noHanderAction": "",
|
||||
"examineEndDirectorLevel": "",
|
||||
"ccSelfSelectFlag": "",
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"conditionNodes": [],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 3,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "抄送人",
|
||||
"type": 2,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 3,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "审核人1",
|
||||
"process": "yes",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"nodeUserList": []
|
||||
},
|
||||
"nodeUserList": []
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 2,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}]
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 1,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}],
|
||||
"error": false,
|
||||
"settype": 1
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 2,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"navigatepageNums": [],
|
||||
"startRow": "1",
|
||||
"hasNextPage": "false",
|
||||
"prePage": "0",
|
||||
"nextPage": "0",
|
||||
"endRow": "8",
|
||||
"pageSize": "0",
|
||||
"list": [{
|
||||
"code": "SHGLY",
|
||||
"roleId": "1",
|
||||
"scope": "1",
|
||||
"roleName": "审核管理员",
|
||||
"description": "初始化内置审批角色",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "2",
|
||||
"scope": "1",
|
||||
"roleName": "招商事业部",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "3",
|
||||
"scope": "1",
|
||||
"roleName": "互联网部门",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "4",
|
||||
"scope": "1",
|
||||
"roleName": "销售部",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "5",
|
||||
"scope": "1",
|
||||
"roleName": "战区一",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "6",
|
||||
"scope": "1",
|
||||
"roleName": "战区二",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "7",
|
||||
"scope": "1",
|
||||
"roleName": "JAVA开发",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "8",
|
||||
"scope": "1",
|
||||
"roleName": "测试审批角色",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}],
|
||||
"pageNum": "1",
|
||||
"navigatePages": "8",
|
||||
"navigateFirstPage": "0",
|
||||
"total": "8",
|
||||
"pages": "0",
|
||||
"size": "8",
|
||||
"isLastPage": "true",
|
||||
"hasPreviousPage": "false",
|
||||
"navigateLastPage": "0",
|
||||
"isFirstPage": "true"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": [
|
||||
{
|
||||
"columnId": "1090",
|
||||
"showType": "1",
|
||||
"showName": "预计采购总费用",
|
||||
"columnName": "planProcurementTotalMoney",
|
||||
"columnType": "Double",
|
||||
"fixedDownBoxValue": ""
|
||||
},
|
||||
{
|
||||
"columnId": "1092",
|
||||
"showType": "3",
|
||||
"showName": "采购类型",
|
||||
"columnName": "procurementType",
|
||||
"columnType": "String",
|
||||
"fixedDownBoxValue": "{\"1\":{\"key\":\"1\",\"value\":\"新开园区集中采购\",\"column\":\"\",\"type\":\"1\"}}"
|
||||
},
|
||||
{
|
||||
"columnId": "1093",
|
||||
"showType": "1",
|
||||
"showName": "园区面积",
|
||||
"columnName": "parkArea",
|
||||
"columnType": "Double",
|
||||
"fixedDownBoxValue": ""
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
export default {
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": [
|
||||
{
|
||||
//条件id columnId == 0 为发起人
|
||||
"columnId": "1090",
|
||||
//columnType == "String" && showType == "3"为多选 columnType == "Double"为区间
|
||||
"showType": "1",
|
||||
"showName": "预计采购总费用",
|
||||
//columnName 条件自定义字段
|
||||
"columnName": "planProcurementTotalMoney",
|
||||
"columnType": "Double",
|
||||
//fixedDownBoxValue 匹配 columnType == "String" && showType == "3"时子选项内容
|
||||
"fixedDownBoxValue": ""
|
||||
},
|
||||
{
|
||||
"columnId": "1092",
|
||||
"showType": "3",
|
||||
"showName": "采购类型",
|
||||
"columnName": "procurementType",
|
||||
"columnType": "String",
|
||||
"fixedDownBoxValue": "{\"1\":{\"key\":\"1\",\"value\":\"新开园区集中采购\",\"column\":\"\",\"type\":\"1\"}}"
|
||||
},
|
||||
{
|
||||
"columnId": "1093",
|
||||
"showType": "1",
|
||||
"showName": "园区面积",
|
||||
"columnName": "parkArea",
|
||||
"columnType": "Double",
|
||||
"fixedDownBoxValue": ""
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,
|
||||
"workFlowDef": {
|
||||
"name": "合同审批"
|
||||
},
|
||||
"directorMaxLevel": 4,
|
||||
"flowPermission": [],
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",
|
||||
"type": 0,
|
||||
"priorityLevel": "",
|
||||
"settype": "",
|
||||
"selectMode": "",
|
||||
"selectRange": "",
|
||||
"directorLevel": "",
|
||||
"examineMode": "",
|
||||
"noHanderAction": "",
|
||||
"examineEndDirectorLevel": "",
|
||||
"ccSelfSelectFlag": "",
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "路由",
|
||||
"type": 4,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": {
|
||||
"nodeName": "抄送人",
|
||||
"type": 2,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"childNode": null,
|
||||
"nodeUserList": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [{
|
||||
"nodeName": "条件1",
|
||||
"type": 3,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [{
|
||||
"columnId": 0,
|
||||
"type": 1,
|
||||
"conditionEn": "",
|
||||
"conditionCn": "",
|
||||
"optType": "",
|
||||
"zdy1": "",
|
||||
"zdy2": "",
|
||||
"opt1": "",
|
||||
"opt2": "",
|
||||
"columnDbname": "",
|
||||
"columnType": "",
|
||||
"showType": "",
|
||||
"showName": "",
|
||||
"fixedDownBoxValue": ""
|
||||
}],
|
||||
"nodeUserList": [{
|
||||
"targetId": 85,
|
||||
"type": 1,
|
||||
"name": "天旭"
|
||||
}],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"type": 1,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [{
|
||||
"targetId": 2515744,
|
||||
"type": 1,
|
||||
"name": "哈哈哈哈"
|
||||
}],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}, {
|
||||
"nodeName": "条件2",
|
||||
"type": 3,
|
||||
"priorityLevel": 2,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}]
|
||||
},
|
||||
"nodeUserList": []
|
||||
},
|
||||
"conditionNodes": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,137 @@
|
|||
export default {
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,//审批id
|
||||
"workFlowDef": {
|
||||
"name": "合同审批",//审批名称
|
||||
},
|
||||
"directorMaxLevel": 4,//审批主管最大层级
|
||||
"flowPermission": [],//发起人
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",//节点名称
|
||||
"type": 0,// 0 发起人 1审批 2抄送 3条件 4路由
|
||||
"priorityLevel": "",// 条件优先级
|
||||
"settype": "",// 审批人设置 1指定成员 2主管 4发起人自选 5发起人自己 7连续多级主管
|
||||
"selectMode": "", //审批人数 1选一个人 2选多个人
|
||||
"selectRange": "", //选择范围 1.全公司 2指定成员 2指定角色
|
||||
"directorLevel": "", //审批终点 最高层主管数
|
||||
"examineMode": "", //多人审批时采用的审批方式 1依次审批 2会签
|
||||
"noHanderAction": "",//审批人为空时 1自动审批通过/不允许发起 2转交给审核管理员
|
||||
"examineEndDirectorLevel": "", //审批终点 第n层主管
|
||||
"ccSelfSelectFlag": "", //允许发起人自选抄送人
|
||||
"conditionList": [], //当审批单同时满足以下条件时进入此流程
|
||||
"nodeUserList": [], //操作人
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false, //当前审批是否通过校验
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "路由",
|
||||
"type": 4,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": {
|
||||
"nodeName": "抄送人",
|
||||
"type": 2,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"childNode": null,
|
||||
"nodeUserList": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [{ //条件节点
|
||||
"nodeName": "条件1",
|
||||
"type": 3,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [{ //当前条件
|
||||
"columnId": 0, //发起人
|
||||
"type": 1, //1 发起人 2其他
|
||||
"optType": "", //["", "<", ">", "≤", "=", "≥"][optType]
|
||||
"zdy1": "",//左侧自定义内容
|
||||
"zdy2": "",//右侧自定义内容
|
||||
"opt1": "",//左侧符号 < ≤
|
||||
"opt2": "",//右侧符号 < ≤
|
||||
"columnDbname": "",//条件字段名称
|
||||
"columnType": "",//条件字段类型
|
||||
"showType": "",//3多选 其他
|
||||
"showName": "",//展示名
|
||||
"fixedDownBoxValue": ""//多选数组
|
||||
}],
|
||||
"nodeUserList": [{
|
||||
"targetId": 85,
|
||||
"type": 1,
|
||||
"name": "天旭"
|
||||
}],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"type": 1,
|
||||
"priorityLevel": 1,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [{
|
||||
"targetId": 2515744,
|
||||
"type": 1,
|
||||
"name": "哈哈哈哈"
|
||||
}],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
},
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}, {
|
||||
"nodeName": "条件2",
|
||||
"type": 3,
|
||||
"priorityLevel": 2,
|
||||
"settype": 1,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 1,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"childNode": null,
|
||||
"conditionNodes": [],
|
||||
"error": false
|
||||
}]
|
||||
},
|
||||
"nodeUserList": []
|
||||
},
|
||||
"conditionNodes": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"issuccess": "true",
|
||||
"code": 0,
|
||||
"msg": "",
|
||||
"count": 2,
|
||||
"data": [{
|
||||
"P_PostID": null,
|
||||
"P_OrganID": 15,
|
||||
"P_PersonID": 6,
|
||||
"P_PersonCode": "1",
|
||||
"P_PersonName": "系统管理员",
|
||||
"o_OrganName": "浙江集智机电",
|
||||
"P_MoiblePhone": "123456",
|
||||
"ddk_DataDicKindName": null,
|
||||
"sex": "女",
|
||||
"P_Email": "",
|
||||
"P_Telphone": "",
|
||||
"ddd_DicDetailsName": null,
|
||||
"P_Isdelete": null,
|
||||
"BirthDay": "1996-04-19",
|
||||
"EntryTime": "2018-04-03",
|
||||
"CreatedTime": null,
|
||||
"isuser": "已分配",
|
||||
"ROWSTAT": null
|
||||
},
|
||||
{
|
||||
"P_PostID": 25,
|
||||
"P_OrganID": 15,
|
||||
"P_PersonID": 7,
|
||||
"P_PersonCode": "0001",
|
||||
"P_PersonName": "任广龙",
|
||||
"o_OrganName": "浙江集智机电",
|
||||
"P_MoiblePhone": "15167171716",
|
||||
"ddk_DataDicKindName": null,
|
||||
"sex": "男",
|
||||
"P_Email": "",
|
||||
"P_Telphone": "",
|
||||
"ddd_DicDetailsName": null,
|
||||
"P_Isdelete": null,
|
||||
"BirthDay": "2021-04-26",
|
||||
"EntryTime": "2021-05-12",
|
||||
"CreatedTime": "2021-05-12",
|
||||
"isuser": "已分配",
|
||||
"ROWSTAT": null
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [{
|
||||
"departmentKey": "RLXZB_V2",
|
||||
"departmentName": "人力行政部",
|
||||
"id": "150",
|
||||
"parentId": "0",
|
||||
"departmentNames": "人力行政部"
|
||||
}, {
|
||||
"departmentKey": "ZNBN",
|
||||
"departmentName": "法务部",
|
||||
"id": "324",
|
||||
"parentId": "0",
|
||||
"departmentNames": "法务部"
|
||||
}],
|
||||
"employees": [{
|
||||
"id": "53128111",
|
||||
"employeeName": "亚nan",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": []
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [{
|
||||
"departmentKey": "RLXZB_V2",
|
||||
"departmentName": "人力行政部",
|
||||
"id": "150",
|
||||
"parentId": "0",
|
||||
"departmentNames": "人力行政部"
|
||||
}, {
|
||||
"departmentKey": "ZNBN",
|
||||
"departmentName": "法务部",
|
||||
"id": "324",
|
||||
"parentId": "0",
|
||||
"departmentNames": "法务部"
|
||||
}],
|
||||
"employees": [{
|
||||
"id": "53128111",
|
||||
"employeeName": "亚nan",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": []
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [],
|
||||
"employees": [{
|
||||
"id": "53128112",
|
||||
"employeeName": "测试1",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
},{
|
||||
"id": "53128113",
|
||||
"employeeName": "测试2",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": [{
|
||||
"departmentId": "150",
|
||||
"departmentKey": "RLXZB_V2",
|
||||
"departmentName": "人力行政部",
|
||||
"departmentNames": "人力行政部",
|
||||
"id": "150",
|
||||
"parentId": "0"
|
||||
}]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"childDepartments": [],
|
||||
"employees": [{
|
||||
"id": "53128133",
|
||||
"employeeName": "测试3",
|
||||
"isLeave": "0",
|
||||
"open": "false"
|
||||
}],
|
||||
"titleDepartments": [{
|
||||
"departmentId": "324",
|
||||
"departmentKey": "ZNBN",
|
||||
"departmentName": "法务部",
|
||||
"departmentNames": "法务部",
|
||||
"id": "324",
|
||||
"parentId": "0"
|
||||
}]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"navigatepageNums": ["1"],
|
||||
"startRow": "1",
|
||||
"hasNextPage": "false",
|
||||
"prePage": "0",
|
||||
"nextPage": "0",
|
||||
"endRow": "3",
|
||||
"pageSize": "30",
|
||||
"list": [{
|
||||
"departmentName": "招商事业部",
|
||||
"employeeName": "111111",
|
||||
"employeeDepartmentId": "121",
|
||||
"id": "5312",
|
||||
"departmentNames": "招商事业部"
|
||||
}, {
|
||||
"departmentName": "111",
|
||||
"employeeName": "东亚-测试",
|
||||
"employeeDepartmentId": "139",
|
||||
"id": "2515638",
|
||||
"departmentNames": "111"
|
||||
}, {
|
||||
"departmentName": "招商事业部",
|
||||
"employeeName": "1111",
|
||||
"employeeDepartmentId": "121",
|
||||
"id": "2515746",
|
||||
"departmentNames": "招商事业部"
|
||||
}],
|
||||
"pageNum": "1",
|
||||
"navigatePages": "8",
|
||||
"navigateFirstPage": "1",
|
||||
"total": "3",
|
||||
"pages": "1",
|
||||
"size": "3",
|
||||
"isLastPage": "true",
|
||||
"hasPreviousPage": "false",
|
||||
"navigateLastPage": "1",
|
||||
"isFirstPage": "true"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,
|
||||
"workFlowDef": {
|
||||
"name": ""
|
||||
},
|
||||
"directorMaxLevel": 4,
|
||||
"flowPermission": [],
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",
|
||||
"type": 0,
|
||||
"priorityLevel": "",
|
||||
"settype": "",
|
||||
"selectMode": "",
|
||||
"selectRange": "",
|
||||
"directorLevel": "",
|
||||
"examineMode": "",
|
||||
"noHanderAction": "",
|
||||
"examineEndDirectorLevel": "",
|
||||
"ccSelfSelectFlag": "",
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"conditionNodes": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,
|
||||
"workFlowDef": {
|
||||
"name": "123"
|
||||
},
|
||||
"directorMaxLevel": 4,
|
||||
"flowPermission": [],
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",
|
||||
"type": 0,
|
||||
"priorityLevel": "",
|
||||
"settype": "",
|
||||
"selectMode": "",
|
||||
"selectRange": "",
|
||||
"directorLevel": "",
|
||||
"examineMode": "",
|
||||
"noHanderAction": "",
|
||||
"examineEndDirectorLevel": "",
|
||||
"ccSelfSelectFlag": "",
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"conditionNodes": [],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 3,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "抄送人",
|
||||
"type": 2,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 3,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "审核人1",
|
||||
"process": "yes",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"nodeUserList": []
|
||||
},
|
||||
"nodeUserList": []
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 2,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}]
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 1,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}],
|
||||
"error": false,
|
||||
"settype": 1
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 2,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "操作成功",
|
||||
"data": {
|
||||
"navigatepageNums": [],
|
||||
"startRow": "1",
|
||||
"hasNextPage": "false",
|
||||
"prePage": "0",
|
||||
"nextPage": "0",
|
||||
"endRow": "8",
|
||||
"pageSize": "0",
|
||||
"list": [{
|
||||
"code": "SHGLY",
|
||||
"roleId": "1",
|
||||
"scope": "1",
|
||||
"roleName": "审核管理员",
|
||||
"description": "初始化内置审批角色",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "2",
|
||||
"scope": "1",
|
||||
"roleName": "招商事业部",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "3",
|
||||
"scope": "1",
|
||||
"roleName": "互联网部门",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "4",
|
||||
"scope": "1",
|
||||
"roleName": "销售部",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "5",
|
||||
"scope": "1",
|
||||
"roleName": "战区一",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "6",
|
||||
"scope": "1",
|
||||
"roleName": "战区二",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "7",
|
||||
"scope": "1",
|
||||
"roleName": "JAVA开发",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}, {
|
||||
"code": "",
|
||||
"roleId": "8",
|
||||
"scope": "1",
|
||||
"roleName": "测试审批角色",
|
||||
"description": "",
|
||||
"status": "1"
|
||||
}],
|
||||
"pageNum": "1",
|
||||
"navigatePages": "8",
|
||||
"navigateFirstPage": "0",
|
||||
"total": "8",
|
||||
"pages": "0",
|
||||
"size": "8",
|
||||
"isLastPage": "true",
|
||||
"hasPreviousPage": "false",
|
||||
"navigateLastPage": "0",
|
||||
"isFirstPage": "true"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,539 @@
|
|||
/* Logo 字体 */
|
||||
@font-face {
|
||||
font-family: "iconfont logo";
|
||||
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
|
||||
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
|
||||
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
|
||||
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
|
||||
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-family: "iconfont logo";
|
||||
font-size: 160px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* tabs */
|
||||
.nav-tabs {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-more {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#tabs {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
#tabs li {
|
||||
cursor: pointer;
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
border-bottom: 2px solid transparent;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-bottom: -1px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
||||
#tabs .active {
|
||||
border-bottom-color: #f00;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.tab-container .content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 页面布局 */
|
||||
.main {
|
||||
padding: 30px 100px;
|
||||
width: 960px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.main .logo {
|
||||
color: #333;
|
||||
text-align: left;
|
||||
margin-bottom: 30px;
|
||||
line-height: 1;
|
||||
height: 110px;
|
||||
margin-top: -50px;
|
||||
overflow: hidden;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.main .logo a {
|
||||
font-size: 160px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.helps {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.helps pre {
|
||||
padding: 20px;
|
||||
margin: 10px 0;
|
||||
border: solid 1px #e7e1cd;
|
||||
background-color: #fffdef;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.icon_lists {
|
||||
width: 100% !important;
|
||||
overflow: hidden;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.icon_lists li {
|
||||
width: 100px;
|
||||
margin-bottom: 10px;
|
||||
margin-right: 20px;
|
||||
text-align: center;
|
||||
list-style: none !important;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.icon_lists li .code-name {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.icon_lists .icon {
|
||||
display: block;
|
||||
height: 100px;
|
||||
line-height: 100px;
|
||||
font-size: 42px;
|
||||
margin: 10px auto;
|
||||
color: #333;
|
||||
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
|
||||
-moz-transition: font-size 0.25s linear, width 0.25s linear;
|
||||
transition: font-size 0.25s linear, width 0.25s linear;
|
||||
}
|
||||
|
||||
.icon_lists .icon:hover {
|
||||
font-size: 100px;
|
||||
}
|
||||
|
||||
.icon_lists .svg-icon {
|
||||
/* 通过设置 font-size 来改变图标大小 */
|
||||
width: 1em;
|
||||
/* 图标和文字相邻时,垂直对齐 */
|
||||
vertical-align: -0.15em;
|
||||
/* 通过设置 color 来改变 SVG 的颜色/fill */
|
||||
fill: currentColor;
|
||||
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
|
||||
normalize.css 中也包含这行 */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.icon_lists li .name,
|
||||
.icon_lists li .code-name {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* markdown 样式 */
|
||||
.markdown {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.markdown img {
|
||||
vertical-align: middle;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.markdown h1 {
|
||||
color: #404040;
|
||||
font-weight: 500;
|
||||
line-height: 40px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.markdown h2,
|
||||
.markdown h3,
|
||||
.markdown h4,
|
||||
.markdown h5,
|
||||
.markdown h6 {
|
||||
color: #404040;
|
||||
margin: 1.6em 0 0.6em 0;
|
||||
font-weight: 500;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.markdown h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.markdown h2 {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.markdown h3 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.markdown h4 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.markdown h5 {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.markdown h6 {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.markdown hr {
|
||||
height: 1px;
|
||||
border: 0;
|
||||
background: #e9e9e9;
|
||||
margin: 16px 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.markdown p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.markdown>p,
|
||||
.markdown>blockquote,
|
||||
.markdown>.highlight,
|
||||
.markdown>ol,
|
||||
.markdown>ul {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.markdown ul>li {
|
||||
list-style: circle;
|
||||
}
|
||||
|
||||
.markdown>ul li,
|
||||
.markdown blockquote ul>li {
|
||||
margin-left: 20px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.markdown>ul li p,
|
||||
.markdown>ol li p {
|
||||
margin: 0.6em 0;
|
||||
}
|
||||
|
||||
.markdown ol>li {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
.markdown>ol li,
|
||||
.markdown blockquote ol>li {
|
||||
margin-left: 20px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.markdown code {
|
||||
margin: 0 3px;
|
||||
padding: 0 5px;
|
||||
background: #eee;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.markdown strong,
|
||||
.markdown b {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.markdown>table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
empty-cells: show;
|
||||
border: 1px solid #e9e9e9;
|
||||
width: 95%;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.markdown>table th {
|
||||
white-space: nowrap;
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.markdown>table th,
|
||||
.markdown>table td {
|
||||
border: 1px solid #e9e9e9;
|
||||
padding: 8px 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.markdown>table th {
|
||||
background: #F7F7F7;
|
||||
}
|
||||
|
||||
.markdown blockquote {
|
||||
font-size: 90%;
|
||||
color: #999;
|
||||
border-left: 4px solid #e9e9e9;
|
||||
padding-left: 0.8em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.markdown blockquote p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.markdown .anchor {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.markdown .waiting {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.markdown h1:hover .anchor,
|
||||
.markdown h2:hover .anchor,
|
||||
.markdown h3:hover .anchor,
|
||||
.markdown h4:hover .anchor,
|
||||
.markdown h5:hover .anchor,
|
||||
.markdown h6:hover .anchor {
|
||||
opacity: 1;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.markdown>br,
|
||||
.markdown>p>br {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
background: white;
|
||||
padding: 0.5em;
|
||||
color: #333333;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-meta {
|
||||
color: #969896;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-variable,
|
||||
.hljs-template-variable,
|
||||
.hljs-strong,
|
||||
.hljs-emphasis,
|
||||
.hljs-quote {
|
||||
color: #df5000;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-type {
|
||||
color: #a71d5d;
|
||||
}
|
||||
|
||||
.hljs-literal,
|
||||
.hljs-symbol,
|
||||
.hljs-bullet,
|
||||
.hljs-attribute {
|
||||
color: #0086b3;
|
||||
}
|
||||
|
||||
.hljs-section,
|
||||
.hljs-name {
|
||||
color: #63a35c;
|
||||
}
|
||||
|
||||
.hljs-tag {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
.hljs-attr,
|
||||
.hljs-selector-id,
|
||||
.hljs-selector-class,
|
||||
.hljs-selector-attr,
|
||||
.hljs-selector-pseudo {
|
||||
color: #795da3;
|
||||
}
|
||||
|
||||
.hljs-addition {
|
||||
color: #55a532;
|
||||
background-color: #eaffea;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
color: #bd2c00;
|
||||
background-color: #ffecec;
|
||||
}
|
||||
|
||||
.hljs-link {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* 代码高亮 */
|
||||
/* PrismJS 1.15.0
|
||||
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
|
||||
/**
|
||||
* prism.js default theme for JavaScript, CSS and HTML
|
||||
* Based on dabblet (http://dabblet.com)
|
||||
* @author Lea Verou
|
||||
*/
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: black;
|
||||
background: none;
|
||||
text-shadow: 0 1px white;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::-moz-selection,
|
||||
pre[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection,
|
||||
code[class*="language-"] ::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::selection,
|
||||
pre[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection,
|
||||
code[class*="language-"] ::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre)>code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre)>code[class*="language-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: slategray;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.namespace {
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #905;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #690;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string {
|
||||
color: #9a6e3a;
|
||||
background: hsla(0, 0%, 100%, .5);
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
|
||||
.token.function,
|
||||
.token.class-name {
|
||||
color: #DD4A68;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
|
@ -0,0 +1,648 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>iconfont Demo</title>
|
||||
<link rel="shortcut icon" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg" type="image/x-icon"/>
|
||||
<link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg"/>
|
||||
<link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
|
||||
<link rel="stylesheet" href="demo.css">
|
||||
<link rel="stylesheet" href="iconfont.css">
|
||||
<script src="iconfont.js"></script>
|
||||
<!-- jQuery -->
|
||||
<script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script>
|
||||
<!-- 代码高亮 -->
|
||||
<script src="https://a1.alicdn.com/oss/uploads/2018/12/26/a3f714d0-08e6-11e9-8a15-ebf944d7534c.js"></script>
|
||||
<style>
|
||||
.main .logo {
|
||||
margin-top: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.main .logo a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.main .logo .sub-title {
|
||||
margin-left: 0.5em;
|
||||
font-size: 22px;
|
||||
color: #fff;
|
||||
background: linear-gradient(-45deg, #3967FF, #B500FE);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<h1 class="logo"><a href="https://www.iconfont.cn/" title="iconfont 首页" target="_blank">
|
||||
<img width="200" src="https://img.alicdn.com/imgextra/i3/O1CN01Mn65HV1FfSEzR6DKv_!!6000000000514-55-tps-228-59.svg">
|
||||
|
||||
</a></h1>
|
||||
<div class="nav-tabs">
|
||||
<ul id="tabs" class="dib-box">
|
||||
<li class="dib active"><span>Unicode</span></li>
|
||||
<li class="dib"><span>Font class</span></li>
|
||||
<li class="dib"><span>Symbol</span></li>
|
||||
</ul>
|
||||
|
||||
<a href="https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=4176084" target="_blank" class="nav-more">查看项目</a>
|
||||
|
||||
</div>
|
||||
<div class="tab-container">
|
||||
<div class="content unicode" style="display: block;">
|
||||
<ul class="icon_lists dib-box">
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">菜单/列表</div>
|
||||
<div class="code-name">&#xe642;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">应用</div>
|
||||
<div class="code-name">&#xe689;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">应用信息</div>
|
||||
<div class="code-name">&#xe688;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">权限管理</div>
|
||||
<div class="code-name">&#xe687;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">安全与监控</div>
|
||||
<div class="code-name">&#xe686;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">API接口清单</div>
|
||||
<div class="code-name">&#xe684;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">应用中心</div>
|
||||
<div class="code-name">&#xe685;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">ES B 中心</div>
|
||||
<div class="code-name">&#xe682;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">任务集成</div>
|
||||
<div class="code-name">&#xe681;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">凭证制单</div>
|
||||
<div class="code-name">&#xe67a;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">主数据中心</div>
|
||||
<div class="code-name">&#xe67b;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">档案对照</div>
|
||||
<div class="code-name">&#xe67c;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">财务集成</div>
|
||||
<div class="code-name">&#xe67d;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">集成 api 配置</div>
|
||||
<div class="code-name">&#xe67e;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">集成场景</div>
|
||||
<div class="code-name">&#xe67f;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">应用集成平台</div>
|
||||
<div class="code-name">&#xe680;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">服务任务管理</div>
|
||||
<div class="code-name">&#xe660;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">任务管理</div>
|
||||
<div class="code-name">&#xe6de;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">系统管理</div>
|
||||
<div class="code-name">&#xe6b2;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">111</div>
|
||||
<div class="code-name">&#xe672;</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="article markdown">
|
||||
<h2 id="unicode-">Unicode 引用</h2>
|
||||
<hr>
|
||||
|
||||
<p>Unicode 是字体在网页端最原始的应用方式,特点是:</p>
|
||||
<ul>
|
||||
<li>支持按字体的方式去动态调整图标大小,颜色等等。</li>
|
||||
<li>默认情况下不支持多色,直接添加多色图标会自动去色。</li>
|
||||
</ul>
|
||||
<blockquote>
|
||||
<p>注意:新版 iconfont 支持两种方式引用多色图标:SVG symbol 引用方式和彩色字体图标模式。(使用彩色字体图标需要在「编辑项目」中开启「彩色」选项后并重新生成。)</p>
|
||||
</blockquote>
|
||||
<p>Unicode 使用步骤如下:</p>
|
||||
<h3 id="-font-face">第一步:拷贝项目下面生成的 <code>@font-face</code></h3>
|
||||
<pre><code class="language-css"
|
||||
>@font-face {
|
||||
font-family: 'iconfont';
|
||||
src: url('iconfont.woff2?t=1696663877393') format('woff2'),
|
||||
url('iconfont.woff?t=1696663877393') format('woff'),
|
||||
url('iconfont.ttf?t=1696663877393') format('truetype');
|
||||
}
|
||||
</code></pre>
|
||||
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
||||
<pre><code class="language-css"
|
||||
>.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
</code></pre>
|
||||
<h3 id="-">第三步:挑选相应图标并获取字体编码,应用于页面</h3>
|
||||
<pre>
|
||||
<code class="language-html"
|
||||
><span class="iconfont">&#x33;</span>
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
<p>"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content font-class">
|
||||
<ul class="icon_lists dib-box">
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-caidan"></span>
|
||||
<div class="name">
|
||||
菜单/列表
|
||||
</div>
|
||||
<div class="code-name">.icon-caidan
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-yingyong"></span>
|
||||
<div class="name">
|
||||
应用
|
||||
</div>
|
||||
<div class="code-name">.icon-yingyong
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-yingyongxinxi"></span>
|
||||
<div class="name">
|
||||
应用信息
|
||||
</div>
|
||||
<div class="code-name">.icon-yingyongxinxi
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-quanxianguanli"></span>
|
||||
<div class="name">
|
||||
权限管理
|
||||
</div>
|
||||
<div class="code-name">.icon-quanxianguanli
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-anquanyujiankong"></span>
|
||||
<div class="name">
|
||||
安全与监控
|
||||
</div>
|
||||
<div class="code-name">.icon-anquanyujiankong
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-APIjiekouqingdan"></span>
|
||||
<div class="name">
|
||||
API接口清单
|
||||
</div>
|
||||
<div class="code-name">.icon-APIjiekouqingdan
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-yingyongzhongxin1"></span>
|
||||
<div class="name">
|
||||
应用中心
|
||||
</div>
|
||||
<div class="code-name">.icon-yingyongzhongxin1
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-a-ESBzhongxin"></span>
|
||||
<div class="name">
|
||||
ES B 中心
|
||||
</div>
|
||||
<div class="code-name">.icon-a-ESBzhongxin
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-renwujicheng"></span>
|
||||
<div class="name">
|
||||
任务集成
|
||||
</div>
|
||||
<div class="code-name">.icon-renwujicheng
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-pingzhengzhidan"></span>
|
||||
<div class="name">
|
||||
凭证制单
|
||||
</div>
|
||||
<div class="code-name">.icon-pingzhengzhidan
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-zhushujuzhongxin"></span>
|
||||
<div class="name">
|
||||
主数据中心
|
||||
</div>
|
||||
<div class="code-name">.icon-zhushujuzhongxin
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-danganduizhao"></span>
|
||||
<div class="name">
|
||||
档案对照
|
||||
</div>
|
||||
<div class="code-name">.icon-danganduizhao
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-caiwujicheng"></span>
|
||||
<div class="name">
|
||||
财务集成
|
||||
</div>
|
||||
<div class="code-name">.icon-caiwujicheng
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-a-jichengapipeizhi"></span>
|
||||
<div class="name">
|
||||
集成 api 配置
|
||||
</div>
|
||||
<div class="code-name">.icon-a-jichengapipeizhi
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-jichengchangjing"></span>
|
||||
<div class="name">
|
||||
集成场景
|
||||
</div>
|
||||
<div class="code-name">.icon-jichengchangjing
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-yingyongjichengpingtai"></span>
|
||||
<div class="name">
|
||||
应用集成平台
|
||||
</div>
|
||||
<div class="code-name">.icon-yingyongjichengpingtai
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-fuwurenwuguanli"></span>
|
||||
<div class="name">
|
||||
服务任务管理
|
||||
</div>
|
||||
<div class="code-name">.icon-fuwurenwuguanli
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-renwuguanli"></span>
|
||||
<div class="name">
|
||||
任务管理
|
||||
</div>
|
||||
<div class="code-name">.icon-renwuguanli
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-xitongguanli"></span>
|
||||
<div class="name">
|
||||
系统管理
|
||||
</div>
|
||||
<div class="code-name">.icon-xitongguanli
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-a-111"></span>
|
||||
<div class="name">
|
||||
111
|
||||
</div>
|
||||
<div class="code-name">.icon-a-111
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="article markdown">
|
||||
<h2 id="font-class-">font-class 引用</h2>
|
||||
<hr>
|
||||
|
||||
<p>font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。</p>
|
||||
<p>与 Unicode 使用方式相比,具有如下特点:</p>
|
||||
<ul>
|
||||
<li>相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。</li>
|
||||
<li>因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。</li>
|
||||
</ul>
|
||||
<p>使用步骤如下:</p>
|
||||
<h3 id="-fontclass-">第一步:引入项目下面生成的 fontclass 代码:</h3>
|
||||
<pre><code class="language-html"><link rel="stylesheet" href="./iconfont.css">
|
||||
</code></pre>
|
||||
<h3 id="-">第二步:挑选相应图标并获取类名,应用于页面:</h3>
|
||||
<pre><code class="language-html"><span class="iconfont icon-xxx"></span>
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
<p>"
|
||||
iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content symbol">
|
||||
<ul class="icon_lists dib-box">
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-caidan"></use>
|
||||
</svg>
|
||||
<div class="name">菜单/列表</div>
|
||||
<div class="code-name">#icon-caidan</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-yingyong"></use>
|
||||
</svg>
|
||||
<div class="name">应用</div>
|
||||
<div class="code-name">#icon-yingyong</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-yingyongxinxi"></use>
|
||||
</svg>
|
||||
<div class="name">应用信息</div>
|
||||
<div class="code-name">#icon-yingyongxinxi</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-quanxianguanli"></use>
|
||||
</svg>
|
||||
<div class="name">权限管理</div>
|
||||
<div class="code-name">#icon-quanxianguanli</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-anquanyujiankong"></use>
|
||||
</svg>
|
||||
<div class="name">安全与监控</div>
|
||||
<div class="code-name">#icon-anquanyujiankong</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-APIjiekouqingdan"></use>
|
||||
</svg>
|
||||
<div class="name">API接口清单</div>
|
||||
<div class="code-name">#icon-APIjiekouqingdan</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-yingyongzhongxin1"></use>
|
||||
</svg>
|
||||
<div class="name">应用中心</div>
|
||||
<div class="code-name">#icon-yingyongzhongxin1</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-a-ESBzhongxin"></use>
|
||||
</svg>
|
||||
<div class="name">ES B 中心</div>
|
||||
<div class="code-name">#icon-a-ESBzhongxin</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-renwujicheng"></use>
|
||||
</svg>
|
||||
<div class="name">任务集成</div>
|
||||
<div class="code-name">#icon-renwujicheng</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-pingzhengzhidan"></use>
|
||||
</svg>
|
||||
<div class="name">凭证制单</div>
|
||||
<div class="code-name">#icon-pingzhengzhidan</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-zhushujuzhongxin"></use>
|
||||
</svg>
|
||||
<div class="name">主数据中心</div>
|
||||
<div class="code-name">#icon-zhushujuzhongxin</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-danganduizhao"></use>
|
||||
</svg>
|
||||
<div class="name">档案对照</div>
|
||||
<div class="code-name">#icon-danganduizhao</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-caiwujicheng"></use>
|
||||
</svg>
|
||||
<div class="name">财务集成</div>
|
||||
<div class="code-name">#icon-caiwujicheng</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-a-jichengapipeizhi"></use>
|
||||
</svg>
|
||||
<div class="name">集成 api 配置</div>
|
||||
<div class="code-name">#icon-a-jichengapipeizhi</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-jichengchangjing"></use>
|
||||
</svg>
|
||||
<div class="name">集成场景</div>
|
||||
<div class="code-name">#icon-jichengchangjing</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-yingyongjichengpingtai"></use>
|
||||
</svg>
|
||||
<div class="name">应用集成平台</div>
|
||||
<div class="code-name">#icon-yingyongjichengpingtai</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-fuwurenwuguanli"></use>
|
||||
</svg>
|
||||
<div class="name">服务任务管理</div>
|
||||
<div class="code-name">#icon-fuwurenwuguanli</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-renwuguanli"></use>
|
||||
</svg>
|
||||
<div class="name">任务管理</div>
|
||||
<div class="code-name">#icon-renwuguanli</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-xitongguanli"></use>
|
||||
</svg>
|
||||
<div class="name">系统管理</div>
|
||||
<div class="code-name">#icon-xitongguanli</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-a-111"></use>
|
||||
</svg>
|
||||
<div class="name">111</div>
|
||||
<div class="code-name">#icon-a-111</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="article markdown">
|
||||
<h2 id="symbol-">Symbol 引用</h2>
|
||||
<hr>
|
||||
|
||||
<p>这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
|
||||
这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:</p>
|
||||
<ul>
|
||||
<li>支持多色图标了,不再受单色限制。</li>
|
||||
<li>通过一些技巧,支持像字体那样,通过 <code>font-size</code>, <code>color</code> 来调整样式。</li>
|
||||
<li>兼容性较差,支持 IE9+,及现代浏览器。</li>
|
||||
<li>浏览器渲染 SVG 的性能一般,还不如 png。</li>
|
||||
</ul>
|
||||
<p>使用步骤如下:</p>
|
||||
<h3 id="-symbol-">第一步:引入项目下面生成的 symbol 代码:</h3>
|
||||
<pre><code class="language-html"><script src="./iconfont.js"></script>
|
||||
</code></pre>
|
||||
<h3 id="-css-">第二步:加入通用 CSS 代码(引入一次就行):</h3>
|
||||
<pre><code class="language-html"><style>
|
||||
.icon {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: -0.15em;
|
||||
fill: currentColor;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</code></pre>
|
||||
<h3 id="-">第三步:挑选相应图标并获取类名,应用于页面:</h3>
|
||||
<pre><code class="language-html"><svg class="icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-xxx"></use>
|
||||
</svg>
|
||||
</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('.tab-container .content:first').show()
|
||||
|
||||
$('#tabs li').click(function (e) {
|
||||
var tabContent = $('.tab-container .content')
|
||||
var index = $(this).index()
|
||||
|
||||
if ($(this).hasClass('active')) {
|
||||
return
|
||||
} else {
|
||||
$('#tabs li').removeClass('active')
|
||||
$(this).addClass('active')
|
||||
|
||||
tabContent.hide().eq(index).fadeIn()
|
||||
}
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,95 @@
|
|||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 4176084 */
|
||||
src: url('iconfont.woff2?t=1696663877393') format('woff2'),
|
||||
url('iconfont.woff?t=1696663877393') format('woff'),
|
||||
url('iconfont.ttf?t=1696663877393') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-caidan:before {
|
||||
content: "\e642";
|
||||
}
|
||||
|
||||
.icon-yingyong:before {
|
||||
content: "\e689";
|
||||
}
|
||||
|
||||
.icon-yingyongxinxi:before {
|
||||
content: "\e688";
|
||||
}
|
||||
|
||||
.icon-quanxianguanli:before {
|
||||
content: "\e687";
|
||||
}
|
||||
|
||||
.icon-anquanyujiankong:before {
|
||||
content: "\e686";
|
||||
}
|
||||
|
||||
.icon-APIjiekouqingdan:before {
|
||||
content: "\e684";
|
||||
}
|
||||
|
||||
.icon-yingyongzhongxin1:before {
|
||||
content: "\e685";
|
||||
}
|
||||
|
||||
.icon-a-ESBzhongxin:before {
|
||||
content: "\e682";
|
||||
}
|
||||
|
||||
.icon-renwujicheng:before {
|
||||
content: "\e681";
|
||||
}
|
||||
|
||||
.icon-pingzhengzhidan:before {
|
||||
content: "\e67a";
|
||||
}
|
||||
|
||||
.icon-zhushujuzhongxin:before {
|
||||
content: "\e67b";
|
||||
}
|
||||
|
||||
.icon-danganduizhao:before {
|
||||
content: "\e67c";
|
||||
}
|
||||
|
||||
.icon-caiwujicheng:before {
|
||||
content: "\e67d";
|
||||
}
|
||||
|
||||
.icon-a-jichengapipeizhi:before {
|
||||
content: "\e67e";
|
||||
}
|
||||
|
||||
.icon-jichengchangjing:before {
|
||||
content: "\e67f";
|
||||
}
|
||||
|
||||
.icon-yingyongjichengpingtai:before {
|
||||
content: "\e680";
|
||||
}
|
||||
|
||||
.icon-fuwurenwuguanli:before {
|
||||
content: "\e660";
|
||||
}
|
||||
|
||||
.icon-renwuguanli:before {
|
||||
content: "\e6de";
|
||||
}
|
||||
|
||||
.icon-xitongguanli:before {
|
||||
content: "\e6b2";
|
||||
}
|
||||
|
||||
.icon-a-111:before {
|
||||
content: "\e672";
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,149 @@
|
|||
{
|
||||
"id": "4176084",
|
||||
"name": "中台",
|
||||
"font_family": "iconfont",
|
||||
"css_prefix_text": "icon-",
|
||||
"description": "",
|
||||
"glyphs": [
|
||||
{
|
||||
"icon_id": "8094171",
|
||||
"name": "菜单/列表",
|
||||
"font_class": "caidan",
|
||||
"unicode": "e642",
|
||||
"unicode_decimal": 58946
|
||||
},
|
||||
{
|
||||
"icon_id": "37449128",
|
||||
"name": "应用",
|
||||
"font_class": "yingyong",
|
||||
"unicode": "e689",
|
||||
"unicode_decimal": 59017
|
||||
},
|
||||
{
|
||||
"icon_id": "37448906",
|
||||
"name": "应用信息",
|
||||
"font_class": "yingyongxinxi",
|
||||
"unicode": "e688",
|
||||
"unicode_decimal": 59016
|
||||
},
|
||||
{
|
||||
"icon_id": "37444244",
|
||||
"name": "权限管理",
|
||||
"font_class": "quanxianguanli",
|
||||
"unicode": "e687",
|
||||
"unicode_decimal": 59015
|
||||
},
|
||||
{
|
||||
"icon_id": "37444222",
|
||||
"name": "安全与监控",
|
||||
"font_class": "anquanyujiankong",
|
||||
"unicode": "e686",
|
||||
"unicode_decimal": 59014
|
||||
},
|
||||
{
|
||||
"icon_id": "37444079",
|
||||
"name": "API接口清单",
|
||||
"font_class": "APIjiekouqingdan",
|
||||
"unicode": "e684",
|
||||
"unicode_decimal": 59012
|
||||
},
|
||||
{
|
||||
"icon_id": "37444080",
|
||||
"name": "应用中心",
|
||||
"font_class": "yingyongzhongxin1",
|
||||
"unicode": "e685",
|
||||
"unicode_decimal": 59013
|
||||
},
|
||||
{
|
||||
"icon_id": "37264163",
|
||||
"name": "ES B 中心",
|
||||
"font_class": "a-ESBzhongxin",
|
||||
"unicode": "e682",
|
||||
"unicode_decimal": 59010
|
||||
},
|
||||
{
|
||||
"icon_id": "37264233",
|
||||
"name": "任务集成",
|
||||
"font_class": "renwujicheng",
|
||||
"unicode": "e681",
|
||||
"unicode_decimal": 59009
|
||||
},
|
||||
{
|
||||
"icon_id": "37263968",
|
||||
"name": "凭证制单",
|
||||
"font_class": "pingzhengzhidan",
|
||||
"unicode": "e67a",
|
||||
"unicode_decimal": 59002
|
||||
},
|
||||
{
|
||||
"icon_id": "37263991",
|
||||
"name": "主数据中心",
|
||||
"font_class": "zhushujuzhongxin",
|
||||
"unicode": "e67b",
|
||||
"unicode_decimal": 59003
|
||||
},
|
||||
{
|
||||
"icon_id": "37264002",
|
||||
"name": "档案对照",
|
||||
"font_class": "danganduizhao",
|
||||
"unicode": "e67c",
|
||||
"unicode_decimal": 59004
|
||||
},
|
||||
{
|
||||
"icon_id": "37264132",
|
||||
"name": "财务集成",
|
||||
"font_class": "caiwujicheng",
|
||||
"unicode": "e67d",
|
||||
"unicode_decimal": 59005
|
||||
},
|
||||
{
|
||||
"icon_id": "37264133",
|
||||
"name": "集成 api 配置",
|
||||
"font_class": "a-jichengapipeizhi",
|
||||
"unicode": "e67e",
|
||||
"unicode_decimal": 59006
|
||||
},
|
||||
{
|
||||
"icon_id": "37264134",
|
||||
"name": "集成场景",
|
||||
"font_class": "jichengchangjing",
|
||||
"unicode": "e67f",
|
||||
"unicode_decimal": 59007
|
||||
},
|
||||
{
|
||||
"icon_id": "37264136",
|
||||
"name": "应用集成平台",
|
||||
"font_class": "yingyongjichengpingtai",
|
||||
"unicode": "e680",
|
||||
"unicode_decimal": 59008
|
||||
},
|
||||
{
|
||||
"icon_id": "418300",
|
||||
"name": "服务任务管理",
|
||||
"font_class": "fuwurenwuguanli",
|
||||
"unicode": "e660",
|
||||
"unicode_decimal": 58976
|
||||
},
|
||||
{
|
||||
"icon_id": "13584361",
|
||||
"name": "任务管理",
|
||||
"font_class": "renwuguanli",
|
||||
"unicode": "e6de",
|
||||
"unicode_decimal": 59102
|
||||
},
|
||||
{
|
||||
"icon_id": "15643745",
|
||||
"name": "系统管理",
|
||||
"font_class": "xitongguanli",
|
||||
"unicode": "e6b2",
|
||||
"unicode_decimal": 59058
|
||||
},
|
||||
{
|
||||
"icon_id": "36534311",
|
||||
"name": "111",
|
||||
"font_class": "a-111",
|
||||
"unicode": "e672",
|
||||
"unicode_decimal": 58994
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,228 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<script src="./webSet/configKey.js"></script>
|
||||
<link rel="icon" href="./daishu.png">
|
||||
<title>
|
||||
<%= webpackConfig.name %>
|
||||
</title>
|
||||
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
|
||||
<style>
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.chromeframe {
|
||||
margin: 0.2em 0;
|
||||
background: #ccc;
|
||||
color: #000;
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
|
||||
#loader-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 999999;
|
||||
top: 25%;
|
||||
/* display: flex; */
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
#loader {
|
||||
display: block;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: -75px 0 0 -75px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #0f3dc2;
|
||||
-webkit-animation: spin 2s linear infinite;
|
||||
-ms-animation: spin 2s linear infinite;
|
||||
-moz-animation: spin 2s linear infinite;
|
||||
-o-animation: spin 2s linear infinite;
|
||||
animation: spin 2s linear infinite;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
#loader:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #0f3dc2;
|
||||
-webkit-animation: spin 3s linear infinite;
|
||||
-moz-animation: spin 3s linear infinite;
|
||||
-o-animation: spin 3s linear infinite;
|
||||
-ms-animation: spin 3s linear infinite;
|
||||
animation: spin 3s linear infinite;
|
||||
}
|
||||
|
||||
#loader:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
right: 15px;
|
||||
bottom: 15px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #0f3dc2;
|
||||
-moz-animation: spin 1.5s linear infinite;
|
||||
-o-animation: spin 1.5s linear infinite;
|
||||
-ms-animation: spin 1.5s linear infinite;
|
||||
-webkit-animation: spin 1.5s linear infinite;
|
||||
animation: spin 1.5s linear infinite;
|
||||
}
|
||||
|
||||
|
||||
@-webkit-keyframes spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#loader-wrapper .loader-section {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 51%;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
z-index: 1000;
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
#loader-wrapper .loader-section.section-left {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#loader-wrapper .loader-section.section-right {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
|
||||
.loaded #loader-wrapper .loader-section.section-left {
|
||||
-webkit-transform: translateX(-100%);
|
||||
-ms-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
}
|
||||
|
||||
.loaded #loader-wrapper .loader-section.section-right {
|
||||
-webkit-transform: translateX(100%);
|
||||
-ms-transform: translateX(100%);
|
||||
transform: translateX(100%);
|
||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
}
|
||||
|
||||
.loaded #loader {
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
|
||||
.loaded #loader-wrapper {
|
||||
visibility: hidden;
|
||||
-webkit-transform: translateY(-100%);
|
||||
-ms-transform: translateY(-100%);
|
||||
transform: translateY(-100%);
|
||||
-webkit-transition: all 0.3s 1s ease-out;
|
||||
transition: all 0.3s 1s ease-out;
|
||||
}
|
||||
|
||||
.no-js #loader-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-js h1 {
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
#loader-wrapper .load_title {
|
||||
font-family: 'Open Sans';
|
||||
color: #0f3dc2;
|
||||
font-size: 19px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
z-index: 9999999999999;
|
||||
/* position: absolute; */
|
||||
/* top: 70%; */
|
||||
margin-top: 20px;
|
||||
opacity: 1;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#loader-wrapper .load_title span {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-size: 13px;
|
||||
color: #0f3dc2;
|
||||
opacity: 0.5;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div id="loader-wrapper">
|
||||
<!-- <div id="loader"></div>
|
||||
<div class="loader-section section-left"></div>
|
||||
<div class="loader-section section-right"></div> -->
|
||||
<img src="./loading.gif" style="width: 397px;">
|
||||
<div class="load_title">系统资源加载中,请耐心等待</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"code": "200",
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"tableId": 1,
|
||||
"workFlowDef": {
|
||||
"name": "123"
|
||||
},
|
||||
"directorMaxLevel": 4,
|
||||
"flowPermission": [],
|
||||
"nodeConfig": {
|
||||
"nodeName": "发起人",
|
||||
"type": 0,
|
||||
"priorityLevel": "",
|
||||
"settype": "",
|
||||
"selectMode": "",
|
||||
"selectRange": "",
|
||||
"directorLevel": "",
|
||||
"examineMode": "",
|
||||
"noHanderAction": "",
|
||||
"examineEndDirectorLevel": "",
|
||||
"ccSelfSelectFlag": "",
|
||||
"conditionList": [],
|
||||
"nodeUserList": [],
|
||||
"conditionNodes": [],
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 3,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "抄送人",
|
||||
"type": 2,
|
||||
"ccSelfSelectFlag": 1,
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 3,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "审核人1",
|
||||
"process": "yes",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"childNode": {
|
||||
"nodeName": "审核人",
|
||||
"error": false,
|
||||
"type": 1,
|
||||
"settype": 2,
|
||||
"selectMode": 0,
|
||||
"selectRange": 0,
|
||||
"directorLevel": 1,
|
||||
"examineMode": 1,
|
||||
"noHanderAction": 2,
|
||||
"examineEndDirectorLevel": 0,
|
||||
"nodeUserList": []
|
||||
},
|
||||
"nodeUserList": []
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 2,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}]
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 1,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}],
|
||||
"error": false,
|
||||
"settype": 1
|
||||
},
|
||||
"nodeUserList": [{
|
||||
"type": 2,
|
||||
"targetId": 1231,
|
||||
"name": "测试"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 814 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
Binary file not shown.
After Width: | Height: | Size: 159 KiB |
|
@ -0,0 +1,10 @@
|
|||
|
||||
window.configKey = {
|
||||
secretkey:'m/Ah8KQ6IfWEv85KEoaHKf4SfwtemYtGkiuBabkQCnOuJ/+nyvqBLOVheirHN1TO',
|
||||
// secretkey:'mrNYMIX1uS5kSAoNeivqT5yvajWH8/0xF7XVWFSWXDFxgCjiDCChI5hjmPZgnq0M',
|
||||
urlType:false,
|
||||
baseURL:'',
|
||||
baseLoginCode:'admin',
|
||||
baseLoginPwd:'admin',
|
||||
}
|
||||
|
|
@ -0,0 +1,169 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<!-- <keep-alive> -->
|
||||
<router-view></router-view>
|
||||
<!-- </keep-alive> -->
|
||||
<!-- // 需要缓存的组件 -->
|
||||
<!-- <keep-alive >
|
||||
<router-view v-if="$route.meta.keepAlive"></router-view>
|
||||
</keep-alive> -->
|
||||
<!-- // 不需要缓存的组件 -->
|
||||
<!-- <router-view v-if="!$route.meta.keepAlive"></router-view> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { setTheme } from "@/utils/setTheme";
|
||||
export default {
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
chalk: "", // content of theme-chalk css
|
||||
theme: "",
|
||||
routerAlive: true,
|
||||
};
|
||||
},
|
||||
provide() {
|
||||
return {
|
||||
routerRefresh: this.routerRefresh,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
setTheme(this.$store.state.settings.theme);
|
||||
window.addEventListener(
|
||||
"hashchange",
|
||||
() => {
|
||||
let currentPath = window.location.hash.slice(1);
|
||||
if (this.$route.path !== currentPath) {
|
||||
this.$router.push(currentPath);
|
||||
}
|
||||
},
|
||||
false
|
||||
);
|
||||
},
|
||||
methods: {
|
||||
routerRefresh() {
|
||||
this.routerAlive = false;
|
||||
this.$nextTick(() => {
|
||||
this.routerAlive = true;
|
||||
});
|
||||
},
|
||||
},
|
||||
metaInfo() {
|
||||
return {
|
||||
title:
|
||||
this.$store.state.settings.dynamicTitle &&
|
||||
this.$store.state.settings.title,
|
||||
titleTemplate: (title) => {
|
||||
return title
|
||||
? `${title} - ${process.env.VUE_APP_TITLE}`
|
||||
: process.env.VUE_APP_TITLE;
|
||||
},
|
||||
};
|
||||
},
|
||||
activated() {
|
||||
// 使用 Vue.nextTick 延迟执行代码
|
||||
this.$nextTick(() => {
|
||||
});
|
||||
},
|
||||
deactivated() {
|
||||
// 使用 Vue.nextTick 延迟执行代码
|
||||
this.$nextTick(() => {
|
||||
});
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.loadingclass {
|
||||
z-index: 9999999 !important;
|
||||
}
|
||||
// 全局滚动条样式调整
|
||||
::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
/*滚动条宽度*/
|
||||
height: 5px;
|
||||
/*滚动条高度*/
|
||||
}
|
||||
|
||||
/*定义滚动条轨道 内阴影+圆角*/
|
||||
::-webkit-scrollbar-track {
|
||||
box-shadow: 0px 1px 3px #f1f1f1 inset;
|
||||
/*滚动条的背景区域的内阴影*/
|
||||
border-radius: 10px;
|
||||
/*滚动条的背景区域的圆角*/
|
||||
// background-color: #f1f1f1; /*滚动条的背景颜色*/
|
||||
}
|
||||
|
||||
/*定义滑块 内阴影+圆角*/
|
||||
::-webkit-scrollbar-thumb {
|
||||
box-shadow: 0px 1px 3px #a8a8a8 inset;
|
||||
/*滚动条的内阴影*/
|
||||
border-radius: 10px;
|
||||
/*滚动条的圆角*/
|
||||
background-color: #e0e0e0;
|
||||
/*滚动条的背景颜色*/
|
||||
}
|
||||
</style>
|
||||
<style lang="scss">
|
||||
.el-table__header-wrapper {
|
||||
border-radius: 10px !important;
|
||||
background: #f7f7f7 !important;
|
||||
}
|
||||
.el-table__body-wrapper {
|
||||
// border-radius: 15px !important;
|
||||
// margin-top: 5px;
|
||||
}
|
||||
.el-table__body {
|
||||
padding-top: 5px;
|
||||
}
|
||||
.el-table {
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
.el-table__body {
|
||||
//-webkit-border-horizontal-spacing: 13px; // 水平间距
|
||||
-webkit-border-vertical-spacing: 7px; // 垂直间距 设置的是行间距
|
||||
}
|
||||
//以下代码是实现边框效果
|
||||
thead th {
|
||||
font-size: 14px;
|
||||
color: #575757;
|
||||
&:nth-last-child(2) {
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
|
||||
border-radius: 0 5px 5px 0;
|
||||
right: 1px;
|
||||
}
|
||||
}
|
||||
thead th,
|
||||
.el-table__row td {
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
padding: 10px 0;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
|
||||
&:first-child {
|
||||
border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
|
||||
// border-radius: 5px 0 0 5px;
|
||||
border-radius: 10px 0 0 10px;
|
||||
}
|
||||
}
|
||||
.el-table__row > td {
|
||||
font-size: 12px;
|
||||
color: #333333;
|
||||
&:last-child {
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
|
||||
// border-radius: 0 5px 5px 0;
|
||||
border-radius: 0 10px 10px 0;
|
||||
right: 1px;
|
||||
}
|
||||
}
|
||||
.el-table__body tr:hover > td.el-table__cell {
|
||||
background-color: rgba(0, 110, 255, 0.05);
|
||||
}
|
||||
.el-table__fixed::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,33 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 动态模版请求
|
||||
export function getApiModuleApi(obj, data = {}) {
|
||||
return request({
|
||||
url: '/kangarooDataCenter/entranceController/option',
|
||||
method: 'post',
|
||||
headers: obj,
|
||||
data
|
||||
})
|
||||
}
|
||||
export function getApiResultApi(data = {}) {
|
||||
return request({
|
||||
url: '/kangarooDataCenter/entranceController/option ',
|
||||
method: 'post',
|
||||
headers: {
|
||||
tl: "appApiService",
|
||||
as: "appApi",
|
||||
dj: "debugApi"
|
||||
},
|
||||
data
|
||||
})
|
||||
}
|
||||
export function getExcelApi(obj, data = {}) {
|
||||
return request({
|
||||
url: '/kangarooDataCenter/entranceController/option ',
|
||||
method: 'post',
|
||||
responseType: "blob",
|
||||
headers: obj,
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,66 @@
|
|||
import request from "@/utils/request";
|
||||
//获取单据审批按钮权限
|
||||
export function getAuditBtn(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/GetBillOperateBtn",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//审批流-提交审核
|
||||
export function submitAudit(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/SubmitAudit",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//审批流-审核
|
||||
export function audit(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/Audit",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//加签
|
||||
export function auditAddFlow(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/AddBillWorkFlowNote",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//获取单据审批记录
|
||||
export function getAuditNote(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/GetAuditNoteList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//审批流-已读
|
||||
export function read(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/Read",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//审批流-撤销审核
|
||||
export function removeAudit(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/Revocation",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//获取单据审批流程
|
||||
export function getAuditList(data) {
|
||||
return request({
|
||||
url: "/Api/Workflow/SowBillWork",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
import request from "@/utils/request";
|
||||
|
||||
export function authApi(tl,as,dj,url = '',data){
|
||||
return request({
|
||||
url: '/kangarooDataCenter/entranceController/option' + url,
|
||||
headers: {
|
||||
tl:tl,
|
||||
as:as,
|
||||
dj:dj,
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//登录
|
||||
export function loginToken(data) {
|
||||
return request({
|
||||
url: "/Api/Token/CreateToken",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
//token认证
|
||||
export function CheckToken(data) {
|
||||
return request({
|
||||
url: "Api/Base/CheckToken",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//组织机构列表
|
||||
export function GetOrganTree(data) {
|
||||
return request({
|
||||
url: "OrganManage/GetOrganTree",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//上传文件管理器
|
||||
export function UploadFiles(data, onUploadProgress) {
|
||||
return request({
|
||||
url: "/Api/Attachments/UploadToMinio",
|
||||
method: "post",
|
||||
data,
|
||||
onUploadProgress,
|
||||
});
|
||||
}
|
||||
//上传服务器本地
|
||||
export function UploadFilesLocal(data, onUploadProgress) {
|
||||
return request({
|
||||
url: "/api/Attachments/UploadFiles",
|
||||
method: "post",
|
||||
data,
|
||||
onUploadProgress,
|
||||
});
|
||||
}
|
||||
// 上传列表
|
||||
export function UploadList(data, onUploadProgress) {
|
||||
return request({
|
||||
url: "/api/Attachments/GetFileList",
|
||||
method: "post",
|
||||
data,
|
||||
onUploadProgress,
|
||||
});
|
||||
}
|
||||
export function DownloadFiles(data) {
|
||||
return request({
|
||||
url: "/Api/Attachments/DownloadFiles",
|
||||
method: "post",
|
||||
data,
|
||||
responseType: "blob",
|
||||
});
|
||||
}
|
||||
// 查看
|
||||
export function downloadFromMinio(data) {
|
||||
return request({
|
||||
url: "/api/Attachments/DownloadFromMinio",
|
||||
method: "post",
|
||||
data,
|
||||
responseType: "blob",
|
||||
});
|
||||
}
|
||||
//获取token
|
||||
export function getToken(data) {
|
||||
return request({
|
||||
url: "/Api/Token/CreateToken",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export function commonFun(url, data) {
|
||||
return request({
|
||||
url: url,
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
import request from "@/utils/request";
|
||||
|
||||
export function GetProjectBugList(data) {
|
||||
return request({
|
||||
url: "/api/BugManager/GetProjectBugList",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: "/api/BugManager/GetBillList",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function SaveData(data) {
|
||||
return request({
|
||||
url: "/api/BugManager/SaveData",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function GetBillData(data) {
|
||||
return request({
|
||||
url: "/api/BugManager/GetBillData",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: "api/BugManager/DelData",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
import request from '@/utils/request'
|
||||
//获取菜单树
|
||||
export function buttonGetMenBillList() {
|
||||
return request({
|
||||
url: '/Api/OperationButton/GetMenBillList',
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
//操作按钮列表数据获取
|
||||
export function buttonGetBillList(data) {
|
||||
return request({
|
||||
url: '/Api/OperationButton/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
//保存方法
|
||||
export function buttonSaveData(data) {
|
||||
return request({
|
||||
url: '/Api/OperationButton/SaveData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
//删除方法
|
||||
export function buttonDelData(data) {
|
||||
return request({
|
||||
url: '/Api/OperationButton/DelData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 获取销售合同列表
|
||||
export function getContractList(data) {
|
||||
return request({
|
||||
url:'/api/Contract/GetBillList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取销售合同详情
|
||||
export function getContractDetails(data) {
|
||||
return request({
|
||||
url:'/api/Contract/GetBillData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除合同
|
||||
export function OrganDelContract(data) {
|
||||
return request({
|
||||
url: 'api/Contract/DelData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
// 获取合同类型
|
||||
export function typeOfContract(data) {
|
||||
return request({
|
||||
url: 'api/Contract/GetConTotal',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 合同变更记录
|
||||
export function contractChangeNote(data) {
|
||||
return request({
|
||||
url: 'api/Contract/GetChangeList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,65 @@
|
|||
import request from '@/utils/request'
|
||||
// 分类数据获取
|
||||
export function dataDictionaryGetTypeList(data) {
|
||||
return request({
|
||||
url: '/api/DataDictionary/GetTypeList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 保存分类
|
||||
export function dataDictionarySaveTypeData(data) {
|
||||
return request({
|
||||
url: '/Api/DataDictionary/SaveTypeData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 分类详情
|
||||
export function dataDictionaryGetTypeData(data) {
|
||||
return request({
|
||||
url: '/api/DataDictionary/GetTypeData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 分类删除
|
||||
export function dataDictionaryDelTypeData(data) {
|
||||
return request({
|
||||
url: '/api/DataDictionary/DelTypeData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据字典列表
|
||||
export function dataDictionaryGetBillList(data) {
|
||||
return request({
|
||||
url: '/api/DataDictionary/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据字典列表详情
|
||||
export function dataDictionaryGetBillData(data) {
|
||||
return request({
|
||||
url: '/api/DataDictionary/GetBillData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据字典列表删保存
|
||||
export function dataDictionarySaveData(data) {
|
||||
return request({
|
||||
url: '/Api/DataDictionary/SaveData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据字典列表删除
|
||||
export function DataDictionaryDelDatat(data) {
|
||||
return request({
|
||||
url: '/api/DataDictionary/DelData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
import request from "@/utils/request";
|
||||
//获取数据源设置信息
|
||||
export function getData(data) {
|
||||
return request({
|
||||
url: "/Api/SysSet/GetInitSet",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//保存数据源信息
|
||||
export function saveData(data) {
|
||||
return request({
|
||||
url: "/Api/SysSet/SaveDBSet",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//数据库连接测试
|
||||
export function dataTest(data) {
|
||||
return request({
|
||||
url: "/Api/SysSet/DataBaseTest",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//初始化设置 保存
|
||||
|
||||
export function initSet(data) {
|
||||
return request({
|
||||
url: "/Api/SysSet/SaveInitSet",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 获取全部插件列表
|
||||
export function option(obj, data = {}) {
|
||||
return request({
|
||||
url: '/kangarooDataCenter/entranceController/option',
|
||||
method: 'post',
|
||||
headers: obj,
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,153 @@
|
|||
import request from '@/utils/request'
|
||||
// 单据列表数据获取
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: '/api/BillMachine/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 单据详情获取
|
||||
export function GetBillData(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/GetBillData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据库表字段集合获取
|
||||
export function GetTablesCoulmn(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/GetTablesCoulmn',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 保存单据
|
||||
export function SaveData(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/SaveData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 删除单据
|
||||
export function DelMain(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/DelMain',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 删除单据数据库表行数据
|
||||
export function DelTables(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/DelTables',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 删除单据数据库表字段数据
|
||||
export function DelTableColumn(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/DelTableColumn',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 单据编号规则详情获取
|
||||
export function GetBillCodeSet(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/GetBillCodeSet',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 单据编号规则保存
|
||||
export function SaveBillCodeSet(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/SaveBillCodeSet',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 单据数据权限设置保存
|
||||
export function SaveBillDataPepedomSet(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/SaveBillDataPepedomSet',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 单据数据权限详情获取
|
||||
export function GetBillDataPepedomSet(data) {
|
||||
return request({
|
||||
url: '/Api/BillMachine/GetBillDataPepedomSet',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 代码生成
|
||||
export function BillMachineCreateCode(data){
|
||||
return request({
|
||||
url: '/api/BillMachine/CreateCode',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 代码生成-数据库生成
|
||||
export function BillMachineCreateDBTables(data){
|
||||
return request({
|
||||
url: 'api/BillMachine/CreateDBTables',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// sql校验
|
||||
export function BillMachineCheckSql(data){
|
||||
return request({
|
||||
url: '/api/BillMachine/CheckSql',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 查询方案-获取单据查询方案
|
||||
export function BillMachineGetBillQueryPlan(data){
|
||||
return request({
|
||||
url: '/api/BillMachine/GetBillQueryPlan',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 查询方案-保存
|
||||
export function BillMachineSaveBillQueryPlan(data){
|
||||
return request({
|
||||
url: '/api/BillMachine/SaveBillQueryPlan',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据源-获取单据标准数据源
|
||||
export function BillMachineGetDataSource(data){
|
||||
return request({
|
||||
url: '/api/BillMachine/GetDataSource',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据源-保存
|
||||
export function BillMachineSaveDataSource(data){
|
||||
return request({
|
||||
url: '/api/BillMachine/SaveDataSource',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 数据源-获取单据列表显示字段(默认+个人)
|
||||
export function GetDataSourcePerson(data){
|
||||
return request({
|
||||
url: 'api/BillMachine/GetDataSourcePerson',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,272 @@
|
|||
/**
|
||||
* @description 档案管理相关接口
|
||||
*/
|
||||
import request from "@/utils/request";
|
||||
|
||||
/**************************客户档案相关接口*********************** */
|
||||
// 客户档案表格数据接口
|
||||
export function getUserTableList(data) {
|
||||
return request({
|
||||
url: "/api/Customer/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 客户档案组织列表
|
||||
export function getUserMenuList(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetCusBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 省市县
|
||||
export function GetListByparentID(data) {
|
||||
return request({
|
||||
url: "/api/Administrative/GetListByparentID",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 客户档案保存数据
|
||||
export function customerSaveData(data) {
|
||||
return request({
|
||||
url: "/api/Customer/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 分管部门组织机构树
|
||||
export function GetOrganTree(data) {
|
||||
return request({
|
||||
url: "/Api/Organ/GetOrganTree",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 当前行详细信息
|
||||
export function GetBillData(data) {
|
||||
return request({
|
||||
url: "/api/Customer/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 删除
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: "/api/Customer/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 档案分配所属公司
|
||||
export function SaveVenDate(data) {
|
||||
return request({
|
||||
url: "/api/Classify/SaveVenDate",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 查询分配所属公司
|
||||
export function GetDistribute(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetCompany",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**************************供应商档案相关接口*********************** */
|
||||
// 供应商列表数据获取
|
||||
export function vendorGetBillList(data) {
|
||||
return request({
|
||||
url: "/api/Vendor/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 供应商档案保存
|
||||
export function vendorSaveData(data) {
|
||||
return request({
|
||||
url: "/api/Vendor/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 供应商详细信息
|
||||
export function vendorGetBillData(data) {
|
||||
return request({
|
||||
url: "/api/Vendor/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//供应商档案列表删除
|
||||
export function vendorDelData(data) {
|
||||
return request({
|
||||
url: "/api/Vendor/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
/**************************存货档案相关接口*********************** */
|
||||
// 存货档案树
|
||||
export function GetInvBillList(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetInvBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 存货档案列表
|
||||
export function inventoryGetBillList(data) {
|
||||
return request({
|
||||
url: "/api/Inventory/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 存货档案列表详细信息
|
||||
export function inventoryGetBillEditList(data) {
|
||||
return request({
|
||||
url: "/api/Inventory/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 存货档案保存
|
||||
export function inventorySaveData(data) {
|
||||
return request({
|
||||
url: "/api/Inventory/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 存货档案删除
|
||||
export function inventoryDelData(data) {
|
||||
return request({
|
||||
url: "/api/Inventory/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
/**************************客户档案 供应商档案 组织机构树*********************** */
|
||||
// 保存组织机构树
|
||||
export function classifySaveCusData(data) {
|
||||
return request({
|
||||
url: "/api/Classify/SaveCusData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
export function classifyDelCusData(data) {
|
||||
return request({
|
||||
url: "/api/Classify/DelCusData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 组织机构树详细信息
|
||||
export function GetCusEditList(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetCusBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**************************存货档案 组织机构树*********************** */
|
||||
// 保存组织机构树
|
||||
export function classifySaveInvData(data) {
|
||||
return request({
|
||||
url: "/api/Classify/SaveInvData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 删除
|
||||
export function classifyDelInvData(data) {
|
||||
return request({
|
||||
url: "/api/Classify/DelInvData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 组织机构树详细信息
|
||||
export function GetInvEditList(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetInvBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 存货档案 计量单位
|
||||
export function dataDictionaryGetBillData(data) {
|
||||
return request({
|
||||
url: "/api/DataDictionary/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export function AttachmentsUploadFiles(data) {
|
||||
return request({
|
||||
url: "/Api/Attachments/UploadFiles",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**************************合同阶段档案相关接口*********************** */
|
||||
// 获取合同阶段档案列表数据
|
||||
export function contractBillList(data) {
|
||||
return request({
|
||||
url: "/api/Phase/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//启用停用-是否开票-是否确认收入
|
||||
export function switchLock(data) {
|
||||
return request({
|
||||
url: "/api/Phase/lockState",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//获取单据列表数据
|
||||
export function getBillList(data) {
|
||||
return request({
|
||||
url: "/api/BillMachine/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//合同档案管理详情的编辑
|
||||
export function getBillDataRow(data) {
|
||||
return request({
|
||||
url: "/api/Phase/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//合同档案保存
|
||||
export function saveBillList(data) {
|
||||
return request({
|
||||
url: "/api/Phase/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//合同阶段档案删除
|
||||
export function delBillList(data) {
|
||||
return request({
|
||||
url: "/api/Phase/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 获取审批流列表数据
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: '/Api/Workflow/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
// 获取人员
|
||||
export function GetPersonnelList(data) {
|
||||
return request({
|
||||
url: '/api/Person/GetBillList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取角色
|
||||
export function GetRoleList(data) {
|
||||
return request({
|
||||
url: '/api/Roles/GetBillList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 保存审批流程
|
||||
export function SaveBill(data) {
|
||||
return request({
|
||||
url:'/Api/Workflow/SaveData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function deleteList(data) {
|
||||
return request({
|
||||
url:'/Api/Workflow/DelData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
import request from '@/utils/request'
|
||||
// 集成应用需求表单获取
|
||||
// 登录方法
|
||||
/*
|
||||
obj:后端通过路由meta传进来的tl,as,dj信息
|
||||
*/
|
||||
export function login(obj) {
|
||||
return request({
|
||||
url: 'kangarooDataCenter/entranceController/option',
|
||||
headers: {
|
||||
isToken: false,
|
||||
tl:obj.tl,
|
||||
as:obj.as,
|
||||
dj:obj.dj,
|
||||
},
|
||||
method: 'post',
|
||||
})
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
import request from '@/utils/request'
|
||||
// 表格数据获取
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: '/api/ApiActionLog/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 表格数据详情
|
||||
export function GetExecuteResult(data) {
|
||||
return request({
|
||||
url: '/api/ApiActionLog/GetExecuteResult',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
import request from '@/utils/request'
|
||||
// 获取设置详情
|
||||
export function GetPppedomSet(data) {
|
||||
return request({
|
||||
url: '/api/Popedom/GetPppedomSet',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得所有按钮
|
||||
export function GetAllButton(data) {
|
||||
return request({
|
||||
url: '/api/Popedom/GetAllButton',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得所有数据权限字段集合
|
||||
export function GetAllBillDataPepedom(data) {
|
||||
return request({
|
||||
url: '/api/Popedom/GetAllBillDataPepedom',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获得所有权限单据
|
||||
export function GetAllBilldata(data) {
|
||||
return request({
|
||||
url: '/api/Popedom/GetAllBilldata',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 保存所有权限
|
||||
export function PopedomSaveData(data) {
|
||||
return request({
|
||||
url: 'api/Popedom/SaveData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
import request from '@/utils/request'
|
||||
// 保存线索
|
||||
export function SaveData(data) {
|
||||
return request({
|
||||
url: 'api/Clue/SaveData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 获取线索列表
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: 'api/Clue/GetBillList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 获取线索详情
|
||||
export function GetBillData(data) {
|
||||
return request({
|
||||
url: 'api/Clue/GetBillData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除相关联系人(子表)
|
||||
export function DelBusiness(data) {
|
||||
return request({
|
||||
url: 'api/Clue/DelBusiness_ClueContacts',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: 'api/Clue/DelData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
// 附件上传
|
||||
import request from "@/utils/request";
|
||||
|
||||
export function uploadLogo(data) {
|
||||
return request({
|
||||
url: "/kangarooDataCenter/entranceController/fileUpload",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//下载
|
||||
export function downloadLogo(id) {
|
||||
return request({
|
||||
url: "/kangarooDataCenter/entranceController/fileDownloadNew?id=" + id,
|
||||
method: "get",
|
||||
responseType: "arraybuffer",
|
||||
});
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
import request from '@/utils/request'
|
||||
// 菜单列表
|
||||
export function GetMenu(data) {
|
||||
return request({
|
||||
url: '/api/Menu/GetMenu',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 菜单树形结构
|
||||
export function GetMenuTree(data) {
|
||||
return request({
|
||||
url: '/api/Menu/GetMenuTree',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 菜单详情
|
||||
export function GetBillData(data) {
|
||||
return request({
|
||||
url: '/api/Menu/GetBillData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 菜单保存
|
||||
export function MenuSaveData(data) {
|
||||
return request({
|
||||
url: '/Api/Menu/SaveData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 菜单删除
|
||||
export function MenuDelData(data) {
|
||||
return request({
|
||||
url: '/Api/Menu/DelData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
// 收藏菜单列表
|
||||
export function GetMyCollectionData(data) {
|
||||
return request({
|
||||
url: '/api/Menu/GetMyCollectionMenuData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 收藏菜单
|
||||
export function SaveDelMenuData(data) {
|
||||
return request({
|
||||
url: '/api/Menu/SaveDelMyCollectionMenuData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
import request from '@/utils/request'
|
||||
// 首页顶部消息
|
||||
export function GetMessageData(data) {
|
||||
return request({
|
||||
url: '/api/Message/GetMessageData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 全部已读
|
||||
export function ReadMessage(data) {
|
||||
return request({
|
||||
url: '/api/Message/ReadMessage',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,139 @@
|
|||
import request from "@/utils/request";
|
||||
// 任务下发
|
||||
//列表
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//保存
|
||||
export function SaveData(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//删除
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
//详情
|
||||
export function DetialData(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
///////////////////////计划面板
|
||||
|
||||
//名言
|
||||
export function aphorism(data) {
|
||||
return request({
|
||||
url: "/apis.juhe.cn/fapigx/mingyan/query",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
//保存
|
||||
export function planSave(data) {
|
||||
return request({
|
||||
url: "/api/WeekPlan/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//列表
|
||||
export function planList(data) {
|
||||
return request({
|
||||
url: "/api/WeekPlan/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//我的计划列表
|
||||
export function myPlanList(data) {
|
||||
return request({
|
||||
url: "/api/WeekPlan/GetMyList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
///////////////////我的日志
|
||||
//列表
|
||||
export function myLogList(data) {
|
||||
return request({
|
||||
url: "/api/WorkDiary/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//保存
|
||||
export function myLogSave(data) {
|
||||
return request({
|
||||
url: "/api/WorkDiary/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//删除
|
||||
export function myLogDel(data) {
|
||||
return request({
|
||||
url: "/api/WorkDiary/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
//详情
|
||||
export function myLogDetial(data) {
|
||||
return request({
|
||||
url: "/api/WorkDiary/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
/////////我的任务
|
||||
//任务反馈
|
||||
export function myTaskBack(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/SaveBackData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//列表
|
||||
export function myTaskList(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/GetMyList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
/////////任务审核
|
||||
//任务列表
|
||||
export function taskAuditList(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/GetAuditList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//审核
|
||||
export function taskAudit(data) {
|
||||
return request({
|
||||
url: "/api/WeekWork/AuditData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
import request from '@/utils/request'
|
||||
// 列表
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: 'api/BusOpportunity/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 保存
|
||||
export function SaveData(data) {
|
||||
return request({
|
||||
url: 'api/BusOpportunity/SaveData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 删除
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: 'api/BusOpportunity/DelData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 详情
|
||||
export function GetBillData(data) {
|
||||
return request({
|
||||
url: 'api/BusOpportunity/GetBillData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,159 @@
|
|||
import request from "@/utils/request";
|
||||
// 部门树形数据
|
||||
export function GetOrganTree(data) {
|
||||
return request({
|
||||
url: "/Api/Organ/GetOrganTree",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 获取详情
|
||||
export function OrganGetBillData(data) {
|
||||
return request({
|
||||
url: "/Api/Organ/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 部门保存(新增、修改)
|
||||
export function OrganSaveData(data) {
|
||||
return request({
|
||||
url: "/Api/Organ/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 删除
|
||||
export function OrganDelData(data) {
|
||||
return request({
|
||||
url: "/Api/Organ/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 所有公司列表
|
||||
export function OrganGetCompany(data) {
|
||||
return request({
|
||||
url: "/api/Organ/GetCompany",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 用户所属公司列表
|
||||
export function OrganGetUserCompany(data) {
|
||||
return request({
|
||||
url: "/api/Organ/GetUserCompany",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 供应商列表
|
||||
export function OrganGetSupplier(data) {
|
||||
return request({
|
||||
url: "/api/Vendor/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 客户列表
|
||||
export function OrganGetCustomer(data) {
|
||||
return request({
|
||||
url: "/api/Customer/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 存货档案列表
|
||||
export function OrganGetStock(data) {
|
||||
return request({
|
||||
url: "/api/Inventory/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 合同阶段列表
|
||||
export function OrganGetContract(data) {
|
||||
return request({
|
||||
url: "/api/Phase/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 项目分类
|
||||
export function OrganGetProject(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetProBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 项目详情
|
||||
export function projectDetails(data) {
|
||||
return request({
|
||||
url: "/api/Project/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 人员列表
|
||||
export function OrganGetUser(data) {
|
||||
return request({
|
||||
url: "/api/Person/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 保存合同
|
||||
export function OrganSaveContract(data) {
|
||||
return request({
|
||||
url: "/api/Contract/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 合同子表信息删除(商品)
|
||||
export function OrganDelContract(data) {
|
||||
return request({
|
||||
url: "/api/Contract/DelBusiness_Contract_detail",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 合同子表信息删除(明细)
|
||||
export function OrganDelContractDetail(data) {
|
||||
return request({
|
||||
url: "/api/Contract/DelBusiness_Contract_Phase",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取项目分类数据
|
||||
export function ProjectClassification(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetProBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取客户\供应商分类树数据
|
||||
export function connectionTree(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetCusBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取存货分类数据
|
||||
export function stockTree(data) {
|
||||
return request({
|
||||
url: "/api/Classify/GetInvBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
import request from "@/utils/request";
|
||||
// 人员列表接口
|
||||
export function PersonList(data) {
|
||||
return request({
|
||||
url: "/Api/Person/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 获取人员by角色id
|
||||
export function personListByRole(data) {
|
||||
return request({
|
||||
url: "/api/Person/GetPersonByRole",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取详情
|
||||
export function PersonDetail(data) {
|
||||
return request({
|
||||
url: "/Api/Person/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 编辑
|
||||
export function PersonSaveData(data) {
|
||||
return request({
|
||||
url: "/Api/Person/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 删除
|
||||
export function PersonDelData(data) {
|
||||
return request({
|
||||
url: "/Api/Person/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 人员启用
|
||||
export function PersonOpen(data) {
|
||||
return request({
|
||||
url: "/Api/Person/Open",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 人员停用
|
||||
export function PersonClose(data) {
|
||||
return request({
|
||||
url: "/Api/Person/Close",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
import request from '@/utils/request'
|
||||
// 列表
|
||||
export function GetBillList(data) {
|
||||
return request({
|
||||
url: 'api/PreSalesSupport/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 详情
|
||||
export function GetBillData(data) {
|
||||
return request({
|
||||
url: 'api/PreSalesSupport/GetBillData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 保存
|
||||
export function SaveData(data) {
|
||||
return request({
|
||||
url: 'api/PreSalesSupport/SaveData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 删除
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: 'api/PreSalesSupport/DelData',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 删除人员数据
|
||||
export function DelDataPersonnel(data) {
|
||||
return request({
|
||||
url: 'api/PreSalesSupport/DelBusiness_PreSalesSupport_detail',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
import request from "@/utils/request";
|
||||
// 项目列表
|
||||
export function projectList(data) {
|
||||
return request({
|
||||
url: "/api/Project/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 项目详情
|
||||
export function projectDetailData(data) {
|
||||
return request({
|
||||
url: "/api/Project/GetBillData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 项目保存
|
||||
export function projectSaveData(data) {
|
||||
return request({
|
||||
url: "/api/Project/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 项目删除
|
||||
export function projectDelData(data) {
|
||||
return request({
|
||||
url: "/api/Project/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//项目成员删除
|
||||
export function projectProMemberDelData(data) {
|
||||
return request({
|
||||
url: "/api/Project/DelBusiness_ProMember",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 项目阶段删除
|
||||
export function projectProPhaseDelData(data) {
|
||||
return request({
|
||||
url: "/api/Project/DelBusiness_ProPhase",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
import request from '@/utils/request'
|
||||
//获取注册信息
|
||||
export function register(data) {
|
||||
return request({
|
||||
url: '/Api/SysSet/GetRegister',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
//获取密钥
|
||||
export function getSercet(data) {
|
||||
return request({
|
||||
url: '/Api/SysSet/OnlineRegister',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
//保存注册信息
|
||||
export function saveInfo(data) {
|
||||
return request({
|
||||
url: '/Api/SysSet/SaveRegister',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
import request from '@/utils/request'
|
||||
// 角色列表接口
|
||||
export function RoleGetBillList(data) {
|
||||
return request({
|
||||
url: '/api/Roles/GetBillList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 角色编辑
|
||||
export function RoleGetBillEditList(data) {
|
||||
return request({
|
||||
url: '/api/Roles/GetBillEditList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 角色删除
|
||||
export function RoleDelData(data) {
|
||||
return request({
|
||||
url: '/api/Roles/DelData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 角色保存
|
||||
export function RoleSaveData(data) {
|
||||
return request({
|
||||
url: '/api/Roles/SaveData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
import request from '@/utils/request'
|
||||
// 表格数据获取
|
||||
export function TimeTaskList(data) {
|
||||
return request({
|
||||
url: '/Api/TimeTask/GetBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 表格数据详情
|
||||
export function TimeTaskDetail(data) {
|
||||
return request({
|
||||
url: '/Api/TimeTask/GetLogBillList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
// 定时器保存
|
||||
export function TimeTaskIncrease(data) {
|
||||
return request({
|
||||
url:'/Api/TimeTask/SaveData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 定时器删除
|
||||
export function TimeTaskDelete(data) {
|
||||
return request({
|
||||
url:'/Api/TimeTask/DelData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 全部定时器启用
|
||||
export function TimeTaskEnable(data) {
|
||||
return request({
|
||||
url:'/Api/TimeTask/TimeTaskStart',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 全部定时器禁用
|
||||
export function TimeTaskDisable(data) {
|
||||
return request({
|
||||
url:'/Api/TimeTask/TimeTaskStop',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 单个定时器启用禁用
|
||||
export function TimeTaskSwitch(data) {
|
||||
return request({
|
||||
url:'/Api/TimeTask/LockState',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
import request from "@/utils/request";
|
||||
// 三方列表数据获取接口
|
||||
export function OtherGetBillList(data) {
|
||||
return request({
|
||||
url: "/Api/TripartiteSystemLink/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 保存
|
||||
export function OtherSaveData(data) {
|
||||
return request({
|
||||
url: "/Api/TripartiteSystemLink/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 删除
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: "/Api/TripartiteSystemLink/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
import request from "@/utils/request";
|
||||
// 三方列表数据获取接口
|
||||
export function OtherGetBillList(data) {
|
||||
return request({
|
||||
url: "/Api/OthersystemSet/GetBillList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 保存
|
||||
export function OtherSaveData(data) {
|
||||
return request({
|
||||
url: "/Api/OthersystemSet/SaveData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 删除
|
||||
export function DelData(data) {
|
||||
return request({
|
||||
url: "/Api/OthersystemSet/DelData",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 启用/停用
|
||||
export function LockState(data) {
|
||||
return request({
|
||||
url: "/Api/OthersystemSet/LockState",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,59 @@
|
|||
import request from '@/utils/request'
|
||||
// 用户列表接口
|
||||
export function userGetBillList(data) {
|
||||
return request({
|
||||
url: '/api/User/GetBillList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 用户详情
|
||||
export function userGetBillData(data) {
|
||||
return request({
|
||||
url: '/Api/User/GetBillData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 用户保存
|
||||
export function userSaveData(data) {
|
||||
return request({
|
||||
url: '/api/User/SaveData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 用户停用
|
||||
export function userOpen(data) {
|
||||
return request({
|
||||
url: '/Api/User/Open',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 用户启用
|
||||
export function userClose(data) {
|
||||
return request({
|
||||
url: '/Api/User/Close',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 用户忘记密码
|
||||
export function userResetPwd(data) {
|
||||
return request({
|
||||
url: '/Api/User/ResetPwd',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 用户修改密码
|
||||
export function userChangePwd(data) {
|
||||
return request({
|
||||
url: '/Api/User/ChangePwd',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function getUserModuleApi(obj, data = {}) {
|
||||
return request({
|
||||
url: '/kangarooDataCenter/entranceController/option',
|
||||
method: 'post',
|
||||
headers: obj,
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,64 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 登录方法
|
||||
export function login(login_name, password) {
|
||||
const data = {
|
||||
login_name,
|
||||
password,
|
||||
}
|
||||
return request({
|
||||
url: 'kangarooDataCenter/entranceController/option',
|
||||
headers: {
|
||||
isToken: false,
|
||||
tl: 'loginService',
|
||||
as: 'sysTestjdbc',
|
||||
dj: 'doLogin'
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 注册方法
|
||||
export function register(data) {
|
||||
return request({
|
||||
url: '/register',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取用户详细信息
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: '/getInfo',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 退出方法
|
||||
export function logout() {
|
||||
return request({
|
||||
url: '/logout',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取验证码
|
||||
export function getCodeImg() {
|
||||
return request({
|
||||
url: '/captchaImage',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'get',
|
||||
timeout: 20000
|
||||
})
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 获取路由
|
||||
export const getRouters = (data) => {
|
||||
return request({
|
||||
url: '/api/Menu/GetMenu',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询缓存详细
|
||||
export function getCache() {
|
||||
return request({
|
||||
url: '/monitor/cache',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询缓存名称列表
|
||||
export function listCacheName() {
|
||||
return request({
|
||||
url: '/monitor/cache/getNames',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询缓存键名列表
|
||||
export function listCacheKey(cacheName) {
|
||||
return request({
|
||||
url: '/monitor/cache/getKeys/' + cacheName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询缓存内容
|
||||
export function getCacheValue(cacheName, cacheKey) {
|
||||
return request({
|
||||
url: '/monitor/cache/getValue/' + cacheName + '/' + cacheKey,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 清理指定名称缓存
|
||||
export function clearCacheName(cacheName) {
|
||||
return request({
|
||||
url: '/monitor/cache/clearCacheName/' + cacheName,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 清理指定键名缓存
|
||||
export function clearCacheKey(cacheKey) {
|
||||
return request({
|
||||
url: '/monitor/cache/clearCacheKey/' + cacheKey,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 清理全部缓存
|
||||
export function clearCacheAll() {
|
||||
return request({
|
||||
url: '/monitor/cache/clearCacheAll',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询定时任务调度列表
|
||||
export function listJob(query) {
|
||||
return request({
|
||||
url: '/monitor/job/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询定时任务调度详细
|
||||
export function getJob(jobId) {
|
||||
return request({
|
||||
url: '/monitor/job/' + jobId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增定时任务调度
|
||||
export function addJob(data) {
|
||||
return request({
|
||||
url: '/monitor/job',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改定时任务调度
|
||||
export function updateJob(data) {
|
||||
return request({
|
||||
url: '/monitor/job',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除定时任务调度
|
||||
export function delJob(jobId) {
|
||||
return request({
|
||||
url: '/monitor/job/' + jobId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 任务状态修改
|
||||
export function changeJobStatus(jobId, status) {
|
||||
const data = {
|
||||
jobId,
|
||||
status
|
||||
}
|
||||
return request({
|
||||
url: '/monitor/job/changeStatus',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 定时任务立即执行一次
|
||||
export function runJob(jobId, jobGroup) {
|
||||
const data = {
|
||||
jobId,
|
||||
jobGroup
|
||||
}
|
||||
return request({
|
||||
url: '/monitor/job/run',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询调度日志列表
|
||||
export function listJobLog(query) {
|
||||
return request({
|
||||
url: '/monitor/jobLog/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除调度日志
|
||||
export function delJobLog(jobLogId) {
|
||||
return request({
|
||||
url: '/monitor/jobLog/' + jobLogId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 清空调度日志
|
||||
export function cleanJobLog() {
|
||||
return request({
|
||||
url: '/monitor/jobLog/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询登录日志列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/monitor/logininfor/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除登录日志
|
||||
export function delLogininfor(infoId) {
|
||||
return request({
|
||||
url: '/monitor/logininfor/' + infoId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 解锁用户登录状态
|
||||
export function unlockLogininfor(userName) {
|
||||
return request({
|
||||
url: '/monitor/logininfor/unlock/' + userName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 清空登录日志
|
||||
export function cleanLogininfor() {
|
||||
return request({
|
||||
url: '/monitor/logininfor/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询在线用户列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/monitor/online/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 强退用户
|
||||
export function forceLogout(tokenId) {
|
||||
return request({
|
||||
url: '/monitor/online/' + tokenId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue