Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-equity
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 943a0449
authored
Mar 31, 2021
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日期传参形式,提交返回,批量提交picker值绑定,提交失败和成功提示
1 parent
84b1b65a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
13 deletions
src/views/customer/collectionManagement/index.vue
src/views/customer/newEquityCard/index.vue
src/views/customer/rightsCardManagement/index.vue
src/views/customer/collectionManagement/index.vue
View file @
943a044
This diff is collapsed.
Click to expand it.
src/views/customer/newEquityCard/index.vue
View file @
943a044
<!-- -->
<!-- -->
<
template
>
<
template
>
<div
class=
"container"
>
<el-form
<el-form
:model=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
:rules=
"rules"
...
@@ -133,12 +134,14 @@
...
@@ -133,12 +134,14 @@
<div
class=
"buttonContainer"
>
<div
class=
"buttonContainer"
>
<el-button
size=
"middle"
>
取消
</el-button>
<el-button
size=
"middle"
>
取消
</el-button>
<el-button
<el-button
:plain=
"true"
size=
"middle"
size=
"middle"
type=
"primary"
@
click=
"jump"
@
click=
"jump"
type=
"primary"
>
提交
</el-button>
>
提交
</el-button>
</div>
</div>
</el-form>
</el-form>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -235,6 +238,7 @@ export default {
...
@@ -235,6 +238,7 @@ export default {
// creditInstallment: this.ruleForm.creditInstallment + '',
// creditInstallment: this.ruleForm.creditInstallment + '',
// meiTuan: this.ruleForm.meiTuan + ''
// meiTuan: this.ruleForm.meiTuan + ''
// }
// }
}
}
if
(
this
.
ruleForm
.
currencyCheckbox
)
{
if
(
this
.
ruleForm
.
currencyCheckbox
)
{
...
@@ -279,10 +283,19 @@ export default {
...
@@ -279,10 +283,19 @@ export default {
equityItemJson
:
JSON
.
stringify
(
equityItemJson
)
equityItemJson
:
JSON
.
stringify
(
equityItemJson
)
})
})
}
}
insertMemberCardDefineRf
(
params
).
then
((
res
)
=>
{
insertMemberCardDefineRf
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
>
0
)
{
window
.
history
.
go
(
-
1
)
}
else
{
this
.
$message
({
message
:
'增添失败!'
,
type
:
'error'
})
})
}
}
})
}
// inableInpution(checkStatus, inputStatus) {
// inableInpution(checkStatus, inputStatus) {
// this[inputStatus] = !this[checkStatus]
// this[inputStatus] = !this[checkStatus]
...
@@ -301,6 +314,10 @@ export default {
...
@@ -301,6 +314,10 @@ export default {
margin
:
0
;
margin
:
0
;
border
:
0
;
border
:
0
;
}
}
.container
{
overflow-y
:
scroll
;
height
:
900px
;
}
.itemContainer
{
.itemContainer
{
margin-left
:
20px
;
margin-left
:
20px
;
margin-top
:
20px
;
margin-top
:
20px
;
...
...
src/views/customer/rightsCardManagement/index.vue
View file @
943a044
...
@@ -77,16 +77,12 @@ export default {
...
@@ -77,16 +77,12 @@ export default {
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'status'
prop
:
'status'
,
// formatter: (cellValue) => {
formatter
:
(
cellValue
)
=>
{
// return {
return
{
// 0: '进行中',
1
:
'正常'
,
// 1: '未完成',
}[
cellValue
.
status
]
// 2: '已过期',
}
// 3: '线下关闭',
// 4: '线上关闭'
// }[cellValue.status]
// }
},
},
{
{
...
@@ -104,7 +100,8 @@ export default {
...
@@ -104,7 +100,8 @@ export default {
},
},
methods
:
{
methods
:
{
addCard
()
{
addCard
()
{
window
.
location
.
href
=
'http://glsx-oss-equity2.frontend.test.glsx.com.cn/customer/newEquityCard.html'
// window.location.href = 'http://glsx-oss-equity2.frontend.test.glsx.com.cn/customer/newEquityCard.html'
window
.
location
.
href
=
'http://192.168.1.158:8085/customer/newEquityCard.html'
}
}
// handleEdit() {
// handleEdit() {
...
...
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