区域选择
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<span class="label"><span class="tips">*</span>类型</span>
|
<span class="label"><span class="tips">*</span>类型</span>
|
||||||
<div class="value" @click="selectClick('appSpecialTypeFive', 'userType')">
|
<div class="value" @click="selectClick('appSpecialTypeFive', 'userType')">
|
||||||
<span
|
<span
|
||||||
:class="form.userType === '' ? 'color-999' : ''" style="padding-left: 85px">{{
|
:class="form.userType === '' ? 'color-999' : ''" >{{
|
||||||
$dict.getLabel('appSpecialTypeFive', form.userType) || '请选择'
|
$dict.getLabel('appSpecialTypeFive', form.userType) || '请选择'
|
||||||
}}</span>
|
}}</span>
|
||||||
<u-icon name="arrow-right" color="#cccccc" size="14"/>
|
<u-icon name="arrow-right" color="#cccccc" size="14"/>
|
||||||
@@ -53,9 +53,9 @@
|
|||||||
<div class="item">
|
<div class="item">
|
||||||
<span class="label"><span class="tips">*</span>所属区域</span>
|
<span class="label"><span class="tips">*</span>所属区域</span>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<AiAreaPicker v-model="form.areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="form.areaName">
|
<AiAreaPicker v-model="form.areaId" @select="areaSelect" :fullName.sync="form.areaName" mode="custom" all>
|
||||||
<span class="label" v-if="form.areaName" style="padding-left: 80px">{{ form.areaName }}</span>
|
<span class="label" v-if="form.areaName" >{{ form.areaName }}</span>
|
||||||
<span v-else :class="form.areaName === '' ? 'color-999' : ''" style="padding-left: 85px">请选择</span>
|
<span v-else :class="form.areaName === '' ? 'color-999' : ''" >请选择</span>
|
||||||
<u-icon name="arrow-right" color="#cccccc" size="24" style="margin-left:4px;"/>
|
<u-icon name="arrow-right" color="#cccccc" size="24" style="margin-left:4px;"/>
|
||||||
</AiAreaPicker>
|
</AiAreaPicker>
|
||||||
</div>
|
</div>
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
<span class="label"><span class="tips"></span>所属网格</span>
|
<span class="label"><span class="tips"></span>所属网格</span>
|
||||||
<div class="value" @click="showGird=true">
|
<div class="value" @click="showGird=true">
|
||||||
<span
|
<span
|
||||||
:class="form.girdName === '' ? 'color-999' : ''" style="padding-left: 85px">{{
|
:class="form.girdName === '' ? 'color-999' : ''">{{
|
||||||
$dict.getLabel('appSpecialTypeFive', form.girdName) || '请选择'
|
$dict.getLabel('appSpecialTypeFive', form.girdName) || '请选择'
|
||||||
}}</span>
|
}}</span>
|
||||||
<u-icon name="arrow-right" color="#cccccc" size="24"/>
|
<u-icon name="arrow-right" color="#cccccc" size="24"/>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
||||||
<div class="value" @click="selectClick(item.dict, item.formDbName)">
|
<div class="value" @click="selectClick(item.dict, item.formDbName)">
|
||||||
<span
|
<span
|
||||||
:class="form[item.formDbName] === '' ? 'color-999' : ''" style="padding-left: 85px">{{
|
:class="form[item.formDbName] === '' ? 'color-999' : ''" >{{
|
||||||
$dict.getLabel(item.dict, form[item.formDbName]) || '请选择'
|
$dict.getLabel(item.dict, form[item.formDbName]) || '请选择'
|
||||||
}}</span>
|
}}</span>
|
||||||
<u-icon name="arrow-right" color="#cccccc" size="24"/>
|
<u-icon name="arrow-right" color="#cccccc" size="24"/>
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<div class="item" v-if="item.type == 'time'">
|
<div class="item" v-if="item.type == 'time'">
|
||||||
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
||||||
<div class="value" @click="selectTime(item.formDbName)">
|
<div class="value" @click="selectTime(item.formDbName)">
|
||||||
<span :class="form[item.formDbName] === '' ? 'color-999' : ''" style="padding-left: 85px">{{
|
<span :class="form[item.formDbName] === '' ? 'color-999' : ''" >{{
|
||||||
$dateFormat(form[item.formDbName], 'YYYY-MM-DD') || '请选择'
|
$dateFormat(form[item.formDbName], 'YYYY-MM-DD') || '请选择'
|
||||||
}}</span>
|
}}</span>
|
||||||
<u-icon name="arrow-right" color="#cccccc" size="24"/>
|
<u-icon name="arrow-right" color="#cccccc" size="24"/>
|
||||||
@@ -550,7 +550,6 @@ export default {
|
|||||||
.u-icon {
|
.u-icon {
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
vertical-align: center;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user