Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
484826a5
authored
Aug 23, 2024
by
芋道源码
Committed by
Gitee
Aug 23, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!520 【优化】el-checkbox的label属性修改为value以兼容下个版本
Merge pull request !520 from 半栈幼儿员/hotfix/el-checkbox
parents
323e6197
70efcadc
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
38 additions
and
23 deletions
+38
-23
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
+3
-0
src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue
+8
-1
src/views/Login/components/SSOLogin.vue
+1
-1
src/views/crm/permission/components/PermissionForm.vue
+3
-3
src/views/crm/permission/components/TransferForm.vue
+3
-3
src/views/infra/codegen/components/ColumInfoForm.vue
+6
-6
src/views/mall/product/spu/form/DeliveryForm.vue
+1
-1
src/views/mall/promotion/rewardActivity/RewardForm.vue
+12
-7
src/views/mall/trade/config/index.vue
+1
-1
No files found.
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
View file @
484826a5
...
@@ -45,17 +45,20 @@
...
@@ -45,17 +45,20 @@
<el-checkbox
<el-checkbox
v-model=
"loopInstanceForm.asyncBefore"
v-model=
"loopInstanceForm.asyncBefore"
label=
"异步前"
label=
"异步前"
value=
"异步前"
@
change=
"updateLoopAsync('asyncBefore')"
@
change=
"updateLoopAsync('asyncBefore')"
/>
/>
<el-checkbox
<el-checkbox
v-model=
"loopInstanceForm.asyncAfter"
v-model=
"loopInstanceForm.asyncAfter"
label=
"异步后"
label=
"异步后"
value=
"异步后"
@
change=
"updateLoopAsync('asyncAfter')"
@
change=
"updateLoopAsync('asyncAfter')"
/>
/>
<el-checkbox
<el-checkbox
v-model=
"loopInstanceForm.exclusive"
v-model=
"loopInstanceForm.exclusive"
v-if=
"loopInstanceForm.asyncAfter || loopInstanceForm.asyncBefore"
v-if=
"loopInstanceForm.asyncAfter || loopInstanceForm.asyncBefore"
label=
"排除"
label=
"排除"
value=
"排除"
@
change=
"updateLoopAsync('exclusive')"
@
change=
"updateLoopAsync('exclusive')"
/>
/>
</el-form-item>
</el-form-item>
...
...
src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue
View file @
484826a5
...
@@ -6,13 +6,20 @@
...
@@ -6,13 +6,20 @@
<el-checkbox
<el-checkbox
v-model=
"taskConfigForm.asyncBefore"
v-model=
"taskConfigForm.asyncBefore"
label=
"异步前"
label=
"异步前"
value=
"异步前"
@
change=
"changeTaskAsync"
/>
<el-checkbox
v-model=
"taskConfigForm.asyncAfter"
label=
"异步后"
value=
"异步后"
@
change=
"changeTaskAsync"
@
change=
"changeTaskAsync"
/>
/>
<el-checkbox
v-model=
"taskConfigForm.asyncAfter"
label=
"异步后"
@
change=
"changeTaskAsync"
/>
<el-checkbox
<el-checkbox
v-model=
"taskConfigForm.exclusive"
v-model=
"taskConfigForm.exclusive"
v-if=
"taskConfigForm.asyncAfter || taskConfigForm.asyncBefore"
v-if=
"taskConfigForm.asyncAfter || taskConfigForm.asyncBefore"
label=
"排除"
label=
"排除"
value=
"排除"
@
change=
"changeTaskAsync"
@
change=
"changeTaskAsync"
/>
/>
</el-form-item>
</el-form-item>
...
...
src/views/Login/components/SSOLogin.vue
View file @
484826a5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<el-checkbox
<el-checkbox
v-for=
"scope in queryParams.scopes"
v-for=
"scope in queryParams.scopes"
:key=
"scope"
:key=
"scope"
:
label
=
"scope"
:
value
=
"scope"
style=
"display: block; margin-bottom: -10px"
style=
"display: block; margin-bottom: -10px"
>
>
{{
formatScope
(
scope
)
}}
{{
formatScope
(
scope
)
}}
...
...
src/views/crm/permission/components/PermissionForm.vue
View file @
484826a5
...
@@ -34,9 +34,9 @@
...
@@ -34,9 +34,9 @@
label=
"同时添加至"
label=
"同时添加至"
>
>
<el-checkbox-group
v-model=
"formData.toBizTypes"
>
<el-checkbox-group
v-model=
"formData.toBizTypes"
>
<el-checkbox
:
label
=
"BizTypeEnum.CRM_CONTACT"
>
联系人
</el-checkbox>
<el-checkbox
:
value
=
"BizTypeEnum.CRM_CONTACT"
>
联系人
</el-checkbox>
<el-checkbox
:
label
=
"BizTypeEnum.CRM_BUSINESS"
>
商机
</el-checkbox>
<el-checkbox
:
value
=
"BizTypeEnum.CRM_BUSINESS"
>
商机
</el-checkbox>
<el-checkbox
:
label
=
"BizTypeEnum.CRM_CONTRACT"
>
合同
</el-checkbox>
<el-checkbox
:
value
=
"BizTypeEnum.CRM_CONTRACT"
>
合同
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
src/views/crm/permission/components/TransferForm.vue
View file @
484826a5
...
@@ -38,9 +38,9 @@
...
@@ -38,9 +38,9 @@
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"bizType === BizTypeEnum.CRM_CUSTOMER"
label=
"同时转移"
>
<el-form-item
v-if=
"bizType === BizTypeEnum.CRM_CUSTOMER"
label=
"同时转移"
>
<el-checkbox-group
v-model=
"formData.toBizTypes"
>
<el-checkbox-group
v-model=
"formData.toBizTypes"
>
<el-checkbox
:
label
=
"BizTypeEnum.CRM_CONTACT"
>
联系人
</el-checkbox>
<el-checkbox
:
value
=
"BizTypeEnum.CRM_CONTACT"
>
联系人
</el-checkbox>
<el-checkbox
:
label
=
"BizTypeEnum.CRM_BUSINESS"
>
商机
</el-checkbox>
<el-checkbox
:
value
=
"BizTypeEnum.CRM_BUSINESS"
>
商机
</el-checkbox>
<el-checkbox
:
label
=
"BizTypeEnum.CRM_CONTRACT"
>
合同
</el-checkbox>
<el-checkbox
:
value
=
"BizTypeEnum.CRM_CONTRACT"
>
合同
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
src/views/infra/codegen/components/ColumInfoForm.vue
View file @
484826a5
...
@@ -37,26 +37,26 @@
...
@@ -37,26 +37,26 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"插入"
min-width=
"4%"
>
<el-table-column
label=
"插入"
min-width=
"4%"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-checkbox
v-model=
"scope.row.createOperation"
false-
label=
"false"
true-label
=
"true"
/>
<el-checkbox
v-model=
"scope.row.createOperation"
false-
value=
"false"
true-value
=
"true"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"编辑"
min-width=
"4%"
>
<el-table-column
label=
"编辑"
min-width=
"4%"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-checkbox
v-model=
"scope.row.updateOperation"
false-
label=
"false"
true-label
=
"true"
/>
<el-checkbox
v-model=
"scope.row.updateOperation"
false-
value=
"false"
true-value
=
"true"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"列表"
min-width=
"4%"
>
<el-table-column
label=
"列表"
min-width=
"4%"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-checkbox
<el-checkbox
v-model=
"scope.row.listOperationResult"
v-model=
"scope.row.listOperationResult"
false-
label
=
"false"
false-
value
=
"false"
true-
label
=
"true"
true-
value
=
"true"
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"查询"
min-width=
"4%"
>
<el-table-column
label=
"查询"
min-width=
"4%"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-checkbox
v-model=
"scope.row.listOperation"
false-
label=
"false"
true-label
=
"true"
/>
<el-checkbox
v-model=
"scope.row.listOperation"
false-
value=
"false"
true-value
=
"true"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"查询方式"
min-width=
"10%"
>
<el-table-column
label=
"查询方式"
min-width=
"10%"
>
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"允许空"
min-width=
"5%"
>
<el-table-column
label=
"允许空"
min-width=
"5%"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-checkbox
v-model=
"scope.row.nullable"
false-
label=
"false"
true-label
=
"true"
/>
<el-checkbox
v-model=
"scope.row.nullable"
false-
value=
"false"
true-value
=
"true"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"显示类型"
min-width=
"12%"
>
<el-table-column
label=
"显示类型"
min-width=
"12%"
>
...
...
src/views/mall/product/spu/form/DeliveryForm.vue
View file @
484826a5
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<el-checkbox
<el-checkbox
v-for=
"dict in getIntDictOptions(DICT_TYPE.TRADE_DELIVERY_TYPE)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.TRADE_DELIVERY_TYPE)"
:key=
"dict.value"
:key=
"dict.value"
:
label
=
"dict.value"
:
value
=
"dict.value"
>
>
{{
dict
.
label
}}
{{
dict
.
label
}}
</el-checkbox>
</el-checkbox>
...
...
src/views/mall/promotion/rewardActivity/RewardForm.vue
View file @
484826a5
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<el-form-item
label=
"优惠设置"
>
<el-form-item
label=
"优惠设置"
>
<template
v-for=
"(item, index) in formData.rules"
:key=
"index"
>
<template
v-for=
"(item, index) in formData.rules"
:key=
"index"
>
<el-row
type=
"flex"
>
<el-row
type=
"flex"
>
<el-col
:span=
"24"
style=
"
font-weight: bold; display: flex
"
>
<el-col
:span=
"24"
style=
"
display: flex; font-weight: bold
"
>
活动层级
{{
index
+
1
}}
活动层级
{{
index
+
1
}}
<el-button
<el-button
link
link
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
删除
删除
</el-button>
</el-button>
</el-col>
</el-col>
<e-form
:ref=
"'formRef' + index"
:model=
"item"
>
<e
l
-form
:ref=
"'formRef' + index"
:model=
"item"
>
<el-form-item
<el-form-item
label=
"优惠门槛:"
label=
"优惠门槛:"
prop=
"limit"
prop=
"limit"
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<el-form-item
label=
"优惠内容:"
label-width=
"100px"
style=
"padding-left: 50px"
>
<el-form-item
label=
"优惠内容:"
label-width=
"100px"
style=
"padding-left: 50px"
>
<el-checkbox-group
v-model=
"activityRules[index]"
style=
"width: 100%"
>
<el-checkbox-group
v-model=
"activityRules[index]"
style=
"width: 100%"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-checkbox
label=
"订单金额优惠"
name=
"type"
/>
<el-checkbox
label=
"订单金额优惠"
value=
"订单金额优惠"
name=
"type"
/>
<el-form-item
v-if=
"activityRules[index].includes('订单金额优惠')"
>
<el-form-item
v-if=
"activityRules[index].includes('订单金额优惠')"
>
减
减
<el-input
<el-input
...
@@ -77,10 +77,15 @@
...
@@ -77,10 +77,15 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-checkbox
v-model=
"item.freeDelivery"
label=
"包邮"
name=
"type"
/>
<el-checkbox
v-model=
"item.freeDelivery"
label=
"包邮"
value=
"包邮"
name=
"type"
/>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-checkbox
label=
"送积分"
name=
"type"
/>
<el-checkbox
label=
"送积分"
value=
"送积分"
name=
"type"
/>
<el-form-item
v-if=
"activityRules[index].includes('送积分')"
>
<el-form-item
v-if=
"activityRules[index].includes('送积分')"
>
送
送
<el-input
<el-input
...
@@ -95,11 +100,11 @@
...
@@ -95,11 +100,11 @@
<!-- 优惠券待处理 也可以参考优惠劵的SpuShowcase-->
<!-- 优惠券待处理 也可以参考优惠劵的SpuShowcase-->
<!-- TODO 待实现!-->
<!-- TODO 待实现!-->
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-checkbox
label=
"送优惠券"
name=
"type"
/>
<el-checkbox
label=
"送优惠券"
value=
"送优惠券"
name=
"type"
/>
</el-col>
</el-col>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
</e-form>
</e
l
-form>
</el-row>
</el-row>
</
template
>
</
template
>
<!-- TODO 实现:建议改成放在每一个【活动层级】的下面,有点类似主子表 -->
<!-- TODO 实现:建议改成放在每一个【活动层级】的下面,有点类似主子表 -->
...
...
src/views/mall/trade/config/index.vue
View file @
484826a5
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
<el-checkbox
<el-checkbox
v-for=
"dict in getIntDictOptions(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE)"
:key=
"dict.value"
:key=
"dict.value"
:
label
=
"dict.value"
:
value
=
"dict.value"
>
>
{{
dict
.
label
}}
{{
dict
.
label
}}
</el-checkbox>
</el-checkbox>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment