|
@ -14,18 +14,10 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div class="btn" style="text-align: center;"> |
|
|
<div class="btn" style="text-align: center;"> |
|
|
<el-button |
|
|
<el-button type="primary" size="small" icon="el-icon-search" |
|
|
type="primary" |
|
|
@click="dosearch">查询</el-button> |
|
|
size="small" |
|
|
<el-button type="primary" size="small" icon="el-icon-refresh" |
|
|
icon="el-icon-search" |
|
|
@click="resetQuery">重置</el-button> |
|
|
@click="dosearch" |
|
|
|
|
|
>查询</el-button> |
|
|
|
|
|
<el-button |
|
|
|
|
|
type="primary" |
|
|
|
|
|
size="small" |
|
|
|
|
|
icon="el-icon-refresh" |
|
|
|
|
|
@click="resetQuery" |
|
|
|
|
|
>重置</el-button> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -36,7 +28,8 @@ |
|
|
<!-- End 项目列表头部 --> |
|
|
<!-- End 项目列表头部 --> |
|
|
<!-- Start 项目列表 --> |
|
|
<!-- Start 项目列表 --> |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<el-table v-loading="tableLoading" :data="dataList" border style="width: 100%" :row-style="{height: '40px'}"> |
|
|
<el-table v-loading="tableLoading" :data="dataList" border style="width: 100%" |
|
|
|
|
|
:row-style="{height: '40px'}"> |
|
|
<!-- <el-table-column fixed width="50" type="selection" align="center" /> --> |
|
|
<!-- <el-table-column fixed width="50" type="selection" align="center" /> --> |
|
|
<el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center" /> |
|
|
<el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center" /> |
|
|
<el-table-column label="操作" align="center" width="100"> |
|
|
<el-table-column label="操作" align="center" width="100"> |
|
@ -47,20 +40,15 @@ |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="是否禁用" align="center" width="140"> |
|
|
<el-table-column label="是否禁用" align="center" width="140"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-switch |
|
|
<el-switch v-model="scope.row.isEnable" active-text="可用" inactive-text="禁用" |
|
|
v-model="scope.row.isEnable" |
|
|
active-value="1" inactive-value="0" |
|
|
active-text="可用" |
|
|
@change="enableChange(scope.row.sid,scope.row.isEnable)" /> |
|
|
inactive-text="禁用" |
|
|
|
|
|
active-value="1" |
|
|
|
|
|
inactive-value="0" |
|
|
|
|
|
@change="enableChange(scope.row.sid,scope.row.isEnable)" |
|
|
|
|
|
/> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="name" label="提货点名称" align="center" width="200" /> |
|
|
<el-table-column prop="name" label="提货点名称" align="center" width="250" /> |
|
|
<!-- <el-table-column prop="code" label="提货点编号" align="center" /> --> |
|
|
<el-table-column prop="phone" label="联系电话" align="center" width="150" /> |
|
|
<el-table-column prop="phone" label="联系电话" align="center" width="120" /> |
|
|
|
|
|
<el-table-column prop="address" label="提货点地址" align="center" /> |
|
|
<el-table-column prop="address" label="提货点地址" align="center" /> |
|
|
|
|
|
<el-table-column prop="bankName" label="所属支行" width="250" align="center" /> |
|
|
<el-table-column prop="businessHours" label="营业时间" align="center" width="200" /> |
|
|
<el-table-column prop="businessHours" label="营业时间" align="center" width="200" /> |
|
|
<el-table-column prop="sort" label="排序" align="center" width="80" /> |
|
|
<el-table-column prop="sort" label="排序" align="center" width="80" /> |
|
|
</el-table> |
|
|
</el-table> |
|
@ -69,14 +57,8 @@ |
|
|
<div class="pages"> |
|
|
<div class="pages"> |
|
|
<div class="tit" /> |
|
|
<div class="tit" /> |
|
|
<!-- 翻页 --> |
|
|
<!-- 翻页 --> |
|
|
<pagination |
|
|
<pagination v-show="dataList.length > 0" :total="queryParams.total" :page.sync="queryParams.current" |
|
|
v-show="dataList.length > 0" |
|
|
:limit.sync="queryParams.size" class="pagination" @pagination="loadList" /> |
|
|
:total="queryParams.total" |
|
|
|
|
|
:page.sync="queryParams.current" |
|
|
|
|
|
:limit.sync="queryParams.size" |
|
|
|
|
|
class="pagination" |
|
|
|
|
|
@pagination="loadList" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -107,8 +89,7 @@ |
|
|
searchxianshitit: '显示查询条件', |
|
|
searchxianshitit: '显示查询条件', |
|
|
tableLoading: false, |
|
|
tableLoading: false, |
|
|
dataList: [], |
|
|
dataList: [], |
|
|
btnList: [ |
|
|
btnList: [{ |
|
|
{ |
|
|
|
|
|
type: 'primary', |
|
|
type: 'primary', |
|
|
size: 'small', |
|
|
size: 'small', |
|
|
icon: 'plus', |
|
|
icon: 'plus', |
|
@ -266,4 +247,3 @@ |
|
|
</script> |
|
|
</script> |
|
|
<style scoped> |
|
|
<style scoped> |
|
|
</style> |
|
|
</style> |
|
|
|
|
|
|
|
|