Commit ff433f82 by T

江西版本权限做了调整

parents
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins":["transform-vue-jsx", "transform-runtime"],
"env": {
"development":{
"plugins": ["dynamic-import-node"]
}
}
}
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
build/*.js
config/*.js
src/assets
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/name-property-casing": ["error", "PascalCase"],
'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': [2, 'allow-null'],
'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': 2,
'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']
}
}
.DS_Store
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
// https://github.com/michael-ciniawsky/postcss-load-config
module.exports = {
"plugins": {
"postcss-import": {},
"postcss-url": {},
// to edit target browsers: use "browserslist" field in package.json
"autoprefixer": {}
}
}
language: node_js
node_js: stable
script: npm run test
notifications:
email: false
差异被折叠。 点击展开。
# eladmin-qt
eladmin 前端源码
#### 项目源码
| | 后端源码 | 前端源码 |
|--- |--- | --- |
| github | https://github.com/elunez/eladmin | https://github.com/elunez/eladmin-web |
| 码云 | https://gitee.com/elunez/eladmin | https://gitee.com/elunez/eladmin-web |
#### 开发文档
[https://docs.auauz.net/#/](https://docs.auauz.net/#/)
#### 前端模板
初始模板基于: [https://github.com/PanJiaChen/vue-admin-template](https://github.com/PanJiaChen/vue-admin-template)
模板文档: [https://panjiachen.github.io/vue-element-admin-site/zh/guide/](https://panjiachen.github.io/vue-element-admin-site/zh/guide/)
#### Build Setup
``` bash
# 安装依赖
npm install
# 启动服务 localhost:8013
npm run dev
# 构建生产环境
npm run build
```
#### 反馈交流
- QQ交流群:891137268
\ No newline at end of file
'use strict'
require('./check-versions')()
const ora = require('ora')
const rm = require('rimraf')
const path = require('path')
const chalk = require('chalk')
const webpack = require('webpack')
const config = require('../config')
const webpackConfig = require('./webpack.prod.conf')
var connect = require('connect')
var serveStatic = require('serve-static')
const spinner = ora(
'building for ' + process.env.env_config + ' environment...'
)
spinner.start()
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
if (err) throw err
webpack(webpackConfig, (err, stats) => {
spinner.stop()
if (err) throw err
process.stdout.write(
stats.toString({
colors: true,
modules: false,
children: false,
chunks: false,
chunkModules: false
}) + '\n\n'
)
if (stats.hasErrors()) {
console.log(chalk.red(' Build failed with errors.\n'))
process.exit(1)
}
console.log(chalk.cyan(' Build complete.\n'))
console.log(
chalk.yellow(
' Tip: built files are meant to be served over an HTTP server.\n' +
" Opening index.html over file:// won't work.\n"
)
)
if (process.env.npm_config_preview) {
const port = 9526
const host = 'http://localhost:' + port
const basePath = config.build.assetsPublicPath
const app = connect()
app.use(
basePath,
serveStatic('./dist', {
index: ['index.html', '/']
})
)
app.listen(port, function() {
console.log(
chalk.green(`> Listening at http://localhost:${port}${basePath}`)
)
})
}
})
})
'use strict'
const chalk = require('chalk')
const semver = require('semver')
const packageConfig = require('../package.json')
const shell = require('shelljs')
function exec(cmd) {
return require('child_process')
.execSync(cmd)
.toString()
.trim()
}
const versionRequirements = [
{
name: 'node',
currentVersion: semver.clean(process.version),
versionRequirement: packageConfig.engines.node
}
]
if (shell.which('npm')) {
versionRequirements.push({
name: 'npm',
currentVersion: exec('npm --version'),
versionRequirement: packageConfig.engines.npm
})
}
module.exports = function() {
const warnings = []
for (let i = 0; i < versionRequirements.length; i++) {
const mod = versionRequirements[i]
if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
warnings.push(
mod.name +
': ' +
chalk.red(mod.currentVersion) +
' should be ' +
chalk.green(mod.versionRequirement)
)
}
}
if (warnings.length) {
console.log('')
console.log(
chalk.yellow(
'To use this template, you must update following to modules:'
)
)
for (let i = 0; i < warnings.length; i++) {
const warning = warnings[i]
console.log(' ' + warning)
}
process.exit(1)
}
}
'use strict'
const path = require('path')
const config = require('../config')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const packageConfig = require('../package.json')
exports.assetsPath = function(_path) {
const assetsSubDirectory =
process.env.NODE_ENV === 'production'
? config.build.assetsSubDirectory
: config.dev.assetsSubDirectory
return path.posix.join(assetsSubDirectory, _path)
}
exports.cssLoaders = function(options) {
options = options || {}
const cssLoader = {
loader: 'css-loader',
options: {
sourceMap: options.sourceMap
}
}
const postcssLoader = {
loader: 'postcss-loader',
options: {
sourceMap: options.sourceMap
}
}
// generate loader string to be used with extract text plugin
function generateLoaders(loader, loaderOptions) {
const loaders = []
// Extract CSS when that option is specified
// (which is the case during production build)
if (options.extract) {
loaders.push(MiniCssExtractPlugin.loader)
} else {
loaders.push('vue-style-loader')
}
loaders.push(cssLoader)
if (options.usePostCSS) {
loaders.push(postcssLoader)
}
if (loader) {
loaders.push({
loader: loader + '-loader',
options: Object.assign({}, loaderOptions, {
sourceMap: options.sourceMap
})
})
}
return loaders
}
// https://vue-loader.vuejs.org/en/configurations/extract-css.html
return {
css: generateLoaders(),
postcss: generateLoaders(),
less: generateLoaders('less'),
sass: generateLoaders('sass', {
indentedSyntax: true
}),
scss: generateLoaders('sass'),
stylus: generateLoaders('stylus'),
styl: generateLoaders('stylus')
}
}
// Generate loaders for standalone style files (outside of .vue)
exports.styleLoaders = function(options) {
const output = []
const loaders = exports.cssLoaders(options)
for (const extension in loaders) {
const loader = loaders[extension]
output.push({
test: new RegExp('\\.' + extension + '$'),
use: loader
})
}
return output
}
exports.createNotifierCallback = () => {
const notifier = require('node-notifier')
return (severity, errors) => {
if (severity !== 'error') return
const error = errors[0]
const filename = error.file && error.file.split('!').pop()
notifier.notify({
title: packageConfig.name,
message: severity + ': ' + error.name,
subtitle: filename || '',
icon: path.join(__dirname, 'logo.png')
})
}
}
'use strict'
module.exports = {
//You can set the vue-loader configuration by yourself.
}
'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const { VueLoaderPlugin } = require('vue-loader')
const os = require('os');
const HappyPack = require('happypack');
const happThreadPool = HappyPack.ThreadPool({size: os.cpus().length});
function resolve(dir) {
return path.join(__dirname, '..', dir)
}
const createLintingRule = () => ({
test: /\.(js|vue)$/,
loader: 'eslint-loader',
enforce: 'pre',
include: [resolve('src'), resolve('test')],
options: {
formatter: require('eslint-friendly-formatter'),
emitWarning: !config.dev.showEslintErrorsInOverlay
}
})
module.exports = {
cache: true,
context: path.resolve(__dirname, '../'),
entry:["babel-polyfill","./src/main.js"],
output: {
path: config.build.assetsRoot,
filename: '[name].js',
publicPath:
process.env.NODE_ENV === 'production'
? config.build.assetsPublicPath
: config.dev.assetsPublicPath
},
resolve: {
modules: [path.resolve(__dirname, '../node_modules')],
extensions: ['.js', '.vue', '.json'],
alias: {
'@': resolve('src'),
api: path.resolve(__dirname, '../src/api')
}
},
module: {
rules: [
//...(config.dev.useEslint ? [createLintingRule()] : []),
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
js: 'happypack/loader?id=js' // 将loader换成happypack
}
}
},
{
test: /\.js$/,
loader: ['happypack/loader?id=js'], // 将loader换成happypack
include: [
resolve('src')
], // src是项目开发的目录
exclude: [path.resolve('../node_modules')] // 不需要编译node_modules下的js
},
{
test: /\.svg$/,
loader: 'svg-sprite-loader',
include: [resolve('src/icons')],
options: {
symbolId: 'icon-[name]'
}
},
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
loader: 'url-loader',
exclude: [resolve('src/icons')],
options: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
},
{
test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('media/[name].[hash:7].[ext]')
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
}
]
},
plugins: [
new VueLoaderPlugin(),
new HappyPack({
id: 'js',
cache: true,
loaders: ['babel-loader?cacheDirectory=true'],
threadPool: happThreadPool
})
],
node: {
// prevent webpack from injecting useless setImmediate polyfill because Vue
// source contains it (although only uses it if it's native).
setImmediate: false,
// prevent webpack from injecting mocks to Node native modules
// that does not make sense for the client
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty'
}
}
'use strict'
const path = require('path')
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const baseWebpackConfig = require('./webpack.base.conf')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
const portfinder = require('portfinder')
function resolve(dir) {
return path.join(__dirname, '..', dir)
}
const HOST = process.env.HOST
const PORT = process.env.PORT && Number(process.env.PORT)
const devWebpackConfig = merge(baseWebpackConfig, {
mode: 'development',
module: {
rules: utils.styleLoaders({
sourceMap: config.dev.cssSourceMap,
usePostCSS: true
})
},
// cheap-module-eval-source-map is faster for development
devtool: config.dev.devtool,
// these devServer options should be customized in /config/index.js
devServer: {
clientLogLevel: 'warning',
historyApiFallback: true,
hot: true,
compress: true,
host: HOST || config.dev.host,
port: PORT || config.dev.port,
open: config.dev.autoOpenBrowser,
overlay: config.dev.errorOverlay
? { warnings: false, errors: true }
: false,
publicPath: config.dev.assetsPublicPath,
proxy: config.dev.proxyTable,
quiet: true, // necessary for FriendlyErrorsPlugin
watchOptions: {
poll: config.dev.poll
}
},
plugins: [
new webpack.DefinePlugin({
'process.env': require('../config/dev.env')
}),
new webpack.HotModuleReplacementPlugin(),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
inject: true,
favicon: resolve('favicon.ico'),
title: 'vue-element-admin',
templateParameters: {
BASE_URL: config.dev.assetsPublicPath + config.dev.assetsSubDirectory,
},
}),
]
})
module.exports = new Promise((resolve, reject) => {
portfinder.basePort = process.env.PORT || config.dev.port
portfinder.getPort((err, port) => {
if (err) {
reject(err)
} else {
// publish the new Port, necessary for e2e tests
process.env.PORT = port
// add port to devServer config
devWebpackConfig.devServer.port = port
// Add FriendlyErrorsPlugin
devWebpackConfig.plugins.push(
new FriendlyErrorsPlugin({
compilationSuccessInfo: {
messages: [
`Your application is running here: http://${
devWebpackConfig.devServer.host
}:${port}`
]
},
onErrors: config.dev.notifyOnErrors
? utils.createNotifierCallback()
: undefined
})
)
resolve(devWebpackConfig)
}
})
})
'use strict'
const path = require('path')
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
function resolve(dir) {
return path.join(__dirname, '..', dir)
}
const env = require('../config/' + process.env.env_config + '.env')
// For NamedChunksPlugin
const seen = new Set()
const nameLength = 4
const webpackConfig = merge(baseWebpackConfig, {
mode: 'production',
module: {
rules: utils.styleLoaders({
sourceMap: config.build.productionSourceMap,
extract: true,
usePostCSS: true
})
},
devtool: config.build.productionSourceMap ? config.build.devtool : false,
output: {
path: config.build.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash:8].js'),
chunkFilename: utils.assetsPath('js/[name].[chunkhash:8].js')
},
plugins: [
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new webpack.DefinePlugin({
'process.env': env
}),
// extract css into its own file
new MiniCssExtractPlugin({
filename: utils.assetsPath('css/[name].[contenthash:8].css'),
chunkFilename: utils.assetsPath('css/[name].[contenthash:8].css')
}),
// generate dist index.html with correct asset hash for caching.
// you can customize output by editing /index.html
// see https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: config.build.index,
template: 'index.html',
inject: true,
favicon: resolve('favicon.ico'),
title: 'vue-element-admin',
templateParameters: {
BASE_URL: config.build.assetsPublicPath + config.build.assetsSubDirectory,
},
minify: {
removeComments: true,
collapseWhitespace: true,
removeAttributeQuotes: true
// more options:
// https://github.com/kangax/html-minifier#options-quick-reference
}
// default sort mode uses toposort which cannot handle cyclic deps
// in certain cases, and in webpack 4, chunk order in HTML doesn't
// matter anyway
}),
new ScriptExtHtmlWebpackPlugin({
//`runtime` must same as runtimeChunk name. default is `runtime`
inline: /runtime\..*\.js$/
}),
// keep chunk.id stable when chunk has no name
new webpack.NamedChunksPlugin(chunk => {
if (chunk.name) {
return chunk.name
}
const modules = Array.from(chunk.modulesIterable)
if (modules.length > 1) {
const hash = require('hash-sum')
const joinedHash = hash(modules.map(m => m.id).join('_'))
let len = nameLength
while (seen.has(joinedHash.substr(0, len))) len++
seen.add(joinedHash.substr(0, len))
return `chunk-${joinedHash.substr(0, len)}`
} else {
return modules[0].id
}
}),
// keep module.id stable when vender modules does not change
new webpack.HashedModuleIdsPlugin(),
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, '../static'),
to: config.build.assetsSubDirectory,
ignore: ['.*']
}
])
],
optimization: {
splitChunks: {
chunks: 'all',
cacheGroups: {
libs: {
name: 'chunk-libs',
test: /[\\/]node_modules[\\/]/,
priority: 10,
chunks: 'initial' // 只打包初始时依赖的第三方
},
elementUI: {
name: 'chunk-elementUI', // 单独将 elementUI 拆包
priority: 20, // 权重要大于 libs 和 app 不然会被打包进 libs 或者 app
test: /[\\/]node_modules[\\/]element-ui[\\/]/
},
commons: {
name: 'chunk-commons',
test: resolve('src/components'), // 可自定义拓展你的规则
minChunks: 3, // 最小公用次数
priority: 5,
reuseExistingChunk: true
}
}
},
runtimeChunk: 'single',
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
mangle: {
safari10: true
}
},
sourceMap: config.build.productionSourceMap,
cache: true,
parallel: true
}),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
new OptimizeCSSAssetsPlugin()
]
}
})
if (config.build.productionGzip) {
const CompressionWebpackPlugin = require('compression-webpack-plugin')
webpackConfig.plugins.push(
new CompressionWebpackPlugin({
asset: '[path].gz[query]',
algorithm: 'gzip',
test: new RegExp(
'\\.(' + config.build.productionGzipExtensions.join('|') + ')$'
),
threshold: 10240,
minRatio: 0.8
})
)
}
if (config.build.generateAnalyzerReport || config.build.bundleAnalyzerReport) {
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
.BundleAnalyzerPlugin
if (config.build.bundleAnalyzerReport) {
webpackConfig.plugins.push(
new BundleAnalyzerPlugin({
analyzerPort: 8080,
generateStatsFile: false
})
)
}
if (config.build.generateAnalyzerReport) {
webpackConfig.plugins.push(
new BundleAnalyzerPlugin({
analyzerMode: 'static',
reportFilename: 'bundle-report.html',
openAnalyzer: false
})
)
}
}
module.exports = webpackConfig
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
// BASE_API: '"http://192.168.3.101:10004"',
// BASE_API2: '"http://192.168.3.1:5000"'
// BASE_API: '"https://api.auauz.net"'
BASE_API: '"http://41.190.20.132:10004"',
BASE_API2: '"http://41.190.20.132:5000"'
})
'use strict'
// Template version: 1.2.6
const devEnv = require('./dev.env')
// 获取接口地址
const base_url = devEnv.BASE_API.replace(/"/g,'')
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
// 配置代理
proxyTable: {
'/auth': {
// 测试环境
target: base_url,
secure: true,
changeOrigin: true,
pathRewrite: {
'^/auth': 'auth'
}
},
'/api': {
// 测试环境
target: base_url,
secure: true,
changeOrigin: true,
pathRewrite: {
'^/api': 'api'
}
}
},
// Various Dev Server settings
host: '192.168.2.246', // can be overwritten by process.env.HOST
port: 8013, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
notifyOnErrors: false,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: true,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-source-map',
// CSS Sourcemaps off by default because relative paths are "buggy"
// with this option, according to the CSS-Loader README
// (https://github.com/webpack/css-loader#sourcemaps)
// In our experience, they generally work as expected,
// just be aware of this issue when enabling this option.
cssSourceMap: false
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
/**
* You can set by youself according to actual condition
* You will need to set this if you plan to deploy your site under a sub path,
* for example GitHub pages. If you plan to deploy your site to https://foo.github.io/bar/,
* then assetsPublicPath should be set to "/bar/".
* In most cases please use '/' !!!
*/
assetsPublicPath: '/',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: 'source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report || false,
// `npm run build:prod --generate_report`
generateAnalyzerReport: process.env.npm_config_generate_report || false
}
}
'use strict'
module.exports = {
NODE_ENV: '"production"',
BASE_API: '"http://192.168.2.135:10004"',
BASE_API2: '"http://192.168.2.135:5000"'
// BASE_API: '"http://41.190.20.132:10004"',
// BASE_API2: '"http://41.190.20.132:5000"'
}
File added
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<style>
.sampleContainer{position:fixed;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);width:75px;height:100px}.loader{position:relative;width:44px;height:8px;margin:12px auto}.dot{display:inline-block;width:8px;height:8px;border-radius:4px;background:#ccc;position:absolute}.dot_1{animation:animateDot1 1.5s linear infinite;left:12px;background:#e579b8}.dot_2{animation:animateDot2 1.5s linear infinite;animation-delay:.5s;left:24px}.dot_3{animation:animateDot3 1.5s linear infinite;left:12px}.dot_4{animation:animateDot4 1.5s linear infinite;animation-delay:.5s;left:24px}@keyframes animateDot1{0%{transform:rotate(0) translateX(-12px)}25%{transform:rotate(180deg) translateX(-12px)}75%{transform:rotate(180deg) translateX(-12px)}100%{transform:rotate(360deg) translateX(-12px)}}@keyframes animateDot2{0%{transform:rotate(0) translateX(-12px)}25%{transform:rotate(-180deg) translateX(-12px)}75%{transform:rotate(-180deg) translateX(-12px)}100%{transform:rotate(-360deg) translateX(-12px)}}@keyframes animateDot3{0%{transform:rotate(0) translateX(12px)}25%{transform:rotate(180deg) translateX(12px)}75%{transform:rotate(180deg) translateX(12px)}100%{transform:rotate(360deg) translateX(12px)}}@keyframes animateDot4{0%{transform:rotate(0) translateX(12px)}25%{transform:rotate(-180deg) translateX(12px)}75%{transform:rotate(-180deg) translateX(12px)}100%{transform:rotate(-360deg) translateX(12px)}}
</style>
<!-- 全局配置 -->
<script>
window._CONFIG = {};
window._CONFIG['serviceURL'] = 'http://192.168.2.246:5000';
window._CONFIG['userURL'] = 'http://192.168.2.246:10004';
// window._CONFIG['serviceURL'] = 'http://41.190.20.132:5000';
// window._CONFIG['userURL'] = 'http://41.190.20.132:10004';
// function getChromeVersion() {
// var arr = navigator.userAgent.split(' ');
// var chromeVersion = '';
// for(var i=0;i < arr.length;i++){
// if(/chrome/i.test(arr[i]))
// chromeVersion = arr[i]
// }
// if(chromeVersion){
// return Number(chromeVersion.split('/')[1].split('.')[0]);
// } else {
// return false;
// }
// }
// if(getChromeVersion()) {
// var version = getChromeVersion();
// if(version < 85) {
// alert('您使用的谷歌浏览器版本过低,为了更好地体验请将浏览器升级到最新版本!');
// if (window.MessageEvent && !document.getBoxObjectFor){
// window.location.href = 'http://41.190.20.132:5000/chrome64.exe';
// }else{
// window.location.href = 'http://41.190.20.132:5000/chrome32.exe';
// }
// }
// }
</script>
</head>
<body>
<div id="app">
<div class="sampleContainer">
<div class="loader">
<span class="dot dot_1"></span>
<span class="dot dot_2"></span>
<span class="dot dot_3"></span>
<span class="dot dot_4"></span>
</div>
</div>
</div>
</body>
</html>
{
"name": "eladmin-web",
"version": "2.3.0",
"license": "Apache-2.0",
"description": "eladmin 前端代码",
"author": "jie <elunez@qq.com>",
"scripts": {
"dev": "cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"build": "cross-env NODE_ENV=production env_config=prod node build/build.js",
"lint": "eslint --ext .js,.vue src",
"test": "npm run lint",
"precommit": "lint-staged",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elunez/eladmin-qd.git"
},
"dependencies": {
"@antv/data-set": "^0.11.7",
"@riophae/vue-treeselect": "0.0.38",
"axios": "^0.19.0",
"bpmn-js": "^5.1.2",
"bpmn-moddle": "^6.0.0",
"clipboard": "1.7.1",
"cnchar": "^3.2.2",
"codemirror": "^5.38.0",
"connect": "3.6.6",
"crypto": "^1.0.1",
"crypto-js": "^4.1.1",
"echarts": "^4.1.0",
"element-ui": "^2.15.6",
"file-saver": "1.3.8",
"js-cookie": "2.2.0",
"js-md5": "^0.7.3",
"jsencrypt": "^3.0.0-rc.1",
"jszip": "3.1.5",
"lodash": "^4.17.21",
"mavon-editor": "^2.7.0",
"moment": "^2.25.3",
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
"screenfull": "3.3.3",
"vbt-table": "^1.0.5",
"viser-vue": "^2.4.8",
"vue-count-to": "1.0.13",
"vue-native-websocket": "^2.0.14",
"vue-router": "3.1.3",
"vuedraggable": "^2.24.1",
"vuex": "3.0.1",
"wangeditor": ">=3.0.0",
"xlsx": "^0.11.16"
},
"devDependencies": {
"autoprefixer": "8.5.0",
"babel-core": "6.26.3",
"babel-eslint": "8.2.6",
"babel-helper-vue-jsx-merge-props": "2.0.3",
"babel-loader": "7.1.5",
"babel-plugin-dynamic-import-node": "2.0.0",
"babel-plugin-syntax-jsx": "6.18.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-plugin-transform-vue-jsx": "3.7.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "1.7.0",
"babel-preset-stage-2": "6.24.1",
"chalk": "2.4.1",
"copy-webpack-plugin": "4.5.2",
"cross-env": "5.2.0",
"css-loader": "1.0.0",
"element-theme-chalk": "^2.13.1",
"eslint": "4.19.1",
"eslint-friendly-formatter": "4.0.1",
"eslint-loader": "2.0.0",
"eslint-plugin-vue": "4.7.1",
"eventsource-polyfill": "0.9.6",
"file-loader": "1.1.11",
"friendly-errors-webpack-plugin": "1.7.0",
"happypack": "^5.0.1",
"html-webpack-plugin": "^3.0.0",
"less": "^3.11.1",
"less-loader": "^6.1.0",
"mini-css-extract-plugin": "0.4.1",
"node-notifier": "5.2.1",
"node-sass": "^6.0.1",
"optimize-css-assets-webpack-plugin": "5.0.0",
"ora": "3.0.0",
"portfinder": "1.0.16",
"postcss-import": "12.0.0",
"postcss-loader": "2.1.6",
"postcss-url": "7.3.2",
"rimraf": "2.6.2",
"sass-loader": "^10.0.1",
"script-ext-html-webpack-plugin": "2.0.1",
"script-loader": "0.7.2",
"semver": "5.5.0",
"shelljs": "^0.8.3",
"svg-sprite-loader": "3.8.0",
"svgo": "1.2.2",
"uglifyjs-webpack-plugin": "1.2.7",
"url-loader": "1.0.1",
"vue": "^2.6.14",
"vue-loader": "^15.9.7",
"vue-style-loader": "4.1.2",
"vue-template-compiler": "^2.6.14",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.9.0",
"webpack-merge": "^4.2.2"
},
"engines": {
"node": ">= 6.0.0",
"npm": ">= 3.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"bugs": {
"url": "https://github.com/elunez/eladmin-qd/issues"
},
"homepage": "https://github.com/elunez/eladmin-qd#readme",
"main": ".eslintrc.js",
"keywords": []
}
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<div id="app">
<router-view/>
</div>
</template>
<script>
import { MessageBox } from 'element-ui'
import store from './store'
export default {
name: 'App',
data() {
return {
//设置超时时间: 30分种
timeOut : 30 * 60 * 1000,
//timeOut : 10 * 1000,
lastTimeStoreId: 'lastTime_jc'
}
},
methods: {
// 存储当前时间
setLastTime() {
localStorage.setItem(this.lastTimeStoreId,new Date().getTime());
// console.log('当前时间')
},
// 获取时间
getLastTime() {
//console.log('获取时间')
return localStorage.getItem(this.lastTimeStoreId);
},
// 删除
removeLastTime() {
localStorage.removeItem(this.lastTimeStoreId)
//console.log('操作了删除时间')
},
checkTimeout() {
// 登录页面不监听
if(this.timeOut && this.$router.currentRoute.path === '/login') {
//console.log(this.$router.currentRoute.path)
this.setLastTime();
// console.log('不监听')
}
else {
//更新当前时间
let currentTime = new Date().getTime();
let lastTime = this.getLastTime();
// console.log(currentTime, lastTime, (currentTime - lastTime), this.timeOut);
//判断是否超时
if (currentTime - lastTime > this.timeOut) {
this.$message({ type: 'warning', message: '登录状态已过期或超过30分钟未操作,需重新登录' })
store.dispatch('LogOut').then(() => {
location.reload() // 为了重新实例化vue-router对象 避免bug
})
// MessageBox.confirm(
// '登录状态已过期,您可以继续留在该页面,或者重新登录',
// '系统提示',
// {
// confirmButtonText: '重新登录',
// cancelButtonText: '取消',
// type: 'warning'
// }
// ).then(() => {
// store.dispatch('LogOut').then(() => {
// location.reload() // 为了重新实例化vue-router对象 避免bug
// })
// })
}
}
},
},
mounted() {
let that = this;
// 每15分钟 调用检查时间的方法
this.$nextTick(function () {
//setInterval(this.checkTimeout, 30000);
setInterval(this.checkTimeout, 15 * 60 * 1000);
console.log('检查时间')
})
// 页面监听 按下鼠标更新操作时间
window.onload = function () {
window.document.onmousedown = function () {
that.setLastTime();
//console.log('按下鼠标更新操作时间')
}
window.document.onkeydown = function () {
that.setLastTime();
//console.log('按下鼠标更新操作时间')
}
};
}
}
</script>
import request from '@/utils/request'
import md5 from 'js-md5'
export function get() {
return request({
url: 'api/aliPay',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/aliPay',
data,
method: 'put'
})
}
// 支付
export function toAliPay(url, data) {
return request({
url: 'api/' + url,
data,
method: 'post'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function add(data) {
return request({
url: 'api/app',
method: 'post',
data
})
}
export function edit(data) {
return request({
url: 'api/app',
method: 'put',
data
})
}
export function getAppKey(params) {
return request({
url: 'api/app/getAppKey',
method: 'get',
params
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 充电台
export function getPageChargeList(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/BaseCharge/GetPageChargeList',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
//领用
export function addBorrowOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/AddBorrowOrder',
method: 'post',
data: transform(data)
})
}
//新增/更新借用/领用单
export function addOrUpdateBorrowOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/AddOrUpdateBorrowOrder',
method: 'post',
data: transform(data)
})
}
//新增/更新借用/领用单
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/ApproveOrder',
method: 'post',
data: transform(data)
})
}
// 新增领用单
export function addAndApprovalBorrowOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/AddAndApprovalBorrowOrder',
method: 'post',
data: transform(data)
})
}
// 删除领用单
export function deleteOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/DeleteOrder',
method: 'post',
data: transform(data)
})
}
// 获取借用领用订单详细信息
export function getByID(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/GetByID',
method: 'post',
data: transform(data)
})
}
export function borrowTransfer(data) { // 借用转领用
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/BorrowTransfer',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
/**
* 获取单警柜分页信息
*/
export function getCabinetList(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/GetCabinetListWeb',
method: 'post',
data: transform(data)
})
}
export function getCabinetPageList(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/GetCabinetList',
method: 'post',
data: transform(data)
})
}
export function getCabinetListPeople(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/GetCabinetListPeopleSelect',
method: 'post',
data: transform(data)
})
}
/**
* 新增单警柜信息
*/
export function addCabinet(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/AddCabinet',
method: 'post',
data: transform(data)
})
}
/**
* 新增额外的单警柜信息
*/
export function addExtraCabinet(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/AddExtraCabinet',
method: 'post',
data: transform(data)
})
}
/**
* 修改单警柜信息
*/
export function updateCabinet(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/UpdateCabinet',
method: 'post',
data: transform(data)
})
}
/**
* 单警柜盘点数据
*/
export function inventory(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/Inventory',
method: 'post',
data
})
}
// 删除单警柜整柜
export function deleteCabinet(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/DeleteCabinet',
method: 'post',
data: transform(data)
})
}
// 替换单警柜柜号
export function replaceCabinet(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/ReplaceCabinet',
method: 'post',
data: transform(data)
})
}
// 值班柜出入库记录
export function getInOutlog(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/GetInOutlog',
method: 'post',
data: transform(data)
})
}
export function getCabinetIsExist(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Cabinet/GetCabinetIsExist',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function getWzByEpc(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PoliceShiftJobs/GetWzByEpc',
method: 'post',
data: transform(data)
})
}
export function addOrUpdateOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PoliceShiftJobs/AddOrUpdateOrder',
method: 'post',
data: transform(data)
})
}
export function getDetailById(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PoliceShiftJobs/GetDetailById',
method: 'post',
data: transform(data)
})
}
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PoliceShiftJobs/ApproveOrder',
method: 'post',
data: transform(data)
})
}
export function getInventoryByPoliceId(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PoliceShiftJobs/GetInventoryByPoliceId',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import { transform } from '@/utils/index'
/**
* 获取通道分页信息
*/
export function getAllCfg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/GetAllCfg',
method: 'post',
data: transform(data)
})
}
/**
* 新增或修改通道信息
*/
export function addOrUpdateCfg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/AddOrUpdateCfg',
method: 'post',
data: transform(data)
})
}
export function addOrUpdateCfgV2(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/AddOrUpdateCfgV2',
method: 'post',
data: data
})
}
export function getAllCfgV2(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/GetAllCfgV2',
method: 'post',
data: data
})
}
export function remoteOpenDoor(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/RemoteOpenDoor',
method: 'post',
data: transform(data)
})
}
/**
* 删除通道信息
*/
export function deleteCfg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/DeleteCfg',
method: 'post',
data: transform(data)
})
}
export function deleteCfgV2(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/DeleteCfgV2',
method: 'post',
data: data
})
}
export function remoteOpenShelfLight(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/ChannelCfg/RemoteOpenShelfLight',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function resetEmail(data) {
return request({
url: 'api/code/resetEmail',
method: 'post',
data
})
}
export function updatePass(pass) {
return request({
url: 'api/users/updatePass/' + pass,
method: 'get'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
//根据装备ID获取供应商
export function getSupplierByEquipment(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Common/GetSupplierByEquipment',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import md5 from 'js-md5'
export function initData(url, params) {
return request({
url: url,
method: 'get',
params
})
}
export function initPdata(url, params) {
return request({
url: url,
method: 'post',
data: params
})
}
export function initGdata(url, params) {
return request({
url: url,
method: 'get',
params
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function getDepts(params) {
return request({
url: 'api/dept',
method: 'get',
params
})
}
export function add(data) {
return request({
url: 'api/dept',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/dept/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/dept',
method: 'put',
data
})
}
export function downloadDept(params) {
return request({
url: 'api/dept/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
//领用
// export function addBorrowOrder(data) {
// return request({
// url: window._CONFIG['serviceURL'] + '/api/Borrow/AddBorrowOrder',
// method: 'post',
// data: transform(data)
// })
// }
//新增/更新销毁单
export function addOrUpdateBorrowOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/AddOrUpdateFixedOrder',
method: 'post',
data: transform(data)
})
}
//新增/更新借用/领用单
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/ApproveOrder',
method: 'post',
data: transform(data)
})
}
// 新增领用单
export function addAndApprovalBorrowOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/AddAndApprovalBorrowOrder',
method: 'post',
data: transform(data)
})
}
// 删除领用单
export function deleteOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/DeleteOrder',
method: 'post',
data: transform(data)
})
}
// 获取借用领用订单详细信息
export function getByID(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Borrow/GetByID',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function add(data) {
return request({
url: 'api/dict',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/dict/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/dict',
method: 'put',
data
})
}
export function downloadDict(params) {
return request({
url: 'api/dict/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function get(dictName) {
const params = {
dictName,
page: 0,
size: 9999
}
return request({
url: 'api/dictDetail',
method: 'get',
params
})
}
export function getDictMap(dictName) {
const params = {
dictName,
page: 0,
size: 9999
}
return request({
url: 'api/dictDetail/map',
method: 'get',
params
})
}
export function add(data) {
return request({
url: 'api/dictDetail',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/dictDetail/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/dictDetail',
method: 'put',
data
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function get() {
return request({
url: 'api/email',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/email',
data,
method: 'put'
})
}
export function send(data) {
return request({
url: 'api/email',
data,
method: 'post'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 获取装备列表
export function getListEquipmentDetail(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentDetail/GetListEquipmentDetail',
method: 'post',
data
})
}
// 获取装备分页列表
export function getPageEquipmentDetail(data) {
return request({
url: window._CONFIG['serviceURL'] +'/api/EquipmentDetail/GetPageEquipmentDetail',
method: 'post',
data: transform(data)
})
}
// 添加或修改装备信息
export function addOrUpdateEquipmentDetail(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentDetail/AddOrUpdateEquipmentDetail',
method: 'post',
data: transform(data)
})
}
//
export function deleteEquipmentDetail(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentDetail/DeleteEquipmentDetail',
method: 'post',
data: transform(data)
})
}
export function addSizeDetailSupplier(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentDetail/AddSizeDetailSupplier',
method: 'post',
data: transform(data)
})
}
export function approverSizeDetailSupplier(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentDetail/ApproverSizeDetailSupplier',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function getListEquipment(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentInfo/GetListEquipment',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function getListEquipmentSize(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentSize/GetListEquipmentSize',
method: 'post',
data: transform(data)
})
}
// 获取装备型号分页列表
export function getPageEquipmentSize(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentSize/GetPageEquipmentSize',
method: 'post',
data: transform(data)
})
}
// 添加或修改装备型号信息
export function addOrUpdateEquipmentSize(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentSize/AddOrUpdateEquipmentSizeV2',
method: 'post',
data: transform(data)
})
}
export function deleteEquipmentSize(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/EquipmentSize/DeleteEquipmentSize',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
//获取维修保养申请单
export function getAllFixs(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api​/FixReceiveApply​/GetAllFixs',
method: 'post',
data: transform(data)
})
}
//新增/更新维修报废单
export function addOrUpdateFixed(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/FixReceiveApply/AddOrUpdateFixed',
method: 'post',
data: transform(data)
})
}
//删除维修报废单
export function deleteOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/FixReceiveApply/DeleteOrder',
method: 'post',
data: transform(data)
})
}
//根据EPC获取物资信息
export function getWzByEpc(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/FixReceiveApply/GetWzByEpc',
method: 'post',
data: transform(data)
})
}
//审批维修/保养单
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/FixReceiveApply/ApproveOrder',
method: 'post',
data: transform(data)
})
}
// 查看维修报废明细
export function getByID(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/FixReceiveApply/GetByID',
method: 'post',
data: transform(data)
})
}
export function quickAddFixed(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/FixReceiveApply/QuickAddFixed',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import md5 from 'js-md5'
export function get() {
return request({
url: 'api/genConfig',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/genConfig',
data,
method: 'put'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function generator(data, tableName) {
return request({
url: 'api/generator?tableName=' + tableName,
data,
method: 'post'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
//获取组织机构及下级的所有库存
export function getOrgListEquipmentDetail(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetListEquipmentDetail',
method: 'post',
data: transform(data)
})
}
//获取物资的详细信息
export function getAllDetailLocation(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetAllDetailLocation',
method: 'post',
data: transform(data)
})
}
//获取全部出入库记录
export function getAllInOutHistory(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetAllInOutHistory',
method: 'post',
data: transform(data)
})
}
//通过订单号获取本单据出入库记录
export function getAllInOutHistoryByOrderCode(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetAllInOutHistoryByOrderCode',
method: 'post',
data: transform(data)
})
}
//获取出入库表单的详细信息
export function getInOutDetail(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetInOutDetail',
method: 'post',
data: transform(data)
})
}
//获取仓库库存
export function getAllInventoryList(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetAllInventoryList',
method: 'post',
data: transform(data)
})
}
// 查询表单类型
export function checkState(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/CheckState',
method: 'post',
data: transform(data)
})
}
// 查询表单类型
export function changeErrorInfoWithoutOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/ChangeErrorInfoWithoutOrder',
method: 'post',
data: transform(data)
})
}
// 查询表单类型
export function changeErrorInfo(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/ChangeErrorInfo',
method: 'post',
data: transform(data)
})
}
// 修改不是最后一条的表单
export function changeWithout(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/ChangeWithout',
method: 'post',
data: transform(data)
})
}
export function changeErrorStateInfo(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/ChangeErrorStateInfo',
method: 'post',
data: transform(data)
})
}
export function getInfoByEpc(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetInfoByEpc',
method: 'post',
data: transform(data)
})
}
export function getInfoByID(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetInfoByID',
method: 'post',
data: transform(data)
})
}
// 修改epc的资产信息
export function updateInventory(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Print/updateInventory',
method: 'post',
data: transform(data)
})
}
// 获取对应组织机构物资信息
export function getListEquipmentByOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetListEquipmentByOrg',
method: 'post',
data: transform(data)
})
}
// 获取组织机构物资信息
export function getListEquipmentByOrgZk(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetListEquipmentByOrgZk',
method: 'post',
data: transform(data)
})
}
// 获取组织机构上级物资信息
export function getListEquipmentByOrgParentZk(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetListEquipmentByOrgParentZk',
method: 'post',
data: transform(data)
})
}
export function getAllInOutTop10History(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetAllInOutTop10History',
method: 'post',
data: transform(data)
})
}
export function getOrderInfo(data) { // 获取所有未完成的出入库单据
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetOrderInfo',
method: 'post',
data: transform(data)
})
}
export function changeOrderIsWork(data) { // 设置单据开启关闭
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/ChangeOrderIsWork',
method: 'post',
data: transform(data)
})
}
export function setLostEquipment(data) { // 遗失物资操作
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/SetLostEquipment',
method: 'post',
data: transform(data)
})
}
export function getListEquipmentByOrgAndType(data) { // 首页跳转用
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetListEquipmentByOrgAndType',
method: 'post',
data: transform(data)
})
}
export function getGroupListEquipmentByOrgAndTypeV2(data) { // nb首页跳转用
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetGroupListEquipmentByOrgAndTypeV2',
method: 'post',
data: transform(data)
})
}
export function getGroupListEquipmentByOrgAndTypeDetailV2(data) { // nb首页跳转获取本组织机构物资状态对应物资信息详情
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/GetGroupListEquipmentByOrgAndTypeDetailV2',
method: 'post',
data: transform(data)
})
}
export function batchUpdateEquipmentByOrgSize(data) { // 批量修改本组织机构仓库下型号对应物资信息详情
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/BatchUpdateEquipmentByOrgSize',
method: 'post',
data: transform(data)
})
}
export function setInvState(data) { // 设置库存盘盈盘亏状态
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/SetInvState',
method: 'post',
data: transform(data)
})
}
export function setWarehouseState(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/SetWarehouseState',
method: 'post',
data: transform(data)
})
}
export function closeOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Inventory/CloseOrder',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function getWzByEpc(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/InventoryReturn/GetWzByEpc',
method: 'post',
data: transform(data)
})
}
export function addOrUpdateOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/InventoryReturn/AddOrUpdateOrder',
method: 'post',
data: transform(data)
})
}
export function getDetailById(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/InventoryReturn/GetDetailById',
method: 'post',
data: transform(data)
})
}
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/InventoryReturn/ApproveOrder',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 审批
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/InventoryTable/ApproveOrder',
method: 'post',
data: transform(data)
})
}
// 新增或者修改盘点申请
export function addOrUpdateTable(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/InventoryTable/AddOrUpdateTable',
method: 'post',
data: transform(data)
})
}
// 查询详情
export function getByID(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/InventoryTable/GetByID',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function getAllJob(deptId) {
const params = {
deptId,
page: 0,
size: 9999
}
return request({
url: 'api/job',
method: 'get',
params
})
}
export function add(data) {
return request({
url: 'api/job',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/job/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/job',
method: 'put',
data
})
}
export function downloadJob(params) {
return request({
url: 'api/job/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function add(data) {
return request({
url: 'api/localStorage',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/localStorage/' + id,
method: 'delete'
})
}
export function delAll(ids) {
return request({
url: 'api/localStorage/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: 'api/localStorage',
method: 'put',
data
})
}
export function downloadStorage(params) {
return request({
url: 'api/localStorage/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function getErrDetail(id) {
return request({
url: 'api/logs/error/' + id,
method: 'get'
})
}
export function downloadLog(params) {
return request({
url: 'api/logs/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function login(username, password, code, uuid) {
return request({
// url: 'auth/login',
url: 'auth/loginV2',//满足安全审计要求接口
method: 'post',
data: {
username,
password,
code,
uuid
}
})
}
export function getInfo() {
return request({
url: 'auth/info',
method: 'get'
})
}
export function getCodeImg() {
return request({
url: 'auth/code',
method: 'get'
})
}
export function logout() {
return request({
url: 'auth/logout',
method: 'delete'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function getMenusTree(pid) {
return request({
url: 'api/menus/lazy?pid=' + pid,
method: 'get'
})
}
export function getChild(id) {
return request({
url: 'api/menus/child?id=' + id,
method: 'get'
})
}
export function getMenuSuperior(ids) {
const data = ids.length || ids.length === 0 ? ids : Array.of(ids)
return request({
url: 'api/menus/superior',
method: 'post',
data
})
}
// 获取所有的菜单树
export function getMenusTreeOld() {
return request({
url: 'api/menus/tree',
method: 'get'
})
}
export function buildMenus() {
return request({
url: 'api/menus/build',
method: 'get'
})
}
export function add(data) {
return request({
url: 'api/menus',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/menus/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/menus',
method: 'put',
data
})
}
export function downloadMenu(params) {
return request({
url: 'api/menus/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function addAndUpdateMessageReminderConfig(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/MessageReminder/AddAndUpdateMessageReminderConfig',
method: 'post',
data: transform(data)
})
}
export function saveMessageReminderConfigEquipmentJson(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/MessageReminder/SaveMessageReminderConfigEquipmentJson',
method: 'post',
data: transform(data)
})
}
export function getMessageReminderLog(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/MessageReminder/GetMessageReminderLog',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 获取借用超期明细
export function getOverdueMsgDetail(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Notice/GetOverdueMsgDetail',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function del(key) {
return request({
url: 'auth/online/' + key,
method: 'delete'
})
}
export function downloadOnline(params) {
return request({
url: 'auth/online/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 获取组织机构树
export function getListOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetListOrg',
method: 'post',
data: transform(data)
})
}
export function getListUpOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetListUpOrg',
method: 'post',
data: transform(data)
})
}
export function updateOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/UpdateOrg',
method: 'post',
data: transform(data)
})
}
export function getListOrgState(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetListOrgState',
method: 'post',
data: transform(data)
})
}
export function setOrgState(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/SetOrgState',
method: 'post',
data: transform(data)
})
}
export function setOrgMapState(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/SetOrgMapState',
method: 'post',
data: transform(data)
})
}
export function showPurse(data) {
return request({
url: 'api/org/showPurse',
method: 'post',
data
})
}
export function getOrgByCode(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetOrgByCode',
method: 'post',
data
})
}
export function getAllOrgList(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetAllOrgList',
method: 'post',
data,
responseType: 'blob'
})
}
export function getAllListOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetAllListOrg',
method: 'post',
data: transform(data)
})
}
export function getOrgById(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetOrgById',
method: 'post',
data
})
}
export function getOrderCountByOrgId(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetOrderCountByOrgId',
method: 'post',
data: transform(data)
})
}
export function getOrderCountByOrgIdV2(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/GetOrderCountByOrgIdV2',
method: 'post',
data: transform(data)
})
}
export function updateOrgJWD(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Organization/UpdateOrgJWD',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function saveValueByKey(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Other/SaveValueByKey',
method: 'post',
data: transform(data)
})
}
export function getValueByKey(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Other/GetValueByKey',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function del(id) {
return request({
url: 'api/pictures/' + id,
method: 'delete'
})
}
export function delAll(ids) {
return request({
url: 'api/pictures/',
method: 'delete',
data: ids
})
}
export function downloadPicture(params) {
return request({
url: 'api/pictures/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 添加或修改警员信息
export function addOrUpdatePoliceman(data) {
return request({
//url: window._CONFIG['serviceURL'] + '/api/Policeman/AddOrUpdatePoliceman',
//区分第三方的接口,下面接口自己用
url: window._CONFIG['serviceURL'] + '/api/Policeman/AddOrUpdatePolicemanFromHost',
method: 'post',
data: transform(data)
})
}
// 删除警员信息
export function deletePoliceman(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Policeman/DeletePoliceman',
method: 'post',
data: transform(data)
})
}
// 分页查询警员
export function getPagePoliceman(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Policeman/GetPagePoliceman',
method: 'post',
data: transform(data)
})
}
export function getPolicemanDevelop(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Policeman/GetPolicemanDevelop',
method: 'post',
data: transform(data)
})
}
export function getPolicemanByOrgId(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Policeman/GetPolicemanByOrgId',
method: 'post',
data: transform(data)
})
}
// 获取txt列表
export function getListTxt(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Policeman/GetListTxt',
method: 'post',
data
})
}
export function addTxt(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Policeman/AddTxt',
method: 'post',
data
})
}
export function deleteTxt(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Policeman/DeleteTxt',
method: 'post',
data
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function add(data) {
return request({
url: 'api/process',
method: 'post',
data
})
}
export function get(id) {
return request({
url: 'api/process/' + id,
method: 'get'
})
}
export function getProcessXml(id) {
return request({
url: 'api/process/getProcessXml/' + id,
method: 'get'
})
}
export function edit(data) {
return request({
url: 'api/process',
method: 'put',
data
})
}
export function del(id) {
return request({
url: 'api/process/' + id,
method: 'delete'
})
}
export function publish(id) {
return request({
url: 'api/process/publish/' + id,
method: 'post'
})
}
// 获取流程信息
export function getProcess(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Process/GetProcess',
method: 'post',
data: transform(data)
})
}
// 获取流程的所有信息
export function getAllProcess(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Process/GetAllProcess',
method: 'post',
data: transform(data)
})
}
export function getMessageCount(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Process/GetMessageCount',
method: 'post',
data: transform(data)
})
}
export function readMessage(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Process/ReadMessage',
method: 'post',
data: transform(data)
})
}
export function getPageAllOrderList(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Process/GetPageAllOrderList',
method: 'post',
data: transform(data)
})
}
export function insertInventory(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Print/InsertInventory',
method: 'post',
data
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 删除采购申请单
export function del(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PuchaseOrder/DeleteOrder',
method: 'post',
data: transform(data)
})
}
//获取采购订单
export function getAllPurchases(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PuchaseOrder/GetAllPurchases',
method: 'post',
data: transform(data)
})
}
//新增,编辑采购订单
export function addOrUpdatePurchase(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PuchaseOrder/AddOrUpdatePurchase',
method: 'post',
data: transform(data)
})
}
// 审批采购申请单
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PuchaseOrder/ApproveOrder',
method: 'post',
data: transform(data)
})
}
// 维护装备基础信息
export function updateBasicInfo(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PuchaseOrder/UpdateBasicInfo',
method: 'post',
data: transform(data)
})
}
// 获取采购订单详细信息
export function getByID(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/PuchaseOrder/GetByID',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function get() {
return request({
url: 'api/qiNiuContent/config',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/qiNiuContent/config',
data,
method: 'put'
})
}
export function del(id) {
return request({
url: 'api/qiNiuContent/' + id,
method: 'delete'
})
}
export function download(id) {
return request({
url: 'api/qiNiuContent/download/' + id,
method: 'get'
})
}
export function sync() {
return request({
url: 'api/qiNiuContent/synchronize',
method: 'post'
})
}
export function delAll(ids) {
return request({
url: 'api/qiNiuContent/',
method: 'delete',
data: ids
})
}
export function downloadQiNiu(params) {
return request({
url: 'api/qiNiuContent/download/list',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function add(data) {
return request({
url: 'api/redis',
method: 'post',
data
})
}
export function del(key) {
const data = {
key
}
return request({
url: 'api/redis/',
method: 'delete',
data
})
}
export function delAll() {
return request({
url: 'api/redis/all',
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/redis',
method: 'put',
data
})
}
export function downloadRedis(params) {
return request({
url: 'api/redis/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
// 获取所有的Role
export function getAll() {
return request({
url: 'api/roles/all',
method: 'get'
})
}
export function add(data) {
return request({
url: 'api/roles',
method: 'post',
data
})
}
export function get(id) {
return request({
url: 'api/roles/' + id,
method: 'get'
})
}
export function getLevel() {
return request({
url: 'api/roles/level',
method: 'get'
})
}
export function del(id) {
return request({
url: 'api/roles/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/roles',
method: 'put',
data
})
}
export function editPermission(data) {
return request({
url: 'api/roles/permission',
method: 'put',
data
})
}
export function editMenu(data) {
return request({
url: 'api/roles/menu',
method: 'put',
data
})
}
export function downloadRole(params) {
return request({
url: 'api/roles/download',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function addOrUpdateShelf(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Shelf/AddOrUpdateShelf',
method: 'post',
data: transform(data)
})
}
export function deleteShelf(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Shelf/DeleteShelf',
method: 'post',
data: transform(data)
})
}
export function getListShelf(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Shelf/GetListShelf',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 新增,编辑
export function addOrUpdateCfg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/SoftUpdate/AddOrUpdateCfg',
method: 'post',
data: transform(data)
})
}
// 删除文件
export function deletePackage(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/SoftUpdate/DeletePackage',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import md5 from 'js-md5'
// 获取分页装备、单警柜统计
export function getPageKcTj(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Tj/GetPageKcTj',
method: 'post',
data
})
}
// 获取装备型号的使用率
export function getPageSyPTj(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Tj/GetPageSyPTj',
method: 'post',
data
})
}
// 获取装备型号维修率
export function getPageWxPTj(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Tj/GetPageWxPTj',
method: 'post',
data
})
}
// 获取装备型号报废率
export function getPageBfPTj(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Tj/GetPageBfPTj',
method: 'post',
data
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 获取所有供应商列表
export function getListSupplier(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/BaseJpSupplier/GetListSupplier',
method: 'post',
data: transform(data)
})
}
// 获取供应商分页列表
export function getPageSupplier(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/BaseJpSupplier/GetPageSupplier',
method: 'post',
data: transform(data)
})
}
// 新增,编辑供应商
export function addOrUpdateSupplier(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/BaseJpSupplier/AddOrUpdateSupplier',
method: 'post',
data: transform(data)
})
}
// 删除供应商
export function deleteSupplier(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/BaseJpSupplier/DeleteSupplier',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function addTempFile(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/TempFile/AddTempFile',
method: 'post',
data: transform(data)
})
}
export function deleteTempFile(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/TempFile/DeleteTempFile',
method: 'post',
data: transform(data)
})
}
\ No newline at end of file
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 删除
export function deleteThreshold(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Threshold/DeleteThreshold',
method: 'post',
data: transform(data)
})
}
export function addOrUpdateThreshold(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Threshold/AddOrUpdateThreshold',
method: 'post',
data: transform(data)
})
}
export function getEquipmentThresholdResult(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Threshold/GetEquipmentThresholdResult',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function add(data) {
return request({
url: 'api/jobs',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/jobs/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/jobs',
method: 'put',
data
})
}
export function updateIsPause(id) {
return request({
url: 'api/jobs/' + id,
method: 'put'
})
}
export function execution(id) {
return request({
url: 'api/jobs/exec/' + id,
method: 'put'
})
}
export function downloadJobs(params) {
return request({
url: 'api/jobs/download',
method: 'get',
params,
responseType: 'blob'
})
}
export function downloadLogs(params) {
return request({
url: 'api/jobs/download/log',
method: 'get',
params,
responseType: 'blob'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 获取全部调拨审批单
export function getAllTransfersVerify(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Transfer/GetAllTransfersVerify',
method: 'post',
data: transform(data)
})
}
// 新增/更新调拨申请单
export function addOrUpdateTransferOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Transfer/AddOrUpdateTransferOrder',
method: 'post',
data: transform(data)
})
}
// 审批调拨申请单
export function approveOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Transfer/ApproveOrder',
method: 'post',
data: transform(data)
})
}
// 借用单转归还单
export function tansferBorrowOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Transfer/TansferBorrowOrder',
method: 'post',
data: transform(data)
})
}
// 审批归还申请单
export function approveReturnOrder(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Transfer/ApproveReturnOrder',
method: 'post',
data: transform(data)
})
}
// 获取调拨订单详细信息
export function getByID(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Transfer/GetByID',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function add(data) {
return request({
url: 'api/users',
method: 'post',
data
})
}
export function downloadUser(params) {
return request({
url: 'api/users/download',
method: 'get',
params,
responseType: 'blob'
})
}
export function del(id) {
return request({
url: 'api/users/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/users',
method: 'put',
data
})
}
export function updatePass(user) {
const data = {
oldPass: user.oldPass,
newPass: user.newPass
}
return request({
url: 'api/users/updatePass/',
method: 'post',
data
})
}
export function resetPass(data) {
return request({
url: 'api/users/resetPass/',
method: 'post',
data
})
}
export function updateEmail(code, data) {
return request({
url: 'api/users/updateEmail/' + code,
method: 'post',
data
})
}
export function getOrgUser(params) {
return request({
url: 'api/users/all',
method: 'get',
params
})
}
import request from '@/utils/request'
// 总数统计
export function getCount(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetCount',
method: 'post',
data
})
}
export function getCountOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetCountOrg',
method: 'post',
data
})
}
// 区域分类在库总量
export function getGroupByAreaCount(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetGroupByAreaCount',
method: 'post',
data
})
}
export function getSyP(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetSyP',
method: 'post',
data
})
}
export function getSyPOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetSyPOrg',
method: 'post',
data
})
}
export function getWxP(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetWxP',
method: 'post',
data
})
}
export function getWxPOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetWxPOrg',
method: 'post',
data
})
}
export function getBfP(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetBfP',
method: 'post',
data
})
}
export function getBfPOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetBfPOrg',
method: 'post',
data
})
}
export function getGroupByCountOrg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/View/GetGroupByCountOrg',
method: 'post',
data
})
}
import request from '@/utils/request'
import md5 from 'js-md5'
export function count() {
return request({
url: 'api/visits',
method: 'post'
})
}
export function get() {
return request({
url: 'api/visits',
method: 'get'
})
}
export function getChartData() {
return request({
url: 'api/visits/chartData',
method: 'get'
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
export function getListWarehouse(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/GetListWarehouse',
method: 'post',
data: transform(data)
})
}
// 获取仓库分页列表
export function getPageWarehouse(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/GetPageWarehouse',
method: 'post',
data: transform(data)
})
}
// 添加或修改仓库信息
export function addOrUpdateWarehouse(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/AddOrUpdateWarehouse',
method: 'post',
data: transform(data)
})
}
// 删除仓库信息
export function deleteWarehouse(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/DeleteWarehouse',
method: 'post',
data: transform(data)
})
}
// 获取仓库对应资产库存分页列表
export function getPageWarehouseEquipment(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/GetPageWarehouseEquipment',
method: 'post',
data: transform(data)
})
}
// 获取组织机构当前对应的本级仓库
export function getListOrgWarehouse(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/GetListOrgWarehouse',
method: 'post',
data: transform(data)
})
}
// 九大类在库总量
export function getGroupByCount(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/GetGroupByCount',
method: 'post',
data: transform(data)
})
}
// 获取上一级对应的仓库列表
export function getListUpWarehouse(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/GetListUpWarehouse',
method: 'post',
data: transform(data)
})
}
export function saveChannelReadEquTypeJson(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/SaveChannelReadEquTypeJson',
method: 'post',
data: transform(data)
})
}
export function disabledWarehouse(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/DisabledWarehouse',
method: 'post',
data: transform(data)
})
}
export function enableChannelReadEquById(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/Warehouse/EnableChannelReadEquById',
method: 'post',
data: transform(data)
})
}
import request from '@/utils/request'
import { transform } from '@/utils/index'
// 修改/新增设备配置
export function addOrUpdateDev(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/WarehouseDev/AddOrUpdateDev',
method: 'post',
data: transform(data)
})
}
// 删除设备配置11
export function deleteCfg(data) {
return request({
url: window._CONFIG['serviceURL'] + '/api/WarehouseDev/DeleteCfg',
method: 'post',
data: transform(data)
})
}
export function getListDev(data) {
  return request({
    url: window._CONFIG['serviceURL'] + '/api/WarehouseDev/GetListDev',
    method: 'post',
    data
  })
}
// 控制设备
export function controlDev(data) {
  return request({
    url: window._CONFIG['serviceURL'] + '/api/WarehouseDev/ControlDev',
    method: 'post',
    data: transform(data)
  })
}
export function updateHumid(data) {
  return request({
    url: window._CONFIG['serviceURL'] + '/api/WarehouseDev/UpdateHumid',
    method: 'post',
    data: transform(data)
  })
}
// 获取物资
export function getWarehouseInfo(data) {
  return request({
    url: window._CONFIG['serviceURL'] + '/api/WarehouseDev/GetWarehouseInfo',
    method: 'post',
    data: transform(data)
  })
}
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1589160331841'); /* IE9 */
src: url('iconfont.eot?t=1589160331841#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAM8AAsAAAAABywAAALwAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCCcAqCNIITATYCJAMICwYABCAFhG0HMhs7BhHVmyfIfhzkZpPr8Z7mkiOJ08/B85hT35fkVFU6YCBn4xMQnxDAm5uha1SEYknO86+n70jHChfyKwB84t5xS3w+oBzX3vypCzDeGuBe2AZeXCCBecP08gUOxH4I4EhNTqRi5ZoNsRj0MAGkZ7cu7bAFLwbDEhYh1DDXIHPxsGqaOgvMib4vb8gvFhSeRpfU7VypI2WfxzcpemwwtmWgZ9xyZoAtAg3kBAxIw0ZrbXQSzYnG8aghPRyrUOB5/CAIuIf944GAhND5MQCkhNxn4jn+o+YrAAxs7wQMnvSGYHLHsulHqGuNFi1O6JYfy7hvevE1J1I7f2mSJnrcjTxbyxwssmprlrUzMq3enGp3scO5Nl+j86JESxP7axIuTJokMmOYW5Ft9YwsG9vHiUSkse+LHnf9xOXCif0903cldLuuHruKGrswYUPCBT59j1e4tbngyJcP/w7x7+erm+++P+T3w5stexyOmyt105uvL816F/9dtyxZswx7p/7POv5nb82D5cxRZGzbvM/7M+BZuU9zE3gTch0/+XFUkV4ft7TbBzSYHz+JSZoxWZXgU+1+z7oWOHBVWpXNFyS/ZkpqEieoP1crygIQjNG79dj//hua7x9Emzglv9mwAeD2/dMzIncwxjDMDvbubAJ/mTewzAiBVqjH5SKbolMuAwU44SBAO+Nzf6oy0SslBUuiF7NHkSqDxpKRZGg54RGmIEJYysCRgyqLwySgPxox0UB2JgEIcdkKRWyOQhOXcyRDuwePxLxDiLii4WgsCdYMk1mTpCowakEH5g/JUvfWICouvGF4V815QUR/IZ8pAMs4lxMX7MhLTDg/YRXx4Jka7OAwrJXgYMpoZYwixzZNvulOo6U2KCowakEHmD+QLHUfVBdV+fwNw7tq7iDknC/kM3UOLIzMA0gXaR9EeJRjzk9YEfGAZ2rADsxYTZSAo7lXRisjcUL42JhQJT9UOm4vb3+3BnBolRLTXWNzdU019TAM') format('woff2'),
url('iconfont.woff?t=1589160331841') format('woff'),
url('iconfont.ttf?t=1589160331841') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1589160331841#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family: "iconfont" !important;
font-size: 20px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon--naoling:before {
content: "\e612";
}
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2013-9-30: Created.
-->
<svg>
<metadata>
Created by iconfont
</metadata>
<defs>
<font id="iconfont" horiz-adv-x="1024" >
<font-face
font-family="iconfont"
font-weight="500"
font-stretch="normal"
units-per-em="1024"
ascent="896"
descent="-128"
/>
<missing-glyph />
<glyph glyph-name="-naoling" unicode="&#58898;" d="M831.050295 501.51433v-272.35723c36.247788-63.599903 73.410084-126.867257 110.406105-190.134611 4.738816-8.147438 4.738816-17.458797 0.083138-25.689372-4.655679-8.147438-12.803118-12.886255-22.197614-12.886255H667.103879c-9.643907-53.54031-40.82033-90.286921-79.977916-110.406105-23.44467-12.054883-49.716002-18.040757-75.987335-18.040757s-52.542665 6.06901-75.987334 18.040757c-39.157587 20.119185-70.33401 56.948932-79.977917 110.406105H104.681212c-9.394495 0-17.37566 4.572542-22.114476 12.719981-4.738816 8.064301-4.738816 17.37566-0.166275 25.523098l107.496306 190.384022V501.431193c0 29.430543 5.403913 59.692458 15.712917 89.289275 10.225867 29.430543 25.356824 58.279126 44.894049 85.049281 20.784282 28.516035 47.388163 55.119916 77.234392 76.735569 27.185841 19.703499 57.198344 35.416416 88.291629 44.810912 1.330194 46.806203 25.439961 76.98498 56.117561 90.536332 12.221158 5.403913 25.523098 8.064301 38.908176 8.064301 13.30194 0 26.687018-2.743525 38.908176-8.147439 30.760737-13.551352 54.953641-43.97954 56.366972-91.118291 31.342697-9.56077 61.272063-25.273687 88.29163-45.060324 29.846229-21.781927 56.200698-48.552082 76.98498-77.483802 19.204676-26.603881 34.003085-55.203053 44.062677-84.384185 10.059592-29.264269 15.380369-59.276772 15.380369-88.374766zM530.675853 813.029147c5.902736-0.665097 11.722335-1.496468 16.710563-2.32784-2.660388 11.556061-10.14273 19.620362-19.370951 24.02663-5.154502 2.494114-10.890964 3.824308-16.544288 3.907445s-11.389786-0.914508-16.544289-3.242348c-9.145084-4.073719-16.710563-12.054883-19.703499-24.359178 4.572542 0.748234 9.893318 1.413331 15.380369 1.995291 6.567833 0.665097 13.468215 1.16392 19.869773 1.163919 6.235285 0 13.385078-0.498823 20.285459-1.330194z m76.901843-812.499148H414.69956c7.898027-26.936429 24.60859-46.224243 45.143461-57.863441 15.62978-8.812536 33.421125-13.218803 51.295607-13.218803s35.748965 4.406268 51.295608 13.218803c20.534871 11.556061 37.245433 30.843874 45.14346 57.863441z m-444.617358 57.946578h696.439718c0.58196 0 0.997646 0.249411 1.330194 0.58196s0.58196 0.831371 0.581959 1.413331-46.141106 80.310465-70.334009 122.294715c-6.983519 12.138021-12.138021 21.033693-14.133312 24.442315-1.247057 2.161565-2.161565 4.489405-2.826662 6.900382s-0.997646 4.905091-0.997646 7.399204V501.51433c0 48.63522-18.788991 98.351222-50.131688 140.751157-31.342697 42.483072-75.2391 77.56694-125.287651 96.522205l-7.981164 2.660388c-19.038402 6.318422-44.644637 14.881546-79.31282 14.881546-33.254851-0.249411-64.846959-10.225867-83.63595-16.128603l-0.415686-0.083137c-50.879922-18.539579-95.607697-53.457173-127.532354-96.189657-31.84152-42.649346-51.046196-92.947309-51.046196-142.247625v-280.005846c0-2.494114-0.332549-4.988228-0.997646-7.399204s-1.579605-4.738816-2.826662-6.900381l-82.804579-145.739385c-0.166274-0.332549-0.249411-0.748234-0.249411-1.080783s0.083137-0.748234 0.332548-1.080782c0.166274-0.249411 0.332549-0.415686 0.665097-0.58196s0.665097-0.249411 1.080783-0.249412z" horiz-adv-x="1024" />
</font>
</defs></svg>
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1589357110720'); /* IE9 */
src: url('iconfont.eot?t=1589357110720#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAALQAAsAAAAABogAAAKEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCCcAqBFIEaATYCJAMICwYABCAFhG0HMBvABcguISebKwRELqoOJLyPbqaTrHCg7CEenvb7du68+TZ/xZOIds/rkEkksUYjqoRISbChYJlQ2Ures7WcMuhm4p9V86pECtUDzd7xXubmiyh0q4mUaYV8aHxteaUfJt3FJZQlmkED39YLDjbLEu0BMP/BBvqr0pKXz3M5vbsKKJD5gXLci9YY1Asw3hrgXhgFGFgBhdwwdoFLuE+gGBXRcriwtgndMmtZIO5YRhG6c25ZZrGmUK/Zm8VbHZrpWfoB8Cb8fvyDVHST1CpWwcnt+QpMXWk7ob1exid4QECHa6iwDGTiojZ8pE0wZpsSbjcJ9pUbXGl8k9irXrC/zsruAMNQcE9CV3Sr2QnkeHwd2B71PqTxnsPhh6317lsMQHn+cZ8MvPhyPnqj8+ult91/ny+Gn8dtT7/IyAtpcgvgz63Nwds/fkFtvFbO/ODLLc3duuTdziy1XnBVzdACuyxb9aPt1/3G4ycTb1T/u8ng79+hqqyC5gkswY8S9mzLutgypqwKa63J+qilCUXBNWzvUx+rGbyreGgavDdrw0iKStM0mRnLqGnbRl3TDooli4fb+rE2kVtYdA0Qenwj6XKJSo9fMjNqqBnyj7qeaENxM/TMttmwepupKFTB0j5aZe0rxyy9Ue46GVW3yFlxyNomDi0fJmOJYmyRfOI5NoQ7RkpEoWLt4QJ4jFxXY8DaprLETJEgHY+ruhfFytqDXgcYKRKkApXsQ5Yyzaf87qK39Pl1xFDlKuKWlhr/NsJC1uQoKSbRg1xU+L1a7uWZ0A5DihAKUpjmQQtgFnG5NBTUz7KRMhFjjggG0uJ2J9VXEVtf5X3AHigsbQp7WqX+wPINrwoA') format('woff2'),
url('iconfont.woff?t=1589357110720') format('woff'),
url('iconfont.ttf?t=1589357110720') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1589357110720#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-pingmu:before {
content: "\ec6f";
}
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2013-9-30: Created.
-->
<svg>
<metadata>
Created by iconfont
</metadata>
<defs>
<font id="iconfont" horiz-adv-x="1024" >
<font-face
font-family="iconfont"
font-weight="500"
font-stretch="normal"
units-per-em="1024"
ascent="896"
descent="-128"
/>
<missing-glyph />
<glyph glyph-name="pingmu" unicode="&#60527;" d="M899.111 768h-768c-39.696 0-72-32.304-72-72v-480c0-39.696 32.304-72 72-72h360v-96h-168c-13.248 0-24-10.752-24-24s10.752-24 24-24h384c13.248 0 24 10.752 24 24s-10.752 24-24 24h-168v96h360c39.696 0 72 32.304 72 72V696c0 39.696-32.304 72-72 72z m24-552c0-13.248-10.752-24-24-24h-768c-13.248 0-24 10.752-24 24V696c0 13.248 10.752 24 24 24h768c13.248 0 24-10.752 24-24v-480z" horiz-adv-x="1024" />
</font>
</defs></svg>
差异被折叠。 点击展开。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论