调查走访

This commit is contained in:
liuye
2022-11-22 14:43:06 +08:00
parent 69ba2ed10e
commit b3bff4dc02
2 changed files with 18 additions and 3 deletions

View File

@@ -7,7 +7,20 @@
<div class="header-middle">
<div class="currentLeft">
<!-- <div class="currentLeft-top">
<u-search v-model="keyword" :clearabled="true" placeholder="请输入标题、对象" :show-action="false" bg-color="#1F5CAF" search-icon-color="#E2E8F1" color="#E2E8F1" height="58" @search="handerSearch" @clear="handerClear"></u-search>
</div> -->
<div class="currentLeft-top">
<div class="left">
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #fff">
<img :src="$cdn + 'location.svg'" alt="" style="width: 18px; height: 18px; margin-right: 4px; vertical-align: middle" />
<span class="label" v-if="areaName">{{ areaName }}</span>
<span v-else>请选择</span>
<u-icon name="arrow-down" color="#fff" size="28" style="margin-left: 4px" />
</AiAreaPicker>
</div>
<u-search v-model="keyword" :clearabled="true" placeholder="请输入标题、对象" :show-action="false" bg-color="#1F5CAF" search-icon-color="#E2E8F1" color="#E2E8F1" height="58" @search="handerSearch" @clear="handerClear"></u-search>
</div>
@@ -128,6 +141,7 @@ export default {
current: this.current,
createUserId: this.currentTabs == 1 ? this.user.id : '',
title: this.keyword,
areaId: this.areaId
},
})
.then((res) => {

View File

@@ -11,12 +11,13 @@
<u-form-item label="走访对象" prop="name" required :right-icon="id ? '' : ''" class="create_user_names">
<!-- <u-input v-model="forms.name" disabled placeholder="请选择走访对象" @click="toWalkObject" /> -->
<AiPagePicker single @select="handleSelectUser" type="resident" style="width:100%;text-align:right;">
<!-- <AiPagePicker single @select="handleSelectUser" type="resident" style="width:100%;text-align:right;">
<AiMore v-model="forms.name"/>
</AiPagePicker>
</AiPagePicker> -->
<u-input v-model="forms.name" type="text" placeholder="请输入" input-align="right" maxlength="6" />
</u-form-item>
<u-form-item label="联系方式" prop="phone" required class="realitys">
<u-input v-model="forms.phone" type="number" placeholder="请输入" input-align="right" />
<u-input v-model="forms.phone" type="number" placeholder="请输入" input-align="right" maxlength="11" />
</u-form-item>
<div class="line"></div>