Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 203cc6fc
authored
Oct 10, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新页面代码
1 parent
0705f8fd
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
172 additions
and
46 deletions
package-lock.json
src/api/profitManagement.js
src/views/index/app.vue
src/views/profitManagement/profitList/index.vue
src/views/userManegement/userList/app.js
src/views/userManegement/userList/index.vue
src/views/withdrawalManagement/withdrawalList/app.js
src/views/withdrawalManagement/withdrawalList/index.vue
package-lock.json
View file @
203cc6f
{
{
"name"
:
"
ubi-renewal
"
,
"name"
:
"
glsx-task
"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"lockfileVersion"
:
1
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"requires"
:
true
,
...
...
src/api/profitManagement.js
0 → 100644
View file @
203cc6f
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
}
src/views/index/app.vue
View file @
203cc6f
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
</div>
</div>
<ul>
<ul>
<li>
<li>
<a
href=
"../
insurance/customer
.html"
target=
"_self"
>
<a
href=
"../
profitManagement/profitList/index
.html"
target=
"_self"
>
客户名单管理列表
客户名单管理列表
11
</a>
</a>
</li>
</li>
<li>
<li>
...
...
src/views/profitManagement/profitList/index.vue
View file @
203cc6f
<
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
>
<
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
>
</
script
>
<
style
scoped
>
<
style
>
.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
>
</
style
>
src/views/userManegement/userList/app.js
deleted
100644 → 0
View file @
0705f8f
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
)
})
src/views/userManegement/userList/index.vue
deleted
100644 → 0
View file @
0705f8f
<
template
>
<div>
用户
</div>
</
template
>
<
script
>
export
default
{}
</
script
>
<
style
>
</
style
>
src/views/withdrawalManagement/withdrawalList/app.js
deleted
100644 → 0
View file @
0705f8f
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
)
})
src/views/withdrawalManagement/withdrawalList/index.vue
deleted
100644 → 0
View file @
0705f8f
<
template
>
<div>
收益
</div>
</
template
>
<
script
>
export
default
{}
</
script
>
<
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment