bug fixed

This commit is contained in:
cxc
2022-10-31 17:45:39 +08:00
parent fd5e278fa7
commit d2163317fe
31 changed files with 1946 additions and 443 deletions

View File

@ -3,13 +3,19 @@
ref="formRef"
:model="modelValue"
:rules="rules"
:disabled="!isAdd"
:label-width="labelWidth + 'px'"
>
<div class="form_title" v-if="showTitle">基本信息</div>
<el-row>
<el-col :span="24">
<el-form-item :label="imageName" prop="image">
<ImageUpload v-model="modelValue.image" :fileSize="2" :limit="1" />
<ImageUpload
:disabled="!isAdd"
v-model="modelValue.image"
:fileSize="2"
:limit="1"
/>
</el-form-item>
</el-col>
</el-row>
@ -129,6 +135,7 @@
</el-row> -->
<CityOptions
:disabled="!isAdd"
v-model="modelValue"
:labelWidth="labelWidth"
ref="cityFormRef"
@ -203,12 +210,14 @@
</el-row>
<FieldOptions
:disabled="!isAdd"
v-model="modelValue"
:labelWidth="labelWidth"
ref="fieldFormRef"
/>
<InputBoxAdd
:disabled="!isAdd"
:labelWidth="labelWidth"
v-model="modelValue"
title="关键词"
@ -232,6 +241,7 @@
:labelWidth="labelWidth"
v-model="modelValue"
title="生产方向"
:disabled="!isAdd"
placeholder="请输入生产方向"
fieldKey="directions"
ref="directionsFormRef"
@ -273,7 +283,12 @@
type="textarea"
:autosize="{ minRows: 2, maxRows: 6 }"
/>
<WangEditor v-else v-model="modelValue.introduce" minHeight="150px" />
<WangEditor
:readOnly="!isAdd"
v-else
v-model="modelValue.introduce"
minHeight="150px"
/>
<!-- <Editor
v-else
v-model="modelValue.introduce"