global.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /**
  2. * 全局常量、方法封装模块
  3. * 通过原型挂载到Vue属性
  4. * 通过 this.Global 调用
  5. */
  6. // 后台管理系统服务器地址
  7. export const baseUrl = 'http://192.168.0.115:8080'
  8. // export const h5BaseUrl = 'http://192.168.0.115:8091'
  9. //旧服务器
  10. // export const baseUrl = 'http://test.baoxianzhanggui.com:8080'
  11. // export const h5BaseUrl = 'http://test.baoxianzhanggui.com:8091' // h5测试
  12. // export const baseUrl = 'http://www.baoxianzhanggui.com:8080'
  13. // 新服务器
  14. // export const baseUrl = 'http://39.98.239.48/web-api' //测试服务器
  15. // export const baseUrl = 'http://192.168.0.111:8080' //测试服务器
  16. // export const baseUrl = 'http://192.168.0.111:9001' //测试服务器
  17. // export const h5BaseUrl = 'http://39.98.239.48/h5' //h5测试
  18. // export const baseUrl = 'http://sxzgkj.baoxianzhanggui.com/web-api' //正式服务器
  19. export const h5BaseUrl = 'https://sxzgkj.baoxianzhanggui.com/h5' //h5正式
  20. // export const h5BaseUrl = 'http://39.98.239.48/h5' //h5正式
  21. //保险公司名称
  22. export const insCompanyList = [
  23. { name: "中煤财险", icon: "../../static/insuranceicon/zhongmei.png" },//华农
  24. { name: "恒邦财险", icon: "../../static/insuranceicon/hengbang.png" },
  25. { name: "安盛天平", icon: "../../static/insuranceicon/ansheng.png" },
  26. { name: "中国人寿", icon: "../../static/insuranceicon/renshou.png" },
  27. { name: "众安财险", icon: "../../static/insuranceicon/zhongan.png" },
  28. { name: "永诚财险", icon: "../../static/insuranceicon/yongcheng.png" },
  29. { name: "永安财险", icon: "../../static/insuranceicon/yongan.png" },
  30. { name: "紫金财险", icon: "../../static/insuranceicon/zijin.png" },
  31. { name: "华泰财险", icon: "../../static/insuranceicon/huatai.png" },
  32. { name: "安华财险", icon: "../../static/insuranceicon/anhua.png" },
  33. { name: "安心财险", icon: "../../static/insuranceicon/anxin.png" },
  34. { name: "渤海财险", icon: "../../static/insuranceicon/bohai.png" },
  35. { name: "大地财险", icon: "../../static/insuranceicon/dadi.png" },
  36. { name: "大家财险", icon: "../../static/insuranceicon/dajia.png" },
  37. { name: "鼎和财险", icon: "../../static/insuranceicon/dinghe.png" },
  38. { name: "都邦财险", icon: "../../static/insuranceicon/dubang.png" },
  39. { name: "富德财险", icon: "../../static/insuranceicon/fude.png" },
  40. { name: "国任财险", icon: "../../static/insuranceicon/guoren.png" },
  41. { name: "国泰财险", icon: "../../static/insuranceicon/guotai.png" },
  42. { name: "合众财险", icon: "../../static/insuranceicon/hezhong.png" },
  43. { name: "华安财险", icon: "../../static/insuranceicon/huaan.png" },
  44. { name: "华农财险", icon: "../../static/insuranceicon/huanong.png" },
  45. { name: "利宝财险", icon: "../../static/insuranceicon/libao.png" },
  46. { name: "平安财险", icon: "../../static/insuranceicon/pingan.png" },
  47. { name: "人保财险", icon: "../../static/insuranceicon/renbao.png" },
  48. { name: "三星财险", icon: "../../static/insuranceicon/sanxing.png" },
  49. { name: "太平财险", icon: "../../static/insuranceicon/taiping.png" },
  50. { name: "太平洋财险", icon: "../../static/insuranceicon/taipingyang.png" },
  51. { name: "天安财险", icon: "../../static/insuranceicon/tianan.png" },
  52. { name: "现代财险", icon: "../../static/insuranceicon/xiandai.png" },
  53. { name: "亚太财险", icon: "../../static/insuranceicon/yatai.png" },
  54. { name: "英大财险", icon: "../../static/insuranceicon/yingda.png" },
  55. { name: "浙商财险", icon: "../../static/insuranceicon/zheshang.png" },
  56. { name: "中华财险", icon: "../../static/insuranceicon/zhonghua.png" },
  57. { name: "中银国际", icon: "../../static/insuranceicon/zhongyin.png" },
  58. { name: "珠峰财险", icon: "../../static/insuranceicon/zhufeng.png" },
  59. { name: "泰康财险", icon: "../../static/insuranceicon/taikang.png" },
  60. { name: "阳光财险", icon: "../../static/insuranceicon/yangguang.png" },
  61. ]
  62. //订单状态
  63. export const orderStatus = [
  64. { value: 0, label: "报价中" },
  65. { value: 1, label: "待核保" },
  66. { value: 2, label: "已核保" },
  67. { value: 3, label: "核保退回" },
  68. { value: 4, label: "核保不通过" },
  69. { value: 5, label: "已核保待缴费" },
  70. { value: 6, label: "已缴费待配送" },
  71. { value: 7, label: "已承保" },
  72. { value: 99, label: "已关闭" },
  73. ]
  74. //订单状态
  75. export const auditStatus = [
  76. { value: 0, label: "校验待审核" },
  77. { value: 1, label: "校验已审核" }
  78. ]
  79. export const insureList = [
  80. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "投保", "value": "1" }], kindCode: "A", isMainRisk: true, kindName: "机动车损失险" },
  81. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "10万", "value": "100000" }, { "label": "15万", "value": "150000" }, { "label": "20万", "value": "200000" }, { "label": "30万", "value": "300000" }, { "label": "50万", "value": "500000" }, { "label": "100万", "value": "1000000" }, { "label": "150万", "value": "1500000" }, { "label": "200万", "value": "2000000" }, { "label": "250万", "value": "2500000" }, { "label": "300万", "value": "3000000" }, { "label": "500万", "value": "5000000" }, { "label": "1000万", "value": "10000000" }], kindCode: "B", isMainRisk: true, kindName: "第三者责任险" },
  82. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "1万", "value": "10000" }, { "label": "2万", "value": "20000" }, { "label": "5万", "value": "50000" }, { "label": "10万", "value": "100000" }, { "label": "15万", "value": "150000" }, { "label": "20万", "value": "200000" }], kindCode: "D3", isMainRisk: true, kindName: "司机责任险" },
  83. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "1万", "value": "10000" }, { "label": "2万", "value": "20000" }, { "label": "5万", "value": "50000" }, { "label": "10万", "value": "100000" }, { "label": "15万", "value": "150000" }, { "label": "20万", "value": "200000" }], kindCode: "D4", isMainRisk: true, kindName: "乘客责任险" },
  84. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "2000", "value": "2000" }, { "label": "5000", "value": "5000" }, { "label": "1万", "value": "10000" }], isMainRisk: false, kindCode: "L", kindName: "车身划痕险", mainRiskCodeList: "A" },
  85. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ1", kindName: "绝对免赔率特约险(车损)", mainRiskCodeList: "A" },
  86. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ2", kindName: "绝对免赔率特约险(三者)", mainRiskCodeList: "B" },
  87. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ3", kindName: "绝对免赔率特约险(司机)", mainRiskCodeList: "D3" },
  88. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ4", kindName: "绝对免赔率特约险(乘客)", mainRiskCodeList: "D4" },
  89. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "投保", "value": "1" }], isMainRisk: false, kindCode: "BD", kindName: "法定节假日限额翻倍险", mainRiskCodeList: "B" }
  90. ]
  91. export const insureList1 = [
  92. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "投保", "value": "1" }], kindCode: "A", isMainRisk: true, kindName: "机动车损失险" },
  93. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "10万", "value": "100000" }, { "label": "15万", "value": "150000" }, { "label": "20万", "value": "200000" }, { "label": "30万", "value": "300000" }, { "label": "50万", "value": "500000" }, { "label": "100万", "value": "1000000" }, { "label": "150万", "value": "1500000" }, { "label": "200万", "value": "2000000" }, { "label": "250万", "value": "2500000" }, { "label": "300万", "value": "3000000" }, { "label": "500万", "value": "5000000" }, { "label": "1000万", "value": "10000000" }], kindCode: "B", isMainRisk: true, kindName: "第三者责任险" },
  94. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "1万", "value": "10000" }, { "label": "2万", "value": "20000" }, { "label": "5万", "value": "50000" }, { "label": "10万", "value": "100000" }, { "label": "15万", "value": "150000" }, { "label": "20万", "value": "200000" }], kindCode: "D3", isMainRisk: true, kindName: "司机责任险" },
  95. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "1万", "value": "10000" }, { "label": "2万", "value": "20000" }, { "label": "5万", "value": "50000" }, { "label": "10万", "value": "100000" }, { "label": "15万", "value": "150000" }, { "label": "20万", "value": "200000" }], kindCode: "D4", isMainRisk: true, kindName: "乘客责任险" },
  96. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "2000", "value": "2000" }, { "label": "5000", "value": "5000" }, { "label": "1万", "value": "10000" }], isMainRisk: false, kindCode: "L", kindName: "车身划痕险", mainRiskCodeList: "A" },
  97. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ1", kindName: "绝对免赔率特约险(车损)", mainRiskCodeList: "A" },
  98. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ2", kindName: "绝对免赔率特约险(三者)", mainRiskCodeList: "B" },
  99. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ3", kindName: "绝对免赔率特约险(司机)", mainRiskCodeList: "D3" },
  100. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "5%", "value": "5" }, { "label": "10%", "value": "10" }, { "label": "15%", "value": "15" }, { "label": "20%", "value": "20" }], isMainRisk: false, kindCode: "MJ4", kindName: "绝对免赔率特约险(乘客)", mainRiskCodeList: "D4" },
  101. { checked: false, amount: "0", coveragePremium: "", amtList: [{ "label": "不投保", "value": "0" }, { "label": "投保", "value": "1" }], isMainRisk: false, kindCode: "BD", kindName: "法定节假日限额翻倍险", mainRiskCodeList: "B" }
  102. ]
  103. export default {
  104. baseUrl,
  105. h5BaseUrl,
  106. insCompanyList,
  107. orderStatus,
  108. insureList,
  109. insureList1,
  110. auditStatus
  111. }