32118 changed files with 3036 additions and 4149405 deletions
@ -1,10 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 9999 |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,10 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 9999 |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,3 +0,0 @@ |
|||
VITE_APP_PORT=9999 |
|||
VITE_APP_BASE_API=/api |
|||
VITE_APP_BASE_URL=http://172.20.2.87:39168 |
|||
@ -1,3 +0,0 @@ |
|||
VITE_APP_PORT=9999 |
|||
VITE_APP_BASE_API=/api |
|||
VITE_APP_BASE_URL=http://172.20.2.87:39168 |
|||
@ -1,12 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 9999 |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_BASE_URL=http://172.20.2.87:39168 |
|||
|
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,11 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 9999 |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_BASE_URL=http://172.20.2.87:39168 |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,10 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 9999 |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,10 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,10 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 39168 |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,10 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 39168 |
|||
VITE_APP_BASE_API = '' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,10 +0,0 @@ |
|||
## 开发环境 |
|||
|
|||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
|||
NODE_ENV='development' |
|||
|
|||
VITE_APP_TITLE = 'vue3-element-admin' |
|||
VITE_APP_PORT = 9999 |
|||
VITE_APP_BASE_API = '/dev-api' |
|||
VITE_APP_BASE_URL = 'http://myvuetest.net' |
|||
VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' |
|||
@ -1,15 +0,0 @@ |
|||
import { defineConfig } from 'vite'; |
|||
|
|||
export default defineConfig({ |
|||
build: { |
|||
rollupOptions: { |
|||
// 在这里设置环境变量 |
|||
output: { |
|||
// 使用 import.meta.env 进行配置 |
|||
globals: { |
|||
'process.env.NODE_ENV': JSON.stringify(import.meta.env.MODE), |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
}); |
|||
@ -1,116 +0,0 @@ |
|||
{ |
|||
"name": "appsys", |
|||
"private": true, |
|||
"version": "2.3.0", |
|||
"type": "module", |
|||
"scripts": { |
|||
"dev": "vite serve --mode development", |
|||
"build:prod": "vite build --mode production &&vue-tsc --noEmit", |
|||
"prepare": "husky install", |
|||
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", |
|||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", |
|||
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", |
|||
"lint:lint-staged": "lint-staged", |
|||
"commit": "git-cz" |
|||
}, |
|||
"config": { |
|||
"commitizen": { |
|||
"path": "node_modules/cz-git" |
|||
} |
|||
}, |
|||
"lint-staged": { |
|||
"*.{js,ts}": [ |
|||
"eslint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.{cjs,json}": [ |
|||
"prettier --write" |
|||
], |
|||
"*.{vue,html}": [ |
|||
"eslint --fix", |
|||
"prettier --write", |
|||
"stylelint --fix" |
|||
], |
|||
"*.{scss,css}": [ |
|||
"stylelint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.md": [ |
|||
"prettier --write" |
|||
] |
|||
}, |
|||
"dependencies": { |
|||
"@element-plus/icons": "^0.0.11", |
|||
"@element-plus/icons-vue": "^2.1.0", |
|||
"@vitejs/plugin-vue": "^4.2.3", |
|||
"@vueuse/core": "^10.1.2", |
|||
"@wangeditor/editor": "^5.1.23", |
|||
"@wangeditor/editor-for-vue": "5.1.10", |
|||
"@wecom/jssdk": "^1.3.2", |
|||
"axios": "^1.4.0", |
|||
"build": "^0.1.4", |
|||
"clipboard": "^2.0.11", |
|||
"echarts": "^5.2.2", |
|||
"element-plus": "^2.3.12", |
|||
"js-beautify": "^1.14.8", |
|||
"js-md5": "^0.7.3", |
|||
"md5": "^2.3.0", |
|||
"nprogress": "^0.2.0", |
|||
"path-browserify": "^1.0.1", |
|||
"path-to-regexp": "^6.2.0", |
|||
"pinia": "^2.0.33", |
|||
"quill": "^1.3.7", |
|||
"screenfull": "^6.0.0", |
|||
"ts-md5": "^1.3.1", |
|||
"vue": "^3.3.4", |
|||
"vue-i18n": "9.2.2", |
|||
"vue-quill-editor": "^3.0.6", |
|||
"vue-router": "^4.2.0", |
|||
"vuedraggable": "^4.1.0", |
|||
"vuedraggable-es": "^4.1.1", |
|||
"wangeditor": "^4.7.15" |
|||
}, |
|||
"devDependencies": { |
|||
"@commitlint/cli": "^17.6.3", |
|||
"@commitlint/config-conventional": "^17.6.3", |
|||
"@iconify-json/ep": "^1.1.10", |
|||
"@types/md5": "^2.3.2", |
|||
"@types/nprogress": "^0.2.0", |
|||
"@types/path-browserify": "^1.0.0", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.6", |
|||
"@typescript-eslint/parser": "^5.59.6", |
|||
"autoprefixer": "^10.4.14", |
|||
"commitizen": "^4.3.0", |
|||
"cz-git": "^1.6.1", |
|||
"eslint": "^8.40.0", |
|||
"eslint-config-prettier": "^8.8.0", |
|||
"eslint-plugin-prettier": "^4.2.1", |
|||
"eslint-plugin-vue": "^9.13.0", |
|||
"fast-glob": "^3.2.11", |
|||
"husky": "^8.0.3", |
|||
"lint-staged": "^13.2.2", |
|||
"postcss": "^8.4.23", |
|||
"postcss-html": "^1.5.0", |
|||
"postcss-scss": "^4.0.6", |
|||
"prettier": "^2.8.8", |
|||
"sass": "^1.58.3", |
|||
"stylelint": "^15.5.0", |
|||
"stylelint-config-html": "^1.1.0", |
|||
"stylelint-config-recess-order": "^4.0.0", |
|||
"stylelint-config-recommended-scss": "11.0.0 ", |
|||
"stylelint-config-recommended-vue": "^1.4.0", |
|||
"stylelint-config-standard": "^33.0.0", |
|||
"stylelint-config-standard-scss": "^9.0.0", |
|||
"typescript": "^5.0.4", |
|||
"unocss": "^0.51.13", |
|||
"unplugin-auto-import": "^0.15.3", |
|||
"unplugin-icons": "^0.16.1", |
|||
"unplugin-vue-components": "^0.24.1", |
|||
"vite": "^4.3.5", |
|||
"vite-plugin-svg-icons": "^2.0.1", |
|||
"vue-tsc": "^1.6.5 " |
|||
}, |
|||
"repository": "", |
|||
"author": "", |
|||
"license": "MIT" |
|||
} |
|||
@ -1,116 +0,0 @@ |
|||
{ |
|||
"name": "appsys", |
|||
"private": true, |
|||
"version": "2.3.0", |
|||
"type": "module", |
|||
"scripts": { |
|||
"dev": "vite serve --mode development", |
|||
"build:prod": "vite build --mode production &&vue-tsc --noEmit", |
|||
"prepare": "husky install", |
|||
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", |
|||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", |
|||
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", |
|||
"lint:lint-staged": "lint-staged", |
|||
"commit": "git-cz", |
|||
}, |
|||
"config": { |
|||
"commitizen": { |
|||
"path": "node_modules/cz-git" |
|||
} |
|||
}, |
|||
"lint-staged": { |
|||
"*.{js,ts}": [ |
|||
"eslint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.{cjs,json}": [ |
|||
"prettier --write" |
|||
], |
|||
"*.{vue,html}": [ |
|||
"eslint --fix", |
|||
"prettier --write", |
|||
"stylelint --fix" |
|||
], |
|||
"*.{scss,css}": [ |
|||
"stylelint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.md": [ |
|||
"prettier --write" |
|||
] |
|||
}, |
|||
"dependencies": { |
|||
"@element-plus/icons": "^0.0.11", |
|||
"@element-plus/icons-vue": "^2.1.0", |
|||
"@vitejs/plugin-vue": "^4.2.3", |
|||
"@vueuse/core": "^10.1.2", |
|||
"@wangeditor/editor": "^5.1.23", |
|||
"@wangeditor/editor-for-vue": "5.1.10", |
|||
"@wecom/jssdk": "^1.3.2", |
|||
"axios": "^1.4.0", |
|||
"build": "^0.1.4", |
|||
"clipboard": "^2.0.11", |
|||
"echarts": "^5.2.2", |
|||
"element-plus": "^2.3.12", |
|||
"js-beautify": "^1.14.8", |
|||
"js-md5": "^0.7.3", |
|||
"md5": "^2.3.0", |
|||
"nprogress": "^0.2.0", |
|||
"path-browserify": "^1.0.1", |
|||
"path-to-regexp": "^6.2.0", |
|||
"pinia": "^2.0.33", |
|||
"quill": "^1.3.7", |
|||
"screenfull": "^6.0.0", |
|||
"ts-md5": "^1.3.1", |
|||
"vue": "^3.3.4", |
|||
"vue-i18n": "9.2.2", |
|||
"vue-quill-editor": "^3.0.6", |
|||
"vue-router": "^4.2.0", |
|||
"vuedraggable": "^4.1.0", |
|||
"vuedraggable-es": "^4.1.1", |
|||
"wangeditor": "^4.7.15" |
|||
}, |
|||
"devDependencies": { |
|||
"@commitlint/cli": "^17.6.3", |
|||
"@commitlint/config-conventional": "^17.6.3", |
|||
"@iconify-json/ep": "^1.1.10", |
|||
"@types/md5": "^2.3.2", |
|||
"@types/nprogress": "^0.2.0", |
|||
"@types/path-browserify": "^1.0.0", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.6", |
|||
"@typescript-eslint/parser": "^5.59.6", |
|||
"autoprefixer": "^10.4.14", |
|||
"commitizen": "^4.3.0", |
|||
"cz-git": "^1.6.1", |
|||
"eslint": "^8.40.0", |
|||
"eslint-config-prettier": "^8.8.0", |
|||
"eslint-plugin-prettier": "^4.2.1", |
|||
"eslint-plugin-vue": "^9.13.0", |
|||
"fast-glob": "^3.2.11", |
|||
"husky": "^8.0.3", |
|||
"lint-staged": "^13.2.2", |
|||
"postcss": "^8.4.23", |
|||
"postcss-html": "^1.5.0", |
|||
"postcss-scss": "^4.0.6", |
|||
"prettier": "^2.8.8", |
|||
"sass": "^1.58.3", |
|||
"stylelint": "^15.5.0", |
|||
"stylelint-config-html": "^1.1.0", |
|||
"stylelint-config-recess-order": "^4.0.0", |
|||
"stylelint-config-recommended-scss": "11.0.0 ", |
|||
"stylelint-config-recommended-vue": "^1.4.0", |
|||
"stylelint-config-standard": "^33.0.0", |
|||
"stylelint-config-standard-scss": "^9.0.0", |
|||
"typescript": "^5.0.4", |
|||
"unocss": "^0.51.13", |
|||
"unplugin-auto-import": "^0.15.3", |
|||
"unplugin-icons": "^0.16.1", |
|||
"unplugin-vue-components": "^0.24.1", |
|||
"vite": "^4.3.5", |
|||
"vite-plugin-svg-icons": "^2.0.1", |
|||
"vue-tsc": "^1.6.5 " |
|||
}, |
|||
"repository": "", |
|||
"author": "", |
|||
"license": "MIT" |
|||
} |
|||
@ -1,118 +0,0 @@ |
|||
{ |
|||
"name": "appsys", |
|||
"private": true, |
|||
"version": "2.3.0", |
|||
"type": "module", |
|||
"scripts": { |
|||
"dev": "vite serve --mode development", |
|||
"build:prod": "vite build --mode production &&vue-tsc --noEmit", |
|||
"prepare": "husky install", |
|||
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", |
|||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", |
|||
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", |
|||
"lint:lint-staged": "lint-staged", |
|||
"commit": "git-cz", |
|||
"build": "webpack --mode production" // 示例构建脚本,使用 webpack 进行生产模式构建 |
|||
|
|||
}, |
|||
"config": { |
|||
"commitizen": { |
|||
"path": "node_modules/cz-git" |
|||
} |
|||
}, |
|||
"lint-staged": { |
|||
"*.{js,ts}": [ |
|||
"eslint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.{cjs,json}": [ |
|||
"prettier --write" |
|||
], |
|||
"*.{vue,html}": [ |
|||
"eslint --fix", |
|||
"prettier --write", |
|||
"stylelint --fix" |
|||
], |
|||
"*.{scss,css}": [ |
|||
"stylelint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.md": [ |
|||
"prettier --write" |
|||
] |
|||
}, |
|||
"dependencies": { |
|||
"@element-plus/icons": "^0.0.11", |
|||
"@element-plus/icons-vue": "^2.1.0", |
|||
"@vitejs/plugin-vue": "^4.2.3", |
|||
"@vueuse/core": "^10.1.2", |
|||
"@wangeditor/editor": "^5.1.23", |
|||
"@wangeditor/editor-for-vue": "5.1.10", |
|||
"@wecom/jssdk": "^1.3.2", |
|||
"axios": "^1.4.0", |
|||
"build": "^0.1.4", |
|||
"clipboard": "^2.0.11", |
|||
"echarts": "^5.2.2", |
|||
"element-plus": "^2.3.12", |
|||
"js-beautify": "^1.14.8", |
|||
"js-md5": "^0.7.3", |
|||
"md5": "^2.3.0", |
|||
"nprogress": "^0.2.0", |
|||
"path-browserify": "^1.0.1", |
|||
"path-to-regexp": "^6.2.0", |
|||
"pinia": "^2.0.33", |
|||
"quill": "^1.3.7", |
|||
"screenfull": "^6.0.0", |
|||
"ts-md5": "^1.3.1", |
|||
"vue": "^3.3.4", |
|||
"vue-i18n": "9.2.2", |
|||
"vue-quill-editor": "^3.0.6", |
|||
"vue-router": "^4.2.0", |
|||
"vuedraggable": "^4.1.0", |
|||
"vuedraggable-es": "^4.1.1", |
|||
"wangeditor": "^4.7.15" |
|||
}, |
|||
"devDependencies": { |
|||
"@commitlint/cli": "^17.6.3", |
|||
"@commitlint/config-conventional": "^17.6.3", |
|||
"@iconify-json/ep": "^1.1.10", |
|||
"@types/md5": "^2.3.2", |
|||
"@types/nprogress": "^0.2.0", |
|||
"@types/path-browserify": "^1.0.0", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.6", |
|||
"@typescript-eslint/parser": "^5.59.6", |
|||
"autoprefixer": "^10.4.14", |
|||
"commitizen": "^4.3.0", |
|||
"cz-git": "^1.6.1", |
|||
"eslint": "^8.40.0", |
|||
"eslint-config-prettier": "^8.8.0", |
|||
"eslint-plugin-prettier": "^4.2.1", |
|||
"eslint-plugin-vue": "^9.13.0", |
|||
"fast-glob": "^3.2.11", |
|||
"husky": "^8.0.3", |
|||
"lint-staged": "^13.2.2", |
|||
"postcss": "^8.4.23", |
|||
"postcss-html": "^1.5.0", |
|||
"postcss-scss": "^4.0.6", |
|||
"prettier": "^2.8.8", |
|||
"sass": "^1.58.3", |
|||
"stylelint": "^15.5.0", |
|||
"stylelint-config-html": "^1.1.0", |
|||
"stylelint-config-recess-order": "^4.0.0", |
|||
"stylelint-config-recommended-scss": "11.0.0 ", |
|||
"stylelint-config-recommended-vue": "^1.4.0", |
|||
"stylelint-config-standard": "^33.0.0", |
|||
"stylelint-config-standard-scss": "^9.0.0", |
|||
"typescript": "^5.0.4", |
|||
"unocss": "^0.51.13", |
|||
"unplugin-auto-import": "^0.15.3", |
|||
"unplugin-icons": "^0.16.1", |
|||
"unplugin-vue-components": "^0.24.1", |
|||
"vite": "^4.3.5", |
|||
"vite-plugin-svg-icons": "^2.0.1", |
|||
"vue-tsc": "^1.6.5 " |
|||
}, |
|||
"repository": "", |
|||
"author": "", |
|||
"license": "MIT" |
|||
} |
|||
@ -1,118 +0,0 @@ |
|||
{ |
|||
"name": "appsys", |
|||
"private": true, |
|||
"version": "2.3.0", |
|||
"type": "module", |
|||
"scripts": { |
|||
"dev": "vite serve --mode development", |
|||
"build:prod": "vite build --mode production &&vue-tsc --noEmit", |
|||
"prepare": "husky install", |
|||
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", |
|||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", |
|||
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", |
|||
"lint:lint-staged": "lint-staged", |
|||
"commit": "git-cz", |
|||
"build": "webpack --mode production" |
|||
|
|||
}, |
|||
"config": { |
|||
"commitizen": { |
|||
"path": "node_modules/cz-git" |
|||
} |
|||
}, |
|||
"lint-staged": { |
|||
"*.{js,ts}": [ |
|||
"eslint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.{cjs,json}": [ |
|||
"prettier --write" |
|||
], |
|||
"*.{vue,html}": [ |
|||
"eslint --fix", |
|||
"prettier --write", |
|||
"stylelint --fix" |
|||
], |
|||
"*.{scss,css}": [ |
|||
"stylelint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.md": [ |
|||
"prettier --write" |
|||
] |
|||
}, |
|||
"dependencies": { |
|||
"@element-plus/icons": "^0.0.11", |
|||
"@element-plus/icons-vue": "^2.1.0", |
|||
"@vitejs/plugin-vue": "^4.2.3", |
|||
"@vueuse/core": "^10.1.2", |
|||
"@wangeditor/editor": "^5.1.23", |
|||
"@wangeditor/editor-for-vue": "5.1.10", |
|||
"@wecom/jssdk": "^1.3.2", |
|||
"axios": "^1.4.0", |
|||
"build": "^0.1.4", |
|||
"clipboard": "^2.0.11", |
|||
"echarts": "^5.2.2", |
|||
"element-plus": "^2.3.12", |
|||
"js-beautify": "^1.14.8", |
|||
"js-md5": "^0.7.3", |
|||
"md5": "^2.3.0", |
|||
"nprogress": "^0.2.0", |
|||
"path-browserify": "^1.0.1", |
|||
"path-to-regexp": "^6.2.0", |
|||
"pinia": "^2.0.33", |
|||
"quill": "^1.3.7", |
|||
"screenfull": "^6.0.0", |
|||
"ts-md5": "^1.3.1", |
|||
"vue": "^3.3.4", |
|||
"vue-i18n": "9.2.2", |
|||
"vue-quill-editor": "^3.0.6", |
|||
"vue-router": "^4.2.0", |
|||
"vuedraggable": "^4.1.0", |
|||
"vuedraggable-es": "^4.1.1", |
|||
"wangeditor": "^4.7.15" |
|||
}, |
|||
"devDependencies": { |
|||
"@commitlint/cli": "^17.6.3", |
|||
"@commitlint/config-conventional": "^17.6.3", |
|||
"@iconify-json/ep": "^1.1.10", |
|||
"@types/md5": "^2.3.2", |
|||
"@types/nprogress": "^0.2.0", |
|||
"@types/path-browserify": "^1.0.0", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.6", |
|||
"@typescript-eslint/parser": "^5.59.6", |
|||
"autoprefixer": "^10.4.14", |
|||
"commitizen": "^4.3.0", |
|||
"cz-git": "^1.6.1", |
|||
"eslint": "^8.40.0", |
|||
"eslint-config-prettier": "^8.8.0", |
|||
"eslint-plugin-prettier": "^4.2.1", |
|||
"eslint-plugin-vue": "^9.13.0", |
|||
"fast-glob": "^3.2.11", |
|||
"husky": "^8.0.3", |
|||
"lint-staged": "^13.2.2", |
|||
"postcss": "^8.4.23", |
|||
"postcss-html": "^1.5.0", |
|||
"postcss-scss": "^4.0.6", |
|||
"prettier": "^2.8.8", |
|||
"sass": "^1.58.3", |
|||
"stylelint": "^15.5.0", |
|||
"stylelint-config-html": "^1.1.0", |
|||
"stylelint-config-recess-order": "^4.0.0", |
|||
"stylelint-config-recommended-scss": "11.0.0 ", |
|||
"stylelint-config-recommended-vue": "^1.4.0", |
|||
"stylelint-config-standard": "^33.0.0", |
|||
"stylelint-config-standard-scss": "^9.0.0", |
|||
"typescript": "^5.0.4", |
|||
"unocss": "^0.51.13", |
|||
"unplugin-auto-import": "^0.15.3", |
|||
"unplugin-icons": "^0.16.1", |
|||
"unplugin-vue-components": "^0.24.1", |
|||
"vite": "^4.3.5", |
|||
"vite-plugin-svg-icons": "^2.0.1", |
|||
"vue-tsc": "^1.6.5 " |
|||
}, |
|||
"repository": "", |
|||
"author": "", |
|||
"license": "MIT" |
|||
} |
|||
@ -1,117 +0,0 @@ |
|||
{ |
|||
"name": "appsys", |
|||
"private": true, |
|||
"version": "2.3.0", |
|||
"type": "module", |
|||
"scripts": { |
|||
"dev": "vite serve --mode development", |
|||
"build:prod": "vite build --mode production &&vue-tsc --noEmit", |
|||
"prepare": "husky install", |
|||
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", |
|||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", |
|||
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", |
|||
"lint:lint-staged": "lint-staged", |
|||
"commit": "git-cz", |
|||
"build": "webpack --mode production" |
|||
}, |
|||
"config": { |
|||
"commitizen": { |
|||
"path": "node_modules/cz-git" |
|||
} |
|||
}, |
|||
"lint-staged": { |
|||
"*.{js,ts}": [ |
|||
"eslint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.{cjs,json}": [ |
|||
"prettier --write" |
|||
], |
|||
"*.{vue,html}": [ |
|||
"eslint --fix", |
|||
"prettier --write", |
|||
"stylelint --fix" |
|||
], |
|||
"*.{scss,css}": [ |
|||
"stylelint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.md": [ |
|||
"prettier --write" |
|||
] |
|||
}, |
|||
"dependencies": { |
|||
"@element-plus/icons": "^0.0.11", |
|||
"@element-plus/icons-vue": "^2.1.0", |
|||
"@vitejs/plugin-vue": "^4.2.3", |
|||
"@vueuse/core": "^10.1.2", |
|||
"@wangeditor/editor": "^5.1.23", |
|||
"@wangeditor/editor-for-vue": "5.1.10", |
|||
"@wecom/jssdk": "^1.3.2", |
|||
"axios": "^1.4.0", |
|||
"build": "^0.1.4", |
|||
"clipboard": "^2.0.11", |
|||
"echarts": "^5.2.2", |
|||
"element-plus": "^2.3.12", |
|||
"js-beautify": "^1.14.8", |
|||
"js-md5": "^0.7.3", |
|||
"md5": "^2.3.0", |
|||
"nprogress": "^0.2.0", |
|||
"path-browserify": "^1.0.1", |
|||
"path-to-regexp": "^6.2.0", |
|||
"pinia": "^2.0.33", |
|||
"quill": "^1.3.7", |
|||
"screenfull": "^6.0.0", |
|||
"ts-md5": "^1.3.1", |
|||
"vue": "^3.3.4", |
|||
"vue-i18n": "9.2.2", |
|||
"vue-quill-editor": "^3.0.6", |
|||
"vue-router": "^4.2.0", |
|||
"vuedraggable": "^4.1.0", |
|||
"vuedraggable-es": "^4.1.1", |
|||
"wangeditor": "^4.7.15" |
|||
}, |
|||
"devDependencies": { |
|||
"@commitlint/cli": "^17.6.3", |
|||
"@commitlint/config-conventional": "^17.6.3", |
|||
"@iconify-json/ep": "^1.1.10", |
|||
"@types/md5": "^2.3.2", |
|||
"@types/nprogress": "^0.2.0", |
|||
"@types/path-browserify": "^1.0.0", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.6", |
|||
"@typescript-eslint/parser": "^5.59.6", |
|||
"autoprefixer": "^10.4.14", |
|||
"commitizen": "^4.3.0", |
|||
"cz-git": "^1.6.1", |
|||
"eslint": "^8.40.0", |
|||
"eslint-config-prettier": "^8.8.0", |
|||
"eslint-plugin-prettier": "^4.2.1", |
|||
"eslint-plugin-vue": "^9.13.0", |
|||
"fast-glob": "^3.2.11", |
|||
"husky": "^8.0.3", |
|||
"lint-staged": "^13.2.2", |
|||
"postcss": "^8.4.23", |
|||
"postcss-html": "^1.5.0", |
|||
"postcss-scss": "^4.0.6", |
|||
"prettier": "^2.8.8", |
|||
"sass": "^1.58.3", |
|||
"stylelint": "^15.5.0", |
|||
"stylelint-config-html": "^1.1.0", |
|||
"stylelint-config-recess-order": "^4.0.0", |
|||
"stylelint-config-recommended-scss": "11.0.0 ", |
|||
"stylelint-config-recommended-vue": "^1.4.0", |
|||
"stylelint-config-standard": "^33.0.0", |
|||
"stylelint-config-standard-scss": "^9.0.0", |
|||
"typescript": "^5.0.4", |
|||
"unocss": "^0.51.13", |
|||
"unplugin-auto-import": "^0.15.3", |
|||
"unplugin-icons": "^0.16.1", |
|||
"unplugin-vue-components": "^0.24.1", |
|||
"vite": "^4.3.5", |
|||
"vite-plugin-svg-icons": "^2.0.1", |
|||
"vue-tsc": "^1.6.5 " |
|||
}, |
|||
"repository": "", |
|||
"author": "", |
|||
"license": "MIT" |
|||
} |
|||
@ -1,119 +0,0 @@ |
|||
{ |
|||
"name": "appsys", |
|||
"private": true, |
|||
"version": "2.3.0", |
|||
"type": "module", |
|||
"scripts": { |
|||
"dev": "vite serve --mode development", |
|||
"build:prod": "vite build --mode production &&vue-tsc --noEmit", |
|||
"prepare": "husky install", |
|||
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", |
|||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", |
|||
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", |
|||
"lint:lint-staged": "lint-staged", |
|||
"commit": "git-cz", |
|||
"build": "webpack" |
|||
}, |
|||
"config": { |
|||
"commitizen": { |
|||
"path": "node_modules/cz-git" |
|||
} |
|||
}, |
|||
"lint-staged": { |
|||
"*.{js,ts}": [ |
|||
"eslint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.{cjs,json}": [ |
|||
"prettier --write" |
|||
], |
|||
"*.{vue,html}": [ |
|||
"eslint --fix", |
|||
"prettier --write", |
|||
"stylelint --fix" |
|||
], |
|||
"*.{scss,css}": [ |
|||
"stylelint --fix", |
|||
"prettier --write" |
|||
], |
|||
"*.md": [ |
|||
"prettier --write" |
|||
] |
|||
}, |
|||
"dependencies": { |
|||
"@element-plus/icons": "^0.0.11", |
|||
"@element-plus/icons-vue": "^2.1.0", |
|||
"@vitejs/plugin-vue": "^4.2.3", |
|||
"@vueuse/core": "^10.1.2", |
|||
"@wangeditor/editor": "^5.1.23", |
|||
"@wangeditor/editor-for-vue": "5.1.10", |
|||
"@wecom/jssdk": "^1.3.2", |
|||
"axios": "^1.4.0", |
|||
"build": "^0.1.4", |
|||
"clipboard": "^2.0.11", |
|||
"echarts": "^5.2.2", |
|||
"element-plus": "^2.3.12", |
|||
"js-beautify": "^1.14.8", |
|||
"js-md5": "^0.7.3", |
|||
"md5": "^2.3.0", |
|||
"nprogress": "^0.2.0", |
|||
"path-browserify": "^1.0.1", |
|||
"path-to-regexp": "^6.2.0", |
|||
"pinia": "^2.0.33", |
|||
"quill": "^1.3.7", |
|||
"screenfull": "^6.0.0", |
|||
"ts-md5": "^1.3.1", |
|||
"vue": "^3.3.4", |
|||
"vue-i18n": "9.2.2", |
|||
"vue-quill-editor": "^3.0.6", |
|||
"vue-router": "^4.2.0", |
|||
"vuedraggable": "^4.1.0", |
|||
"vuedraggable-es": "^4.1.1", |
|||
"wangeditor": "^4.7.15", |
|||
"webpack": "^5.88.2" |
|||
}, |
|||
"devDependencies": { |
|||
"@commitlint/cli": "^17.6.3", |
|||
"@commitlint/config-conventional": "^17.6.3", |
|||
"@iconify-json/ep": "^1.1.10", |
|||
"@types/md5": "^2.3.2", |
|||
"@types/nprogress": "^0.2.0", |
|||
"@types/path-browserify": "^1.0.0", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.6", |
|||
"@typescript-eslint/parser": "^5.59.6", |
|||
"autoprefixer": "^10.4.14", |
|||
"commitizen": "^4.3.0", |
|||
"cz-git": "^1.6.1", |
|||
"eslint": "^8.40.0", |
|||
"eslint-config-prettier": "^8.8.0", |
|||
"eslint-plugin-prettier": "^4.2.1", |
|||
"eslint-plugin-vue": "^9.13.0", |
|||
"fast-glob": "^3.2.11", |
|||
"husky": "^8.0.3", |
|||
"lint-staged": "^13.2.2", |
|||
"postcss": "^8.4.23", |
|||
"postcss-html": "^1.5.0", |
|||
"postcss-scss": "^4.0.6", |
|||
"prettier": "^2.8.8", |
|||
"sass": "^1.58.3", |
|||
"stylelint": "^15.5.0", |
|||
"stylelint-config-html": "^1.1.0", |
|||
"stylelint-config-recess-order": "^4.0.0", |
|||
"stylelint-config-recommended-scss": "11.0.0 ", |
|||
"stylelint-config-recommended-vue": "^1.4.0", |
|||
"stylelint-config-standard": "^33.0.0", |
|||
"stylelint-config-standard-scss": "^9.0.0", |
|||
"typescript": "^5.0.4", |
|||
"unocss": "^0.51.13", |
|||
"unplugin-auto-import": "^0.15.3", |
|||
"unplugin-icons": "^0.16.1", |
|||
"unplugin-vue-components": "^0.24.1", |
|||
"vite": "^4.3.5", |
|||
"vite-plugin-svg-icons": "^2.0.1", |
|||
"vue-tsc": "^1.6.5 ", |
|||
"webpack-cli": "^5.1.4" |
|||
}, |
|||
"repository": "", |
|||
"author": "", |
|||
"license": "MIT" |
|||
} |
|||
@ -1,11 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
@ -1,12 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
< |
|||
@ -1,12 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style |
|||
@ -1,13 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
</style> |
|||
@ -1,14 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
|
|||
</style> |
|||
@ -1,14 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
page |
|||
</style> |
|||
@ -1,16 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
page{ |
|||
|
|||
} |
|||
</style> |
|||
@ -1,16 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
page{ |
|||
background-color: ; |
|||
} |
|||
</style> |
|||
@ -1,16 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
page{ |
|||
background-color: #fff; |
|||
} |
|||
</style> |
|||
@ -1,16 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
{ |
|||
background-color: #fff; |
|||
} |
|||
</style> |
|||
@ -1,16 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
*{ |
|||
background-color: #fff; |
|||
} |
|||
</style> |
|||
@ -1,14 +0,0 @@ |
|||
<script setup lang="ts"> |
|||
import { ElConfigProvider } from 'element-plus'; |
|||
import { useAppStore } from '@/store/modules/app'; |
|||
const appStore = useAppStore(); |
|||
</script> |
|||
|
|||
<template> |
|||
<el-config-provider :locale="appStore.locale" :size="appStore.size"> |
|||
<router-view /> |
|||
</el-config-provider> |
|||
</template> |
|||
<style> |
|||
|
|||
</style> |
|||
@ -1,53 +0,0 @@ |
|||
import request from '@/utils/request'; |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
/** |
|||
* 获取岗位 |
|||
*/ |
|||
export function getPostContPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/positionlist', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 获取本行政组织下的职位(岗位)列表不包含子行政组织 |
|||
*/ |
|||
export function getPostContNotSunPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/get_my_posit_list', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 添加岗位信息 |
|||
*/ |
|||
export function addPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/addpositioncontpublic', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 编辑岗位信息 |
|||
*/ |
|||
export function editPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/editpositioncontpublic', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 批量删除/编辑岗位状态 |
|||
*/ |
|||
export function baseDelPostCont(data?: editPostditOrDel){ |
|||
return request({ |
|||
url: '/hrapi/org/basedelpostcont', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
@ -1,53 +0,0 @@ |
|||
import request from '@/utils/request'; |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
/** |
|||
* 获取岗位 |
|||
*/ |
|||
export function getPostContPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/positionlist', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 获取本行政组织下的职位(岗位)列表不包含子行政组织 |
|||
*/ |
|||
export function getPostContNotSunPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/get_my_posit_list', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 添加岗位信息 |
|||
*/ |
|||
export function addPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/addpositioncontpublic', |
|||
method: 'post', |
|||
}); |
|||
} data: data |
|||
|
|||
/** |
|||
* 编辑岗位信息 |
|||
*/ |
|||
export function editPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/editpositioncontpublic', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 批量删除/编辑岗位状态 |
|||
*/ |
|||
export function baseDelPostCont(data?: editPostditOrDel){ |
|||
return request({ |
|||
url: '/hrapi/org/basedelpostcont', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
@ -1,53 +0,0 @@ |
|||
import request from '@/utils/request'; |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
/** |
|||
* 获取岗位 |
|||
*/ |
|||
export function getPostContPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/positionlist', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 获取本行政组织下的职位(岗位)列表不包含子行政组织 |
|||
*/ |
|||
export function getPostContNotSunPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/get_my_posit_list', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 添加岗位信息 |
|||
*/ |
|||
export function addPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/addpositioncontpublic', |
|||
method: 'post', |
|||
}); |
|||
} data: data |
|||
|
|||
/** |
|||
* 编辑岗位信息 |
|||
*/ |
|||
export function editPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/editpositioncontpublic', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 批量删除/编辑岗位状态 |
|||
*/ |
|||
export function baseDelPostCont(data?: editPostditOrDel){ |
|||
return request({ |
|||
url: '/hrapi/org/basedelpostcont', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
@ -1,53 +0,0 @@ |
|||
import request from '@/utils/request'; |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
/** |
|||
* 获取岗位 |
|||
*/ |
|||
export function getPostContPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/positionlist', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 获取本行政组织下的职位(岗位)列表不包含子行政组织 |
|||
*/ |
|||
export function getPostContNotSunPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/get_my_posit_list', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 添加岗位信息 |
|||
*/ |
|||
export function addPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/addpositioncontpublic', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 编辑岗位信息 |
|||
*/ |
|||
export function editPostCont(data?: postContData){ |
|||
return request({ |
|||
url: '/hrapi/org/editpositioncontpublic', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
/** |
|||
* 批量删除/编辑岗位状态 |
|||
*/ |
|||
export function baseDelPostCont(data?: editPostditOrDel){ |
|||
return request({ |
|||
url: '/hrapi/org/basedelpostcont', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
status?: number; |
|||
istrue?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
ids?: number; |
|||
istrue?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
istrue?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
id?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
idst?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
idate?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
state?: number; |
|||
} |
|||
@ -1,70 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
state?: number; |
|||
|
|||
} |
|||
@ -1,70 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
state?: number; |
|||
istrue |
|||
} |
|||
@ -1,70 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
state?: number; |
|||
istrue?: |
|||
} |
|||
@ -1,70 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
idstr?: number; |
|||
state?: number; |
|||
istrue?:number; |
|||
} |
|||
@ -1,70 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:number; |
|||
idstr?: number; |
|||
state?: number; |
|||
istrue?:number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
status?: number; |
|||
istrue?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
status?: number; |
|||
istrue?: number; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
/** |
|||
* 搜索岗位 |
|||
*/ |
|||
export interface searchPost extends PageQuery{ |
|||
name?: string; |
|||
number?: string; |
|||
duties?: string; |
|||
organization?: string; |
|||
incharge?:number; |
|||
department?: string; |
|||
state?:number; |
|||
} |
|||
/** |
|||
* 岗位内容分页列表信息 |
|||
*/ |
|||
export type postContList = PageResult<postinfo[]> |
|||
/** |
|||
* 岗位内容 |
|||
*/ |
|||
export interface postinfo{ |
|||
id?: any; |
|||
number?: string; |
|||
name?: string; |
|||
duties?: number; |
|||
time?: number; |
|||
state?: number; |
|||
administrativeorganization?: number; |
|||
superior?: number; |
|||
personincharge?: number; |
|||
department?: number; |
|||
menupermit?: string; |
|||
buttonpermit?: string; |
|||
school?: number; |
|||
kingdeeid?: string; |
|||
orglist?: string; |
|||
unifyid?: number; |
|||
dutiesname?: string; |
|||
dutiesnumber?: string; |
|||
aoname?: string; |
|||
aonumber?: string; |
|||
jobname?: string; |
|||
superiorname?: string; |
|||
superiornumber?: string; |
|||
departmentname?: string; |
|||
idstr?: string; |
|||
orglistary?: number[]; |
|||
status?:boolean; |
|||
} |
|||
/** |
|||
* 编辑岗位数据 |
|||
*/ |
|||
export interface postContData{ |
|||
id?: number; |
|||
name?: string; //职位名称
|
|||
number?: string; //职位编码
|
|||
duties?: string; //职务
|
|||
organization?: string; //归属行政组织
|
|||
superior?: string|number; //上级
|
|||
incharge?: number; //是否为本部门负责人(1:是;2:否)
|
|||
department?: string; //部门
|
|||
} |
|||
/** |
|||
* 删除或改变职务类别状态 |
|||
*/ |
|||
export interface editPostditOrDel{ |
|||
id:string[]; |
|||
status?: number; |
|||
istrue?: number; |
|||
} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/api/books/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/api/books/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/api`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/api/books/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/api/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/api/books/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/api/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/api`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/api/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/api/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/api/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/app/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/app/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/app/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/app/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/app/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,12 +0,0 @@ |
|||
devServer: { |
|||
proxy: { |
|||
'/api': { |
|||
target: 'http://localhost:8000', |
|||
changeOrigin: true, |
|||
ws: true, |
|||
pathRewrite: { |
|||
'^/api': '' |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/app/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/app/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,15 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
devServer: { |
|||
proxy: { |
|||
'/api': { |
|||
target: 'http://localhost:8000', |
|||
changeOrigin: true, |
|||
ws: true, |
|||
pathRewrite: { |
|||
'^/api': '' |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
or': bookAuthor})} |
|||
@ -1,14 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
devServer: { |
|||
proxy: { |
|||
'/api': { |
|||
target: 'http://localhost:8000', |
|||
changeOrigin: true, |
|||
ws: true, |
|||
pathRewrite: { |
|||
'^/api': '' |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
@ -1,14 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
devServer: { |
|||
proxy: { |
|||
'/api': { |
|||
target: 'http://localhost:8000', |
|||
changeOrigin: true, |
|||
ws: true, |
|||
pathRewrite: { |
|||
'^/api': '' |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -1,7 +0,0 @@ |
|||
import axiosInstance from './index' |
|||
|
|||
const axios = axiosInstance |
|||
|
|||
export const getBooks = () => {return axios.get(`http://localhost:8000/app/`)} |
|||
|
|||
export const postBook = (bookName, bookAuthor) => {return axios.post(`http://localhost:8000/app/`, {'name': bookName, 'author': bookAuthor})} |
|||
@ -1,27 +0,0 @@ |
|||
import Vue from 'vue' |
|||
import Axios from 'axios' |
|||
|
|||
const axiosInstance = Axios.create({ |
|||
withCredentials: true |
|||
}) |
|||
|
|||
// 通过拦截器处理csrf问题,这里的正则和匹配下标可能需要根据实际情况小改动
|
|||
axiosInstance.interceptors.request.use((config) => { |
|||
config.headers['X-Requested-With'] = 'XMLHttpRequest' |
|||
const regex = /.*csrftoken=([^;.]*).*$/ |
|||
config.headers['X-CSRFToken'] = document.cookie.match(regex) === null ? null : document.cookie.match(regex)[1] |
|||
return config |
|||
}) |
|||
|
|||
axiosInstance.interceptors.response.use( |
|||
response => { |
|||
return response |
|||
}, |
|||
error => { |
|||
return Promise.reject(error) |
|||
} |
|||
) |
|||
|
|||
Vue.prototype.axios = axiosInstance |
|||
|
|||
export default axiosInstance |
|||
@ -1,19 +0,0 @@ |
|||
import axios from 'axios'; |
|||
|
|||
export default { |
|||
data() { |
|||
return { |
|||
userList: [], |
|||
}; |
|||
}, |
|||
mounted() { |
|||
// Make a GET request to fetch user data from your Django API
|
|||
axios.get('http://your-django-api-url/user/list/') |
|||
.then((response) => { |
|||
this.userList = response.data; |
|||
}) |
|||
.catch((error) => { |
|||
console.error('Error fetching user data:', error); |
|||
}); |
|||
}, |
|||
}; |
|||
@ -1,19 +0,0 @@ |
|||
import axios from 'axios'; |
|||
|
|||
export default { |
|||
data() { |
|||
return { |
|||
userList: [], |
|||
}; |
|||
}, |
|||
mounted() { |
|||
// Make a GET request to fetch user data from your Django API
|
|||
axios.get('http://172./user/list/') |
|||
.then((response) => { |
|||
this.userList = response.data; |
|||
}) |
|||
.catch((error) => { |
|||
console.error('Error fetching user data:', error); |
|||
}); |
|||
}, |
|||
}; |
|||
@ -1,19 +0,0 @@ |
|||
import axios from 'axios'; |
|||
|
|||
export default { |
|||
data() { |
|||
return { |
|||
userList: [], |
|||
}; |
|||
}, |
|||
mounted() { |
|||
// Make a GET request to fetch user data from your Django API
|
|||
axios.get('http://172.0.0.1:8000/user/list/') |
|||
.then((response) => { |
|||
this.userList = response.data; |
|||
}) |
|||
.catch((error) => { |
|||
console.error('Error fetching user data:', error); |
|||
}); |
|||
}, |
|||
}; |
|||
@ -1 +0,0 @@ |
|||
import req |
|||
@ -1 +0,0 @@ |
|||
import req |
|||
@ -1 +0,0 @@ |
|||
import request |
|||
@ -1 +0,0 @@ |
|||
import request from |
|||
@ -1 +0,0 @@ |
|||
import request from '' |
|||
@ -1 +0,0 @@ |
|||
import request from '@' |
|||
@ -1 +0,0 @@ |
|||
import request from '@/ut' |
|||
@ -1 +0,0 @@ |
|||
import request from '@/utils' |
|||
@ -1 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
@ -1,3 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export |
|||
@ -1,6 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export |
|||
|
|||
|
|||
|
|||
@ -1,6 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export function login |
|||
|
|||
|
|||
|
|||
@ -1,8 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export function login(data) { |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,8 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export function login(data) { |
|||
return |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,8 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export function login(data) { |
|||
return request |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,10 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export function login(data) { |
|||
return request{ |
|||
|
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,11 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostdit |
|||
export function login(data) { |
|||
return request{ |
|||
|
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,11 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function login(data) { |
|||
return request{ |
|||
|
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,16 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function getPostContPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/positionlist', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} return request{ |
|||
|
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,17 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function getPostContPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/positionlist', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
return request{ |
|||
|
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,16 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function getPostContPage(data?: searchPost): AxiosPromise<postContList> { |
|||
return request({ |
|||
url: '/hrapi/org/positionlist', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
} |
|||
return request{ |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,11 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function login(data) { |
|||
return request{ |
|||
|
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,9 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function login(data) { |
|||
return request |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,11 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function login(data) { |
|||
return request({ |
|||
|
|||
}) |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,11 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function login(data) { |
|||
return request({ |
|||
url |
|||
}) |
|||
} |
|||
|
|||
|
|||
|
|||
@ -1,11 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
import { AxiosPromise } from 'axios'; |
|||
import { searchPost,postContList,postContData,editPostditOrDel } from './type'; |
|||
export function login(data) { |
|||
return request({ |
|||
url:'' |
|||
}) |
|||
} |
|||
|
|||
|
|||
|
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue