003fd38a by 任超

style:数据列表

1 parent 5ec970be
......@@ -20,17 +20,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table
:page-size="pageData.size"
@sort-change="handleSort"
:current-page.sync="pageData.current"
:total="pageData.total"
@selection-change="handleSelectionChange"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
<lb-table :page-size="pageData.size" @sort-change="handleSort" :current-page.sync="pageData.current"
:total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
</div>
......@@ -42,10 +34,10 @@ export default {
name: "sqcxjl",
components: {},
mixins: [table],
mounted() {
mounted () {
sendThis(this);
},
data() {
data () {
return {
queryForm: {
ywly: "",
......@@ -60,15 +52,15 @@ export default {
},
ywlys: datas.ywlys(),
tableData: {
columns: datas.columns(),
data: [
{
slsj: "2022-5-12",
cxbm: "111111111111",
},
{
slsj: "2022-5-13",
cxbm: "222222222222222",
},
],
},
......@@ -76,11 +68,11 @@ export default {
},
methods: {
// 初始化数据
fetchData() {},
handleSort(name, sort) {
fetchData () { },
handleSort (name, sort) {
console.log(name, sort);
},
openDialog() {
openDialog () {
console.log(999999999999999);
},
},
......
......@@ -16,72 +16,53 @@ class data extends filter {
width: '50'
},
{
prop: "ywly",
label: "业务来源",
prop: "cxly",
label: "查询来源",
},
{
prop: "lczt",
label: "流程状态",
prop: "cxlx",
label: "查询类型",
},
{
prop: "zbhj",
label: "在办环节",
},
{
prop: "ywh",
label: "业务号",
},
{
prop: "sqywmc",
label: "申请业务名称",
},
{
prop: "qlr",
label: "权利人",
label: "查询编号",
render: (h, scope) => {
return <el-button onClick={() => { vm.openDialog(scope) }} type="text">{scope.row.cxbm}</el-button>
}
},
{
prop: "ywr",
label: "义务人",
prop: "cxsj",
label: "查询时间",
},
{
prop: "zl",
label: "坐落",
prop: "slry",
label: "受理人员",
},
{
prop: "slsj",
label: "受理时间",
sortable: 'custom'
prop: "sqr",
label: "申请人",
},
{
prop: "slry",
label: "受理人员",
prop: "yqlrgx",
label: "与权利人的关系",
},
{
prop: "zrsj",
label: "转入时间",
sortable: 'custom'
prop: "qlr",
label: "权利人",
},
{
label: '操作',
width: '80',
align: 'center',
fixed: 'right',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.openDialog(scope) }}>编辑</el-button>
}
prop: "xcyt",
label: "查询用途",
}
]
}
ywlys(){
return[
ywlys () {
return [
{ value: 1, label: "办事大厅" },
{ value: 2, label: "微信小程序" },
{ value: 3, label: "法院端" },
{ value: 4, label: "银行端" },
]
}
}
}
let datas = new data()
export {
......