|
@@ -33,7 +33,9 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
|
|
<el-form-item label="结算周期" prop="settleDay" :rules="[{ required: true, message: '请输入结算周期', trigger: ['blur', 'change'] }]">
|
|
<el-form-item label="结算周期" prop="settleDay" :rules="[{ required: true, message: '请输入结算周期', trigger: ['blur', 'change'] }]">
|
|
- <el-input v-model="form.settleDay" autocomplete="off" />
|
|
|
|
|
|
+ <el-input v-model="form.settleDay" autocomplete="off" >
|
|
|
|
+ <template v-slot:prepend>T</template>
|
|
|
|
+ </el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
|
|
@@ -41,6 +43,16 @@
|
|
<el-input v-model="form.maxPrice" autocomplete="off" />
|
|
<el-input v-model="form.maxPrice" autocomplete="off" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
|
|
+ <el-form-item label="项目热词" prop="hotWords" :rules="[{ required: true, message: '请输入项目热词', trigger: ['blur', 'change'] }]">
|
|
|
|
+ <el-input v-model="form.hotWords" autocomplete="off" placeholder="请输入热词使用英文逗号分割(最多5个)"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
|
|
+ <el-form-item label="视频教程" prop="videoUrl">
|
|
|
|
+ <el-input v-model="form.videoUrl" autocomplete="off" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
<el-form-item label="项目简介" prop="tips" :rules="[{ required: true, message: '请输入项目简介', trigger: ['blur', 'change'] }]">
|
|
<el-form-item label="项目简介" prop="tips" :rules="[{ required: true, message: '请输入项目简介', trigger: ['blur', 'change'] }]">
|
|
<el-input v-model="form.tips" clearable type="textarea" />
|
|
<el-input v-model="form.tips" clearable type="textarea" />
|
|
@@ -137,9 +149,7 @@ const state = reactive({
|
|
htmlVal: '',
|
|
htmlVal: '',
|
|
textVal: '',
|
|
textVal: '',
|
|
disable: false,
|
|
disable: false,
|
|
- }, numberValidateForm: {
|
|
|
|
- age: ''
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
})
|
|
})
|
|
const { form } = toRefs(state)
|
|
const { form } = toRefs(state)
|
|
|
|
|
|
@@ -212,6 +222,7 @@ const onCancel = () => {
|
|
// 确定
|
|
// 确定
|
|
const onSure = () => {
|
|
const onSure = () => {
|
|
state.form.detail = state.editor.htmlVal;
|
|
state.form.detail = state.editor.htmlVal;
|
|
|
|
+ state.form.detailText = state.editor.textVal;
|
|
|
|
|
|
formRef.value.validate(async (valid: boolean) => {
|
|
formRef.value.validate(async (valid: boolean) => {
|
|
if (!valid) return
|
|
if (!valid) return
|