jufubao-base 1.0.302-beta1 → 1.0.302-beta10

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.
Files changed (27) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseInvoice/Api.js +20 -29
  3. package/src/components/JfbBaseInvoice/Attr.js +12 -39
  4. package/src/components/JfbBaseInvoice/JfbBaseInvoice.vue +491 -78
  5. package/src/components/JfbBaseInvoice/Mock.js +3 -5
  6. package/src/components/JfbBaseInvoice/cusAttr/advanced.js +33 -0
  7. package/src/components/JfbBaseInvoice/cusAttr/content.js +12 -0
  8. package/src/components/JfbBaseInvoice/cusAttr/style.js +41 -0
  9. package/src/components/JfbBaseInvoiceDetail/Api.js +12 -35
  10. package/src/components/JfbBaseInvoiceDetail/Attr.js +12 -39
  11. package/src/components/JfbBaseInvoiceDetail/JfbBaseInvoiceDetail.vue +434 -80
  12. package/src/components/JfbBaseInvoiceDetail/Mock.js +2 -6
  13. package/src/components/JfbBaseInvoiceDetail/cusAttr/advanced.js +6 -0
  14. package/src/components/JfbBaseInvoiceDetail/cusAttr/content.js +12 -0
  15. package/src/components/JfbBaseInvoiceDetail/cusAttr/style.js +41 -0
  16. package/src/components/JfbBaseOrderDetail/Api.js +13 -1
  17. package/src/components/JfbBaseOrderDetail/Attr.js +38 -0
  18. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +78 -1
  19. package/src/components/JfbBaseOrderDetail/Mock.js +2 -1
  20. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +23 -4
  21. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +24 -20
  22. package/src/components/JfbBaseInvoiceConfirm/Api.js +0 -58
  23. package/src/components/JfbBaseInvoiceConfirm/Attr.js +0 -48
  24. package/src/components/JfbBaseInvoiceConfirm/JfbBaseInvoiceConfirm.vue +0 -111
  25. package/src/components/JfbBaseInvoiceConfirm/JfbBaseInvoiceConfirmLess.less +0 -79
  26. package/src/components/JfbBaseInvoiceConfirm/JfbBaseInvoiceConfirmMixin.js +0 -30
  27. package/src/components/JfbBaseInvoiceConfirm/Mock.js +0 -13
@@ -0,0 +1,41 @@
1
+ import {
2
+ dataVal,
3
+ statusDataVal,
4
+ statusShow,
5
+ cRaBorShadow,
6
+ cusDisabled,
7
+ getCustomAttr,
8
+ TestCssInfo
9
+ } from "@/utils/AttrTools";
10
+ export default (data, gValue, gColor, oldData = {}) => {
11
+ return [
12
+ {
13
+ label: '背景图',
14
+ ele: 'xd-upload',
15
+ labelInline: true,
16
+ valueKey: 'statusBg',
17
+ value: dataVal({
18
+ data,
19
+ key: 'statusBg',
20
+ dValue: null,
21
+ gValue,
22
+ }),
23
+ defaultValue: dataVal({
24
+ data,
25
+ key: 'statusBg',
26
+ dValue: null,
27
+ gValue,
28
+ }),
29
+ slot: true,
30
+ tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议宽度为:<span style="color:red">750</span>像素',
31
+ type: ['jpg', 'png', 'jpeg'],
32
+ styleType: 'one',
33
+ uploadType: 'aliyun',
34
+ oneHeight: 90,
35
+ oneWidth: 375,
36
+ size: 5,
37
+ action: 'aliyun',
38
+ groupKey: 'style',
39
+ },
40
+ ].filter(i => i);
41
+ }
@@ -7,50 +7,27 @@
7
7
  module.exports = [
8
8
  {
9
9
  //设置方法名字当别忘记加上【模块名字】:Invoice
10
- mapFnName: 'getInvoiceByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
10
+ mapFnName: 'userInvoiceDetail',
11
+ title: '用户开票 - 详情',
12
+ path: '/pay/v1/user-invoice/detail',
13
13
  isRule: false,
14
14
  params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
15
+ main_order_id: ['订单编号', 'Number', '必选'],
16
+ pay_order_id: ['支付订单号', 'Number', '必选'],
17
17
  },
18
18
  isConsole: true,
19
19
  disabled: true,
20
20
  },
21
21
  {
22
22
  //设置方法名字当别忘记加上【模块名字】:Invoice
23
- mapFnName: 'updateInvoiceFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
23
+ mapFnName: 'userInvoiceSend',
24
+ title: '用户开票 - 发送邮箱',
25
+ path: '/pay/v1/user-invoice/send',
26
26
  isRule: false,
27
- params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
30
- },
31
- isConsole: true,
32
- disabled: true,
33
- },
34
- {
35
- //设置方法名字当别忘记加上【模块名字】:Invoice
36
- mapFnName: 'removeInvoiceFilmAddress',
37
- title: '删除我的配送地址',
38
- path: '/api/account/film/paiqi-date',
39
- isRule: false,
40
- params: {
41
- film_id: ['电影id', 'Number', '必选'],
42
- },
43
- isConsole: true,
44
- disabled: true,
45
- },
46
- {
47
- //设置方法名字当别忘记加上【模块名字】:Invoice
48
- mapFnName: 'addInvoiceFilmcart',
49
- title: '添加购物车',
50
- path: '/api/account/film/paiqi-date',
51
- isRule: false,
52
- params: {
53
- film_id: ['电影id', 'Number', '必选'],
27
+ data: {
28
+ main_order_id: ['订单编号', 'Number', '必选'],
29
+ pay_order_id: ['支付订单号', 'Number', '必选'],
30
+ email: ['邮箱', 'String', '必选'],
54
31
  },
55
32
  isConsole: true,
56
33
  disabled: true,
@@ -1,48 +1,21 @@
1
1
  'use strict';
2
-
2
+ import Content from './cusAttr/content'
3
+ import Style from './cusAttr/style'
4
+ import Advanced from './cusAttr/advanced'
3
5
  /**
4
6
  * @description 当表单组件中有联动操作时候,使用方法进行返回
5
7
  */
6
8
  export default {
7
9
  style: [],
8
- content: (data) => {
10
+ content: (data, gValue, gColor, oldData = {}) => {
9
11
  return [
10
- {
11
- label: '背景颜色:',
12
- ele: 'xd-color',
13
- valueKey: 'bgColor',
14
- value: data.bgColor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- groupKey:'content',
17
- },
18
- {
19
- label: '选中路径:',
20
- groupKey:'advanced',
21
- className: 'input100',
22
- ele: 'xd-select-pages-path',
23
- valueKey: 'select-pages-path',
24
- value: data['select-pages-path'] || null,
25
- setting: {
26
- router: XdBus.getParentApi('getPagesTree')
27
- },
28
- },
29
- data.bgColor && {
30
- label: '高度:',
31
- ele: 'el-input',
32
- groupKey:'style',
33
- type: 'number',
34
- valueKey: 'height',
35
- value: data.height || 100,
36
- placeholder: '请输入占位框高度,单位像素,默认:10px',
37
- className: 'input60',
38
- },
39
- {
40
- label: '', //label
41
- groupKey:'advanced',
42
- ele: 'slot', //package 名称
43
- slot: 'is_reference',
44
- },
45
- ].filter(i=>i)
12
+ ...Content(data, gValue, gColor, oldData),
13
+ ...Style(data, gValue, gColor, oldData),
14
+ ...Advanced(data, gValue, gColor, oldData),
15
+
16
+ ].filter(i => i)
46
17
  },
47
- advanced: [],
18
+ advanced: [
19
+
20
+ ],
48
21
  };