Commit 33c5df0d by 无尘

feat: 增加组件

parent 2af10c66
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": ["transform-vue-jsx", "transform-runtime"]
}
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
.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"],
// add your custom rules here
rules: {
// "prettier/prettier": "error",
// 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: [
2,
{
max: 200
}
],
// 不允许有空函数,除非是将一个空函数设置为某个项的默认值 【否则空函数并没有实际意义】
"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, 20],
// 回调函数嵌套禁止超过 4 层,多了请用 async await 替代
"max-nested-callbacks": [2, 4],
// 函数的参数禁止超过 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/
/build/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json*
# 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": 2008,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"semi": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"proseWrap": "preserve"
}
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-11-12 10:16:53
* @LastEditors: 无尘
* @LastEditTime: 2019-11-12 10:43:39
-->
### 分享有礼项目
>分享有礼项目
## 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
```
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-11-12 10:18:30
* @LastEditors: 无尘
* @LastEditTime: 2019-11-12 10:46:47
-->
'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: '0.0.0.0', // can be overwritten by process.env.HOST
host: 'localhost',//'192.168.1.20',//
port: 8001, // 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: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}
'use strict'
module.exports = {
NODE_ENV: '"production"'
}
module.exports = {
proxyList: {
'/api-auth/': {
target: 'http://gicdev.demogic.com/api-auth/',
changeOrigin: true,
pathRewrite: {
'^/api-auth': ''
}
},
'/api-admin/': {
target: 'http://gicdev.demogic.com/api-admin/',
changeOrigin: true,
pathRewrite: {
'^/api-admin': ''
}
},
'/api-plug/': {
target: 'http://gicdev.demogic.com/api-plug/',
changeOrigin: true,
pathRewrite: {
'^/api-plug': ''
}
},
'/api-mall/': {
target: 'http://gicdev.demogic.com/api-mall/',
changeOrigin: true,
pathRewrite: {
'^/api-mall': ''
}
}
}
}
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.425c5ff4dfe662b8351576ec0188966f.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.30.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.25.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.11.js></script><script type=text/javascript src=./static/js/manifest.163fccdd60edaeab58ed.js></script><script type=text/javascript src=./static/js/vendor.83081d6a93a866b5b8f1.js></script><script type=text/javascript src=./static/js/app.c1d9c8063e7a453b5c28.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.
@import './public.css';
.arrowico{
position: absolute;
transition: all .5s;
.icoposition(0px,25px);
}
.icoposition(@right: right,@top: top){
right: @right;
top: @top;
}
.user-form-dialog {
/deep/ .el-dialog {
min-width: 425px;
}
/*/deep/ .el-dialog__body {
padding: 0 20px;
}*/
/deep/ .el-input {
width: 260px;
}
}
.pass-form-dialog {
/deep/ .el-dialog {
min-width: 425px;
}
/*/deep/ .el-dialog__body {
padding: 0 20px;
}*/
}
.el-popover {
min-width: 100px;
}
.icon-transform-nine {
transition: transform .3s;
transform: rotate(-90deg);
color: #c0c4cc;
}
.line-nowrap {
white-space: nowrap;
overflow: hidden;
padding: 0 6px;
line-height: 32px;
vertical-align: middle;
}
.line-nowrap .el-tag {
margin-right: 4px;
}
.el-tag-popover {
margin-right: 5px;
margin-bottom: 5px;
}
.table-light-color {
background-color: #f7faff;
.btn-prev {
background-color: #f7faff;
}
.btn-next {
background-color: #f7faff;
}
button:disabled {
background-color: #f7faff;
}
li {
background-color: #f7faff;
}
}
.cre-dialog {
.el-dialog__body {
padding: 10px 20px;
}
.cre-btn {
padding-top: 20px;
text-align: right;
}
.tips {
text-align: left;
font-size: 18px;
color: #303133;
}
}
.el-date-editor .el-range-separator {
width: 6%;
}
.el-dialog__footer {
border-top: none;
}
@base-color: #353944;
@hover-color: #3c92eb;
@hoverbg-color: #20242d;
@main-color: #1890ff;
@navbgcolor: #04143a;
@sidebgcolor: #343c4c;
@userinfobgcolor: #ecf5ff;
@contentbgcolor: #f5f7fa;
@bordercolor: #dcdfe6;
@customnavcolor: #04143a;
@btnbgcolor: #f5f7fa;
@iconbgcolor: #e6e9f2;
.flex1(@width,@height) {
flex: 0 0 @width;
width: @width;
height: @height;
}
/* 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;
}
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 source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 52.4 (67378) - http://www.bohemiancoding.com/sketch -->
<title>添加 加号 无边框</title>
<desc>Created with Sketch.</desc>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="新增手工标签-copy-10" transform="translate(-419.000000, -522.000000)">
<g id="Dialog-对话框/表单" transform="translate(395.000000, 435.000000)">
<g id="添加-加号-无边框" transform="translate(24.000000, 87.000000)">
<rect id="矩形" fill="#E9F4FF" x="0" y="0" width="40" height="40" rx="4"></rect>
<path d="M26.5,20 L21,20 L21,14.5 C21,14.22 20.78,14 20.5,14 C20.22,14 20,14.22 20,14.5 L20,20 L14.5,20 C14.22,20 14,20.22 14,20.5 C14,20.78 14.22,21 14.5,21 L20,21 L20,26.5 C20,26.78 20.22,27 20.5,27 C20.78,27 21,26.78 21,26.5 L21,21 L26.5,21 C26.78,21 27,20.78 27,20.5 C27,20.22 26.78,20 26.5,20 Z" id="路径" fill="#1890FF"></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 52.4 (67378) - http://www.bohemiancoding.com/sketch -->
<title>添加 加号 无边框</title>
<desc>Created with Sketch.</desc>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="新增手工标签-copy-2" transform="translate(-419.000000, -522.000000)">
<g id="Dialog-对话框/表单" transform="translate(395.000000, 435.000000)">
<g id="添加-加号-无边框" transform="translate(24.000000, 87.000000)">
<rect id="矩形" fill="#F3F6F9" x="0" y="0" width="40" height="40" rx="4"></rect>
<path d="M26.5,20 L21,20 L21,14.5 C21,14.22 20.78,14 20.5,14 C20.22,14 20,14.22 20,14.5 L20,20 L14.5,20 C14.22,20 14,20.22 14,20.5 C14,20.78 14.22,21 14.5,21 L20,21 L20,26.5 C20,26.78 20.22,27 20.5,27 C20.78,27 21,26.78 21,26.5 L21,21 L26.5,21 C26.78,21 27,20.78 27,20.5 C27,20.22 26.78,20 26.5,20 Z" id="路径" fill="#C0C4CC"></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 52.4 (67378) - http://www.bohemiancoding.com/sketch -->
<title>excel-01</title>
<desc>Created with Sketch.</desc>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="新增手工标签-copy-5" transform="translate(-419.000000, -552.000000)">
<g id="Dialog-对话框/表单" transform="translate(395.000000, 465.000000)">
<g id="excel-01" transform="translate(24.000000, 87.000000)">
<rect id="矩形" fill="#F3F6F9" x="0" y="0" width="40" height="40" rx="4"></rect>
<path d="M23.1612903,5 L6,8.43821741 L6,33.174126 L23.1612903,36.6129032 L23.1612903,5 Z M14.36631,21.8272249 L12.5837092,25.7160716 L10.526648,25.5716463 L13.1304031,20.8168077 L10.8011084,15.6354107 L12.8564994,15.4909854 L14.2282447,19.3775929 L14.5004782,19.3775929 L16.0091753,15.2021348 L18.2026316,15.0593889 L15.4608113,20.5296365 L18.2043018,26.1465485 L16.0108455,26.0021232 L14.36631,21.8272249 Z" id="形状" fill="#23B08D" fill-rule="nonzero"></path>
<polygon id="路径" fill="#E5E7E6" points="23.1612903 8.61290323 34 8.61290323 34 33.9032258 23.1612903 33.9032258"></polygon>
<path d="M23.1612903,14.0322581 L30.3870968,14.0322581 L30.3870968,16.3352193 L23.1612903,16.3352193 L23.1612903,14.0322581 Z M23.1612903,18.8840053 L30.3870968,18.8840053 L30.3870968,21.1869666 L23.1612903,21.1869666 L23.1612903,18.8840053 Z M23.1612903,24.3744581 L30.3870968,24.3744581 L30.3870968,26.6774194 L23.1612903,26.6774194 L23.1612903,24.3744581 Z" id="形状" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</svg>
\ 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.
webpackJsonp([12],{YPWR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("5reh"),i={name:"App",data:function(){return{projectName:"member-tag",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员标签"}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{},mounted:function(){this.$store.commit(o.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var s=n("VU/8")(i,a,!1,function(t){n("ZyYn")},null,null);e.default=s.exports},ZyYn:function(t,e){}});
\ No newline at end of file
webpackJsonp([16],{BWbR:function(t,a){},"G/on":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=e("3Xzz"),n=e("5QTb"),s=(e("Mk6G"),e("3E4D")),o=e("Ch4/"),i=(e("PI0u"),e("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:"/platformTagLib"},{name:"平台标签列表",path:""}],tagLibName:"platformTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,a){var e={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;e.tagIds=[],this.selTagTableData.forEach(function(t,a){e.tagIds.push(t.tagId)}),e.tagIds=e.tagIds.join(","),this.addByTagId("addByTagIds",e)}else e.tagId=a,this.addByTagId("addByTagId",e)},addByTagId:function(t,a){var e=this;Object(i.a)("/enterpriseMemberTag/"+t,a).then(function(t){var a=t.data;if(1==a.errorCode)return s.a.showmsg("添加成功","success"),void e.getTagList();o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(t){this.selTagTableData=t},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(t){var a=this,e={tagName:a.tagSearch,tagLevelGroupId:a.currentGroupId,pageNum:a.currentPage,pageSize:a.pageSize};Object(i.a)("/memberTag/platformTagPageList",e).then(function(t){var e=t.data;if(1==e.errorCode)return a.tagTableData=e.result.result,void(a.total=e.result.totalCount);o.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,a){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"platformTagList-wrap common-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{staticClass:"common-wrap__cateTags"},[e("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),e("div",{staticClass:"common-wrap__opt"},[e("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(a){if(!("button"in a)&&t._k(a.keyCode,"enter",13,a.key))return null;t.searchEnterFun(a)}},model:{value:t.tagSearch,callback:function(a){t.tagSearch=a},expression:"tagSearch"}}),t._v(" "),e("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(a){t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),e("div",{staticClass:"common-wrap__table m-t-20"},[e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[e("el-table-column",{attrs:{type:"selection"}}),t._v(" "),e("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),t._v(" "),e("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),e("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(a){return[t._v("\n "+t._s(1==a.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:a.row.tagId,addFlag:a.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),e("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==a.row.isAdd},on:{click:function(e){t.toAddMyTagLib("single",a.row.tagId)}}},[t._v("\n "+t._s(1==a.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?e("div",{staticClass:"block common-wrap__page text-right"},[e("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var g=e("VU/8")(l,c,!1,function(t){e("BWbR")},"data-v-c7474496",null);a.default=g.exports}});
\ No newline at end of file
webpackJsonp([18],{"/aiX":function(t,e){},Gy5W:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("5reh"),o={name:"App",data:function(){return{projectName:"member-tag",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员标签"}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.$store.commit(n.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var s=i("VU/8")(o,a,!1,function(t){i("/aiX")},null,null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([19],{"308P":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});a("J16i");var r=a("3E4D"),o=a("P9l9"),l={name:"manualTagEdit",props:{showPop:Boolean,options:Object},data:function(){return{ruleForm:{tagName:"",tagLevel:"test",tagTwoLevelGroupId:"",tagLevelGroupId:"",tagDescribe:"",pending:!1},rules:{tagName:[{required:!0,message:"请输入标签名称",trigger:"blur"}],tagLevel:[{required:!0,message:""}],tagLevelGroupId:[{required:!0,message:"请选择所属分类",trigger:"blur"}],tagTwoLevelGroupId:[{required:!0,message:"请选择所属分类",trigger:"blur"}]},optionsTwo:[],optionsThree:[],tagValTableData:[]}},watch:{options:{deep:!0,handler:function(e){this.ruleForm.tagTwoLevelGroupId=e.tagTwoLevelGroupId,this.ruleForm.tagLevelGroupId=e.tagLevelGroupId,e.tagId?this.getTagData(e.tagId):(this.ruleForm.tagName="",this.getOptionsThree(e.tagTwoLevelGroupId))}}},methods:{closePop:function(){this.$emit("update:showPop",!1)},confirmSave:function(){var e=this;this.ruleForm.pending||(this.ruleForm.pending=!0,this.$refs.ruleForm.validate(function(t){t&&e.saveApi()}))},saveApi:function(){var e=this,t={tagId:this.options.tagId,tagName:this.ruleForm.tagName,tagDescribe:this.ruleForm.tagDescribe,tagLevelGroupId:this.ruleForm.tagLevelGroupId};Object(o.a)("/memberTag/saveHandMemberTag",t).then(function(t){var a=t.data,o=a.errorCode,l=a.message;e.ruleForm.pending=!1,1===o?(r.a.showmsg("保存成功","success"),e.$emit("save"),e.closePop()):e.$message.error({duration:1e3,message:l})}).catch(function(t){e.ruleForm.pending=!1,e.$message.error({duration:1e3,message:t.message})})},getOptionsTwo:function(){var e=this;return Object(o.a)("/tagLevel/handSecondLevel",{}).then(function(t){var a=t.data,r=a.errorCode,o=a.result;1===r&&(e.optionsTwo=o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeTwo:function(e){this.ruleForm.tagLevelGroupId="",this.getOptionsThree(e)},getOptionsThree:function(e){var t=this;Object(o.a)("/tagLevel/handThirdLevel",{tagLevelGroupId:e}).then(function(e){var a=e.data,r=a.errorCode,o=a.result;1===r&&(t.optionsThree=o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;Object(o.a)("/memberTag/getTagById",{tagId:e}).then(function(e){var a=e.data,r=a.errorCode,o=a.result;1===r&&(t.ruleForm.tagName=o.tagName,t.ruleForm.tagLevelGroupId=o.tagLevelGroupId,t.ruleForm.tagTwoLevelGroupId=o.tagTwoLevelGroupId,t.ruleForm.tagDescribe=o.tagDescribe,t.getOptionsThree(o.tagTwoLevelGroupId))}).catch(function(e){console.log(e)})}},mounted:function(){this.getOptionsTwo()}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{visible:e.showPop,title:e.options.popTitle,width:"600px"},on:{"update:visible":function(t){e.showPop=t},close:e.closePop}},[a("div",{staticClass:"manualTagEdit-wrap"},[a("el-form",{ref:"ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{staticClass:"w-329",attrs:{label:"标签名称",prop:"tagName"}},[a("el-input",{staticClass:"w-220",attrs:{placeholder:"请输入内容",maxlength:15},model:{value:e.ruleForm.tagName,callback:function(t){e.$set(e.ruleForm,"tagName",t)},expression:"ruleForm.tagName"}}),e._v(" "),a("label",{staticClass:"input-label"},[e._v(e._s(e.ruleForm.tagName.length)+"/15")])],1),e._v(" "),a("el-form-item",{attrs:{label:"所属分类",prop:"tagLevel"}},[a("el-form-item",{staticClass:"fl",attrs:{prop:"tagTwoLevelGroupId"}},[a("el-select",{staticClass:"w-220",attrs:{placeholder:"请选择"},on:{change:e.changeTwo},model:{value:e.ruleForm.tagTwoLevelGroupId,callback:function(t){e.$set(e.ruleForm,"tagTwoLevelGroupId",t)},expression:"ruleForm.tagTwoLevelGroupId"}},e._l(e.optionsTwo,function(e){return a("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}))],1),e._v(" "),a("el-form-item",{staticClass:"fl",attrs:{prop:"tagLevelGroupId"}},[a("el-select",{staticClass:"w-220 m-l-8",attrs:{placeholder:"请选择"},model:{value:e.ruleForm.tagLevelGroupId,callback:function(t){e.$set(e.ruleForm,"tagLevelGroupId",t)},expression:"ruleForm.tagLevelGroupId"}},e._l(e.optionsThree,function(e){return a("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}))],1)],1),e._v(" "),a("el-form-item",{staticClass:"w-560",attrs:{label:"标签描述",prop:"tagDescribe"}},[a("el-input",{staticClass:"w-447",attrs:{type:"textarea",row:"4",maxlength:200},model:{value:e.ruleForm.tagDescribe,callback:function(t){e.$set(e.ruleForm,"tagDescribe",t)},expression:"ruleForm.tagDescribe"}}),e._v(" "),a("label",{staticClass:"textarea-label"},[e._v(e._s(e.ruleForm.tagDescribe.length)+"/200")])],1)],1),e._v(" "),a("div",{staticClass:"manualTagEdit-btns"},[a("el-button",{on:{click:e.closePop}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.confirmSave}},[e._v("保存")])],1)],1)])},staticRenderFns:[]};var i=a("VU/8")(l,s,!1,function(e){a("XNQg")},"data-v-972ae234",null);t.default=i.exports},XNQg:function(e,t){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([21],{NJTp:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),o=a("M2/U"),i=a("3fED"),s=(a("Mk6G"),a("3E4D")),l=a("Ch4/"),u=a("PI0u"),c=a("P9l9"),g={name:"myTagList",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:"/myTagLib"},{name:"我的标签列表",path:""}],showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagLibName:"myTag",tagSearch:"",tagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{changeRoute:function(t){this.$router.push(t)},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(t){this.showTagDetail=!1},toManualTagLib:function(){this.changeRoute("/manualTagList")},toPlatformTagLib:function(){this.changeRoute("/platformTagList")},searchEnterFun:Object(u.a)(function(t){this.currentPage=1,this.getTagList()},500),clearSearch:function(){this.currentPage=1,this.getTagList()},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(){var t=this,e={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(c.a)("/enterpriseMemberTag/pageList",e).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.result&&a.result.result.length?(a.result.result.forEach(function(t,e){t.popVisible=!1}),t.tagTableData=a.result.result):(t.tagTableData=[],t.$message.error({duration:1e3,message:"未找到数据"})),void(t.total=a.result.totalCount);l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},addTemporary:function(t){this.tagShortDetailId=t,this.showTagDetail=!0,this.$refs.tagTemp.hideTagList()},cancelDelTag:function(t,e){e.popVisible=!1},toDelTag:function(t,e){var a=this;a.$confirm("确认要删除此标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postToDelTag(t,e)}).catch(function(){})},postToDelTag:function(t,e){var a=this,r={enterpriseMemberTagId:e.enterpriseMemberTagId};Object(c.a)("/enterpriseMemberTag/del",r).then(function(e){var r=e.data;if(1==r.errorCode)return s.a.showmsg("删除成功","success"),a.tagTableData.splice(t,1),void a.$refs.tagTemp.getTagList();l.a.errorMsg(r)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},showShortDetail:function(t){this.showTagDetail=!0,this.tagShortDetailId=t},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList()},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagShortDetail:i.a,tagCategory:n.a,tagTemporary:o.a}},h={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"myTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key))return null;var a;a=e,t.searchEnterFun(a)}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}})],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"pointer name-hover",on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v(t._s(e.row.tagName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/myTagDetail",query:{tagId:e.row.tagId}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small"},on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v("添加至暂存架")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},on:{click:function(a){t.toDelTag(e.$index,e.row)}},slot:"reference"},[t._v("\n 删除\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("tagShortDetail",{attrs:{fromFlag:t.fromFlag,tagShortId:t.tagShortDetailId,showTagDetail:t.showTagDetail},on:{"update:tagShortId":function(e){t.tagShortDetailId=e},hideTag:t.handleHideTag,updateTemp:t.updateTemp}}),t._v(" "),a("tag-temporary",{ref:"tagTemp",on:{showShortDetail:t.showShortDetail}})],1)},staticRenderFns:[]};var p=a("VU/8")(g,h,!1,function(t){a("QaEG")},"data-v-5b924529",null);e.default=p.exports},QaEG:function(t,e){}});
\ No newline at end of file
webpackJsonp([23],{GXzu:function(t,e){},iHP3:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),i=a("lRwf"),l=a.n(i),c=a("zL8q"),o=a("CUHN"),d=a("SJI6");l.a.component(c.CollapseTransition.name,c.CollapseTransition);var r={name:"tag-type",components:{SecondTag:o.default},props:{tagList:Object},data:function(){return{list:{},typeName:"",editData:[],expends:"收起"}},computed:n()({},Object(d.mapState)(["tagRealName"])),methods:{handleChangeExpends:function(){this.expends="收起"===this.expends?"展开":"收起"},handleFirstTag:function(){localStorage.setItem("jumpTag",""),this.$emit("handleFristTag",this.list)}},watch:{tagList:{immediate:!0,handler:function(t){this.list=t}}}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"list"},[a("span",{staticClass:"expends-txt",on:{click:t.handleChangeExpends}},[t._v(t._s(t.expends)+" ")]),t._v(" "),a("div",{staticClass:"first-tag"},[a("div",[a("i",{staticClass:"iconfont menu-icon",class:[t.list.icon,{"icon-tag-light":t.list.name===t.tagRealName}]}),t._v(" "),a("span",{staticClass:"tag-name",class:{"icon-tag-light":t.list.name===t.tagRealName},on:{click:t.handleFirstTag}},[t._v(t._s(t.list.name))])]),t._v(" "),a("el-collapseTransition",[a("div",{directives:[{name:"show",rawName:"v-show",value:"收起"===t.expends,expression:"expends === '收起'"}],staticClass:"second-tag"},t._l(t.list.children,function(e,s){return a("second-tag",{key:s,attrs:{list:e,"tag-name":t.list.name}})}))])],1)])},staticRenderFns:[]};var m=a("VU/8")(r,p,!1,function(t){a("GXzu")},"data-v-4c518050",null);e.default=m.exports}});
\ No newline at end of file
webpackJsonp([24],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):!!t.hasOwnProperty("response")&&(401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("I1mE")},null,null);e.default=d.exports},I1mE:function(t,e){}});
\ No newline at end of file
webpackJsonp([25],{"3pKj":function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("3pKj")},"data-v-190fc065",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([26],{W0XF:function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("W0XF")},"data-v-16100a88",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([27],{J3vB:function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(i,o,!1,function(t){e("J3vB")},"data-v-0eb00465",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([28],{SJ7l:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("Dd8w"),a=i.n(s),n=i("lRwf"),o=i.n(n),r=i("zL8q"),c=i("2CGT");o.a.component(r.CollapseTransition.name,r.CollapseTransition);var l={name:"group-list",data:function(){return{lists:[],addGroupDialog:!1,expendTxt:"展开",groupName:"",title:"新增分组名称",currentIndex:0,active:!1}},computed:{expendClass:function(){return"展开"!=this.expendTxt?"is-caret":""}},methods:{handleNoEditClassifyName:function(){this.lists=this.lists.map(function(e){return a()({},e,{edit:!1})})},handleChangeIndex:function(e,t){this.active=!1,this.currentIndex=e,this.$emit("second-list",t)},editGroupName:function(e){if(e.edit)this.modifyName(e);else{if(!this.operatorName(e))return;e.edit=!0}},deleteGroupName:function(e){var t=this;if(this.operatorName(e))return e.edit?(e.edit=!1,void this.getMemberGroupList()):void this.$confirm("删除分组名称,包括该分组下的内容,确定删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.excludeName(e)}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},excludeName:function(e){var t=this,i={requestProject:"gic-member-tag-web",memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(c.k)(i).then(function(e){1==e.errorCode&&(t.getMemberGroupList(),t.$message({type:"success",message:"删除成功!"}))})},modifyName:function(e){var t=this;if(e.classifyName){var i={requestProject:"gic-member-tag-web",classifyName:e.classifyName,memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(c.m)(i).then(function(i){1==i.errorCode&&(e.edit=!1,t.getMemberGroupList(),t.$message({type:"success",message:"修改成功",duration:2e3}))})}else this.$message({message:"分组名称不能为空!",type:"warning",duration:2e3})},operatorName:function(e){return"0"!=e.memberTagGroupClassifyId||(this.$message({message:e.classifyName+"的不能操作",type:"warning",duration:2e3}),!1)},handleGroupDialog:function(){var e=this;if(this.groupName){var t={requestProject:"gic-member-tag-web",classifyName:this.groupName};Object(c.m)(t).then(function(t){1==t.errorCode&&(e.getMemberGroupList(),e.groupName="",e.addGroupDialog=!1,e.$message({type:"success",message:"添加成功"}))})}else this.$message({type:"warning",message:"分组名称不能为空"})},getMemberGroupList:function(){var e=this;Object(c.l)({requestProject:"gic-member-tag-web"}).then(function(t){1===t.errorCode&&(e.lists=t.result.map(function(e){return a()({},e,{edit:!1})}))})},handleExpend:function(){this.expendTxt="展开"===this.expendTxt?"收起":"展开"}},beforeMount:function(){this.getMemberGroupList()}},u={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"group-list"},[i("div",{staticClass:"member-group"},[i("i",{staticClass:"icon-list el-icon-caret-top icon-transform",class:e.expendClass,on:{click:e.handleExpend}}),e._v("\n 我的会员分组\n "),i("i",{staticClass:"el-icon-plus icon-right icon-list",on:{click:function(t){e.addGroupDialog=!0}}})]),e._v(" "),i("el-collapseTransition",[i("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxt,expression:"expendTxt == '展开'"}],staticClass:"lists"},e._l(e.lists,function(t,s){return i("li",{key:s,class:["member-list",{"active-li":s==e.currentIndex}],on:{click:function(i){e.handleChangeIndex(s,t)}}},[i("span",{directives:[{name:"show",rawName:"v-show",value:!t.edit,expression:"!list.edit"}],staticClass:"name-txt",attrs:{title:t.classifyName}},[e._v(e._s(t.classifyName))]),e._v(" "),i("el-input",{directives:[{name:"show",rawName:"v-show",value:t.edit,expression:"list.edit"}],staticStyle:{width:"100px"},attrs:{size:"mini",maxLength:"10"},nativeOn:{keyup:function(i){if(!("button"in i)&&e._k(i.keyCode,"enter",13,i.key))return null;e.modifyName(t)}},model:{value:t.classifyName,callback:function(i){e.$set(t,"classifyName",i)},expression:"list.classifyName"}}),e._v(" "),"未分类"!==t.classifyName?i("div",{staticClass:"oper-area"},[i("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-dagou":"icon-bianji1"],on:{click:function(i){i.stopPropagation(),e.editGroupName(t)}}}),e._v(" "),i("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-guanbi1":"icon-guanbi"],on:{click:function(i){e.deleteGroupName(t)}}})]):e._e()],1)}))]),e._v(" "),i("el-dialog",{attrs:{title:e.title,visible:e.addGroupDialog,width:"320px",top:"30vh","close-on-click-modal":!1},on:{"update:visible":function(t){e.addGroupDialog=t}}},[i("div",[e._v("\n 分组名称:\n "),i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入分组名称",maxlength:8,clearable:""},model:{value:e.groupName,callback:function(t){e.groupName=t},expression:"groupName"}})],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.addGroupDialog=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.handleGroupDialog}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=i("VU/8")(l,u,!1,function(e){i("UZrL")},"data-v-0141d494",null);t.default=m.exports},UZrL:function(e,t){}});
\ No newline at end of file
webpackJsonp([29],{tKpj: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}});
\ No newline at end of file
webpackJsonp([30],{"9ZvA":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={name:"recommend-table",props:{data:Array},data:function(){return{tableData:[]}},watch:{data:{immediate:!0,handler:function(e){this.tableData=e}}},methods:{createMemberGroup:function(e){console.log(e)}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-table",{attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"查看详情",type:"expand",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"分组名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"describle",label:"分组描述"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.createMemberGroup(t)}}},[e._v("创建会员分组")])]}}])})],1)},staticRenderFns:[]},r=a("VU/8")(l,n,!1,null,null,null);t.default=r.exports}});
\ No newline at end of file
webpackJsonp([6],{"7jPh":function(M,L){},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01Lj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sMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},"aM+6":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var u=j("CkW6"),N=j.n(u),w={name:"page403",data:function(){return{img_403:N.a}},methods:{changeRoute:function(M){this.$router.push(M)}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this,L=M.$createElement,j=M._self._c||L;return j("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[j("div",{staticClass:"wscn-http404"},[j("div",{staticClass:"pic-404"},[j("img",{staticClass:"pic-404__parent",attrs:{src:M.img_403,alt:"403"}})]),M._v(" "),j("div",{staticClass:"bullshit"},[j("div",{staticClass:"bullshit__headline"},[M._v(M._s(M.message))]),M._v(" "),j("a",{staticClass:"bullshit__return-home",on:{click:function(L){M.changeRoute("/myTagLib")}}},[M._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("7jPh")},"data-v-7f46609b",null);L.default=C.exports}});
\ No newline at end of file
webpackJsonp([7],{CRUn:function(t,e){},Minx:function(t,e,n){t.exports=n.p+"static/img/error_404.bf58747.svg"},PRsh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n("Minx"),i=n.n(s),a={name:"page404",data:function(){return{img_404:i.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[n("div",{staticClass:"wscn-http404"},[n("div",{staticClass:"pic-404"},[n("img",{staticClass:"pic-404__parent",attrs:{src:t.img_404,alt:"404"}})]),t._v(" "),n("div",{staticClass:"bullshit"},[n("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),n("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=n("VU/8")(a,c,!1,function(t){n("CRUn")},"data-v-74f4fd53",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([8],{"/HCr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("2X9c"),i=s.n(a),n={name:"page500",data:function(){return{img_500:i.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:t.img_500,alt:"500"}})]),t._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),s("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=s("VU/8")(n,c,!1,function(t){s("LhQf")},"data-v-0de81010",null);e.default=r.exports},"2X9c":function(t,e,s){t.exports=s.p+"static/img/error_500.ed0cba4.svg"},LhQf:function(t,e){}});
\ No newline at end of file
webpackJsonp([9],{"4KSJ":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("MOmO"),s=a.n(i),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:"/myTagLib"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"errPage-container"},[a("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),a("h2"),t._v(" "),a("h6"),t._v(" "),a("ul",{staticClass:"list-unstyled"})]),t._v(" "),a("el-col",{attrs:{span:12}},[a("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),a("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=a("VU/8")(r,n,!1,function(t){a("6Zu3")},"data-v-0992e8d7",null);e.default=l.exports},"6Zu3":function(t,e){},MOmO:function(t,e,a){t.exports=a.p+"static/img/401.089007e.gif"}});
\ No newline at end of file
webpackJsonp([32],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return o}),a.d(t,"d",function(){return r}),a.d(t,"c",function(){return i});var n="login",o="logout",r="title",i="show"},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Vna/")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},GjDF:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("//Fk"),o=a.n(n),r=a("hKoQ"),i=a.n(r),u=a("Dd8w"),m=a.n(u),l=a("SJI6"),s=a.n(l),c={name:"App",data:function(){return{}},computed:m()({},Object(l.mapState)(["uniqueId"])),created:function(){this.baseUrl=window.location.origin.indexOf("localhost")>-1?"http://gicdev.demogic.com":window.location.origin,this._getUserInfo(),this.changeTab()},methods:{laout:function(){this.axios.get(this.baseUrl+"/api-auth/do-logout?requestProject=gic-member-tag-web")},_getUserInfo:function(){var e=this;this.axios.get(this.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId;""===e.uniqueId&&e.$store.commit("changeUniqueId",a)}})},changeTab:function(){var e=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&e.axios.get(e.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId;e.uniqueId!==a&&e.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请退出重新登录!","登录账号变更提示",{confirmButtonText:"退出重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){e.laout(),window.location.reload()}).catch(function(){e.laout(),window.location.reload()})}})})}}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var g,d=a("VU/8")(c,p,!1,function(e){a("GjDF")},null,null).exports,f=a("pRNm"),b=a.n(f),h=a("5tgt"),v=a.n(h),T=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},w=[{path:"/",name:"index",redirect:"member-tag",component:v()("index","index"),children:[{path:"/member-tag",name:"会员标签",component:v()("platformTag","member-tag"),meta:{title:"会员标签"}},{path:"/platformTagList",component:v()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:v()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:v()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:v()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagValueEdit",component:v()("manualTag","manual-tag-value-edit"),name:"标签值设置",meta:{title:"会员标签-标签值设置"}},{path:"/manualTagDetail",component:v()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagLib",component:v()("myTag","myTagLib"),name:"会员标签",meta:{title:"会员标签"}},{path:"/myTagList",component:v()("myTag","myTagList"),name:"我的标签库列表",meta:{title:"会员标签-我的标签库列表"}},{path:"/myTagDetail",component:v()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}}]},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:v()("memberGroup","index"),children:[{path:"/memberGroupList",component:v()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:v()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberGroupEdit",component:v()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}}]},{path:"/403",name:"无权访问",component:T},{path:"/404",name:"error404",component:T},{path:"/500",name:"error500",component:T},{path:"*",redirect:"/404",hidden:!0}],G=new b.a({mode:"history",base:"/member-tag/",routes:w,scrollBehavior:function(){return{y:0}}}),x=a("zL8q"),y=a("Rf8U"),L=a.n(y),q=a("mtWM"),j=a.n(q),k=a("bOdI"),V=a.n(k),I=a("lRwf"),P=a.n(I),D=a("5reh");P.a.use(s.a);var U=new s.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:""},mutations:(g={},V()(g,D.a,function(e,t){sessionStorage.token=t,e.token=t}),V()(g,D.b,function(e){sessionStorage.removeItem("token"),e.token=null}),V()(g,D.d,function(e,t){e.title=t}),V()(g,D.c,function(e,t){e.show=t}),V()(g,"modiftTagName",function(e,t){e.tagRealName=t}),V()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),g)}),E=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),N=a.n(E);i.a.polyfill(),Vue.use(N.a),Vue.config.devtools=!0,Vue.use(L.a,j.a),Vue.axios.defaults.withCredentials=!0,Vue.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),Vue.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:x.Message.error("服务器500")}return o.a.reject(e.response.data)}),new Vue({el:"#app",router:G,store:U,components:{App:d},template:"<App/>"})},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",9],"./errorPage/403.vue":["aM+6",6],"./errorPage/404.vue":["PRsh",7],"./errorPage/500.vue":["/HCr",8],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",12],"./linktools/linktools.vue":["Lc2x",0,22],"./linktools/linktoolsold.vue":["/8lq",0,13],"./linktools/linktoolspage.vue":["HLON",0,17],"./login/login.vue":["6Qob",0,24],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,2],"./manualTag/manualTagDetail.vue":["Tl/4",0,15],"./manualTag/manualTagEdit.vue":["308P",0,19],"./manualTag/manualTagLib.vue":["q490",0,25],"./manualTag/manualTagList.vue":["f0o3",0,20],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,28],"./memberGroup/index.vue":["Gy5W",18],"./memberGroup/memberGroupDetail.vue":["+/ey",0,5],"./memberGroup/memberGroupEdit.vue":["q0vu",0,11],"./memberGroup/memberGroupList.vue":["oVck",0,4],"./memberGroup/recommend-table.vue":["9ZvA",30],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./myTag/myTagDetail.vue":["ijla",0,14],"./myTag/myTagLib.vue":["twLH",0,26],"./myTag/myTagList.vue":["NJTp",0,21],"./platformTag/add-tag.vue":["tKpj",29],"./platformTag/member-tag.vue":["bytj",0,3],"./platformTag/platformTagDetail.vue":["KN59",0,10],"./platformTag/platformTagLib.vue":["puJc",0,27],"./platformTag/platformTagList.vue":["G/on",0,16],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,23]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
export const baseList = [
{
type: 'one',
name: '图片广告',
template: '1',
isSpace: 'Y',
imgList: [
{
imgUrl: '',
imglink: '',
crowd: ''
}
],
linkUrl: ''
},
{
type: 'two',
name: '魔方',
template: '1',
isSpace: 'Y',
imgList: [
{
imgUrl: '',
imglink: '',
crowd: ''
}
],
crowd: {
type: 'Y',
condition: ''
},
linkUrl: ''
},
{
type: 'three',
name: '文本',
content: '',
textcolor: '#333',
bgcolor: '#fff',
showPosition: '',
isSpace: 'Y',
crowd: {
type: 'Y',
condition: ''
}
},
{
type: 'four',
name: '横栏',
template: 'one',
tip: 'true',
textcolor: '#333',
bgcolor: '#fff',
imgList: [
{
label: '',
imgUrl: '',
linkUrl: '',
crowd: {
type: 'Y',
condition: ''
}
}
]
},
{
type: 'five',
name: '辅助线',
color: '#333',
margin: '10px',
style: 'solid'
},
{
type: 'six',
name: '辅助空白',
height: '10'
}
];
export const mainList = [
{
name:"进入积分", id: 1
},
{
name:"数据icon", id: 2
},
{
name:"卡券兑换", id: 3
},
{
name:"礼品兑换", id: 4
},
{
name:"订单分组", id: 5
}
];
export const mallList = [
{
name:"商品", id: 1
},
{
name:"商品分组", id: 2
},
{
name:"商品搜索", id: 3
}
];
export const saleList = [
{
name:"优惠券", id: 1
},
{
name:"拼团", id: 2
},
{
name:"周期购", id: 3
},
{
name:"限时折扣", id: 4
},
{
name:"秒杀", id: 5
},
{
name:"预售", id: 6
}
];
import { Message } from 'element-ui'
export function checkFalse(message) {
if(message) {
Message.warning(message);
return false
}else{
Message.warning('操作失败');
}
return false;
}
export function checkSuccess(message) {
if(message) {
Message.success(message);
}else{
Message.success('操作成功');
}
}
export function checkStatus(err) {
if(err == 'cancel') {
Message.info(err || 'cancel');
return false;
}else if(err.hasOwnProperty('response')){
if(err.response.status == 401) {
Message.error('登录过期');
return false;
}else if(err.response.status == 500){
Message.error('服务器错误500');
return false;
}
}else {
// Message.error(err);
return false;
}
}
/*设置cookie*/
export function setCookie(c_name,value,expire) {
var date=new Date();
date.setSeconds(date.getSeconds()+expire);
document.cookie = c_name + "="+ encodeURI(value)+"; expires="+date.toGMTString();
}
/*获取cookie*/
export function getCookie(c_name){
if(document.cookie.length>0){
var name = encodeURI(c_name);
var allcookies = document.cookie;
name += "=";
var pos = allcookies.indexOf(name);
if(pos != -1){
var start = pos + name.length;
var end = allcookies.indexOf(";",start);
if(end == -1){
end = allcookies.length;
}
var value = allcookies.substring(start,end);
return decodeURI(value);
} else{
return "";
}
}
}
/*删除cookie*/
export function delCookie(c_name){
setCookie(c_name, "", -1);
}
(function () {
function CanvasAnimate(Dom,options){
options = options || {};
this.Element = Dom;
this.cvs = Dom.getContext("2d");
this.off_cvs = document.createElement("canvas");
this.off_cvs.width = Dom.width;
this.off_cvs.height = Dom.height;
this.Dom = this.off_cvs.getContext("2d");
this.width = Dom.width;
this.height = Dom.height;
this.length = options.length || 100;
this.RoundColor = options.RoundColor || "#999";
this.RoundDiameter = options.RoundDiameter || 2;
this.LineColor = options.LineColor || "#ccc";
this.LineWeight = options.LineWeight || 1;
this.clicked = options.clicked || false;
this.moveon = options.moveon || false;
this.list = [];
this.paused = true
}
CanvasAnimate.prototype.Run = function(){
if( this.clicked ){
this.Element.addEventListener( "click",this.Clicked.bind(this) )
}
if( this.moveon ){
this.Element.addEventListener( "mousemove",this.moveXY.bind(this) );
this.Element.addEventListener( "mouseout",this.moveoutXY.bind(this) )
}
this.Draw( this.getLength() )
};
CanvasAnimate.prototype.getLength=function(){
let arr = [];
for(let i=0;i< this.length ;i++){
let obj = {};
obj.x = parseInt( Math.random() * this.width );
obj.y = parseInt( Math.random() * this.height );
obj.r = parseInt( Math.random()*2 );
obj.controlX = parseInt( Math.random()*10 ) > 5 ? "left":"right";
obj.controlY = parseInt( Math.random()*10 ) > 5 ? "bottom":"top";
arr.push(obj)
}
return arr
};
CanvasAnimate.prototype.Draw = function(list){
let new_arr = [];
let line_arr = [];
list.map((item,index)=>{
let xy = this.ControlXY(item);
let obj = this.ControlRound(xy);
new_arr.push( obj )
});
new_arr.map((item1,index1)=>{
new_arr.map((item2,index2)=>{
if(item1 !== item2){
let x = item1.x - item2.x;
let y = item1.y - item2.y;
if( Math.abs(x)< 100 && Math.abs(y)<100 ){
let obj = {
x1:item1.x,
y1:item1.y,
x2:item2.x,
y2:item2.y,
};
line_arr.push(obj)
}
}
})
});
this.drawLine(line_arr);
new_arr.map((item)=>{
this.drawRound(item)
});
this.list = new_arr;
this.cvs.drawImage(this.off_cvs,0,0,this.width,this.height);
setTimeout(()=>{
if(this.paused){
this.next()
}
},60)
};
CanvasAnimate.prototype.next = function(){
this.cvs.clearRect( 0,0,this.width,this.height );
this.Dom.clearRect( 0,0,this.width,this.height );
this.Draw( this.list )
};
CanvasAnimate.prototype.drawRound = function(obj){
let {x,y,r} = obj;
this.Dom.beginPath();
this.Dom.arc( x,y,r, 0, 2*Math.PI );
this.Dom.fillStyle = this.RoundColor;
this.Dom.fill();
this.Dom.closePath()
};
CanvasAnimate.prototype.drawLine = function(list){
list.map( (item)=>{
this.Dom.beginPath();
this.Dom.moveTo( item.x1,item.y1 );
this.Dom.lineTo( item.x2,item.y2 );
this.Dom.lineWidth = this.LineWeight;
this.Dom.strokeStyle = this.LineColor;
this.Dom.stroke();
this.Dom.closePath();
})
};
CanvasAnimate.prototype.ControlXY = function(obj){
if(obj.x >= (this.width - obj.r) ){
obj.controlX = 'left'
}else if( obj.x <= parseInt(obj.r/2) ){
obj.controlX = "right"
}
if( obj.y >= (this.height - obj.r) ){
obj.controlY = "bottom"
}else if( obj.y <= parseInt(obj.r/2) ){
obj.controlY = "top"
}
return obj
}
CanvasAnimate.prototype.ControlRound = function(obj){
switch(obj.controlX){
case "right":
obj.x++;
break;
case "left":
obj.x--;
break;
}
switch(obj.controlY){
case "top":
obj.y++;
break;
case "bottom":
obj.y--;
break;
}
return obj
};
CanvasAnimate.prototype.Clicked = function(event){
let obj = {};
obj.x = event.clientX;
obj.y = event.clientY;
obj.r = parseInt( Math.random()*10 );
obj.controlX = parseInt( Math.random()*10 ) > 5 ? 'left' :'right';
obj.controlY = parseInt( Math.random()*10 ) > 5 ? 'bottom' :'top';
this.list.push(obj)
};
CanvasAnimate.prototype.moveXY = function(event){
let obj = {};
obj.x = event.clientX;
obj.y = event.clientY;
obj.r = 0;
obj.move = true;
if( this.list[0]["move"] ){
this.list[0]["x"] = obj.x;
this.list[0]["y"] = obj.y;
this.list[0]["r"] = 1
}else{
this.list.unshift(obj)
}
};
CanvasAnimate.prototype.moveoutXY = function(event){
this.list.shift()
};
CanvasAnimate.prototype.pause = function(){
this.paused = !this.paused;
if( this.paused){
this.Draw(this.list)
}
};
window.LoginAnimate = CanvasAnimate;
})();
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,t,a){for(var o,d,b,i=0,u=[];i<f.length;i++)d=f[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(c&&c(f,t,a);u.length;)u.shift()();if(a)for(i=0;i<a.length;i++)b=r(r.s=a[i]);return b};var f={},n={33:0};function r(c){if(f[c])return f[c].exports;var n=f[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,r){c=n[e]=[f,r]});c[2]=f;var t=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,r.nc&&a.setAttribute("nonce",r.nc),a.src=r.p+"static/js/"+e+"."+{0:"ac33b9fd7278810669ef",1:"1a66f3452cb905b67755",2:"f15e3730afe5f0ba7adb",3:"bc5d514d86b2c4403097",4:"fe10700a0dc4396d6fb6",5:"f892e974c5b02a219721",6:"31eb51419dea97959645",7:"f169140cbd6ad9f5611c",8:"fe61efcd1ccfc3412252",9:"ea583eedf0e8e01807bd",10:"49dc4ce10dca172e66e9",11:"97c54692f1a8adbe99aa",12:"ff49b3face62ef7aef5f",13:"5ff52df0201b9234fa89",14:"698cfa21b2f783438c71",15:"d92460353eb3e0bb9bf6",16:"77043b18784ab0e7f74a",17:"b43a253e53779917cbec",18:"9022ea0326694df97cda",19:"36498fad6302c020d85b",20:"0fef167461d750bfe493",21:"9552d108595ed6cf8df5",22:"61bb63c1296b6c9972a5",23:"c24a9f56d0040598512c",24:"590887b93345814f00ef",25:"fbc9d87dd52c837c39be",26:"c5f9e5a4bc2c63938b70",27:"2c48b10d124016d57c0b",28:"f5fc73b651e29d17f74d",29:"ed4b43f3d8456f7bd36e",30:"5d1cb1b10c82fdeede4d"}[e]+".js";var o=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(o);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return a.onerror=a.onload=d,t.appendChild(a),f},r.m=e,r.c=f,r.d=function(e,c,f){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
File added
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-11-12 10:18:30
* @LastEditors: 无尘
* @LastEditTime: 2019-11-12 11:40:42
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="./favicon.ico"/>
<title>分享有礼</title>
<!-- <script type='text/javascript'>
!function(e,t,n,g,i){e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},n=t.createElement("script"),tag=t.getElementsByTagName("script")[0],n.async=1,n.src=('https:'==document.location.protocol?'https://':'http://')+g,tag.parentNode.insertBefore(n,tag)}(window,document,"script","assets.giocdn.com/2.1/gio.js","gio");
gio('init','8be12240a3749eab', {});
gio('send');
</script> -->
</head>
<body style="background-color: #f0f2f5;min-width: 1400px;">
<div id="app"></div>
<!-- 公共库引用 cdn -->
<script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js"></script>
<!-- 公共组件引用 cdn -->
<script src="//web-1251519181.file.myqcloud.com/components/header.2.0.33.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/footer.2.0.03.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/people.2.0.38.js"></script>
<!-- <script src="//web-1251519181.file.myqcloud.com/components/datepicker.2.0.00.js"></script> -->
<script src="//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/card.2.0.02.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js"></script>
</body>
</html>
{
"name": "shareconfig",
"version": "1.0.1",
"description": "A Vue.js project",
"author": "fairyly-498745097@qq.com",
"private": false,
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"build": "node build/build.js",
"format": "onchange 'test/**/*.js' 'src/**/*.js' 'src/**/*.vue' -- prettier --write {{changed}}",
"formater": "onchange \"test/**/*.js\" \"src/**/*.js\" \"src/**/*.vue\" -- prettier --write {{changed}}",
"version": "conventional-changelog -p angular -i changelog.md -s -r 0 && git add changelog.md"
},
"dependencies": {
"echarts": "^4.4.0",
"element-ui": "^2.12.0",
"file-saver": "^1.3.8",
"tinymce": "^4.8.3",
"v-charts": "^1.19.0",
"vue": "^2.6.10",
"vue-clipboard2": "^0.2.0",
"vue-loader": "^13.7.3",
"vue-router": "^3.0.1",
"xlsx": "^0.13.5"
},
"devDependencies": {
"@antv/data-set": "^0.8.9",
"@antv/g2": "^3.1.0",
"@gic-test/vue-gic-datepicker": "^1.3.8",
"@riophae/vue-treeselect": "0.0.29",
"@tinymce/tinymce-vue": "^1.0.8",
"autoprefixer": "^7.1.2",
"axios": "^0.18.0",
"babel-core": "^6.22.1",
"babel-eslint": "^8.2.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^7.1.1",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-plugin-transform-vue-jsx": "^3.5.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.3.2",
"babel-preset-stage-2": "^6.22.0",
"chalk": "^2.0.1",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.11",
"es6-promise": "^4.2.6",
"eslint": "^4.15.0",
"eslint-config-prettier": "^4.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.1.2",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-vue": "^5.2.2",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.4",
"friendly-errors-webpack-plugin": "^1.6.1",
"html-webpack-plugin": "^2.30.1",
"less": "^3.0.4",
"less-loader": "^4.1.0",
"node-notifier": "^5.1.2",
"node-sass": "^4.13.0",
"onchange": "^5.2.0",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"ora": "^1.2.0",
"portfinder": "^1.0.13",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.8",
"postcss-url": "^7.2.1",
"prettier": "^1.16.4",
"rimraf": "^2.6.0",
"sass-loader": "^7.0.1",
"script-loader": "^0.7.2",
"semver": "^5.3.0",
"shelljs": "^0.7.6",
"uglifyjs-webpack-plugin": "^1.1.1",
"url-loader": "^0.5.8",
"vue-axios": "^2.1.1",
"vue-loader": "^13.3.0",
"vue-style-loader": "^3.0.1",
"vue-template-compiler": "^2.6.10",
"vuedraggable": "^2.16.0",
"vuex": "^3.0.1",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.9.1",
"webpack-merge": "^4.1.0"
},
"engines": {
"node": ">= 6.0.0",
"npm": ">= 3.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
]
}
<template>
<div id="app">
<transition name="fade" mode="out-in">
<router-view></router-view>
</transition>
</div>
</template>
<script>
import { mapState } from 'vuex';
export default {
name: 'App',
data() {
return {};
},
computed: {
...mapState([
'uniqueId'
]),
},
created() {
this.baseUrl = window.location.origin.indexOf('localhost') > -1 ? 'http://gicdev.demogic.com' : window.location.origin;
this._getUserInfo();
this.changeTab();
},
methods: {
laout() {
this.axios.get(`${this.baseUrl}/api-auth/do-logout?requestProject=gic-member-tag-web`);
},
_getUserInfo() {
this.axios.get(`${this.baseUrl}/api-auth/get-login-user-info?requestProject=gic-member-tag-web`).then((res) => {
if (res.data.errorCode == 0) {
const uId = res.data.result && res.data.result.userId;
if (this.uniqueId === '') {
this.$store.commit('changeUniqueId', uId);
}
}
});
},
changeTab() {
document.addEventListener("visibilitychange", () => {
// 表示切换过来去查uid跟当前uid对比
if (document.visibilityState === 'visible') {
this.axios.get(`${this.baseUrl}/api-auth/get-login-user-info?requestProject=gic-member-tag-web`).then(res => {
if (res.data.errorCode == 0) {
const uId = res.data.result && res.data.result.userId;
// 两次的uId不等 表示账号有冲突
if (this.uniqueId !== uId) {
this.$confirm('当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请退出重新登录!', '登录账号变更提示', {
confirmButtonText: '退出重新登录',
cancelButtonText: '刷新页面',
type: 'error'
}).then(() => {
this.laout();
window.location.reload();
}).catch(() => {
this.laout();
window.location.reload();
});
}
}
});
}
});
}
}
};
</script>
<style></style>
import Vue from 'vue';
// import axios from 'axios';
import qs from 'qs';
import { Message } from 'element-ui';
Vue.axios.defaults.timeout = 25000;
let local = window.location.origin;
if (local.indexOf('localhost') != -1) {
local = 'http://gicdev.demogic.com';
}
Vue.axios.interceptors.request.use(
config => {
return config;
},
err => {
Message.error({ message: '请求超时!' });
return Promise.resolve(err);
}
);
Vue.axios.interceptors.response.use(
data => {
if (data.status && data.status == 200 && data.data.errorCode == '401') {
Message.error({ message: data.data.message });
window.location.href = local + '/gic-web/#/';
return;
}
return data;
},
err => {
// Message.error({message: err.response.message});
if (err.response.status == 504 || err.response.status == 404) {
// window.location.href= local + "/gic-web/#/"
Message.error({ message: '服务异常⊙﹏⊙∥' });
} else if (err.response.status == 403) {
window.location.href = local + '/gic-web/#/';
// Message.error({message: '权限不足,请联系管理员!'});
} else {
window.location.href = local + '/gic-web/#/';
// Message.error({message: '未知错误!'});
}
return Promise.resolve(err);
}
);
// let base = local + '/gicweb/cloudweb/';
// const timeout = 15000;
// let token = ''; //sessionStorage.getItem('user');
/*
*
* 统一 get 请求方法
* @url: 请求的 url
* @params: 请求带的参数
* @header: 带 token
*
*/
export const getRequest = (url, params) => {
params.requestProject = 'member-tag';
return Vue.axios({
method: 'get',
url: `${local}/gic-member-tag-web${url}`,
data: {},
params: params,
headers: { 'content-type': 'application/x-www-form-urlencoded' } // "token": token
});
};
/*
*
* 统一 post 请求方法
* url: 请求的 url
* @params: 请求带的参数
* @header: 带 token
*
*/
export const postRequest = (url, params) => {
params.requestProject = 'member-tag';
return Vue.axios({
method: 'post',
url: `${local}/gic-member-tag-web${url}`,
data: qs.stringify(params),
headers: { 'content-type': 'application/x-www-form-urlencoded' } //multipart/form-data{"token": token}
});
};
export const postJsonRequest = (url, params) => {
params.requestProject = 'member-tag';
return Vue.axios({
method: 'post',
url: `${local}/gic-member-tag-web${url}`,
data: '{}',
params: params,
headers: { 'Content-Type': 'application/json;charset=UTF-8' } //multipart/form-data{"token": token}
});
};
/*
* method: 'post'
* 'Content-Type': 'application/json;charset=UTF-8'
* @data: params
* @requestProject: 'member-tag'
*
*/
export const postJson = (url, params) => {
// params.requestProject = "member-tag";
return Vue.axios({
method: 'post',
url: `${local}/gic-member-tag-web${url}`,
data: params,
params: { requestProject: 'member-tag' },
// withCredentials: true,
// credentials: 'same-origin',
headers: { 'Content-Type': 'application/json;charset=UTF-8' } //multipart/form-data{"token": token}
});
};
/*
* method: 'post'
* data: params
*
*/
export const postForm = (url, params) => {
params.requestProject = 'member-tag';
return Vue.axios({
method: 'post',
url: `${local}/gic-member-tag-web${url}`,
data: params,
headers: {} //'content-type': 'application/x-www-form-urlencoded'multipart/form-data{"token": token}
});
};
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 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 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.
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