好累~不想写小日记了
完成登记页面合并,完成办理业务页面改造,完成高级搜索功能,直接上代码,后端搜索接口还没写完,吐槽下avue框架,selectList不方便改数据~~
<template>
<basic-container>
<el-row :span="24">
<el-col :span="6">
<el-input
size="small"
v-focus
v-model="qrCodeContent"
@keyup.enter.native="event().toSearch()"
placeholder="请输搜索内容"
></el-input>
</el-col>
<el-col style="margin-left: 20px" :span="2">
<el-button
icon="el-icon-search"
type="primary"
@click="event().toSearch()"
size="small"
>搜索</el-button
>
</el-col>
<el-col :span="2">
<el-button
type="primary"
size="small"
round
plain
v-show="!superSearch"
icon="el-icon-arrow-left"
@click="toSuperSearch"
>高级搜索</el-button
>
<el-button
type="primary"
size="small"
round
v-show="superSearch"
icon="el-icon-arrow-down"
@click="toSuperSearch"
>高级搜索</el-button
>
</el-col>
</el-row>
<el-cow>
<el-col :span="6">
<div class="flex" v-if="superSearch">
<label for="">项目名称:</label>
<el-select
v-model="form.businessType"
size="small"
>
<el-option
v-for="(item, index) in conductions"
:key="index"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</div>
</el-col>
<el-col style="margin-left: 20px" :span="6">
<div class="flex" v-if="superSearch">
<label for="">楼栋名称:</label>
<el-select
v-model="form.businessType"
size="small"
>
<el-option
v-for="(item, index) in conductions"
:key="index"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</div>
</el-col>
<el-col style="margin-left: 20px" :span="6">
<div class="flex" v-if="superSearch">
<label for="">房间名称:</label>
<el-select
v-model="form.businessType"
size="small"
multiple
>
<el-option
v-for="(item, index) in conductions"
:key="index"
:value="item.value"
:label=