Commit cfa06e23 by 前端

Merge branch 'kuangyq_v2.8.0' into 'v2.8.0'

Kuangyq v2.8.0

See merge request !20
2 parents 4d9a1949 4404fe87
import request from './request'
import Vue from 'vue'
const path = 'merchants.api.'
const addNamelistApi = {
// 根据商户名称和渠道类型查询商户列表
getMerchantsList(data = {}) {
// 'http://rop-merchant.dev.glsx.com.cn/rop-merchants'
data.method = 'merchants.api.open.findMerchantList'
return request(data, 'merchants.api.open.findMerchantList', [], Vue.prototype.otherUrl)
return request(data, 'merchants.api.open.findMerchantList', [], 'http://rop-merchant.test.glsx.com.cn/rop-merchants')
},
// 根据商户名称和渠道类型查询商户列表-分页查询
getMerchantsListByPages(data = {}) {
data.method = `${path}menu.findMerchantByPage`
return request(data, `${path}menu.findMerchantByPage`, [], Vue.prototype.otherUrl)
// 'http://rop-merchant.dev.glsx.com.cn/rop-merchants'
data.method = 'merchants.api.menu.findMerchantByPage'
return request(data, 'merchants.api.menu.findMerchantByPage', [], 'http://rop-merchant.test.glsx.com.cn/rop-merchants')
},
// 根据商户号查询商户详情
findMerchantDetailByMerchantNo(data = {}) {
data.method = `${path}open.findMerchantDetailByMerchantNo`
return request(data, `${path}open.findMerchantDetailByMerchantNo`, [], Vue.prototype.otherUrl)
// 'http://rop-merchant.dev.glsx.com.cn/rop-merchants'
data.method = 'merchants.api.open.findMerchantDetailByMerchantNo'
return request(data, 'merchants.api.open.findMerchantDetailByMerchantNo', [], 'http://rop-merchant.test.glsx.com.cn/rop-merchants')
}
}
......
......@@ -2,57 +2,51 @@ import request from './request'
const path = 'scrm.api.renewal.insurance.customer.name.list.'
const defaultPath = 'scrm.api.renewal.order.'
const customerApi = {
// 客户名单列表查询
searchCustomerList(data = {}) {
data.method = `${path}get`
return request(data)
},
// 客户名单同步
synchroCustomerList(data = {}) {
data.method = `${path}sync`
return request(data)
},
// 客户名单删除
deleteCustomerList(data = {}) {
data.method = `${path}delete`
return request(data)
},
// 客户名单查看-门店信息
infoCustomerList(data = {}) {
data.method = `${path}merchant.info`
return request(data)
},
// 客户名单查看-导入名单数据详情列表
detailsCustomerList(data = {}) {
data.method = `${path}details`
return request(data)
},
// 客户名单列表导出
exportCustomerList(data = {}) {
data.method = `${path}export`
return request(data)
},
// 添加客户名单
addCustomerList(data = {}) {
data.method = `${path}add`
return request(data, 'post')
},
// 获取订单列表
getOrderList(data = {}) {
data.method = `${defaultPath}list`
return request(data)
},
// 获取订单详情
getOrderDetail(data = {}) {
data.method = `${defaultPath}detail`
return request(data)
},
// 订单列表导出
orderListExport(data = {}) {
data.method = `${defaultPath}list.export`
return request(data)
}
// 客户名单列表查询
searchCustomerList(data = {}) {
data.method = `${path}get`
return request(data)
},
// 客户名单同步
synchroCustomerList(data = {}) {
data.method = `${path}sync`
return request(data)
},
// 客户名单删除
deleteCustomerList(data = {}) {
data.method = `${path}delete`
return request(data)
},
// 客户名单查看-门店信息
infoCustomerList(data = {}) {
data.method = `${path}merchant.info`
return request(data)
},
// 客户名单列表导出
exportCustomerList(data = {}) {
data.method = `${path}export`
return request(data)
},
// 添加客户名单
addCustomerList(data = {}) {
data.method = `${path}get`
return request(data)
},
// 获取订单列表
getOrderList(data = {}) {
data.method = `${defaultPath}list`
return request(data)
},
// 获取订单详情
getOrderDetail(data = {}) {
data.method = `${defaultPath}detail`
return request(data)
},
// 订单列表导出
orderListExport(data = {}) {
data.method = `${defaultPath}list.export`
return request(data)
}
}
export { customerApi }
\ No newline at end of file
export { customerApi }
......@@ -3,9 +3,8 @@ const uploadApi = {
// 多文件上传接口
multipleUpload(data = {}) {
// 'http://192.168.1.182:8561/rop-scrm-renewal'
data.method = 'scrm.api.renewal.common.upload.common.multiple'
// return request(data, 'scrm.api.equity.common.upload.common.multiple', [], 'http://scrm.test.glsx.com.cn/rop-scrm-renewal')
return request(data, 'post')
data.method = 'scrm.api.equity.common.upload.common.multiple'
return request(data)
},
}
export { uploadApi }
\ No newline at end of file
import App from './index.vue'
import base from '@/base'
import GlsxVueCommon from 'glsx-vue-common'
import Vue from 'vue'
base.getConfig().then(data => {
const { vue, config } = data
Vue.prototype.otherUrl = config.axios.otherURL
vue.use(GlsxVueCommon, config)
base.render(App)
})
\ No newline at end of file
const { vue, config } = data
vue.use(GlsxVueCommon, config)
base.render(App)
})
......@@ -63,15 +63,15 @@ export default {
merchantName: '',
mainBrandName: '',
merchantAddress: '',
remark: '',
remark: ''
},
pageConf: {
pageSize: 'pageSize',
pageNum: 'pageNum',
totalCount: 'data.total',
totalCount: 'data.total'
},
customerDetailSearchForm: {
id: '',
id: ''
},
getListApi: customerApi.detailsCustomerList,
customerDetailTableParams: {
......@@ -81,115 +81,115 @@ export default {
{
label: '投保人名称',
prop: 'policyHolderName',
width: '120px',
width: '120px'
},
{
label: '投保人身份证号',
prop: 'policyHolderIdCard',
width: '170px',
width: '170px'
},
{
label: '常用电话',
prop: 'policyHolderPhone',
width: '170px',
width: '170px'
},
{
label: '备用电话',
prop: 'sparePhone',
width: '170px',
width: '170px'
},
{
label: '其他电话',
prop: 'otherPhone',
width: '170px',
width: '170px'
},
{
label: '车牌号',
prop: 'plateNo',
prop: 'plateNo'
},
{
label: '车架号',
prop: 'carVin',
width: '170px',
width: '170px'
},
{
label: '发动机号',
prop: 'engine',
prop: 'engine'
},
{
label: '车辆初登日期',
prop: 'registerDateStr',
width: '170px',
width: '170px'
},
{
label: '最新保单日期',
prop: 'policyDateStr',
width: '170px',
width: '170px'
},
{
label: '公共型号',
prop: 'publicModel',
prop: 'publicModel'
},
{
label: '车辆价值',
prop: 'vehicleValue',
prop: 'vehicleValue'
},
{
label: '厂家型号',
prop: 'brandModel',
prop: 'brandModel'
},
{
label: '车主',
prop: 'vehicleOwner',
prop: 'vehicleOwner'
},
{
label: '车主证件号码',
prop: 'vehicleOwnerIdNo',
width: '170px',
width: '170px'
},
{
label: '最新保单商业险保单号',
prop: 'businessPolicyNo',
width: '170px',
width: '170px'
},
{
label: '最新保单交强险保单号',
prop: 'compulsoryPolicyNo',
width: '170px',
width: '170px'
},
{
label: '最新保单下的商业险出险次数',
prop: 'businessAccidentsNum',
width: '220px',
width: '220px'
},
{
label: '最新保单下的交强险出险次数',
prop: 'compulsoryAccidentsNum',
width: '220px',
width: '220px'
},
{
label: '备注',
prop: 'remark',
prop: 'remark'
},
{
label: '年化里程',
prop: 'annualMileage',
prop: 'annualMileage'
},
{
label: '车龄',
prop: 'vehicleAge',
prop: 'vehicleAge'
},
{
label: '客户状态',
prop: 'customerStatus',
addHtml: 'customerStatus',
},
],
},
addHtml: 'customerStatus'
}
]
}
}
},
mounted() {
this.$root.eventBus.$on('params', (params) => {
this.$root.eventBus.$on('params', params => {
let merchantId = params.merchantId
this.customerDetailSearchForm.id = merchantId
this.getcustomerInfo(merchantId)
......@@ -204,11 +204,11 @@ export default {
},
// 客户名单查看-导入门店信息
getcustomerInfo(merchantId) {
customerApi.infoCustomerList({ id: `${merchantId}` }).then((res) => {
customerApi.infoCustomerList({ id: `${merchantId}` }).then(res => {
this.merchantBaseInfo = res.data
})
},
},
}
}
}
</script>
......
......@@ -191,6 +191,7 @@ export default {
<style scoped>
.order-contentbox {
margin: 16px;
padding-bottom: 8px;
}
.table-top {
height: 50px;
......
......@@ -293,6 +293,7 @@ export default {
<style scoped>
.certificate-box {
margin: 16px;
padding-bottom: 8px;
}
.integral-box {
display: flex;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!