|
|
@ -3,21 +3,21 @@ |
|
|
|
<!-- <el-card class="resi-card"> --> |
|
|
|
<div> |
|
|
|
|
|
|
|
<el-form :inline="true" :label-width="'100px'" class="header_form_box" v-for="(item, index) in sliceList(itemList, 4)" :class="boxHeight?'setFormBoxHeightAuto':'setFormBoxHeight'" |
|
|
|
<el-form :inline="true" |
|
|
|
:label-width="'110px'" |
|
|
|
class="header_form_box" |
|
|
|
v-for="(item, index) in sliceList(itemList, 4)" |
|
|
|
:class="boxHeight?'setFormBoxHeightAuto':'setFormBoxHeight'" |
|
|
|
:key="index"> |
|
|
|
<el-form-item v-for="n in item" |
|
|
|
:key="n.id" |
|
|
|
:span="computdSpan(item.length)" |
|
|
|
class="margin0" |
|
|
|
> |
|
|
|
<div class="resi-cell"> |
|
|
|
<div class="resi-cell-label" |
|
|
|
:class="item.length != 4 && 'resi-cell-label1'">{{ n.label }}:</div> |
|
|
|
<div class="resi-cell-value" |
|
|
|
:class="n.itemType === 'radio' && 'resi-cell-value-radio'"> |
|
|
|
:label="n.label" |
|
|
|
class="margin0"> |
|
|
|
|
|
|
|
<el-input v-if="n.itemType === 'input' || n.itemType === 'textarea'" |
|
|
|
v-model.trim="form[n.columnName]" |
|
|
|
class="resi-cell-input" |
|
|
|
class="item_width_normal" |
|
|
|
size="small" |
|
|
|
clearable |
|
|
|
placeholder="请输入内容"> |
|
|
@ -43,14 +43,14 @@ |
|
|
|
range-separator="至" |
|
|
|
start-placeholder="开始日期" |
|
|
|
end-placeholder="结束日期" |
|
|
|
class="resi-cell--daterange" |
|
|
|
class="item_width_daterange2" |
|
|
|
size="small" |
|
|
|
format="yyyy-MM-dd" |
|
|
|
value-format="yyyy-MM-dd"> |
|
|
|
</el-date-picker> |
|
|
|
<el-date-picker v-else |
|
|
|
v-model.trim="form[n.columnName]" |
|
|
|
class="resi-cell-input" |
|
|
|
class="item_width_normal" |
|
|
|
type="date" |
|
|
|
size="small" |
|
|
|
clearable |
|
|
@ -64,7 +64,7 @@ |
|
|
|
placeholder="请选择" |
|
|
|
size="small" |
|
|
|
clearable |
|
|
|
class="resi-cell-select" |
|
|
|
class="item_width_normal" |
|
|
|
:collapse-tags="n.multiSelect == 1 ? true : false" |
|
|
|
:multiple="n.multiSelect == 1 ? true : false"> |
|
|
|
<el-option v-for="item in n.options" |
|
|
@ -88,13 +88,14 @@ |
|
|
|
:label="ns.value">{{ns.label}}</el-checkbox> |
|
|
|
</el-checkbox-group> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="所属组织" prop="agencyIdArray"> |
|
|
|
<el-form-item label="所属组织" |
|
|
|
prop="agencyIdArray"> |
|
|
|
<el-cascader class="item_width_normal" |
|
|
|
ref="myCascader" |
|
|
|
size="small" |
|
|
|
v-model="agencyIdArray" |
|
|
|
:options="orgOptions" |
|
|
|
:props="orgOptionProps" |
|
|
@ -102,15 +103,15 @@ |
|
|
|
@change="handleChangeAgency"></el-cascader> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="所属房屋" prop="VILLAGE_ID"> |
|
|
|
<div class="resi-cell"> |
|
|
|
<div class="resi-cell-value"> |
|
|
|
<el-form-item label="所属房屋" |
|
|
|
prop="VILLAGE_ID"> |
|
|
|
|
|
|
|
<el-select v-model.trim="form.VILLAGE_ID" |
|
|
|
placeholder="请选择小区" |
|
|
|
size="small" |
|
|
|
filterable |
|
|
|
clearable |
|
|
|
class="resi-cell-select" |
|
|
|
class="item_width_communitycascader" |
|
|
|
@clear="handleClearVillage" |
|
|
|
@change="handleChangeV"> |
|
|
|
<el-option v-for="item in optionsV" |
|
|
@ -124,8 +125,8 @@ |
|
|
|
size="small" |
|
|
|
filterable |
|
|
|
clearable |
|
|
|
style="width: 120px;" |
|
|
|
class="resi-cell-select" |
|
|
|
style="margin-left:5px" |
|
|
|
class="item_width_buildcascader" |
|
|
|
:disabled="changeVDisabled" |
|
|
|
@clear="handleClearBuild" |
|
|
|
@change="handleChangeB"> |
|
|
@ -141,8 +142,8 @@ |
|
|
|
size="small" |
|
|
|
filterable |
|
|
|
clearable |
|
|
|
style="width: 120px;" |
|
|
|
class="resi-cell-select" |
|
|
|
style="margin-left:5px" |
|
|
|
class="item_width_buildcascader" |
|
|
|
@click="handleClearDan" |
|
|
|
@change="handleChangeD"> |
|
|
|
<el-option v-for="item in optionsD" |
|
|
@ -157,16 +158,15 @@ |
|
|
|
size="small" |
|
|
|
filterable |
|
|
|
clearable |
|
|
|
style="width: 120px;" |
|
|
|
class="resi-cell-select"> |
|
|
|
style="margin-left:5px" |
|
|
|
class="item_width_buildcascader"> |
|
|
|
<el-option v-for="item in optionsH" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
@ -191,19 +191,25 @@ |
|
|
|
class="resi-search"> |
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
<el-button type="primary" |
|
|
|
size="small" |
|
|
|
@click="handleSearch" plain>查询 </el-button> |
|
|
|
<el-button size="small" |
|
|
|
class="diy-button--blue" |
|
|
|
@click="handleSmartSearch">智能查询</el-button> |
|
|
|
<el-button style="margin-left:10px" |
|
|
|
size="small" |
|
|
|
type="primary" |
|
|
|
plain |
|
|
|
class="diy-button--white" |
|
|
|
@click="resetForm">重置</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button class="diy-button--blue" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
@click="handleSmartSearch">智能查询</el-button> |
|
|
|
<span class="font_color_blue" style="cursor:pointer;" @click="boxHeight = !boxHeight">{{boxHeight?'收起':'展开'}} <i :class="boxHeight?'el-icon-arrow-up':'el-icon-arrow-down'"></i></span> |
|
|
|
@click="handleSearch">查询 </el-button> |
|
|
|
|
|
|
|
<el-button style="margin-left:15px" |
|
|
|
size="small" |
|
|
|
class="div-table-button--blue" |
|
|
|
type="text" |
|
|
|
@click="boxHeight = !boxHeight">{{boxHeight?'收起':'展开'}}<i class="el-icon-arrow-down el-icon--right"></i></el-button> |
|
|
|
<!-- <span class="font_color_blue" |
|
|
|
style="cursor:pointer;" |
|
|
|
@click="boxHeight = !boxHeight">{{boxHeight?'收起':'展开'}} <i :class="boxHeight?'el-icon-arrow-up':'el-icon-arrow-down'"></i></span> --> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|