Compare commits

..

No commits in common. "7d8f9d9beec49fbc0332fc7ffb8bb976e6e2e99c" and "85cb92670f3531e0078a4d9d659cb9cd108e82ce" have entirely different histories.

6 changed files with 11 additions and 43 deletions

View File

@ -41,9 +41,6 @@ import DictData from '@/components/DictData'
import JsonExcel from 'vue-json-excel'
Vue.prototype.$eventBus = new Vue()
import global_ from '@/utils/globalUrl'
// 全局方法挂载
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey
@ -55,7 +52,6 @@ Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.downloadJson = downloadJson
Vue.prototype.handleTree = handleTree
Vue.prototype.globalUrl = global_
// 全局组件挂载
Vue.component('DictTag', DictTag)

View File

@ -1,19 +0,0 @@
// const qrUrl = 'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode='; //测试
const qrUrl = 'http://112.29.103.165:21626/qrCode/qrCodePage?qrCode='; //重庆
// const qrUrl = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='; //宁夏
export default {
qrUrl,
}

View File

@ -507,11 +507,12 @@ export default {
codeId: true,
isShowQrCode: -1,
labelmaCode: '',
qrUrl:this.globalUrl.qrUrl,
qrUrl:'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode=',
json_fields:{"二维码地址":'exportUrl',"标签编号":'labelCode',"设备编码":'maCode'},
};
},
created() {
console.log(this.userInfo.id)
this.getList();
this.getType()
this.getTypeList();

View File

@ -183,7 +183,7 @@ export default {
rowObj: {},
labelmaCode: '',
uploadOpen: false,
qrUrl:this.globalUrl.qrUrl,
qrUrl:'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode=',
};
},
created() {

View File

@ -384,7 +384,7 @@ export default {
title: "",
uploadOpen: false,
qrCode: '',
qrUrl:this.globalUrl.qrUrl,
qrUrl:'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode=',
rowObj:{},
//
open: false,

View File

@ -27,7 +27,6 @@ module.exports = {
lintOnSave: process.env.NODE_ENV === 'development',
// 如果你不需要生产环境的 source map可以将其设置为 false 以加速生产环境构建。
productionSourceMap: false,
qrUrl:'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode=',
// webpack-dev-server 相关配置
devServer: {
host: '0.0.0.0',
@ -36,25 +35,16 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://112.29.103.165:21626`,//线上环境-重庆
// target: `http://112.29.103.165:21624`,//线上环境-宁夏 打包前放开数据大屏的路由
// target: `http://192.168.0.14:21624`,//线上环境/
// target: `http://112.29.103.165:21626`,//线上环境-重庆
target: `http://112.29.103.165:21624`,//线上环境-宁夏
// target: `http://192.168.0.14:21624`,//线上环境
// target: `http://1.12.248.179:23028`,//线上环境-南网
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`,
// target: `http://10.40.92.8:8080`,//超
// target: `http://10.40.92.253:8080`,//韩
// target: `http://10.40.92.209:8080`,//川/
//******** 注意事项 ********* */
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址;
//更改 utils/globalUrl.js 内qrUrl地址
//2.打开view文件夹根目录dashboard.vue 更换大屏项目发布的跳转地址打开大屏项目config/index.js更改请求地址大屏打包node<16.0.0;
//3.只有南网项目产线gl发布打包时候需要注意
// 将 assetsDir:'static' 改为 assetsDir:'gl/static',还有env.development和env.production中的VUE_APP_BASE_API改为'/gl/dev-api';登录跳转地址从/login换成/gl/;
//4. 重庆环境的时候需要将新增领料申请跳转地址改为claimAndRefund/receive/receiveApplyAddByCq
//******** 注意事项 ********* */
// target: `http://10.40.92.14:8080`,//超
// target: `http://10.40.92.12:8080`,//韩
// target: `http://10.40.92.209:8080`,//川
changeOrigin: true,
pathRewrite: {