Commit 07df1ecc by 无尘

feat: 增加好办运维后台

parent 79513fb5
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": ["transform-vue-jsx", "transform-runtime"]
}
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
.DS_Store
node_modules/
/build/
/config/
/dist/
/*.js
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true,
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
// "standard",
'plugin:vue/essential',
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
'plugin:prettier/recommended'
],
// required to lint *.vue files
plugins: ['vue', 'prettier'],
// add your custom rules here
rules: {
'prettier/prettier': [
'error',
{
endOfLine: 'auto'
}
],
// allow async-await
'generator-star-spacing': 'off',
// 'no-console': process.env.NODE_ENV === 'production' ? 2 : 0,
'no-alert': process.env.NODE_ENV === 'production' ? 2 : 0, //禁止使用alert confirm prompt
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
// --------------------静态检测-----------------------------
/**
* 静态检测:
* 以下基本位能够帮助发现代码错误的规则
* */
// 禁止与负零进行比较
'no-compare-neg-zero': 2,
// 禁止将常量作为 if 或三元表达式的测试条件,比如 if (true), let foo = 0 ? 'foo' : 'bar'
'no-constant-condition': [
2,
{
checkLoops: false
}
],
// 禁止在函数参数中出现重复名称的参数 【辅助检测】
'no-dupe-args': 2,
// 禁止在对象字面量中出现重复名称的键名 【辅助检测】
'no-dupe-keys': 2,
// 禁止出现空代码块 【可读性差】
'no-empty': [
2,
{
"allowEmptyCatch": true
}
],
// 禁止将 catch 的第一个参数 error 重新赋值 【重新赋值,error将没有意义】
'no-ex-assign': 2,
// @fixable 禁止函数表达式中出现多余的括号,比如 let foo = (function () { return 1 }) 【一般不会这么写,可读性差】
'no-extra-parens': [2, 'functions'],
// 禁止将一个函数申明重新赋值,如:
// function foo() {}
// foo = bar [静态检测:无意义]
'no-func-assign': 2,
// 禁止在 if 内出现函数申明或使用 var 定义变量
'no-inner-declarations': [2, 'both'],
// 禁止使用特殊空白符(比如全角空格),除非是出现在字符串、正则表达式或模版字符串中
'no-irregular-whitespace': [
2,
{
skipStrings: true,
skipComments: false,
skipRegExps: true,
skipTemplates: true
}
],
// typeof 表达式比较的对象必须是 'undefined', 'object', 'boolean', 'number', 'string', 'function' 或 'symbol'
'valid-typeof': 2,
// -----------------------------------最佳实践----------------------------------------------
/**
* 最佳实践
* 这些规则通过一些最佳实践帮助你避免问题
*/
// 禁止函数的循环复杂度超过 20,【https://en.wikipedia.org/wiki/Cyclomatic_complexity】
complexity: [
0,
{
max: 20
}
],
// 不允许有空函数,除非是将一个空函数设置为某个项的默认值 【否则空函数并没有实际意义】
'no-empty-function': [
2,
{
allow: ['functions', 'arrowFunctions']
}
],
// 禁止修改原生对象 【例如 Array.protype.xxx=funcion(){},很容易出问题,比如for in 循环数组 会出问题】
'no-extend-native': 2,
// @fixable 表示小数时,禁止省略 0,比如 .5 【可读性】
'no-floating-decimal': 2,
// 禁止直接 new 一个类而不赋值 【 那么除了占用内存还有什么意义呢? @off vue语法糖大量存在此类语义 先手动关闭】
'no-new': 0,
// 禁止使用 new Function,比如 let x = new Function("a", "b", "return a + b"); 【可读性差】
'no-new-func': 2,
// 禁止将自己赋值给自己 [规则帮助检测]
'no-self-assign': 2,
// 禁止将自己与自己比较 [规则帮助检测]
'no-self-compare': 2,
// @fixable 立即执行的函数必须符合如下格式 (function () { alert('Hello') })() 【立即函数写法很多,这个是最易读最标准的】
'wrap-iife': [
2,
'inside',
{
functionPrototypeMethods: true
}
],
// 禁止使用保留字作为变量名 [规则帮助检测保留字,通常ide难以发现,生产会出现问题]
'no-shadow-restricted-names': 2,
// 禁止使用未定义的变量
'no-undef': [
2,
{
typeof: false
}
],
// 定义过的变量必须使用 【正规应该是这样的,具体可以大家讨论】
'no-unused-vars': [
2,
{
vars: 'all',
args: 'none',
caughtErrors: 'none',
ignoreRestSiblings: true
}
],
// 变量必须先定义后使用 【ps:涉及到es6存在不允许变量提升的问题,以免引起意想不到的错误,具体可以大家讨论】
'no-use-before-define': [
2,
{
functions: false,
classes: false,
variables: false
}
],
// ----------------------------------------------------代码规范----------------------------------------------------------
/**
* 代码规范
* 有关【空格】、【链式换行】、【缩进】、【=、{}、()、首位空格】规范没有添加,怕大家一时间接受不了,目前所挑选的规则都是:保障我们的代码可读性、可维护性的
* */
// 变量名必须是 camelcase 驼峰风格的
// @off 【涉及到 很多 api 或文件名可能都不是 camelcase 先关闭】
camelcase: 0,
// @fixable 禁止在行首写逗号
'comma-style': [2, 'last'],
// @fixable 一个缩进必须用两个空格替代
// @off 【不限制大家,为了关闭eslint默认值,所以手动关闭,off不可去掉】 讨论
indent: [2, 2, { SwitchCase: 1 }],
//@off 手动关闭//前面需要回车的规则 注释
'spaced-comment': 0,
//@off 手动关闭: 禁用行尾空白
'no-trailing-spaces': 2,
//@off 手动关闭: 不允许多行回车
'no-multiple-empty-lines': 1,
//@off 手动关闭: 逗号前必须加空格
'comma-spacing': 0,
//@off 手动关闭: 冒号后必须加空格
'key-spacing': 1,
// @fixable 结尾禁止使用分号
//@off [vue官方推荐无分号,不知道大家是否可以接受?先手动off掉] 讨论
// "semi": [2,"never"],
semi: 0,
// 代码块嵌套的深度禁止超过 5 层
'max-depth': [1, 10],
// 回调函数嵌套禁止超过 5 层,多了请用 async await 替代
'max-nested-callbacks': [2, 5],
// 函数的参数禁止超过 7 个
'max-params': [2, 7],
// new 后面的类名必须首字母大写 【面向对象编程原则】
'new-cap': [
2,
{
newIsCap: true,
capIsNew: false,
properties: true
}
],
// @fixable new 后面的类必须有小括号 【没有小括号、指针指过去没有意义】
'new-parens': 2,
// @fixable 禁止属性前有空格,比如 foo. bar() 【可读性太差,一般也没人这么写】
'no-whitespace-before-property': 2,
// @fixable 禁止 if 后面不加大括号而写两行代码 eg: if(a>b) a=0 b=0
'nonblock-statement-body-position': [2, 'beside', { overrides: { while: 'below' } }],
// 禁止变量申明时用逗号一次申明多个 eg: let a,b,c,d,e,f,g = [] 【debug并不好审查、并且没办法单独写注释】
'one-var': [2, 'never'],
// @fixable 【变量申明必须每行一个,同上】
'one-var-declaration-per-line': [2, 'always'],
//是否使用全等
eqeqeq: 0,
//this别名
'consistent-this': [2, 'that'],
// -----------------------------ECMAScript 6-------------------------------------
/**
* ECMAScript 6
* 这些规则与 ES6 有关 【请大家 尝试使用正确使用const和let代替var,以后大家熟悉之后可能会提升规则】
* */
// 禁止对定义过的 class 重新赋值
'no-class-assign': 2,
// @fixable 禁止出现难以理解的箭头函数,比如 let x = a => 1 ? 2 : 3
'no-confusing-arrow': [2, { allowParens: true }],
// 禁止对使用 const 定义的常量重新赋值
'no-const-assign': 2,
// 禁止重复定义类
'no-dupe-class-members': 2,
// 禁止重复 import 模块
'no-duplicate-imports': 2,
//@off 以后可能会开启 禁止 var
'no-var': 0,
// ---------------------------------被关闭的规则-----------------------
// parseInt必须指定第二个参数 parseInt("071",10);
radix: 0,
//强制使用一致的反勾号、双引号或单引号 (quotes) 关闭
quotes: 0,
//要求或禁止函数圆括号之前有一个空格
'space-before-function-paren': [0, 'always'],
//禁止或强制圆括号内的空格
'space-in-parens': [0, 'never'],
//关键字后面是否要空一格
'space-after-keywords': [0, 'always'],
// 要求或禁止在函数标识符和其调用之间有空格
'func-call-spacing': [0, 'never']
}
};
.DS_Store
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# 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": {}
}
}
{
"printWidth": 800,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"semi": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine":true
}
# operation-platform
> A Vue.js project
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
```
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
'use strict'
require('./check-versions')()
process.env.NODE_ENV = 'production'
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')
const spinner = ora('building for production...')
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, // If you are using ts-loader, setting this to true will make TypeScript errors show up during build.
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'
))
})
})
'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:'))
console.log()
for (let i = 0; i < warnings.length; i++) {
const warning = warnings[i]
console.log(' ' + warning)
}
console.log()
process.exit(1)
}
}
'use strict'
const path = require('path')
const config = require('../config')
const ExtractTextPlugin = require('extract-text-webpack-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 = options.usePostCSS ? [cssLoader, postcssLoader] : [cssLoader]
if (loader) {
loaders.push({
loader: loader + '-loader',
options: Object.assign({}, loaderOptions, {
sourceMap: options.sourceMap
})
})
}
// Extract CSS when that option is specified
// (which is the case during production build)
if (options.extract) {
return ExtractTextPlugin.extract({
use: loaders,
fallback: "vue-style-loader",
publicPath: "../../"
});
} else {
return ['vue-style-loader'].concat(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'
const utils = require('./utils')
const config = require('../config')
const isProduction = process.env.NODE_ENV === 'production'
const sourceMapEnabled = isProduction
? config.build.productionSourceMap
: config.dev.cssSourceMap
module.exports = {
loaders: utils.cssLoaders({
sourceMap: sourceMapEnabled,
extract: isProduction
}),
cssSourceMap: sourceMapEnabled,
cacheBusting: config.dev.cacheBusting,
transformToRequire: {
video: ['src', 'poster'],
source: 'src',
img: 'src',
image: 'xlink:href'
}
}
"use strict";
const path = require("path");
const utils = require("./utils");
const config = require("../config");
const vueLoaderConfig = require("./vue-loader.conf");
function resolve(dir) {
return path.join(__dirname, "..", dir);
}
const createLintingRule = () => ({
test: /\.(js|vue)$/,
loader: "eslint-loader",
enforce: "pre",
include: [resolve("src"), resolve("test")],
options: {
// fix: true,
formatter: require("eslint-friendly-formatter"),
emitWarning: !config.dev.showEslintErrorsInOverlay
}
});
module.exports = {
context: path.resolve(__dirname, "../"),
entry: {
app: "./src/main.js"
},
output: {
path: config.build.assetsRoot,
filename: "[name].js",
publicPath:
process.env.NODE_ENV === "production"
? config.build.assetsPublicPath
: config.dev.assetsPublicPath
},
resolve: {
extensions: [".js", ".vue", ".json"],
alias: {
vue$: "vue/dist/vue.esm.js",
"@": resolve("src"),
components: resolve("src/components"),
views: resolve("src/views")
}
},
module: {
rules: [
...(config.dev.useEslint ? [createLintingRule()] : []),
{
test: /\.vue$/,
loader: "vue-loader",
options: vueLoaderConfig
},
{
test: /\.js$/,
loader: "babel-loader",
include: [
resolve("src"),
resolve("test"),
resolve("node_modules/webpack-dev-server/client")
]
},
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
loader: "url-loader",
options: {
limit: 10000,
name: utils.assetsPath("img/[name].[hash:7].[ext]")
}
},
// {
// test: /\.scss$/,
// loaders: ["style", "css", "scss", "sass"]
// },
{
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]")
}
}
]
},
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 utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const path = require('path')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
const portfinder = require('portfinder')
const HOST = process.env.HOST
const PORT = process.env.PORT && Number(process.env.PORT)
const devWebpackConfig = merge(baseWebpackConfig, {
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: {
rewrites: [
{ from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },
],
},
hot: true,
contentBase: false, // since we use CopyWebpackPlugin.
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(),
new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update.
new webpack.NoEmitOnErrorsPlugin(),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
inject: true
}),
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, '../static'),
to: config.dev.assetsSubDirectory,
ignore: ['.*']
}
])
]
})
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 ExtractTextPlugin = require('extract-text-webpack-plugin')
const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const Version = new Date().getTime(); // 定义版本变量 这里使用的是时间戳 来区分
const env = require('../config/prod.env')
const webpackConfig = merge(baseWebpackConfig, {
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]." + Version + ".js"),
chunkFilename: utils.assetsPath("js/[id].[chunkhash]." + Version + ".js")
},
plugins: [
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new webpack.DefinePlugin({
"process.env": env
}),
new UglifyJsPlugin({
uglifyOptions: {
compress: {
warnings: false
}
},
sourceMap: config.build.productionSourceMap,
parallel: true
}),
// extract css into its own file
new ExtractTextPlugin({
filename: utils.assetsPath("css/[name].[contenthash].css"),
// Setting the following option to `false` will not extract CSS from codesplit chunks.
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
// It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
allChunks: true
}),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
new OptimizeCSSPlugin({
cssProcessorOptions: config.build.productionSourceMap
? { safe: true, map: { inline: false } }
: { safe: true }
}),
// 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,
minify: {
removeComments: true,
collapseWhitespace: true,
removeAttributeQuotes: true
// more options:
// https://github.com/kangax/html-minifier#options-quick-reference
},
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: "dependency"
}),
// keep module.id stable when vendor modules does not change
new webpack.HashedModuleIdsPlugin(),
// enable scope hoisting
new webpack.optimize.ModuleConcatenationPlugin(),
// split vendor js into its own file
new webpack.optimize.CommonsChunkPlugin({
name: "vendor",
minChunks(module) {
// any required modules inside node_modules are extracted to vendor
return (
module.resource &&
/\.js$/.test(module.resource) &&
module.resource.indexOf(path.join(__dirname, "../node_modules")) === 0
);
}
}),
// extract webpack runtime and module manifest to its own file in order to
// prevent vendor hash from being updated whenever app bundle is updated
new webpack.optimize.CommonsChunkPlugin({
name: "manifest",
minChunks: Infinity
}),
// This instance extracts shared chunks from code splitted chunks and bundles them
// in a separate chunk, similar to the vendor chunk
// see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk
new webpack.optimize.CommonsChunkPlugin({
name: "app",
async: "vendor-async",
children: true,
minChunks: 3
}),
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, "../static"),
to: config.build.assetsSubDirectory,
ignore: [".*"]
}
])
]
});
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.bundleAnalyzerReport) {
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
webpackConfig.plugins.push(new BundleAnalyzerPlugin())
}
module.exports = webpackConfig
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"'
})
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
const proxyConfig = require("./proxyList");
module.exports = {
dev: {
// Paths
assetsSubDirectory: "static",
assetsPublicPath: "/",
proxyTable: proxyConfig.proxyList,
// Various Dev Server settings
host: "localhost", // can be overwritten by process.env.HOST
// host: "localhost", // can be overwritten by process.env.HOST
port: 8088, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
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-module-eval-source-map",
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, "../dist/index.html"),
// Paths
assetsRoot: path.resolve(__dirname, "../dist"),
assetsSubDirectory: "static",
assetsPublicPath: "./",
/**
* Source Maps
*/
productionSourceMap: true,
// 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
}
};
'use strict'
module.exports = {
NODE_ENV: '"production"'
}
module.exports = {
proxyList: {
'/gic-authcenter/': {
target: 'https://www.gicdev.com/gic-authcenter',
changeOrigin: true,
pathRewrite: {
'^/gic-authcenter': ''
}
},
'/gic-bizdict/': {
target: 'https://www.gicdev.com/gic-bizdict',
changeOrigin: true,
pathRewrite: {
'^/gic-bizdict': ''
}
}
}
};
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>运维平台</title><link href=./static/css/app.a5c7673c12ebacff5f9762541608281a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.5ad31888110f31da949e.1557819940580.js></script><script type=text/javascript src=./static/js/vendor.59758b0c50cb7f43000e.1557819940580.js></script><script type=text/javascript src=./static/js/app.7b52570cb8fa294c928e.1557819940580.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
/**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
textarea {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font-weight: normal;
vertical-align: baseline;
font-family: "PingFangSC-Regular","Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
display: block;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*去除input属性type=number时候后面的额上下小尾巴*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
.el-input__inner {
line-height: 0px!important;
}
a {
color: #606266;
text-decoration: none;
-webkit-backface-visibility: hidden;
}
a:hover{
color: #1890ff
}
li {
list-style: none;
}
/*---滚动条默认显示样式--*/
::-webkit-scrollbar-thumb{
background-color:#e4e7ed;
height:50px;
-webkit-border-radius:6px;
}
/*---鼠标点击滚动条显示样式--*/
::-webkit-scrollbar-thumb:hover{
background-color:#c8cbd3;
height:50px;
-webkit-border-radius:6px;
}
/*---滚动条大小--*/
::-webkit-scrollbar{
width:6px;
height:6px;
}
/*---滚动框背景样式--*/
::-webkit-scrollbar-track-piece{
background-color:#f0f2f5;
-webkit-border-radius:6px;
}
html,
body {
width: 100%;
min-height: 100%;
height: 100%;
background: #F0F2F5;
}
body {
-webkit-text-size-adjust: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input:focus {
box-shadow: none;
outline: none;
}
.fl{
float: left;
}
.fr{
float: right;
}
.clearfix:before, .clearfix:after {
display: block;
visibility: hidden;
height: 0;
content: "";
clear: both;
}
.clearfix {
zoom: 1;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
background-color: rgb(250, 255, 189); /* #FAFFBD; */
background-image: none;
color: rgb(0, 0, 0);
}
.el-table th{
background: #f1f3f7!important;
}
/* 丹 新加*/
#app,#index,#content{
height: 100%;
}
/* table 的表头 -- 背景色 */
.el-table thead tr,.el-table thead th{
background: #f1f3f7;
}
/*提示文字*/
.tip-text{
font-size: 12px;
color: #909399;
position: absolute;
bottom: -30px;
}
/*微信文本*/
.my-textarea a{
color: #1890ff
}
/* 暂无数据 ElementUI */
.el-table__empty-block .el-table__empty-text{
position: static;
}
.no-data-wrap{
text-align: center;
padding: 80px 0;
}
.no-data-wrap .no-data-icon{
width: 60px;
height: 60px;
margin: 0 auto;
margin-bottom: 22px;
}
.no-data-wrap .no-data-icon img{
width:100%;
height:100%;
}
.no-data-wrap p {
color: #909399;
line-height: 1;
}
/* 去掉表格的最后一条线 */
.table-no-line-wrap.el-table::before{
height: 0
}
/* 提示文字的icon */
.tooltip-icon{
color: #909399;
font-size: 14px !important;
}
.tooltip-icon:hover{
color: #909399;
}
/* 分页器 */
.pagination{
text-align: right;
margin: 24px 0 30px 0;
}
/* 规范2.0 */
/* 状态点 */
.dm-status--success:before {
background-color: #52c41a;
}
.dm-status--info:before {
background-color: #d9d9d9;
}
.dm-status--primary:before {
background-color: #1890ff;
}
.dm-status--error:before{
background-color: #f5222d;
}
/* 文字按钮撑高的问题 */
table /deep/ .el-button--text{
padding: 0;
}
/* 分页器尺寸 */
.pagination /deep/ .el-pagination .el-select .el-input .el-input__inner{
height: 28px !important;
}
/*文本域高度*/
.el-textarea /deep/ .el-textarea__inner{
height: 94px;
}
/* 首页头部 右侧 */
.el-popper{
box-sizing: content-box;
}
.el-popover.user-header-pop{
min-width: 74px;
padding: 8px;
background: #0A1E4E;
border: 1px solid #132F71;
box-sizing: border-box;
}
.el-popper[x-placement^="bottom"].user-header-pop .popper__arrow::after{
border-bottom-color: #0A1E4E;
top: 0;
}
/** 公用头部的右侧*/
.el-popover.com-user-header-pop{
min-width: 74px;
padding: 8px;
box-sizing: border-box;
}
/* 弹框 按钮上的线*/
/* .el-dialog__footer {
border-top: none !important;
}
.el-dialog__title{
font-size: 15px !important;
line-height: 18px !important;
font-weight:500;
}
.el-dialog__header{
padding: 13px 0 !important;
margin:0 20px;
border-bottom:1px solid #dcdfe6;
}
.el-dialog__body{
padding-bottom: 0 !important;
}
.el-dialog__footer{
text-align: center !important;
padding: 6px 0 20px 0 !important;
}
.el-dialog__footer .el-button + .el-button{
margin-left: 20px !important;
} */
/* 新建角色中 权限设置*/
.tree-node-content > .tree-wrap > .tree{
display: flex;
margin-bottom: 10px;
}
.tree-node-content > .tree-wrap > .tree > .first-level,.tree-node-content > .tree-wrap > .tree > .single_btn{
flex: 0 0 225px;
width: 225px;
height: auto;
min-height: 40px;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: #f6f6f6;
border: 1px solid #dcdfe6;
}
.tree-node-content > .tree-wrap > .tree > .tree-node-wrap{
flex: 1;
padding-left: 0;
border-right: 1px solid #dcdfe6;
}
.tree-node-content > .tree-wrap > .tree > .tree-node-wrap.no-line-tree{
border-right: none;
}
.tree-node-content > .tree-wrap > .tree > .tree-node-wrap > .tree-wrap:last-child{
border-bottom: 1px solid #dcdfe6;
}
.tree-node-content > .tree-wrap > .tree > .tree-node-wrap > .tree-wrap > .tree > .single_btn,.tree-node-content > .tree-wrap > .tree > .tree-node-wrap > .tree-wrap > .tree > .first-level{
height: 40px;
line-height: 40px;
padding-left: 20px;
font-weight: 500;
background: #f6f6f6;
border-top: 1px solid #dcdfe6;
}
.tree-node-content > .tree-wrap > .tree > .tree-node-wrap > .tree-wrap > .tree > .single_btn > i,.tree-node-content > .tree-wrap > .tree > .tree-node-wrap > .tree-wrap > .tree > .first-level > span > i{
width: 30px;
}
/* elementUI 里的树形结构 权限用 */
.account-limit-wrap .el-tree-node__content{
height: 35px;
padding-right: 20px
}
.account-limit-wrap .el-tree > .el-tree-node{
display: flex;
margin-bottom: 10px;
}
.account-limit-wrap .el-tree > .el-tree-node > .el-tree-node__content{
flex: 0 0 225px;
width: 225px;
height: auto;
min-height: 40px;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: #f6f6f6 !important;
border: 1px solid #dcdfe6;
}
.account-limit-wrap .el-tree > .el-tree-node > .el-tree-node__children{
flex: 1;
padding-left: 0;
border-right: 1px solid #dcdfe6;
border-bottom: 1px solid #dcdfe6;
}
.account-limit-wrap .el-tree > .el-tree-node > .el-tree-node__children.no-right-line{
border-right: none;
border-bottom: none;
}
.account-limit-wrap .el-tree > .el-tree-node > .el-tree-node__children > .el-tree-node > .el-tree-node__content{
height: 40px;
line-height: 40px;
padding-left: 20px;
font-weight: 500;
background: #f6f6f6 !important;
border-top: 1px solid #dcdfe6;
margin-left: 0 !important;
}
.content-content .account-limit-wrap .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{
background-color: #1890ff;
border-color: #1890ff;
}
.account-limit-wrap .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{
border-color: #fff;
}
/* 树形结构的暂无数据 */
.account-limit-wrap .el-tree__empty-block{
min-height: 100px;
padding: 80px 0;
}
.account-limit-wrap .el-tree__empty-block .el-tree__empty-text{
padding-top: 82px;
background: url('../img/no-data_icon.png') no-repeat top center;
}
/* 常用的宽度 */
.w350{
width: 350px;
}
/*内容宽度1400px*/
.my-content-wrap{
min-width: 1400px;
width: 100%;
height: 100%;
}
.my-content-content{
padding: 25px 44px 0;
min-height: calc(100% - 200px);
}
.my-left-aside{
width: 200px;
height: 100%;
background: #FFFFFF;
border: 1px solid rgba(255,255,255,1);
box-sizing: border-box;
}
.my-right-wrap{
width: calc(100% - 210px);
background: #f0f2f5;
padding-left: 10px;
border: 1px solid rgba(240,242,245,1);
box-shadow: 0px 2px 8px 0px rgba(220,223,230,0.30);
}
.my-right-content{
background: #FFFFFF;
height: 100%;
}
/* 公共使用 */
.margin-l8 {
margin-left: 8px;
}
/* 表格日期的第二行 */
.date-second-item{
color: #909399
}
\ No newline at end of file
/* Logo 字体 */
@font-face {
font-family: "iconfont logo";
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}
.logo {
font-family: "iconfont logo";
font-size: 160px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* tabs */
.nav-tabs {
position: relative;
}
.nav-tabs .nav-more {
position: absolute;
right: 0;
bottom: 0;
height: 42px;
line-height: 42px;
color: #666;
}
#tabs {
border-bottom: 1px solid #eee;
}
#tabs li {
cursor: pointer;
width: 100px;
height: 40px;
line-height: 40px;
text-align: center;
font-size: 16px;
border-bottom: 2px solid transparent;
position: relative;
z-index: 1;
margin-bottom: -1px;
color: #666;
}
#tabs .active {
border-bottom-color: #f00;
color: #222;
}
.tab-container .content {
display: none;
}
/* 页面布局 */
.main {
padding: 30px 100px;
width: 960px;
margin: 0 auto;
}
.main .logo {
color: #333;
text-align: left;
margin-bottom: 30px;
line-height: 1;
height: 110px;
margin-top: -50px;
overflow: hidden;
*zoom: 1;
}
.main .logo a {
font-size: 160px;
color: #333;
}
.helps {
margin-top: 40px;
}
.helps pre {
padding: 20px;
margin: 10px 0;
border: solid 1px #e7e1cd;
background-color: #fffdef;
overflow: auto;
}
.icon_lists {
width: 100% !important;
overflow: hidden;
*zoom: 1;
}
.icon_lists li {
width: 100px;
margin-bottom: 10px;
margin-right: 20px;
text-align: center;
list-style: none !important;
cursor: default;
}
.icon_lists li .code-name {
line-height: 1.2;
}
.icon_lists .icon {
display: block;
height: 100px;
line-height: 100px;
font-size: 42px;
margin: 10px auto;
color: #333;
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
-moz-transition: font-size 0.25s linear, width 0.25s linear;
transition: font-size 0.25s linear, width 0.25s linear;
}
.icon_lists .icon:hover {
font-size: 100px;
}
.icon_lists .svg-icon {
/* 通过设置 font-size 来改变图标大小 */
width: 1em;
/* 图标和文字相邻时,垂直对齐 */
vertical-align: -0.15em;
/* 通过设置 color 来改变 SVG 的颜色/fill */
fill: currentColor;
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
normalize.css 中也包含这行 */
overflow: hidden;
}
.icon_lists li .name,
.icon_lists li .code-name {
color: #666;
}
/* markdown 样式 */
.markdown {
color: #666;
font-size: 14px;
line-height: 1.8;
}
.highlight {
line-height: 1.5;
}
.markdown img {
vertical-align: middle;
max-width: 100%;
}
.markdown h1 {
color: #404040;
font-weight: 500;
line-height: 40px;
margin-bottom: 24px;
}
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
color: #404040;
margin: 1.6em 0 0.6em 0;
font-weight: 500;
clear: both;
}
.markdown h1 {
font-size: 28px;
}
.markdown h2 {
font-size: 22px;
}
.markdown h3 {
font-size: 16px;
}
.markdown h4 {
font-size: 14px;
}
.markdown h5 {
font-size: 12px;
}
.markdown h6 {
font-size: 12px;
}
.markdown hr {
height: 1px;
border: 0;
background: #e9e9e9;
margin: 16px 0;
clear: both;
}
.markdown p {
margin: 1em 0;
}
.markdown>p,
.markdown>blockquote,
.markdown>.highlight,
.markdown>ol,
.markdown>ul {
width: 80%;
}
.markdown ul>li {
list-style: circle;
}
.markdown>ul li,
.markdown blockquote ul>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown>ul li p,
.markdown>ol li p {
margin: 0.6em 0;
}
.markdown ol>li {
list-style: decimal;
}
.markdown>ol li,
.markdown blockquote ol>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown code {
margin: 0 3px;
padding: 0 5px;
background: #eee;
border-radius: 3px;
}
.markdown strong,
.markdown b {
font-weight: 600;
}
.markdown>table {
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
border: 1px solid #e9e9e9;
width: 95%;
margin-bottom: 24px;
}
.markdown>table th {
white-space: nowrap;
color: #333;
font-weight: 600;
}
.markdown>table th,
.markdown>table td {
border: 1px solid #e9e9e9;
padding: 8px 16px;
text-align: left;
}
.markdown>table th {
background: #F7F7F7;
}
.markdown blockquote {
font-size: 90%;
color: #999;
border-left: 4px solid #e9e9e9;
padding-left: 0.8em;
margin: 1em 0;
}
.markdown blockquote p {
margin: 0;
}
.markdown .anchor {
opacity: 0;
transition: opacity 0.3s ease;
margin-left: 8px;
}
.markdown .waiting {
color: #ccc;
}
.markdown h1:hover .anchor,
.markdown h2:hover .anchor,
.markdown h3:hover .anchor,
.markdown h4:hover .anchor,
.markdown h5:hover .anchor,
.markdown h6:hover .anchor {
opacity: 1;
display: inline-block;
}
.markdown>br,
.markdown>p>br {
clear: both;
}
.hljs {
display: block;
background: white;
padding: 0.5em;
color: #333333;
overflow-x: auto;
}
.hljs-comment,
.hljs-meta {
color: #969896;
}
.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
color: #df5000;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
color: #a71d5d;
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
color: #0086b3;
}
.hljs-section,
.hljs-name {
color: #63a35c;
}
.hljs-tag {
color: #333333;
}
.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #795da3;
}
.hljs-addition {
color: #55a532;
background-color: #eaffea;
}
.hljs-deletion {
color: #bd2c00;
background-color: #ffecec;
}
.hljs-link {
text-decoration: underline;
}
/* 代码高亮 */
/* PrismJS 1.15.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function,
.token.class-name {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1556175422435'); /* IE9 */
src: url('iconfont.eot?t=1556175422435#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,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') format('woff2'),
url('iconfont.woff?t=1556175422435') format('woff'),
url('iconfont.ttf?t=1556175422435') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1556175422435#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;
}
.iconquanxian:before {
content: "\e610";
}
.iconnav-_shujuzidianpeizhi:before {
content: "\e641";
}
.iconxiala:before {
content: "\e62d";
}
.iconkong:before {
content: "\e650";
}
.iconshuoming:before {
content: "\e621";
}
.iconguanbi:before {
content: "\e605";
}
.iconcaidan:before {
content: "\e61d";
}
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([11],{"9e4x":function(t,e){},HFdE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),o={name:"tableList",props:{activeTab:{type:String,default:function(){return"android"}}},data:function(){return{requestProject:"gic-bizdict",platform:"android"==this.activeTab?"0":"1",tableData:[],loading:!1}},watch:{activeTab:function(t){"android"==t?(this.platform="0",this.getData()):(this.platform="1",this.getData())}},mounted:function(){"android"==this.activeTab?(this.platform="0",this.getData()):(this.platform="1",this.getData())},methods:{changeRoute:function(t){this.$router.push(t)},changeStatus:function(t,e){var a=this;e.status?a.$confirm("确认启用该更新?启用后,此更新将可用","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postStatus(e)}).catch(function(){e.status=!1}):a.$confirm("确认关闭该更新?关闭后,此更新将不可用","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postStatus(e)}).catch(function(){e.status=!0})},postStatus:function(t){var e=this,a={requestProject:e.requestProject,packageId:t.packageId,status:t.status};Object(n.c)("/gic-haoban-operation/app-package/"+t.packageId+"/"+t.status,a).then(function(t){var a=t.data;0==a.errorCode?e.$message({message:"更改成功",type:"success"}):e.$message.error(a.message)}).catch(function(t){e.$message.error(t)})},toShow:function(t,e){this.changeRoute("/setDetail?packageId="+e.packageId+"&activeTab="+this.activeTab+"&name="+this.$route.query.name+"&icon="+this.$route.query.icon+"&code="+this.$route.query.code+"&tabId="+this.$route.query.tabId)},toDownload:function(t,e){window.open("")},toEdit:function(t,e){this.changeRoute("/addSet?packageId="+e.packageId+"&activeTab="+this.activeTab+"&name="+this.$route.query.name+"&icon="+this.$route.query.icon+"&code="+this.$route.query.code+"&tabId="+this.$route.query.tabId)},toDel:function(t,e){var a=this;a.$confirm("确认删除吗?删除后无法恢复","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(t,e)})},postDel:function(t,e){var a=this,o={requestProject:a.requestProject,packageId:e.packageId,status:0};Object(n.c)("/gic-haoban-operation/app-package/"+e.packageId+"/0",o).then(function(e){var n=e.data;0==n.errorCode?(a.$message({message:"删除成功",type:"success"}),a.tableData.splice(t,1)):a.$message.error(n.message)}).catch(function(t){a.$message.error(t)})},getData:function(){var t=this;t.loading=!0;var e={requestProject:t.requestProject,platform:t.platform};Object(n.b)("/gic-haoban-operation/app-packages/"+t.platform,e).then(function(e){var a=e.data;t.loading=!1,0==a.errorCode?(a.result&&a.result.length&&a.result.forEach(function(t){t.status=1==t.status}),t.tableData=a.result?a.result:[]):t.$message.error(a.message)}).catch(function(e){t.loading=!1,t.$message.error(e)})}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"android-content border-box"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"table-no-line-wrap",attrs:{data:t.tableData}},[n("el-table-column",{attrs:{prop:"categoryName",label:"版本号"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.version)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"code",label:"强制更新"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.forcedUpdating?"是":"否")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"parentCode",label:"最近编辑","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.operatorName))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"code",label:"最后更新时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.updateTime)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"code",label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){return t.changeStatus(e.$index,e.row)}},model:{value:e.row.status,callback:function(a){t.$set(e.row,"status",a)},expression:"scoped.row.status"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"opr",label:"操作",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toShow(e.$index,e.row)}}},[t._v("查看")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDownload(e.$index,e.row)}}},[t._v("下载")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),n("el-button",{attrs:{disabled:1==e.row.status,type:"text"},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])}),t._v(" "),n("template",{slot:"empty"},[n("div",{staticClass:"no-data-wrap"},[n("div",{staticClass:"no-data-icon"},[n("img",{attrs:{src:a("8Td+"),alt:""}})]),t._v(" "),n("p",[t._v("暂无数据")])])])],2)],1)},staticRenderFns:[]};var c={name:"versionList",data:function(){return{requestProject:"gic-bizdict",activeTab:"android"}},mounted:function(){this.$route.query.activeTab&&(this.activeTab=this.$route.query.activeTab)},methods:{changeRoute:function(t){this.$router.push(t)},chooseTab:function(t){this.activeTab=t},toAddSet:function(){this.changeRoute("/addSet?addType="+this.activeTab+"&name="+this.$route.query.name+"&icon="+this.$route.query.icon+"&code="+this.$route.query.code+"&tabId="+this.$route.query.tabId)}},components:{androidTable:a("VU/8")(o,r,!1,function(t){a("TDEH")},"data-v-417753a8",null).exports}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-right-content border-box"},[a("div",{staticClass:"right-content-top border-box"},[a("div",{staticClass:"right-top-wrap flex flex-row flex-space-between flex-pack-center"},[a("div",{staticClass:"right-top-wrap_left flex flex-pack-center"},[a("ul",{staticClass:"flex flex-row flex-pack-center"},[a("li",{class:["flex flex-align-center flex-pack-center p-lr-24","android"==t.activeTab?"active-li":""],on:{click:function(e){return t.chooseTab("android")}}},[a("span",{staticClass:"flex flex-align-center flex-pack-center right-top-title"},[t._v("安卓配置")])]),t._v(" "),a("li",{class:["flex flex-align-center flex-pack-center p-lr-24","ios"==t.activeTab?"active-li":""],on:{click:function(e){return t.chooseTab("ios")}}},[a("span",{staticClass:"flex flex-align-center flex-pack-center right-top-title"},[t._v("iOS配置")])])])]),t._v(" "),a("div",{staticClass:"right-top-wrap_right border-box"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.toAddSet(t.activeTab)}}},[t._v("新建"+t._s("android"==t.activeTab?"安卓":"iOS")+"配置")])],1)])]),t._v(" "),a("android-table",{attrs:{activeTab:t.activeTab}})],1)},staticRenderFns:[]};var s=a("VU/8")(c,i,!1,function(t){a("9e4x")},"data-v-5b5ac35b",null);e.default=s.exports},TDEH:function(t,e){}});
//# sourceMappingURL=11.a90d29d264a5d341a98f.1557819940580.js.map
\ No newline at end of file
webpackJsonp([12],{"3RDD":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("MOmO"),s=i.n(a),r={name:"page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"errPage-container"},[i("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),i("el-row",[i("el-col",{attrs:{span:12}},[i("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("Oops!")]),t._v("\n 页面\n "),i("h2",[t._v("你没有权限去该页面")]),t._v(" "),i("h6",[t._v("如有不满请联系你领导")]),t._v(" "),i("ul",{staticClass:"list-unstyled"},[i("li",[t._v("或者你可以去:")]),t._v(" "),i("li",{staticClass:"link-type"},[i("router-link",{attrs:{to:"/index"}},[t._v("回首页")])],1),t._v(" "),i("li",{staticClass:"link-type"},[i("router-link",{attrs:{to:"/index"}},[t._v("回首页")])],1),t._v(" "),i("li",[i("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),t._v(" "),i("el-col",{attrs:{span:12}},[i("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),i("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=i("VU/8")(r,n,!1,function(t){i("TRfO")},"data-v-04f5cca3",null);e.default=l.exports},MOmO:function(t,e,i){t.exports=i.p+"static/img/401.089007e.gif"},TRfO:function(t,e){}});
//# sourceMappingURL=12.32f967d8775c85545060.1557819940580.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/error/401.vue","webpack:///./src/views/error/401.vue?9db2","webpack:///./src/views/error/401.vue","webpack:///./src/assets/401_images/401.gif"],"names":["error_401","name","data","errGif","_01_default","a","Date","ewizardClap","dialogVisible","methods","back","this","$route","query","noGoBack","$router","push","path","go","views_error_401","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","icon","on","click","_v","span","to","href","$event","preventDefault","src","width","height","alt","title","visible","update:visible","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__","module","exports","p"],"mappings":"iIA+BAA,GACAC,KAAA,UACAC,KAFA,WAGA,OACAC,OAAAC,EAAAC,EAAA,UAAAC,KACAC,YAAA,kEACAC,eAAA,IAGAC,SACAC,KADA,WAEAC,KAAAC,OAAAC,MAAAC,SACAH,KAAAI,QAAAC,MAAAC,KAAA,MAEAN,KAAAI,QAAAG,IAAA,MC1CeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAV,KAAaW,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,sBAAgCF,EAAA,aAAkBE,YAAA,eAAAC,OAAkCC,KAAA,cAAoBC,IAAKC,MAAAT,EAAAX,QAAkBW,EAAAU,GAAA,QAAAV,EAAAU,GAAA,KAAAP,EAAA,UAAAA,EAAA,UAAuDG,OAAOK,KAAA,MAAWR,EAAA,MAAWE,YAAA,8BAAwCL,EAAAU,GAAA,WAAAV,EAAAU,GAAA,sBAAAP,EAAA,MAAAH,EAAAU,GAAA,eAAAV,EAAAU,GAAA,KAAAP,EAAA,MAAAH,EAAAU,GAAA,gBAAAV,EAAAU,GAAA,KAAAP,EAAA,MAAiJE,YAAA,kBAA4BF,EAAA,MAAAH,EAAAU,GAAA,aAAAV,EAAAU,GAAA,KAAAP,EAAA,MAAoDE,YAAA,cAAwBF,EAAA,eAAoBG,OAAOM,GAAA,YAAeZ,EAAAU,GAAA,aAAAV,EAAAU,GAAA,KAAAP,EAAA,MAA2CE,YAAA,cAAwBF,EAAA,eAAoBG,OAAOM,GAAA,YAAeZ,EAAAU,GAAA,aAAAV,EAAAU,GAAA,KAAAP,EAAA,MAAAA,EAAA,KAAmDG,OAAOO,KAAA,KAAWL,IAAKC,MAAA,SAAAK,GAAyBA,EAAAC,iBAAwBf,EAAAb,eAAA,MAA2Ba,EAAAU,GAAA,gBAAAV,EAAAU,GAAA,KAAAP,EAAA,UAAkDG,OAAOK,KAAA,MAAWR,EAAA,OAAYG,OAAOU,IAAAhB,EAAAlB,OAAAmC,MAAA,MAAAC,OAAA,MAAAC,IAAA,wCAAuF,GAAAnB,EAAAU,GAAA,KAAAP,EAAA,aAAoCG,OAAOc,MAAA,MAAAC,QAAArB,EAAAb,eAA0CqB,IAAKc,iBAAA,SAAAR,GAAkCd,EAAAb,cAAA2B,MAA2BX,EAAA,OAAYE,YAAA,UAAAC,OAA6BU,IAAAhB,EAAAd,kBAAuB,IAE/vCqC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE/C,EACAmB,GATF,EAVA,SAAA6B,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB,8BC1BhCK,EAAAC,QAAiBL,EAAAM,EAAuB","file":"static/js/12.32f967d8775c85545060.1557819940580.js","sourcesContent":["<template>\r\n <div class=\"errPage-container\">\r\n <el-button @click=\"back\" icon=\"arrow-left\" class=\"pan-back-btn\">返回</el-button>\r\n <el-row>\r\n <el-col :span=\"12\">\r\n <h1 class=\"text-jumbo text-ginormous\">Oops!</h1>\r\n 页面\r\n <h2>你没有权限去该页面</h2>\r\n <h6>如有不满请联系你领导</h6>\r\n <ul class=\"list-unstyled\">\r\n <li>或者你可以去:</li>\r\n <li class=\"link-type\">\r\n <router-link to=\"/index\">回首页</router-link>\r\n </li>\r\n <li class=\"link-type\"><router-link to=\"/index\">回首页</router-link></li>\r\n <li><a @click.prevent=\"dialogVisible = true\" href=\"#\">点我看图</a></li>\r\n </ul>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <img :src=\"errGif\" width=\"313\" height=\"428\" alt=\"Girl has dropped her ice cream.\" />\r\n </el-col>\r\n </el-row>\r\n <el-dialog title=\"随便看\" :visible.sync=\"dialogVisible\">\r\n <img class=\"pan-img\" :src=\"ewizardClap\" />\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport errGif from '@/assets/401_images/401.gif';\r\n\r\nexport default {\r\n name: 'page401',\r\n data() {\r\n return {\r\n errGif: errGif + '?' + +new Date(),\r\n ewizardClap: 'https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646',\r\n dialogVisible: false\r\n };\r\n },\r\n methods: {\r\n back() {\r\n if (this.$route.query.noGoBack) {\r\n this.$router.push({ path: '/' });\r\n } else {\r\n this.$router.go(-1);\r\n }\r\n }\r\n }\r\n};\r\n</script>\r\n\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n.errPage-container {\r\n width: 800px;\r\n margin: 100px auto;\r\n .pan-back-btn {\r\n background: #008489;\r\n color: #fff;\r\n }\r\n .pan-gif {\r\n margin: 0 auto;\r\n display: block;\r\n }\r\n .pan-img {\r\n display: block;\r\n margin: 0 auto;\r\n width: 100%;\r\n }\r\n .text-jumbo {\r\n font-size: 60px;\r\n font-weight: 700;\r\n color: #484848;\r\n }\r\n .list-unstyled {\r\n font-size: 14px;\r\n li {\r\n padding-bottom: 5px;\r\n }\r\n a {\r\n color: #008489;\r\n text-decoration: none;\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/error/401.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"errPage-container\"},[_c('el-button',{staticClass:\"pan-back-btn\",attrs:{\"icon\":\"arrow-left\"},on:{\"click\":_vm.back}},[_vm._v(\"返回\")]),_vm._v(\" \"),_c('el-row',[_c('el-col',{attrs:{\"span\":12}},[_c('h1',{staticClass:\"text-jumbo text-ginormous\"},[_vm._v(\"Oops!\")]),_vm._v(\"\\n 页面\\n \"),_c('h2',[_vm._v(\"你没有权限去该页面\")]),_vm._v(\" \"),_c('h6',[_vm._v(\"如有不满请联系你领导\")]),_vm._v(\" \"),_c('ul',{staticClass:\"list-unstyled\"},[_c('li',[_vm._v(\"或者你可以去:\")]),_vm._v(\" \"),_c('li',{staticClass:\"link-type\"},[_c('router-link',{attrs:{\"to\":\"/index\"}},[_vm._v(\"回首页\")])],1),_vm._v(\" \"),_c('li',{staticClass:\"link-type\"},[_c('router-link',{attrs:{\"to\":\"/index\"}},[_vm._v(\"回首页\")])],1),_vm._v(\" \"),_c('li',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.dialogVisible = true}}},[_vm._v(\"点我看图\")])])])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":12}},[_c('img',{attrs:{\"src\":_vm.errGif,\"width\":\"313\",\"height\":\"428\",\"alt\":\"Girl has dropped her ice cream.\"}})])],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"随便看\",\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{staticClass:\"pan-img\",attrs:{\"src\":_vm.ewizardClap}})])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-04f5cca3\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/error/401.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-04f5cca3\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./401.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./401.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./401.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-04f5cca3\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./401.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-04f5cca3\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/error/401.vue\n// module id = null\n// module chunks = ","module.exports = __webpack_public_path__ + \"static/img/401.089007e.gif\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/401_images/401.gif\n// module id = MOmO\n// module chunks = 12"],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([13],{HFkx:function(e,t){},"Rw+R":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("P9l9"),r={name:"log",data:function(){return{requestProject:"gic-authcenter",bgHeight:window.screen.availHeight-320+"px",dateValue:[],optionsSearch:[{value:"1",label:"用户工号"},{value:"2",label:"用户姓名"},{value:"3",label:"手机号"},{value:"4",label:"职位"},{value:"5",label:"日志标题"},{value:"6",label:"日志内容"}],searchInput:"",searchType:"1",options:[{value:"",label:"所有类型"},{value:"0",label:"登录"},{value:"1",label:"登出"},{value:"2",label:"查看"},{value:"3",label:"新增"},{value:"4",label:"修改"},{value:"5",label:"删除"}],optionsApply:[],oprStyle:"",applyId:"",tableData:[],currentPage:1,pageSize:10,totalCount:0,loading:!1}},mounted:function(){this.$emit("getLinkType","log"),this.getLogList(),this.getApplyList()},methods:{getLogList:function(){var e=this,t={requestProject:this.requestProject,currentPage:this.currentPage,pageSize:this.pageSize,search:this.searchInput,searchType:this.searchType,startTime:this.dateValue[0],endTime:this.dateValue[1],type:this.oprStyle,appId:this.applyId};this.loading=!0,Object(l.b)("/gic-authcenter/log",t).then(function(t){var a=t.data;if(e.loading=!1,0==a.errorCode){var l=a.result;e.tableData=l.result?l.result:[],e.totalCount=l.totalCount,e.dateValue=[l.startTime,l.endTime]}else e.$message.error(a.message)})},getApplyList:function(){var e=this,t={requestProject:this.requestProject};Object(l.b)("/gic-authcenter/app",t).then(function(t){var a=t.data;if(0==a.errorCode){e.optionsApply=a.result?a.result:[];e.optionsApply.unshift({id:"",appName:"所有模块"})}else e.$message.error(a.message)}).catch(function(e){console.log(e)})},changeDate:function(){this.currentPage=1,this.getLogList()},handleCurrentChange:function(e){this.currentPage=e,this.getLogList()},handleSizeChange:function(e){this.pageSize=e,this.getLogList()}},components:{}},n={render:function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"log-wrap",style:{"min-height":e.bgHeight}},[l("div",{staticClass:"search-wrap"},[l("el-input",{staticClass:"input-w265",attrs:{placeholder:"请输入内容",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.changeDate(t)}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[l("el-select",{staticClass:"search-select",attrs:{slot:"prepend",placeholder:"请选择"},on:{change:e.changeDate},slot:"prepend",model:{value:e.searchType,callback:function(t){e.searchType=t},expression:"searchType"}},e._l(e.optionsSearch,function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),l("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},on:{change:e.changeDate},model:{value:e.dateValue,callback:function(t){e.dateValue=t},expression:"dateValue"}}),e._v(" "),l("el-select",{staticClass:"margin-l8 width158",attrs:{placeholder:"请选择操作类型"},on:{change:e.changeDate},model:{value:e.oprStyle,callback:function(t){e.oprStyle=t},expression:"oprStyle"}},e._l(e.options,function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),l("el-select",{staticClass:"margin-l8 width158",attrs:{placeholder:"请选择应用模块"},on:{change:e.changeDate},model:{value:e.applyId,callback:function(t){e.applyId=t},expression:"applyId"}},e._l(e.optionsApply,function(e){return l("el-option",{key:e.id,attrs:{label:e.appName,value:e.id}})}),1)],1),e._v(" "),l("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table-no-line-wrap",attrs:{data:e.tableData,"max-height":"550"}},[l("el-table-column",{attrs:{prop:"employeeNumber",label:"用户工号",width:"80"}}),e._v(" "),l("el-table-column",{attrs:{prop:"userName",label:"用户姓名"}}),e._v(" "),l("el-table-column",{attrs:{prop:"userMobile",label:"手机号"}}),e._v(" "),l("el-table-column",{attrs:{prop:"position",label:"职位"}}),e._v(" "),l("el-table-column",{attrs:{prop:"ipAddress",label:"IP地址"}}),e._v(" "),l("el-table-column",{attrs:{prop:"appName",label:"应用模块"}}),e._v(" "),l("el-table-column",{attrs:{prop:"type",label:"操作类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.type?l("p",[e._v("登录")]):1==t.row.type?l("p",[e._v("登出")]):2==t.row.type?l("p",[e._v("查看")]):3==t.row.type?l("p",[e._v("新增")]):4==t.row.type?l("p",[e._v("修改")]):5==t.row.type?l("p",[e._v("删除")]):e._e()]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"createTime",label:"操作时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("dateFormat")(t.row.createTime,"YYYY-MM-DD"))),l("br"),l("span",{staticClass:"date-second-item"},[e._v(e._s(e._f("dateFormat")(t.row.createTime,"hh:mm:ss")))])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"operTitle",label:"日志标题"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("p",{staticClass:"oper-content-wrap",attrs:{title:t.row.operTitle}},[e._v(e._s(t.row.operTitle?t.row.operTitle:"--"))])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"operContent",label:"日志内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("p",{staticClass:"oper-content-wrap",attrs:{title:t.row.operContent}},[e._v(e._s(t.row.operContent?t.row.operContent:"--"))])]}}])}),e._v(" "),l("template",{slot:"empty"},[l("div",{staticClass:"no-data-wrap"},[l("div",{staticClass:"no-data-icon"},[l("img",{attrs:{src:a("8Td+"),alt:""}})]),e._v(" "),l("p",[e._v("暂无数据")])])])],2),e._v(" "),l("div",{directives:[{name:"show",rawName:"v-show",value:e.totalCount>0,expression:"totalCount > 0"}],staticClass:"pagination"},[l("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)},staticRenderFns:[]};var o=a("VU/8")(r,n,!1,function(e){a("HFkx")},"data-v-66a59421",null);t.default=o.exports}});
//# sourceMappingURL=13.1a2817468fa4adc40be1.1557819940580.js.map
\ No newline at end of file
webpackJsonp([14],{"8ElP":function(e,t){},kP3l:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o("ueeG"),r=o("P9l9"),i=o("rM4U"),a=function(e,t,o){t?Object(i.a)(t)?o():o(new Error("分类目录名称不允许有空格")):o(new Error("请输入分类目录名称"))},s=function(e,t,o){t?Object(i.b)(t)?o():o(new Error("分类目录编码只能由英文、下划线、数字组成")):o(new Error("请输入分类目录编码"))},u={name:"categoryList",data:function(){return{requestProject:"gic-bizdict",tableData:[],menuTitle:"创建字典分类",dialogVisible:!1,options:[],editCodeBool:!1,menuForm:{name:"",menuCode:"",parentCode:""},rules:{name:[{required:!0,trigger:"blur",validator:a}],menuCode:[{required:!0,trigger:"blur",validator:s}]},loading:!1,menuType:"",menuId:""}},mounted:function(){this.init()},methods:{init:function(){var e=this.$route.query.tabId;this.$emit("showTab",e),this.getDictionaryList()},getDictionaryList:function(){var e=this;this.loading=!0;var t={requestProject:this.requestProject};Object(r.b)("/gic-bizdict/category/tree",t).then(function(t){var o=t.data;if(e.loading=!1,0==o.errorCode){var n=o.result?o.result:[];e.tableData=e.addMenuPara(n)}else e.$message.error(o.message)}).catch(function(e){console.log(e)})},addMenuPara:function(e){var t=this;return e.forEach(function(o){o.numBool=!0,o.children=o.nodeChildren?o.nodeChildren:[],o.total=e.length,o.oldSort=o.indexSort,o.children.length>0&&t.addMenuPara(o.children)}),e},changeNum:function(e){e.numBool=!1},blurNumInput:function(e){e.numBool=!0,e.indexSort>e.total||e.indexSort<1?e.indexSort=e.oldSort:this.sortMenu(e)},sortMenu:function(e){var t=this,o={requestProject:this.requestProject,sortCategory:!0,sort:e.indexSort};Object(r.d)("/gic-bizdict/category/"+e.code,o).then(function(e){var o=e.data;0==o.errorCode?(t.getDictionaryList(),t.$message.success("排序成功")):t.$message.error(o.message)}).catch(function(e){console.log(e)})},keyupInput:function(e){(e.indexSort>e.total||e.indexSort<1)&&(e.indexSort="")},delMenu:function(e,t,o){var n=this;this.$confirm("是否要删除选中的分类?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var e={requestProject:n.requestProject};Object(r.a)("/gic-bizdict/category/"+t.code,e).then(function(e){var t=e.data;0==t.errorCode?(n.getDictionaryList(),n.$message.success("删除成功")):n.$message.error(t.message)})}).catch(function(e){console.log(e)})},editMenu:function(e){this.menuTitle="编辑字典分类",this.menuType="edit",this.dialogVisible=!0,this.editCodeBool=!0,this.menuId=e.id,this.menuForm={name:e.categoryName,menuCode:e.code,parentCode:e.parentCode}},toCreateMenu:function(e,t){this.dialogVisible=!0,this.editCodeBool=!1,this.menuId="",this.menuType="add",this.$refs.menuForm&&this.$refs.menuForm.resetFields(),"main"==e?(this.menuTitle="创建字典分类",this.menuForm.parentCode=""):"child"==e&&(this.menuForm.parentCode=t.code,this.menuTitle="创建子节点"),this.menuForm.name="",this.menuForm.menuCode=""},cancelCreate:function(){this.dialogVisible=!1,this.$refs.menuForm.clearValidate()},sureCreate:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return console.log("error submit!!"),!1;var o={requestProject:t.requestProject,categoryName:t.menuForm.name,code:t.menuForm.menuCode,parentCode:t.menuForm.parentCode};"add"==t.menuType?Object(r.c)("/gic-bizdict/category",o).then(function(e){var o=e.data;0==o.errorCode?(t.dialogVisible=!1,t.getDictionaryList(),t.$message.success("保存成功")):t.$message.error(o.message)}).catch(function(e){console.log(e)}):"edit"==t.menuType&&Object(r.d)("/gic-bizdict/category/"+t.menuForm.menuCode,o).then(function(e){var o=e.data;0==o.errorCode?(t.dialogVisible=!1,t.getDictionaryList(),t.$message.success("保存成功")):t.$message.error(o.message)}).catch(function(e){console.log(e)})})}},components:{ywInput:n.a}},l={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"my-right-content"},[n("div",{staticClass:"create-btn"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.toCreateMenu("main")}}},[e._v("创建字典分类")])],1),e._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table-no-line-wrap",attrs:{data:e.tableData,"max-height":"636","row-key":"id"}},[n("el-table-column",{attrs:{prop:"categoryName",label:"分类目录名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"menu-name-wrap"},[t.row.numBool?n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"排序",placement:"top"}},[n("span",{on:{click:function(o){return e.changeNum(t.row)}}},[e._v(e._s(t.row.indexSort))])]):n("el-input",{directives:[{name:"focus",rawName:"v-focus",value:!t.row.numBool,expression:"!scoped.row.numBool"}],staticClass:"num-input-wrap",attrs:{type:"number"},on:{blur:function(o){return e.blurNumInput(t.row)}},nativeOn:{keyup:function(o){return e.keyupInput(t.row)}},model:{value:t.row.indexSort,callback:function(o){e.$set(t.row,"indexSort","string"==typeof o?o.trim():o)},expression:"scoped.row.indexSort"}}),e._v("\n "+e._s(t.row.categoryName)+"\n ")],1)]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"code",label:"分类目录编码"}}),e._v(" "),n("el-table-column",{attrs:{prop:"parentCode",label:"父级编码","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.parentCode?t.row.parentCode:"--"))]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"opr",label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"text"},on:{click:function(o){return e.editMenu(t.row)}}},[e._v("编辑")]),e._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(o){return e.toCreateMenu("child",t.row)}}},[e._v("创建子节点")]),e._v(" "),n("el-button",{directives:[{name:"show",rawName:"v-show",value:t.row.children.length<1,expression:"scoped.row.children.length < 1"}],attrs:{type:"text"},on:{click:function(o){return e.delMenu(t,t.row,t.$index)}}},[e._v("删除")])]}}])}),e._v(" "),n("template",{slot:"empty"},[n("div",{staticClass:"no-data-wrap"},[n("div",{staticClass:"no-data-icon"},[n("img",{attrs:{src:o("8Td+"),alt:""}})]),e._v(" "),n("p",[e._v("暂无数据")])])])],2),e._v(" "),n("el-dialog",{attrs:{title:e.menuTitle,visible:e.dialogVisible,width:"425px","before-close":e.cancelCreate},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("el-form",{ref:"menuForm",attrs:{model:e.menuForm,rules:e.rules,"label-width":"110px"}},[n("el-form-item",{attrs:{label:"分类目录名称",prop:"name"}},[n("yw-input",{attrs:{byteType:0,maxlength:20},model:{value:e.menuForm.name,callback:function(t){e.$set(e.menuForm,"name",t)},expression:"menuForm.name"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"分类目录编码",prop:"menuCode"}},[n("yw-input",{attrs:{disabled:e.editCodeBool,byteType:0,maxlength:32},model:{value:e.menuForm.menuCode,callback:function(t){e.$set(e.menuForm,"menuCode",t)},expression:"menuForm.menuCode"}})],1),e._v(" "),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.menuForm.parentCode,expression:"menuForm.parentCode"}],attrs:{label:"父级编码"}},[n("el-input",{attrs:{disabled:""},model:{value:e.menuForm.parentCode,callback:function(t){e.$set(e.menuForm,"parentCode",t)},expression:"menuForm.parentCode"}})],1)],1),e._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.cancelCreate}},[e._v("取 消")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.sureCreate("menuForm")}}},[e._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var c=o("VU/8")(u,l,!1,function(e){o("8ElP")},"data-v-63f43350",null);t.default=c.exports}});
//# sourceMappingURL=14.0ac5d5e5a5eaccf19847.1557819940580.js.map
\ No newline at end of file
webpackJsonp([15],{EpjD:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("P9l9"),c={name:"entrance",data:function(){return{requestProject:"gic-authcenter",entranceList:[]}},mounted:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this,n={requestProject:this.requestProject};Object(r.b)("/gic-authcenter/loginuser",n).then(function(n){var r=n.data;if(0==r.errorCode){e.entranceList=[];var c=[];(r.result.menuTree?r.result.menuTree:[]).forEach(function(e){1==e.isShow&&(""!=e.iconUrl?e.iconUrlNew=t("gbs+")("./"+e.iconUrl+".png"):e.iconUrlNew=t("Ajpb"),c.push(e))});for(var i=0;i<c.length;i+=4)e.entranceList.push(c.slice(i,i+4))}else e.$message.error(r.message)}).catch(function(e){console.log(e)})},entranceDic:function(e){var n=e.nodeChildren[0].nodeChildren?e.nodeChildren[0].nodeChildren[0].uri:e.nodeChildren[0].uri;this.$router.push({path:n,query:{code:e.code,name:e.menuName,icon:e.iconUrl}})}}},i={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"my-index"},[t("h2",[e._v("运维平台快捷入口")]),e._v(" "),t("div",{staticClass:"entrance-wrap"},e._l(e.entranceList,function(n,r){return t("ul",{key:r,staticClass:"clearfix"},e._l(n,function(n){return t("li",{key:n.id,staticClass:"fl",on:{click:function(t){return e.entranceDic(n)}}},[t("div",{staticClass:"img"},[t("img",{attrs:{src:n.iconUrlNew,alt:"图片"}})]),e._v(" "),t("p",[e._v(e._s(n.menuName))])])}),0)}),0)])},staticRenderFns:[]};var s=t("VU/8")(c,i,!1,function(e){t("Gc4l")},"data-v-5f250a98",null);n.default=s.exports},Gc4l:function(e,n){}});
//# sourceMappingURL=15.0d46848c680417ed9058.1557819940580.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/index/entrance.vue","webpack:///./src/views/index/entrance.vue?ed50","webpack:///./src/views/index/entrance.vue"],"names":["entrance","name","data","requestProject","entranceList","mounted","this","getUserInfo","methods","_this","para","Object","api","then","res","resData","errorCode","arrList","result","menuTree","forEach","item","isShow","iconUrl","iconUrlNew","__webpack_require__","push","i","length","slice","$message","error","message","catch","console","log","entranceDic","row","url","nodeChildren","uri","$router","path","query","code","menuName","icon","index_entrance","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_l","index","key","el","id","on","click","$event","attrs","src","alt","_s","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sHAkBAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,eAAA,iBACAC,kBAGAC,QARA,WASAC,KAAAC,eAEAC,SAEAD,YAFA,WAEA,IAAAE,EAAAH,KACAI,GACAP,eAAAG,KAAAH,gBAEMQ,OAAAC,EAAA,EAAAD,CAAN,4BAAAD,GACAG,KAAA,SAAAC,GACA,IAAAC,EAAAD,EAAAZ,KACA,MAAAa,EAAAC,UAAA,CACAP,EAAAL,gBACA,IACAa,MADAF,EAAAG,OAAAC,SAAAJ,EAAAG,OAAAC,aAEAC,QAAA,SAAAC,GACA,GAAAA,EAAAC,SACA,IAAAD,EAAAE,QAEAF,EAAAG,WAAAC,EAAA,OAAAA,CAAA,KAAAJ,EAAAE,QAAA,QAGAF,EAAAG,WAAAC,EAAA,QAEAR,EAAAS,KAAAL,MAGA,QAAAM,EAAA,EAAAA,EAAAV,EAAAW,OAAAD,GAAA,EACAlB,EAAAL,aAAAsB,KAAAT,EAAAY,MAAAF,IAAA,SAGAlB,EAAAqB,SAAAC,MAAAhB,EAAAiB,WAGAC,MAAA,SAAAF,GACAG,QAAAC,IAAAJ,MAIAK,YArCA,SAqCAC,GACA,IAAAC,EAAAD,EAAAE,aAAA,GAAAA,aAAAF,EAAAE,aAAA,GAAAA,aAAA,GAAAC,IAAAH,EAAAE,aAAA,GAAAC,IACAlC,KAAAmC,QAAAf,MACAgB,KAAAJ,EACAK,OACAC,KAAAP,EAAAO,KACA3C,KAAAoC,EAAAQ,SACAC,KAAAT,EAAAd,cCtEewB,GADEC,OAFjB,WAA0B,IAAAC,EAAA3C,KAAa4C,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,aAAuBF,EAAA,MAAAH,EAAAM,GAAA,cAAAN,EAAAM,GAAA,KAAAH,EAAA,OAAsDE,YAAA,iBAA4BL,EAAAO,GAAAP,EAAA,sBAAA5B,EAAAoC,GAAgD,OAAAL,EAAA,MAAgBM,IAAAD,EAAAH,YAAA,YAAiCL,EAAAO,GAAA,WAAAG,GAA4B,OAAAP,EAAA,MAAgBM,IAAAC,EAAAC,GAAAN,YAAA,KAAAO,IAA+BC,MAAA,SAAAC,GAAyB,OAAAd,EAAAb,YAAAuB,OAA6BP,EAAA,OAAYE,YAAA,QAAkBF,EAAA,OAAYY,OAAOC,IAAAN,EAAAnC,WAAA0C,IAAA,UAAgCjB,EAAAM,GAAA,KAAAH,EAAA,KAAAH,EAAAM,GAAAN,EAAAkB,GAAAR,EAAAd,iBAAwD,KAAK,MAEljBuB,oBCCjB,IAcAC,EAdyB5C,EAAQ,OAcjC6C,CACEtE,EACA+C,GATF,EAVA,SAAAwB,GACE9C,EAAQ,SAaV,kBAEA,MAUe+C,EAAA,QAAAH,EAAiB","file":"static/js/15.0d46848c680417ed9058.1557819940580.js","sourcesContent":["<template>\r\n <div class=\"my-index\">\r\n <h2>运维平台快捷入口</h2>\r\n <div class=\"entrance-wrap\">\r\n <ul class=\"clearfix\" v-for=\"(item, index) in entranceList\" :key=\"index\">\r\n <li class=\"fl\" @click=\"entranceDic(el)\" v-for=\"el in item\" :key=\"el.id\">\r\n <div class=\"img\">\r\n <img :src=\"el.iconUrlNew\" alt=\"图片\" />\r\n </div>\r\n <p>{{ el.menuName }}</p>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { getRequest } from '@/api/api';\r\nexport default {\r\n name: 'entrance',\r\n data() {\r\n return {\r\n requestProject: 'gic-authcenter',\r\n entranceList: []\r\n };\r\n },\r\n mounted() {\r\n this.getUserInfo();\r\n },\r\n methods: {\r\n // 获取用户信息 判断登录状态\r\n getUserInfo() {\r\n let para = {\r\n requestProject: this.requestProject\r\n };\r\n getRequest('/gic-authcenter/loginuser', para)\r\n .then(res => {\r\n let resData = res.data;\r\n if (resData.errorCode == 0) {\r\n this.entranceList = [];\r\n let entranceList = resData.result.menuTree ? resData.result.menuTree : [];\r\n let arrList = [];\r\n entranceList.forEach(item => {\r\n if (item.isShow == 1) {\r\n if (item.iconUrl != '') {\r\n // eslint-disable-next-line\r\n item.iconUrlNew = require(`../../../static/img/${item.iconUrl}.png`);\r\n } else {\r\n // eslint-disable-next-line\r\n item.iconUrlNew = require('../../../static/img/failed-load_img.png');\r\n }\r\n arrList.push(item);\r\n }\r\n });\r\n for (let i = 0; i < arrList.length; i += 4) {\r\n this.entranceList.push(arrList.slice(i, i + 4));\r\n }\r\n } else {\r\n this.$message.error(resData.message);\r\n }\r\n })\r\n .catch(function(error) {\r\n console.log(error);\r\n });\r\n },\r\n // 进入入口\r\n entranceDic(row) {\r\n let url = row.nodeChildren[0].nodeChildren ? row.nodeChildren[0].nodeChildren[0].uri : row.nodeChildren[0].uri;\r\n this.$router.push({\r\n path: url,\r\n query: {\r\n code: row.code,\r\n name: row.menuName,\r\n icon: row.iconUrl\r\n }\r\n });\r\n }\r\n }\r\n};\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n.my-index {\r\n background: #f0f2f5;\r\n text-align: center;\r\n h2 {\r\n color: #303133;\r\n font-size: 24px;\r\n line-height: 33px;\r\n margin-bottom: 95px;\r\n padding-top: 88px;\r\n letter-spacing: 1px;\r\n }\r\n ul {\r\n margin-bottom: 50px;\r\n }\r\n li {\r\n width: 230px;\r\n background: #fff;\r\n border-radius: 4px;\r\n padding-top: 46px;\r\n margin-left: 50px;\r\n cursor: pointer;\r\n &:first-child {\r\n margin-left: 0;\r\n }\r\n .img {\r\n width: 95px;\r\n height: 95px;\r\n margin: 0 auto 54px;\r\n img {\r\n width: 100%;\r\n height: 100%;\r\n border-radius: 6px;\r\n }\r\n }\r\n p {\r\n color: #606266;\r\n font-size: 15px;\r\n line-height: 21px;\r\n text-align: center;\r\n padding-bottom: 44px;\r\n }\r\n &:hover {\r\n box-shadow: 0px 0px 11px 0px rgba(193, 202, 214, 0.3);\r\n p {\r\n color: #303133;\r\n }\r\n }\r\n }\r\n}\r\n.entrance-wrap {\r\n display: inline-block;\r\n padding: 95px 0 20px;\r\n border-top: 1px dashed #ccc;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/index/entrance.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"my-index\"},[_c('h2',[_vm._v(\"运维平台快捷入口\")]),_vm._v(\" \"),_c('div',{staticClass:\"entrance-wrap\"},_vm._l((_vm.entranceList),function(item,index){return _c('ul',{key:index,staticClass:\"clearfix\"},_vm._l((item),function(el){return _c('li',{key:el.id,staticClass:\"fl\",on:{\"click\":function($event){return _vm.entranceDic(el)}}},[_c('div',{staticClass:\"img\"},[_c('img',{attrs:{\"src\":el.iconUrlNew,\"alt\":\"图片\"}})]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(el.menuName))])])}),0)}),0)])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-5f250a98\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/index/entrance.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5f250a98\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./entrance.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./entrance.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./entrance.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5f250a98\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./entrance.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-5f250a98\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/index/entrance.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([17],{CSLK:function(t,e){},eZJA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),o={name:"userList",data:function(){return{requestProject:"gic-authcenter",searchInput:"",tableData:[],currentPage:1,pageSize:10,totalCount:0,loading:!1}},mounted:function(){this.init()},methods:{init:function(){var t=this.$route.query.tabId;this.$emit("showTab",t),this.getList()},getList:function(){var t=this;this.loading=!0;var e={requestProject:this.requestProject,currentPage:this.currentPage,pageSize:this.pageSize,search:this.searchInput};Object(n.b)("/gic-authcenter/user",e).then(function(e){var a=e.data;t.loading=!1,0==a.errorCode?(t.tableData=a.result?a.result:[],t.totalCount=a.totalCount):t.$message.error(a.message)}).catch(function(t){console.log(t)})},handleCurrentChange:function(t){this.currentPage=t,this.getList()},handleSizeChange:function(t){this.pageSize=t,this.getList()},searchList:function(){this.currentPage=1,this.getList()},delAuthority:function(t,e){var a=this;this.$confirm("是否要删除选中的用户?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var o={requestProject:a.requestProject};Object(n.a)("/gic-authcenter/user/"+t.loginName,o).then(function(t){var n=t.data;0==n.errorCode?(a.totalCount--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getList()):a.totalCount>0&&a.getList()),a.$message.success("删除成功")):a.$message.error(n.message)})}).catch(function(t){console.log(t)})},addUserBtn:function(t,e){"add"==t?this.$router.push({path:"/addUser",query:{tabId:this.$route.query.tabId}}):"edit"==t&&this.$router.push({path:"/addUser",query:{loginName:e.loginName,tabId:this.$route.query.tabId}})}},components:{}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-right-content"},[n("div",{staticClass:"search-wrap clearfix"},[n("el-input",{staticClass:"fl",attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入内容",clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchList(e)}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}}),t._v(" "),n("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){return t.addUserBtn("add")}}},[t._v("新增用户")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"table-no-line-wrap",attrs:{data:t.tableData,"max-height":"550"}},[n("el-table-column",{attrs:{prop:"loginName",label:"用户名","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"employeeNumber",label:"工号","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"realName",label:"姓名","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"sex",label:"性别"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.sex?n("span",[t._v("女")]):1==e.row.sex?n("span",[t._v("男")]):n("span",[t._v("未知")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"departmentName",label:"部门名称","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"position",label:"职位","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"email",label:"邮箱","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.email?e.row.email:"--")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"userMobile",label:"手机号码","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"opr",label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.addUserBtn("edit",e.row)}}},[t._v("编辑")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.delAuthority(e.row,e.$index)}}},[t._v("删除")])]}}])}),t._v(" "),n("template",{slot:"empty"},[n("div",{staticClass:"no-data-wrap"},[n("div",{staticClass:"no-data-icon"},[n("img",{attrs:{src:a("8Td+"),alt:""}})]),t._v(" "),n("p",[t._v("暂无数据")])])])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.totalCount>0,expression:"totalCount > 0"}],staticClass:"pagination"},[n("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next",total:t.totalCount},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)},staticRenderFns:[]};var s=a("VU/8")(o,r,!1,function(t){a("CSLK")},"data-v-43a7013d",null);e.default=s.exports}});
//# sourceMappingURL=17.11d2245865cad2922350.1557819940580.js.map
\ No newline at end of file
webpackJsonp([18],{FgHG:function(e,t){},lBqE:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("P9l9"),r={name:"dictionaryLog",data:function(){return{requestProject:"gic-bizdict",bgHeight:window.screen.availHeight-320+"px",dateValue:[],optionsSearch:[{value:"1",label:"用户工号"},{value:"2",label:"用户姓名"},{value:"3",label:"手机号"},{value:"4",label:"职位"},{value:"5",label:"日志标题"},{value:"6",label:"日志内容"}],searchInput:"",searchType:"1",options:[{value:"",label:"所有类型"},{value:"0",label:"登录"},{value:"1",label:"登出"},{value:"2",label:"查看"},{value:"3",label:"新增"},{value:"4",label:"修改"},{value:"5",label:"删除"}],oprStyle:"",tableData:[],currentPage:1,pageSize:10,totalCount:0,loading:!1}},mounted:function(){this.init()},methods:{init:function(){var e=this.$route.query.tabId;this.$emit("showTab",e),this.getLogList()},getLogList:function(){var e=this,t={requestProject:this.requestProject,currentPage:this.currentPage,pageSize:this.pageSize,search:this.searchInput,searchType:this.searchType,startTime:this.dateValue[0],endTime:this.dateValue[1],type:this.oprStyle};this.loading=!0,Object(l.b)("/gic-bizdict/log",t).then(function(t){var a=t.data;if(e.loading=!1,0==a.errorCode){var l=a.result;e.tableData=l.result?l.result:[],e.totalCount=l.totalCount,e.dateValue=[l.startTime,l.endTime]}else e.$message.error(a.message)})},changeDate:function(){this.currentPage=1,this.getLogList()},handleCurrentChange:function(e){this.currentPage=e,this.getLogList()},handleSizeChange:function(e){this.pageSize=e,this.getLogList()}},components:{}},n={render:function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"log-wrap"},[l("div",{staticClass:"search-wrap"},[l("el-input",{staticClass:"input-w265",attrs:{placeholder:"请输入内容",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.changeDate(t)}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[l("el-select",{staticClass:"search-select",attrs:{slot:"prepend",placeholder:"请选择"},on:{change:e.changeDate},slot:"prepend",model:{value:e.searchType,callback:function(t){e.searchType=t},expression:"searchType"}},e._l(e.optionsSearch,function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),l("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},on:{change:e.changeDate},model:{value:e.dateValue,callback:function(t){e.dateValue=t},expression:"dateValue"}}),e._v(" "),l("el-select",{staticClass:"margin-l8 width158",attrs:{placeholder:"请选择操作类型"},on:{change:e.changeDate},model:{value:e.oprStyle,callback:function(t){e.oprStyle=t},expression:"oprStyle"}},e._l(e.options,function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),l("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table-no-line-wrap",attrs:{data:e.tableData,"max-height":"545"}},[l("el-table-column",{attrs:{prop:"employeeNumber",label:"用户工号",width:"80"}}),e._v(" "),l("el-table-column",{attrs:{prop:"userName",label:"用户姓名"}}),e._v(" "),l("el-table-column",{attrs:{prop:"userMobile",label:"手机号",width:"110"}}),e._v(" "),l("el-table-column",{attrs:{prop:"position",label:"职位"}}),e._v(" "),l("el-table-column",{attrs:{prop:"ipAddress",label:"IP地址",width:"130"}}),e._v(" "),l("el-table-column",{attrs:{prop:"appName",label:"应用模块"}}),e._v(" "),l("el-table-column",{attrs:{prop:"type",label:"操作类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.type?l("p",[e._v("登录")]):1==t.row.type?l("p",[e._v("登出")]):2==t.row.type?l("p",[e._v("查看")]):3==t.row.type?l("p",[e._v("新增")]):4==t.row.type?l("p",[e._v("修改")]):5==t.row.type?l("p",[e._v("删除")]):e._e()]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"createTime",label:"操作时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("dateFormat")(t.row.createTime,"YYYY-MM-DD"))),l("br"),l("span",{staticClass:"date-second-item"},[e._v(e._s(e._f("dateFormat")(t.row.createTime,"hh:mm:ss")))])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"operContent",label:"日志标题"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("p",{staticClass:"oper-content-wrap",attrs:{title:t.row.operTitle}},[e._v(e._s(t.row.operTitle?t.row.operTitle:"--"))])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"operContent",label:"日志内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("p",{staticClass:"oper-content-wrap",attrs:{title:t.row.operContent}},[e._v(e._s(t.row.operContent?t.row.operContent:"--"))])]}}])}),e._v(" "),l("template",{slot:"empty"},[l("div",{staticClass:"no-data-wrap"},[l("div",{staticClass:"no-data-icon"},[l("img",{attrs:{src:a("8Td+"),alt:""}})]),e._v(" "),l("p",[e._v("暂无数据")])])])],2),e._v(" "),l("div",{directives:[{name:"show",rawName:"v-show",value:e.totalCount>0,expression:"totalCount > 0"}],staticClass:"pagination"},[l("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)},staticRenderFns:[]};var o=a("VU/8")(r,n,!1,function(e){a("FgHG")},"data-v-4071e035",null);t.default=o.exports}});
//# sourceMappingURL=18.0f244870808a8d88b409.1557819940580.js.map
\ No newline at end of file
webpackJsonp([20],{V0Ja:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("P9l9"),n={name:"index",data:function(){return{requestProject:"gic-authcenter",bgHeight:window.screen.availHeight-320+"px",tabListData:[],activeSelTab:"",headerCode:""}},mounted:function(){this.init()},methods:{init:function(){this.headerCode=this.$route.query.code,this.$emit("getLinkType","authority"),this.getMenuTree()},getMenuTree:function(){var e=this;Object(i.b)("/gic-authcenter/loginuser",{requestProject:"gic-authcenter"}).then(function(t){var a=t.data;0==a.errorCode?(e.entranceList=[],(a.result.menuTree?a.result.menuTree:[]).forEach(function(t){"authcenter"==t.code&&t.nodeChildren&&t.nodeChildren.length>0&&t.nodeChildren.forEach(function(t){if(t.code==e.headerCode){var a=[];a.push(t),e.tabListData=e.getNewTabList(a),e.activeSelTab||(e.activeSelTab=e.tabListData[0].children.length>0?e.tabListData[0].children[0].tabId:e.tabListData[0].tabId)}})})):e.$message.error(a.message)}).catch(function(e){console.log(e)})},getNewTabList:function(e){var t=this;return e.forEach(function(e){1==e.isShow&&(e.tabId=e.id,e.tabName=e.menuName,e.icon=""!=e.iconUrl?e.iconUrl:"iconcaidan",e.onlyIconActive=!1,e.children=e.nodeChildren?e.nodeChildren:[],e.children.length>0&&(e.children.forEach(function(e){e.icon=""}),t.getNewTabList(e.children)))}),e},setSelectTab:function(e){this.$router.push({path:e.uri,query:{code:this.headerCode,tabId:e.tabId}})},showTab:function(e){this.activeSelTab=e}},beforeRouteLeave:function(e,t,a){var i=e;"/menuManage"==i.path&&"/roleManage"==i.path&&"/addRole"==i.path&&"/userManage"==i.path&&"/addUser"==i.path&&"/authorityList"==i.path||this.$emit("getLinkType",""),a()},components:{ywLeftAside:a("TaZW").a}},r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"authority-wrap",style:{"min-height":this.bgHeight}},[t("div",{staticClass:"my-left-aside"},[t("yw-left-aside",{attrs:{tabListData:this.tabListData,activeSelTab:this.activeSelTab},on:{setSelectTab:this.setSelectTab}})],1),this._v(" "),t("div",{staticClass:"my-right-wrap"},[t("router-view",{on:{showTab:this.showTab}})],1)])},staticRenderFns:[]};var s=a("VU/8")(n,r,!1,function(e){a("Z4E5")},"data-v-32327f16",null);t.default=s.exports},Z4E5:function(e,t){}});
//# sourceMappingURL=20.6c3a1d9996efcd79d71e.1557819940580.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/authority/authority.vue","webpack:///./src/views/authority/authority.vue?91fa","webpack:///./src/views/authority/authority.vue"],"names":["authority","name","data","requestProject","bgHeight","window","screen","availHeight","tabListData","activeSelTab","headerCode","mounted","this","init","methods","$route","query","code","$emit","getMenuTree","_this","Object","api","then","res","resData","errorCode","entranceList","result","menuTree","forEach","item","nodeChildren","length","el","push","getNewTabList","children","tabId","$message","error","message","catch","console","log","_this2","isShow","id","tabName","menuName","icon","iconUrl","onlyIconActive","setSelectTab","$router","path","uri","showTab","beforeRouteLeave","to","from","next","d","components","ywLeftAside","authority_authority","render","_h","$createElement","_c","_self","staticClass","style","min-height","attrs","on","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sHAaAA,GACAC,KAAA,QACAC,KAFA,WAGA,OACAC,eAAA,iBACAC,SAAAC,OAAAC,OAAAC,YAAA,SACAC,eACAC,aAAA,GACAC,WAAA,KAGAC,QAXA,WAYAC,KAAAC,QAEAC,SACAD,KADA,WAEAD,KAAAF,WAAAE,KAAAG,OAAAC,MAAAC,KACAL,KAAAM,MAAA,2BACAN,KAAAO,eAGAA,YAPA,WAOA,IAAAC,EAAAR,KAIMS,OAAAC,EAAA,EAAAD,CAAN,6BAFAlB,eAAA,mBAGAoB,KAAA,SAAAC,GACA,IAAAC,EAAAD,EAAAtB,KACA,GAAAuB,EAAAC,WACAN,EAAAO,iBACAF,EAAAG,OAAAC,SAAAJ,EAAAG,OAAAC,aACAC,QAAA,SAAAC,GACA,cAAAA,EAAAd,MAAAc,EAAAC,cAAAD,EAAAC,aAAAC,OAAA,GACAF,EAAAC,aAAAF,QAAA,SAAAI,GACA,GAAAA,EAAAjB,MAAAG,EAAAV,WAAA,CACA,IAAAF,KACAA,EAAA2B,KAAAD,GACAd,EAAAZ,YAAAY,EAAAgB,cAAA5B,GACAY,EAAAX,eACAW,EAAAX,aAAAW,EAAAZ,YAAA,GAAA6B,SAAAJ,OAAA,EAAAb,EAAAZ,YAAA,GAAA6B,SAAA,GAAAC,MAAAlB,EAAAZ,YAAA,GAAA8B,aAOAlB,EAAAmB,SAAAC,MAAAf,EAAAgB,WAGAC,MAAA,SAAAF,GACAG,QAAAC,IAAAJ,MAIAJ,cAxCA,SAwCA5B,GAAA,IAAAqC,EAAAjC,KAgBA,OAfAJ,EAAAsB,QAAA,SAAAC,GACA,GAAAA,EAAAe,SACAf,EAAAO,MAAAP,EAAAgB,GACAhB,EAAAiB,QAAAjB,EAAAkB,SACAlB,EAAAmB,KAAA,IAAAnB,EAAAoB,QAAApB,EAAAoB,QAAA,aACApB,EAAAqB,gBAAA,EACArB,EAAAM,SAAAN,EAAAC,aAAAD,EAAAC,gBACAD,EAAAM,SAAAJ,OAAA,IACAF,EAAAM,SAAAP,QAAA,SAAAI,GACAA,EAAAgB,KAAA,KAEAL,EAAAT,cAAAL,EAAAM,cAIA7B,GAGA6C,aA3DA,SA2DAtB,GACAnB,KAAA0C,QAAAnB,MACAoB,KAAAxB,EAAAyB,IACAxC,OACAC,KAAAL,KAAAF,WACA4B,MAAAP,EAAAO,UAKAmB,QArEA,SAqEAV,GACAnC,KAAAH,aAAAsC,IAGAW,iBAvFA,SAuFAC,EAAAC,EAAAC,GAEA,IAAAC,EAAAH,EACA,eAAAG,EAAAP,MAAA,eAAAO,EAAAP,MAAA,YAAAO,EAAAP,MAAA,eAAAO,EAAAP,MAAA,YAAAO,EAAAP,MAAA,kBAAAO,EAAAP,MACA3C,KAAAM,MAAA,kBAEA2C,KAEAE,YACAC,sBAAA,IC1GeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbvD,KAAawD,eAA0BC,EAAvCzD,KAAuC0D,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAAAC,OAAqCC,aAArH7D,KAAqHR,YAA+BiE,EAAA,OAAYE,YAAA,kBAA4BF,EAAA,iBAAsBK,OAAOlE,YAAzNI,KAAyNJ,YAAAC,aAAzNG,KAAyNH,cAA8DkE,IAAKtB,aAA5RzC,KAA4RyC,iBAAiC,GAA7TzC,KAA6TgE,GAAA,KAAAP,EAAA,OAA4BE,YAAA,kBAA4BF,EAAA,eAAoBM,IAAIlB,QAA7Y7C,KAA6Y6C,YAAuB,MAE7aoB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEhF,EACAiE,GATF,EAVA,SAAAgB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/20.6c3a1d9996efcd79d71e.1557819940580.js","sourcesContent":["<template>\r\n <div class=\"authority-wrap\" :style=\"{ 'min-height': bgHeight }\">\r\n <div class=\"my-left-aside\">\r\n <yw-left-aside :tabListData=\"tabListData\" :activeSelTab=\"activeSelTab\" @setSelectTab=\"setSelectTab\"></yw-left-aside>\r\n </div>\r\n <div class=\"my-right-wrap\">\r\n <router-view @showTab=\"showTab\"></router-view>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getRequest } from '@/api/api';\r\nimport ywLeftAside from '@/components/yw-left-aside';\r\nexport default {\r\n name: 'index',\r\n data() {\r\n return {\r\n requestProject: 'gic-authcenter',\r\n bgHeight: window.screen.availHeight - 320 + 'px',\r\n tabListData: [],\r\n activeSelTab: '',\r\n headerCode: ''\r\n };\r\n },\r\n mounted() {\r\n this.init();\r\n },\r\n methods: {\r\n init() {\r\n this.headerCode = this.$route.query.code;\r\n this.$emit('getLinkType', 'authority');\r\n this.getMenuTree();\r\n },\r\n // 获取左侧\r\n getMenuTree() {\r\n let para = {\r\n requestProject: 'gic-authcenter'\r\n };\r\n getRequest('/gic-authcenter/loginuser', para)\r\n .then(res => {\r\n let resData = res.data;\r\n if (resData.errorCode == 0) {\r\n this.entranceList = [];\r\n let entranceList = resData.result.menuTree ? resData.result.menuTree : [];\r\n entranceList.forEach(item => {\r\n if (item.code == 'authcenter' && item.nodeChildren && item.nodeChildren.length > 0) {\r\n item.nodeChildren.forEach(el => {\r\n if (el.code == this.headerCode) {\r\n let tabListData = [];\r\n tabListData.push(el);\r\n this.tabListData = this.getNewTabList(tabListData);\r\n if (!this.activeSelTab) {\r\n this.activeSelTab = this.tabListData[0].children.length > 0 ? this.tabListData[0].children[0].tabId : this.tabListData[0].tabId;\r\n }\r\n }\r\n });\r\n }\r\n });\r\n } else {\r\n this.$message.error(resData.message);\r\n }\r\n })\r\n .catch(function(error) {\r\n console.log(error);\r\n });\r\n },\r\n // 整理左侧数据\r\n getNewTabList(tabListData) {\r\n tabListData.forEach(item => {\r\n if (item.isShow == 1) {\r\n item.tabId = item.id;\r\n item.tabName = item.menuName;\r\n item.icon = item.iconUrl != '' ? item.iconUrl : 'iconcaidan';\r\n item.onlyIconActive = false;\r\n item.children = item.nodeChildren ? item.nodeChildren : [];\r\n if (item.children.length > 0) {\r\n item.children.forEach(el => {\r\n el.icon = '';\r\n });\r\n this.getNewTabList(item.children);\r\n }\r\n }\r\n });\r\n return tabListData;\r\n },\r\n // 选择后返回tabId,做各路由判断\r\n setSelectTab(item) {\r\n this.$router.push({\r\n path: item.uri,\r\n query: {\r\n code: this.headerCode,\r\n tabId: item.tabId\r\n }\r\n });\r\n },\r\n // 各路由返回的tabId\r\n showTab(id) {\r\n this.activeSelTab = id;\r\n }\r\n },\r\n beforeRouteLeave(to, from, next) {\r\n // 路由离开之前存储数据\r\n let d = to;\r\n if (d.path != '/menuManage' || d.path != '/roleManage' || d.path != '/addRole' || d.path != '/userManage' || d.path != '/addUser' || d.path != '/authorityList') {\r\n this.$emit('getLinkType', '');\r\n }\r\n next();\r\n },\r\n components: {\r\n ywLeftAside\r\n }\r\n};\r\n</script>\r\n<style lang=\"less\" scoped>\r\n.authority-wrap {\r\n display: flex;\r\n background: #fff;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/authority/authority.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"authority-wrap\",style:({ 'min-height': _vm.bgHeight })},[_c('div',{staticClass:\"my-left-aside\"},[_c('yw-left-aside',{attrs:{\"tabListData\":_vm.tabListData,\"activeSelTab\":_vm.activeSelTab},on:{\"setSelectTab\":_vm.setSelectTab}})],1),_vm._v(\" \"),_c('div',{staticClass:\"my-right-wrap\"},[_c('router-view',{on:{\"showTab\":_vm.showTab}})],1)])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-32327f16\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/authority/authority.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-32327f16\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./authority.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./authority.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./authority.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-32327f16\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./authority.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-32327f16\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/authority/authority.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([21],{"7fCI":function(e,t){},saP7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("ueeG"),n=a("P9l9"),o=a("rM4U"),i=function(e,t,a){t?Object(o.a)(t)?a():a(new Error("权限名称不允许有空格")):a(new Error("请输入权限名称"))},s=function(e,t,a){t?Object(o.b)(t)?a():a(new Error("权限code只能由英文、下划线、数字组成")):a(new Error("请输入权限code"))},l={name:"authorityList",data:function(){return{requestProject:"gic-authcenter",searchInput:"",tableData:[],currentPage:1,pageSize:10,totalCount:0,loading:!1,dialogVisible:!1,menuTitle:"新增权限",editCodeType:"add",menuForm:{menuName:"",menuCode:"",detail:""},rules:{menuName:[{required:!0,trigger:"blur",validator:i}],menuCode:[{required:!0,trigger:"blur",validator:s}]}}},mounted:function(){this.init()},methods:{init:function(){var e=this.$route.query.tabId;this.$emit("showTab",e),this.getList()},getList:function(){var e=this;this.loading=!0;var t={requestProject:this.requestProject,currentPage:this.currentPage,pageSize:this.pageSize,search:this.searchInput};Object(n.b)("/gic-authcenter/permission",t).then(function(t){var a=t.data;e.loading=!1,0==a.errorCode?(e.tableData=a.result?a.result:[],e.totalCount=a.totalCount):e.$message.error(a.message)}).catch(function(e){console.log(e)})},handleCurrentChange:function(e){this.currentPage=e,this.getList()},handleSizeChange:function(e){this.pageSize=e,this.getList()},searchList:function(){this.currentPage=1,this.getList()},delAuthority:function(e,t){var a=this;this.$confirm("是否要删除选中的权限?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var r={requestProject:a.requestProject};Object(n.a)("/gic-authcenter/permission/"+e.permissionCode,r).then(function(e){var r=e.data;0==r.errorCode?(a.totalCount--,a.tableData.splice(t,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getList()):a.totalCount>0&&a.getList()),a.$message.success("删除成功")):a.$message.error(r.message)})}).catch(function(e){console.log(e)})},addUserBtn:function(){},addCreate:function(e,t){this.dialogVisible=!0,this.editCodeType=e,"add"==e?(this.menuTitle="新增权限",this.menuForm.menuName="",this.menuForm.menuCode="",this.menuForm.detail=""):"edit"==e&&(this.menuTitle="编辑权限",this.menuForm.menuName=t.permissionName,this.menuForm.menuCode=t.permissionCode,this.menuForm.detail=t.remark)},cancelCreate:function(){this.dialogVisible=!1,this.$refs.menuForm.clearValidate()},sureCreate:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return console.log("error submit!!"),!1;var a={requestProject:t.requestProject,permissionName:t.menuForm.menuName,permissionCode:t.menuForm.menuCode,remark:t.menuForm.detail};"add"==t.editCodeType?Object(n.c)("/gic-authcenter/permission",a).then(function(e){var a=e.data;0==a.errorCode?(t.dialogVisible=!1,t.getList(),t.$message.success("保存成功")):t.$message.error(a.message)}).catch(function(e){console.log(e)}):"edit"==t.editCodeType&&(delete a.permissionCode,Object(n.d)("/gic-authcenter/permission/"+t.menuForm.menuCode,a).then(function(e){var a=e.data;0==a.errorCode?(t.dialogVisible=!1,t.getList(),t.$message.success("保存成功")):t.$message.error(a.message)}).catch(function(e){console.log(e)}))})}},components:{ywInput:r.a}},u={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"my-right-content"},[r("div",{staticClass:"search-wrap clearfix"},[r("el-input",{staticClass:"fl",attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入内容",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchList(t)}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}}),e._v(" "),r("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(t){return e.addCreate("add")}}},[e._v("新增权限")])],1),e._v(" "),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table-no-line-wrap",attrs:{data:e.tableData,"max-height":"550"}},[r("el-table-column",{attrs:{prop:"permissionName",label:"权限名称","show-overflow-tooltip":""}}),e._v(" "),r("el-table-column",{attrs:{prop:"permissionCode",label:"权限code","show-overflow-tooltip":""}}),e._v(" "),r("el-table-column",{attrs:{prop:"remark",label:"说明","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.remark?t.row.remark:"--")+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"address",label:"操作日期"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("dateFormat")(t.row.updateTime,"YYYY-MM-DD hh:mm:ss"))+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"opr",label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{type:"text"},on:{click:function(a){return e.addCreate("edit",t.row)}}},[e._v("编辑")]),e._v(" "),r("el-button",{attrs:{type:"text"},on:{click:function(a){return e.delAuthority(t.row,t.$index)}}},[e._v("删除")])]}}])}),e._v(" "),r("template",{slot:"empty"},[r("div",{staticClass:"no-data-wrap"},[r("div",{staticClass:"no-data-icon"},[r("img",{attrs:{src:a("8Td+"),alt:""}})]),e._v(" "),r("p",[e._v("暂无数据")])])])],2),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.totalCount>0,expression:"totalCount > 0"}],staticClass:"pagination"},[r("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),e._v(" "),r("el-dialog",{attrs:{title:e.menuTitle,visible:e.dialogVisible,width:"425px","before-close":e.cancelCreate},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("el-form",{ref:"menuForm",attrs:{model:e.menuForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"权限名称",prop:"menuName"}},[r("yw-input",{attrs:{byteType:0,maxlength:20},model:{value:e.menuForm.menuName,callback:function(t){e.$set(e.menuForm,"menuName",t)},expression:"menuForm.menuName"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"权限code",prop:"menuCode"}},[r("yw-input",{attrs:{disabled:"edit"==e.editCodeType,byteType:0,maxlength:32},model:{value:e.menuForm.menuCode,callback:function(t){e.$set(e.menuForm,"menuCode",t)},expression:"menuForm.menuCode"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"说明"}},[r("yw-input",{attrs:{type:"textarea",byteType:0,maxlength:200},model:{value:e.menuForm.detail,callback:function(t){e.$set(e.menuForm,"detail",t)},expression:"menuForm.detail"}})],1)],1),e._v(" "),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelCreate}},[e._v("取 消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.sureCreate("menuForm")}}},[e._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var c=a("VU/8")(l,u,!1,function(e){a("7fCI")},"data-v-1b88df78",null);t.default=c.exports}});
//# sourceMappingURL=21.2443d2576a1b3ff14606.1557819940580.js.map
\ No newline at end of file
webpackJsonp([22],{"/MZh":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),r={name:"roleManage",data:function(){return{requestProject:"gic-authcenter",searchInput:"",tableData:[],currentPage:1,pageSize:10,totalCount:0}},mounted:function(){this.init()},methods:{init:function(){var t=this.$route.query.tabId;this.$emit("showTab",t),this.getRoleList()},getRoleList:function(){var t=this,e={requestProject:this.requestProject,currentPage:this.currentPage,pageSize:this.pageSize,listAll:!1,search:this.searchInput};Object(n.b)("/gic-authcenter/role",e).then(function(e){var a=e.data;0==a.errorCode?(t.tableData=a.result?a.result:[],t.totalCount=a.totalCount):t.$message.error(a.message)})},handleCurrentChange:function(t){this.currentPage=t,this.getRoleList()},handleSizeChange:function(t){this.pageSize=t,this.getRoleList()},searchRole:function(){this.pageSize=1,this.getRoleList()},delRole:function(t,e){var a=this;this.$confirm("是否要删除选中的角色?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var r={requestProject:a.requestProject};Object(n.a)("/gic-authcenter/role/"+t.id,r).then(function(t){var n=t.data;0==n.errorCode?(a.totalCount--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getRoleList()):a.totalCount>0&&a.getRoleList()),a.$message.success("删除成功")):a.$message.error(n.message)})}).catch(function(){})},addRoleBtn:function(t,e){"add"==t?this.$router.push({path:"/addRole",query:{tabId:this.$route.query.tabId}}):"edit"==t&&this.$router.push({path:"/addRole",query:{roleId:e.id,tabId:this.$route.query.tabId}})}},components:{}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-right-content"},[n("div",{staticClass:"search-wrap clearfix"},[n("el-input",{staticClass:"fl",attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入内容",clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchRole(e)}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}}),t._v(" "),n("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){return t.addRoleBtn("add")}}},[t._v("创建角色")])],1),t._v(" "),n("el-table",{staticClass:"table-no-line-wrap",attrs:{data:t.tableData,"max-height":"550"}},[n("el-table-column",{attrs:{prop:"roleName",label:"名称"}}),t._v(" "),n("el-table-column",{attrs:{prop:"systemCount",label:"关联系统"}}),t._v(" "),n("el-table-column",{attrs:{prop:"menuCount",label:"关联菜单"}}),t._v(" "),n("el-table-column",{attrs:{prop:"permissionCount",label:"权限"}}),t._v(" "),n("el-table-column",{attrs:{prop:"remark",label:"说明","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.remark?e.row.remark:"--")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"opr",label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.addRoleBtn("edit",e.row)}}},[t._v("编辑")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.delRole(e.row,e.$index)}}},[t._v("删除")])]}}])}),t._v(" "),n("template",{slot:"empty"},[n("div",{staticClass:"no-data-wrap"},[n("div",{staticClass:"no-data-icon"},[n("img",{attrs:{src:a("8Td+"),alt:""}})]),t._v(" "),n("p",[t._v("暂无数据")])])])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.totalCount>0,expression:"totalCount > 0"}],staticClass:"pagination"},[n("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next",total:t.totalCount},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)},staticRenderFns:[]};var s=a("VU/8")(r,o,!1,function(t){a("GxFT")},"data-v-0a7696e4",null);e.default=s.exports},GxFT:function(t,e){}});
//# sourceMappingURL=22.c76c5133d3642b138a21.1557819940580.js.map
\ No newline at end of file
webpackJsonp([23],{M5Na:function(l,e,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=u("VU/8")(null,null,!1,null,null,null);e.default=n.exports}});
//# sourceMappingURL=23.0f5e09018b293701b277.1557819940580.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/haoban/adList.vue"],"names":["Object","defineProperty","__webpack_exports__","value","Component","__webpack_require__","normalizeComponent"],"mappings":"qDAAAA,OAAAC,eAAAC,EAAA,cAAAC,OAAA,QAaAC,EAbyBC,EAAQ,OAajCC,CAXA,KAEA,MAEA,EAEA,KAEA,KAEA,MAUeJ,EAAA,QAAAE,EAAiB","file":"static/js/23.0f5e09018b293701b277.1557819940580.js","sourcesContent":["var normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nvar __vue_script__ = null\n/* template */\nvar __vue_template__ = null\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/haoban/adList.vue\n// module id = M5Na\n// module chunks = 23"],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([5],{"34W9":function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=i("9wLW"),r=i.n(n),e=i("VD6r"),l=i.n(e),c={name:"page404",data:function(){return{img_404:r.a,img_404_cloud:l.a}},computed:{message:function(){return"特朗普说这个页面你不能进......"}}},d={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[i("div",{staticClass:"wscn-http404"},[i("div",{staticClass:"pic-404"},[i("img",{staticClass:"pic-404__parent",attrs:{src:t.img_404,alt:"404"}}),t._v(" "),i("img",{staticClass:"pic-404__child left",attrs:{src:t.img_404_cloud,alt:"404"}}),t._v(" "),i("img",{staticClass:"pic-404__child mid",attrs:{src:t.img_404_cloud,alt:"404"}}),t._v(" "),i("img",{staticClass:"pic-404__child right",attrs:{src:t.img_404_cloud,alt:"404"}})]),t._v(" "),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[t._v("OOPS!")]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),i("div",{staticClass:"bullshit__info"},[t._v("请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告")]),t._v(" "),i("a",{staticClass:"bullshit__return-home",attrs:{href:"/#/index"}},[t._v("返回首页")])])])])},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"bullshit__info"},[this._v("\n 版权所有\n "),s("a",{staticClass:"link-type",attrs:{href:"https://wallstreetcn.com",target:"_blank"}},[this._v("华尔街见闻")])])}]};var a=i("VU/8")(c,d,!1,function(t){i("WQK7")},"data-v-2cab55d6",null);s.default=a.exports},"9wLW":function(t,s,i){t.exports=i.p+"static/img/404.a57b6f3.png"},VD6r:function(t,s){t.exports="data:image/png;base64,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"},WQK7:function(t,s){}});
//# sourceMappingURL=5.579b657163327c2f20d0.1557819940580.js.map
\ No newline at end of file
webpackJsonp([6],{VlQh:function(t,a){},b9YQ:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=e("oaqO"),n=e("P9l9"),i={name:"tableList",props:{activeTab:{type:String,default:function(){return"android"}}},components:{navBread:r.a},data:function(){return{requestProject:"gic-bizdict",menuData:[{name:"android"==this.$route.query.activeTab?"安卓配置":"iOS配置",path:"/versionList?activeTab="+this.$route.query.activeTab+"&name="+this.$route.query.name+"&icon="+this.$route.query.icon+"&code="+this.$route.query.code+"&tabId="+this.$route.query.tabId},{name:"查看详情",path:""}],formData:{packageId:"",version:"",title:"新版本",content:"",forcedUpdating:"",operatorName:"",updateTime:"2019-04-04 13:45:54",status:"",installName:"2.0.1版本.apk"},loading:!1}},watch:{activeTab:function(t){this.getData()}},mounted:function(){this.formData.packageId=this.$route.query.packageId,this.activeTab,this.getData()},methods:{changeRoute:function(t){this.$router.push(t)},getData:function(){var t=this;t.loading=!0;var a={requestProject:t.requestProject,packageId:t.formData.packageId};Object(n.b)("/gic-haoban-operation/app-package/"+t.formData.packageId,a).then(function(a){var e=a.data;t.loading=!1,0==e.errorCode?t.formData=e.result?e.result:{}:t.$message.error(e.message)}).catch(function(a){t.loading=!1,t.$message.error(a)})}}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-right-content border-box"},[e("nav-bread",{attrs:{menuData:t.menuData}}),t._v(" "),e("div",{staticClass:"detail-content"},[e("el-form",{ref:"form",attrs:{model:t.formData,"label-width":"110px"}},[e("el-form-item",{attrs:{label:"版本号"}},[e("span",[t._v(t._s(t.formData.version))])]),t._v(" "),e("el-form-item",{attrs:{label:"标题"}},[e("span",[t._v(t._s(t.formData.title))])]),t._v(" "),e("el-form-item",{attrs:{label:"版本内容"}},[e("span",[t._v(t._s(t.formData.content))])]),t._v(" "),"android"==t.activeTab?e("el-form-item",{attrs:{label:"安装包上传"}},[e("span",[t._v(t._s(t.formData.installName))])]):t._e(),t._v(" "),e("el-form-item",{attrs:{label:"强制更新"}},[e("span",[t._v(t._s(1==t.formData.forcedUpdating?"是":"否"))])]),t._v(" "),e("el-form-item",{attrs:{label:"状态"}},[e("span",[t._v(t._s(1==t.formData.status?"启用":"停用"))])]),t._v(" "),e("el-form-item",{attrs:{label:"最近编辑"}},[e("span",[t._v(t._s(t.formData.operatorName))])]),t._v(" "),e("el-form-item",{attrs:{label:"最近更新时间"}},[e("span",[t._v(t._s(t.formData.updateTime))])])],1)],1)],1)},staticRenderFns:[]};var s=e("VU/8")(i,o,!1,function(t){e("VlQh")},"data-v-21b846df",null);a.default=s.exports},dAr1:function(t,a){},oaqO:function(t,a,e){"use strict";var r={name:"tableList",props:{menuData:{type:[Array,Object],default:function(){return[]}}},data:function(){return{requestProject:"gic-bizdict",titleData:[]}},watch:{menuData:function(t){t&&(this.titleData=t)}},mounted:function(){this.menuData&&(this.titleData=this.menuData)},methods:{changeRoute:function(t){this.$router.push(t)},redirectRoute:function(t){t&&this.changeRoute(t)}}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"right-content-top border-box"},[e("div",{staticClass:"right-top-wrap flex flex-row flex-space-between flex-pack-center"},[e("div",{staticClass:"right-top-wrap_left flex flex-pack-center"},[e("div",{staticClass:"el-breadcrumb",attrs:{"aria-label":"Breadcrumb",role:"navigation"}},[t._l(t.titleData,function(a,r){return[e("span",{key:r,staticClass:"el-breadcrumb__item",on:{click:function(e){return t.redirectRoute(a.path)}}},[e("span",{class:["el-breadcrumb__inner",a.path?"is-link":""],attrs:{role:"link"}},[t._v(t._s(a.name))]),t._v(" "),e("i",{staticClass:"el-breadcrumb__separator el-icon-arrow-right"})])]})],2)])])])},staticRenderFns:[]};var i=e("VU/8")(r,n,!1,function(t){e("dAr1")},"data-v-8bdb489c",null);a.a=i.exports}});
//# sourceMappingURL=6.210dc1cdd96c1d8a02df.1557819940580.js.map
\ No newline at end of file
webpackJsonp([8],{BJH1:function(e,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=o("lbHh"),s=o.n(t),n=o("P9l9"),i=o("PI0u"),c={name:"login",data:function(){return{requestProject:"gic-authcenter",account:"",password:"",errorMsg:"",errorBool1:!1,errorBool2:!1,successBool1:!1,successBool2:!1,currentYear:"",saveFlag:!0}},mounted:function(){this.currentYear=(new Date).getFullYear()},methods:{hasAccount:Object(i.a)(function(e){"keyup"==e?""==this.account?(this.errorBool1=!0,this.successBool1=!1):(this.successBool1=!0,this.errorBool1=!1,this.errorMsg=""):"blur"==e&&(this.successBool1=!1)},500),hasPassword:function(e){this.errorBool1||("keyup"==e?""==this.password?(this.errorBool2=!0,this.successBool2=!1):(this.successBool2=!0,this.errorBool2=!1,this.errorMsg="",this.loginBtn()):"blur"==e&&(this.successBool2=!1))},loginBtn:function(){if(!this.errorBool1){if(""==this.account)return this.errorBool1=!0,this.errorMsg="请输入账号",void(this.saveFlag=!1);if(this.errorBool1=!1,this.saveFlag=!0,""==this.password)return this.errorBool2=!0,this.errorMsg="请输入密码",void(this.saveFlag=!1);this.saveFlag=!0}this.saveFlag&&this.submitLogin()},submitLogin:function(){var e=this;Object(n.c)("/gic-authcenter/login",{requestProject:this.requestProject,username:this.account,password:this.password}).then(function(r){var o=r.data;e.saveFlag=!1,0==o.errorCode?(s.a.set("AUTHCENTERSESSIONID",o.sessionId),e.saveFlag=!0,e.$router.push("/index")):4005==o.errorCode?(e.errorMsg="账号已失效",e.errorBool1=!0):4006==o.errorCode?(e.errorMsg="账号被锁定",e.errorBool1=!0):4007==o.errorCode?(e.errorMsg="账号或密码错误",e.errorBool2=!0):4008==o.errorCode?(e.errorMsg="账号不存在",e.errorBool1=!0):e.$message.error(o.message)})}}},a={render:function(){var e=this,r=e.$createElement,o=e._self._c||r;return o("div",{staticClass:"login-wrap"},[o("div",{staticClass:"login-fl"},[e._m(0),e._v(" "),e._m(1),e._v(" "),o("div",{staticClass:"footer"},[e._v("Copyright "+e._s(e.currentYear)+" Demogic.com All Rights Reserved 浙ICP备15033117号-1")])]),e._v(" "),o("div",{staticClass:"login-fr"},[o("h3",[e._v("登录达摩运维平台")]),e._v(" "),o("div",{staticClass:"login-content"},[o("h4",[e._v("登录账号")]),e._v(" "),o("el-input",{staticClass:"input-w350",class:{error:e.errorBool1,success:e.successBool1},attrs:{autocomplete:"on",placeholder:"请输入账号"},on:{blur:function(r){return e.hasAccount("blur")},focus:function(r){e.successBool1=!0}},nativeOn:{keyup:function(r){return e.hasAccount("keyup")}},model:{value:e.account,callback:function(r){e.account=r},expression:"account"}}),e._v(" "),o("h4",[e._v("登录密码")]),e._v(" "),o("el-input",{staticClass:"input-w350 input-password",class:{error:e.errorBool2,success:e.successBool2},attrs:{type:"password",placeholder:"请输入密码"},on:{blur:function(r){return e.hasPassword("blur")},focus:function(r){e.successBool2=!0}},nativeOn:{keyup:function(r){return!r.type.indexOf("key")&&e._k(r.keyCode,"enter",13,r.key,"Enter")?null:e.hasPassword("keyup")}},model:{value:e.password,callback:function(r){e.password=r},expression:"password"}})],1),e._v(" "),o("div",{staticClass:"login-error-tip"},[o("p",[e._v(e._s(e.errorMsg))])]),e._v(" "),o("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.loginBtn}},[e._v("登 录")])],1)])},staticRenderFns:[function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"logo"},[r("img",{attrs:{src:o("ZBJ4"),alt:"",width:"247",height:"45"}})])},function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"center-img"},[r("img",{attrs:{src:o("udlM"),alt:"",width:"839",height:"850"}})])}]};var l=o("VU/8")(c,a,!1,function(e){o("ms4L")},"data-v-a5039e7c",null);r.default=l.exports},PI0u:function(e,r,o){"use strict";r.a=function(e,r){var o,r=r||200;return function(){var t=this,s=arguments;o&&clearTimeout(o),o=setTimeout(function(){o=null,e.apply(t,s)},r)}}},lbHh:function(e,r,o){var t,s;
/*!
* JavaScript Cookie v2.2.0
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/!function(n){if(void 0===(s="function"==typeof(t=n)?t.call(r,o,r,e):t)||(e.exports=s),!0,e.exports=n(),!!0){var i=window.Cookies,c=window.Cookies=n();c.noConflict=function(){return window.Cookies=i,c}}}(function(){function e(){for(var e=0,r={};e<arguments.length;e++){var o=arguments[e];for(var t in o)r[t]=o[t]}return r}return function r(o){function t(r,s,n){var i;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(n=e({path:"/"},t.defaults,n)).expires){var c=new Date;c.setMilliseconds(c.getMilliseconds()+864e5*n.expires),n.expires=c}n.expires=n.expires?n.expires.toUTCString():"";try{i=JSON.stringify(s),/^[\{\[]/.test(i)&&(s=i)}catch(e){}s=o.write?o.write(s,r):encodeURIComponent(String(s)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),r=(r=(r=encodeURIComponent(String(r))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var a="";for(var l in n)n[l]&&(a+="; "+l,!0!==n[l]&&(a+="="+n[l]));return document.cookie=r+"="+s+a}r||(i={});for(var u=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,d=0;d<u.length;d++){var p=u[d].split("="),f=p.slice(1).join("=");this.json||'"'!==f.charAt(0)||(f=f.slice(1,-1));try{var v=p[0].replace(h,decodeURIComponent);if(f=o.read?o.read(f,v):o(f,v)||f.replace(h,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(e){}if(r===v){i=f;break}r||(i[v]=f)}catch(e){}}return i}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(r,o){t(r,"",e(o,{expires:-1}))},t.withConverter=r,t}(function(){})})},ms4L:function(e,r){}});
//# sourceMappingURL=8.350ba116b64f35c0edbf.1557819940580.js.map
\ No newline at end of file
webpackJsonp([9],{PI0u:function(e,r,t){"use strict";r.a=function(e,r){var t,r=r||200;return function(){var o=this,s=arguments;t&&clearTimeout(t),t=setTimeout(function(){t=null,e.apply(o,s)},r)}}},W2Q3:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=t("lbHh"),s=t.n(o),n=t("P9l9"),i=t("PI0u"),c={name:"login",data:function(){return{requestProject:"gic-authcenter",account:"",password:"",errorMsg:"",errorBool1:!1,errorBool2:!1,successBool1:!1,successBool2:!1,currentYear:"",saveFlag:!0}},mounted:function(){this.currentYear=(new Date).getFullYear()},methods:{hasAccount:Object(i.a)(function(e){"keyup"==e?""==this.account?(this.errorBool1=!0,this.successBool1=!1):(this.successBool1=!0,this.errorBool1=!1,this.errorMsg=""):"blur"==e&&(this.successBool1=!1)},500),hasPassword:function(e){this.errorBool1||("keyup"==e?""==this.password?(this.errorBool2=!0,this.successBool2=!1):(this.successBool2=!0,this.errorBool2=!1,this.errorMsg="",this.loginBtn()):"blur"==e&&(this.successBool2=!1))},loginBtn:function(){if(!this.errorBool1){if(""==this.account)return this.errorBool1=!0,this.errorMsg="请输入账号",void(this.saveFlag=!1);if(this.errorBool1=!1,this.saveFlag=!0,""==this.password)return this.errorBool2=!0,this.errorMsg="请输入密码",void(this.saveFlag=!1);this.saveFlag=!0}this.saveFlag&&this.submitLogin()},submitLogin:function(){var e=this;Object(n.c)("/gic-authcenter/login",{requestProject:this.requestProject,username:this.account,password:this.password}).then(function(r){var t=r.data;e.saveFlag=!1,0==t.errorCode?(s.a.set("AUTHCENTERSESSIONID",t.sessionId),e.saveFlag=!0,e.$router.push("/index")):4005==t.errorCode?(e.errorMsg="账号已失效",e.errorBool1=!0):4006==t.errorCode?(e.errorMsg="账号被锁定",e.errorBool1=!0):4007==t.errorCode?(e.errorMsg="账号或密码错误",e.errorBool2=!0):4008==t.errorCode?(e.errorMsg="账号不存在",e.errorBool1=!0):e.$message.error(t.message)})}}},a={render:function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"login-wrap"},[t("div",{staticClass:"login-fl"},[e._m(0),e._v(" "),e._m(1),e._v(" "),t("div",{staticClass:"footer"},[e._v("Copyright "+e._s(e.currentYear)+" Demogic.com All Rights Reserved 浙ICP备15033117号-1")])]),e._v(" "),t("div",{staticClass:"login-fr"},[t("h3",[e._v("登录达摩运维平台")]),e._v(" "),t("div",{staticClass:"login-content"},[t("h4",[e._v("登录账号")]),e._v(" "),t("div",{staticClass:"input-w350",class:{error:e.errorBool1,success:e.successBool1}},[t("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.account,expression:"account",modifiers:{trim:!0}}],attrs:{autocomplete:"on",placeholder:"请输入账号"},domProps:{value:e.account},on:{keyup:function(r){return e.hasAccount("keyup")},blur:[function(r){return e.hasAccount("blur")},function(r){return e.$forceUpdate()}],focus:function(r){e.successBool1=!0},input:function(r){r.target.composing||(e.account=r.target.value.trim())}}})]),e._v(" "),t("h4",[e._v("登录密码")]),e._v(" "),t("div",{staticClass:"input-w350 input-password",class:{error:e.errorBool2,success:e.successBool2}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],attrs:{type:"password",placeholder:"请输入密码"},domProps:{value:e.password},on:{keyup:function(r){return!r.type.indexOf("key")&&e._k(r.keyCode,"enter",13,r.key,"Enter")?null:e.hasPassword("keyup")},blur:function(r){return e.hasPassword("blur")},focus:function(r){e.successBool2=!0},input:function(r){r.target.composing||(e.password=r.target.value)}}})])]),e._v(" "),t("div",{staticClass:"login-error-tip"},[t("p",[e._v(e._s(e.errorMsg))])]),e._v(" "),t("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.loginBtn}},[e._v("登 录")])],1)])},staticRenderFns:[function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"logo"},[r("img",{attrs:{src:t("ZBJ4"),alt:"",width:"247",height:"45"}})])},function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"center-img"},[r("img",{attrs:{src:t("udlM"),alt:"",width:"839",height:"850"}})])}]};var u=t("VU/8")(c,a,!1,function(e){t("dQZr")},"data-v-51beaff5",null);r.default=u.exports},dQZr:function(e,r){},lbHh:function(e,r,t){var o,s;
/*!
* JavaScript Cookie v2.2.0
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/!function(n){if(void 0===(s="function"==typeof(o=n)?o.call(r,t,r,e):o)||(e.exports=s),!0,e.exports=n(),!!0){var i=window.Cookies,c=window.Cookies=n();c.noConflict=function(){return window.Cookies=i,c}}}(function(){function e(){for(var e=0,r={};e<arguments.length;e++){var t=arguments[e];for(var o in t)r[o]=t[o]}return r}return function r(t){function o(r,s,n){var i;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(n=e({path:"/"},o.defaults,n)).expires){var c=new Date;c.setMilliseconds(c.getMilliseconds()+864e5*n.expires),n.expires=c}n.expires=n.expires?n.expires.toUTCString():"";try{i=JSON.stringify(s),/^[\{\[]/.test(i)&&(s=i)}catch(e){}s=t.write?t.write(s,r):encodeURIComponent(String(s)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),r=(r=(r=encodeURIComponent(String(r))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var a="";for(var u in n)n[u]&&(a+="; "+u,!0!==n[u]&&(a+="="+n[u]));return document.cookie=r+"="+s+a}r||(i={});for(var l=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,p=0;p<l.length;p++){var h=l[p].split("="),f=h.slice(1).join("=");this.json||'"'!==f.charAt(0)||(f=f.slice(1,-1));try{var v=h[0].replace(d,decodeURIComponent);if(f=t.read?t.read(f,v):t(f,v)||f.replace(d,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(e){}if(r===v){i=f;break}r||(i[v]=f)}catch(e){}}return i}}return o.set=o,o.get=function(e){return o.call(o,e)},o.getJSON=function(){return o.apply({json:!0},[].slice.call(arguments))},o.defaults={},o.remove=function(r,t){o(r,"",e(t,{expires:-1}))},o.withConverter=r,o}(function(){})})}});
//# sourceMappingURL=9.f8dd6ed6c6552c255f3e.1557819940580.js.map
\ No newline at end of file
webpackJsonp([25],{"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6DE0":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("//Fk"),a=n.n(o),i=n("fZjL"),r=n.n(i),u=(n("j1ja"),n("hKoQ")),s=n.n(u),c=n("7+uW"),d={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[this.isRouterAlive?t("router-view"):this._e()],1)},staticRenderFns:[]};var p=n("VU/8")({name:"App",provide:function(){return{reload:this.reload}},data:function(){return{isRouterAlive:!0}},methods:{reload:function(){this.isRouterAlive=!1,this.$nextTick(function(){this.isRouterAlive=!0})}}},d,!1,function(e){n("u4VM")},null,null).exports,l=n("/ocq"),h=n("5tgt"),m=n.n(h);c.default.use(l.a),window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var g,f=[{path:"/login",name:"用户登录",component:m()("login","login")},{path:"/",name:"登陆",component:m()("login","login")},{path:"/index",name:"公共首页",redirect:"/index",component:m()("index","index"),children:[{path:"/index",name:"首页",component:m()("index","entrance")},{path:"/authority",name:"权限管理",redirect:"/menuManage",component:m()("authority","authority"),children:[{path:"/menuManage",name:"菜单管理",component:m()("authority","menuManage")},{path:"/roleManage",name:"角色管理",component:m()("authority","roleManage")},{path:"/userManage",name:"用户管理",component:m()("authority","userManage")},{path:"/authorityList",name:"权限列表",component:m()("authority","authorityList")}]},{path:"/addRole",name:"新建角色",component:m()("authority","addRole")},{path:"/addUser",name:"新增用户",component:m()("authority","addUser")},{path:"/log",name:"操作日志",component:m()("log","log")}]},{path:"/dictionary",name:"业务数据字典配置中心",redirect:"/categoryList",component:m()("dictionary","dictionary"),children:[{path:"/categoryList",name:"字典分类目录",component:m()("dictionary","categoryList")},{path:"/dictionaryManage",name:"字典管理",component:m()("dictionary","dictionaryManage")},{path:"/dictionaryLog",name:"字典管理日志",component:m()("dictionary","dictionaryLog")}]},{path:"/haoban",name:"好办运维后台",redirect:"/versionList",component:m()("haoban","haobanIndex"),children:[{path:"/versionList",name:"版本更新管理",component:m()("haoban","versionList")},{path:"/addSet",name:"添加设置",component:m()("haoban","addSet")},{path:"/setDetail",name:"详情",component:m()("haoban","setDetail")},{path:"/adList",name:"广告列表",component:m()("haoban","adList")}]},{path:"/401",name:"无权访问",component:m()("error","401")},{path:"/404",name:"不存在",component:m()("error","404")},{path:"*",redirect:"/404",hidden:!0}],y=new l.a({routes:f}),v=n("zL8q"),w=n.n(v),M=n("Rf8U"),x=n.n(M),b=n("mtWM"),L=n.n(b),R=n("bOdI"),k=n.n(R),S=n("NYxO");c.default.use(S.a);var E=new S.a.Store({state:{user:{},token:null,title:"",show:!1,showfoot:!0},mutations:(g={},k()(g,"login",function(e,t){sessionStorage.token=t,e.token=t}),k()(g,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),k()(g,"title",function(e,t){e.title=t}),k()(g,"show",function(e,t){e.show=t}),k()(g,"isShowFoot",function(e,t){e.showfoot=t}),g)}),C=(n("6DE0"),n("tvR6"),n("uKUT"),n("Xcu2"),n("ZsCP"),n("VKC4"));s.a.polyfill(),c.default.config.productionTip=!1,c.default.use(w.a),c.default.use(x.a,L.a),c.default.directive("focus",function(e){e.querySelector("input").focus()}),r()(C).forEach(function(e){c.default.filter(e,C[e])}),c.default.prototype.axios.withCredentials=!0,window.$bus=new c.default,c.default.axios.interceptors.request.use(function(e){return e},function(e){return a.a.reject(e)}),c.default.axios.interceptors.response.use(function(e){return 200==e.status&&(4002!=e.data.errorCode&&4011!=e.data.errorCode||(window.location.href=window.location.origin+"/operation-platform/#/")),e},function(e){if(e.response)switch(e.response.status){case 401:4011==e.response.data.errorCode?w.a.MessageBox.confirm(e.response.data.message,"提示",{confirmButtonText:"知道了",showCancelButton:!1,type:"warning"}).then(function(e){window.location.href=window.location.origin+"/operation-platform/#/"}).catch(function(){}):window.location.href=window.location.origin+"/operation-platform/#/";break;case 403:4004==e.response.data.errorCode&&w.a.Message.error(e.response.data.message)}return a.a.reject(e.response.status.toString())}),new c.default({el:"#app",router:y,store:E,components:{App:p},template:"<App/>"})},Opzk:function(e,t,n){var o={"./authority/addRole.vue":["Og1G",0,1],"./authority/addUser.vue":["2iAu",0,7],"./authority/authority.vue":["V0Ja",0,20],"./authority/authorityList.vue":["saP7",0,21],"./authority/menuManage.vue":["RLqh",0,16],"./authority/roleManage.vue":["/MZh",0,22],"./authority/userManage.vue":["eZJA",0,17],"./dictionary/categoryList.vue":["kP3l",0,14],"./dictionary/dictionary.vue":["b0s5",0,3],"./dictionary/dictionaryLog.vue":["lBqE",0,18],"./dictionary/dictionaryManage.vue":["U1CF",0,19],"./error/401.vue":["3RDD",12],"./error/404.vue":["34W9",5],"./haoban/adList.vue":["M5Na",23],"./haoban/addSet.vue":["2gTr",0,2],"./haoban/haobanIndex.vue":["9F3s",0,4],"./haoban/setDetail.vue":["b9YQ",0,6],"./haoban/versionList.vue":["HFdE",0,11],"./index/entrance.vue":["EpjD",0,15],"./index/index.vue":["JXTs",0,10],"./log/log.vue":["Rw+R",0,13],"./login/login-old.vue":["BJH1",0,8],"./login/login.vue":["W2Q3",0,9]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},VKC4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateFormat=function(e,t){if(!e)return;e=10===e.toString().length?1e3*e:e;var n=new Date(e),o={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length)));for(var a in o)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[a]:("00"+o[a]).substr((""+o[a]).length)));return t}},Xcu2:function(e,t){},ZsCP:function(e,t){},tvR6:function(e,t){},u4VM:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.7b52570cb8fa294c928e.1557819940580.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment