bug fixed

This commit is contained in:
cxc
2022-11-25 17:30:39 +08:00
parent 28808f6024
commit d4778207c7
38 changed files with 1623 additions and 623 deletions

View File

@ -181,7 +181,10 @@ watch(
() => modelValue.value.province,
(val) => {
console.log("changed province");
getCityListByProvinceId(val);
val && getCityListByProvinceId(val);
},
{
immediate: true,
}
);
@ -189,7 +192,10 @@ watch(
() => modelValue.value.city,
(val) => {
console.log("changed city");
getAreaListByCityId(val);
val && getAreaListByCityId(val);
},
{
immediate: true,
}
);
getProvinceList();

View File

@ -7,7 +7,8 @@
>
<div class="form_title" v-if="showTitle">基本信息</div>
<el-row v-if="isAdd">
<!-- <el-row v-if="isAdd"> -->
<el-row>
<el-col :span="24">
<el-form-item label="企业logo:">
<ImageUpload v-model="modelValue.image" :limit="1" />
@ -153,7 +154,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row v-if="isAdd">
<!-- <el-row v-if="isAdd">
<el-col :span="24">
<el-form-item label="营业执照:" prop="license">
<ImageUpload
@ -163,7 +164,7 @@
/>
</el-form-item>
</el-col>
</el-row>
</el-row> -->
<el-row>
<el-col :span="24">

View File

@ -173,13 +173,19 @@
<el-row>
<el-col :span="24">
<el-form-item label="个人简介:" prop="introduce">
<el-input
<!-- <el-input
v-model="modelValue.introduce"
placeholder="请输入研究方向、核心技术及产品、代表专利和论文、承担科研项目名称及项目摘要"
type="textarea"
:autosize="{ minRows: 16, maxRows: 20 }"
show-word-limit
/>
/> -->
<WangEditor
v-model="modelValue.introduce"
width="100%"
min-height="150px"
@blur="formRef.validateField(`introduce`)"
></WangEditor>
</el-form-item>
</el-col>
</el-row>