jufubao-takeorder 1.0.2-beta2 → 1.0.2-beta4

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 (55) hide show
  1. package/package.json +1 -1
  2. package/src/components/{JfbTakeorderQuotedDetail → JfbTakeorderFilterOrderList}/Api.js +9 -9
  3. package/src/components/JfbTakeorderFilterOrderList/Attr.js +12 -0
  4. package/src/components/JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderList.vue +210 -0
  5. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailLess.less → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListLess.less} +2 -2
  6. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailMixin.js → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListMixin.js} +1 -1
  7. package/src/components/JfbTakeorderFilterOrderList/Mock.js +13 -0
  8. package/src/components/JfbTakeorderFilterOrderList/components/order.vue +277 -0
  9. package/src/components/JfbTakeorderIndex/Api.js +9 -41
  10. package/src/components/JfbTakeorderIndex/Attr.js +9 -41
  11. package/src/components/JfbTakeorderIndex/JfbTakeorderIndex.vue +681 -85
  12. package/src/components/JfbTakeorderIndex/components/cityPicker.vue +299 -0
  13. package/src/components/JfbTakeorderIndex/components/order.vue +273 -0
  14. package/src/components/JfbTakeorderIndex/cusAttr/advanced.js +26 -0
  15. package/src/components/JfbTakeorderIndex/cusAttr/content.js +9 -0
  16. package/src/components/JfbTakeorderIndex/cusAttr/style.js +11 -0
  17. package/src/components/JfbTakeorderOrderDetail/Api.js +23 -0
  18. package/src/components/JfbTakeorderOrderDetail/Attr.js +16 -0
  19. package/src/components/JfbTakeorderOrderDetail/JfbTakeorderOrderDetail.vue +845 -0
  20. package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListLess.less → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailLess.less} +2 -2
  21. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailMixin.js → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailMixin.js} +1 -1
  22. package/src/components/JfbTakeorderOrderDetail/Mock.js +13 -0
  23. package/src/components/JfbTakeorderOrderDetail/components/CusEditQuote.vue +161 -0
  24. package/src/components/JfbTakeorderOrderDetail/components/products.vue +138 -0
  25. package/src/components/JfbTakeorderOrderDetail/cusAttr/advanced.js +12 -0
  26. package/src/components/JfbTakeorderOrderDetail/cusAttr/content.js +233 -0
  27. package/src/components/JfbTakeorderOrderDetail/cusAttr/style.js +11 -0
  28. package/src/components/{JfbTakeorderQuotedList → JfbTakeorderOrderList}/Api.js +9 -9
  29. package/src/components/JfbTakeorderOrderList/Attr.js +16 -0
  30. package/src/components/JfbTakeorderOrderList/JfbTakeorderOrderList.vue +169 -0
  31. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListLess.less → JfbTakeorderOrderList/JfbTakeorderOrderListLess.less} +2 -2
  32. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListMixin.js → JfbTakeorderOrderList/JfbTakeorderOrderListMixin.js} +1 -1
  33. package/src/components/JfbTakeorderOrderList/Mock.js +13 -0
  34. package/src/components/JfbTakeorderOrderList/components/order.vue +273 -0
  35. package/src/components/JfbTakeorderOrderList/cusAttr/advanced.js +26 -0
  36. package/src/components/JfbTakeorderOrderList/cusAttr/content.js +23 -0
  37. package/src/components/JfbTakeorderOrderList/cusAttr/style.js +11 -0
  38. package/src/components/{JfbTakeorderUnquotedDetail → JfbTakeorderVoiceSwitch}/Api.js +9 -9
  39. package/src/components/JfbTakeorderVoiceSwitch/Attr.js +12 -0
  40. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedList.vue → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitch.vue} +42 -13
  41. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailLess.less → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchLess.less} +2 -2
  42. package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListMixin.js → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchMixin.js} +1 -1
  43. package/src/components/JfbTakeorderVoiceSwitch/Mock.js +13 -0
  44. package/src/components/JfbTakeorderQuotedDetail/Attr.js +0 -48
  45. package/src/components/JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetail.vue +0 -113
  46. package/src/components/JfbTakeorderQuotedDetail/Mock.js +0 -13
  47. package/src/components/JfbTakeorderQuotedList/Attr.js +0 -48
  48. package/src/components/JfbTakeorderQuotedList/Mock.js +0 -13
  49. package/src/components/JfbTakeorderUnquotedDetail/Attr.js +0 -48
  50. package/src/components/JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetail.vue +0 -113
  51. package/src/components/JfbTakeorderUnquotedDetail/Mock.js +0 -13
  52. package/src/components/JfbTakeorderUnquotedList/Api.js +0 -58
  53. package/src/components/JfbTakeorderUnquotedList/Attr.js +0 -48
  54. package/src/components/JfbTakeorderUnquotedList/JfbTakeorderUnquotedList.vue +0 -113
  55. package/src/components/JfbTakeorderUnquotedList/Mock.js +0 -13
@@ -1,22 +1,30 @@
1
1
  <template>
2
2
  <view
3
- class="jfb-takeorder-quoted-list"
3
+ class="jfb-takeorder-voice-switch"
4
4
  @click="handleEditxSelect"
5
5
  :class="{ editx : isEditx && active }"
6
6
  >
7
7
  <!--#ifdef H5-->
8
8
  <view
9
- class="jfb-takeorder-quoted-list__edit"
9
+ class="jfb-takeorder-voice-switch__edit"
10
10
  :class="{ editx : isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-takeorder-quoted-list__edit-icon" @click.stop="delEdit">
13
+ <view class="jfb-takeorder-voice-switch__edit-icon" @click.stop="delEdit">
14
14
  <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
15
  </view>
16
16
  </view>
17
17
  <!-- #endif -->
18
- <view class="jfb-takeorder-quoted-list__body">
19
- <view>测试插件( {{containerId}} )</view>
18
+ <view class="jfb-takeorder-voice-switch__body">
19
+ <view class="jfb-takeorder-voice-switch__body-item">
20
+ <view>新订单提示音</view>
21
+ <switch @change="switchNewChange" :checked="newOrder" :color="mainColor" style="transform:scale(0.5)"/>
22
+ </view>
23
+ <view class="jfb-takeorder-voice-switch__body-item">
24
+ <view>中标提示音</view>
25
+ <switch @change="switchBingoChange" :checked="bingo" :color="mainColor" style="transform:scale(0.5)"/>
26
+ </view>
27
+ <view class="jfb-takeorder-voice-switch__body-notice">没有声音?尝试<text :style="{color:mainColor}">点击触发</text></view>
20
28
  </view>
21
29
  </view>
22
30
  </template>
@@ -24,22 +32,22 @@
24
32
  <script>
25
33
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
26
34
  import { jfbRootExec } from "@/utils/xd.event";
27
- import JfbTakeorderQuotedListMixin from "./JfbTakeorderQuotedListMixin";
35
+ import JfbTakeorderVoiceSwitchMixin from "./JfbTakeorderVoiceSwitchMixin";
28
36
  import { getContainerPropsValue } from "@/utils/xd.base";
29
37
  import componentsMixins from "@/mixins/componentsMixins";
30
38
  import extsMixins from "@/mixins/extsMixins";
31
39
  export default {
32
- name: "JfbTakeorderQuotedList",
40
+ name: "JfbTakeorderVoiceSwitch",
33
41
  components: {
34
42
  XdFontIcon
35
43
  },
36
44
  mixins: [
37
- componentsMixins, extsMixins, JfbTakeorderQuotedListMixin
45
+ componentsMixins, extsMixins, JfbTakeorderVoiceSwitchMixin
38
46
  ],
39
47
  data() {
40
48
  return {
41
-
42
- //todo
49
+ bingo: false,
50
+ newOrder: false,
43
51
  }
44
52
  },
45
53
  watch: {
@@ -76,6 +84,12 @@
76
84
 
77
85
  //this.height = getContainerPropsValue(container, 'content.height', 10);
78
86
  },
87
+ switchNewChange(e) {
88
+ this.newOrder = e.detail.value
89
+ },
90
+ switchBingoChange(e) {
91
+ this.bingo = e.detail.value
92
+ },
79
93
  onJfbScroll(options) {
80
94
  console.log('event.onJfbScroll', options)
81
95
  },
@@ -103,11 +117,26 @@
103
117
  </script>
104
118
 
105
119
  <style scoped lang="less">
106
- @import "./JfbTakeorderQuotedListLess.less";
120
+ @import "./JfbTakeorderVoiceSwitchLess.less";
107
121
 
108
- .jfb-takeorder-quoted-list {
122
+ .jfb-takeorder-voice-switch {
109
123
  &__body{
110
-
124
+ &-item {
125
+ display: flex;
126
+ align-items: center;
127
+ justify-content: space-between;
128
+ padding: 26rpx 32rpx;
129
+ background: #fff;
130
+ margin: 16rpx;
131
+ border-radius: 20rpx;
132
+ color: #666666;
133
+ font-size: 28rpx;
134
+ }
135
+ &-notice {
136
+ font-size: 24rpx;
137
+ margin-left: 32rpx;
138
+ color: #666;
139
+ }
111
140
  }
112
141
  }
113
142
  </style>
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  //start
15
- .jfb-takeorder-quoted-detail {
15
+ .jfb-takeorder-voice-switch {
16
16
  box-sizing: border-box;
17
17
 
18
18
  &__body{
@@ -71,7 +71,7 @@
71
71
 
72
72
 
73
73
  /**notPreview**/
74
- .jfb-takeorder-quoted-detail {
74
+ .jfb-takeorder-voice-switch {
75
75
  //&:before {
76
76
  //content: " ";
77
77
  //display: table;
@@ -16,7 +16,7 @@ export default {
16
16
  //@EndAttrData
17
17
 
18
18
  // #endif
19
- cssRoot: 'jfb-takeorder-unquoted-list'
19
+ cssRoot: 'jfb-takeorder-voice-switch'
20
20
  }
21
21
  },
22
22
  created() {
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getVoiceByIdFilmSquate:{},
6
+
7
+ updateVoiceFilmPaiqiDate:{},
8
+
9
+ removeVoiceFilmAddress:{},
10
+
11
+ addVoiceFilmcart:{},
12
+
13
+ }
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- 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)
46
- },
47
- advanced: [],
48
- };
@@ -1,113 +0,0 @@
1
- <template>
2
- <view
3
- class="jfb-takeorder-quoted-detail"
4
- @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
6
- >
7
- <!--#ifdef H5-->
8
- <view
9
- class="jfb-takeorder-quoted-detail__edit"
10
- :class="{ editx : isEditx && active }"
11
- v-if="isEditx && active"
12
- >
13
- <view class="jfb-takeorder-quoted-detail__edit-icon" @click.stop="delEdit">
14
- <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
- </view>
16
- </view>
17
- <!-- #endif -->
18
- <view class="jfb-takeorder-quoted-detail__body">
19
- <view>测试插件( {{containerId}} )</view>
20
- </view>
21
- </view>
22
- </template>
23
-
24
- <script>
25
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
26
- import { jfbRootExec } from "@/utils/xd.event";
27
- import JfbTakeorderQuotedDetailMixin from "./JfbTakeorderQuotedDetailMixin";
28
- import { getContainerPropsValue } from "@/utils/xd.base";
29
- import componentsMixins from "@/mixins/componentsMixins";
30
- import extsMixins from "@/mixins/extsMixins";
31
- export default {
32
- name: "JfbTakeorderQuotedDetail",
33
- components: {
34
- XdFontIcon
35
- },
36
- mixins: [
37
- componentsMixins, extsMixins, JfbTakeorderQuotedDetailMixin
38
- ],
39
- data() {
40
- return {
41
-
42
- //todo
43
- }
44
- },
45
- watch: {
46
- container(value, oldValue) {
47
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
48
- if (this.$configProject['isPreview']) this.init(value)
49
- },
50
- },
51
- created() {
52
- this.init(this.container);
53
-
54
- //todo
55
- },
56
- methods: {
57
- onJfbLoad(options) {
58
-
59
- // jfbRootExec('baiduUserLogin', {
60
-
61
- // vm: this,// data: {
62
-
63
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
64
-
65
- // }
66
-
67
- // }).then().catch()
68
- },
69
- /**
70
- * @description 监听事件变化
71
- * @param container {object} 业务组件对象自己
72
- */
73
- init(container) {
74
-
75
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
76
-
77
- //this.height = getContainerPropsValue(container, 'content.height', 10);
78
- },
79
- onJfbScroll(options) {
80
- console.log('event.onJfbScroll', options)
81
- },
82
- onJfbReachBottom(options) {
83
- console.log('event.onJfbReachBottom', options)
84
- },
85
- onJfbShow(options) {
86
- console.log('event.onJfbShow', options)
87
- },
88
- onJfbHide(options) {
89
- console.log('event.onJfbHide', options)
90
- },
91
- onJfbBack(options) {
92
- console.log('event.onJfbBack', options)
93
- },
94
- onJfbUpdate(...data) {
95
- console.log('event.onJfbUpdate', data)
96
- },
97
- onJfbCustomEvent(options) {
98
- console.log('event.onJfbReachBottom', options)
99
- },
100
- }
101
- }
102
-
103
- </script>
104
-
105
- <style scoped lang="less">
106
- @import "./JfbTakeorderQuotedDetailLess.less";
107
-
108
- .jfb-takeorder-quoted-detail {
109
- &__body{
110
-
111
- }
112
- }
113
- </style>
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getQuotedByIdFilmSquate:{},
6
-
7
- updateQuotedFilmPaiqiDate:{},
8
-
9
- removeQuotedFilmAddress:{},
10
-
11
- addQuotedFilmcart:{},
12
-
13
- }
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- 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)
46
- },
47
- advanced: [],
48
- };
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getQuotedByIdFilmSquate:{},
6
-
7
- updateQuotedFilmPaiqiDate:{},
8
-
9
- removeQuotedFilmAddress:{},
10
-
11
- addQuotedFilmcart:{},
12
-
13
- }
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- 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)
46
- },
47
- advanced: [],
48
- };
@@ -1,113 +0,0 @@
1
- <template>
2
- <view
3
- class="jfb-takeorder-unquoted-detail"
4
- @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
6
- >
7
- <!--#ifdef H5-->
8
- <view
9
- class="jfb-takeorder-unquoted-detail__edit"
10
- :class="{ editx : isEditx && active }"
11
- v-if="isEditx && active"
12
- >
13
- <view class="jfb-takeorder-unquoted-detail__edit-icon" @click.stop="delEdit">
14
- <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
- </view>
16
- </view>
17
- <!-- #endif -->
18
- <view class="jfb-takeorder-unquoted-detail__body">
19
- <view>测试插件( {{containerId}} )</view>
20
- </view>
21
- </view>
22
- </template>
23
-
24
- <script>
25
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
26
- import { jfbRootExec } from "@/utils/xd.event";
27
- import JfbTakeorderUnquotedDetailMixin from "./JfbTakeorderUnquotedDetailMixin";
28
- import { getContainerPropsValue } from "@/utils/xd.base";
29
- import componentsMixins from "@/mixins/componentsMixins";
30
- import extsMixins from "@/mixins/extsMixins";
31
- export default {
32
- name: "JfbTakeorderUnquotedDetail",
33
- components: {
34
- XdFontIcon
35
- },
36
- mixins: [
37
- componentsMixins, extsMixins, JfbTakeorderUnquotedDetailMixin
38
- ],
39
- data() {
40
- return {
41
-
42
- //todo
43
- }
44
- },
45
- watch: {
46
- container(value, oldValue) {
47
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
48
- if (this.$configProject['isPreview']) this.init(value)
49
- },
50
- },
51
- created() {
52
- this.init(this.container);
53
-
54
- //todo
55
- },
56
- methods: {
57
- onJfbLoad(options) {
58
-
59
- // jfbRootExec('baiduUserLogin', {
60
-
61
- // vm: this,// data: {
62
-
63
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
64
-
65
- // }
66
-
67
- // }).then().catch()
68
- },
69
- /**
70
- * @description 监听事件变化
71
- * @param container {object} 业务组件对象自己
72
- */
73
- init(container) {
74
-
75
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
76
-
77
- //this.height = getContainerPropsValue(container, 'content.height', 10);
78
- },
79
- onJfbScroll(options) {
80
- console.log('event.onJfbScroll', options)
81
- },
82
- onJfbReachBottom(options) {
83
- console.log('event.onJfbReachBottom', options)
84
- },
85
- onJfbShow(options) {
86
- console.log('event.onJfbShow', options)
87
- },
88
- onJfbHide(options) {
89
- console.log('event.onJfbHide', options)
90
- },
91
- onJfbBack(options) {
92
- console.log('event.onJfbBack', options)
93
- },
94
- onJfbUpdate(...data) {
95
- console.log('event.onJfbUpdate', data)
96
- },
97
- onJfbCustomEvent(options) {
98
- console.log('event.onJfbReachBottom', options)
99
- },
100
- }
101
- }
102
-
103
- </script>
104
-
105
- <style scoped lang="less">
106
- @import "./JfbTakeorderUnquotedDetailLess.less";
107
-
108
- .jfb-takeorder-unquoted-detail {
109
- &__body{
110
-
111
- }
112
- }
113
- </style>
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getUnquotedByIdFilmSquate:{},
6
-
7
- updateUnquotedFilmPaiqiDate:{},
8
-
9
- removeUnquotedFilmAddress:{},
10
-
11
- addUnquotedFilmcart:{},
12
-
13
- }
@@ -1,58 +0,0 @@
1
- 'use strict';
2
- /**
3
- * @description 接口配置,
4
- * 在设置方法名字当时候,别忘记加上【模块名字】:Unquoted
5
- * @type {*[]}
6
- */
7
- module.exports = [
8
- {
9
- //设置方法名字当别忘记加上【模块名字】:Unquoted
10
- mapFnName: 'getUnquotedByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
13
- isRule: false,
14
- params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
17
- },
18
- isConsole: true,
19
- disabled: true,
20
- },
21
- {
22
- //设置方法名字当别忘记加上【模块名字】:Unquoted
23
- mapFnName: 'updateUnquotedFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
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
- //设置方法名字当别忘记加上【模块名字】:Unquoted
36
- mapFnName: 'removeUnquotedFilmAddress',
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
- //设置方法名字当别忘记加上【模块名字】:Unquoted
48
- mapFnName: 'addUnquotedFilmcart',
49
- title: '添加购物车',
50
- path: '/api/account/film/paiqi-date',
51
- isRule: false,
52
- params: {
53
- film_id: ['电影id', 'Number', '必选'],
54
- },
55
- isConsole: true,
56
- disabled: true,
57
- },
58
- ];
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- 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)
46
- },
47
- advanced: [],
48
- };