修改模板下载报错问题
parent
ec59b4f094
commit
3cadafe2ca
|
@ -9,10 +9,21 @@ module.exports = {
|
|||
// Paths
|
||||
assetsSubDirectory: 'static',
|
||||
assetsPublicPath: '/',
|
||||
proxyTable: {},
|
||||
// proxyTable: {},
|
||||
proxyTable: {
|
||||
'/api': {
|
||||
target: 'http://192.168.0.106:7080',
|
||||
// target: 'http://39.101.166.211:8071/integrated_traffic_admin',
|
||||
secure: true, // 如果是 https ,需要开启这个选项
|
||||
changeOrigin: true, // 是否是跨域请求?肯定是啊,不跨域就没有必要配置这个proxyTable了.
|
||||
pathRewrite: {
|
||||
'^/api': '' // 和下边两种写法,因人而异根据需求。
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Various Dev Server settings
|
||||
host: 'localhost', // can be overwritten by process.env.HOST
|
||||
host: '0.0.0.0', // can be overwritten by process.env.HOST
|
||||
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||
autoOpenBrowser: false,
|
||||
errorOverlay: true,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"author": "",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --host 192.168.0.69 --open",
|
||||
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --host 192.168.0.106 --open",
|
||||
"start": "npm run dev",
|
||||
"unit": "jest --config test/unit/jest.conf.js --coverage",
|
||||
"e2e": "node test/e2e/runner.js",
|
||||
|
|
|
@ -129,11 +129,11 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="OPERATORNAME" label="操作人"/>
|
||||
<el-table-column width="100" prop="HASUSERSIGN" label="有无证件照片">
|
||||
<!-- <el-table-column width="100" prop="HASUSERSIGN" label="有无证件照片">
|
||||
<template slot-scope="{row}">
|
||||
{{ row.HASUSERSIGN == 1 ? '有' : '无' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
<el-table-column width="150" prop="CREATTIME" label="入班时间"/>
|
||||
<el-table-column label="操作" align="center" width="210" fixed="right">
|
||||
<template slot-scope="{row}">
|
||||
|
@ -857,7 +857,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'student/downExcel'
|
||||
window.location.href = config.httpurl + '/student/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -307,7 +307,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'student/downExcel'
|
||||
window.location.href = config.httpurl + '/student/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -452,7 +452,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'student/downExcel'
|
||||
window.location.href = config.httpurl + '/student/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -505,7 +505,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'student/downExcel'
|
||||
window.location.href = config.httpurl + '/student/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -308,7 +308,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'student/downExcel'
|
||||
window.location.href = config.httpurl + '/student/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -665,7 +665,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'paperQuestion/downExcel'
|
||||
window.location.href = config.httpurl + '/paperQuestion/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -784,7 +784,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'paperQuestion/downExcel'
|
||||
window.location.href = config.httpurl + '/paperQuestion/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -679,7 +679,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'paperQuestion/downExcel'
|
||||
window.location.href = config.httpurl + '/paperQuestion/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -484,7 +484,7 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.listLoading = false
|
||||
window.location.href = config.httpurl + 'question/downExcel'
|
||||
window.location.href = config.httpurl + '/question/downExcel'
|
||||
}).catch(() => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-if="form.ISDELIVER!=1 && form.ISDELIVER!=0">
|
||||
<!-- <el-col :span="12">
|
||||
<!-- <el-col :span="12">
|
||||
<el-form-item label="是否为试用企业">
|
||||
<el-radio-group v-model="form.ISTRIAL">
|
||||
<el-radio label="1" value="1">否</el-radio>
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
const config = {
|
||||
weburl: 'http://192.168.0.69:8081/', // 前台地址
|
||||
httpurl: 'http://192.168.0.69:7070/', // 后台地址
|
||||
// httpurl: 'https://operate.zcloudchina.com/', // 后台地址
|
||||
qyurl: 'https://qyag.zcloudchina.com/qyag/', // 企业前台
|
||||
weburl: 'http://192.168.0.106:8082/', // 前台地址
|
||||
httpurl: '/api', // 后台地址
|
||||
qyurl: 'http://192.168.0.106:8081/', // 企业前台
|
||||
adminurl: 'https://www.qdkjchina.com/qa-prevention-admin/',
|
||||
// fileUrl: 'http://192.168.0.14:8081/'
|
||||
// templatefileUrl: 'https://qyag.zcloudchina.com/file/', // 模板附件服务器地址
|
||||
templatefileUrl: 'https://qaaq.qhdsafety.com/file/',
|
||||
fileUrl: 'https://file.zcloudchina.com/YTHFile' // 附件服务器地址
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue