Commit f20fa7ae961f0b70dc966032aeadcf3ed18b4f5b
1 parent
137be4e2
搜索
Showing
1 changed file
with
22 additions
and
6 deletions
subPackages/treePage/treeFiles.vue
1 | <template> | 1 | <template> |
2 | <view class="container"> | 2 | <view class="container"> |
3 | <tui-form ref="form" :show-message="false" :model="formData" style="border-bottom: 1px solid #f5f4f4"> | 3 | <tui-form ref="form" :show-message="false" :model="formData" style="border-bottom: 1px solid #f5f4f4"> |
4 | - <tui-form-item arrow highlight prop="area" @click="pickerShow" label="归属单位"> | 4 | + <tui-form-item arrow highlight prop="companyId" @click="pickerShow" label="归属单位" > |
5 | <tui-input padding="0" :borderBottom="false" placeholder="请选择归属单位" disabled | 5 | <tui-input padding="0" :borderBottom="false" placeholder="请选择归属单位" disabled |
6 | - backgroundColor="transparent" v-model="formData.area"></tui-input> | 6 | + backgroundColor="transparent" v-model="formData.companyId"></tui-input> |
7 | </tui-form-item> | 7 | </tui-form-item> |
8 | - <tui-form-item prop="name" :bottom-border="false"> | ||
9 | - <tui-input padding="0" :borderBottom="false" placeholder="请输入道路" maxlength="20" | ||
10 | - v-model="formData.roadName" @confirm="searchChange"></tui-input> | 8 | + <tui-form-item prop="roadName" :bottom-border="false" label="道路名称"> |
9 | +<!-- <tui-input padding="0" :borderBottom="false" placeholder="请输入道路" maxlength="20" :clearable="true" :backgroundColor="#f5f5f5" :inputBorder="true" :radius="30"--> | ||
10 | +<!-- v-model="formData.roadName" @confirm="searchChange" :left-icon="Search" >--> | ||
11 | +<!-- <slot :name="left">123</slot>--> | ||
12 | +<!-- </tui-input>--> | ||
13 | + | ||
14 | + <tui-input padding="0" :borderBottom="false" placeholder="请输入道路" maxlength="20" @confirm="searchChange" | ||
15 | + v-model="formData.roadName"> | ||
16 | +<!-- <template v-slot:left>--> | ||
17 | +<!-- <tui-icon name="search" :size="15" ></tui-icon>--> | ||
18 | +<!-- </template>--> | ||
19 | + </tui-input> | ||
20 | + <template v-slot:right> | ||
21 | + <tui-form-button width="188rpx" height="64rpx" background="#f2f2f2" color="#5677fc" size="24" | ||
22 | + bold radius="12rpx">获取验证码</tui-form-button> | ||
23 | + </template> | ||
24 | + | ||
11 | </tui-form-item> | 25 | </tui-form-item> |
26 | + | ||
27 | + | ||
12 | </tui-form> | 28 | </tui-form> |
13 | 29 | ||
14 | <!-- <tui-row marginTop="10px" :gutter="5" class="full-height-row">--> | 30 | <!-- <tui-row marginTop="10px" :gutter="5" class="full-height-row">--> |
@@ -77,7 +93,7 @@ export default { | @@ -77,7 +93,7 @@ export default { | ||
77 | //道路 | 93 | //道路 |
78 | roadName: '', | 94 | roadName: '', |
79 | //归属单位 | 95 | //归属单位 |
80 | - area: '', | 96 | + companyId: '', |
81 | }, | 97 | }, |
82 | companyId: '',// 归属公司 | 98 | companyId: '',// 归属公司 |
83 | depts: [],// 归属班组 | 99 | depts: [],// 归属班组 |