jufubao-base 1.0.56-beta2005 → 1.0.56-beta2007

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.
@@ -12,49 +12,60 @@
12
12
  */
13
13
  module.exports = [
14
14
  {
15
- mapFnName: 'getByIdFilmSquate', //自定义方法名字(必选)
16
- title: '获取电影广场列表',
17
- path: '/api/account/film/list-film-square',
15
+ mapFnName: 'qrcodeCardBindEntry',
18
16
  isRule: false,
19
- params: {
20
- last_key: ['当前页', 'Number', '必选'],
21
- page_size: ['每页数量', 'Number', '必选'],
17
+ title: '根据二维码绑定卡',
18
+ prefix: 'qrcode',
19
+ path: '/card/v1/card-bind/bind-card-by-qrcode',
20
+ data: {
21
+ card_qrcode: ['二维码内容', 'String', '必选'],
22
22
  },
23
- isConsole: true,
24
23
  disabled: true,
25
24
  },
26
25
  {
27
- mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
28
- title: '更新排期',
29
- path: '/api/account/film/paiqi-date',
26
+ mapFnName: 'getByPwdCardDetailEntry',
30
27
  isRule: false,
31
- params: {
32
- film_id: ['电影id', 'Number', '必选'],
33
- cinema_id: ['影院id', 'Number', '必选'],
28
+ title: '根据卡号密码获得卡信息',
29
+ prefix: 'detal',
30
+ path: '/card/v1/card-bind/get-card-by-password',
31
+ data: {
32
+ card_number: ['卡号', 'String', '必选'],
33
+ card_password: ['卡号密码', 'String', '必选']
34
34
  },
35
- isConsole: true,
36
35
  disabled: true,
37
36
  },
38
37
  {
39
- mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
40
- title: '删除我的配送地址',
41
- path: '/api/account/film/paiqi-date',
38
+ mapFnName: 'getByQrCardDetailEntry',
42
39
  isRule: false,
43
- params: {
44
- film_id: ['电影id', 'Number', '必选'],
40
+ title: '根据二维码获得卡信息',
41
+ prefix: 'detal',
42
+ path: '/card/v1/card-bind/get-card-by-qrcode',
43
+ data: {
44
+ card_qrcode: ['二维码', 'String', '必选'],
45
45
  },
46
- isConsole: true,
47
46
  disabled: true,
48
47
  },
49
48
  {
50
- mapFnName: 'addFilmcart', //自定义方法名字(必选)
51
- title: '添加购物车',
52
- path: '/api/account/film/paiqi-date',
49
+ mapFnName: 'pwdCardBindEntry',
53
50
  isRule: false,
54
- params: {
55
- film_id: ['电影id', 'Number', '必选'],
51
+ title: '根据卡号密码绑定卡',
52
+ prefix: 'pwd',
53
+ path: '/card/v1/card-bind/bind-card-by-password',
54
+ data: {
55
+ card_number: ['卡号', 'String', '必选'],
56
+ card_password: ['密码', 'String', '可选'],
57
+ },
58
+ disabled: true,
59
+ },
60
+ {
61
+ mapFnName: 'qrCardBindEntry',
62
+ isRule: false,
63
+ title: '根据二维码绑定卡',
64
+ prefix: 'qrcode',
65
+ path: '/card/v1/card-bind/bind-card-by-qrcode',
66
+ data: {
67
+ card_qrcode: ['二维码', 'String', '必选'],
56
68
  },
57
- isConsole: true,
58
69
  disabled: true,
59
70
  },
60
71
  ];
@@ -1,106 +1,37 @@
1
1
  'use strict';
2
2
 
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
3
  export default {
7
4
  style: [],
8
- content: (data) => {
9
- return [
10
- {
11
- label: '背景颜色:', //label
12
- ele: 'xd-color', //package 名称
13
- valueKey: 'bgcolor', //form[valueKey]
14
- value: data.bgcolor || '', //v-model
15
- placeholder: '请输入占位框背景颜色',
16
- classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
17
- rules: [
18
- {
19
- required: true,
20
- message: '请输入占位框背景颜色',
21
- trigger: 'blur'
22
- },
23
- ]
24
- },
25
- {
26
- label: '选中路径:', //label
27
- ele: 'xd-select-pages-path', //package 名称
28
- valueKey: 'select-pages-path', //form[valueKey]
29
- value: data['select-pages-path'] || {},
30
- setting: {
31
- router: XdBus.getParentApi('getPagesTree')
32
- },
33
- inline: false,
34
- },
35
- data.bgcolor && {
36
- label: '高度:', //label
37
- ele: 'el-input', //package 名称
38
- type: 'number',
39
- valueKey: 'height', //form[valueKey]
40
- value: data.height || 100, //v-model
41
- placeholder: '请输入占位框高度,单位像素,默认:10px',
42
- className: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
43
- rules: [
44
- {
45
- required: true,
46
- message: '请输入占位框高度',
47
- trigger: 'blur'
48
- },
49
- ]
50
- },
51
- {
52
- label: '', //label
53
- ele: 'slot', //package 名称
54
- slot: 'is_reference',
55
- },
56
- ].filter(i=>i)
57
- },
58
- advanced: [
59
- {
60
- label: '背景颜色:', //label
61
- ele: 'xd-color', //package 名称
62
- valueKey: 'bgcolor', //form[valueKey]
63
- value: '', //v-model
64
- placeholder: '请输入占位框背景颜色',
65
- classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
66
- rules: [
67
- {
68
- required: true,
69
- message: '请输入占位框背景颜色',
70
- trigger: 'blur'
71
- },
72
- ]
73
- },
5
+ advanced: [],
6
+ content: [
74
7
  {
75
- label: '选中路径:', //label
8
+ label: '卡绑定成功回跳地址:', //label
76
9
  ele: 'xd-select-pages-path', //package 名称
77
- valueKey: 'select-pages-path', //form[valueKey]
10
+ valueKey: 'back_url', //form[valueKey]
11
+ placeholder: '请选择卡绑定成功回跳地址',
78
12
  value: null,
79
13
  setting: {
80
- router: XdBus.getParentApi('getPagesTree')
14
+ router: XdBus.getParentApi('getPagesTree'),
81
15
  },
82
16
  inline: false,
83
17
  },
84
18
  {
85
- label: '高度:', //label
86
- ele: 'el-input', //package 名称
87
- type: 'number',
88
- valueKey: 'height', //form[valueKey]
89
- value: null, //v-model
90
- placeholder: '请输入占位框高度,单位像素,默认:10px',
91
- classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
92
- rules: [
93
- {
94
- required: true,
95
- message: '请输入占位框高度',
96
- trigger: 'blur'
97
- },
98
- ]
19
+ label: '券号框自定义文案:',
20
+ ele: 'el-input',
21
+ type: 'text',
22
+ valueKey: 'card_num_placeholder',
23
+ value: '',
24
+ placeholder: '请输入券号框自定义文案',
25
+ className: 'input80'
99
26
  },
100
27
  {
101
- label: '', //label
102
- ele: 'slot', //package 名称
103
- slot: 'is_reference',
28
+ label: '密码框自定义文案:',
29
+ ele: 'el-input',
30
+ type: 'text',
31
+ valueKey: 'card_pwd_placeholder',
32
+ value: '',
33
+ placeholder: '请输入密码框自定义文案',
34
+ className: 'input80'
104
35
  },
105
36
  ],
106
37
  };