Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
op-web-service
Commits
82333b53
Commit
82333b53
authored
Jun 18, 2021
by
mengwenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:life-no nomessage fixed
parent
2795f447
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
16 deletions
+62
-16
index.vue
src/pages/Life-no/index.vue
+62
-16
No files found.
src/pages/Life-no/index.vue
View file @
82333b53
...
...
@@ -2,7 +2,11 @@
<
template
>
<layout>
<div
class=
"life-no"
>
<el-form
:inline=
"true"
:model=
"formInline"
class=
"demo-form-inline"
>
<el-form
:inline=
"true"
:model=
"formInline"
class=
"demo-form-inline"
>
<el-form-item
label=
"生活号名称"
>
<el-input
class=
"search_life"
...
...
@@ -13,38 +17,74 @@
></el-input>
</el-form-item>
<el-form-item
label=
"类型"
>
<el-select
v-model=
"life_account.type"
placeholder=
"类型"
>
<el-option
value=
"0"
label=
"全部"
></el-option>
<el-option
value=
"1"
label=
"个人"
></el-option>
<el-option
value=
"2"
label=
"企业"
></el-option>
<el-select
v-model=
"life_account.type"
placeholder=
"类型"
>
<el-option
value=
"0"
label=
"全部"
></el-option>
<el-option
value=
"1"
label=
"个人"
></el-option>
<el-option
value=
"2"
label=
"企业"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSearchSubmit"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"onSearchSubmit"
>
查询
</el-button>
<el-button
@
click=
"onReset"
>
重置
</el-button>
</el-form-item>
</el-form>
<el-table
:data=
"LifeNoList"
border
style=
"width: 100%"
>
<el-table-column
prop=
"life_account_id"
label=
"ID"
>
</el-table-column>
<el-table-column
prop=
"life_account_name"
label=
"生活号名称"
>
<el-table
:data=
"LifeNoList"
border
style=
"width: 100%"
>
<el-table-column
prop=
"life_account_id"
label=
"ID"
>
</el-table-column>
<el-table-column
prop=
"life_account_name"
label=
"生活号名称"
>
</el-table-column>
<el-table-column
:formatter=
"hasTypeFormat"
label=
"类型"
>
<el-table-column
:formatter=
"hasTypeFormat"
label=
"类型"
>
</el-table-column>
<el-table-column
:formatter=
"hasStatusFormat"
label=
"状态"
>
<el-table-column
:formatter=
"hasStatusFormat"
label=
"状态"
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
>
</el-table-column>
<el-table-column
label=
"操作"
>
<template
#
default=
"scope"
>
<el-button
size=
"mini"
type=
"primary"
@
click
.
stop=
"toLifeDetail(scope.row)"
>
查看详情
</el-button
>
>
查看详情
</el-button>
</
template
>
</el-table-column>
</el-table>
<page
:totalNum=
"totalNum"
@
update=
"update"
/>
<page
:totalNum=
"totalNum"
@
update=
"update"
/>
</div>
</layout>
</template>
...
...
@@ -86,7 +126,13 @@ export default {
return
row
.
life_account_type
==
1
?
'个人'
:
'企业'
},
hasStatusFormat
(
row
)
{
return
row
.
life_account_status
==
1
?
'正常'
:
''
if
(
row
.
life_account_status
==
1
)
{
return
"正常"
;
}
else
if
(
row
.
life_account_status
==
3
)
{
return
"个人未认证"
;
}
else
{
return
""
;
}
},
//获取列表数据
getLifeNoListFn
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment