feat: 调整为湖南中烟
This commit is contained in:
50
package-lock.json
generated
50
package-lock.json
generated
@ -1999,31 +1999,6 @@
|
|||||||
"webpack-chain": "^6.4.0",
|
"webpack-chain": "^6.4.0",
|
||||||
"webpack-dev-server": "^3.11.0",
|
"webpack-dev-server": "^3.11.0",
|
||||||
"webpack-merge": "^4.2.2"
|
"webpack-merge": "^4.2.2"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"chalk": {
|
|
||||||
"version": "4.1.2",
|
|
||||||
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
|
|
||||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"ansi-styles": "^4.1.0",
|
|
||||||
"supports-color": "^7.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"vue-loader-v16": {
|
|
||||||
"version": "npm:vue-loader@16.8.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
|
|
||||||
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"chalk": "^4.1.0",
|
|
||||||
"hash-sum": "^2.0.0",
|
|
||||||
"loader-utils": "^2.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/cli-shared-utils": {
|
"@vue/cli-shared-utils": {
|
||||||
@ -14699,6 +14674,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vue-loader-v16": {
|
||||||
|
"version": "npm:vue-loader@16.8.3",
|
||||||
|
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
|
||||||
|
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
|
||||||
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
|
"requires": {
|
||||||
|
"chalk": "^4.1.0",
|
||||||
|
"hash-sum": "^2.0.0",
|
||||||
|
"loader-utils": "^2.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"chalk": {
|
||||||
|
"version": "4.1.2",
|
||||||
|
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
|
||||||
|
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||||
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
|
"requires": {
|
||||||
|
"ansi-styles": "^4.1.0",
|
||||||
|
"supports-color": "^7.1.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"vue-router": {
|
"vue-router": {
|
||||||
"version": "4.5.1",
|
"version": "4.5.1",
|
||||||
"resolved": "http://maven.trinapower.com:8081/repository/npm_group/vue-router/-/vue-router-4.5.1.tgz",
|
"resolved": "http://maven.trinapower.com:8081/repository/npm_group/vue-router/-/vue-router-4.5.1.tgz",
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
"echarts": "^5.6.0",
|
"echarts": "^5.6.0",
|
||||||
"echarts-gl": "^2.0.9",
|
"echarts-gl": "^2.0.9",
|
||||||
"echarts-liquidfill": "^3.1.0",
|
"echarts-liquidfill": "^3.1.0",
|
||||||
"element-plus": "^2.0.2",
|
"element-plus": "2.0.2",
|
||||||
"exceljs": "^4.4.0",
|
"exceljs": "^4.4.0",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
"html-docx-js": "^0.3.1",
|
"html-docx-js": "^0.3.1",
|
||||||
|
|||||||
@ -6,9 +6,9 @@ function resolve(dir) {
|
|||||||
* 修改serverHost时记得同时将main.js里面的serverHost也改一下
|
* 修改serverHost时记得同时将main.js里面的serverHost也改一下
|
||||||
*/
|
*/
|
||||||
// const serverHost = "http://192.168.3.113:8006"; // 石:3.113 46:石wifi
|
// const serverHost = "http://192.168.3.113:8006"; // 石:3.113 46:石wifi
|
||||||
const localHost = "http://192.168.1.4:8056";
|
const localHost = "http://192.168.1.11:8056";
|
||||||
// const serverHost = "http://10.52.28.184:9328"; // 1.4 石 1.11嘉陵 1.15
|
// const serverHost = "http://10.52.28.184:9328"; // 1.4 石 1.11嘉陵 1.15
|
||||||
const serverHost = "http://192.168.1.4:8056"; // 1.4 石 1.11嘉陵 1.15
|
const serverHost = "http://192.168.1.11:8056"; // 1.4 石 1.11嘉陵 1.15
|
||||||
// const serverHost = "http://192.168.1.115:8006";
|
// const serverHost = "http://192.168.1.115:8006";
|
||||||
// const serverHost = "http://183.222.39.242:8006";
|
// const serverHost = "http://183.222.39.242:8006";
|
||||||
// https://cli.vuejs.org/zh/guide/webpack.html#%E7%AE%80%E5%8D%95%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%B9%E5%BC%8F
|
// https://cli.vuejs.org/zh/guide/webpack.html#%E7%AE%80%E5%8D%95%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%B9%E5%BC%8F
|
||||||
@ -99,7 +99,7 @@ module.exports = {
|
|||||||
.end()
|
.end()
|
||||||
//更改浏览器标题
|
//更改浏览器标题
|
||||||
config.plugin("html").tap(args => {
|
config.plugin("html").tap(args => {
|
||||||
args[0].title = "甘肃省烟草商业系统安全管理信息化平台"
|
args[0].title = "湖南中烟烟草商业系统安全管理信息化平台"
|
||||||
return args
|
return args
|
||||||
})
|
})
|
||||||
config.plugin("define").tap(definitions => {
|
config.plugin("define").tap(definitions => {
|
||||||
|
|||||||
6
打包.bat
6
打包.bat
@ -4,7 +4,7 @@ chcp 65001 >nul
|
|||||||
title 构建和打包工具
|
title 构建和打包工具
|
||||||
|
|
||||||
echo ========================================
|
echo ========================================
|
||||||
echo [94m《甘肃PC》[0m vue构建和打包工具
|
echo [94m《湖南中烟PC》[0m vue构建和打包工具
|
||||||
echo ========================================
|
echo ========================================
|
||||||
echo.
|
echo.
|
||||||
@echo off
|
@echo off
|
||||||
@ -15,8 +15,8 @@ if exist pc.zip del pc.zip
|
|||||||
powershell Compress-Archive -Path pc -DestinationPath pc.zip
|
powershell Compress-Archive -Path pc -DestinationPath pc.zip
|
||||||
echo [3/3] 压缩完成。
|
echo [3/3] 压缩完成。
|
||||||
explorer .
|
explorer .
|
||||||
msg * "《甘肃PC》打包完成!"
|
msg * "《湖南中烟PC》打包完成!"
|
||||||
start http://localhost:9534?project=gs_pc
|
start http://localhost:9534?project=gs_pc
|
||||||
echo.
|
echo.
|
||||||
echo [94m《甘肃PC》[0m 打包流程已全部完成!按任意键关闭窗口...
|
echo [94m《湖南中烟PC》[0m 打包流程已全部完成!按任意键关闭窗口...
|
||||||
pause >nul
|
pause >nul
|
||||||
|
|||||||
Reference in New Issue
Block a user