jufubao-takeorder 1.0.2-beta1 → 1.0.2-beta3

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 (43) hide show
  1. package/package.json +1 -1
  2. package/src/components/{JfbTakeorderQuotedDetail → JfbTakeorderFilterOrderList}/Api.js +9 -9
  3. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetail.vue → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderList.vue} +9 -9
  4. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailLess.less → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListLess.less} +2 -2
  5. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailMixin.js → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListMixin.js} +1 -1
  6. package/src/components/JfbTakeorderFilterOrderList/Mock.js +13 -0
  7. package/src/components/JfbTakeorderIndex/Api.js +9 -41
  8. package/src/components/JfbTakeorderIndex/Attr.js +9 -41
  9. package/src/components/JfbTakeorderIndex/JfbTakeorderIndex.vue +681 -85
  10. package/src/components/JfbTakeorderIndex/components/cityPicker.vue +299 -0
  11. package/src/components/JfbTakeorderIndex/components/order.vue +273 -0
  12. package/src/components/JfbTakeorderIndex/cusAttr/advanced.js +26 -0
  13. package/src/components/JfbTakeorderIndex/cusAttr/content.js +9 -0
  14. package/src/components/JfbTakeorderIndex/cusAttr/style.js +11 -0
  15. package/src/components/{JfbTakeorderQuotedList → JfbTakeorderOrderDetail}/Api.js +9 -9
  16. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedList.vue → JfbTakeorderOrderDetail/JfbTakeorderOrderDetail.vue} +9 -9
  17. package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListLess.less → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailLess.less} +2 -2
  18. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailMixin.js → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailMixin.js} +1 -1
  19. package/src/components/JfbTakeorderOrderDetail/Mock.js +13 -0
  20. package/src/components/{JfbTakeorderUnquotedDetail → JfbTakeorderOrderList}/Api.js +9 -9
  21. package/src/components/JfbTakeorderOrderList/Attr.js +16 -0
  22. package/src/components/JfbTakeorderOrderList/JfbTakeorderOrderList.vue +168 -0
  23. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListLess.less → JfbTakeorderOrderList/JfbTakeorderOrderListLess.less} +2 -2
  24. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListMixin.js → JfbTakeorderOrderList/JfbTakeorderOrderListMixin.js} +1 -1
  25. package/src/components/JfbTakeorderOrderList/Mock.js +13 -0
  26. package/src/components/JfbTakeorderOrderList/components/order.vue +273 -0
  27. package/src/components/JfbTakeorderOrderList/cusAttr/advanced.js +26 -0
  28. package/src/components/JfbTakeorderOrderList/cusAttr/content.js +9 -0
  29. package/src/components/JfbTakeorderOrderList/cusAttr/style.js +11 -0
  30. package/src/components/{JfbTakeorderUnquotedList → JfbTakeorderVoiceSwitch}/Api.js +9 -9
  31. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetail.vue → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitch.vue} +9 -9
  32. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailLess.less → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchLess.less} +2 -2
  33. package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListMixin.js → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchMixin.js} +1 -1
  34. package/src/components/JfbTakeorderVoiceSwitch/Mock.js +13 -0
  35. package/src/components/JfbTakeorderQuotedDetail/Mock.js +0 -13
  36. package/src/components/JfbTakeorderQuotedList/Mock.js +0 -13
  37. package/src/components/JfbTakeorderUnquotedDetail/Mock.js +0 -13
  38. package/src/components/JfbTakeorderUnquotedList/Attr.js +0 -48
  39. package/src/components/JfbTakeorderUnquotedList/JfbTakeorderUnquotedList.vue +0 -113
  40. package/src/components/JfbTakeorderUnquotedList/Mock.js +0 -13
  41. /package/src/components/{JfbTakeorderQuotedDetail → JfbTakeorderFilterOrderList}/Attr.js +0 -0
  42. /package/src/components/{JfbTakeorderQuotedList → JfbTakeorderOrderDetail}/Attr.js +0 -0
  43. /package/src/components/{JfbTakeorderUnquotedDetail → JfbTakeorderVoiceSwitch}/Attr.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-takeorder",
3
- "version": "1.0.2-beta1",
3
+ "version": "1.0.2-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
  /**
3
3
  * @description 接口配置,
4
- * 在设置方法名字当时候,别忘记加上【模块名字】:Quoted
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Filter
5
5
  * @type {*[]}
6
6
  */
7
7
  module.exports = [
8
8
  {
9
- //设置方法名字当别忘记加上【模块名字】:Quoted
10
- mapFnName: 'getQuotedByIdFilmSquate',
9
+ //设置方法名字当别忘记加上【模块名字】:Filter
10
+ mapFnName: 'getFilterByIdFilmSquate',
11
11
  title: '获取电影广场列表',
12
12
  path: '/api/account/film/list-film-square',
13
13
  isRule: false,
@@ -19,8 +19,8 @@ module.exports = [
19
19
  disabled: true,
20
20
  },
21
21
  {
22
- //设置方法名字当别忘记加上【模块名字】:Quoted
23
- mapFnName: 'updateQuotedFilmPaiqiDate',
22
+ //设置方法名字当别忘记加上【模块名字】:Filter
23
+ mapFnName: 'updateFilterFilmPaiqiDate',
24
24
  title: '更新排期',
25
25
  path: '/api/account/film/paiqi-date',
26
26
  isRule: false,
@@ -32,8 +32,8 @@ module.exports = [
32
32
  disabled: true,
33
33
  },
34
34
  {
35
- //设置方法名字当别忘记加上【模块名字】:Quoted
36
- mapFnName: 'removeQuotedFilmAddress',
35
+ //设置方法名字当别忘记加上【模块名字】:Filter
36
+ mapFnName: 'removeFilterFilmAddress',
37
37
  title: '删除我的配送地址',
38
38
  path: '/api/account/film/paiqi-date',
39
39
  isRule: false,
@@ -44,8 +44,8 @@ module.exports = [
44
44
  disabled: true,
45
45
  },
46
46
  {
47
- //设置方法名字当别忘记加上【模块名字】:Quoted
48
- mapFnName: 'addQuotedFilmcart',
47
+ //设置方法名字当别忘记加上【模块名字】:Filter
48
+ mapFnName: 'addFilterFilmcart',
49
49
  title: '添加购物车',
50
50
  path: '/api/account/film/paiqi-date',
51
51
  isRule: false,
@@ -1,21 +1,21 @@
1
1
  <template>
2
2
  <view
3
- class="jfb-takeorder-unquoted-detail"
3
+ class="jfb-takeorder-filter-order-list"
4
4
  @click="handleEditxSelect"
5
5
  :class="{ editx : isEditx && active }"
6
6
  >
7
7
  <!--#ifdef H5-->
8
8
  <view
9
- class="jfb-takeorder-unquoted-detail__edit"
9
+ class="jfb-takeorder-filter-order-list__edit"
10
10
  :class="{ editx : isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-takeorder-unquoted-detail__edit-icon" @click.stop="delEdit">
13
+ <view class="jfb-takeorder-filter-order-list__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-unquoted-detail__body">
18
+ <view class="jfb-takeorder-filter-order-list__body">
19
19
  <view>测试插件( {{containerId}} )</view>
20
20
  </view>
21
21
  </view>
@@ -24,17 +24,17 @@
24
24
  <script>
25
25
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
26
26
  import { jfbRootExec } from "@/utils/xd.event";
27
- import JfbTakeorderUnquotedDetailMixin from "./JfbTakeorderUnquotedDetailMixin";
27
+ import JfbTakeorderFilterOrderListMixin from "./JfbTakeorderFilterOrderListMixin";
28
28
  import { getContainerPropsValue } from "@/utils/xd.base";
29
29
  import componentsMixins from "@/mixins/componentsMixins";
30
30
  import extsMixins from "@/mixins/extsMixins";
31
31
  export default {
32
- name: "JfbTakeorderUnquotedDetail",
32
+ name: "JfbTakeorderFilterOrderList",
33
33
  components: {
34
34
  XdFontIcon
35
35
  },
36
36
  mixins: [
37
- componentsMixins, extsMixins, JfbTakeorderUnquotedDetailMixin
37
+ componentsMixins, extsMixins, JfbTakeorderFilterOrderListMixin
38
38
  ],
39
39
  data() {
40
40
  return {
@@ -103,9 +103,9 @@
103
103
  </script>
104
104
 
105
105
  <style scoped lang="less">
106
- @import "./JfbTakeorderUnquotedDetailLess.less";
106
+ @import "./JfbTakeorderFilterOrderListLess.less";
107
107
 
108
- .jfb-takeorder-unquoted-detail {
108
+ .jfb-takeorder-filter-order-list {
109
109
  &__body{
110
110
 
111
111
  }
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  //start
15
- .jfb-takeorder-unquoted-detail {
15
+ .jfb-takeorder-filter-order-list {
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-unquoted-detail {
74
+ .jfb-takeorder-filter-order-list {
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-detail'
19
+ cssRoot: 'jfb-takeorder-filter-order-list'
20
20
  }
21
21
  },
22
22
  created() {
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getFilterByIdFilmSquate:{},
6
+
7
+ updateFilterFilmPaiqiDate:{},
8
+
9
+ removeFilterFilmAddress:{},
10
+
11
+ addFilterFilmcart:{},
12
+
13
+ }
@@ -6,53 +6,21 @@
6
6
  */
7
7
  module.exports = [
8
8
  {
9
- //设置方法名字当别忘记加上【模块名字】:Index
10
- mapFnName: 'getIndexByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
9
+ mapFnName: 'getIndexAllMapCity',
10
+ title: '获取城市列表',
11
+ path: '/common/v1/region/city/all-map-city',
13
12
  isRule: false,
14
- params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
17
- },
13
+ params: {},
18
14
  isConsole: true,
19
15
  disabled: true,
20
16
  },
21
17
  {
22
- //设置方法名字当别忘记加上【模块名字】:Index
23
- mapFnName: 'updateIndexFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
18
+ mapFnName: 'getIndexProvince',
19
+ title: '获取省份列表',
20
+ path: '/common/v1/region/city/tree',
26
21
  isRule: false,
27
- params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
30
- },
22
+ params: {},
31
23
  isConsole: true,
32
24
  disabled: true,
33
- },
34
- {
35
- //设置方法名字当别忘记加上【模块名字】:Index
36
- mapFnName: 'removeIndexFilmAddress',
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
- //设置方法名字当别忘记加上【模块名字】:Index
48
- mapFnName: 'addIndexFilmcart',
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
- },
25
+ }
58
26
  ];
@@ -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
- 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)
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
+ }