├── .babelrc
├── .editorconfig
├── README.md
├── build
├── build.js
├── check-versions.js
├── dev-client.js
├── dev-server.js
├── utils.js
├── vendor-manifest.json
├── vue-loader.conf.js
├── webpack.base.conf.js
├── webpack.dev.conf.js
├── webpack.dll.conf.js
└── webpack.prod.conf.js
├── config
├── dev.env.js
├── index.js
└── prod.env.js
├── dist
├── index.html
└── static
│ ├── css
│ ├── app.260fd38757c8d00ad9ef739ca97bb2c9.css
│ ├── color-dark.css
│ ├── datasource.css
│ ├── main.css
│ └── theme-green
│ │ ├── color-green.css
│ │ ├── fonts
│ │ ├── element-icons.ttf
│ │ └── element-icons.woff
│ │ └── index.css
│ ├── data.json
│ ├── datasource.json
│ ├── fonts
│ └── element-icons.b02bdc1.ttf
│ ├── img
│ ├── img.2aab7b4.jpg
│ └── img.jpg
│ ├── js
│ ├── 0.fae4928a525807264e6e.js
│ ├── 1.dd64f5646de369179175.js
│ ├── 10.ed70a0aab4b4ce805ab0.js
│ ├── 11.94506d54d63e425c1ed9.js
│ ├── 12.ba67d387e00386cb626e.js
│ ├── 13.053ede9c16fdb0ebd58d.js
│ ├── 14.16c4843f0a75f9bb02d0.js
│ ├── 15.6742c8c79c6e0354bdc9.js
│ ├── 16.91829355dc737560ce5c.js
│ ├── 2.5f0537e189fd92a6d136.js
│ ├── 3.c548c731e11e5e4c52ed.js
│ ├── 4.e95d40ff29077951a011.js
│ ├── 5.b77070140bbf9b1da031.js
│ ├── 6.10e3ced3e3240dc6c588.js
│ ├── 7.4cf312e30bac00d72920.js
│ ├── 8.5ba6e998470516a4ffba.js
│ ├── 9.260bb893a4edd429d5cd.js
│ ├── app.9d2db65ae3102c50ac6a.js
│ ├── manifest.53d24fc25d654372bc2e.js
│ ├── vendor.4233a05db66a47888316.js
│ └── vendor.dll.js
│ └── vuetable.json
├── index.html
├── package.json
├── screenshots
├── wms1.png
└── wms2.png
├── src
├── App.vue
├── assets
│ ├── bg_mobile.png
│ ├── date.js
│ ├── logo.png
│ ├── view.png
│ └── wx_phone.png
├── components
│ ├── caocao
│ │ ├── CreditReport.vue
│ │ ├── FilterCreate.vue
│ │ ├── FilterList.vue
│ │ ├── FilterSigleList.vue
│ │ ├── FilterUpdate.vue
│ │ ├── ProductCreate.vue
│ │ ├── ProductCreate1.vue
│ │ ├── ProductList.vue
│ │ ├── ProductSigleList.vue
│ │ ├── ProductUpdate.vue
│ │ ├── ProductUpdate1.vue
│ │ ├── TableCreate.vue
│ │ ├── TableList.vue
│ │ ├── TableSigleList.vue
│ │ └── TableUpdate.vue
│ ├── common
│ │ ├── Header.vue
│ │ ├── Home.vue
│ │ └── Sidebar.vue
│ ├── operating
│ │ ├── Create.vue
│ │ ├── EditContent.vue
│ │ ├── EditDialog.vue
│ │ ├── List.vue
│ │ └── ReadContent.vue
│ ├── page
│ │ ├── BaseCharts.vue
│ │ ├── BaseForm.vue
│ │ ├── BaseTable.vue
│ │ ├── DragList.vue
│ │ ├── Login.vue
│ │ ├── Markdown.vue
│ │ ├── OldCharts.vue
│ │ ├── Readme.vue
│ │ ├── Upload.vue
│ │ ├── VueEditor.vue
│ │ └── VueTable.vue
│ ├── project
│ │ ├── FilterCreate.vue
│ │ ├── FilterList.vue
│ │ ├── FilterSigleList.vue
│ │ ├── FilterUpdate.vue
│ │ ├── ProductCreate.vue
│ │ ├── ProductCreate1.vue
│ │ ├── ProductList.vue
│ │ ├── ProductSigleList.vue
│ │ ├── ProductUpdate.vue
│ │ ├── ProductUpdate1.vue
│ │ ├── TableCreate.vue
│ │ ├── TableList.vue
│ │ ├── TableSigleList.vue
│ │ └── TableUpdate.vue
│ ├── shebao
│ │ ├── Account
│ │ │ └── index.vue
│ │ ├── Aid
│ │ │ ├── fail.vue
│ │ │ ├── middle.vue
│ │ │ └── success.vue
│ │ ├── CreditTest
│ │ │ └── index.vue
│ │ ├── Fund
│ │ │ └── index.vue
│ │ └── SocialInsurance
│ │ │ ├── detail.vue
│ │ │ └── index.vue
│ └── yn
│ │ ├── AuditRecord.vue
│ │ ├── BusinessDeal.vue
│ │ ├── BusinessRepayment.vue
│ │ ├── CashBack.vue
│ │ ├── CashList.vue
│ │ ├── CashOperation.vue
│ │ ├── CashRecharge.vue
│ │ ├── CheckBatchRefuse.vue
│ │ ├── CheckDetail.vue
│ │ ├── CheckDetailTwo.vue
│ │ ├── CheckFirst.vue
│ │ ├── CheckPeople.vue
│ │ ├── CheckTwo.vue
│ │ ├── Collection.vue
│ │ ├── CollectionDetails.vue
│ │ ├── CollectionList.vue
│ │ ├── Dialog.vue
│ │ ├── ImgDeal.vue
│ │ ├── InternalRecord.vue
│ │ ├── Login.vue
│ │ ├── Permission.vue
│ │ └── Readme.vue
├── main.js
└── router
│ └── index.js
└── static
├── .gitkeep
├── css
├── color-dark.css
├── datasource.css
├── main.css
└── theme-green
│ ├── color-green.css
│ ├── fonts
│ ├── element-icons.ttf
│ └── element-icons.woff
│ └── index.css
├── data.json
├── datasource.json
├── img
├── fr.png
├── img.jpg
├── like.png
├── project.png
└── tianmao.png
├── js
└── vendor.dll.js
└── vuetable.json
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["es2015", { "modules": false }],
4 | "stage-2"
5 | ],
6 | "plugins": ["transform-runtime"],
7 | "comments": false,
8 | "env": {
9 | "test": {
10 | "plugins": [ "istanbul" ]
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 4
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/build/build.js:
--------------------------------------------------------------------------------
1 | // https://github.com/shelljs/shelljs
2 | require('./check-versions')()
3 |
4 | process.env.NODE_ENV = 'production'
5 |
6 | var ora = require('ora')
7 | var path = require('path')
8 | var chalk = require('chalk')
9 | var shell = require('shelljs')
10 | var webpack = require('webpack')
11 | var config = require('../config')
12 | var webpackConfig = require('./webpack.prod.conf')
13 |
14 | var spinner = ora('building for production...')
15 | spinner.start()
16 |
17 | var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
18 | shell.rm('-rf', assetsPath)
19 | shell.mkdir('-p', assetsPath)
20 | shell.config.silent = true
21 | shell.cp('-R', 'static/*', assetsPath)
22 | shell.config.silent = false
23 |
24 | webpack(webpackConfig, function (err, stats) {
25 | spinner.stop()
26 | if (err) throw err
27 | process.stdout.write(stats.toString({
28 | colors: true,
29 | modules: false,
30 | children: false,
31 | chunks: false,
32 | chunkModules: false
33 | }) + '\n\n')
34 |
35 | console.log(chalk.cyan(' Build complete.\n'))
36 | console.log(chalk.yellow(
37 | ' Tip: built files are meant to be served over an HTTP server.\n' +
38 | ' Opening index.html over file:// won\'t work.\n'
39 | ))
40 | })
41 |
--------------------------------------------------------------------------------
/build/check-versions.js:
--------------------------------------------------------------------------------
1 | var chalk = require('chalk')
2 | var semver = require('semver')
3 | var packageConfig = require('../package.json')
4 |
5 | function exec (cmd) {
6 | return require('child_process').execSync(cmd).toString().trim()
7 | }
8 |
9 | var versionRequirements = [
10 | {
11 | name: 'node',
12 | currentVersion: semver.clean(process.version),
13 | versionRequirement: packageConfig.engines.node
14 | },
15 | {
16 | name: 'npm',
17 | currentVersion: exec('npm --version'),
18 | versionRequirement: packageConfig.engines.npm
19 | }
20 | ]
21 |
22 | module.exports = function () {
23 | var warnings = []
24 | for (var i = 0; i < versionRequirements.length; i++) {
25 | var mod = versionRequirements[i]
26 | if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
27 | warnings.push(mod.name + ': ' +
28 | chalk.red(mod.currentVersion) + ' should be ' +
29 | chalk.green(mod.versionRequirement)
30 | )
31 | }
32 | }
33 |
34 | if (warnings.length) {
35 | console.log('')
36 | console.log(chalk.yellow('To use this template, you must update following to modules:'))
37 | console.log()
38 | for (var i = 0; i < warnings.length; i++) {
39 | var warning = warnings[i]
40 | console.log(' ' + warning)
41 | }
42 | console.log()
43 | process.exit(1)
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/build/dev-client.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | require('eventsource-polyfill')
3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
4 |
5 | hotClient.subscribe(function (event) {
6 | if (event.action === 'reload') {
7 | window.location.reload()
8 | }
9 | })
10 |
--------------------------------------------------------------------------------
/build/dev-server.js:
--------------------------------------------------------------------------------
1 | require('./check-versions')()
2 |
3 | var config = require('../config')
4 | if (!process.env.NODE_ENV) {
5 | process.env.NODE_ENV = JSON.parse(config.dev.env.NODE_ENV)
6 | }
7 |
8 | var opn = require('opn')
9 | var path = require('path')
10 | var express = require('express')
11 | var webpack = require('webpack')
12 | var proxyMiddleware = require('http-proxy-middleware')
13 | var webpackConfig = require('./webpack.dev.conf')
14 |
15 | // default port where dev server listens for incoming traffic
16 | var port = process.env.PORT || config.dev.port
17 | // automatically open browser, if not set will be false
18 | var autoOpenBrowser = !!config.dev.autoOpenBrowser
19 | // Define HTTP proxies to your custom API backend
20 | // https://github.com/chimurai/http-proxy-middleware
21 | var proxyTable = config.dev.proxyTable
22 |
23 | var app = express()
24 | var compiler = webpack(webpackConfig)
25 |
26 | var devMiddleware = require('webpack-dev-middleware')(compiler, {
27 | publicPath: webpackConfig.output.publicPath,
28 | quiet: true
29 | })
30 |
31 | var hotMiddleware = require('webpack-hot-middleware')(compiler, {
32 | log: () => {}
33 | })
34 | // force page reload when html-webpack-plugin template changes
35 | compiler.plugin('compilation', function (compilation) {
36 | compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
37 | hotMiddleware.publish({ action: 'reload' })
38 | cb()
39 | })
40 | })
41 |
42 | // proxy api requests
43 | Object.keys(proxyTable).forEach(function (context) {
44 | var options = proxyTable[context]
45 | if (typeof options === 'string') {
46 | options = { target: options }
47 | }
48 | app.use(proxyMiddleware(options.filter || context, options))
49 | })
50 |
51 | // handle fallback for HTML5 history API
52 | app.use(require('connect-history-api-fallback')())
53 |
54 | // serve webpack bundle output
55 | app.use(devMiddleware)
56 |
57 | // enable hot-reload and state-preserving
58 | // compilation error display
59 | app.use(hotMiddleware)
60 |
61 | // serve pure static assets
62 | var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory)
63 | app.use(staticPath, express.static('./static'))
64 |
65 | var uri = 'http://localhost:' + port
66 |
67 | devMiddleware.waitUntilValid(function () {
68 | console.log('> Listening at ' + uri + '\n')
69 | })
70 |
71 | module.exports = app.listen(port, function (err) {
72 | if (err) {
73 | console.log(err)
74 | return
75 | }
76 |
77 | // when env is testing, don't need open it
78 | if (autoOpenBrowser && process.env.NODE_ENV !== 'testing') {
79 | opn(uri)
80 | }
81 | })
82 |
--------------------------------------------------------------------------------
/build/utils.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var config = require('../config')
3 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
4 |
5 | exports.assetsPath = function (_path) {
6 | var assetsSubDirectory = process.env.NODE_ENV === 'production'
7 | ? config.build.assetsSubDirectory
8 | : config.dev.assetsSubDirectory
9 | return path.posix.join(assetsSubDirectory, _path)
10 | }
11 |
12 | exports.cssLoaders = function (options) {
13 | options = options || {}
14 | // generate loader string to be used with extract text plugin
15 | function generateLoaders (loaders) {
16 | var sourceLoader = loaders.map(function (loader) {
17 | var extraParamChar
18 | if (/\?/.test(loader)) {
19 | loader = loader.replace(/\?/, '-loader?')
20 | extraParamChar = '&'
21 | } else {
22 | loader = loader + '-loader'
23 | extraParamChar = '?'
24 | }
25 | return loader + (options.sourceMap ? extraParamChar + 'sourceMap' : '')
26 | }).join('!')
27 |
28 | // Extract CSS when that option is specified
29 | // (which is the case during production build)
30 | if (options.extract) {
31 | return ExtractTextPlugin.extract({
32 | use: sourceLoader,
33 | fallback: 'vue-style-loader'
34 | })
35 | } else {
36 | return ['vue-style-loader', sourceLoader].join('!')
37 | }
38 | }
39 |
40 | // http://vuejs.github.io/vue-loader/en/configurations/extract-css.html
41 | return {
42 | css: generateLoaders(['css']),
43 | postcss: generateLoaders(['css']),
44 | less: generateLoaders(['css', 'less']),
45 | sass: generateLoaders(['css', 'sass?indentedSyntax']),
46 | scss: generateLoaders(['css', 'sass']),
47 | stylus: generateLoaders(['css', 'stylus']),
48 | styl: generateLoaders(['css', 'stylus'])
49 | }
50 | }
51 |
52 | // Generate loaders for standalone style files (outside of .vue)
53 | exports.styleLoaders = function (options) {
54 | var output = []
55 | var loaders = exports.cssLoaders(options)
56 | for (var extension in loaders) {
57 | var loader = loaders[extension]
58 | output.push({
59 | test: new RegExp('\\.' + extension + '$'),
60 | loader: loader
61 | })
62 | }
63 | return output
64 | }
65 |
--------------------------------------------------------------------------------
/build/vue-loader.conf.js:
--------------------------------------------------------------------------------
1 | var utils = require('./utils')
2 | var config = require('../config')
3 | var isProduction = process.env.NODE_ENV === 'production'
4 |
5 | module.exports = {
6 | loaders: utils.cssLoaders({
7 | sourceMap: isProduction
8 | ? config.build.productionSourceMap
9 | : config.dev.cssSourceMap,
10 | extract: isProduction
11 | }),
12 | postcss: [
13 | require('autoprefixer')({
14 | browsers: ['last 2 versions']
15 | })
16 | ]
17 | }
18 |
--------------------------------------------------------------------------------
/build/webpack.base.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var utils = require('./utils')
3 | var webpack = require('webpack')
4 | var config = require('../config')
5 | var vueLoaderConfig = require('./vue-loader.conf')
6 |
7 | function resolve (dir) {
8 | return path.join(__dirname, '..', dir)
9 | }
10 |
11 | module.exports = {
12 | entry: {
13 | app: ['babel-polyfill','./src/main.js']
14 | },
15 | output: {
16 | path: config.build.assetsRoot,
17 | filename: '[name].js',
18 | publicPath: process.env.NODE_ENV === 'production'
19 | ? config.build.assetsPublicPath
20 | : config.dev.assetsPublicPath
21 | },
22 | resolve: {
23 | extensions: ['.js', '.vue', '.json'],
24 | modules: [
25 | resolve('src'),
26 | resolve('node_modules')
27 | ],
28 | alias: {
29 | 'vue$': 'vue/dist/vue.common.js',
30 | 'src': resolve('src'),
31 | 'assets': resolve('src/assets'),
32 | 'components': resolve('src/components')
33 | }
34 | },
35 | module: {
36 | rules: [
37 | {
38 | test: /\.vue$/,
39 | loader: 'vue-loader'
40 | },
41 | {
42 | test: /\.js$/,
43 | loader: 'babel-loader',
44 | include: [resolve('src'), resolve('test')]
45 | },
46 | {
47 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
48 | loader: 'url-loader',
49 | query: {
50 | limit: 10000,
51 | name: utils.assetsPath('img/[name].[hash:7].[ext]')
52 | }
53 | },
54 | {
55 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
56 | loader: 'url-loader',
57 | query: {
58 | limit: 10000,
59 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
60 | }
61 | }
62 | ]
63 | },
64 | // plugins: [
65 | // new webpack.DllReferencePlugin({
66 | // context: path.resolve(__dirname, '..'),
67 | // manifest: require('./vendor-manifest.json')
68 | // })
69 | // ]
70 | }
71 |
--------------------------------------------------------------------------------
/build/webpack.dev.conf.js:
--------------------------------------------------------------------------------
1 | var utils = require('./utils')
2 | var webpack = require('webpack')
3 | var config = require('../config')
4 | var merge = require('webpack-merge')
5 | var baseWebpackConfig = require('./webpack.base.conf')
6 | var HtmlWebpackPlugin = require('html-webpack-plugin')
7 | var FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
8 |
9 | // add hot-reload related code to entry chunks
10 | Object.keys(baseWebpackConfig.entry).forEach(function (name) {
11 | baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name])
12 | })
13 |
14 | module.exports = merge(baseWebpackConfig, {
15 | module: {
16 | rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
17 | },
18 | // cheap-module-eval-source-map is faster for development
19 | devtool: '#cheap-module-eval-source-map',
20 | plugins: [
21 | new webpack.DefinePlugin({
22 | 'process.env': config.dev.env
23 | }),
24 | // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
25 | new webpack.HotModuleReplacementPlugin(),
26 | new webpack.NoEmitOnErrorsPlugin(),
27 | // https://github.com/ampedandwired/html-webpack-plugin
28 | new HtmlWebpackPlugin({
29 | filename: 'index.html',
30 | template: 'index.html',
31 | inject: true
32 | }),
33 | new FriendlyErrorsPlugin()
34 | ]
35 | })
36 |
--------------------------------------------------------------------------------
/build/webpack.dll.conf.js:
--------------------------------------------------------------------------------
1 | const path = require('path');
2 | const webpack = require('webpack');
3 |
4 | module.exports = {
5 | entry: {
6 | vendor: ['vue/dist/vue.common.js','vue-router', 'babel-polyfill','axios']
7 | },
8 | output: {
9 | path: path.join(__dirname, '../static/js'),
10 | filename: '[name].dll.js',
11 | library: '[name]_library'
12 | },
13 | plugins: [
14 | new webpack.DllPlugin({
15 | path: path.join(__dirname, '.', '[name]-manifest.json'),
16 | name: '[name]_library'
17 | }),
18 | new webpack.optimize.UglifyJsPlugin({
19 | compress: {
20 | warnings: false
21 | }
22 | }),
23 | new webpack.DefinePlugin({
24 | 'process.env': {
25 | NODE_ENV: '"production"'
26 | }
27 | })
28 | ]
29 | };
--------------------------------------------------------------------------------
/build/webpack.prod.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var utils = require('./utils')
3 | var webpack = require('webpack')
4 | var config = require('../config')
5 | var merge = require('webpack-merge')
6 | var baseWebpackConfig = require('./webpack.base.conf')
7 | var HtmlWebpackPlugin = require('html-webpack-plugin')
8 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
9 | var env = config.build.env
10 |
11 | var webpackConfig = merge(baseWebpackConfig, {
12 | module: {
13 | rules: utils.styleLoaders({
14 | sourceMap: config.build.productionSourceMap,
15 | extract: true
16 | })
17 | },
18 | devtool: config.build.productionSourceMap ? '#source-map' : false,
19 | output: {
20 | path: config.build.assetsRoot,
21 | filename: utils.assetsPath('js/[name].[chunkhash].js'),
22 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
23 | },
24 | plugins: [
25 | // http://vuejs.github.io/vue-loader/en/workflow/production.html
26 | new webpack.DefinePlugin({
27 | 'process.env': env
28 | }),
29 | new webpack.optimize.UglifyJsPlugin({
30 | compress: {
31 | warnings: false
32 | },
33 | sourceMap: true
34 | }),
35 | // extract css into its own file
36 | new ExtractTextPlugin({
37 | filename: utils.assetsPath('css/[name].[contenthash].css')
38 | }),
39 | // generate dist index.html with correct asset hash for caching.
40 | // you can customize output by editing /index.html
41 | // see https://github.com/ampedandwired/html-webpack-plugin
42 | new HtmlWebpackPlugin({
43 | filename: config.build.index,
44 | template: 'index.html',
45 | inject: true,
46 | minify: {
47 | removeComments: true,
48 | collapseWhitespace: true,
49 | removeAttributeQuotes: true
50 | // more options:
51 | // https://github.com/kangax/html-minifier#options-quick-reference
52 | },
53 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin
54 | chunksSortMode: 'dependency'
55 | }),
56 | // split vendor js into its own file
57 | new webpack.optimize.CommonsChunkPlugin({
58 | name: 'vendor',
59 | minChunks: function (module, count) {
60 | // any required modules inside node_modules are extracted to vendor
61 | return (
62 | module.resource &&
63 | /\.js$/.test(module.resource) &&
64 | module.resource.indexOf(
65 | path.join(__dirname, '../node_modules')
66 | ) === 0
67 | )
68 | }
69 | }),
70 | // extract webpack runtime and module manifest to its own file in order to
71 | // prevent vendor hash from being updated whenever app bundle is updated
72 | new webpack.optimize.CommonsChunkPlugin({
73 | name: 'manifest',
74 | chunks: ['vendor']
75 | })
76 | ]
77 | })
78 |
79 | if (config.build.productionGzip) {
80 | var CompressionWebpackPlugin = require('compression-webpack-plugin')
81 |
82 | webpackConfig.plugins.push(
83 | new CompressionWebpackPlugin({
84 | asset: '[path].gz[query]',
85 | algorithm: 'gzip',
86 | test: new RegExp(
87 | '\\.(' +
88 | config.build.productionGzipExtensions.join('|') +
89 | ')$'
90 | ),
91 | threshold: 10240,
92 | minRatio: 0.8
93 | })
94 | )
95 | }
96 |
97 | if (config.build.bundleAnalyzerReport) {
98 | var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
99 | webpackConfig.plugins.push(new BundleAnalyzerPlugin())
100 | }
101 |
102 | module.exports = webpackConfig
103 |
--------------------------------------------------------------------------------
/config/dev.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var prodEnv = require('./prod.env')
3 |
4 | module.exports = merge(prodEnv, {
5 | NODE_ENV: '"development"'
6 | })
7 |
--------------------------------------------------------------------------------
/config/index.js:
--------------------------------------------------------------------------------
1 | // see http://vuejs-templates.github.io/webpack for documentation.
2 | var path = require('path')
3 |
4 | module.exports = {
5 | build: {
6 | env: require('./prod.env'),
7 | index: path.resolve(__dirname, '../dist/index.html'),
8 | assetsRoot: path.resolve(__dirname, '../dist'),
9 | assetsSubDirectory: 'static',
10 | assetsPublicPath: './',
11 | productionSourceMap: false,
12 | // Gzip off by default as many popular static hosts such as
13 | // Surge or Netlify already gzip all static assets for you.
14 | // Before setting to `true`, make sure to:
15 | // npm install --save-dev compression-webpack-plugin
16 | productionGzip: false,
17 | productionGzipExtensions: ['js', 'css'],
18 | // Run the build command with an extra argument to
19 | // View the bundle analyzer report after build finishes:
20 | // `npm run build --report`
21 | // Set to `true` or `false` to always turn it on or off
22 | bundleAnalyzerReport: process.env.npm_config_report
23 | },
24 | dev: {
25 | env: require('./dev.env'),
26 | port: 8070,
27 | autoOpenBrowser: true,
28 | assetsSubDirectory: 'static',
29 | assetsPublicPath: '/',
30 | proxyTable: {
31 | '/api':{
32 | target:'http://192.168.38.44:8070/',
33 | changeOrigin:true,
34 | pathRewrite:{
35 | '^/api':'/'
36 | }
37 | },
38 | // '/ms':{
39 | // target: 'https://www.easy-mock.com/mock/592501a391470c0ac1fab128',
40 | // changeOrigin: true
41 | // }
42 | },
43 | // CSS Sourcemaps off by default because relative paths are "buggy"
44 | // with this option, according to the CSS-Loader README
45 | // (https://github.com/webpack/css-loader#sourcemaps)
46 | // In our experience, they generally work as expected,
47 | // just be aware of this issue when enabling this option.
48 | cssSourceMap: false
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/dist/index.html:
--------------------------------------------------------------------------------
1 |
后台管理系统
--------------------------------------------------------------------------------
/dist/static/css/color-dark.css:
--------------------------------------------------------------------------------
1 | .header{
2 | background-color: #242f42;
3 | }
4 | .login-wrap{
5 | background: #324157;
6 | }
7 | .plugins-tips{
8 | background: #eef1f6;
9 | }
10 | .plugins-tips a{
11 | color: #20a0ff;
12 | }
13 | .el-upload--text em {
14 | color: #20a0ff;
15 | }
16 | .pure-button{
17 | background: #20a0ff;
18 | }
--------------------------------------------------------------------------------
/dist/static/css/datasource.css:
--------------------------------------------------------------------------------
1 | .vue-datasource *{
2 | box-sizing: border-box;
3 | font-size: 14px;
4 | }
5 | .vue-datasource .panel {
6 | margin-bottom: 22px;
7 | background-color: #fff;
8 | border: 1px solid transparent;
9 | border-radius: 4px;
10 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
11 | }
12 | .vue-datasource .panel-default {
13 | border-color: #d3e0e9;
14 | }
15 | .vue-datasource .panel-heading {
16 | padding: 10px 15px;
17 | border-bottom: 1px solid transparent;
18 | border-top-right-radius: 3px;
19 | border-top-left-radius: 3px;
20 | }
21 | .vue-datasource .panel-default > .panel-heading {
22 | height:56px;
23 | color: #333333;
24 | background-color: #fff;
25 | border-color: #d3e0e9;
26 | }
27 | .vue-datasource .pull-left {
28 | float: left !important;
29 | }
30 | .vue-datasource .pull-right {
31 | float: right !important;
32 | }
33 | .vue-datasource .form-group {
34 | margin-bottom: 15px;
35 | }
36 | .vue-datasource label {
37 | display: inline-block;
38 | max-width: 100%;
39 | margin-bottom: 5px;
40 | font-weight: bold;
41 | }
42 | .vue-datasource .form-control {
43 | display: block;
44 | width: 100%;
45 | height: 36px;
46 | padding: 6px 12px;
47 | font-size: 14px;
48 | line-height: 1.6;
49 | color: #555555;
50 | background-color: #fff;
51 | background-image: none;
52 | border: 1px solid #ccd0d2;
53 | border-radius: 4px;
54 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
55 | -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
56 | transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
57 | }
58 | .vue-datasource .btn {
59 | display: inline-block;
60 | margin-bottom: 0;
61 | font-weight: normal;
62 | text-align: center;
63 | vertical-align: middle;
64 | touch-action: manipulation;
65 | cursor: pointer;
66 | background-image: none;
67 | border: 1px solid transparent;
68 | white-space: nowrap;
69 | padding: 6px 12px;
70 | font-size: 14px;
71 | line-height: 1.6;
72 | border-radius: 4px;
73 | -webkit-user-select: none;
74 | -moz-user-select: none;
75 | -ms-user-select: none;
76 | user-select: none;
77 | }
78 | .vue-datasource .btn-primary {
79 | color: #fff;
80 | background-color: #3097D1;
81 | border-color: #2a88bd;
82 | }
83 | .vue-datasource .table {
84 | width: 100%;
85 | max-width: 100%;
86 | margin-bottom: 22px;
87 | border-collapse: collapse;
88 | border-spacing: 0;
89 | text-align: center;
90 | }
91 | .vue-datasource .table > thead > tr > th {
92 | vertical-align: bottom;
93 | border-bottom: 2px solid #ddd;
94 | }
95 | .vue-datasource .table th ,.vue-datasource .table td {
96 | padding: 8px;
97 | line-height: 1.6;
98 | vertical-align: top;
99 | border-top: 1px solid #ddd;
100 | }
101 | .vue-datasource .table-striped > tbody > tr:nth-of-type(odd) {
102 | background-color: #f9f9f9;
103 | }
104 | .vue-datasource .success th ,.vue-datasource .success td{
105 | background-color: #dff0d8;
106 | }
107 | .vue-datasource .pagination {
108 | display: inline-block;
109 | padding-left: 0;
110 | margin: 22px 0;
111 | border-radius: 4px;
112 | }
113 | .vue-datasource .pagination > li {
114 | display: inline;
115 | }
116 | .pagination > li > a,.pagination > li > span {
117 | position: relative;
118 | float: left;
119 | padding: 6px 12px;
120 | line-height: 1.6;
121 | text-decoration: none;
122 | color: #3097D1;
123 | background-color: #fff;
124 | border: 1px solid #ddd;
125 | margin-left: -1px;
126 | }
127 | .pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
128 | color: #777777;
129 | background-color: #fff;
130 | border-color: #ddd;
131 | cursor: not-allowed;
132 | }
133 | .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
134 | z-index: 3;
135 | color: #fff;
136 | background-color: #3097D1;
137 | border-color: #3097D1;
138 | cursor: default;
139 | }
140 | .vue-datasource .pagination > li:first-child > a, .vue-datasource .pagination > li:first-child > span {
141 | margin-left: 0;
142 | border-bottom-left-radius: 4px;
143 | border-top-left-radius: 4px;
144 | }
145 | .vue-datasource .text-center {
146 | text-align: center;
147 | }
148 |
149 |
150 |
151 |
152 | @media (min-width: 768px){
153 | .form-inline .form-group {
154 | display: inline-block;
155 | margin-bottom: 0;
156 | vertical-align: middle;
157 | }
158 | .form-inline .control-label {
159 | margin-bottom: 0;
160 | vertical-align: middle;
161 | }
162 | .form-inline .form-control {
163 | display: inline-block;
164 | width: auto;
165 | vertical-align: middle;
166 | }
167 | }
168 |
--------------------------------------------------------------------------------
/dist/static/css/main.css:
--------------------------------------------------------------------------------
1 | *{margin:0;padding:0;}
2 | html,body,#app,.wrapper{
3 | width:100%;
4 | height:100%;
5 | overflow: hidden;
6 | }
7 | body{
8 | font-family:"Helvetica Neue",Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
9 | }
10 | a{text-decoration: none}
11 | .content{
12 | background: none repeat scroll 0 0 #fff;
13 | position: absolute;
14 | left: 250px;
15 | right: 0;
16 | top: 70px;
17 | bottom:0;
18 | width: auto;
19 | padding:40px;
20 | box-sizing: border-box;
21 | overflow-y: scroll;
22 | }
23 | .crumbs{
24 | margin-bottom: 20px;
25 | }
26 | .pagination{
27 | margin: 20px 0;
28 | text-align: right;
29 | }
30 | .plugins-tips{
31 | padding:20px 10px;
32 | margin-bottom: 20px;
33 | }
34 | .el-button+.el-tooltip {
35 | margin-left: 10px;
36 | }
37 |
38 | .el-table tr:hover{
39 | background: #f6faff;
40 | }
41 | .mgb20{
42 | margin-bottom: 20px;
43 | }
44 |
45 | .move-enter-active,.move-leave-active{
46 | transition: opacity .5s;
47 | }
48 | .move-enter,.move-leave{
49 | opacity: 0;
50 | }
51 | /*BaseForm*/
52 | .form-box{
53 | width:600px;
54 | }
55 | .form-box .line{
56 | text-align: center;
57 | }
58 | .el-time-panel__content::after, .el-time-panel__content::before {
59 | margin-top: -7px;
60 | }
61 | /*Readme*/
62 | .ms-doc .el-checkbox__input.is-disabled+.el-checkbox__label{
63 | color: #333;
64 | cursor: pointer;
65 | }
66 | /*Upload*/
67 | .pure-button{
68 | width:150px;
69 | height:40px;
70 | line-height: 40px;
71 | text-align: center;
72 | color: #fff;
73 | border-radius: 3px;
74 | }
75 | .g-core-image-corp-container .info-aside{
76 | height:45px;
77 | }
78 | .el-upload--text {
79 | background-color: #fff;
80 | border: 1px dashed #d9d9d9;
81 | border-radius: 6px;
82 | box-sizing: border-box;
83 | width: 360px;
84 | height: 180px;
85 | text-align: center;
86 | cursor: pointer;
87 | position: relative;
88 | overflow: hidden;
89 | }
90 | .el-upload--text .el-icon-upload {
91 | font-size: 67px;
92 | color: #97a8be;
93 | margin: 40px 0 16px;
94 | line-height: 50px;
95 | }
96 | .el-upload--text {
97 | color: #97a8be;
98 | font-size: 14px;
99 | text-align: center;
100 | }
101 | .el-upload--text em {
102 | font-style: normal;
103 | }
104 | /*VueEditor*/
105 | .ql-container{
106 | min-height: 400px;
107 | }
108 | .ql-snow .ql-tooltip{
109 | transform: translateX(117.5px) translateY(10px) !important;
110 | }
111 | .editor-btn{
112 | margin-top: 20px;
113 | }
--------------------------------------------------------------------------------
/dist/static/css/theme-green/color-green.css:
--------------------------------------------------------------------------------
1 | .header{
2 | background-color: #00d1b2;
3 | }
4 | .login-wrap{
5 | background: rgba(56, 157, 170, 0.82);;
6 | }
7 | .plugins-tips{
8 | background: #f2f2f2;
9 | }
10 | .plugins-tips a{
11 | color: #00d1b2;
12 | }
13 | .el-upload--text em {
14 | color: #00d1b2;
15 | }
16 | .pure-button{
17 | background: #00d1b2;
18 | }
19 | .vue-datasource .btn-primary {
20 | color: #fff;
21 | background-color: #00d1b2 !important;
22 | border-color: #00d1b2 !important;
23 | }
24 | .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
25 | background-color: #00d1b2 !important;
26 | border-color: #00d1b2 !important;
27 | }
--------------------------------------------------------------------------------
/dist/static/css/theme-green/fonts/element-icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/dist/static/css/theme-green/fonts/element-icons.ttf
--------------------------------------------------------------------------------
/dist/static/css/theme-green/fonts/element-icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/dist/static/css/theme-green/fonts/element-icons.woff
--------------------------------------------------------------------------------
/dist/static/datasource.json:
--------------------------------------------------------------------------------
1 | {
2 | "data": [{
3 | "id": 1,
4 | "name": "段娜",
5 | "email": "g.rgiuory@kctbut.mw",
6 | "ip": "68.28.4.232"
7 | },
8 | {
9 | "id": 2,
10 | "name": "蔡洋",
11 | "email": "y.mwjjoje@lpkshev.tg",
12 | "ip": "22.126.12.189"
13 | },
14 | {
15 | "id": 3,
16 | "name": "陈敏",
17 | "email": "e.voaiiuo@mvng.sn",
18 | "ip": "227.89.13.37"
19 | },
20 | {
21 | "id": 4,
22 | "name": "朱平",
23 | "email": "e.lduuf@nkfypn.az",
24 | "ip": "9.39.240.243"
25 | },
26 | {
27 | "id": 5,
28 | "name": "侯平",
29 | "email": "t.czqjyndts@jmwenklns.md",
30 | "ip": "178.162.29.113"
31 | },
32 | {
33 | "id": 6,
34 | "name": "常超",
35 | "email": "d.dhysgem@uxpcutmlk.tt",
36 | "ip": "192.50.103.170"
37 | },
38 | {
39 | "id": 7,
40 | "name": "许平",
41 | "email": "g.fiqdonvbc@wanepptw.tv",
42 | "ip": "73.20.99.60"
43 | },
44 | {
45 | "id": 8,
46 | "name": "毛超",
47 | "email": "w.unyyejh@qus.gt",
48 | "ip": "10.88.135.123"
49 | },
50 | {
51 | "id": 9,
52 | "name": "周磊",
53 | "email": "e.qbejguqqg@ejpxhltoak.gw",
54 | "ip": "244.221.237.210"
55 | },
56 | {
57 | "id": 10,
58 | "name": "胡秀英",
59 | "email": "s.dszo@uxaojtj.sy",
60 | "ip": "86.199.17.210"
61 | }
62 | ],
63 | "pagination": {
64 | "total": 15,
65 | "per_page": 15,
66 | "current_page": 1,
67 | "last_page": 1,
68 | "from": 1,
69 | "to": 15
70 | }
71 | }
--------------------------------------------------------------------------------
/dist/static/fonts/element-icons.b02bdc1.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/dist/static/fonts/element-icons.b02bdc1.ttf
--------------------------------------------------------------------------------
/dist/static/img/img.2aab7b4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/dist/static/img/img.2aab7b4.jpg
--------------------------------------------------------------------------------
/dist/static/img/img.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/dist/static/img/img.jpg
--------------------------------------------------------------------------------
/dist/static/js/1.dd64f5646de369179175.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([1],{501:function(e,t,i){var n=i(195)(i(525),i(590),null,null);e.exports=n.exports},524:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{name:"li"}},computed:{username:function(){var e=localStorage.getItem("ms_username");return e||this.name}},methods:{handleCommand:function(e){"loginout"==e&&(localStorage.removeItem("ms_username"),this.$router.push("/login"))}}}},525:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(572),o=i.n(n),s=i(573),a=i.n(s);t.default={components:{vHead:o.a,vSidebar:a.a}}},526:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{items:[{icon:"el-icon-setting",index:"readme",title:"后台管理系统简介"},{icon:"el-icon-menu",index:"2",title:"平台",subs:[{index:"tablelist",title:"平台列表"},{index:"tablecreate",title:"创建平台"}]},{icon:"el-icon-date",index:"3",title:"产品",subs:[{index:"productlist",title:"产品列表"},{index:"productcreate",title:"创建产品"}]},{icon:"el-icon-star-on",index:"4",title:"筛选条件",subs:[{index:"filterlist",title:"筛选条件列表"},{index:"filtercreate",title:"创建筛选条件"}]}]}},computed:{onRoutes:function(){return this.$route.path.replace("/","")}}}},564:function(e,t,i){t=e.exports=i(86)(void 0),t.push([e.i,".sidebar[data-v-226e7b30]{display:block;position:absolute;width:250px;left:0;top:70px;bottom:0;background:#2e363f}.sidebar>ul[data-v-226e7b30]{height:100%}",""])},569:function(e,t,i){t=e.exports=i(86)(void 0),t.push([e.i,".header[data-v-5eee63e9]{position:relative;box-sizing:border-box;width:100%;height:70px;font-size:22px;line-height:70px;color:#fff}.header .logo[data-v-5eee63e9]{float:left;width:250px;text-align:center}.user-info[data-v-5eee63e9]{float:right;padding-right:50px;font-size:16px;color:#fff}.user-info .el-dropdown-link[data-v-5eee63e9]{position:relative;display:inline-block;padding-left:50px;color:#fff;cursor:pointer;vertical-align:middle}.user-info .user-logo[data-v-5eee63e9]{position:absolute;left:0;top:15px;width:40px;height:40px;border-radius:50%}.el-dropdown-menu__item[data-v-5eee63e9]{text-align:center}",""])},571:function(e,t,i){e.exports=i.p+"static/img/img.2aab7b4.jpg"},572:function(e,t,i){i(602);var n=i(195)(i(524),i(587),"data-v-5eee63e9",null);e.exports=n.exports},573:function(e,t,i){i(597);var n=i(195)(i(526),i(579),"data-v-226e7b30",null);e.exports=n.exports},579:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"sidebar"},[i("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":e.onRoutes,theme:"dark","unique-opened":"",router:""}},[e._l(e.items,function(t){return[t.subs?[i("el-submenu",{attrs:{index:t.index}},[i("template",{attrs:{slot:"title"},slot:"title"},[i("i",{class:t.icon}),e._v(e._s(t.title))]),e._v(" "),e._l(t.subs,function(t,n){return i("el-menu-item",{key:n,attrs:{index:t.index}},[e._v(e._s(t.title)+"\n ")])})],2)]:[i("el-menu-item",{attrs:{index:t.index}},[i("i",{class:t.icon}),e._v(e._s(t.title)+"\n ")])]]})],2)],1)},staticRenderFns:[]}},587:function(e,t,i){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header"},[n("div",{staticClass:"logo"},[e._v("信用精灵后台管理系统")]),e._v(" "),n("div",{staticClass:"user-info"},[n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[n("span",{staticClass:"el-dropdown-link"},[n("img",{staticClass:"user-logo",attrs:{src:i(571)}}),e._v("\n "+e._s(e.username)+"\n ")]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{attrs:{command:"loginout"}},[e._v("退出")])],1)],1)],1)])},staticRenderFns:[]}},590:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"wrapper"},[i("v-head"),e._v(" "),i("v-sidebar"),e._v(" "),i("div",{staticClass:"content"},[i("transition",{attrs:{name:"move",mode:"out-in"}},[i("router-view")],1)],1)],1)},staticRenderFns:[]}},597:function(e,t,i){var n=i(564);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(196)("4aacb7e3",n,!0)},602:function(e,t,i){var n=i(569);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(196)("6bd5c552",n,!0)}});
--------------------------------------------------------------------------------
/dist/static/js/10.ed70a0aab4b4ce805ab0.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([10],{517:function(t,e,o){var r=o(195)(o(542),o(589),null,null);t.exports=r.exports},542:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{url:"/ccdproduct/platform/updatePlatform.htm",form:{name:"",region:"",logUrl:""}}},created:function(){var t=this.$route.query.platformId;this.getDataQueryName(t)},methods:{onUpdate:function(){var t=this.form.name,e=this.form.region,o=this.form.logUrl,r=this.form.Id;if(""==t)return this.$message.error("请填写平台名称"),!1;this.getData(t,e,o,r)},getDataQueryName:function(t){var e=this;this.$axios.get("/ccdproduct/platform/queryPlatformById.htm?platformId="+t).then(function(o){e.form.name=o.data.content.platformName,e.form.logUrl=o.data.content.logoUrl,e.form.region=o.data.content.isDisplay,e.form.Id=t}).catch(function(t){console.log("调用失败0",t)})},getData:function(t,e,o,r){var a=this,l=this;l.$axios.post(l.url,{platformName:t,display:e,logoUrl:o,platformId:r}).then(function(t){a.$message.success("更新成功!"),a.form.name="",a.form.region="",a.form.logUrl="",a.$router.push({path:"tablesiglelist",query:{platformId:r}})}).catch(function(t){console.log("调用失败2",t)})},onCancel:function(){this.form.name="",this.form.region="",this.form.logUrl=""}}}},589:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{staticClass:"crumbs"},[o("el-breadcrumb",{attrs:{separator:"/"}},[o("el-breadcrumb-item",[o("i",{staticClass:"el-icon-date"}),t._v(" 筛选条件")]),t._v(" "),o("el-breadcrumb-item",[t._v("创建筛选条件")])],1)],1),t._v(" "),o("div",{staticClass:"form-box"},[o("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px"}},[o("el-form-item",{attrs:{label:"平台名称"}},[o("el-input",{model:{value:t.form.name,callback:function(e){t.form.name=e},expression:"form.name"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"log地址"}},[o("el-input",{attrs:{type:"textarea"},model:{value:t.form.logUrl,callback:function(e){t.form.logUrl=e},expression:"form.logUrl"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"是否展示"}},[o("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.region,callback:function(e){t.form.region=e},expression:"form.region"}},[o("el-option",{key:"bbk",attrs:{label:"是",value:!0}}),t._v(" "),o("el-option",{key:"xtc",attrs:{label:"否",value:!1}})],1)],1),t._v(" "),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:t.onUpdate}},[t._v("更新")]),t._v(" "),o("el-button",{on:{click:t.onCancel}},[t._v("取消")])],1)],1)],1)])},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/11.94506d54d63e425c1ed9.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([11],{516:function(t,e,r){var o=r(195)(r(541),r(583),null,null);t.exports=o.exports},541:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{form:{name:"",region:"",logurl:""}}},created:function(){var t=this.$route.query.platformId;this.getData(t)},methods:{getData:function(t){var e=this;this.$axios.get("/ccdproduct/platform/queryPlatformById.htm?platformId="+t).then(function(r){e.form.logurl=r.data.content.logoUrl,1==r.data.content.isDisplay?e.form.region="是":e.form.region="否",e.form.name=r.data.content.platformName,e.form.Id=t})},goTable:function(){this.$router.push({path:"tablelist"})},onUpdate:function(t){this.$router.push({path:"tableupdate",query:{platformId:t}})}}}},583:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"crumbs"},[r("el-breadcrumb",{attrs:{separator:"/"}},[r("el-breadcrumb-item",[r("i",{staticClass:"el-icon-date"}),t._v(" 平台详情")])],1)],1),t._v(" "),r("div",{staticClass:"form-box"},[r("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px"}},[r("el-form-item",{attrs:{label:"平台名称"}},[r("div",{},[t._v("\n "+t._s(t.form.name)+"\n ")])]),t._v(" "),r("el-form-item",{attrs:{label:"log地址"}},[r("div",{},[t._v("\n "+t._s(t.form.logurl)+"\n ")])]),t._v(" "),r("el-form-item",{attrs:{label:"是否展示"}},[r("div",{},[t._v("\n "+t._s(t.form.region)+"\n ")])]),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){t.onUpdate(t.form.Id)}}},[t._v("更新平台信息")]),t._v(" "),r("el-button",{on:{click:t.goTable}},[t._v("返回平台列表")])],1)],1)],1)])},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/12.ba67d387e00386cb626e.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([12],{514:function(e,t,r){var o=r(195)(r(539),r(577),null,null);e.exports=o.exports},539:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{url:"/ccdproduct/platform/savePlatform.htm",form:{name:"",region:"",logUrl:""}}},methods:{onSubmit:function(){var e=this.form.name,t=this.form.logUrl,r=this.form.region;if(""==e)return this.$message.error("请填写平台名称"),!1;this.getData(e,t,r)},getData:function(e,t,r){var o=this,l=this;l.$axios.post(l.url,{platformName:e,logoUrl:t,display:r}).then(function(e){o.$message.success("创建成功!"),o.form.name="",o.form.logUrl="",o.form.region="";var t=e.data.content;if(null==t)return o.$message.error("请确认平台已添加"),!1;o.$router.push({path:"tablesiglelist",query:{platformId:t}})})}}}},577:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"crumbs"},[r("el-breadcrumb",{attrs:{separator:"/"}},[r("el-breadcrumb-item",[r("i",{staticClass:"el-icon-date"}),e._v(" 平台")]),e._v(" "),r("el-breadcrumb-item",[e._v("创建平台")])],1)],1),e._v(" "),r("div",{staticClass:"form-box"},[r("el-form",{ref:"form",attrs:{model:e.form,"label-width":"80px"}},[r("el-form-item",{attrs:{label:"平台名称"}},[r("el-input",{model:{value:e.form.name,callback:function(t){e.form.name=t},expression:"form.name"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"log地址"}},[r("el-input",{attrs:{type:"textarea"},model:{value:e.form.logUrl,callback:function(t){e.form.logUrl=t},expression:"form.logUrl"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"是否展示"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form.region,callback:function(t){e.form.region=t},expression:"form.region"}},[r("el-option",{key:"bbk",attrs:{label:"是",value:!0}}),e._v(" "),r("el-option",{key:"xtc",attrs:{label:"否",value:!1}})],1)],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("创建")]),e._v(" "),r("el-button",[e._v("取消")])],1)],1)],1)])},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/13.053ede9c16fdb0ebd58d.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([13],{512:function(t,r,e){var o=e(195)(e(537),e(584),null,null);t.exports=o.exports},537:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default={data:function(){return{url:"/ccdproduct/product/queryProductById.htm",url0:"/ccdproduct/platform/queryAllPlatformInfo.htm",url1:"/ccdproduct/product/updateProductBaseInfo.htm",itemList:Array,Properties:[],form:{platformName:"",productName:"",productUrl:"",productPresentation:"",display:""}}},created:function(){this.getDataQueryName();var t=this.$route.query.productId;this.getDataQuery(t)},methods:{onUpdate:function(){var t=this.form.platformName,r=this.form.productName,e=this.form.productUrl,o=this.form.productPresentation,a=this.form.display,l=this.itemList[t],c=this.form.Id;return console.log(l,a),""==l?(this.$message.error("请填写平台名称"),!1):""==r?(this.$message.error("请填写产品名称"),!1):void this.UpdateData(t,r,e,o,a,c,l)},getDataQueryName:function(){var t=this;t.$axios.post(t.url0,{}).then(function(r){t.Properties=r.data.content;for(var e=0,o=t.Properties.length;e
2 |
3 |
4 |
5 | 后台管理系统
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "manage-system",
3 | "version": "2.1.0",
4 | "description": "基于Vue.js 2.x系列 + element-ui 内容管理系统解决方案",
5 | "author": "lilu <1020124712@qq.com>",
6 | "private": true,
7 | "scripts": {
8 | "dev": "node build/dev-server.js",
9 | "build": "node build/build.js",
10 | "build:dll": "webpack --config build/webpack.dll.conf.js"
11 | },
12 | "dependencies": {
13 | "axios": "^0.15.3",
14 | "babel-polyfill": "^6.23.0",
15 | "element-ui": "1.3.1",
16 | "vue": "^2.3.2",
17 | "vue-core-image-upload": "2.1.11",
18 | "vue-datasource": "1.0.9",
19 | "vue-quill-editor": "2.1.6",
20 | "vue-router": "^2.3.1",
21 | "vue-schart": "^0.1.2",
22 | "vue-simplemde": "0.3.8"
23 | },
24 | "devDependencies": {
25 | "autoprefixer": "^6.7.2",
26 | "babel-core": "^6.22.1",
27 | "babel-loader": "^6.2.10",
28 | "babel-plugin-transform-runtime": "^6.22.0",
29 | "babel-preset-es2015": "^6.22.0",
30 | "babel-preset-stage-2": "^6.22.0",
31 | "babel-register": "^6.22.0",
32 | "chalk": "^1.1.3",
33 | "connect-history-api-fallback": "^1.3.0",
34 | "css-loader": "^0.28.0",
35 | "eventsource-polyfill": "^0.9.6",
36 | "express": "^4.14.1",
37 | "extract-text-webpack-plugin": "^2.0.0",
38 | "file-loader": "^0.11.1",
39 | "friendly-errors-webpack-plugin": "^1.1.3",
40 | "function-bind": "^1.1.0",
41 | "html-webpack-plugin": "^2.28.0",
42 | "http-proxy-middleware": "^0.17.3",
43 | "opn": "^4.0.2",
44 | "ora": "^1.2.0",
45 | "semver": "^5.3.0",
46 | "shelljs": "^0.7.6",
47 | "url-loader": "^0.5.8",
48 | "vue-loader": "^11.3.4",
49 | "vue-style-loader": "^2.0.5",
50 | "vue-template-compiler": "^2.2.6",
51 | "webpack": "^2.3.3",
52 | "webpack-bundle-analyzer": "^2.2.1",
53 | "webpack-dev-middleware": "^1.10.0",
54 | "webpack-hot-middleware": "^2.18.0",
55 | "webpack-merge": "^4.1.0"
56 | },
57 | "engines": {
58 | "node": ">= 4.0.0",
59 | "npm": ">= 3.0.0"
60 | },
61 | "browserslist": [
62 | "> 1%",
63 | "last 2 versions",
64 | "not ie <= 8"
65 | ]
66 | }
67 |
--------------------------------------------------------------------------------
/screenshots/wms1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/screenshots/wms1.png
--------------------------------------------------------------------------------
/screenshots/wms2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/screenshots/wms2.png
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
11 |
--------------------------------------------------------------------------------
/src/assets/bg_mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/src/assets/bg_mobile.png
--------------------------------------------------------------------------------
/src/assets/date.js:
--------------------------------------------------------------------------------
1 | export function formatDate(date, fmt) {
2 | if (/(y+)/.test(fmt)) {
3 | fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));
4 | }
5 | let o = {
6 | 'M+': date.getMonth() + 1,
7 | 'd+': date.getDate(),
8 | 'h+': date.getHours(),
9 | 'm+': date.getMinutes(),
10 | 's+': date.getSeconds()
11 | }
12 | for (let k in o) {
13 | let str = o[k] + '';
14 | if (new RegExp(`(${k})`).test(fmt)) {
15 | fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? str : padLeftZero(str));
16 | }
17 | }
18 | return fmt;
19 | };
20 |
21 | function padLeftZero(str) {
22 | return ('00' + str).substr(str.length);
23 | }
24 |
--------------------------------------------------------------------------------
/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/src/assets/logo.png
--------------------------------------------------------------------------------
/src/assets/view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/src/assets/view.png
--------------------------------------------------------------------------------
/src/assets/wx_phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/src/assets/wx_phone.png
--------------------------------------------------------------------------------
/src/components/caocao/ProductCreate1.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 产品
6 | 创建产品属性
7 |
8 |
9 |
40 |
41 |
42 |
43 |
114 |
132 |
--------------------------------------------------------------------------------
/src/components/caocao/TableCreate.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 平台
6 | 创建平台
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | 创建
25 | 取消
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
77 |
--------------------------------------------------------------------------------
/src/components/caocao/TableSigleList.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 平台详情
6 |
7 |
8 |
36 |
37 |
38 |
39 |
40 |
77 |
--------------------------------------------------------------------------------
/src/components/caocao/TableUpdate.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 平台
6 | 更新平台条件
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | 更新
26 | 取消
27 |
28 |
29 |
30 |
31 |
32 |
33 |
97 |
--------------------------------------------------------------------------------
/src/components/common/Header.vue:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
40 |
81 |
--------------------------------------------------------------------------------
/src/components/common/Home.vue:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
20 |
--------------------------------------------------------------------------------
/src/components/common/Sidebar.vue:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
97 |
98 |
112 |
--------------------------------------------------------------------------------
/src/components/operating/EditDialog.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
27 |
28 |
29 |
30 |
31 |
63 |
--------------------------------------------------------------------------------
/src/components/page/BaseCharts.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 图表
6 | 基础图表
7 |
8 |
9 |
10 | vue-schart:vue.js封装sChart.js的图表组件。
11 | 访问地址:
vue-schart
12 |
13 |
17 |
21 |
25 |
29 |
30 |
31 |
32 |
71 |
72 |
--------------------------------------------------------------------------------
/src/components/page/BaseForm.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 表单
6 | 基本表单
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | -
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | 提交
52 | 取消
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/src/components/page/DragList.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 拖拽排序
6 |
7 |
8 |
9 |
拖动排序
10 |
{{list.title}}
19 |
20 |
21 |
22 |
23 |
79 |
80 |
--------------------------------------------------------------------------------
/src/components/page/Login.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
后台管理系统
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | 登录
14 |
15 | Tips : 用户名和密码随便填。
16 |
17 |
18 |
19 |
20 |
21 |
55 |
56 |
--------------------------------------------------------------------------------
/src/components/page/Markdown.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 表单
6 | markdown
7 |
8 |
9 |
10 | Vue-SimpleMDE:Vue.js的Markdown Editor组件。
11 | 访问地址:
Vue-SimpleMDE
12 |
13 |
14 |
15 |
既然用了markdown语法了,那么就有一个很实际的问题了。要怎么在前台展示数据呢?
16 |
17 |
这个时候就需要解析markdown语法了。可以使用 vue-markdown:一个基于vue.js的markdown语法解析插件。(这里不作展开,有需要自行了解)
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/components/page/Readme.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 自述
6 |
7 |
8 |
9 |
README.md
10 |
11 | manage-system
12 | 基于Vue.js 2.x系列 + Element UI 的后台管理系统解决方案
13 | 前言
14 | 该方案作为一套多功能的后台框架模板,适用于绝大部分的后台管理系统(Web Management System)开发。基于vue.js,使用vue-cli脚手架快速生成项目目录,引用Element UI组件库,方便开发快速简洁好看的组件。分离颜色样式,支持手动切换主题色,而且很方便使用自定义主题色。
15 | 功能
16 | 登录/注销
17 |
18 | 1.查看平台列表
19 |
20 | 2.查看平台详情
21 |
22 | 3.创建/更新 平台信息
23 |
24 | 4.保存平台信息
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
40 |
41 |
87 |
--------------------------------------------------------------------------------
/src/components/page/Upload.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 表单
6 | 图片上传
7 |
8 |
9 |
支持拖拽
10 |
14 |
19 |
20 | 将文件拖到此处,或点击上传
21 | 只能上传jpg/png文件,且不超过500kb
22 |
23 |
支持裁剪
24 |
28 |
![]()
29 |
36 |
37 |
38 |
39 |
64 |
65 |
--------------------------------------------------------------------------------
/src/components/page/VueEditor.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 表单
6 | 编辑器
7 |
8 |
9 |
13 |
14 |
提交
15 |
16 |
17 |
18 |
48 |
--------------------------------------------------------------------------------
/src/components/page/VueTable.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 表格
6 | Vue表格组件
7 |
8 |
9 |
10 | vue-datasource:一个用于动态创建表格的vue.js服务端组件。
11 | 访问地址:
vue-datasource
12 |
13 |
17 |
18 |
19 |
20 |
94 |
95 |
--------------------------------------------------------------------------------
/src/components/project/FilterSigleList.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 筛选条件详情
6 |
7 |
8 |
45 |
46 |
47 |
48 |
49 |
117 |
--------------------------------------------------------------------------------
/src/components/project/ProductCreate1.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 产品
6 | 创建产品属性
7 |
8 |
9 |
40 |
41 |
42 |
43 |
114 |
132 |
--------------------------------------------------------------------------------
/src/components/project/TableCreate.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 平台
6 | 创建平台
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | 创建
25 | 取消
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
76 |
--------------------------------------------------------------------------------
/src/components/project/TableSigleList.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 平台详情
6 |
7 |
8 |
36 |
37 |
38 |
39 |
40 |
77 |
--------------------------------------------------------------------------------
/src/components/project/TableUpdate.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 筛选条件
6 | 创建筛选条件
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | 更新
26 | 取消
27 |
28 |
29 |
30 |
31 |
32 |
33 |
95 |
--------------------------------------------------------------------------------
/src/components/shebao/Aid/fail.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{current}}
6 |
7 |
8 | 重新查询
9 |
10 |
11 |
12 |
13 |
14 |
59 |
60 |
89 |
--------------------------------------------------------------------------------
/src/components/shebao/Aid/middle.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
34 |
35 |
39 |
--------------------------------------------------------------------------------
/src/components/shebao/Aid/success.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{current}}
5 |
6 |
7 |
8 |
9 |
75 |
76 |
92 |
--------------------------------------------------------------------------------
/src/components/shebao/SocialInsurance/detail.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
17 |
缴存时间
18 |
缴存基数
19 |
个人缴纳
20 |
企业缴纳
21 |
22 |
23 |
24 |
25 |
26 |
{{account.recordYear}}
27 |
28 |
29 |
30 |
{{accountdetail.insuredDate | formatDate }}
31 |
{{accountdetail.depositBase}}
32 |
{{ accountdetail.personalAmount}}
33 |
{{accountdetail.companyAmount}}
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
98 |
99 |
189 |
--------------------------------------------------------------------------------
/src/components/yn/BusinessRepayment.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 业务
7 | 还款差异
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 手动还款
23 | 取消
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
110 |
--------------------------------------------------------------------------------
/src/components/yn/CashBack.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 资金
7 | 资金回滚
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 回滚
23 | 取消
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
111 |
--------------------------------------------------------------------------------
/src/components/yn/CashRecharge.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 资金
7 | 资金充值
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | 充值
24 | 取消
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
108 |
--------------------------------------------------------------------------------
/src/components/yn/CheckBatchRefuse.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | 批量拒绝
10 | 重置
11 |
12 | Tips:标的信息请以逗号隔开
13 |
14 |
15 |
16 |
17 |
18 |
19 |
80 |
81 |
93 |
--------------------------------------------------------------------------------
/src/components/yn/Collection.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | 提交(Kirim)
10 | 重置
11 |
12 | Tips:如878899/linyueqing,8878878/linyueqing
13 |
14 |
15 |
16 |
17 |
18 |
19 |
80 |
81 |
99 |
--------------------------------------------------------------------------------
/src/components/yn/Dialog.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 | 您无此权限(Anda tidak mendapat izin)
9 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/components/yn/ImgDeal.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
![]()
6 |
7 |
8 |
KTPname:{{KTPname}}
9 |
KTPname:{{KTPNO}}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
![]()
18 |
19 |
20 |
21 |
22 |
23 | 放大
24 | 缩小
25 | 旋转
26 |
27 |
28 |
29 |
30 |
85 |
86 |
169 |
--------------------------------------------------------------------------------
/src/components/yn/Permission.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/src/components/yn/Readme.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 自述
6 |
7 |
8 |
9 |
README.md
10 |
11 | manage-system
12 | 基于Vue.js 2.x系列 +Vuex+ Element UI 的后台管理系统解决方案
13 | 前言
14 | 该方案作为一套多功能的后台框架模板,适用于绝大部分的后台管理系统(Web Management System)开发。
15 | 基于vue.js,使用vue-cli脚手架快速生成项目目录,引用Element UI组件库,方便开发快速简洁好看的组件。
16 |
17 | 功能
18 | 登录/注销
19 |
20 | 1.审核相关功能
21 |
22 | 2.资金处理相关
23 |
24 | 3.业务相关功能
25 |
26 | 4.个人信息查看
27 |
28 | 5.权限管理
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
43 |
44 |
90 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue';
2 | import App from './App';
3 | import router from './router';
4 | import axios from 'axios';
5 | import ElementUI from 'element-ui';
6 | import 'element-ui/lib/theme-default/index.css'; // 默认主题
7 | //import '../static/css/theme-green/index.css'; // 浅绿色主题
8 | import "babel-polyfill";
9 |
10 | Vue.use(ElementUI);
11 | Vue.prototype.HOST = '/api'
12 | Vue.prototype.$axios = axios;
13 |
14 | new Vue({
15 | router,
16 | render: h => h(App)
17 | }).$mount('#app');
18 |
--------------------------------------------------------------------------------
/src/router/index.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue';
2 | import Router from 'vue-router';
3 |
4 | Vue.use(Router);
5 |
6 | export default new Router({
7 | routes: [
8 | {
9 | path: '/',
10 | redirect: '/login'
11 | },
12 | {
13 | path: '/readme',
14 | component: resolve => require(['../components/common/Home.vue'], resolve),
15 | children:[
16 | {
17 | path: '/',
18 | component: resolve => require(['../components/page/Readme.vue'], resolve)
19 | },
20 | //平台页面
21 | {
22 | path: '/tablelist',
23 | component: resolve => require(['../components/project/TableList.vue'], resolve)
24 | },
25 | {
26 | path: '/tablecreate',
27 | component: resolve => require(['../components/project/TableCreate.vue'], resolve)
28 | },
29 | {
30 | path: '/tablesiglelist',
31 | component: resolve => require(['../components/project/TableSigleList.vue'], resolve)
32 | },
33 | {
34 | path: '/tableupdate',
35 | component: resolve => require(['../components/project/TableUpdate.vue'], resolve)
36 | },
37 | //筛选页面
38 | {
39 | path: '/filterlist',
40 | component: resolve => require(['../components/project/FilterList.vue'], resolve)
41 | },
42 | {
43 | path: '/filtercreate',
44 | component: resolve => require(['../components/project/FilterCreate.vue'], resolve)
45 | },
46 | {
47 | path: '/filtersiglelist',
48 | component: resolve => require(['../components/project/FilterSigleList.vue'], resolve)
49 | },
50 | {
51 | path: '/filterupdate',
52 | component: resolve => require(['../components/project/FilterUpdate.vue'], resolve)
53 | },
54 | //产品页面
55 | {
56 | path: '/productlist',
57 | component: resolve => require(['../components/project/ProductList.vue'], resolve)
58 | },
59 | {
60 | path: '/productcreate',
61 | component: resolve => require(['../components/project/ProductCreate.vue'], resolve)
62 | },
63 | {
64 | path: '/productcreate1',
65 | component: resolve => require(['../components/project/ProductCreate1.vue'], resolve)
66 | },
67 | {
68 | path: '/productsiglelist',
69 | component: resolve => require(['../components/project/ProductSigleList.vue'], resolve)
70 | },
71 | {
72 | path: '/productupdate',
73 | component: resolve => require(['../components/project/ProductUpdate.vue'], resolve)
74 | },
75 | {
76 | path: '/productupdate1',
77 | component: resolve => require(['../components/project/ProductUpdate1.vue'], resolve)
78 | }
79 | ]
80 | },
81 | {
82 | path: '/login',
83 | component: resolve => require(['../components/page/Login.vue'], resolve)
84 | },
85 | ]
86 | })
87 |
--------------------------------------------------------------------------------
/static/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/.gitkeep
--------------------------------------------------------------------------------
/static/css/color-dark.css:
--------------------------------------------------------------------------------
1 | .header{
2 | background-color: #242f42;
3 | }
4 | .login-wrap{
5 | background: #324157;
6 | }
7 | .plugins-tips{
8 | background: #eef1f6;
9 | }
10 | .plugins-tips a{
11 | color: #20a0ff;
12 | }
13 | .el-upload--text em {
14 | color: #20a0ff;
15 | }
16 | .pure-button{
17 | background: #20a0ff;
18 | }
--------------------------------------------------------------------------------
/static/css/datasource.css:
--------------------------------------------------------------------------------
1 | .vue-datasource *{
2 | box-sizing: border-box;
3 | font-size: 14px;
4 | }
5 | .vue-datasource .panel {
6 | margin-bottom: 22px;
7 | background-color: #fff;
8 | border: 1px solid transparent;
9 | border-radius: 4px;
10 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
11 | }
12 | .vue-datasource .panel-default {
13 | border-color: #d3e0e9;
14 | }
15 | .vue-datasource .panel-heading {
16 | padding: 10px 15px;
17 | border-bottom: 1px solid transparent;
18 | border-top-right-radius: 3px;
19 | border-top-left-radius: 3px;
20 | }
21 | .vue-datasource .panel-default > .panel-heading {
22 | height:56px;
23 | color: #333333;
24 | background-color: #fff;
25 | border-color: #d3e0e9;
26 | }
27 | .vue-datasource .pull-left {
28 | float: left !important;
29 | }
30 | .vue-datasource .pull-right {
31 | float: right !important;
32 | }
33 | .vue-datasource .form-group {
34 | margin-bottom: 15px;
35 | }
36 | .vue-datasource label {
37 | display: inline-block;
38 | max-width: 100%;
39 | margin-bottom: 5px;
40 | font-weight: bold;
41 | }
42 | .vue-datasource .form-control {
43 | display: block;
44 | width: 100%;
45 | height: 36px;
46 | padding: 6px 12px;
47 | font-size: 14px;
48 | line-height: 1.6;
49 | color: #555555;
50 | background-color: #fff;
51 | background-image: none;
52 | border: 1px solid #ccd0d2;
53 | border-radius: 4px;
54 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
55 | -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
56 | transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
57 | }
58 | .vue-datasource .btn {
59 | display: inline-block;
60 | margin-bottom: 0;
61 | font-weight: normal;
62 | text-align: center;
63 | vertical-align: middle;
64 | touch-action: manipulation;
65 | cursor: pointer;
66 | background-image: none;
67 | border: 1px solid transparent;
68 | white-space: nowrap;
69 | padding: 6px 12px;
70 | font-size: 14px;
71 | line-height: 1.6;
72 | border-radius: 4px;
73 | -webkit-user-select: none;
74 | -moz-user-select: none;
75 | -ms-user-select: none;
76 | user-select: none;
77 | }
78 | .vue-datasource .btn-primary {
79 | color: #fff;
80 | background-color: #3097D1;
81 | border-color: #2a88bd;
82 | }
83 | .vue-datasource .table {
84 | width: 100%;
85 | max-width: 100%;
86 | margin-bottom: 22px;
87 | border-collapse: collapse;
88 | border-spacing: 0;
89 | text-align: center;
90 | }
91 | .vue-datasource .table > thead > tr > th {
92 | vertical-align: bottom;
93 | border-bottom: 2px solid #ddd;
94 | }
95 | .vue-datasource .table th ,.vue-datasource .table td {
96 | padding: 8px;
97 | line-height: 1.6;
98 | vertical-align: top;
99 | border-top: 1px solid #ddd;
100 | }
101 | .vue-datasource .table-striped > tbody > tr:nth-of-type(odd) {
102 | background-color: #f9f9f9;
103 | }
104 | .vue-datasource .success th ,.vue-datasource .success td{
105 | background-color: #dff0d8;
106 | }
107 | .vue-datasource .pagination {
108 | display: inline-block;
109 | padding-left: 0;
110 | margin: 22px 0;
111 | border-radius: 4px;
112 | }
113 | .vue-datasource .pagination > li {
114 | display: inline;
115 | }
116 | .pagination > li > a,.pagination > li > span {
117 | position: relative;
118 | float: left;
119 | padding: 6px 12px;
120 | line-height: 1.6;
121 | text-decoration: none;
122 | color: #3097D1;
123 | background-color: #fff;
124 | border: 1px solid #ddd;
125 | margin-left: -1px;
126 | }
127 | .pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
128 | color: #777777;
129 | background-color: #fff;
130 | border-color: #ddd;
131 | cursor: not-allowed;
132 | }
133 | .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
134 | z-index: 3;
135 | color: #fff;
136 | background-color: #3097D1;
137 | border-color: #3097D1;
138 | cursor: default;
139 | }
140 | .vue-datasource .pagination > li:first-child > a, .vue-datasource .pagination > li:first-child > span {
141 | margin-left: 0;
142 | border-bottom-left-radius: 4px;
143 | border-top-left-radius: 4px;
144 | }
145 | .vue-datasource .text-center {
146 | text-align: center;
147 | }
148 |
149 |
150 |
151 |
152 | @media (min-width: 768px){
153 | .form-inline .form-group {
154 | display: inline-block;
155 | margin-bottom: 0;
156 | vertical-align: middle;
157 | }
158 | .form-inline .control-label {
159 | margin-bottom: 0;
160 | vertical-align: middle;
161 | }
162 | .form-inline .form-control {
163 | display: inline-block;
164 | width: auto;
165 | vertical-align: middle;
166 | }
167 | }
168 |
--------------------------------------------------------------------------------
/static/css/main.css:
--------------------------------------------------------------------------------
1 | *{margin:0;padding:0;}
2 | html,body,#app,.wrapper{
3 | width:100%;
4 | height:100%;
5 | overflow: hidden;
6 | }
7 | body{
8 | font-family:"Helvetica Neue",Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
9 | }
10 | a{text-decoration: none}
11 | .content{
12 | background: none repeat scroll 0 0 #fff;
13 | position: absolute;
14 | left: 250px;
15 | right: 0;
16 | top: 70px;
17 | bottom:0;
18 | width: auto;
19 | padding:40px;
20 | box-sizing: border-box;
21 | overflow-y: scroll;
22 | }
23 | .crumbs{
24 | margin-bottom: 20px;
25 | }
26 | .pagination{
27 | margin: 20px 0;
28 | text-align: right;
29 | }
30 | .plugins-tips{
31 | padding:20px 10px;
32 | margin-bottom: 20px;
33 | }
34 | .el-button+.el-tooltip {
35 | margin-left: 10px;
36 | }
37 |
38 | .el-table tr:hover{
39 | background: #f6faff;
40 | }
41 | .mgb20{
42 | margin-bottom: 20px;
43 | }
44 |
45 | .move-enter-active,.move-leave-active{
46 | transition: opacity .5s;
47 | }
48 | .move-enter,.move-leave{
49 | opacity: 0;
50 | }
51 | /*BaseForm*/
52 | .form-box{
53 | width:600px;
54 | }
55 | .form-box .line{
56 | text-align: center;
57 | }
58 | .el-time-panel__content::after, .el-time-panel__content::before {
59 | margin-top: -7px;
60 | }
61 | /*Readme*/
62 | .ms-doc .el-checkbox__input.is-disabled+.el-checkbox__label{
63 | color: #333;
64 | cursor: pointer;
65 | }
66 | /*Upload*/
67 | .pure-button{
68 | width:150px;
69 | height:40px;
70 | line-height: 40px;
71 | text-align: center;
72 | color: #fff;
73 | border-radius: 3px;
74 | }
75 | .g-core-image-corp-container .info-aside{
76 | height:45px;
77 | }
78 | .el-upload--text {
79 | background-color: #fff;
80 | border: 1px dashed #d9d9d9;
81 | border-radius: 6px;
82 | box-sizing: border-box;
83 | width: 360px;
84 | height: 180px;
85 | text-align: center;
86 | cursor: pointer;
87 | position: relative;
88 | overflow: hidden;
89 | }
90 | .el-upload--text .el-icon-upload {
91 | font-size: 67px;
92 | color: #97a8be;
93 | margin: 40px 0 16px;
94 | line-height: 50px;
95 | }
96 | .el-upload--text {
97 | color: #97a8be;
98 | font-size: 14px;
99 | text-align: center;
100 | }
101 | .el-upload--text em {
102 | font-style: normal;
103 | }
104 | /*VueEditor*/
105 | .ql-container{
106 | min-height: 400px;
107 | }
108 | .ql-snow .ql-tooltip{
109 | transform: translateX(117.5px) translateY(10px) !important;
110 | }
111 | .editor-btn{
112 | margin-top: 20px;
113 | }
--------------------------------------------------------------------------------
/static/css/theme-green/color-green.css:
--------------------------------------------------------------------------------
1 | .header{
2 | background-color: #00d1b2;
3 | }
4 | .login-wrap{
5 | background: rgba(56, 157, 170, 0.82);;
6 | }
7 | .plugins-tips{
8 | background: #f2f2f2;
9 | }
10 | .plugins-tips a{
11 | color: #00d1b2;
12 | }
13 | .el-upload--text em {
14 | color: #00d1b2;
15 | }
16 | .pure-button{
17 | background: #00d1b2;
18 | }
19 | .vue-datasource .btn-primary {
20 | color: #fff;
21 | background-color: #00d1b2 !important;
22 | border-color: #00d1b2 !important;
23 | }
24 | .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
25 | background-color: #00d1b2 !important;
26 | border-color: #00d1b2 !important;
27 | }
--------------------------------------------------------------------------------
/static/css/theme-green/fonts/element-icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/css/theme-green/fonts/element-icons.ttf
--------------------------------------------------------------------------------
/static/css/theme-green/fonts/element-icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/css/theme-green/fonts/element-icons.woff
--------------------------------------------------------------------------------
/static/datasource.json:
--------------------------------------------------------------------------------
1 | {
2 | "data": [{
3 | "id": 1,
4 | "name": "段娜",
5 | "email": "g.rgiuory@kctbut.mw",
6 | "ip": "68.28.4.232"
7 | },
8 | {
9 | "id": 2,
10 | "name": "蔡洋",
11 | "email": "y.mwjjoje@lpkshev.tg",
12 | "ip": "22.126.12.189"
13 | },
14 | {
15 | "id": 3,
16 | "name": "陈敏",
17 | "email": "e.voaiiuo@mvng.sn",
18 | "ip": "227.89.13.37"
19 | },
20 | {
21 | "id": 4,
22 | "name": "朱平",
23 | "email": "e.lduuf@nkfypn.az",
24 | "ip": "9.39.240.243"
25 | },
26 | {
27 | "id": 5,
28 | "name": "侯平",
29 | "email": "t.czqjyndts@jmwenklns.md",
30 | "ip": "178.162.29.113"
31 | },
32 | {
33 | "id": 6,
34 | "name": "常超",
35 | "email": "d.dhysgem@uxpcutmlk.tt",
36 | "ip": "192.50.103.170"
37 | },
38 | {
39 | "id": 7,
40 | "name": "许平",
41 | "email": "g.fiqdonvbc@wanepptw.tv",
42 | "ip": "73.20.99.60"
43 | },
44 | {
45 | "id": 8,
46 | "name": "毛超",
47 | "email": "w.unyyejh@qus.gt",
48 | "ip": "10.88.135.123"
49 | },
50 | {
51 | "id": 9,
52 | "name": "周磊",
53 | "email": "e.qbejguqqg@ejpxhltoak.gw",
54 | "ip": "244.221.237.210"
55 | },
56 | {
57 | "id": 10,
58 | "name": "胡秀英",
59 | "email": "s.dszo@uxaojtj.sy",
60 | "ip": "86.199.17.210"
61 | }
62 | ],
63 | "pagination": {
64 | "total": 15,
65 | "per_page": 15,
66 | "current_page": 1,
67 | "last_page": 1,
68 | "from": 1,
69 | "to": 15
70 | }
71 | }
--------------------------------------------------------------------------------
/static/img/fr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/img/fr.png
--------------------------------------------------------------------------------
/static/img/img.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/img/img.jpg
--------------------------------------------------------------------------------
/static/img/like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/img/like.png
--------------------------------------------------------------------------------
/static/img/project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/img/project.png
--------------------------------------------------------------------------------
/static/img/tianmao.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/moveondo/vue-ManageSystem/9bfdc793de1a2a802a1b1232ffcde309e9a1ec94/static/img/tianmao.png
--------------------------------------------------------------------------------
/static/vuetable.json:
--------------------------------------------------------------------------------
1 | {
2 | "list": [{
3 | "date": "1997-11-11",
4 | "name": "林丽",
5 | "address": "吉林省 辽源市 龙山区"
6 | }, {
7 | "date": "1987-09-24",
8 | "name": "文敏",
9 | "address": "江西省 萍乡市 芦溪县"
10 | }, {
11 | "date": "1996-08-08",
12 | "name": "杨秀兰",
13 | "address": "黑龙江省 黑河市 五大连池市"
14 | }, {
15 | "date": "1978-06-18",
16 | "name": "魏强",
17 | "address": "广东省 韶关市 始兴县"
18 | }, {
19 | "date": "1977-07-09",
20 | "name": "石秀兰",
21 | "address": "江苏省 宿迁市 宿豫区"
22 | }, {
23 | "date": "1994-09-20",
24 | "name": "朱洋",
25 | "address": "海外 海外 -"
26 | }, {
27 | "date": "1980-01-22",
28 | "name": "傅敏",
29 | "address": "海外 海外 -"
30 | }, {
31 | "date": "1985-10-10",
32 | "name": "毛明",
33 | "address": "内蒙古自治区 包头市 九原区"
34 | }, {
35 | "date": "1975-09-08",
36 | "name": "何静",
37 | "address": "西藏自治区 阿里地区 普兰县"
38 | }, {
39 | "date": "1970-06-07",
40 | "name": "郭秀英",
41 | "address": "四川省 巴中市 恩阳区"
42 | }]
43 | }
--------------------------------------------------------------------------------