jufubao-base 1.0.297-beta23 → 1.0.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseChangeCompany/JfbBaseChangeCompany.vue +1 -3
- package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompany.vue +4 -4
- package/src/components/JfbBaseConsumpCode/Attr.js +97 -9
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +657 -258
- package/src/components/JfbBaseConsumpCode/Mock.js +12 -210
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +12 -2
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +5 -0
- package/src/components/JfbBaseConsumpCode/JHDMixin.js +0 -176
- package/src/components/JfbBaseConsumpCode/QPMixin.js +0 -327
- package/src/components/JfbBaseConsumpCode/cusAttr/advanced.js +0 -94
- package/src/components/JfbBaseConsumpCode/cusAttr/content.js +0 -298
- package/src/components/JfbBaseConsumpCode/cusAttr/style.js +0 -93
- package/src/components/JfbBaseConsumpCode/shopListMixin.js +0 -54
package/package.json
CHANGED
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-change-company__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-change-company__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view class="jfb-base-change-company__body">
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-chose-company__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-chose-company__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view
|
|
@@ -257,9 +255,11 @@ export default {
|
|
|
257
255
|
company_source_from: item.company_source_from,
|
|
258
256
|
},
|
|
259
257
|
}).then((res) => {
|
|
258
|
+
|
|
260
259
|
//#ifdef MP-WEIXIN
|
|
261
260
|
if (this.jfbAuthorize !== null) {
|
|
262
|
-
this.jfbAuthorize.setAllToken(res)
|
|
261
|
+
this.jfbAuthorize.setAllToken(res);//只返回用户登陆信息,无卡登陆信息
|
|
262
|
+
this.jfbAuthorize.removeAllCardToken();
|
|
263
263
|
}
|
|
264
264
|
//#endif
|
|
265
265
|
|
|
@@ -1,20 +1,108 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
import style from "./cusAttr/style";
|
|
3
|
-
import advanced from "./cusAttr/advanced";
|
|
4
|
-
import content from "./cusAttr/content";
|
|
5
2
|
|
|
6
3
|
/**
|
|
7
4
|
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
8
5
|
*/
|
|
9
6
|
export default {
|
|
10
7
|
style: [],
|
|
11
|
-
|
|
12
|
-
content: (data, gValue, gColor, oldData={})=>{
|
|
13
|
-
|
|
8
|
+
content: (data) => {
|
|
14
9
|
return [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
{
|
|
11
|
+
label: "是否展示优先支付账户:",
|
|
12
|
+
ele: "xd-radio",
|
|
13
|
+
valueKey: "isShowPaySoft",
|
|
14
|
+
value: data.isShowPaySoft || "N",
|
|
15
|
+
groupKey: "content",
|
|
16
|
+
list: [
|
|
17
|
+
{ label: "展示", value: "Y" },
|
|
18
|
+
{ label: "不展示", value: "N" }
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: '背景图片:', //label
|
|
23
|
+
ele: 'xd-upload', //package 名称
|
|
24
|
+
valueKey: 'bodyBgImg', //form[valueKey]
|
|
25
|
+
value: data.bodyBgImg || null, //v-model
|
|
26
|
+
defaultValue: data.bodyBgImg || null, //默认图片对象
|
|
27
|
+
groupKey: "content",
|
|
28
|
+
slot: true, //按钮是否使用slot
|
|
29
|
+
oneWidth: 200, //单个图片显示宽度
|
|
30
|
+
oneHeight: 350, //单个图片显示高度
|
|
31
|
+
elinputClassName: 'input40',
|
|
32
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
33
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
34
|
+
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
35
|
+
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
36
|
+
size: 5, //5M
|
|
37
|
+
action: 'aliyun',
|
|
38
|
+
sort: true, //当上传图片列表时候,是否启用排序
|
|
39
|
+
maxlen: 100, //当上传图片列表时候,最大数量数量
|
|
40
|
+
rules: [
|
|
41
|
+
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: '开通路径:',
|
|
46
|
+
groupKey:'advanced',
|
|
47
|
+
className: 'input100',
|
|
48
|
+
ele: 'xd-select-pages-path',
|
|
49
|
+
valueKey: 'openPath',
|
|
50
|
+
value: data['openPath'] || null,
|
|
51
|
+
setting: {
|
|
52
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
label: '切换门店路径:',
|
|
57
|
+
groupKey:'advanced',
|
|
58
|
+
className: 'input100',
|
|
59
|
+
ele: 'xd-select-pages-path',
|
|
60
|
+
valueKey: 'shopPath',
|
|
61
|
+
value: data['shopPath'] || null,
|
|
62
|
+
setting: {
|
|
63
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: '支付成功跳转路径:',
|
|
68
|
+
ele: 'xd-select-pages-path',
|
|
69
|
+
valueKey: 'successPath',
|
|
70
|
+
value: data.successPath || null,
|
|
71
|
+
placeholder: '请选择支付成功跳转路径',
|
|
72
|
+
className: 'input100',
|
|
73
|
+
groupKey:'advanced',
|
|
74
|
+
setting: {
|
|
75
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
76
|
+
},
|
|
77
|
+
inline: false,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: '核销支付路径:',
|
|
81
|
+
ele: 'xd-select-pages-path',
|
|
82
|
+
valueKey: 'cash_pay_path',
|
|
83
|
+
placeholder: '请选择核销支付路径',
|
|
84
|
+
value: data.cash_pay_path || null,
|
|
85
|
+
className: 'input100',
|
|
86
|
+
groupKey:'advanced',
|
|
87
|
+
setting: {
|
|
88
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
89
|
+
},
|
|
90
|
+
inline: false,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: '选取城市路径:',
|
|
94
|
+
ele: 'xd-select-pages-path',
|
|
95
|
+
valueKey: 'cityPath',
|
|
96
|
+
placeholder: '请选择选取城市路径',
|
|
97
|
+
value: data.cityPath || null,
|
|
98
|
+
className: 'input100',
|
|
99
|
+
groupKey:'advanced',
|
|
100
|
+
setting: {
|
|
101
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
102
|
+
},
|
|
103
|
+
inline: false,
|
|
104
|
+
},
|
|
18
105
|
].filter(i=>i)
|
|
19
106
|
},
|
|
107
|
+
advanced: [],
|
|
20
108
|
};
|