Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0dca2ef6
authored
Dec 24, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
售前
1 parent
19c5c979
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
246 additions
and
38 deletions
package-lock.json
src/views/beforeSale/editEquity.vue
vue.config.js
package-lock.json
deleted
100644 → 0
View file @
19c5c97
This diff could not be displayed because it is too large.
src/views/beforeSale/editEquity.vue
View file @
0dca2ef
...
@@ -29,24 +29,37 @@
...
@@ -29,24 +29,37 @@
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<!-- 客户信息 -->
<!-- 客户信息 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
<p
class=
"edit-title"
>
客户信息
</p>
<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>
<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>
<!-- 选择产品 -->
<!-- 选择产品 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
<p
class=
"edit-title"
>
选择产品
</p>
<p
class=
"edit-title"
>
选择产品
</p>
<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"
>
<glsx-combi-form
class=
"edit-form-container"
labelWidth=
"160px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormDataPro"
>
<
template
slot=
"packageCode"
slot-scope=
"scope"
>
<
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-group
class=
"package-code-box"
v-model=
"editForm[scope.scope.name]"
:disabled=
"scope.scope.isDisabled"
@
change=
"scope.scope.handleRadioChange"
>
...
@@ -82,11 +95,7 @@
...
@@ -82,11 +95,7 @@
</template>
</template>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
</div>
<!-- 其他信息 -->
<!-- 其他信息 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
...
@@ -94,27 +103,12 @@
...
@@ -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>
<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>
<!-- 店面信息 -->
<!-- 店面信息 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
<p
class=
"edit-title"
>
店面信息
</p>
<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>
<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>
<!-- 底部固定按钮 -->
<!-- 底部固定按钮 -->
<div
style=
"height: 78px"
></div>
<div
style=
"height: 78px"
></div>
<div
<div
...
@@ -141,7 +135,7 @@
...
@@ -141,7 +135,7 @@
<el-button v-show="!['3', '5'].includes(routeInfo.addOrEdit)" type="primary" @click="handleDraft">草稿</el-button>
<el-button v-show="!['3', '5'].includes(routeInfo.addOrEdit)" type="primary" @click="handleDraft">草稿</el-button>
<el-button type="default" @click="handleCancel">取消</el-button>
<el-button type="default" @click="handleCancel">取消</el-button>
</div> -->
</div> -->
<qrCode
phone=
"189 3890 7441"
:codeUrl=
"qrcodUrl"
></qrCode>
<qrCode
:bottom=
"320"
phone=
"189 3890 7441"
:codeUrl=
"qrcodUrl"
></qrCode>
</div>
</div>
</template>
</template>
...
@@ -412,6 +406,38 @@ export default {
...
@@ -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
:
{
editRuleOther
:
{
// suggestedSellingPrice: [{ required: true, message: '请输入建议销售价', trigger: 'change' }],
// suggestedSellingPrice: [{ required: true, message: '请输入建议销售价', trigger: 'change' }],
...
@@ -431,6 +457,7 @@ export default {
...
@@ -431,6 +457,7 @@ export default {
speAgree
:
[{
required
:
false
,
message
:
'请输入特别约定'
,
trigger
:
'change'
}],
speAgree
:
[{
required
:
false
,
message
:
'请输入特别约定'
,
trigger
:
'change'
}],
speContent
:
[{
required
:
false
,
message
:
'请输入约定内容'
,
trigger
:
'change'
}]
speContent
:
[{
required
:
false
,
message
:
'请输入约定内容'
,
trigger
:
'change'
}]
},
},
agreeList
:
[],
editFormDataOther
:
[
editFormDataOther
:
[
{
{
label
:
'设备号'
,
label
:
'设备号'
,
...
@@ -441,8 +468,12 @@ export default {
...
@@ -441,8 +468,12 @@ export default {
{
{
label
:
'特别约定'
,
label
:
'特别约定'
,
name
:
'speAgree'
,
name
:
'speAgree'
,
type
:
'input'
,
type
:
'select'
,
maxlength
:
100
noFilter
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'agreeList'
},
},
{
{
label
:
'约定内容'
,
label
:
'约定内容'
,
...
@@ -611,7 +642,9 @@ export default {
...
@@ -611,7 +642,9 @@ export default {
carTypeOptions
:
[]
carTypeOptions
:
[]
},
},
allCarChildList
:
[],
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 {
...
@@ -635,6 +668,7 @@ export default {
created
()
{
created
()
{
this
.
getAllVehicleBrand
()
this
.
getAllVehicleBrand
()
this
.
getCarChildList
(
false
,
true
)
this
.
getCarChildList
(
false
,
true
)
this
.
toTestProductData
()
},
},
mounted
()
{
mounted
()
{
...
@@ -660,6 +694,168 @@ export default {
...
@@ -660,6 +694,168 @@ export default {
},
},
methods
:
{
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
=
[])
{
setDisabled
(
partDisabledList
=
[])
{
var
list
=
[
'Car'
,
'User'
,
'Pro'
,
'Other'
]
var
list
=
[
'Car'
,
'User'
,
'Pro'
,
'Other'
]
var
flag
=
true
var
flag
=
true
...
@@ -1196,7 +1392,18 @@ export default {
...
@@ -1196,7 +1392,18 @@ export default {
border-bottom
:
1px
solid
#e7eaec
;
border-bottom
:
1px
solid
#e7eaec
;
margin
:
0
0
;
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
{
.before-sale
.edit-sub-title
{
position
:
relative
;
position
:
relative
;
font-size
:
13px
;
font-size
:
13px
;
...
...
vue.config.js
View file @
0dca2ef
...
@@ -3,11 +3,12 @@ const packageName = require('./package.json').name
...
@@ -3,11 +3,12 @@ const packageName = require('./package.json').name
const
node_env
=
process
.
env
.
NODE_ENV
===
'production'
const
node_env
=
process
.
env
.
NODE_ENV
===
'production'
const
publicPath
=
node_env
?
`/child/
${
packageName
}
/`
:
'/'
const
publicPath
=
node_env
?
`/child/
${
packageName
}
/`
:
'/'
const
resolve
=
dir
=>
path
.
join
(
__dirname
,
dir
)
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
=
{
const
cdn
=
{
//
css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`],
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`
],
//
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.1
3.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`
]
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.1
1.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
=
{
module
.
exports
=
{
outputDir
:
`../dist/
${
packageName
}
`
,
outputDir
:
`../dist/
${
packageName
}
`
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment