Commit edd78e12 authored by 高宇's avatar 高宇

Merge remote-tracking branch 'origin/master'

parents 7d8b1db8 cbbf0af5
...@@ -726,6 +726,17 @@ export default { ...@@ -726,6 +726,17 @@ export default {
if (res.code === 200) { if (res.code === 200) {
this.enterpriseNotExist = false this.enterpriseNotExist = false
this.form = res.data this.form = res.data
if (this.form.address) {
// 转换地址
var province = this.form.address.slice(0, 4)
var city = this.form.address.slice(4, 8)
var area = this.form.address.slice(8, this.form.address.length)
var address = []
address.push(province)
address.push(city)
address.push(area)
this.address = address
}
this.form.fwEnterpriseOperateRelativeList = [ this.form.fwEnterpriseOperateRelativeList = [
{ {
year: '2022', year: '2022',
......
...@@ -172,8 +172,8 @@ ...@@ -172,8 +172,8 @@
:modal-append-to-body="false" :modal-append-to-body="false"
width="80%" width="80%"
> >
<el-form ref="addForm" :model="addForm"> <el-form class="add-form" ref="addForm" :model="addForm">
<el-form-item label="订阅区域" prop="address"> <el-form-item label="订阅区域:" prop="address">
<!--<el-cascader <!--<el-cascader
v-model="areaCode" v-model="areaCode"
placeholder="注册地区" placeholder="注册地区"
...@@ -185,9 +185,11 @@ ...@@ -185,9 +185,11 @@
clearable clearable
:options="addressInfo" :options="addressInfo"
/>--> />-->
<br>
{{ addressHeBei }} {{ addressHeBei }}
</el-form-item> </el-form-item>
<el-form-item label="订阅周期"> <el-form-item label="订阅周期:">
<br>
<el-date-picker <el-date-picker
v-model="time" v-model="time"
class="subscription-date-picker" class="subscription-date-picker"
...@@ -203,10 +205,11 @@ ...@@ -203,10 +205,11 @@
<el-form-item <el-form-item
v-for="(item, index) in addSubscriptionCheckbox" v-for="(item, index) in addSubscriptionCheckbox"
:key="index" :key="index"
:label="item.name" :label="item.name+':'"
class="checkbox-group-shell" class="checkbox-group-shell"
> >
<el-checkbox-group v-model="addForm.tabIdList"> <el-checkbox-group v-model="addForm.tabIdList">
<br>
<el-checkbox-button <el-checkbox-button
v-for="(childItem, childIndex) in item.childrenList" v-for="(childItem, childIndex) in item.childrenList"
:key="childIndex" :key="childIndex"
...@@ -221,6 +224,7 @@ ...@@ -221,6 +224,7 @@
<!--有行业小类时才显示--> <!--有行业小类时才显示-->
<el-form-item v-if="addSubscriptionIndustryCategory.length > 0" :label="keyword.industryCategory" class="checkbox-group-shell"> <el-form-item v-if="addSubscriptionIndustryCategory.length > 0" :label="keyword.industryCategory" class="checkbox-group-shell">
<el-checkbox-group v-model="addForm.tabIdList"> <el-checkbox-group v-model="addForm.tabIdList">
<br>
<el-checkbox-button <el-checkbox-button
v-for="(item, index) in addSubscriptionIndustryCategory" v-for="(item, index) in addSubscriptionIndustryCategory"
:key="index" :key="index"
...@@ -929,6 +933,34 @@ export default { ...@@ -929,6 +933,34 @@ export default {
} }
.policy-subscription-add-subscription-dialog { .policy-subscription-add-subscription-dialog {
::v-deep.el-dialog__body {
padding: 10px 25px 25px 5px;
}
::v-deep.el-form-item.el-form-item--small{
&:nth-of-type(1){
margin-bottom: 10px;
}
&:nth-of-type(2){
margin-top: 0px;
.el-form-item__content{
margin-top: 10px;
margin-bottom: 5px;
}
}
.el-checkbox-group{
.el-checkbox-button__inner{
border: 1px solid #1A78E5;
color: #1A78E5;
&:hover{
border: 1px solid #2662AD;
color: #2662AD;
}
}
.is-checked .el-checkbox-button__inner{
color: #FFFFFF;
}
}
}
.dialog-footer { .dialog-footer {
.el-button { .el-button {
width: 132px; width: 132px;
...@@ -936,11 +968,12 @@ export default { ...@@ -936,11 +968,12 @@ export default {
} }
} }
} }
// 添加订阅 多选样式 // 添加订阅 多选样式
.checkbox-group-shell { .checkbox-group-shell {
::v-deep.el-form-item__content { ::v-deep.el-form-item__content {
display: flex; display: flex;
line-height: 2px;
margin-top: 40px;
} }
.checkbox-button-content { .checkbox-button-content {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment