运行项目
This commit is contained in:
parent
73081077d3
commit
6f3869f75f
|
|
@ -4,5 +4,5 @@ const prodEnv = require('./prod.env')
|
||||||
|
|
||||||
module.exports = merge(prodEnv, {
|
module.exports = merge(prodEnv, {
|
||||||
NODE_ENV: '"development"',
|
NODE_ENV: '"development"',
|
||||||
OPEN_PROXY: true // 是否开启代理, 重置后需重启vue-cli
|
OPEN_PROXY: false // 是否开启代理, 重置后需重启vue-cli
|
||||||
})
|
})
|
||||||
|
|
|
||||||
124
gulpfile.js
124
gulpfile.js
|
|
@ -1,66 +1,102 @@
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp')
|
||||||
var $ = require('gulp-load-plugins')();
|
var $ = require('gulp-load-plugins')()
|
||||||
var path = require('path');
|
var path = require('path')
|
||||||
var del = require('del');
|
var del = require('del')
|
||||||
|
|
||||||
var distPath = path.resolve('./dist');
|
var distPath = path.resolve('./dist')
|
||||||
var version = ''; // 版本号
|
var version = '' // 版本号
|
||||||
var versionPath = ''; // 版本号路径
|
var versionPath = '' // 版本号路径
|
||||||
var env = ''; // 运行环境
|
var env = ''; // 运行环境
|
||||||
|
|
||||||
// 创建版本号(年月日时分)
|
// 创建版本号(年月日时分)
|
||||||
(function () {
|
(function () {
|
||||||
var d = new Date();
|
var d = new Date()
|
||||||
var yy = d.getFullYear().toString().slice(2);
|
var yy = d.getFullYear().toString().slice(2)
|
||||||
var MM = d.getMonth() + 1 >= 10 ? (d.getMonth() + 1) : '0' + (d.getMonth() + 1);
|
var MM = d.getMonth() + 1 >= 10 ? (d.getMonth() + 1) : '0' + (d.getMonth() + 1)
|
||||||
var DD = d.getDate() >= 10 ? d.getDate() : '0' + d.getDate();
|
var DD = d.getDate() >= 10 ? d.getDate() : '0' + d.getDate()
|
||||||
var h = d.getHours() >= 10 ? d.getHours() : '0' + d.getHours();
|
var h = d.getHours() >= 10 ? d.getHours() : '0' + d.getHours()
|
||||||
var mm = d.getMinutes() >= 10 ? d.getMinutes() : '0' + d.getMinutes();
|
var mm = d.getMinutes() >= 10 ? d.getMinutes() : '0' + d.getMinutes()
|
||||||
version = yy + MM + DD + h + mm;
|
version = yy + MM + DD + h + mm
|
||||||
versionPath = distPath + '/' + version;
|
versionPath = distPath + '/' + version
|
||||||
})();
|
})()
|
||||||
|
|
||||||
// 编译
|
// 编译
|
||||||
gulp.task('build', $.shell.task([ 'node build/build.js' ]));
|
gulp.task('build', $.shell.task(['node build/build.js']))
|
||||||
|
|
||||||
// 创建版本号目录
|
// 创建版本号目录
|
||||||
gulp.task('create:versionCatalog', ['build'], function () {
|
gulp.task('create:versionCatalog', gulp.series('build', function () {
|
||||||
return gulp.src(`${distPath}/static/**/*`)
|
return gulp.src(`${distPath}/static/**/*`)
|
||||||
.pipe(gulp.dest(`${versionPath}/static/`))
|
.pipe(gulp.dest(`${versionPath}/static/`))
|
||||||
});
|
}))
|
||||||
|
|
||||||
// 替换${versionPath}/static/js/manifest.js window.SITE_CONFIG.cdnUrl占位变量
|
// 替换${versionPath}/static/js/manifest.js window.SITE_CONFIG.cdnUrl占位变量
|
||||||
gulp.task('replace:cdnUrl', ['create:versionCatalog'], function () {
|
gulp.task('replace:cdnUrl', gulp.series('create:versionCatalog', function () {
|
||||||
return gulp.src(`${versionPath}/static/js/manifest.js`)
|
return gulp.src(`${versionPath}/static/js/manifest.js`)
|
||||||
.pipe($.replace(new RegExp(`"${require('./config').build.assetsPublicPath}"`, 'g'), 'window.SITE_CONFIG.cdnUrl + "/"'))
|
.pipe($.replace(new RegExp(`"${require('./config').build.assetsPublicPath}"`, 'g'), 'window.SITE_CONFIG.cdnUrl + "/"'))
|
||||||
.pipe(gulp.dest(`${versionPath}/static/js/`))
|
.pipe(gulp.dest(`${versionPath}/static/js/`))
|
||||||
});
|
}))
|
||||||
|
|
||||||
// 替换${versionPath}/static/config/index-${env}.js window.SITE_CONFIG['version']配置变量
|
// 替换${versionPath}/static/config/index-${env}.js window.SITE_CONFIG['version']配置变量
|
||||||
gulp.task('replace:version', ['create:versionCatalog'], function () {
|
gulp.task('replace:version', gulp.series('create:versionCatalog', function () {
|
||||||
return gulp.src(`${versionPath}/static/config/index-${env}.js`)
|
return gulp.src(`${versionPath}/static/config/index-${env}.js`)
|
||||||
.pipe($.replace(/window.SITE_CONFIG\['version'\] = '.*'/g, `window.SITE_CONFIG['version'] = '${version}'`))
|
.pipe($.replace(/window.SITE_CONFIG\['version'\] = '.*'/g, `window.SITE_CONFIG['version'] = '${version}'`))
|
||||||
.pipe(gulp.dest(`${versionPath}/static/config/`))
|
.pipe(gulp.dest(`${versionPath}/static/config/`))
|
||||||
});
|
}))
|
||||||
|
|
||||||
// 合并${versionPath}/static/config/[index-${env}, init].js 至 ${distPath}/config/index.js
|
// 合并${versionPath}/static/config/[index-${env}, init].js 至 ${distPath}/config/index.js
|
||||||
gulp.task('concat:config', ['replace:version'], function () {
|
gulp.task('concat:config', gulp.series('replace:version', function () {
|
||||||
return gulp.src([`${versionPath}/static/config/index-${env}.js`, `${versionPath}/static/config/init.js`])
|
return gulp.src([`${versionPath}/static/config/index-${env}.js`, `${versionPath}/static/config/init.js`])
|
||||||
.pipe($.concat('index.js'))
|
.pipe($.concat('index.js'))
|
||||||
.pipe(gulp.dest(`${distPath}/config/`))
|
.pipe(gulp.dest(`${distPath}/config/`))
|
||||||
});
|
}))
|
||||||
|
|
||||||
// 清空
|
// 清空文件历史
|
||||||
gulp.task('clean', function () {
|
gulp.task('clean', function () {
|
||||||
return del([versionPath])
|
console.log('--clean--')
|
||||||
});
|
// del([`${distPath}/static`, `${versionPath}/static/config`]);
|
||||||
|
// return del([versionPath])
|
||||||
|
return del([`${distPath}`])
|
||||||
|
})
|
||||||
|
|
||||||
gulp.task('default', ['clean'], function () {
|
gulp.task('build-end', function () {
|
||||||
|
console.log('--builed-end--')
|
||||||
|
// del([`${distPath}/static`, `${versionPath}/static/config`]);
|
||||||
|
return del([`${distPath}/static`, `${versionPath}/static/config`]);
|
||||||
|
})
|
||||||
|
|
||||||
|
env = process.env.npm_config_qa ? 'qa' : process.env.npm_config_uat ? 'uat' : 'prod'
|
||||||
|
|
||||||
|
gulp.task('default',
|
||||||
|
gulp.series('clean',
|
||||||
|
gulp.parallel('create:versionCatalog', 'replace:cdnUrl', 'replace:version', 'concat:config'),
|
||||||
|
'build','build-end')
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* gulp.task('default', gulp.series('clean', function (done) {
|
||||||
// 获取环境配置
|
// 获取环境配置
|
||||||
env = process.env.npm_config_qa ? 'qa' : process.env.npm_config_uat ? 'uat' : 'prod'
|
env = process.env.npm_config_qa ? 'qa' : process.env.npm_config_uat ? 'uat' : 'prod'
|
||||||
// 开始打包编译
|
// 开始打包编译
|
||||||
gulp.start(['build', 'create:versionCatalog', 'replace:cdnUrl', 'replace:version', 'concat:config'], function () {
|
// 开始打包编译
|
||||||
|
gulp.task('default', gulp.series('build','create:versionCatalog', 'replace:cdnUrl', 'replace:version', 'concat:config', function (done) {
|
||||||
// 清除, 编译 / 处理项目中产生的文件
|
// 清除, 编译 / 处理项目中产生的文件
|
||||||
del([`${distPath}/static`, `${versionPath}/static/config`])
|
del([`${distPath}/static`, `${versionPath}/static/config`])
|
||||||
})
|
done();
|
||||||
});
|
}))
|
||||||
|
})); */
|
||||||
|
|
||||||
|
/*
|
||||||
|
gulp.task('default', gulp.series('clean', function (done) {
|
||||||
|
// 获取环境配置
|
||||||
|
env = process.env.npm_config_qa ? 'qa' : process.env.npm_config_uat ? 'uat' : 'prod'
|
||||||
|
// 开始打包编译
|
||||||
|
// 开始打包编译
|
||||||
|
gulp.task('default', gulp.series('build','create:versionCatalog', 'replace:cdnUrl', 'replace:version', 'concat:config', function (done) {
|
||||||
|
// 清除, 编译 / 处理项目中产生的文件
|
||||||
|
del([`${distPath}/static`, `${versionPath}/static/config`])
|
||||||
|
done();
|
||||||
|
}))
|
||||||
|
}));
|
||||||
|
*/
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
212
package.json
212
package.json
|
|
@ -1,108 +1,108 @@
|
||||||
{
|
{
|
||||||
"name": "sz-fast-vue",
|
"name": "sqx",
|
||||||
"version": "1.2.2",
|
"version": "1.2.2",
|
||||||
"description": "sz-fast-vue基于vue、element-ui构建开发,实现sz-fast后台管理前端功能,提供一套更优的前端解决方案。",
|
"author": "maxd",
|
||||||
"author": "daxiong.yang <daxiong.yang@qq.com>",
|
"private": true,
|
||||||
"private": true,
|
"scripts": {
|
||||||
"scripts": {
|
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
||||||
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
"start": "npm run dev",
|
||||||
"start": "npm run dev",
|
"unit": "jest --config test/unit/jest.conf.js --coverage",
|
||||||
"unit": "jest --config test/unit/jest.conf.js --coverage",
|
"e2e": "node test/e2e/runner.js",
|
||||||
"e2e": "node test/e2e/runner.js",
|
"test": "npm run unit && npm run e2e",
|
||||||
"test": "npm run unit && npm run e2e",
|
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
|
||||||
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
|
"build": "gulp"
|
||||||
"build": "gulp"
|
},
|
||||||
},
|
"dependencies": {
|
||||||
"dependencies": {
|
"axios": "0.17.1",
|
||||||
"axios": "^0.17.1",
|
"babel-plugin-component": "0.10.1",
|
||||||
"babel-plugin-component": "0.10.1",
|
"babel-polyfill": "6.26.0",
|
||||||
"babel-polyfill": "6.26.0",
|
"echarts": "^5.5.1",
|
||||||
"echarts": "^5.5.0",
|
"element-china-area-data": "^5.0.2",
|
||||||
"element-china-area-data": "^5.0.2",
|
"element-ui": "2.8.2",
|
||||||
"element-ui": "2.8.2",
|
"fs": "0.0.1-security",
|
||||||
"fs": "0.0.1-security",
|
"gulp-concat": "2.6.1",
|
||||||
"gulp": "3.9.1",
|
"gulp-load-plugins": "1.5.0",
|
||||||
"gulp-concat": "2.6.1",
|
"gulp-replace": "0.6.1",
|
||||||
"gulp-load-plugins": "1.5.0",
|
"hls.js": "^1.5.17",
|
||||||
"gulp-replace": "0.6.1",
|
"lodash": "4.17.5",
|
||||||
"gulp-shell": "0.6.5",
|
"mockjs": "^1.1.0",
|
||||||
"hls.js": "^1.4.12",
|
"npm": "^6.9.0",
|
||||||
"lodash": "4.17.5",
|
"sass-loader": "6.0.6",
|
||||||
"npm": "^6.9.0",
|
"svg-sprite-loader": "3.7.3",
|
||||||
"sass-loader": "6.0.6",
|
"video.js": "^8.20.0",
|
||||||
"svg-sprite-loader": "3.7.3",
|
"videojs-contrib-hls": "^5.15.0",
|
||||||
"video.js": "^8.5.2",
|
"vue": "2.5.16",
|
||||||
"videojs-contrib-hls": "^5.15.0",
|
"vue-baidu-map": "^0.21.22",
|
||||||
"vue": "2.5.16",
|
"vue-cookie": "1.1.4",
|
||||||
"vue-baidu-map": "^0.21.22",
|
"vue-jsonp": "^2.0.0",
|
||||||
"vue-cookie": "1.1.4",
|
"vue-quill-editor": "^3.0.6",
|
||||||
"vue-jsonp": "^2.0.0",
|
"vue-router": "3.0.1",
|
||||||
"vue-quill-editor": "^3.0.6",
|
"vuex": "3.0.1"
|
||||||
"vue-router": "3.0.1",
|
},
|
||||||
"vuex": "3.0.1"
|
"devDependencies": {
|
||||||
},
|
"autoprefixer": "7.1.2",
|
||||||
"devDependencies": {
|
"babel-core": "6.22.1",
|
||||||
"autoprefixer": "7.1.2",
|
"babel-eslint": "7.1.1",
|
||||||
"babel-core": "6.22.1",
|
"babel-jest": "21.0.2",
|
||||||
"babel-eslint": "7.1.1",
|
"babel-loader": "7.1.1",
|
||||||
"babel-jest": "21.0.2",
|
"babel-plugin-dynamic-import-node": "1.2.0",
|
||||||
"babel-loader": "7.1.1",
|
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
|
||||||
"babel-plugin-dynamic-import-node": "1.2.0",
|
"babel-plugin-transform-runtime": "6.22.0",
|
||||||
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
|
"babel-preset-env": "1.3.2",
|
||||||
"babel-plugin-transform-runtime": "6.22.0",
|
"babel-preset-stage-2": "6.22.0",
|
||||||
"babel-preset-env": "1.3.2",
|
"babel-register": "6.22.0",
|
||||||
"babel-preset-stage-2": "6.22.0",
|
"chalk": "2.3.0",
|
||||||
"babel-register": "6.22.0",
|
"copy-webpack-plugin": "4.0.1",
|
||||||
"chalk": "2.3.0",
|
"cross-spawn": "5.0.1",
|
||||||
"copy-webpack-plugin": "4.0.1",
|
"css-loader": "0.28.0",
|
||||||
"cross-spawn": "5.0.1",
|
"eslint": "3.19.0",
|
||||||
"css-loader": "0.28.0",
|
"eslint-config-standard": "10.2.1",
|
||||||
"eslint": "3.19.0",
|
"eslint-friendly-formatter": "3.0.0",
|
||||||
"eslint-config-standard": "10.2.1",
|
"eslint-loader": "1.7.1",
|
||||||
"eslint-friendly-formatter": "3.0.0",
|
"eslint-plugin-html": "3.0.0",
|
||||||
"eslint-loader": "1.7.1",
|
"eslint-plugin-import": "2.7.0",
|
||||||
"eslint-plugin-html": "3.0.0",
|
"eslint-plugin-node": "5.2.0",
|
||||||
"eslint-plugin-import": "2.7.0",
|
"eslint-plugin-promise": "3.5.0",
|
||||||
"eslint-plugin-node": "5.2.0",
|
"eslint-plugin-standard": "3.0.1",
|
||||||
"eslint-plugin-promise": "3.5.0",
|
"eventsource-polyfill": "0.9.6",
|
||||||
"eslint-plugin-standard": "3.0.1",
|
"extract-text-webpack-plugin": "^3.0.2",
|
||||||
"eventsource-polyfill": "0.9.6",
|
"file-loader": "1.1.4",
|
||||||
"extract-text-webpack-plugin": "3.0.0",
|
"friendly-errors-webpack-plugin": "1.6.1",
|
||||||
"file-loader": "1.1.4",
|
"gulp": "^4.0.2",
|
||||||
"friendly-errors-webpack-plugin": "1.6.1",
|
"gulp-shell": "^0.6.5",
|
||||||
"html-webpack-plugin": "2.30.1",
|
"html-webpack-plugin": "2.30.1",
|
||||||
"jest": "21.2.0",
|
"jest": "21.2.0",
|
||||||
"jest-serializer-vue": "0.3.0",
|
"jest-serializer-vue": "0.3.0",
|
||||||
"nightwatch": "0.9.12",
|
"nightwatch": "0.9.12",
|
||||||
"node-notifier": "5.1.2",
|
"node-notifier": "5.1.2",
|
||||||
"node-sass": "^4.14.1",
|
"node-sass": "^4.14.1",
|
||||||
"optimize-css-assets-webpack-plugin": "3.2.0",
|
"optimize-css-assets-webpack-plugin": "3.2.0",
|
||||||
"ora": "1.2.0",
|
"ora": "1.2.0",
|
||||||
"portfinder": "1.0.13",
|
"portfinder": "1.0.13",
|
||||||
"postcss-import": "11.0.0",
|
"postcss-import": "11.0.0",
|
||||||
"postcss-loader": "2.0.8",
|
"postcss-loader": "2.0.8",
|
||||||
"rimraf": "2.6.0",
|
"rimraf": "2.6.0",
|
||||||
"selenium-server": "3.0.1",
|
"selenium-server": "3.0.1",
|
||||||
"semver": "5.3.0",
|
"semver": "5.3.0",
|
||||||
"shelljs": "0.7.6",
|
"shelljs": "0.7.6",
|
||||||
"uglifyjs-webpack-plugin": "1.1.1",
|
"uglifyjs-webpack-plugin": "1.1.1",
|
||||||
"url-loader": "0.5.8",
|
"url-loader": "0.5.8",
|
||||||
"vue-jest": "1.0.2",
|
"vue-jest": "1.0.2",
|
||||||
"vue-loader": "13.3.0",
|
"vue-loader": "13.3.0",
|
||||||
"vue-style-loader": "3.0.1",
|
"vue-style-loader": "3.0.1",
|
||||||
"vue-template-compiler": "2.5.16",
|
"vue-template-compiler": "2.5.16",
|
||||||
"webpack": "3.6.0",
|
"webpack": "3.6.0",
|
||||||
"webpack-bundle-analyzer": "2.9.0",
|
"webpack-bundle-analyzer": "2.9.0",
|
||||||
"webpack-dev-server": "2.9.1",
|
"webpack-dev-server": "^2.9.7",
|
||||||
"webpack-merge": "4.1.0"
|
"webpack-merge": "4.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 8.11.1",
|
"node": ">= 8.11.1",
|
||||||
"npm": ">= 5.6.0"
|
"npm": ">= 5.6.0"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 1%",
|
"> 1%",
|
||||||
"last 2 versions",
|
"last 2 versions",
|
||||||
"not ie <= 8"
|
"not ie <= 8"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ http.adornUrl = (actionName) => {
|
||||||
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
||||||
// return 'http://192.168.0.132:8100/sqx_fast/' + actionName
|
// return 'http://192.168.0.132:8100/sqx_fast/' + actionName
|
||||||
// return 'https://duanjuadmin.xianmxkj.com/sqx_fast/' + actionName
|
// return 'https://duanjuadmin.xianmxkj.com/sqx_fast/' + actionName
|
||||||
return '/sqx_fast/' + actionName
|
return 'https://video.hnsiyao.cn/sqx_fast/' + actionName
|
||||||
|
|
||||||
}
|
}
|
||||||
http.adornUrlUp = (actionName) => {
|
http.adornUrlUp = (actionName) => {
|
||||||
|
|
@ -53,7 +53,7 @@ http.adornUrlUp = (actionName) => {
|
||||||
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
||||||
// return 'http://192.168.0.132:8183/sqx_fast/' + actionName
|
// return 'http://192.168.0.132:8183/sqx_fast/' + actionName
|
||||||
// return 'https://duanjuadmin.xianmxkj.com/sqx_fast/' + actionName
|
// return 'https://duanjuadmin.xianmxkj.com/sqx_fast/' + actionName
|
||||||
return '/sqx_fast/' + actionName
|
return 'https://video.hnsiyao.cn/sqx_fast/' + actionName
|
||||||
|
|
||||||
}
|
}
|
||||||
http.adornUrlWX = (actionName) => {
|
http.adornUrlWX = (actionName) => {
|
||||||
|
|
@ -61,7 +61,7 @@ http.adornUrlWX = (actionName) => {
|
||||||
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
||||||
return '/weixin/' + actionName
|
return '/weixin/' + actionName
|
||||||
// return 'https://api.weixin.qq.com/' + actionName
|
// return 'https://api.weixin.qq.com/' + actionName
|
||||||
// return '/sqx_fast/' + actionName
|
// return 'https://video.hnsiyao.cn/sqx_fast/' + actionName
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,6 @@
|
||||||
incomeData: [],
|
incomeData: [],
|
||||||
activeName: 'first',
|
activeName: 'first',
|
||||||
tableDataLoading: true,
|
tableDataLoading: true,
|
||||||
flag: 1,
|
|
||||||
usersumData: {},
|
usersumData: {},
|
||||||
taskStat: {},
|
taskStat: {},
|
||||||
taskStat2:0,
|
taskStat2:0,
|
||||||
|
|
@ -1096,7 +1095,7 @@
|
||||||
stack: 'Total',
|
stack: 'Total',
|
||||||
data: this.orderEcharts.ordersYiZhiFuCountList
|
data: this.orderEcharts.ordersYiZhiFuCountList
|
||||||
},
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -460,7 +460,6 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="createTime" width="220" label="创建时间">
|
<el-table-column prop="createTime" width="220" label="创建时间">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="操作" fixed='right' width="120">
|
<el-table-column label="操作" fixed='right' width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="primary" @click="confirm(scope.row)">确定
|
<el-button size="mini" type="primary" @click="confirm(scope.row)">确定
|
||||||
|
|
@ -606,7 +605,7 @@
|
||||||
],
|
],
|
||||||
// 房屋信息
|
// 房屋信息
|
||||||
phone: '', //电话
|
phone: '', //电话
|
||||||
name: '', //标题
|
// name: '', //标题
|
||||||
userIdss: '', //用户id
|
userIdss: '', //用户id
|
||||||
titleImg: '', //封面图
|
titleImg: '', //封面图
|
||||||
img: [], //详情图
|
img: [], //详情图
|
||||||
|
|
|
||||||
|
|
@ -990,7 +990,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
classificationId: '', //分类id
|
classificationId: '', //分类id
|
||||||
content: '', //短剧搜索标题 拒绝理由
|
// content: '', //短剧搜索标题 拒绝理由
|
||||||
classificationName: '', //分类名称
|
classificationName: '', //分类名称
|
||||||
formLabelWidth: '200px',
|
formLabelWidth: '200px',
|
||||||
activeName: 'first',
|
activeName: 'first',
|
||||||
|
|
@ -1223,7 +1223,7 @@
|
||||||
urlDj: '',
|
urlDj: '',
|
||||||
urlJj: '',
|
urlJj: '',
|
||||||
dialogFormVisible6: false,
|
dialogFormVisible6: false,
|
||||||
remark: '',
|
// remark: '',
|
||||||
dyShowT: '',
|
dyShowT: '',
|
||||||
wxShowT: '',
|
wxShowT: '',
|
||||||
showFl: false,
|
showFl: false,
|
||||||
|
|
@ -3170,4 +3170,4 @@
|
||||||
.htmlDiv img {
|
.htmlDiv img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,8 @@
|
||||||
<el-table-column prop="licenseNum" label="许可证号" width="160"></el-table-column> -->
|
<el-table-column prop="licenseNum" label="许可证号" width="160"></el-table-column> -->
|
||||||
<el-table-column prop="dyVersion" label="当前版本号" width="160"></el-table-column>
|
<el-table-column prop="dyVersion" label="当前版本号" width="160"></el-table-column>
|
||||||
<el-table-column prop="dyStatusContent" label="抖音审核内容"></el-table-column>
|
<el-table-column prop="dyStatusContent" label="抖音审核内容"></el-table-column>
|
||||||
|
|
||||||
|
|
||||||
<el-table-column prop="duration" label="平均单集时长(单位:分钟)"></el-table-column>
|
<el-table-column prop="duration" label="平均单集时长(单位:分钟)"></el-table-column>
|
||||||
<el-table-column prop="productionOrganisation" label="制作机构"></el-table-column>
|
<el-table-column prop="productionOrganisation" label="制作机构"></el-table-column>
|
||||||
<el-table-column prop="director" label="导演"></el-table-column>
|
<el-table-column prop="director" label="导演"></el-table-column>
|
||||||
|
|
@ -66,7 +66,7 @@
|
||||||
<img style="width: 200px; height: auto" :src="item" alt="">
|
<img style="width: 200px; height: auto" :src="item" alt="">
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -82,7 +82,7 @@
|
||||||
<img style="width: 200px; height: auto" :src="item" alt="">
|
<img style="width: 200px; height: auto" :src="item" alt="">
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -93,7 +93,7 @@
|
||||||
<span v-if="scope.row.playletProductionCost == 30">100万以</span>
|
<span v-if="scope.row.playletProductionCost == 30">100万以</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="dyShow" label="抖音是否显示" width="100">
|
<el-table-column prop="dyShow" label="抖音是否显示" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch v-model="scope.row.dyShow" @change="changeDy(scope.row.dyShow,scope.row.courseId)"
|
<el-switch v-model="scope.row.dyShow" @change="changeDy(scope.row.dyShow,scope.row.courseId)"
|
||||||
|
|
@ -210,7 +210,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-bottom: 10px;display: flex;align-items: center;">
|
<div style="margin-bottom: 10px;display: flex;align-items: center;">
|
||||||
<span style="width: 200px;display: inline-block;text-align: right;">成本配置比例情况图片:</span>
|
<span style="width: 200px;display: inline-block;text-align: right;">成本配置比例情况图片:</span>
|
||||||
|
|
||||||
<div style="display: flex;flex-wrap: wrap;">
|
<div style="display: flex;flex-wrap: wrap;">
|
||||||
<div class="imgs" v-for="(item,index) in costDistributionUri" :key="index">
|
<div class="imgs" v-for="(item,index) in costDistributionUri" :key="index">
|
||||||
<img width="100%" class="images" height="100%" :src="item" alt="">
|
<img width="100%" class="images" height="100%" :src="item" alt="">
|
||||||
|
|
@ -228,7 +228,7 @@
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div style="display: block;margin-left: 200px;margin-bottom: 20px;">
|
<div style="display: block;margin-left: 200px;margin-bottom: 20px;">
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -456,7 +456,7 @@
|
||||||
url: '', //视频链接
|
url: '', //视频链接
|
||||||
isPrice: 1, //是否收费
|
isPrice: 1, //是否收费
|
||||||
goodNum: '', //点赞数
|
goodNum: '', //点赞数
|
||||||
content: '', //视频简介
|
// content: '', //视频简介
|
||||||
over: 2,
|
over: 2,
|
||||||
videoId: '',
|
videoId: '',
|
||||||
quillOption: quillConfig,
|
quillOption: quillConfig,
|
||||||
|
|
@ -609,9 +609,9 @@
|
||||||
playletProductionCost: '', //制作成本类型 10: 30万以下 20:30~100万30:100万以
|
playletProductionCost: '', //制作成本类型 10: 30万以下 20:30~100万30:100万以
|
||||||
percentage1:0,
|
percentage1:0,
|
||||||
percentage2:0,
|
percentage2:0,
|
||||||
bq2: '',
|
bq2: '',
|
||||||
bq3: '',
|
bq3: '',
|
||||||
bq4: '',
|
bq4: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
@ -1895,7 +1895,7 @@
|
||||||
},
|
},
|
||||||
// 短剧上传
|
// 短剧上传
|
||||||
shangchuan(row) {
|
shangchuan(row) {
|
||||||
|
|
||||||
if (row.wxCourseId) {
|
if (row.wxCourseId) {
|
||||||
this.wxCourseId = row.wxCourseId
|
this.wxCourseId = row.wxCourseId
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1971,7 +1971,7 @@
|
||||||
// } else {
|
// } else {
|
||||||
// this.licenseNum = ''
|
// this.licenseNum = ''
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if ( this.costDistributionUri==='' || this.assuranceUri==='') {
|
if ( this.costDistributionUri==='' || this.assuranceUri==='') {
|
||||||
this.$confirm(`当前短剧未设置提审信息,是否继续上传?`, '提示', {
|
this.$confirm(`当前短剧未设置提审信息,是否继续上传?`, '提示', {
|
||||||
confirmButtonText: '暂不设置,继续上传',
|
confirmButtonText: '暂不设置,继续上传',
|
||||||
|
|
@ -2005,9 +2005,9 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -2281,7 +2281,7 @@
|
||||||
console.log('event, file, fileList', parseInt(event.percent))
|
console.log('event, file, fileList', parseInt(event.percent))
|
||||||
this.percentage2 = parseInt(event.percent)
|
this.percentage2 = parseInt(event.percent)
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.classifySelect()
|
this.classifySelect()
|
||||||
|
|
@ -2409,4 +2409,4 @@
|
||||||
.text_color span {
|
.text_color span {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
window.SITE_CONFIG = {};
|
window.SITE_CONFIG = {};
|
||||||
|
|
||||||
// api接口请求地址
|
// api接口请求地址
|
||||||
window.SITE_CONFIG['baseUrl'] = 'http://localhost:8080/sz-fast';
|
window.SITE_CONFIG['baseUrl'] = 'https://video.hnsiyao.cn/sqx_fast';
|
||||||
|
|
||||||
// cdn地址 = 域名 + 版本号
|
// cdn地址 = 域名 + 版本号
|
||||||
window.SITE_CONFIG['domain'] = './'; // 域名
|
window.SITE_CONFIG['domain'] = './'; // 域名
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue