Commit f627aa69 authored by zhangzhaohui's avatar zhangzhaohui

增加条件查询

parent 4b54de36
......@@ -2,12 +2,21 @@
<el-card shadow="never" class="aui-card--fill">
<div class="mod-dq__dqpersonel}">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<!-- <el-form-item>
<el-input v-model="dataForm.id" placeholder="id" clearable></el-input>
<el-form-item>
<el-input v-model="dataForm.name" placeholder="姓名" clearable></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="dataForm.idcard" placeholder="身份证号" clearable></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="dataForm.community" placeholder="社区" clearable></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="dataForm.address" placeholder="地址" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button @click="getDataList()">{{ $t('query') }}</el-button>
</el-form-item> -->
</el-form-item>
<el-form-item>
<el-button type="info" @click="exportHandle()">{{ $t('export') }}</el-button>
</el-form-item>
......
......@@ -44,10 +44,7 @@ export default {
],
address: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
remark: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
]
}
}
},
......
......@@ -3,7 +3,10 @@
<div class="mod-dq__dqregion}">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form-item>
<el-input v-model="dataForm.id" placeholder="id" clearable></el-input>
<el-input v-model="dataForm.community" placeholder="社区" clearable></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="dataForm.address" placeholder="详细地址" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button @click="getDataList()">{{ $t('query') }}</el-button>
......@@ -24,10 +27,10 @@
<el-table-column prop="community" label="社区" header-align="center" align="center"></el-table-column>
<el-table-column prop="address" label="详细地址" header-align="center" align="center"></el-table-column>
<el-table-column prop="remark" label="备注" header-align="center" align="center"></el-table-column>
<el-table-column prop="creator" label="创建者" header-align="center" align="center"></el-table-column>
<!-- <el-table-column prop="creator" label="创建者" header-align="center" align="center"></el-table-column>
<el-table-column prop="createDate" label="创建时间" header-align="center" align="center"></el-table-column>
<el-table-column prop="updater" label="更新者" header-align="center" align="center"></el-table-column>
<el-table-column prop="updateDate" label="更新时间" header-align="center" align="center"></el-table-column>
<el-table-column prop="updateDate" label="更新时间" header-align="center" align="center"></el-table-column> -->
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150">
<template slot-scope="scope">
<el-button v-if="$hasPermission('dq:dqregion:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>
......@@ -65,7 +68,8 @@ export default {
deleteIsBatch: true
},
dataForm: {
id: ''
community: '',
address: ''
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment