Commit 203cc6fc by xuyl

更新页面代码

1 parent 0705f8fd
{
"name": "ubi-renewal",
"name": "glsx-task",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
......
import request from './request'
const path = 'scrm.api.renewal.insurance.customer.name.list.'
const defaultPath = 'scrm.api.renewal.order.'
const profitApi = {
// 客户名单列表查询
searchCustomerList(data = {}) {
data.method = `${path}get`
return request(data)
}
}
export { profitApi }
......@@ -6,8 +6,8 @@
</div>
<ul>
<li>
<a href="../insurance/customer.html" target="_self">
客户名单管理列表
<a href="../profitManagement/profitList/index.html" target="_self">
客户名单管理列表11
</a>
</li>
<li>
......
<template>
<div>收益</div>
</template>
<template >
<div style="margin: 16px">
<el-form
size="small"
inline
ref="merchantForm"
:model="merchantSearchForm"
label-width="100px"
class="demo-form-inline"
>
<el-form-item label="员工名称">
<el-input
clearable
v-model="merchantSearchForm.merchantName"
placeholder="请输入员工名称"
></el-input>
</el-form-item>
<el-form-item label="员工手机号">
<el-input
clearable
v-model="merchantSearchForm.merchantId"
placeholder="请输入员工手机号"
></el-input>
</el-form-item>
<el-form-item label="状态">
<el-select v-model="merchantSearchForm.status" placeholder="请选择状态">
<el-option label="全部" value=""></el-option>
<el-option label="未同步" value="0"></el-option>
<!-- <el-option label="同步中" value="1"></el-option> -->
<el-option label="已同步" value="2"></el-option>
<el-option label="同步失败" value="3"></el-option>
</el-select>
</el-form-item>
<el-form-item label="提现时间">
<el-date-picker
v-model="value1"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
<el-form-item label="审核时间">
<el-date-picker
v-model="value1"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" :id="merchantTableParams.btnId"
>查询</el-button
>
<el-button @click="reset">重置</el-button>
</el-form-item>
</el-form>
<el-button
size="small"
class="addList"
type="primary"
@click="gotoNamelist"
>导出</el-button
>
<d2-table
class="my-row-height"
ref="merchantTable"
:hasNum="true"
:tableParams="merchantTableParams"
:searchForm="merchantSearchForm"
:getListApi="getListApi"
:pageConf="pageConf"
>
</d2-table>
</div>
</template>
<script>
export default {}
// import { customerApi } from '@/api/customer'
export default {
data() {
return {
optionsId: '',
merchantSearchForm: {},
pageConf: {
pageSize: 'pageSize',
pageNum: 'pageNum',
totalCount: 'data.total',
},
// getListApi: customerApi.searchCustomerList,
merchantTableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'data.list',
tableColumns: [
{
label: '员工名称',
prop: 'merchantName',
},
{
label: '员工手机号',
prop: 'merchantId',
},
{
label: '奖励积分值',
prop: 'mainBrandName',
},
{
label: '关联任务',
prop: 'customerNumber',
},
{
label: '发放渠道',
prop: 'validCustomerNumber',
},
{
label: '关联模板',
prop: 'batchNo',
},
{
label: '所属活动',
prop: 'status',
addHtml: 'status',
},
{
label: '所属门店',
prop: 'createdBy',
},
{
label: '奖励时间',
prop: 'createdDateStr',
}
],
},
}
},
methods: {
reset() {
Object.keys(this.merchantSearchForm).forEach((key) => {
this.merchantSearchForm[key] = ''
})
this.$nextTick(() => {
this.$refs.merchantTable.refreshTable()
})
},
}
}
</script>
<style>
<style scoped>
.addList {
width: 112px;
background: #1994f9;
border-radius: 2px;
margin-bottom: 16px;
}
.el-icon-plus {
padding-right: 5px;
}
.my-row-height >>> .el-table__body-wrapper .el-table__row {
height: 48px;
}
</style>
import App from './index'
import base from '@/base'
import GlsxVueCommon from 'glsx-vue-common'
base.getConfig().then(data => {
const { vue, config } = data
vue.use(GlsxVueCommon, config)
base.render(App)
})
<template>
<div>用户</div>
</template>
<script>
export default {}
</script>
<style>
</style>
import App from './index'
import base from '@/base'
import GlsxVueCommon from 'glsx-vue-common'
base.getConfig().then(data => {
const { vue, config } = data
vue.use(GlsxVueCommon, config)
base.render(App)
})
<template>
<div>收益</div>
</template>
<script>
export default {}
</script>
<style>
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!