2025-05-18
This commit is contained in:
@@ -98,6 +98,7 @@
|
||||
modelValue: {
|
||||
deep: true,
|
||||
handler(newVal) {
|
||||
console.log(newVal);
|
||||
this.form = { ...newVal };
|
||||
this.syncFormWithProps();
|
||||
}
|
||||
|
||||
@@ -7,10 +7,10 @@ export default {
|
||||
logout: '退出登录'
|
||||
},
|
||||
footer: {
|
||||
website: '官网',
|
||||
document: '文档',
|
||||
authorization: '授权',
|
||||
copyright: 'Copyright © 2022 武汉易云智科技有限公司'
|
||||
website: '',
|
||||
document: '',
|
||||
authorization: '',
|
||||
copyright: 'Copyright © 2022 好店云(厦门)科技有限公司'
|
||||
},
|
||||
logout: {
|
||||
title: '提示',
|
||||
|
||||
@@ -31,6 +31,38 @@
|
||||
</div>
|
||||
-->
|
||||
</el-form-item>
|
||||
<el-form-item label="官方售价:">
|
||||
<el-input
|
||||
clearable
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
v-model="form.price"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="置换补贴:">
|
||||
<el-input
|
||||
clearable
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
v-model="form.price_replacement"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="报废补贴:">
|
||||
<el-input
|
||||
clearable
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
v-model="form.price_crapping"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="优惠金额:">
|
||||
<el-input
|
||||
clearable
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
v-model="form.price_coupon"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="推广范围:" prop="">
|
||||
<regions-select
|
||||
v-model="form.provinceCity"
|
||||
@@ -41,6 +73,7 @@
|
||||
</el-form-item>
|
||||
<car-model-selector
|
||||
type="brandSeries"
|
||||
:model-value="form.selectedCar"
|
||||
v-model="form.selectedCar"
|
||||
@update:modelValue="handleCarChange"
|
||||
/>
|
||||
@@ -98,6 +131,40 @@
|
||||
>
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="年龄区间:">
|
||||
<el-input
|
||||
clearable
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
v-model="form.age_between"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="男性比例:">
|
||||
<el-input
|
||||
clearable
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
v-model="form.man_pre"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="购车券:">
|
||||
<el-input
|
||||
clearable
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
v-model="form.car_coupon"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="车型卖点:">
|
||||
<el-input
|
||||
clearable
|
||||
type="textarea"
|
||||
:maxlength="60"
|
||||
placeholder=""
|
||||
:rows="4"
|
||||
v-model="form.descript"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template v-slot:footer>
|
||||
<el-button @click="updateVisible(false)">取消</el-button>
|
||||
@@ -145,7 +212,16 @@
|
||||
brandId: null,
|
||||
seriesId: null,
|
||||
modelId: null
|
||||
}
|
||||
},
|
||||
price: '',
|
||||
price_replacement: '',
|
||||
price_crapping: '',
|
||||
price_coupon: '',
|
||||
man_pre: '',
|
||||
age_between: '',
|
||||
descript: '',
|
||||
promotion_text: [],
|
||||
car_coupon: ''
|
||||
};
|
||||
return {
|
||||
editVersion: false,
|
||||
@@ -190,10 +266,8 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log('333');
|
||||
listDictionaryData({ dictCode: 'crowdProfiling' }).then((data) => {
|
||||
this.crowdProfiling = data;
|
||||
console.log(this.crowdProfiling);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -66,6 +66,13 @@
|
||||
</el-button>
|
||||
</template>
|
||||
<!-- 状态列 -->
|
||||
<template v-slot:title="{ row }">
|
||||
<el-image
|
||||
style="width: 80px; height: 80px"
|
||||
:src="row.imgs[0]['url']"
|
||||
></el-image>
|
||||
{{ row.title }}
|
||||
</template>
|
||||
<template v-slot:status="{ row }">
|
||||
<el-switch
|
||||
:active-value="1"
|
||||
@@ -152,6 +159,7 @@
|
||||
{
|
||||
prop: 'title',
|
||||
label: '产品信息',
|
||||
slot: 'title',
|
||||
showOverflowTooltip: true,
|
||||
minWidth: 200
|
||||
},
|
||||
@@ -180,7 +188,7 @@
|
||||
{
|
||||
columnKey: 'action',
|
||||
label: '操作',
|
||||
width: 380,
|
||||
width: 150,
|
||||
align: 'center',
|
||||
resizable: false,
|
||||
slot: 'action'
|
||||
|
||||
Reference in New Issue
Block a user