王露 3 лет назад
Родитель
Сommit
18950e2ace

+ 4
- 1
digital-park-web/digital-park/src/views/park-enterprises/components/OtherInfo.vue Просмотреть файл

:resize="isEditing ? 'vertical' : ' none'" :resize="isEditing ? 'vertical' : ' none'"
type="textarea" type="textarea"
maxlength="200" maxlength="200"
rows="4"
v-model="companyInfo.enterpriseAdvantage" v-model="companyInfo.enterpriseAdvantage"
></el-input> ></el-input>
<span v-else>--</span> <span v-else>--</span>
:resize="isEditing ? 'vertical' : ' none'" :resize="isEditing ? 'vertical' : ' none'"
type="textarea" type="textarea"
maxlength="200" maxlength="200"
rows="4"
v-model="companyInfo.enterpriseCulture" v-model="companyInfo.enterpriseCulture"
></el-input> ></el-input>
<span v-else>--</span> <span v-else>--</span>
type="textarea" type="textarea"
v-model="companyInfo.otherInfo" v-model="companyInfo.otherInfo"
maxlength="200" maxlength="200"
rows="4"
></el-input> ></el-input>
<span v-else>--</span> <span v-else>--</span>
</div> </div>
//生命周期 - 创建完成(可以访问当前this实例) //生命周期 - 创建完成(可以访问当前this实例)
created() { created() {
this.uploadFileList = this.companyInfo.enterpriseFeatures this.uploadFileList = this.companyInfo.enterpriseFeatures
? JSON.parse(this.companyInfo.enterpriseFeatures)
? this.companyInfo.enterpriseFeatures
: []; : [];
if (this.companyInfo.enterpriseFeatures) { if (this.companyInfo.enterpriseFeatures) {
this.uploadFileList.forEach(item => { this.uploadFileList.forEach(item => {

Загрузка…
Отмена
Сохранить