|
|
@ -19,6 +19,9 @@ |
|
|
|
<el-form-item label="常用配置:"> |
|
|
|
<el-input v-model="listQuery.params.configName" placeholder="" clearable class="filter-item"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="内部编码:"> |
|
|
|
<el-input v-model="listQuery.params.insideCode" placeholder="" clearable class="filter-item"/> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div class="btn" style="text-align: center"> |
|
|
|
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button> |
|
|
@ -30,11 +33,21 @@ |
|
|
|
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange"> |
|
|
|
<el-table-column width="50px" type="selection" align="center"/> |
|
|
|
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
|
<el-table-column label="车型编码" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.vehicleTypeCode }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车型" align="center" width="300"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.vehicleAlias }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="配置编码" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.configCode }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="常用配置" header-align="center" align="left"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.configName }}</span> |
|
|
@ -72,23 +85,22 @@ export default { |
|
|
|
isSearchShow: false, |
|
|
|
searchxianshitit: '隐藏查询条件', |
|
|
|
tableKey: 0, |
|
|
|
showbackState: 30, |
|
|
|
sids: [], |
|
|
|
list: [], |
|
|
|
number: '', |
|
|
|
listLoading: false, |
|
|
|
userOrgSid: '', |
|
|
|
listQuery: { |
|
|
|
current: 1, |
|
|
|
size: 10, |
|
|
|
size: 5, |
|
|
|
params: { |
|
|
|
vehicleAlias: '', |
|
|
|
configName: '', |
|
|
|
useOrgSid: '', |
|
|
|
vehicleStateValue: '库存', |
|
|
|
insideCode: '', |
|
|
|
sidList: [] |
|
|
|
}, |
|
|
|
total: 1 |
|
|
|
total: 0 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -105,7 +117,7 @@ export default { |
|
|
|
getPathSid() { |
|
|
|
const userSid = window.sessionStorage.getItem('userSid') |
|
|
|
getPathSidByUserSid({ userSid: userSid }).then((res) => { |
|
|
|
if (res.code === '200') { |
|
|
|
if (res.success) { |
|
|
|
this.listQuery.params.useOrgSid = res.data |
|
|
|
this.getList() |
|
|
|
} |
|
|
@ -133,17 +145,19 @@ export default { |
|
|
|
}, |
|
|
|
// 查询按钮 |
|
|
|
handleFilter() { |
|
|
|
this.listQuery.current = 1 |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
// 重置按钮 |
|
|
|
handresetting() { |
|
|
|
this.listQuery.current = 1 |
|
|
|
this.listQuery.size = 10 |
|
|
|
this.listQuery.size = 5 |
|
|
|
this.listQuery.total = 0 |
|
|
|
this.listQuery.params.vehicleAlias = '' |
|
|
|
this.listQuery.params.configName = '' |
|
|
|
this.listQuery.params.vehicleStateValue = '库存' |
|
|
|
this.listQuery.params.useOrgSid = this.userOrgSid |
|
|
|
this.listQuery.params.insideCode = '' |
|
|
|
this.getPathSid() |
|
|
|
}, |
|
|
|
handleSelectionChange(row) { |
|
|
|