jufubao-takeorder 1.0.2-beta3 → 1.0.2-beta5
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/JfbTakeorderFilterOrderList/Api.js +16 -31
- package/src/components/JfbTakeorderFilterOrderList/Attr.js +9 -41
- package/src/components/JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderList.vue +319 -79
- package/src/components/JfbTakeorderFilterOrderList/Mock.js +1 -1
- package/src/components/JfbTakeorderFilterOrderList/cusAttr/advanced.js +26 -0
- package/src/components/JfbTakeorderFilterOrderList/cusAttr/content.js +9 -0
- package/src/components/JfbTakeorderFilterOrderList/cusAttr/style.js +11 -0
- package/src/components/JfbTakeorderIndex/Api.js +47 -1
- package/src/components/JfbTakeorderIndex/JfbTakeorderIndex.vue +218 -129
- package/src/components/JfbTakeorderIndex/Mock.js +4 -4
- package/src/components/JfbTakeorderIndex/components/cityPicker.vue +29 -21
- package/src/components/JfbTakeorderOrderDetail/Api.js +91 -24
- package/src/components/JfbTakeorderOrderDetail/Attr.js +9 -41
- package/src/components/JfbTakeorderOrderDetail/JfbTakeorderOrderDetail.vue +1174 -77
- package/src/components/JfbTakeorderOrderDetail/Mock.js +9 -9
- package/src/components/JfbTakeorderOrderDetail/components/CusEditQuote.vue +150 -0
- package/src/components/JfbTakeorderOrderDetail/components/products.vue +141 -0
- package/src/components/JfbTakeorderOrderDetail/cusAttr/advanced.js +12 -0
- package/src/components/JfbTakeorderOrderDetail/cusAttr/content.js +233 -0
- package/src/components/JfbTakeorderOrderDetail/cusAttr/style.js +11 -0
- package/src/components/JfbTakeorderOrderList/Api.js +16 -31
- package/src/components/JfbTakeorderOrderList/JfbTakeorderOrderList.vue +259 -122
- package/src/components/JfbTakeorderOrderList/Mock.js +1 -1
- package/src/components/JfbTakeorderOrderList/cusAttr/content.js +14 -0
- package/src/components/JfbTakeorderVoiceSwitch/Api.js +14 -33
- package/src/components/JfbTakeorderVoiceSwitch/Attr.js +1 -37
- package/src/components/JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitch.vue +159 -81
- package/src/components/JfbTakeorderVoiceSwitch/Mock.js +2 -10
- package/src/components/JfbTakeorderIndex/components/order.vue +0 -273
- package/src/components/JfbTakeorderOrderList/components/order.vue +0 -273
|
@@ -6,51 +6,118 @@
|
|
|
6
6
|
*/
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
path: '/api/account/film/list-film-square',
|
|
9
|
+
mapFnName: 'getListOrderNewsContent', //自定义方法名字(必选)
|
|
10
|
+
title: '获取内容',
|
|
11
|
+
path: '/cms/v1/news-content',
|
|
13
12
|
isRule: false,
|
|
14
13
|
params: {
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
scene: ['使用场景', 'String', '选填'],
|
|
15
|
+
container_id: ['插件ID', 'String', '必填'],
|
|
16
|
+
page_id: ['页面ID', 'String', '必填'],
|
|
17
|
+
page_size: ['记录条数', 'Number', '必填', 1],
|
|
18
|
+
code: ['业务线id', 'String', '选填'],
|
|
17
19
|
},
|
|
18
20
|
isConsole: true,
|
|
19
21
|
disabled: true,
|
|
20
22
|
},
|
|
21
23
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
path: '/api/account/film/paiqi-date',
|
|
24
|
+
mapFnName: 'getTakeorderOrderDetail', //自定义方法名字(必选)
|
|
25
|
+
title: '获取内容',
|
|
26
|
+
path: '/takeorder/v1/order/:order_id',
|
|
26
27
|
isRule: false,
|
|
27
28
|
params: {
|
|
28
|
-
|
|
29
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
29
|
+
order_id: ['订单ID', 'String', '必填'],
|
|
30
30
|
},
|
|
31
31
|
isConsole: true,
|
|
32
32
|
disabled: true,
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
path: '/api/account/film/paiqi-date',
|
|
35
|
+
mapFnName: 'createQuotation', //自定义方法名字(必选)
|
|
36
|
+
title: '报价创建',
|
|
37
|
+
path: '/takeorder/v1/quotation/:order_id/create',
|
|
39
38
|
isRule: false,
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
data: {
|
|
40
|
+
order_id: ['订单ID', 'String', '必填'],
|
|
42
41
|
},
|
|
43
42
|
isConsole: true,
|
|
44
43
|
disabled: true,
|
|
45
44
|
},
|
|
46
45
|
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
path: '/api/account/film/paiqi-date',
|
|
46
|
+
mapFnName: 'cancelQuotation', //自定义方法名字(必选)
|
|
47
|
+
title: '报价取消',
|
|
48
|
+
path: '/takeorder/v1/quotation/:order_id/cancel',
|
|
51
49
|
isRule: false,
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
data: {
|
|
51
|
+
order_id: ['订单ID', 'String', '必填'],
|
|
52
|
+
amount: ['报价金额', 'Number', '必填'],
|
|
53
|
+
},
|
|
54
|
+
isConsole: true,
|
|
55
|
+
disabled: true,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
mapFnName: 'updateQuotation', //自定义方法名字(必选)
|
|
59
|
+
title: '报价修改',
|
|
60
|
+
path: '/takeorder/v1/quotation/:order_id/update',
|
|
61
|
+
isRule: false,
|
|
62
|
+
data: {
|
|
63
|
+
order_id: ['订单ID', 'String', '必填'],
|
|
64
|
+
amount: ['报价金额', 'Number', '必填'],
|
|
65
|
+
},
|
|
66
|
+
isConsole: true,
|
|
67
|
+
disabled: true,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
mapFnName: 'discardOrder', //自定义方法名字(必选)
|
|
71
|
+
title: '放弃订单',
|
|
72
|
+
path: '/takeorder/v1/order/:order_id/discard',
|
|
73
|
+
isRule: false,
|
|
74
|
+
data: {
|
|
75
|
+
order_id: ['订单ID', 'String', '必填'],
|
|
76
|
+
},
|
|
77
|
+
isConsole: true,
|
|
78
|
+
disabled: true,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
mapFnName: 'acceptOrder', //自定义方法名字(必选)
|
|
82
|
+
title: '接受订单',
|
|
83
|
+
path: '/takeorder/v1/order/:order_id/receive',
|
|
84
|
+
isRule: false,
|
|
85
|
+
data: {
|
|
86
|
+
order_id: ['订单ID', 'String', '必填'],
|
|
87
|
+
},
|
|
88
|
+
isConsole: true,
|
|
89
|
+
disabled: true,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
mapFnName: 'reportOrder', //自定义方法名字(必选)
|
|
93
|
+
title: '上报订单',
|
|
94
|
+
path: '/takeorder/v1/order/:order_id/report',
|
|
95
|
+
isRule: false,
|
|
96
|
+
data: {
|
|
97
|
+
order_id: ['订单ID', 'String', '必填'],
|
|
98
|
+
report_voucher_list: ['上报凭证列表', 'Array', '必填'],
|
|
99
|
+
},
|
|
100
|
+
isConsole: true,
|
|
101
|
+
disabled: true,
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
mapFnName: 'imageRecognition', //自定义方法名字(必选)
|
|
105
|
+
title: '图像识别',
|
|
106
|
+
path: '/takeorder/v1/image/recognition',
|
|
107
|
+
isRule: false,
|
|
108
|
+
data: {
|
|
109
|
+
image_url: ['图片URL', 'String', '必填'],
|
|
110
|
+
},
|
|
111
|
+
isConsole: true,
|
|
112
|
+
disabled: true,
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
mapFnName: 'getImagePreview', //自定义方法名字(必选)
|
|
116
|
+
title: '获取图片预览',
|
|
117
|
+
path: '/takeorder/v1/image/preview',
|
|
118
|
+
isRule: false,
|
|
119
|
+
data: {
|
|
120
|
+
image_url: ['图片URL', 'String', '必填'],
|
|
54
121
|
},
|
|
55
122
|
isConsole: true,
|
|
56
123
|
disabled: true,
|
|
@@ -1,48 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
+
import Style from './cusAttr/style'
|
|
3
|
+
import Advanced from './cusAttr/advanced'
|
|
4
|
+
import Content from './cusAttr/content'
|
|
2
5
|
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
6
|
export default {
|
|
7
7
|
style: [],
|
|
8
|
-
content: (data) => {
|
|
8
|
+
content: (data, gValue, gColor, oldData) => {
|
|
9
9
|
return [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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)
|
|
10
|
+
...Content(data, gValue, gColor, oldData),
|
|
11
|
+
...Style(data, gValue, gColor, oldData),
|
|
12
|
+
...Advanced(data, gValue, gColor, oldData),
|
|
13
|
+
].filter(i => i)
|
|
46
14
|
},
|
|
47
15
|
advanced: [],
|
|
48
|
-
}
|
|
16
|
+
}
|