You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.6 KiB
53 lines
1.6 KiB
<template>
|
|
<div class="container" style="padding: 0px 20px">
|
|
<!--查询-->
|
|
<div>
|
|
<div ref="lxHeader">
|
|
<lx-header icon="md-apps" text="长护险经办人管理" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
<div slot="content"></div>
|
|
<slot>
|
|
<div>
|
|
<Input style="width: 200px; margin-right: 10px" placeholder="关键字搜索" />
|
|
<Button type="primary" style="margin-left: 10px">查询</Button>
|
|
<Button type="primary" style="margin-left: 10px" @click="isShowAdd = true">创建长护险经办人</Button>
|
|
</div>
|
|
</slot>
|
|
</lx-header>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 表格-->
|
|
<xy-table :list="list" :table-item="tableItem" @delClick="del"></xy-table>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
isShowAdd:false,
|
|
tableItem:[
|
|
{
|
|
prop:"name",
|
|
label:"姓名"
|
|
},
|
|
{
|
|
prop:"mobile",
|
|
label:"电话"
|
|
}
|
|
],
|
|
list:JSON.parse('{"status":1,"data":{"rows":[{"id":1,"name":"\u5434\u5a1f\u82ac","mobile":"18550337240","idcard":142,"idcard_back":143,"created_at":"2021-12-16T13:36:18.000000Z","updated_at":"2021-12-16T13:36:18.000000Z","deleted_at":null},{"id":2,"name":"\u82cf\u4eba\u4eba","mobile":"18550337000","idcard":144,"idcard_back":145,"created_at":"2021-12-16T13:36:48.000000Z","updated_at":"2021-12-16T13:36:48.000000Z","deleted_at":null}],"pager":""}}').data.rows
|
|
}
|
|
},
|
|
methods: {
|
|
del(row){
|
|
console.log(row)
|
|
}
|
|
},
|
|
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
</style>
|