需求变更
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
</div>
|
||||
</ai-picker>
|
||||
</el-form-item>
|
||||
<el-form-item prop="visibleAreaId" style="width: 100%;" label="发布地区" :rules="[{required: true, message: '请选择地区', trigger: 'change'}]">
|
||||
<ai-area-select clearable @fullname="v => form.visibleAreaName = v" always-show :instance="instance" v-model="form.visibleAreaId" :disabled-level="disabledLevel"></ai-area-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="发布内容" prop="content" style="width: 100%;" :rules="[{required: true, message: '请输入发布内容', trigger: 'change'}]">
|
||||
<!-- <ai-editor v-model="form.content" :instance="instance"/> -->
|
||||
<el-input type="textarea" placeholder="请输入内容" v-model="form.content" rows="8" maxlength="500" :show-word-limit="true"></el-input>
|
||||
@@ -59,7 +62,10 @@
|
||||
form: {
|
||||
themeId: '',
|
||||
content: '',
|
||||
areaId: '',
|
||||
visibleAreaName: '',
|
||||
files: [],
|
||||
areaName: '',
|
||||
publishDepartName: '',
|
||||
publishDepartIdList: [],
|
||||
},
|
||||
@@ -79,6 +85,9 @@
|
||||
this.id = this.params.id
|
||||
this.getInfo(this.params.id)
|
||||
}
|
||||
this.form.visibleAreaId =this.user.info.areaId
|
||||
this.form.visibleAreaName =this.user.info.areaName
|
||||
this.disabledLevel = this.user.info.areaList.length
|
||||
this.getTalkList()
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user