| | |
| | | <div class="search"> |
| | | <span>车辆搜索:</span> |
| | | <div class="option"> |
| | | <el-input @input="handleSearch" v-model="context" placeholder="请输入车牌号"></el-input> |
| | | <el-input v-model="context" placeholder="请输入车牌号"></el-input> |
| | | </div> |
| | | |
| | | <div class="findBtn"> |
| | | <el-button type="primary" @click="handleSearch">查询</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="addCar"> |
| | |
| | | </el-table-column> |
| | | <el-table-column :prop="mystatus ===1 ? 'ownerName':'carOwner'" label="车主姓名" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column :prop="mystatus ===1 ? 'vehicleUser' : 'carUser'" label="车辆使用人员" min-width="10"> |
| | | <el-table-column v-if="mystatus ===2" :prop="mystatus ===1 ? 'vehicleUser' : 'carUser'" label="车辆使用人员" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column :prop="mystatus ===1 ? 'contact' : 'phone' " label="联系方式" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column :prop="mystatus===1 ? 'belong' : 'geographicPosition'" :label="mystatus === 1 ? '所属部门':'施工地址'" min-width="10"> |
| | | <el-table-column :prop="mystatus===1 ? 'pdepartName' : 'geographicPosition'" :label="mystatus === 1 ? '所属部门':'施工地址'" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column :prop="mystatus===1 ? 'depart' : 'constructionOrg'" :label="mystatus === 1 ? '所属大队' : '施工单位'" min-width="10"> |
| | | <el-table-column :prop="mystatus===1 ? 'departName' : 'constructionOrg'" :label="mystatus === 1 ? '所属大队' : '施工单位'" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="operation" label="操作" min-width="20"> |
| | | <template slot-scope="scope"> |
| | | <div class="btn"> |
| | | <span @click="handleView(scope.row)">查看</span> |
| | | <span class="line">|</span> |
| | | <!-- <span @click="handleView(scope.row)">查看</span> |
| | | <span class="line">|</span> --> |
| | | <span @click="handleEdit(scope.row)">编辑</span> |
| | | <span class="line">|</span> |
| | | <span @click="handleDelete(scope.row)">删除</span> |