消息推送,详情页header
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
ref="form"
|
||||
:model="form"
|
||||
:rules="rules"
|
||||
label-width="80px"
|
||||
label-width="100px"
|
||||
style="width:514px"
|
||||
>
|
||||
<el-form-item label="企业全称">
|
||||
@ -131,11 +131,11 @@ export default {
|
||||
},
|
||||
optionList1: [
|
||||
{
|
||||
value: 1,
|
||||
value: 2,
|
||||
label: '地级市'
|
||||
},
|
||||
{
|
||||
value: 2,
|
||||
value: 3,
|
||||
label: '合肥区县'
|
||||
}
|
||||
],
|
||||
@ -161,7 +161,7 @@ export default {
|
||||
userInfo().then(({ data }) => {
|
||||
if (data) {
|
||||
data.addressType = data.addressType - 0;
|
||||
if (data.addressType == 1) {
|
||||
if (data.addressType == 2) {
|
||||
this.getType(true, data);
|
||||
} else {
|
||||
this.getCity(true, data);
|
||||
@ -199,7 +199,7 @@ export default {
|
||||
handleCity(e) {
|
||||
this.form.cityId = '';
|
||||
// 地级市
|
||||
if (e === 1) {
|
||||
if (e === 2) {
|
||||
this.getType(false);
|
||||
} else {
|
||||
this.getCity(false);
|
||||
@ -213,7 +213,7 @@ export default {
|
||||
if (edit) this.form = info;
|
||||
});
|
||||
},
|
||||
// 获取地级市
|
||||
// 获取区县
|
||||
getCity(edit, info) {
|
||||
getDictListByStatus({ type: 6 }).then(({ data }) => {
|
||||
this.optionList2 = data;
|
||||
@ -266,5 +266,8 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
/deep/.el-form-item__label {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user