diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 3e3f399..3f1b4e1 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,7 +2,7 @@
diff --git a/src/views/record/index.vue b/src/views/record/index.vue
index 1de46e9..21cb39e 100644
--- a/src/views/record/index.vue
+++ b/src/views/record/index.vue
@@ -11,6 +11,9 @@
查询
+
+
+ 重置
新增
@@ -30,7 +33,17 @@
+ :table-item="table_item">
+
+
+
+
+
+ {{item.name}}
+
+
+
+
@@ -53,13 +66,13 @@
-
+
查看
- 编辑
-
+ 编辑
+
删除
@@ -107,19 +120,20 @@
catalogList: [],
table_item: [{
type: 'index',
- width: 50
+ width: 50,
+ fixed:'left'
}, {
prop: 'title',
label: '标题',
align: 'left',
width: 360
},
- // {
- // prop: 'catalog_name',
- // label: '所属目录',
- // align: 'center',
- // width: 120
- // },
+ {
+ prop: 'catalog_name',
+ label: '所属目录',
+ align: 'center',
+ width: 120
+ },
{
prop: 'area_name',
label: '区域',
@@ -196,6 +210,12 @@
this.select.page_size = e
this.select.page = 1
this.getList()
+ },
+ resetSearch(){
+ this.select.page = 1
+ this.select.title = ''
+ this.select.catalog_id = ''
+ this.getList()
},
async getList() {
const res = await index({
@@ -203,7 +223,9 @@
page: this.select.page,
table_name: this.select.table_name,
json_data_fields: ['files', 'area_ids', 'tag_ids', 'catalog_id'],
- is_auth: 1,
+ is_auth: 1,
+ sort_type:'DESC',
+ sort_name:'date',
filter: [{
"key": "title",
"op": "like",