|
|
@ -9,8 +9,8 @@ |
|
|
|
<image :src="imgUrl" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="form"> |
|
|
|
<view class="form-item"> |
|
|
|
<mySelect :value="FormData.tenantName" @click.native="show=true" placeholder="请选择服务地区"/> |
|
|
|
<view class="form-item" @click.native="tenantClick"> |
|
|
|
<mySelect :value="FormData.tenantName" placeholder="请选择服务地区"/> |
|
|
|
</view> |
|
|
|
<view class="form-item"> |
|
|
|
<view class="inputBox my"> |
|
|
@ -33,7 +33,7 @@ |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<u-picker :show="show" :columns="columnsArea" keyName="name" @confirm="confirmArea" @cancel="show=false"></u-picker> |
|
|
|
<u-picker :show="show" :columns="columnsArea" keyName="name" @confirm="confirmArea" @cancel="show=false" @close="show=false"></u-picker> |
|
|
|
<u-action-sheet :actions="list" :title="title" :show="showRole" @select="selectClick" ></u-action-sheet> |
|
|
|
</view> |
|
|
|
</template> |
|
|
@ -65,6 +65,9 @@ |
|
|
|
this.tenantPageFn() |
|
|
|
this.roleObj = this.$store.state.user.vuex_role |
|
|
|
}, |
|
|
|
onPullDownRefresh() { |
|
|
|
this.tenantPageFn() |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
|
|
|
|
btnHighlight() { |
|
|
@ -73,6 +76,10 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
tenantClick() { |
|
|
|
if(!this.columnsArea.length) return this.$u.toast('没有获得服务地区,请下拉刷新重新加载') |
|
|
|
this.show = true |
|
|
|
}, |
|
|
|
selectClick(item) { |
|
|
|
this.showRole = false |
|
|
|
this.chooseIdentity(item.name) |
|
|
@ -103,7 +110,7 @@ |
|
|
|
status: 0 |
|
|
|
} |
|
|
|
const {data: res} = await tenantPage(obj) |
|
|
|
this.columnsArea.push(res.list) |
|
|
|
this.columnsArea = [res.list] |
|
|
|
console.log(res) |
|
|
|
}, |
|
|
|
// 是否选择协议 |
|
|
|