| | |
| | | <div class="df_ac mb20"> |
| | | <el-input v-model="modalSearchValue" placeholder="请输入客户名称" class="w400" @keyup.enter.native="queryList"> |
| | | </el-input> |
| | | <el-button class="ml10" type="primary" @click="queryList()">查询</el-button> |
| | | <el-button class="ml10 mr10" type="primary" @click="queryList()">查询</el-button> |
| | | <el-button class="ml10" @click="clear()">重置</el-button> |
| | | <el-button class="ml10" type="primary" @click="$refs.operaYwCustomerWindow.open('新建客户')">新建客户</el-button> |
| | | </div> |
| | | <el-table ref="table" v-loading="listLoading" :data="list" element-loading-text="Loading" border fit |
| | | :header-row-class-name="'table-header'" class="doumee-element-table doumee-element-tableb" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <Pagination @size-change="handleSizeChange" @current-change="getList" :pagination="pagination" /> |
| | | <div style="text-align: right; margin-top: 15px;"> |
| | | <Pagination @size-change="handleSizeChange" @current-change="getList" :pagination="pagination" /> |
| | | </div> |
| | | </div> |
| | | <!-- 新建/修改 --> |
| | | <OperaYwCustomerWindow ref="operaYwCustomerWindow" @success="clear" /> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | |
| | | import { fetchList } from '@/api/customer' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaYwCustomerWindow from '@/views/client/components/OperaYwCustomerWindow' |
| | | export default { |
| | | components: { |
| | | Pagination, |
| | | GlobalWindow |
| | | GlobalWindow, |
| | | OperaYwCustomerWindow |
| | | }, |
| | | props: { |
| | | isShowChooseBtn: { |