+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+ 重置
+
+
+
+
- 人行口门记录
+
-
@@ -50,6 +80,17 @@ export default {
page: 1,
limit: 20
},
+ searchForm: {
+ KEYWORDS: '',
+ GATE_STATUS: '',
+ REGION_BIANMA: '',
+ },
+ RegionList: [],
+ StatusList: [
+ { value: '0', label: '停用' },
+ { value: '1', label: '正常' },
+ { value: '2', label: '暂时关闭' }
+ ],
total: 0,
KEYWORDS: '',
varList: [],
@@ -67,6 +108,14 @@ export default {
getQuery() {
this.getList()
+ // this.hasButton()
+ this.getDict()
+ },
+ goKeyReset() {
+ this.searchForm.KEYWORDS = ''
+ this.searchForm.GATE_STATUS = ''
+ this.searchForm.REGION_BIANMA = ''
+ this.getList()
},
// 获取列表
getList() {
@@ -75,7 +124,7 @@ export default {
requestFN(
'/mkmjGateLog/peoplePage?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
{
-
+ ...this.searchForm
}
).then((data) => {
this.listLoading = false
@@ -88,21 +137,13 @@ export default {
},
getDict() {
- requestFN(
- '/corpinfo/getSelectByCorpInfo',
- {
- }
- ).then((data) => {
- this.corpList = JSON.parse(data.corpInfoJson)
- }).catch((e) => {
- })
requestFN(
'dictionaries/getLevels',
{
- DICTIONARIES_ID: '6bba977985f6427e9d0b52afe8884d1a'
+ DICTIONARIES_ID: '1c73fa2717f2835165104aee234caefe'
}
).then((data) => {
- this.typeData = data.list
+ this.RegionList = data.list
})
.catch((e) => {
this.listLoading = false