Browse Source

修改上传路径

master
ltlzx 4 years ago
parent
commit
8e997dfb4b
  1. 4
      src/components/common/dialog/DataReview/IDCard.vue
  2. 4
      src/components/common/dialog/DataReview/application.vue
  3. 4
      src/components/common/dialog/DataReview/assetValuation.vue
  4. 4
      src/components/common/dialog/DataReview/assets.vue
  5. 4
      src/components/common/dialog/DataReview/bankProve.vue
  6. 4
      src/components/common/dialog/DataReview/certificate.vue
  7. 4
      src/components/common/dialog/DataReview/elseFile.vue
  8. 4
      src/components/common/dialog/DataReview/entrust.vue
  9. 4
      src/components/common/dialog/DataReview/license.vue
  10. 4
      src/components/common/dialog/DataReview/operatorIDCard.vue
  11. 4
      src/components/common/dialog/DataReview/promise.vue
  12. 2
      src/utils/request.js
  13. 2
      vue.config.js

4
src/components/common/dialog/DataReview/IDCard.vue

@ -69,8 +69,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer : false, showViewer : false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/application.vue

@ -43,8 +43,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/assetValuation.vue

@ -38,8 +38,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[], img_url:[],
} }

4
src/components/common/dialog/DataReview/assets.vue

@ -47,8 +47,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/bankProve.vue

@ -40,8 +40,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/certificate.vue

@ -40,8 +40,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/elseFile.vue

@ -80,8 +80,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/entrust.vue

@ -40,8 +40,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/license.vue

@ -40,8 +40,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/operatorIDCard.vue

@ -63,8 +63,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer : false, showViewer : false,
img_url:[] img_url:[]
} }

4
src/components/common/dialog/DataReview/promise.vue

@ -40,8 +40,8 @@ export default {
}, },
data() { data() {
return{ return{
host:'http://wenhua.xingtongworld.com', host:'http://rccqapi.szcaee.cn ',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile', action:'http://rccqapi.szcaee.cn /api/Index/uploadFile',
showViewer:false, showViewer:false,
img_url:[] img_url:[]
} }

2
src/utils/request.js

@ -3,7 +3,7 @@ import { MessageBox } from 'element-ui'
const service = axios.create({ const service = axios.create({
// process.env.NODE_ENV === 'development' 来判断是否开发环境 // process.env.NODE_ENV === 'development' 来判断是否开发环境
// easy-mock服务挂了,暂时不使用了 // easy-mock服务挂了,暂时不使用了
// baseURL: 'http://wenhua.xingtongworld.com/', // baseURL: 'http://rccqapi.szcaee.cn /',
baseURL: 'http://rccqapi.szcaee.cn/', baseURL: 'http://rccqapi.szcaee.cn/',
timeout: 15000, timeout: 15000,
}); });

2
vue.config.js

@ -5,7 +5,7 @@ module.exports = {
devServer: { devServer: {
proxy: { proxy: {
'/api':{ '/api':{
target:'http://wenhua.xingtongworld.com/', target:'http://rccqapi.szcaee.cn /',
// target:'http://localhost:8080', // target:'http://localhost:8080',
changeOrigin:true, changeOrigin:true,
pathRewrite:{ pathRewrite:{

Loading…
Cancel
Save