Commit 0dca2ef6 by 杨北旺

售前

1 parent 19c5c979
This diff could not be displayed because it is too large.
......@@ -29,64 +29,73 @@
</glsx-combi-form>
</div>
<!-- 客户信息 -->
<div class="container m-t-10">
<p class="edit-title">客户信息</p>
<glsx-combi-form class="edit-form-container" ref="editFormRefUser" labelWidth="160px" defaultWidth="320px" formRef="editChildRefUser" :formObj="editForm" :formData="editFormDataUser" :formRules="editRuleUser"></glsx-combi-form>
</div>
<!-- 选择产品 -->
<div class="container m-t-10">
<p class="edit-title">选择产品</p>
<glsx-combi-form class="edit-form-container" labelWidth="160px" defaultWidth="320px" :formObj="editForm" :formData="editFormDataPro">
<template slot="packageCode" slot-scope="scope">
<el-radio-group class="package-code-box" v-model="editForm[scope.scope.name]" :disabled="scope.scope.isDisabled" @change="scope.scope.handleRadioChange">
<el-radio class="package-code" v-for="subItem in scope.scope.optionList" :key="subItem[scope.scope.optionId]" :label="subItem[scope.scope.optionId]">
<span class="package-title">{{ subItem[scope.scope.optionLabel] }}</span>
<div class="radio-add-block" @click.stop.prevent="e => handleCancelBubble(e)">
<p class="package-subtitle">{{ subItem.serviceItems }}</p>
<div v-if="editForm.packageCode == subItem[scope.scope.optionId]">
<glsx-combi-form class="edit-form-container" ref="editFormRefPro" labelWidth="160px" defaultWidth="320px" formRef="editChildRefPro" :isBlock="isBlock" :formObj="editFormPro" :formData="subItem.editFormData" :formRules="editRulePro">
<template slot="table" slot-scope="scope">
<table class="table-style">
<tbody>
<tr>
<td v-for="(m, n) in scope.scope.attributeList" :key="n" :style="{ width: 100 / scope.scope.attributeList.length + '%' }">{{ m.attributeDesc }}</td>
</tr>
<tr v-for="(m, n) in scope.scope.tableList" :key="n">
<td v-for="(i, j) in m" :key="j" :style="{ width: 100 / scope.scope.attributeList.length + '%' }">
<el-input :disabled="i.isDisabled" :class="{ 'border-red': !editFormPro[i.name] }" placeholder="请输入" v-model="editFormPro[i.name]" :maxlength="i.maxlength">
<el-popover v-show="!editFormPro[i.name]" slot="suffix" placement="top" title="" width="90" trigger="hover" :content="i.attributeDesc + '是必填项'">
<i class="el-icon-warning color-red" slot="reference"></i>
</el-popover>
</el-input>
</td>
</tr>
</tbody>
</table>
</template>
</glsx-combi-form>
</div>
</div>
</el-radio>
</el-radio-group>
</template>
</glsx-combi-form>
</div>
<div class="edit_product_radio_wrap flex_sc">
<el-radio v-model="equityRadio" label="1">自选权益</el-radio>
<div style="width: 112px"></div>
<el-radio v-model="equityRadio" label="2">定制权益</el-radio>
</div>
<!-- 自选权益 -->
<div v-if="equityRadio == '1'" class="auto_widget">
<el-checkbox-group v-model="curSelectPro">
<div v-for="(item, index) in productList" :key="index" class="product_wrapper">
<el-checkbox :label="item.title"></el-checkbox>
<template v-for="(ele, indexs) in curSelectPro">
<div v-if="ele == item.title" :key="indexs" class="child_wrap">
<glsx-combi-form class="edit-form-container" ref="editProductFormRefPro" labelWidth="160px" defaultWidth="320px" formRef="editProductChildRefPro" :isBlock="isBlock" :formObj="editProductObj" :formData="item.childs" :formRules="item.rules"></glsx-combi-form>
</div>
</template>
</div>
</el-checkbox-group>
</div>
<!-- 定制权益 -->
<div v-if="equityRadio == '2'" class="auto_widget">
<glsx-combi-form class="edit-form-container" labelWidth="160px" defaultWidth="320px" :formObj="editForm" :formData="editFormDataPro">
<template slot="packageCode" slot-scope="scope">
<el-radio-group class="package-code-box" v-model="editForm[scope.scope.name]" :disabled="scope.scope.isDisabled" @change="scope.scope.handleRadioChange">
<el-radio class="package-code" v-for="subItem in scope.scope.optionList" :key="subItem[scope.scope.optionId]" :label="subItem[scope.scope.optionId]">
<span class="package-title">{{ subItem[scope.scope.optionLabel] }}</span>
<div class="radio-add-block" @click.stop.prevent="e => handleCancelBubble(e)">
<p class="package-subtitle">{{ subItem.serviceItems }}</p>
<div v-if="editForm.packageCode == subItem[scope.scope.optionId]">
<glsx-combi-form class="edit-form-container" ref="editFormRefPro" labelWidth="160px" defaultWidth="320px" formRef="editChildRefPro" :isBlock="isBlock" :formObj="editFormPro" :formData="subItem.editFormData" :formRules="editRulePro">
<template slot="table" slot-scope="scope">
<table class="table-style">
<tbody>
<tr>
<td v-for="(m, n) in scope.scope.attributeList" :key="n" :style="{ width: 100 / scope.scope.attributeList.length + '%' }">{{ m.attributeDesc }}</td>
</tr>
<tr v-for="(m, n) in scope.scope.tableList" :key="n">
<td v-for="(i, j) in m" :key="j" :style="{ width: 100 / scope.scope.attributeList.length + '%' }">
<el-input :disabled="i.isDisabled" :class="{ 'border-red': !editFormPro[i.name] }" placeholder="请输入" v-model="editFormPro[i.name]" :maxlength="i.maxlength">
<el-popover v-show="!editFormPro[i.name]" slot="suffix" placement="top" title="" width="90" trigger="hover" :content="i.attributeDesc + '是必填项'">
<i class="el-icon-warning color-red" slot="reference"></i>
</el-popover>
</el-input>
</td>
</tr>
</tbody>
</table>
</template>
</glsx-combi-form>
</div>
</div>
</el-radio>
</el-radio-group>
</template>
</glsx-combi-form>
</div>
</div>
<!-- 其他信息 -->
<div class="container m-t-10">
......@@ -94,27 +103,12 @@
<glsx-combi-form class="edit-form-container" ref="editFormRefOther" labelWidth="160px" defaultWidth="320px" formRef="editChildRefOther" :formObj="editForm" :formData="editFormDataOther" :formRules="editRuleOther"></glsx-combi-form>
</div>
<!-- 店面信息 -->
<div class="container m-t-10">
<p class="edit-title">店面信息</p>
<glsx-combi-form class="edit-form-container" ref="editFormRefShop" labelWidth="160px" defaultWidth="320px" formRef="editChildRefShop" :formObj="editForm" :formData="editFormDataShop" :formRules="editRuleShop"></glsx-combi-form>
</div>
<!-- 底部固定按钮 -->
<div style="height: 78px"></div>
<div
......@@ -141,7 +135,7 @@
<el-button v-show="!['3', '5'].includes(routeInfo.addOrEdit)" type="primary" @click="handleDraft">草稿</el-button>
<el-button type="default" @click="handleCancel">取消</el-button>
</div> -->
<qrCode phone="189 3890 7441" :codeUrl="qrcodUrl"></qrCode>
<qrCode :bottom="320" phone="189 3890 7441" :codeUrl="qrcodUrl"></qrCode>
</div>
</template>
......@@ -412,6 +406,38 @@ export default {
}
}
],
curSelectPro: [],
editProductObj: {},
productList: [
{
id: 1,
title: '盗抢全损无忧',
checked: false,
childs: [],
rules: []
},
{
id: 2,
title: '轮胎无忧',
checked: false,
childs: [],
rules: []
},
{
id: 3,
title: '整车全损无忧',
checked: false,
childs: [],
rules: []
},
{
id: 4,
title: '碰撞维修无忧',
checked: false,
childs: [],
rules: []
}
],
// 其他信息
editRuleOther: {
// suggestedSellingPrice: [{ required: true, message: '请输入建议销售价', trigger: 'change' }],
......@@ -431,6 +457,7 @@ export default {
speAgree: [{ required: false, message: '请输入特别约定', trigger: 'change' }],
speContent: [{ required: false, message: '请输入约定内容', trigger: 'change' }]
},
agreeList: [],
editFormDataOther: [
{
label: '设备号',
......@@ -441,8 +468,12 @@ export default {
{
label: '特别约定',
name: 'speAgree',
type: 'input',
maxlength: 100
type: 'select',
noFilter: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confName',
optionsName: 'agreeList'
},
{
label: '约定内容',
......@@ -611,7 +642,9 @@ export default {
carTypeOptions: []
},
allCarChildList: [],
qrcodUrl: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/beforesale_equity_code.png'
qrcodUrl: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/beforesale_equity_code.png',
// 权益类型
equityRadio: '1'
}
},
......@@ -635,6 +668,7 @@ export default {
created() {
this.getAllVehicleBrand()
this.getCarChildList(false, true)
this.toTestProductData()
},
mounted() {
......@@ -660,6 +694,168 @@ export default {
},
methods: {
// 模拟获取产品的数据
toTestProductData() {
let testArr = [
{
servicePackagePrices: [],
attachments: [],
serviceItemsList: [
{ serviceContent: '机动车因玻璃破碎导致的太阳膜损坏,经确认后,到店面获得玻璃太阳膜更换服务。', serviceCode: 'SC0018', serviceName: '玻璃太阳膜更换服务' },
{ serviceContent: '提供“加油、救援、餐饮、娱乐、出行、充值、游戏”等多种优惠于一体的服务,让车主一站式享受更多、更划算的增值服务。', serviceCode: 'SC0016', serviceName: '车主生活权益服务' },
{ serviceContent: '', serviceCode: 'SC0014', serviceName: '轮胎更换服务' },
{ serviceContent: '非车主故意行为导致机动车钥匙或车牌丢失,经确认后,到店面获得车辆钥匙或车牌重置服务。', serviceCode: 'SC0017', serviceName: '钥匙及车牌重置服务' },
{ serviceContent: '', serviceCode: 'SC0015', serviceName: '碰撞事故代步车服务' },
{ serviceContent: '', serviceCode: 'SC0013', serviceName: '整车全损无忧权益' }
],
packageType: 1,
templateUrl: 'E:\\需求文档\\SCRM售前需求\\优享版\\优享版1126.pdf',
packageCode: 'PC0010',
groupAttributeList: [
{ groupName: 'service_period', attributeList: [{ quantity: 1, attributeGroup: 'service_period', sort: 1, required: 1, attributeDesc: '服务期限', attributeType: 'select', attributeName: 'service_period', maxLength: 1 }], num: 1 },
{ groupName: 'buy_car_type', attributeList: [{ quantity: 1, attributeGroup: 'buy_car_type', sort: 1, required: 1, attributeDesc: '购车类型', attributeType: 'select', attributeName: 'buy_car_type', maxLength: 1 }], num: 1 },
{ groupName: 'special_appoint_id', attributeList: [{ quantity: 1, attributeGroup: 'special_appoint_id', sort: 1, required: 1, attributeDesc: '第一受益人', attributeType: 'input', attributeName: 'special_appoint_id', maxLength: 11 }], num: 1 },
{ groupName: 'additional_date', attributeList: [{ quantity: 1, attributeGroup: 'additional_date', sort: 1, required: 1, attributeDesc: '加装日期', attributeType: 'datePicker', attributeName: 'additional_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_price', attributeList: [{ quantity: 1, attributeGroup: 'additional_price', sort: 1, required: 1, attributeDesc: '加装件价格', attributeType: 'input', attributeName: 'additional_price', maxLength: 10 }], num: 1 },
{ groupName: 'actual_sales_price', attributeList: [{ quantity: 1, attributeGroup: 'actual_sales_price', sort: 1, required: 1, attributeDesc: '无忧保障服务费', attributeType: 'input', attributeName: 'actual_sales_price', maxLength: 10 }], num: 1 },
{ groupName: 'effective_date', attributeList: [{ quantity: 1, attributeGroup: 'effective_date', sort: 1, required: 1, attributeDesc: '生效日期', attributeType: 'datePicker', attributeName: 'effective_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_device_name', attributeList: [{ quantity: 1, attributeGroup: 'additional_device_name', sort: 1, required: 1, attributeDesc: '加装件名称', attributeType: 'input', attributeName: 'additional_device_name', maxLength: 14 }], num: 1 },
{ groupName: 'tireBrand', attributeList: [{ quantity: 1, attributeGroup: 'tireBrand', sort: 1, required: 1, attributeDesc: '轮胎品牌', attributeType: 'input', attributeName: 'tireBrand', maxLength: 10 }], num: 1 },
{ groupName: 'tireScale', attributeList: [{ quantity: 1, attributeGroup: 'tireScale', sort: 1, required: 1, attributeDesc: '规格型号', attributeType: 'input', attributeName: 'tireScale', maxLength: 10 }], num: 1 }
],
id: 11,
packageName: '优享版'
},
{
servicePackagePrices: [],
attachments: [],
serviceItemsList: [
{ serviceContent: '提供“加油、救援、餐饮、娱乐、出行、充值、游戏”等多种优惠于一体的服务,让车主一站式享受更多、更划算的增值服务。', serviceCode: 'SC0016', serviceName: '车主生活权益服务' },
{ serviceContent: '', serviceCode: 'SC0014', serviceName: '轮胎更换服务' },
{ serviceContent: '机动车在使用过程中,发生无明显碰撞痕迹的划痕,导致车身油漆的损失,经确认后,到店面获得补漆服务。', serviceCode: 'SC0019', serviceName: '车辆补漆服务' },
{ serviceContent: '非车主故意行为导致机动车钥匙或车牌丢失,经确认后,到店面获得车辆钥匙或车牌重置服务。', serviceCode: 'SC0017', serviceName: '钥匙及车牌重置服务' },
{ serviceContent: '', serviceCode: 'SC0015', serviceName: '碰撞事故代步车服务' },
{ serviceContent: '', serviceCode: 'SC0013', serviceName: '整车全损无忧权益' },
{ serviceContent: '机动车因玻璃破碎导致的太阳膜损坏,经确认后,到店面获得玻璃太阳膜更换服务。', serviceCode: 'SC0018', serviceName: '玻璃太阳膜更换服务' }
],
packageType: 1,
templateUrl: 'E:\\需求文档\\SCRM售前需求\\尊享版\\尊享版1126.pdf',
packageCode: 'PC0009',
groupAttributeList: [
{ groupName: 'service_period', attributeList: [{ quantity: 1, attributeGroup: 'service_period', sort: 1, required: 1, attributeDesc: '服务期限', attributeType: 'select', attributeName: 'service_period', maxLength: 1 }], num: 1 },
{ groupName: 'buy_car_type', attributeList: [{ quantity: 1, attributeGroup: 'buy_car_type', sort: 1, required: 1, attributeDesc: '购车类型', attributeType: 'select', attributeName: 'buy_car_type', maxLength: 1 }], num: 1 },
{ groupName: 'special_appoint_id', attributeList: [{ quantity: 1, attributeGroup: 'special_appoint_id', sort: 1, required: 1, attributeDesc: '第一受益人', attributeType: 'input', attributeName: 'special_appoint_id', maxLength: 11 }], num: 1 },
{ groupName: 'additional_date', attributeList: [{ quantity: 1, attributeGroup: 'additional_date', sort: 1, required: 1, attributeDesc: '加装日期', attributeType: 'datePicker', attributeName: 'additional_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_price', attributeList: [{ quantity: 1, attributeGroup: 'additional_price', sort: 1, required: 1, attributeDesc: '加装件价格', attributeType: 'input', attributeName: 'additional_price', maxLength: 10 }], num: 1 },
{ groupName: 'actual_sales_price', attributeList: [{ quantity: 1, attributeGroup: 'actual_sales_price', sort: 1, required: 1, attributeDesc: '无忧保障服务费', attributeType: 'input', attributeName: 'actual_sales_price', maxLength: 10 }], num: 1 },
{ groupName: 'effective_date', attributeList: [{ quantity: 1, attributeGroup: 'effective_date', sort: 1, required: 1, attributeDesc: '生效日期', attributeType: 'datePicker', attributeName: 'effective_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_device_name', attributeList: [{ quantity: 1, attributeGroup: 'additional_device_name', sort: 1, required: 1, attributeDesc: '加装件名称', attributeType: 'input', attributeName: 'additional_device_name', maxLength: 14 }], num: 1 },
{ groupName: 'tireBrand', attributeList: [{ quantity: 1, attributeGroup: 'tireBrand', sort: 1, required: 1, attributeDesc: '轮胎品牌', attributeType: 'input', attributeName: 'tireBrand', maxLength: 10 }], num: 1 },
{ groupName: 'tireScale', attributeList: [{ quantity: 1, attributeGroup: 'tireScale', sort: 1, required: 1, attributeDesc: '规格型号', attributeType: 'input', attributeName: 'tireScale', maxLength: 10 }], num: 1 }
],
id: 10,
packageName: '尊享版'
},
{
servicePackagePrices: [],
attachments: [],
serviceItemsList: [
{ serviceContent: '机动车因玻璃破碎导致的太阳膜损坏,经确认后,到店面获得玻璃太阳膜更换服务。', serviceCode: 'SC0018', serviceName: '玻璃太阳膜更换服务' },
{ serviceContent: '提供“加油、救援、餐饮、娱乐、出行、充值、游戏”等多种优惠于一体的服务,让车主一站式享受更多、更划算的增值服务。', serviceCode: 'SC0016', serviceName: '车主生活权益服务' },
{ serviceContent: '', serviceCode: 'SC0013', serviceName: '整车全损无忧权益' },
{ serviceContent: '非车主故意行为导致机动车钥匙或车牌丢失,经确认后,到店面获得车辆钥匙或车牌重置服务。', serviceCode: 'SC0017', serviceName: '钥匙及车牌重置服务' },
{ serviceContent: '', serviceCode: 'SC0014', serviceName: '轮胎更换服务' }
],
packageType: 1,
templateUrl: 'E:\\需求文档\\SCRM售前需求\\舒享版\\舒享版1126.pdf',
packageCode: 'PC0011',
groupAttributeList: [
{ groupName: 'service_period', attributeList: [{ quantity: 1, attributeGroup: 'service_period', sort: 1, required: 1, attributeDesc: '服务期限', attributeType: 'select', attributeName: 'service_period', maxLength: 1 }], num: 1 },
{ groupName: 'buy_car_type', attributeList: [{ quantity: 1, attributeGroup: 'buy_car_type', sort: 1, required: 1, attributeDesc: '购车类型', attributeType: 'select', attributeName: 'buy_car_type', maxLength: 1 }], num: 1 },
{ groupName: 'special_appoint_id', attributeList: [{ quantity: 1, attributeGroup: 'special_appoint_id', sort: 1, required: 1, attributeDesc: '第一受益人', attributeType: 'input', attributeName: 'special_appoint_id', maxLength: 11 }], num: 1 },
{ groupName: 'additional_date', attributeList: [{ quantity: 1, attributeGroup: 'additional_date', sort: 1, required: 1, attributeDesc: '加装日期', attributeType: 'datePicker', attributeName: 'additional_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_price', attributeList: [{ quantity: 1, attributeGroup: 'additional_price', sort: 1, required: 1, attributeDesc: '加装件价格', attributeType: 'input', attributeName: 'additional_price', maxLength: 10 }], num: 1 },
{ groupName: 'actual_sales_price', attributeList: [{ quantity: 1, attributeGroup: 'actual_sales_price', sort: 1, required: 1, attributeDesc: '无忧保障服务费', attributeType: 'input', attributeName: 'actual_sales_price', maxLength: 10 }], num: 1 },
{ groupName: 'effective_date', attributeList: [{ quantity: 1, attributeGroup: 'effective_date', sort: 1, required: 1, attributeDesc: '生效日期', attributeType: 'datePicker', attributeName: 'effective_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_device_name', attributeList: [{ quantity: 1, attributeGroup: 'additional_device_name', sort: 1, required: 1, attributeDesc: '加装件名称', attributeType: 'input', attributeName: 'additional_device_name', maxLength: 14 }], num: 1 },
{ groupName: 'tireBrand', attributeList: [{ quantity: 1, attributeGroup: 'tireBrand', sort: 1, required: 1, attributeDesc: '轮胎品牌', attributeType: 'input', attributeName: 'tireBrand', maxLength: 10 }], num: 1 },
{ groupName: 'tireScale', attributeList: [{ quantity: 1, attributeGroup: 'tireScale', sort: 1, required: 1, attributeDesc: '规格型号', attributeType: 'input', attributeName: 'tireScale', maxLength: 10 }], num: 1 }
],
id: 12,
packageName: '舒享版'
},
{
servicePackagePrices: [],
attachments: [],
serviceItemsList: [{ serviceContent: '', serviceCode: 'SC0012', serviceName: '盗抢全损无忧' }],
packageType: 2,
templateUrl: 'E:\\需求文档\\SCRM售前需求\\尊享版\\尊享版1126.pdf',
packageCode: 'PC0005',
groupAttributeList: [
{ groupName: 'service_period', attributeList: [{ quantity: 1, attributeGroup: 'service_period', sort: 1, required: 1, attributeDesc: '服务期限', attributeType: 'select', attributeName: 'service_period', maxLength: 1 }], num: 1 },
{ groupName: 'buy_car_type', attributeList: [{ quantity: 1, attributeGroup: 'buy_car_type', sort: 1, required: 1, attributeDesc: '购车类型', attributeType: 'select', attributeName: 'buy_car_type', maxLength: 1 }], num: 1 },
{ groupName: 'special_appoint_id', attributeList: [{ quantity: 1, attributeGroup: 'special_appoint_id', sort: 1, required: 1, attributeDesc: '第一受益人', attributeType: 'input', attributeName: 'special_appoint_id', maxLength: 11 }], num: 1 },
{ groupName: 'actual_sales_price', attributeList: [{ quantity: 1, attributeGroup: 'actual_sales_price', sort: 1, required: 1, attributeDesc: '无忧保障服务费', attributeType: 'input', attributeName: 'actual_sales_price', maxLength: 10 }], num: 1 },
{ groupName: 'effective_date', attributeList: [{ quantity: 1, attributeGroup: 'effective_date', sort: 1, required: 1, attributeDesc: '生效日期', attributeType: 'datePicker', attributeName: 'effective_date', maxLength: 1 }], num: 1 }
],
id: 5,
packageName: '盗抢全损无忧'
},
{
servicePackagePrices: [],
attachments: [],
description: '',
serviceItemsList: [{ serviceContent: '', serviceCode: 'SC0015', serviceName: '碰撞事故代步车服务' }],
packageType: 2,
templateUrl: 'E:\\需求文档\\SCRM售前需求\\尊享版\\尊享版1126.pdf',
packageCode: 'PC0008',
groupAttributeList: [
{ groupName: 'service_period', attributeList: [{ quantity: 1, attributeGroup: 'service_period', sort: 1, required: 1, attributeDesc: '服务期限', attributeType: 'select', attributeName: 'service_period', maxLength: 1 }], num: 1 },
{ groupName: 'actual_sales_price', attributeList: [{ quantity: 1, attributeGroup: 'actual_sales_price', sort: 1, required: 1, attributeDesc: '无忧保障服务费', attributeType: 'input', attributeName: 'actual_sales_price', maxLength: 10 }], num: 1 },
{ groupName: 'effective_date', attributeList: [{ quantity: 1, attributeGroup: 'effective_date', sort: 1, required: 1, attributeDesc: '生效日期', attributeType: 'datePicker', attributeName: 'effective_date', maxLength: 1 }], num: 1 }
],
id: 8,
packageName: '碰撞无忧权益'
},
{
servicePackagePrices: [],
attachments: [],
serviceItemsList: [{ serviceContent: '', serviceCode: 'SC0014', serviceName: '轮胎更换服务' }],
packageType: 2,
templateUrl: 'E:\\需求文档\\SCRM售前需求\\尊享版\\尊享版1126.pdf',
packageCode: 'PC0006',
groupAttributeList: [
{ groupName: 'service_period', attributeList: [{ quantity: 1, attributeGroup: 'service_period', sort: 1, required: 1, attributeDesc: '服务期限', attributeType: 'select', attributeName: 'service_period', maxLength: 1 }], num: 1 },
{ groupName: 'actual_sales_price', attributeList: [{ quantity: 1, attributeGroup: 'actual_sales_price', sort: 1, required: 1, attributeDesc: '无忧保障服务费', attributeType: 'input', attributeName: 'actual_sales_price', maxLength: 10 }], num: 1 },
{ groupName: 'effective_date', attributeList: [{ quantity: 1, attributeGroup: 'effective_date', sort: 1, required: 1, attributeDesc: '生效日期', attributeType: 'datePicker', attributeName: 'effective_date', maxLength: 1 }], num: 1 },
{ groupName: 'tireBrand', attributeList: [{ quantity: 1, attributeGroup: 'tireBrand', sort: 1, required: 1, attributeDesc: '轮胎品牌', attributeType: 'input', attributeName: 'tireBrand', maxLength: 10 }], num: 1 },
{ groupName: 'tireScale', attributeList: [{ quantity: 1, attributeGroup: 'tireScale', sort: 1, required: 1, attributeDesc: '规格型号', attributeType: 'input', attributeName: 'tireScale', maxLength: 10 }], num: 1 }
],
id: 6,
packageName: '轮胎保障服务权益'
},
{
servicePackagePrices: [],
attachments: [],
serviceItemsList: [{ serviceContent: '', serviceCode: 'SC0013', serviceName: '整车全损无忧权益' }],
packageType: 2,
templateUrl: 'E:\\需求文档\\SCRM售前需求\\尊享版\\尊享版1126.pdf',
packageCode: 'PC0007',
groupAttributeList: [
{ groupName: 'service_period', attributeList: [{ quantity: 1, attributeGroup: 'service_period', sort: 1, required: 1, attributeDesc: '服务期限', attributeType: 'select', attributeName: 'service_period', maxLength: 1 }], num: 1 },
{ groupName: 'buy_car_type', attributeList: [{ quantity: 1, attributeGroup: 'buy_car_type', sort: 1, required: 1, attributeDesc: '购车类型', attributeType: 'select', attributeName: 'buy_car_type', maxLength: 1 }], num: 1 },
{ groupName: 'special_appoint_id', attributeList: [{ quantity: 1, attributeGroup: 'special_appoint_id', sort: 1, required: 1, attributeDesc: '第一受益人', attributeType: 'input', attributeName: 'special_appoint_id', maxLength: 11 }], num: 1 },
{ groupName: 'additional_date', attributeList: [{ quantity: 1, attributeGroup: 'additional_date', sort: 1, required: 1, attributeDesc: '加装日期', attributeType: 'datePicker', attributeName: 'additional_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_price', attributeList: [{ quantity: 1, attributeGroup: 'additional_price', sort: 1, required: 1, attributeDesc: '加装件价格', attributeType: 'input', attributeName: 'additional_price', maxLength: 10 }], num: 1 },
{ groupName: 'actual_sales_price', attributeList: [{ quantity: 1, attributeGroup: 'actual_sales_price', sort: 1, required: 1, attributeDesc: '无忧保障服务费', attributeType: 'input', attributeName: 'actual_sales_price', maxLength: 10 }], num: 1 },
{ groupName: 'effective_date', attributeList: [{ quantity: 1, attributeGroup: 'effective_date', sort: 1, required: 1, attributeDesc: '生效日期', attributeType: 'datePicker', attributeName: 'effective_date', maxLength: 1 }], num: 1 },
{ groupName: 'additional_device_name', attributeList: [{ quantity: 1, attributeGroup: 'additional_device_name', sort: 1, required: 1, attributeDesc: '加装件名称', attributeType: 'input', attributeName: 'additional_device_name', maxLength: 14 }], num: 1 }
],
id: 7,
packageName: '整车全损无忧权益'
}
]
},
setDisabled(partDisabledList = []) {
var list = ['Car', 'User', 'Pro', 'Other']
var flag = true
......@@ -1196,7 +1392,18 @@ export default {
border-bottom: 1px solid #e7eaec;
margin: 0 0;
}
.edit_product_radio_wrap {
padding: 32px 0 0 73px;
}
.auto_widget {
padding: 0 0 32px 73px;
.product_wrapper {
margin-top: 16px;
.child_wrap {
padding: 16px 0;
}
}
}
.before-sale .edit-sub-title {
position: relative;
font-size: 13px;
......
......@@ -3,11 +3,12 @@ const packageName = require('./package.json').name
const node_env = process.env.NODE_ENV === 'production'
const publicPath = node_env ? `/child/${packageName}/` : '/'
const resolve = dir => path.join(__dirname, dir)
const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
// const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
const CDN_DOMAIN = 'https://img02.glsx.com.cn/'
const cdn = {
//css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`],
css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/theme-chalk/index.css`],
js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`]
css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`],
// css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/theme-chalk/index.css`],
js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`]
}
module.exports = {
outputDir: `../dist/${packageName}`,
......@@ -68,4 +69,4 @@ module.exports = {
})
.end()
}
}
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!